Compare commits

..

2546 Commits

Author SHA1 Message Date
Zexi Li
5fe63939c8 Merge pull request #14970 from swordqiu/automated-cherry-pick-of-#14967-upstream-release-3.7
Automated cherry pick of #14967: fix: set vfs_cache_pressure to 350
2022-09-14 01:06:11 +08:00
Qiu Jian
17ea5c88c4 fix: set vfs_cache_pressure to 350 2022-09-13 17:04:30 +08:00
Zexi Li
ed96fb595d Merge pull request #14938 from swordqiu/automated-cherry-pick-of-#14935-upstream-release-3.7
Automated cherry pick of #14935: fix: agent pull list with system scope
2022-09-07 10:37:18 +08:00
Qiu Jian
4c09fcb142 fix: agent pull list with system scope 2022-09-07 01:01:33 +08:00
Zexi Li
46857f6aed Merge pull request #14648 from zexi/automated-cherry-pick-of-#14589-upstream-release-3.7
Automated cherry pick of #14589: fix(monitor): no metrics of baremetal server
2022-07-15 18:58:05 +08:00
Zexi Li
cc005c85b4 fix(monitor): no metrics of baremetal server 2022-07-15 18:57:21 +08:00
Jian Qiu
77b3964377 fix(region):资源统计bug,已使用资源统计包含裸金属资源,总数未包含,导致资源使用率统计异常。 guestUsage统计中排除掉裸金属资源,hypervisors.Delete(api.HYPERVISOR_CONTAINER, api.HYPERVISOR_BAREMETAL) (#14404)
Co-authored-by: chenxiaochen <chenxiaochen@bonc.com.cn>
2022-06-05 18:11:07 +08:00
Jian Qiu
5aad97e80f fix: disk info exception (#14253)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-13 22:05:09 +08:00
Zexi Li
e79848378c fix(baremetal): try clear jbod devices before create (#14180) 2022-05-01 21:36:53 +08:00
Zexi Li
5f76aed489 Merge pull request #14144 from swordqiu/automated-cherry-pick-of-#14141-upstream-release-3.7
Automated cherry pick of #14141: fix: fail to delete storages with fake-deleted snapshots
2022-04-26 02:26:14 +08:00
Qiu Jian
7ff3d249eb fix: fail to delete storages with fake-deleted snapshots 2022-04-25 23:33:36 +08:00
Zexi Li
f9ba73c2be Merge pull request #14124 from zexi/automated-cherry-pick-of-#14123-upstream-release-3.7
Automated cherry pick of #14123: fix(region): make access_ip of host updatable
2022-04-24 14:29:22 +08:00
Zexi Li
a4d189d1ab fix(region): make access_ip of host updatable 2022-04-24 11:42:55 +08:00
Zexi Li
2b7b17ab72 Merge pull request #14010 from ioito/automated-cherry-pick-of-#14007-upstream-release-3.7
Automated cherry pick of #14007: fix(region): avoid export duplicate tag key
2022-04-13 16:21:20 +08:00
ioito
629b925bbc fix(region): avoid export duplicate tag key 2022-04-13 16:11:56 +08:00
Zexi Li
a56fc718be Merge pull request #13983 from zexi/automated-cherry-pick-of-#13981-upstream-release-3.7
Automated cherry pick of #13981: fix(region): multi disk created after instance snapshot
2022-04-13 00:56:22 +08:00
Zexi Li
a1d87f6fda Merge pull request #13995 from ioito/automated-cherry-pick-of-#13987-upstream-release-3.7
Automated cherry pick of #13987: fix(region): huawei api
2022-04-12 16:45:43 +08:00
ioito
6dccd2a84c fix(region): huawei api 2022-04-12 16:02:33 +08:00
Zexi Li
bf0f1adbd2 Merge pull request #13992 from ioito/automated-cherry-pick-of-#13989-upstream-release-3.7
Automated cherry pick of #13989: fix(region): avoid panic
2022-04-12 15:06:20 +08:00
ioito
adf23b0a5e fix(region): avoid panic 2022-04-12 14:57:39 +08:00
Zexi Li
3196b8a2df fix(region): multi disk created after instance snapshot 2022-04-12 13:58:52 +08:00
Jian Qiu
c3b12f8adc fix: more detailed privilege hint (#13978)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-12 12:10:05 +08:00
Zexi Li
258600660d Merge pull request #13965 from ioito/automated-cherry-pick-of-#13962-upstream-release-3.7
Automated cherry pick of #13962: fix(region): aws all regions
2022-04-11 20:46:58 +08:00
ioito
86ce76ead4 fix(region): aws all regions 2022-04-11 20:02:05 +08:00
Zexi Li
d4d5f200fe Merge pull request #13931 from ioito/automated-cherry-pick-of-#13928-upstream-release-3.7
Automated cherry pick of #13928: fix(region): aws storage type sync
2022-04-07 17:46:44 +08:00
ioito
f0869d0dc4 fix(region): aws storage type sync 2022-04-07 17:35:32 +08:00
Jian Qiu
76b09d8f33 fix: save image for aarch64 os show os_arch of x86_64 (#13906)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 16:12:22 +08:00
Jian Qiu
5c60b4144b fix: cloudaccounts getMoreDetails should pass ctx (#13887)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 11:19:02 +08:00
Jian Qiu
3a46caa65d fix: better handling of network not avaiable on host error (#13893)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 11:17:26 +08:00
屈轩
5a9da2d081 fix(apigateway): export timeout (#13830) 2022-03-31 12:57:22 +08:00
Zexi Li
c2a656a63b Merge pull request #13834 from rainzm/automated-cherry-pick-of-#13831-upstream-release-3.7
Automated cherry pick of #13831: fix(glance): check image after initializing s3
2022-03-30 16:53:31 +08:00
rainzm
282174f5b1 fix(glance): check image after initializing s3 2022-03-30 16:05:11 +08:00
Zexi Li
b1f31115a2 fix(telegraf-raid-plugin): zombies recycle (#13819) 2022-03-30 07:41:08 +08:00
Zexi Li
a1b8cd41f7 Merge pull request #13756 from ioito/automated-cherry-pick-of-#13753-upstream-release-3.7
Automated cherry pick of #13753: fix(region): clean glance image cache
2022-03-23 23:44:50 +08:00
ioito
5761100cd5 fix(region): clean glance image cache 2022-03-22 19:00:52 +08:00
Zexi Li
f46d7efd50 Merge pull request #13724 from zhaoxiangchun/automated-cherry-pick-of-#13721-upstream-release-3.7
Automated cherry pick of #13721: fix(host): fix guest nicStat  Metric in host
2022-03-21 12:51:44 +08:00
zhaoxiangchun
ca5f7a40be fix(host): fix guest nicStat Metric in host 2022-03-18 15:55:02 +08:00
Zexi Li
653d3f79fd Merge pull request #13714 from swordqiu/automated-cherry-pick-of-#13711-upstream-release-3.7
Automated cherry pick of #13711: fix: host deploy mkdir permission
2022-03-17 21:25:26 +08:00
Qiu Jian
cd2420d236 fix: host deploy mkdir permission 2022-03-17 16:54:12 +08:00
屈轩
674c880b42 fix(glance): image save (#13676) 2022-03-11 16:16:41 +08:00
Zexi Li
db4f6acf21 Merge pull request #13662 from swordqiu/automated-cherry-pick-of-#13659-upstream-release-3.7
Automated cherry pick of #13659: fix: aws s3 object with leading slash
2022-03-10 18:51:45 +08:00
Qiu Jian
50f877f242 fix: aws s3 object with leading slash 2022-03-10 11:09:08 +08:00
Zexi Li
e3af3ab9cc Merge pull request #13650 from ioito/automated-cherry-pick-of-#13647-upstream-release-3.7
Automated cherry pick of #13647: fix(region): huawei storage type
2022-03-09 14:58:47 +08:00
Zexi Li
d45bf19ecb Merge pull request #13656 from rainzm/automated-cherry-pick-of-#13651-upstream-release-3.7
Automated cherry pick of #13651: fix(scheduler): init db after init auth
2022-03-09 14:57:25 +08:00
ioito
9e7b95c011 fix(region): huawei storage type 2022-03-09 14:47:12 +08:00
rainzm
b61a2f8b62 fix(scheduler): init db after init auth 2022-03-09 14:36:56 +08:00
Zexi Li
964d78711a Merge pull request #13609 from swordqiu/automated-cherry-pick-of-#13606-upstream-release-3.7
Automated cherry pick of #13606: fix: disable cache for oidc auth callback
2022-03-07 16:01:30 +08:00
Zexi Li
305a5527f9 Merge pull request #13623 from ioito/automated-cherry-pick-of-#13620-upstream-release-3.7
Automated cherry pick of #13620: fix(region): qcloud disk range changed
2022-03-07 16:00:41 +08:00
Zexi Li
483608344d Merge pull request #13627 from zexi/automated-cherry-pick-of-#13624-upstream-release-3.7
Automated cherry pick of #13624: feat(telegraf-raid-plugin): update rootfs and image version
2022-03-07 15:59:42 +08:00
Zexi Li
27a6ed9dc8 feat(telegraf-raid-plugin): update rootfs and image version 2022-03-07 12:15:05 +08:00
ioito
7a90e0f848 fix(region): qcloud disk range changed 2022-03-07 11:15:27 +08:00
Qiu Jian
571ebe342d fix: disable cache for oidc auth callback 2022-03-06 12:02:51 +08:00
Zexi Li
4b88356f31 Merge pull request #13599 from rainzm/automated-cherry-pick-of-#13596-upstream-release-3.7
Automated cherry pick of #13596: fix(ansible): use the correct length value 'text'
2022-03-04 22:00:55 +08:00
rainzm
d6a87b62a0 fix(ansible): use the correct length value 'text' 2022-03-04 16:18:14 +08:00
Zexi Li
fd5e4fb024 Merge pull request #13592 from rainzm/automated-cherry-pick-of-#13589-upstream-release-3.7
Automated cherry pick of #13589: fix(region,devtool): get ssh port from 'servers/<id>/sshport' api
2022-03-03 21:00:50 +08:00
Zexi Li
978d30441f Merge pull request #13587 from ioito/automated-cherry-pick-of-#13584-upstream-release-3.7
Automated cherry pick of #13584: fix(region): not allow merge default secgroup
2022-03-03 20:59:47 +08:00
rainzm
66b871ab9b fix(region,devtool): get ssh port from 'servers/<id>/sshport' api 2022-03-03 19:22:08 +08:00
ioito
4e4ae3fffa fix(region): not allow merge default secgroup 2022-03-03 15:50:45 +08:00
Zexi Li
4518281b44 Merge pull request #13558 from ioito/automated-cherry-pick-of-#13552-upstream-release-3.7
Automated cherry pick of #13552: fix(yunionapi): reset password with base64
2022-03-01 11:05:28 +08:00
ioito
d3cf843801 fix(yunionapi): reset password with base64 2022-02-28 11:46:53 +08:00
Zexi Li
9c5fb35ce6 Merge pull request #13296 from rainzm/automated-cherry-pick-of-#13293-upstream-release-3.7
Automated cherry pick of #13293: fix(glance): convert image in s3 storage
2022-02-28 10:49:13 +08:00
rainzm
219fb016ae fix(glance): re-convert as long as subformat is not active
之前的写法会导致saving或者save_fail状态的subformat,不会再次
转换。而且镜像是否需要转换,由ImageCheckTask决定了,ImageConvertTask
只需要注意不重新转换active的subformat就好了,save失败的subformat
也应该设置状态为save_fail。
2022-02-25 18:55:36 +08:00
rainzm
a494c1197d fix(glance): convert image in s3 storage 2022-02-25 18:55:36 +08:00
Zexi Li
68bfa3152e Merge pull request #13534 from rainzm/automated-cherry-pick-of-#13531-upstream-release-3.7
Automated cherry pick of #13531: fix(region): init scalinggroup controller in correct order
2022-02-24 10:18:25 +08:00
rainzm
5411576ff7 fix(region): init scalinggroup controller in correct order 2022-02-23 20:15:59 +08:00
Rain Zheng
8ef670ae46 fix(region): delete disk actually when cleaning disks (#13524) 2022-02-22 17:59:02 +08:00
Zexi Li
6ae7079851 Merge pull request #13514 from ioito/hotfix/qx-ceph-size
fix(host): ceph df size
2022-02-22 15:54:10 +08:00
ioito
b4325c243d fix(host): ceph df size 2022-02-22 11:21:37 +08:00
Zexi Li
327f877f33 Merge pull request #13507 from swordqiu/automated-cherry-pick-of-#13504-upstream-release-3.7
Automated cherry pick of #13504: fix: user create user nil pointer error
2022-02-21 16:53:31 +08:00
Qiu Jian
03890ad5aa fix: user create user nil pointer error 2022-02-21 12:18:44 +08:00
Zexi Li
01a5f7848d Merge pull request #13429 from swordqiu/automated-cherry-pick-of-#13426-upstream-release-3.7
Automated cherry pick of #13426: fix: delay block stream after server start
2022-02-12 21:15:45 +08:00
Qiu Jian
27e85aab82 fix: delay block stream after server start 2022-02-12 00:35:22 +08:00
Zexi Li
5797a2bdd9 Merge pull request #13238 from ioito/automated-cherry-pick-of-#13235-upstream-release-3.7
Automated cherry pick of #13235: fix(region): vpc tag sync
2022-01-19 11:01:40 +08:00
ioito
f57bc1f68a fix(region): vpc tag sync 2022-01-19 10:59:20 +08:00
Zexi Li
9b6c834ea8 Merge pull request #13222 from ioito/automated-cherry-pick-of-#13219-upstream-release-3.7
Automated cherry pick of #13219: fix(region): sync tags for vpc and network
2022-01-17 20:40:06 +08:00
ioito
694bb35c9f fix(region): sync tags for vpc and network 2022-01-17 20:38:30 +08:00
Zexi Li
6699c667ee Merge pull request #13182 from zexi/automated-cherry-pick-of-#13180-upstream-release-3.7
Automated cherry pick of #13180: feat(scheduler): log CheckDisksAllocable skipped storage
2022-01-11 11:21:18 +08:00
Zexi Li
ef1aaf6f7e feat(scheduler): log CheckDisksAllocable skipped storage 2022-01-11 11:19:57 +08:00
Zexi Li
2f10ada251 Merge pull request #13160 from ioito/automated-cherry-pick-of-#13158-upstream-release-3.7
Automated cherry pick of #13158: fix(region): kvm vm no need remote update
2022-01-10 15:08:54 +08:00
ioito
1e3c9a6912 fix(region): kvm vm no need remote update 2022-01-10 11:10:08 +08:00
Zexi Li
df1a737e94 Merge pull request #13155 from swordqiu/automated-cherry-pick-of-#13153-upstream-release-3.7
Automated cherry pick of #13153: fix: windows server name cannot be longer than 15 chars
2022-01-09 21:30:59 +08:00
Qiu Jian
e61d8ebf05 fix: windows server name cannot be longer than 15 chars 2022-01-09 19:57:58 +08:00
Zexi Li
8e4f922a06 Merge pull request #13145 from ioito/automated-cherry-pick-of-#13143-upstream-release-3.7
Automated cherry pick of #13143: fix(cloudevent): skip cloudevent init data
2022-01-07 22:42:31 +08:00
ioito
0be8176cc6 fix(cloudevent): skip cloudevent init data 2022-01-07 19:33:58 +08:00
Zexi Li
bfdf628e2d Merge pull request #13131 from ioito/automated-cherry-pick-of-#13129-upstream-release-3.7
Automated cherry pick of #13129: fix(region): image not found details error
2022-01-05 22:05:39 +08:00
ioito
215adf220a fix(region): image not found details error 2022-01-05 15:49:20 +08:00
Zexi Li
c540f755f3 Merge pull request #13122 from rainzm/automated-cherry-pick-of-#13120-upstream-release-3.7
Automated cherry pick of #13120: fix(region): check whether ipProvider is nil
2022-01-04 14:59:43 +08:00
rainzm
3c95a6100f fix(region): check whether ipProvider is nil 2022-01-04 11:47:56 +08:00
Zexi Li
d42706e386 Merge pull request #13119 from swordqiu/automated-cherry-pick-of-#13117-upstream-release-3.7
Automated cherry pick of #13117: fix: host tune system set default arp gc threshold
2022-01-04 11:45:20 +08:00
Qiu Jian
0d99403e04 fix: host tune system set default arp gc threshold 2022-01-04 11:04:38 +08:00
Zexi Li
80eb7e1176 Merge pull request #13075 from ioito/automated-cherry-pick-of-#13073-upstream-release-3.7
Automated cherry pick of #13073: fix(region): lb filter by owner
2021-12-29 19:25:13 +08:00
Zexi Li
0fdd31ffcb Merge pull request #13065 from rainzm/automated-cherry-pick-of-#13063-upstream-release-3.7
Automated cherry pick of #13063: fix(region): distinguish guests_ Root and data of image sub image
2021-12-29 19:24:23 +08:00
ioito
51bd75a885 fix(region): lb filter by owner 2021-12-29 14:52:07 +08:00
Zexi Li
b9fbaafe09 Merge pull request #13058 from ioito/automated-cherry-pick-of-#13056-upstream-release-3.7
Automated cherry pick of #13056: fix(region): ignore invalid zone id skus
2021-12-29 11:14:49 +08:00
rainzm
7b85fdcc30 fix(region): distinguish guests_ Root and data of image sub image 2021-12-28 18:36:02 +08:00
ioito
b86c39ca00 fix(region): ignore invalid zone id skus 2021-12-28 14:41:02 +08:00
Zexi Li
781765b3ae Merge pull request #13052 from ioito/automated-cherry-pick-of-#13050-upstream-release-3.7
Automated cherry pick of #13050: fix(region): aws security group name generate
2021-12-28 10:56:41 +08:00
Zexi Li
0efba2e7b9 Merge pull request #13055 from ioito/automated-cherry-pick-of-#13053-upstream-release-3.7
Automated cherry pick of #13053: fix(region): json to string fix
2021-12-28 10:54:50 +08:00
ioito
cac7b8547a fix(region): json to string fix 2021-12-28 10:42:40 +08:00
ioito
749c5bc3d9 fix(region): aws security group name generate 2021-12-28 09:57:28 +08:00
Zexi Li
b945f9173e Merge pull request #13038 from swordqiu/automated-cherry-pick-of-#13036-upstream-release-3.7
Automated cherry pick of #13036: fix: enable kvm_pv_eoi by default
2021-12-27 12:10:59 +08:00
Qiu Jian
9c476d5b00 fix: enable kvm_pv_eoi by default 2021-12-24 21:49:05 +08:00
Zexi Li
e280146389 Merge pull request #13029 from ioito/automated-cherry-pick-of-#13027-upstream-release-3.7
Automated cherry pick of #13027: fix(region): google security group fix
2021-12-24 18:23:25 +08:00
Zexi Li
acbd42d1cd Merge pull request #13017 from ioito/automated-cherry-pick-of-#13015-upstream-release-3.7
Automated cherry pick of #13015: fix(region): vpc create with tags
2021-12-24 18:11:27 +08:00
Zexi Li
7cea8c796a Merge pull request #13022 from zexi/gpu-fuzzy-match
fix(region): gpu fuzzy match model name exactly
2021-12-24 18:09:40 +08:00
ioito
38a0d07444 fix(region): google security group fix 2021-12-24 17:55:53 +08:00
Zexi Li
e23bc808e5 fix(region): gpu fuzzy match model name exactly 2021-12-24 14:49:30 +08:00
ioito
00affbc8d7 fix(region): vpc create with tags 2021-12-23 19:39:41 +08:00
Zexi Li
c1824f028e Merge pull request #13007 from ioito/automated-cherry-pick-of-#13005-upstream-release-3.7
Automated cherry pick of #13005: fix(region): sku scheduler sync
2021-12-23 16:19:44 +08:00
ioito
7deb089546 fix(region): sku scheduler sync 2021-12-23 14:52:47 +08:00
Zexi Li
f7ba89055e Merge pull request #13000 from swordqiu/automated-cherry-pick-of-#12998-upstream-release-3.7
Automated cherry pick of #12998: fix: migrate timeout error
2021-12-23 09:59:07 +08:00
Qiu Jian
13671ee635 fix: migrate timeout error 2021-12-23 07:57:09 +08:00
Zexi Li
23d40f27d0 Merge pull request #12960 from ioito/automated-cherry-pick-of-#12958-upstream-release-3.7
Automated cherry pick of #12958: fix(region): qcloud secgroup rule sync
2021-12-22 10:36:34 +08:00
Zexi Li
5c64900c78 Merge pull request #12973 from ioito/automated-cherry-pick-of-#12971-upstream-release-3.7
Automated cherry pick of #12971: fix(region): security group cache filter
2021-12-22 10:24:55 +08:00
ioito
212124e944 fix(region): security group cache filter 2021-12-21 21:28:52 +08:00
ioito
5f6019c699 fix(region): qcloud secgroup rule sync 2021-12-21 14:21:16 +08:00
Zexi Li
59dd20b3f4 Merge pull request #12931 from ioito/automated-cherry-pick-of-#12929-upstream-release-3.7
Automated cherry pick of #12929: fix(region): security group name generate for every cloud platform
2021-12-20 13:03:35 +08:00
Zexi Li
4d669ec875 Merge pull request #12944 from ioito/automated-cherry-pick-of-#12942-upstream-release-3.7
Automated cherry pick of #12942: fix(keystone): scope resource count
2021-12-20 13:01:16 +08:00
Zexi Li
4448d9f43f Merge pull request #12954 from swordqiu/automated-cherry-pick-of-#12938-upstream-release-3.7
Automated cherry pick of #12938: fix: server migration halted by an unexpected STOP event
2021-12-19 18:33:29 +08:00
Qiu Jian
0ce7bf694b remove s.server 2021-12-19 07:49:22 +08:00
Qiu Jian
6711b35e1c fix: server migration halted by an unexpected STOP event 2021-12-19 00:00:47 +08:00
Zexi Li
0b554e710f Merge pull request #12948 from ioito/automated-cherry-pick-of-#12946-upstream-release-3.7
Automated cherry pick of #12946: fix(region): dns zone cache purge
2021-12-18 01:05:55 +08:00
ioito
bc3bd5cd95 fix(region): dns zone cache purge 2021-12-17 18:08:19 +08:00
ioito
01a29e133e fix(keystone): scope resource count 2021-12-17 16:11:07 +08:00
Zexi Li
b6bd866a7b fix(host): more readable error info of GetWireOfIp (#12937) 2021-12-16 21:13:56 +08:00
ioito
89e9992e1e fix(region): security group name generate for every cloud platform 2021-12-16 14:29:52 +08:00
Zexi Li
35a73eb7c6 Merge pull request #12919 from ioito/automated-cherry-pick-of-#12913-upstream-release-3.7
Automated cherry pick of #12913: fix(region): vpc sync misc fix
2021-12-16 10:51:47 +08:00
Zexi Li
a86300e1a1 Merge pull request #12927 from swordqiu/automated-cherry-pick-of-#12925-upstream-release-3.7
Automated cherry pick of #12925: fix: lbagent pull resources of OneCloud only
2021-12-16 10:40:19 +08:00
Qiu Jian
5e90dba611 fix: lbagent pull resources of OneCloud only 2021-12-15 22:44:52 +08:00
ioito
7e128a8eba fix(region): vpc sync misc fix 2021-12-15 16:41:01 +08:00
Zexi Li
b7e8cbb87c Merge pull request #12904 from zexi/automated-cherry-pick-of-#12902-upstream-release-3.7
Automated cherry pick of #12902: feat(host): qemu add uuid option
2021-12-14 21:24:59 +08:00
Zexi Li
389f457f0a Merge pull request #12908 from rainzm/automated-cherry-pick-of-#12906-upstream-release-3.7
Automated cherry pick of #12906: fix(region): respect disk's snapshotId in disk_batch_create_task
2021-12-14 21:24:20 +08:00
rainzm
60517a517f fix(region): respect disk's snapshotId in disk_batch_create_task 2021-12-14 21:17:30 +08:00
Zexi Li
95054b9943 Merge pull request #12895 from ioito/automated-cherry-pick-of-#12893-upstream-release-3.7
Automated cherry pick of #12893: fix(region): openstack use proxy
2021-12-14 21:08:45 +08:00
Zexi Li
194b0a1c59 feat(host): qemu add uuid option 2021-12-14 21:03:47 +08:00
ioito
525d8e7b28 fix(region): openstack use proxy 2021-12-14 14:34:19 +08:00
Zexi Li
978dc20edb Merge pull request #12863 from rainzm/automated-cherry-pick-of-#12861-upstream-release-3.7
Automated cherry pick of #12861: fix(hostman): update storagecacheimage status from 'ready' to 'avtive'
2021-12-13 17:15:18 +08:00
Zexi Li
3133ecf246 Merge pull request #12877 from swordqiu/automated-cherry-pick-of-#12875-upstream-release-3.7
Automated cherry pick of #12875: feature: support galaxy kylin guest OS
2021-12-12 12:12:55 +08:00
Qiu Jian
d1225d226a feature: support galaxy kylin guest OS 2021-12-11 13:29:04 +08:00
Zexi Li
c0d255ebc2 Merge pull request #12860 from ioito/automated-cherry-pick-of-#12858-upstream-release-3.7
Automated cherry pick of #12858: fix(region): zstack time zone auth
2021-12-10 16:57:41 +08:00
Zexi Li
a8eca2b38b Merge pull request #12866 from ioito/automated-cherry-pick-of-#12864-upstream-release-3.7
Automated cherry pick of #12864: fix(region): aliyun route table sync
2021-12-10 16:55:02 +08:00
ioito
8b27985b01 fix(region): aliyun route table sync 2021-12-10 16:34:27 +08:00
rainzm
6aaa57dbe6 fix(hostman): update storagecacheimage status from 'ready' to 'avtive' 2021-12-10 15:31:22 +08:00
ioito
68c9edbd09 fix(region): zstack time zone auth 2021-12-10 15:08:29 +08:00
Zexi Li
d214efdb65 Merge pull request #12839 from swordqiu/automated-cherry-pick-of-#12837-upstream-release-3.7
Automated cherry pick of #12837: fix: fail to recover disk status if disk in unknown status
2021-12-08 12:45:09 +08:00
Qiu Jian
55d1647403 fix: fail to recover disk status if disk in unknown status 2021-12-08 00:29:29 +08:00
Zexi Li
4862cd2343 Merge pull request #12831 from swordqiu/automated-cherry-pick-of-#12829-upstream-release-3.7
Automated cherry pick of #12829: fix: opslog might log event with empty usercred
2021-12-07 10:24:47 +08:00
Qiu Jian
1c9a4d208c fix: opslog might log event with empty usercred 2021-12-06 22:17:05 +08:00
Zexi Li
ad9575a757 Merge pull request #12809 from rainzm/automated-cherry-pick-of-#12807-upstream-release-3.7
Automated cherry pick of #12807: fix(scheduler): consider perfer and avoid score when sorting HostPrirityList
2021-12-06 14:49:49 +08:00
Zexi Li
c1c85a6ae0 Merge pull request #12821 from swordqiu/automated-cherry-pick-of-#12819-upstream-release-3.7
Automated cherry pick of #12819: fix: fail to insert action log with empty notes
2021-12-06 00:04:16 +08:00
Zexi Li
c19625b549 Merge pull request #12824 from swordqiu/automated-cherry-pick-of-#12822-upstream-release-3.7
Automated cherry pick of #12822: fix: image service can start without valid track endpoints
2021-12-06 00:03:33 +08:00
Qiu Jian
cc5fa51d22 fix: image service can start without valid track endpoints 2021-12-05 23:30:15 +08:00
Qiu Jian
a4ecbeaa54 fix: fail to insert action log with empty notes 2021-12-05 23:26:01 +08:00
rainzm
c181ea4cdd fix(scheduler): consider perfer and avoid score when sorting HostPriorityList 2021-12-03 15:01:47 +08:00
Zexi Li
d7d30a7295 Merge pull request #12799 from rainzm/automated-cherry-pick-of-#12797-upstream-release-3.7
Automated cherry pick of #12797: fix(scheduler): correct sorting for HostPriorityList
2021-12-02 21:15:15 +08:00
rainzm
24fbba971f fix(scheduler): correct sorting for HostPriorityList 2021-12-02 21:09:39 +08:00
Zexi Li
ca30e96e07 Merge pull request #12789 from rainzm/automated-cherry-pick-of-#12787-upstream-release-3.7
Automated cherry pick of #12787: fix(esxiagent): update storagecachedimage status from 'ready' to 'active'
2021-12-02 14:15:11 +08:00
rainzm
a3d8a0facf fix(esxiagent): update storagecachedimage status from 'ready' to 'active' 2021-12-02 11:33:56 +08:00
Zexi Li
e8d7985344 Merge pull request #12779 from rainzm/automated-cherry-pick-of-#12777-upstream-release-3.7
Automated cherry pick of #12777: fix(ansibleserver): update file-repo from v0.3.3 to v0.3.4
2021-11-30 20:16:19 +08:00
rainzm
ff8ea35f96 fix(ansibleserver): update file-repo from v0.3.3 to v0.3.4
1. When checking telegraf, it is compatible with higher version Debian
2. Debian compatible when getting the installation package name
2021-11-30 17:55:49 +08:00
Zexi Li
8b1f127cad Merge pull request #12765 from ioito/automated-cherry-pick-of-#12763-upstream-release-3.7
Automated cherry pick of #12763: fix(region): delete vm and disk when it was not found
2021-11-30 00:04:35 +08:00
ioito
e015e06072 fix(region): delete vm and disk when it was not found 2021-11-29 16:40:03 +08:00
Zexi Li
a607840763 Merge pull request #12749 from swordqiu/automated-cherry-pick-of-#12747-upstream-release-3.7
Automated cherry pick of #12747: fix: vpcagent fail to refresh session token
2021-11-28 18:12:57 +08:00
Qiu Jian
20dab1e89d fix: vpcagent fail to refresh session token 2021-11-26 01:19:32 +08:00
Zexi Li
b270c4833d Merge pull request #12742 from rainzm/automated-cherry-pick-of-#12740-upstream-release-3.7
Automated cherry pick of #12740: fix: close it after using sql.Rows
2021-11-25 21:35:50 +08:00
Zexi Li
a592b16767 Merge pull request #12744 from rainzm/automated-cherry-pick-of-#12737-upstream-release-3.7
Automated cherry pick of #12737: fix(region): add rows.Close func
2021-11-25 21:35:16 +08:00
yangbaoqiang
4bf7b68e56 fix(region): add rows.Close func 2021-11-25 17:44:05 +08:00
rainzm
6b043e2392 fix: close it after using sql.Rows 2021-11-25 17:42:29 +08:00
Zexi Li
fbe66f5ed5 Merge pull request #12734 from ioito/automated-cherry-pick-of-#12732-upstream-release-3.7
Automated cherry pick of #12732: fix(region): apsara rds network sync
2021-11-25 00:43:38 +08:00
Qu Xuan
b99eb92ef2 fix(region): apsara rds network sync 2021-11-24 16:26:13 +08:00
Zexi Li
be4db4e8a5 Merge pull request #12728 from zexi/automated-cherry-pick-of-#12724-upstream-release-3.7
Automated cherry pick of #12724: fix(region): adjust the logic of rebuild guest
2021-11-23 10:14:56 +08:00
yangbaoqiang
90e3ad8463 fix(region): openstack.go
1.调整eip解绑后,重新绑定函数位置
2.调整guest数据盘卸载后,重新挂载函数位置
2021-11-23 10:11:53 +08:00
Zexi Li
33ce47428c Merge pull request #12704 from zexi/automated-cherry-pick-of-#12701-upstream-release-3.7
Automated cherry pick of #12701: fix(host): only local disk enable file.locking option on arm64 host
2021-11-18 22:23:50 +08:00
Zexi Li
8de1411e64 fix(host): only local disk enable file.locking option on arm64 host 2021-11-18 10:49:24 +08:00
Zexi Li
3a17d88a08 Merge pull request #12689 from ioito/automated-cherry-pick-of-#12687-upstream-release-3.7
Automated cherry pick of #12687: fix(cloudevent): qcloud event time
2021-11-17 16:41:25 +08:00
Zexi Li
e17219882e Merge pull request #12695 from swordqiu/hotfix/qj-fix-sqlchemy-version-for-release-3.7
fix: fix version of sqlchemy to v1.0.0 for release/3.7
2021-11-17 15:43:22 +08:00
Qiu Jian
08d7ef3e7a fix: fix version of sqlchemy to v1.0.0 for release/3.7 2021-11-17 14:52:41 +08:00
Qu Xuan
e673037461 fix(cloudevent): qcloud event time 2021-11-16 17:41:12 +08:00
Zexi Li
2acc3bd664 Merge pull request #12635 from tb365/bugfix/tb-bugfix-110802
fix: add license upload
2021-11-16 10:19:59 +08:00
Zexi Li
85decb22dd Merge pull request #12668 from swordqiu/automated-cherry-pick-of-#12666-upstream-release-3.7
Automated cherry pick of #12666: fix: fail to free reserved ip in non-owner project
2021-11-11 10:06:23 +08:00
Qiu Jian
ad737c19cb fix: fail to free reserved ip in non-owner project 2021-11-11 07:39:20 +08:00
Zexi Li
e7292c61ba Merge pull request #12654 from swordqiu/automated-cherry-pick-of-#12641-upstream-release-3.7
Automated cherry pick of #12641: fix: false delted field for deleted resources
2021-11-09 20:52:45 +08:00
Qiu Jian
c803b96fca fix: false delted field for deleted resources 2021-11-09 19:46:32 +08:00
Zexi Li
ef7b65085b Merge pull request #12648 from zexi/automated-cherry-pick-of-#12647-upstream-release-3.7
Automated cherry pick of #12647: fix(webconsole): host ssh use cloudroot user error
2021-11-09 19:32:01 +08:00
Zexi Li
bf9864632e fix(webconsole): host ssh use cloudroot user error 2021-11-09 18:33:39 +08:00
Zexi Li
eafd6bb3d1 Merge pull request #12638 from tb365/automated-cherry-pick-of-#12636-upstream-release-3.7
Automated cherry pick of #12636: qcloud&aliyun update backend weight value range fix
2021-11-09 01:15:49 +08:00
tb365
2fb770bf19 qcloud&aliyun update backend weight value range fix 2021-11-08 17:23:54 +08:00
Qu Xuan
bb5bb827d1 fix: add license upload 2021-11-08 16:59:01 +08:00
Jian Qiu
c400485b3a fix: cleanup compile warnings (#12622)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-06 12:29:55 +08:00
Zexi Li
93354f17ed Merge pull request #12324 from tb365/bugfix/tb-bugfix-092802
guest start sync with cloud vm
2021-11-05 18:38:28 +08:00
Zexi Li
899bc53fd3 Merge pull request #12611 from ioito/automated-cherry-pick-of-#12609-upstream-release-3.7
Automated cherry pick of #12609: fix(region): avoid cidr change 0.0.0.0/0
2021-11-05 10:40:13 +08:00
Qu Xuan
4b5b628fac fix(region): avoid cidr change 0.0.0.0/0 2021-11-05 10:06:13 +08:00
Zexi Li
3a258e01b3 feat(region,host): create or update server add machine option (#12607) 2021-11-04 22:27:12 +08:00
Zexi Li
515f057e58 Merge pull request #12592 from rainzm/automated-cherry-pick-of-#12590-upstream-release-3.7
Automated cherry pick of #12590: fix(esxi): avoid uplink dvpg
2021-11-03 18:07:46 +08:00
rainzm
ddd9c7b3a7 fix(esxi): avoid uplink dvpg 2021-11-03 17:06:35 +08:00
Zexi Li
954314848f Merge pull request #12563 from swordqiu/automated-cherry-pick-of-#12561-upstream-release-3.7
Automated cherry pick of #12561: fix: delayed probing GPU on host init and add disable_gpu option
2021-11-03 00:01:10 +08:00
Zexi Li
279752ebd0 Merge pull request #12579 from rainzm/automated-cherry-pick-of-#12577-upstream-release-3.7
Automated cherry pick of #12577: fix(region): delete instance snapshot itself after deleting subsnapshots
2021-11-02 23:47:57 +08:00
rainzm
b6a8a381f3 fix(region): delete instance snapshot itself after deleting subsnapshots 2021-11-02 10:29:36 +08:00
Zexi Li
de1a8e7ead Merge pull request #12573 from ioito/automated-cherry-pick-of-#12571-upstream-release-3.7
Automated cherry pick of #12571: fix(region): avoid panic when query is nil
2021-11-01 20:28:48 +08:00
Zexi Li
4049aea70c Merge pull request #12576 from rainzm/automated-cherry-pick-of-#12574-upstream-release-3.7
Automated cherry pick of #12574: Flag for installing agent
2021-11-01 20:27:29 +08:00
rainzm
808c0392fd feat(region): add have-agent action for guest 2021-11-01 19:42:26 +08:00
rainzm
b7c7884c04 feat(cloudproxy): add purge-forward for proxy endpoint 2021-11-01 19:42:26 +08:00
Qu Xuan
b90811d0bd fix(region): avoid panic when query is nil 2021-11-01 16:32:20 +08:00
Zexi Li
a3144a5542 Merge pull request #12566 from rainzm/automated-cherry-pick-of-#12564-upstream-release-3.7
Automated cherry pick of #12564: fix(region): init timerQueue correctly
2021-11-01 10:05:40 +08:00
rainzm
0bb2ee63d7 fix(region): init timerQueue correctly 2021-10-30 18:01:57 +08:00
Qiu Jian
cba42da3b4 fix: delayed probing GPU on host init and add disable_gpu option 2021-10-30 11:54:11 +08:00
Zexi Li
91996c7871 Merge pull request #12550 from swordqiu/automated-cherry-pick-of-#12548-upstream-release-3.7
Automated cherry pick of #12548: fix: apigateway request api_server option directly from keystone
2021-10-29 11:08:36 +08:00
Qiu Jian
05812fb3f8 fix: apigateway request api_server option directly from keystone 2021-10-28 23:55:03 +08:00
Zexi Li
3fd8cfe18c Merge pull request #12542 from ioito/automated-cherry-pick-of-#12540-upstream-release-3.7
Automated cherry pick of #12540: fix(host): avoid storage attach not report error
2021-10-28 18:25:45 +08:00
Qu Xuan
e050c5dd84 fix(host): avoid storage attach not report error 2021-10-28 17:01:13 +08:00
Zexi Li
6dc50cb125 Merge pull request #12537 from ioito/automated-cherry-pick-of-#12535-upstream-release-3.7
Automated cherry pick of #12535: fix(region): validate update
2021-10-28 16:36:48 +08:00
Qu Xuan
048d6fd8f1 fix(region): validate update 2021-10-27 17:55:56 +08:00
yunion-ci-robot
1a863c67ec Merge pull request #12514 from zhaoxiangchun/automated-cherry-pick-of-#12495-upstream-release-3.7
Automated cherry pick of #12495: fix(cloudcommon): update db_dispatcher set order by to sqlchemy.SQuery
2021-10-27 17:27:45 +08:00
Zexi Li
2cfef55af9 Merge pull request #12518 from tb365/automated-cherry-pick-of-#12517-upstream-release-3.7
Automated cherry pick of #12517: cn-southwest-2 default bgp type 5_sbgp
2021-10-26 19:32:28 +08:00
Zexi Li
377015dff5 Merge pull request #12525 from ioito/automated-cherry-pick-of-#12523-upstream-release-3.7
Automated cherry pick of #12523: fix(region): openstack eip sync
2021-10-26 19:16:03 +08:00
Qu Xuan
739ce265f7 fix(region): openstack eip sync 2021-10-26 15:37:12 +08:00
tb365
1af6227623 cn-southwest-2 default bgp type 5_sbgp 2021-10-26 09:30:11 +08:00
Zexi Li
5ee80b42f6 Merge pull request #12512 from zexi/automated-cherry-pick-of-#12510-upstream-release-3.7
Automated cherry pick of #12510: fix(baremetal): TaskWorkerCount options not init
2021-10-25 15:35:18 +08:00
zhaoxiangchun
052a98a560 fix(cloudcommon): update db_dispatcher set order by to sqlchemy.SQuery
1. 支持对使用了聚合函数的field进行orderby 操作,如:sum(amount) as
   amount
2021-10-25 14:22:47 +08:00
Zexi Li
8216e8e83b fix(baremetal): TaskWorkerCount options not init 2021-10-25 12:10:08 +08:00
Zexi Li
771b992664 Merge pull request #12509 from swordqiu/automated-cherry-pick-of-#11626-upstream-release-3.7
Automated cherry pick of #11626: fix: compatible with new io scheduler(bfq/mq-deadline) of new Linux kernel
2021-10-25 11:46:03 +08:00
Qiu Jian
81161fd8c7 fix: compatible with new io scheduler(bfq/mq-deadline) of new Linux kernel
1. support bfq/mq-deadline multiqueue io scheduler
2. add delay for link setup
2021-10-25 11:01:54 +08:00
yunion-ci-robot
0bb6d198e1 Merge pull request #12507 from ioito/automated-cherry-pick-of-#12505-upstream-release-3.7
Automated cherry pick of #12505: fix(region): qcloud classic nic and storage sync
2021-10-24 16:57:09 +08:00
Qu Xuan
e507287331 fix(region): qcloud classic nic and storage sync 2021-10-22 18:31:23 +08:00
Zexi Li
3def816f5b Merge pull request #12500 from ioito/automated-cherry-pick-of-#12498-upstream-release-3.7
Automated cherry pick of #12498: fix(region): hide rbd disk secret
2021-10-22 16:51:05 +08:00
Qu Xuan
7c03a8447b fix(region): hide rbd disk secret 2021-10-22 15:44:43 +08:00
Zexi Li
f44c9732ed Merge pull request #12493 from ioito/automated-cherry-pick-of-#12491-upstream-release-3.7
Automated cherry pick of #12491: fix(region): set storage with snapshot id when change vm disk config
2021-10-22 13:13:19 +08:00
Qu Xuan
e16020de56 fix(region): set storage with snapshot id when change vm disk config 2021-10-22 11:49:27 +08:00
yunion-ci-robot
e85ae135e9 Merge pull request #12489 from zexi/automated-cherry-pick-of-#12487-upstream-release-3.7
Automated cherry pick of #12487: fix(host): disk snapshot file locking off
2021-10-22 11:41:16 +08:00
Zexi Li
85d5b6e707 fix(host): disk snapshot file locking off 2021-10-22 11:21:33 +08:00
Zexi Li
e86201e5e5 Merge pull request #12473 from tb365/automated-cherry-pick-of-#12471-upstream-release-3.7
Automated cherry pick of #12471: host count add filters
2021-10-21 20:09:11 +08:00
Zexi Li
799951cdc1 Merge pull request #12483 from ioito/automated-cherry-pick-of-#12481-upstream-release-3.7
Automated cherry pick of #12481: fix(host): same mountpoint rbd storage
2021-10-21 17:11:51 +08:00
Qu Xuan
836c6c4a8f fix(host): same mountpoint rbd storage 2021-10-21 14:37:03 +08:00
Zexi Li
522a181aa7 Merge pull request #12477 from zexi/baremetal-rebuild-root
fix(baremetal): rebuild root calculate root disk partitions incorrect
2021-10-21 11:27:44 +08:00
Zexi Li
6be9f25d91 fix(baremetal): rebuild root calculate root disk partitions incorrect 2021-10-21 01:00:19 +08:00
tb365
3634601d3d host count add filters 2021-10-20 17:29:40 +08:00
Zexi Li
a4be855896 Merge pull request #12459 from zexi/automated-cherry-pick-of-#12457-upstream-release-3.7
Automated cherry pick of #12457: fix(baremetal): add task_worker_count option
2021-10-19 22:40:44 +08:00
Zexi Li
9a2ac4ab38 Merge pull request #12462 from ioito/automated-cherry-pick-of-#12460-upstream-release-3.7
Automated cherry pick of #12460: optimized(region): improve img convert speed
2021-10-19 22:38:51 +08:00
Zexi Li
cbb13fe8f1 Merge pull request #12466 from swordqiu/automated-cherry-pick-of-#12464-upstream-release-3.7
Automated cherry pick of #12464: fix: glance depends s3fs
2021-10-19 22:30:26 +08:00
Qiu Jian
8b28e83393 fix: glance depends s3fs 2021-10-19 12:32:40 +08:00
Qu Xuan
e3b40959cf optimized(region): improve img convert speed 2021-10-19 10:56:54 +08:00
Zexi Li
f0a6fe50f3 fix(baremetal): add task_worker_count option 2021-10-18 22:44:15 +08:00
Zexi Li
89fda32e5d Merge pull request #12348 from tb365/automated-cherry-pick-of-#12347-upstream-release-3.7
Automated cherry pick of #12347: ctyun api updates
2021-10-18 18:19:42 +08:00
Zexi Li
a0ccd87f52 Merge pull request #12446 from swordqiu/automated-cherry-pick-of-#12444-upstream-release-3.7
Automated cherry pick of #12444: fix: glance use multicloud objectstorage client to manipulate objectstorage
2021-10-18 15:14:34 +08:00
Qiu Jian
369f4bec04 fix: remove s3fs client from docker image 2021-10-17 02:53:52 +08:00
Qiu Jian
ae06963e71 fix: make minio endpoint compatible with multicloud objectstorage 2021-10-17 02:53:52 +08:00
Qiu Jian
88e14cac57 fix: glance use multicloud objectstorage client to manipulate objectstorage 2021-10-17 02:53:52 +08:00
Zexi Li
bd975ab477 Merge pull request #12421 from ioito/automated-cherry-pick-of-#12412-upstream-release-3.7
Automated cherry pick of #12412: fix(host): xfs unlock
2021-10-15 09:46:39 +08:00
Zexi Li
9b196ead74 Merge pull request #12425 from ioito/automated-cherry-pick-of-#12423-upstream-release-3.7
Automated cherry pick of #12423: fix(region): google rds tags sync
2021-10-15 09:45:48 +08:00
Zexi Li
e4cfbbaf09 Merge pull request #12428 from rainzm/automated-cherry-pick-of-#12426-upstream-release-3.7
Automated cherry pick of #12426: fix(region): wait all goroutine finished when execute scheduled_tasks
2021-10-15 09:39:05 +08:00
rainzm
4db8213419 fix(region): wait all goroutine finished when execute scheduled_tasks 2021-10-14 16:04:13 +08:00
Qu Xuan
d2ce12bd6c fix(region): google rds tags sync 2021-10-14 15:24:01 +08:00
Qu Xuan
c6f9daac65 fix(host): xfs unlock 2021-10-14 14:57:49 +08:00
Zexi Li
d96bdc4837 Merge pull request #12404 from rainzm/automated-cherry-pick-of-#12403-upstream-release-3.7
Automated cherry pick of #12403: fix(devtool): change agent install metadata key
2021-10-14 12:44:12 +08:00
Zexi Li
27e74a02d5 Merge pull request #12417 from swordqiu/automated-cherry-pick-of-#12415-upstream-release-3.7
Automated cherry pick of #12415: fix: enable disabled select user for windows (especially for windows 10)
2021-10-14 12:05:29 +08:00
Qiu Jian
9f75f47017 fix: enable disabled select user for windows (especially for windows 10) 2021-10-14 00:38:12 +08:00
rainzm
c820ae6a04 fix(devtool): change agent install metadata key
The tag beginning with sys will be overwritten by the cloud
2021-10-13 11:45:13 +08:00
Zexi Li
f05d941ef1 Merge pull request #12393 from ioito/automated-cherry-pick-of-#12391-upstream-release-3.7
Automated cherry pick of #12391: fix(region): aliyun rds tags sync
2021-10-12 19:55:54 +08:00
Qu Xuan
3e17d5c913 fix(region): aliyun rds tags sync 2021-10-12 18:05:31 +08:00
Zexi Li
7388d5715c Merge pull request #12389 from zexi/automated-cherry-pick-of-#12226-upstream-release-3.7
Automated cherry pick of #12226: [WIP] fix(baremetal): avoid redfish resp nil cause panic
2021-10-12 11:46:54 +08:00
Zexi Li
207dce08cf fix(baremetal): avoid redfish resp nil cause panic 2021-10-12 11:39:57 +08:00
Zexi Li
3dd18d5661 Merge pull request #12386 from zexi/automated-cherry-pick-of-#12384-upstream-release-3.7
Automated cherry pick of #12384: fix(glance): s3 uploaded image removed
2021-10-11 15:02:56 +08:00
Zexi Li
907410d0e7 fix(glance): s3 uploaded image removed 2021-10-11 12:45:44 +08:00
Zexi Li
41d155b8e4 Merge pull request #12383 from rainzm/automated-cherry-pick-of-#12381-upstream-release-3.7
Automated cherry pick of #12381: fix(devtool): creates a forward using the specified address
2021-10-11 12:45:23 +08:00
rainzm
75191c8854 fix(devtool): creates a forward using the specified address 2021-10-11 10:56:16 +08:00
屈轩
c6ced971a5 fix(glance): remove image clean (#12377)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2021-10-10 12:04:10 +08:00
屈轩
aa6b334413 fix(host): show disk details error (#12374)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2021-10-10 12:03:28 +08:00
Zexi Li
cfa9ba80d7 Merge pull request #12380 from zexi/automated-cherry-pick-of-#12378-upstream-release-3.7
Automated cherry pick of #12378: fix(monitor): use swagger ignore comment out structs
2021-10-09 21:47:02 +08:00
Zexi Li
3b09bd72fd fix(monitor): use swagger ignore comment out structs 2021-10-09 21:15:38 +08:00
Zexi Li
3302a0dcba Merge pull request #12360 from tb365/automated-cherry-pick-of-#12359-upstream-release-3.7
Automated cherry pick of #12359: kvm lb update lb listener redirect code fix
2021-10-08 10:13:43 +08:00
tangbin
e3747c446a kvm lb update lb listener redirect code fix 2021-10-08 09:42:26 +08:00
yunion-ci-robot
8636f06460 Merge pull request #12357 from zexi/automated-cherry-pick-of-#12355-upstream-release-3.7
Automated cherry pick of #12355: fix(baremetal): change cat path
2021-10-06 20:53:42 +08:00
Zexi Li
a46e24d305 fix(baremetal): change cat path 2021-10-05 21:36:07 +08:00
tb365
7b6db1672a ctyun api updates 2021-09-30 15:43:09 +08:00
Zexi Li
16102bfb68 Merge pull request #12345 from ioito/automated-cherry-pick-of-#12343-upstream-release-3.7
Automated cherry pick of #12343: fix(host): show error for online resize
2021-09-30 09:49:07 +08:00
Qu Xuan
629f288960 fix(host): show error for online resize 2021-09-29 20:30:39 +08:00
Zexi Li
34f4c41791 Merge pull request #12337 from zexi/automated-cherry-pick-of-#12335-upstream-release-3.7
Automated cherry pick of #12335: fix(baremetal): adjust adaptec raid logical volume order
2021-09-29 17:36:09 +08:00
Zexi Li
dd5e8f68a6 fix(baremetal): adjust adaptec raid logical volume order 2021-09-29 12:18:57 +08:00
Zexi Li
2180698617 Merge pull request #12330 from ioito/automated-cherry-pick-of-#12328-upstream-release-3.7
Automated cherry pick of #12328: fix(region): optimized dns zone sync
2021-09-28 19:56:16 +08:00
Qu Xuan
8ed75bcd4e fix(region): optimized dns zone sync 2021-09-28 19:33:32 +08:00
tb365
33aeb77d41 guest start sync with cloud vm 2021-09-28 15:20:47 +08:00
Zexi Li
8a86d866e5 Merge pull request #12304 from ioito/automated-cherry-pick-of-#12302-upstream-release-3.7
Automated cherry pick of #12302: fix(region): aliyun rds billing type
2021-09-26 20:11:08 +08:00
yunion-ci-robot
b04ec3f897 Merge pull request #12299 from zexi/automated-cherry-pick-of-#12241-upstream-release-3.7
Automated cherry pick of #12241: feat(baremetal): adaptec raid driver
2021-09-26 17:21:35 +08:00
Qu Xuan
593d06cf40 fix(region): aliyun rds billing type 2021-09-26 15:56:45 +08:00
Zexi Li
8ad3d34689 feat(baremetal): adaptec raid driver 2021-09-26 11:45:31 +08:00
Zexi Li
7bff6d28c8 Merge pull request #12267 from ioito/automated-cherry-pick-of-#12259-upstream-release-3.7
Automated cherry pick of #12259: fix(region): optimized validate delete condition query
2021-09-26 10:03:29 +08:00
Zexi Li
aeee3e4412 Merge pull request #12297 from swordqiu/automated-cherry-pick-of-#12295-upstream-release-3.7
Automated cherry pick of #12295: fix: clean openvswitch config files when save images
2021-09-26 09:57:14 +08:00
Qiu Jian
e051f22adf fix: clean openvswitch config files when save images 2021-09-24 22:04:37 +08:00
Zexi Li
53e01c5af3 Merge pull request #12280 from ioito/automated-cherry-pick-of-#12278-upstream-release-3.7
Automated cherry pick of #12278: fix(region): google vm mac addr
2021-09-24 15:25:35 +08:00
Zexi Li
3e69ba6147 Merge pull request #12277 from ioito/automated-cherry-pick-of-#12275-upstream-release-3.7
Automated cherry pick of #12275: fix(region): sync aws rds mem size
2021-09-24 15:25:14 +08:00
Zexi Li
e739c7c9f5 Merge pull request #12283 from swordqiu/automated-cherry-pick-of-#12281-upstream-release-3.7
Automated cherry pick of #12281: fix: disable password expiration for cloudroot
2021-09-24 15:24:17 +08:00
Zexi Li
7687cb15d8 Merge pull request #12287 from ioito/automated-cherry-pick-of-#12285-upstream-release-3.7
Automated cherry pick of #12285: fix(region): export field duplicate vpc
2021-09-24 15:23:33 +08:00
Zexi Li
48ed803d39 Merge pull request #12273 from zhaoxiangchun/automated-cherry-pick-of-#12272-upstream-release-3.7
Automated cherry pick of #12272: fix(monitor): fix cloudaccount monitor query return field err
2021-09-24 10:27:31 +08:00
Qu Xuan
1f33d32597 fix(region): export field duplicate vpc 2021-09-24 10:00:55 +08:00
Qiu Jian
7baf896bea fix: disable password expiration for cloudroot 2021-09-24 01:27:53 +08:00
yunion-ci-robot
796cc7fd5e Merge pull request #12271 from zexi/automated-cherry-pick-of-#12268-upstream-release-3.7
Automated cherry pick of #12268: fix(host): disable usb-kbd for windows 10
2021-09-24 00:28:40 +08:00
Qu Xuan
e42a313f36 fix(region): google vm mac addr 2021-09-23 20:30:07 +08:00
Qu Xuan
43620cd366 fix(region): sync aws rds mem size 2021-09-23 20:07:04 +08:00
zhaoxiangchun
eef56df9b3 fix(monitor): fix cloudaccount monitor query return field err 2021-09-23 18:00:19 +08:00
Zexi Li
336b98fa52 fix(host): disable usb-kbd for windows 10 2021-09-23 15:12:51 +08:00
Qu Xuan
8081389a8b fix(region): optimized validate delete condition query 2021-09-23 10:01:22 +08:00
Zexi Li
32cb609296 Merge pull request #12261 from swordqiu/automated-cherry-pick-of-#12258-upstream-release-3.7
Automated cherry pick of #12258: fix: verify token with expired_at field instead of depending on options.TokenExpirationSeconds
2021-09-23 09:37:49 +08:00
Zexi Li
913e807edb Merge pull request #12265 from ioito/automated-cherry-pick-of-#12263-upstream-release-3.7
Automated cherry pick of #12263: fix(region): external project support domain sync
2021-09-23 09:36:23 +08:00
Qu Xuan
5a87ca7c90 fix(region): external project support domain sync 2021-09-22 23:11:54 +08:00
Qiu Jian
2479ada755 fix: verify token with expired_at field instead of options.TokenExpirationSeconds 2021-09-22 15:35:49 +08:00
Zexi Li
a24d7deaa2 Merge pull request #12245 from rainzm/automated-cherry-pick-of-#12243-upstream-release-3.7
Automated cherry pick of #12243: fix(region): consider the network of the entire VPC when merging networks
2021-09-22 11:57:40 +08:00
Zexi Li
d50f997a0d Merge pull request #12224 from zexi/automated-cherry-pick-of-#12222-upstream-release-3.7
Automated cherry pick of #12222: fix(scheduler): cpu arch match
2021-09-22 11:56:00 +08:00
Zexi Li
1e44933604 Merge pull request #12256 from ioito/automated-cherry-pick-of-#12253-upstream-release-3.7
Automated cherry pick of #12253: fix(region): optimzed network query
2021-09-22 11:30:02 +08:00
Zexi Li
5520ff5621 fix(scheduler): cpu arch match 2021-09-22 11:14:28 +08:00
Qu Xuan
69bd9883bd fix(region): optimzed network query 2021-09-18 19:00:39 +08:00
Zexi Li
55cf913ee6 Merge pull request #12249 from ioito/automated-cherry-pick-of-#12247-upstream-release-3.7
Automated cherry pick of #12247: fix(scheduler): openstack scheduler options
2021-09-17 16:34:47 +08:00
Qu Xuan
1c59148b19 fix(scheduler): openstack scheduler options 2021-09-17 16:09:02 +08:00
rainzm
f23fe60cf2 fix(region): consider the network of the entire VPC when merging networks 2021-09-17 14:54:56 +08:00
Zexi Li
87e91ccb40 Merge pull request #12239 from ioito/automated-cherry-pick-of-#12213-upstream-release-3.7
Automated cherry pick of #12213: fix(cloudmon): batch send data
2021-09-17 09:35:10 +08:00
Zexi Li
98942c5156 Merge pull request #12235 from zexi/automated-cherry-pick-of-#12227-upstream-release-3.7
Automated cherry pick of #12227: feat(climc): SSH login of a host by private key
2021-09-17 00:25:05 +08:00
Qu Xuan
ad23814be0 fix(cloudmon): batch send data 2021-09-16 19:47:43 +08:00
Stargic
9a1d302a57 feat(climc): SSH login of a host by private key 2021-09-16 15:13:28 +08:00
Zexi Li
db0dd15828 Merge pull request #12221 from ioito/automated-cherry-pick-of-#12219-upstream-release-3.7
Automated cherry pick of #12219: fix(region): disk choice master host with os arch
2021-09-15 22:32:41 +08:00
yunion-ci-robot
2d8f981eb3 Merge pull request #12232 from zexi/automated-cherry-pick-of-#12230-upstream-release-3.7
Automated cherry pick of #12230: fix(baremetal): parse mptsas duplicated devices
2021-09-15 21:57:34 +08:00
Zexi Li
e3b97f743a fix(baremetal): parse mptsas duplicated devices 2021-09-15 21:20:42 +08:00
Qu Xuan
4a19f29dce fix(region): disk choice master host with os arch 2021-09-15 12:18:04 +08:00
Zexi Li
ceae939490 Merge pull request #12216 from zhaoxiangchun/automated-cherry-pick-of-#12214-upstream-release-3.7
Automated cherry pick of #12214: fix(cloudmon): Azure metric pull support metric interval
2021-09-15 10:02:56 +08:00
Zexi Li
bbf1da4f92 Merge pull request #12217 from zexi/automated-cherry-pick-of-#12202-upstream-release-3.7
Automated cherry pick of #12202: feat(climc): SSH Login with cloudroot (add new parameter --use-cloudroot in server-ssh)
2021-09-15 09:41:50 +08:00
Zexi Li
58af0f757d Merge pull request #12208 from swordqiu/automated-cherry-pick-of-#12206-upstream-release-3.7
Automated cherry pick of #12206: fix: AWS asume role with optional name
2021-09-15 01:15:17 +08:00
Stargic
263b20963d feat(climc): SSH Login with cloudroot (add new parameter --use-cloudroot in server-ssh)
fix(climc): Fixed the code logic error of FOR loop in server-ssh
2021-09-15 01:13:41 +08:00
zhaoxiangchun
7fa1223a70 fix(cloudmon): Azure metric pull support metric interval 2021-09-14 19:39:41 +08:00
Zexi Li
02871e0b1d Merge pull request #12167 from rainzm/automated-cherry-pick-of-#12166-upstream-release-3.7
Automated cherry pick of #12166: feat(region): add cloudcache for dnszone and secgroup details
2021-09-14 16:19:52 +08:00
Zexi Li
de000cc228 Merge pull request #12201 from ioito/automated-cherry-pick-of-#12199-upstream-release-3.7
Automated cherry pick of #12199: fix(region): apsara metric data
2021-09-14 16:18:03 +08:00
Zexi Li
892a802363 Merge pull request #12210 from tb365/automated-cherry-pick-of-#12209-upstream-release-3.7
Automated cherry pick of #12209: fix(region): change aws disk iops
2021-09-14 16:16:37 +08:00
tb365
adb29c4568 fix(region): change aws disk iops 2021-09-14 16:02:53 +08:00
Qu Xuan
44fe215547 fix(region): apsara metric data 2021-09-14 11:36:35 +08:00
Qiu Jian
2a2e387a02 fix: AWS asume role with optional name 2021-09-14 01:03:23 +08:00
yunion-ci-robot
09c74bd866 Merge pull request #12205 from zexi/automated-cherry-pick-of-#12203-upstream-release-3.7
Automated cherry pick of #12203: feat(cloudmon): support classic vm metrics
2021-09-13 23:01:29 +08:00
Zexi Li
2747de8fb1 feat(cloudmon): support classic vm metrics 2021-09-13 22:34:24 +08:00
Zexi Li
f4b2245b37 Merge pull request #12197 from tb365/automated-cherry-pick-of-#12196-upstream-release-3.7
Automated cherry pick of #12196: pure hcso zone is not empty fix
2021-09-13 17:08:55 +08:00
Zexi Li
203d480e73 Merge pull request #12195 from ioito/automated-cherry-pick-of-#12193-upstream-release-3.7
Automated cherry pick of #12193: fix(region): apsara resource group
2021-09-13 17:05:35 +08:00
tb365
4500feb2f2 pure hcso zone is not empty fix 2021-09-13 14:27:11 +08:00
Qu Xuan
02201abea7 fix(region): apsara resource group 2021-09-13 10:15:45 +08:00
yunion-ci-robot
2ac0807805 Merge pull request #12186 from ioito/automated-cherry-pick-of-#12184-upstream-release-3.7
Automated cherry pick of #12184: fix(region): qcloud database sync
2021-09-10 19:17:26 +08:00
Zexi Li
a929c6a76e Merge pull request #12178 from ioito/automated-cherry-pick-of-#12176-upstream-release-3.7
Automated cherry pick of #12176: fix(region): huawei region id with project name
2021-09-10 19:09:01 +08:00
Zexi Li
1201e6cf8d Merge pull request #12183 from ioito/automated-cherry-pick-of-#12181-upstream-release-3.7
Automated cherry pick of #12181: Hotfix/qx apsara project
2021-09-10 19:08:14 +08:00
Qu Xuan
727cc2dcdb fix(region): qcloud database sync 2021-09-10 18:32:01 +08:00
Qu Xuan
054d3f91b1 fix(region): sync apsara project info 2021-09-10 18:03:51 +08:00
Qu Xuan
36e37958dc fix(region): support apsara project 2021-09-10 17:52:49 +08:00
Qu Xuan
0dc41ca794 fix(region): 不能通过华为云用户创建时间判断云账号注册时间 2021-09-10 17:18:22 +08:00
Qu Xuan
a093ab58d0 fix(region): huawei region id with project name 2021-09-10 17:18:22 +08:00
Zexi Li
54d4eab97c Merge pull request #12175 from zexi/automated-cherry-pick-of-#12125-upstream-release-3.7
Automated cherry pick of #12125: fix(climc): SSH terminal window changes with the change of local terminal
2021-09-10 14:47:43 +08:00
Stargic
b3932b0c7c fix(climc): SSH terminal window changes with the change of local terminal 2021-09-10 11:56:56 +08:00
Zexi Li
19e38acb07 Merge pull request #12173 from ioito/automated-cherry-pick-of-#12171-upstream-release-3.7
Automated cherry pick of #12171: fix(scheduler): options for openstack scheduler
2021-09-10 11:54:10 +08:00
Zexi Li
152f4db435 Merge pull request #12170 from ioito/automated-cherry-pick-of-#12168-upstream-release-3.7
Automated cherry pick of #12168: fix(region): optimized qcloud tag sync
2021-09-09 20:26:01 +08:00
Qu Xuan
fbdd5a5317 fix(scheduler): options for openstack scheduler 2021-09-09 17:55:30 +08:00
Qu Xuan
18aff683f9 fix(region): optimized qcloud tag sync 2021-09-09 17:40:34 +08:00
rainzm
f45dbbd1e6 feat(region): add cloudcache for dnszone and secgroup details 2021-09-09 16:43:10 +08:00
Zexi Li
1af88b6a56 Merge pull request #12164 from ioito/automated-cherry-pick-of-#12162-upstream-release-3.7
Automated cherry pick of #12162: fix(region): sync apsara region
2021-09-09 16:29:38 +08:00
Qu Xuan
51917559d3 fix(region): sync apsara region 2021-09-09 15:49:23 +08:00
Zexi Li
8b02a108cc Merge pull request #12159 from swordqiu/automated-cherry-pick-of-#12157-upstream-release-3.7
Automated cherry pick of #12157: fix: set disk driver and network driver for converting esxi to kvm
2021-09-08 23:06:37 +08:00
Zexi Li
b976c9a555 Merge pull request #12151 from zhaoxiangchun/automated-cherry-pick-of-#12149-upstream-release-3.7
Automated cherry pick of #12149: fix(monitor): add monitor resource details field
2021-09-08 22:52:29 +08:00
Zexi Li
2ebba2d0e8 Merge pull request #12156 from ioito/automated-cherry-pick-of-#12154-upstream-release-3.7
Automated cherry pick of #12154: fix(region): sync aliyun qcloud default project
2021-09-08 22:51:36 +08:00
Qiu Jian
f678eb97bf fix: set disk driver and network driver for converting esxi to kvm 2021-09-08 22:29:31 +08:00
Qu Xuan
7c71578ae0 fix(region): sync aliyun qcloud default project 2021-09-08 20:30:04 +08:00
zhaoxiangchun
9e9d72d3ca fix(monitor): add monitor resource details field 2021-09-08 17:39:37 +08:00
Zexi Li
601c76236a Merge pull request #12143 from rainzm/automated-cherry-pick-of-#12141-upstream-release-3.7
Automated cherry pick of #12141: fix(devtool): get tenant info via correct field
2021-09-08 16:25:32 +08:00
Zexi Li
88e8d3119b Merge pull request #12147 from ioito/automated-cherry-pick-of-#12145-upstream-release-3.7
Automated cherry pick of #12145: fix(region): resource apsara resource id not found error
2021-09-08 16:21:28 +08:00
Qu Xuan
c4ba8aa63f fix(region): resource apsara resource id not found error 2021-09-08 15:55:07 +08:00
Zexi Li
9c800297b7 Merge pull request #12139 from ioito/automated-cherry-pick-of-#12126-upstream-release-3.7
Automated cherry pick of #12126: fix(region): apsara default region
2021-09-08 15:54:35 +08:00
rainzm
dd5a0e93b8 fix(devtool): get tenant info via correct field 2021-09-08 15:34:58 +08:00
Qu Xuan
768560c4d7 fix(region): apsara default region 2021-09-08 14:27:36 +08:00
Zexi Li
d6920ce23c Merge pull request #12128 from ioito/automated-cherry-pick-of-#12126-upstream-release-3.7
Automated cherry pick of #12126: fix(region): apsara default region
2021-09-08 13:58:19 +08:00
Zexi Li
dc86c09e1f Merge pull request #12136 from swordqiu/automated-cherry-pick-of-#12134-upstream-release-3.7
Automated cherry pick of #12134: fix(region): change disk and network drivers for Esxi converted VM
2021-09-08 12:01:47 +08:00
Qiu Jian
056243e99a fix(region): change disk and network drivers for Esxi converted VM 2021-09-08 11:48:15 +08:00
Zexi Li
b0a5a95344 Merge pull request #12132 from tb365/automated-cherry-pick-of-#12130-upstream-release-3.7
Automated cherry pick of #12130: fix(region): hcso sync server fix
2021-09-08 10:47:28 +08:00
tb365
4a32b970bf fix(region): hcso sync server fix 2021-09-08 10:42:32 +08:00
Qu Xuan
85c052a6ee fix(region): apsara default region 2021-09-08 10:36:24 +08:00
Zexi Li
d10353a824 Merge pull request #12123 from ioito/automated-cherry-pick-of-#12121-upstream-release-3.7
Automated cherry pick of #12121: fix(region): apsara endpoint fix
2021-09-07 15:25:52 +08:00
Qu Xuan
679437989a fix(region): apsara endpoint fix 2021-09-07 14:29:38 +08:00
Zexi Li
545a466561 Merge pull request #12119 from rainzm/automated-cherry-pick-of-#12117-upstream-release-3.7
Automated cherry pick of #12117: fix(devtool): create serviceurl
2021-09-07 10:50:30 +08:00
rainzm
d8d330d3d5 fix(devtool): create serviceurl 2021-09-07 10:37:21 +08:00
Zexi Li
9bd95312d7 Merge pull request #12115 from tb365/automated-cherry-pick-of-#12114-upstream-release-3.7
Automated cherry pick of #12114: NetworkUsableZoneIds remove duplicate zone ids
2021-09-06 21:47:56 +08:00
tb365
50d8f10b4e NetworkUsableZoneIds remove duplicate zone ids 2021-09-06 14:43:32 +08:00
Zexi Li
6731704344 Merge pull request #12107 from rainzm/automated-cherry-pick-of-#12105-upstream-release-3.7
Automated cherry pick of #12105: feat(devtool): add sshinfo and serviceurl
2021-09-05 16:58:49 +08:00
rainzm
5151880ec5 feat(devtool): add sshinfo and serviceurl 2021-09-04 18:31:35 +08:00
Zexi Li
0d20002e6e fix(baremetal): reindex nic (#12088) 2021-09-03 02:39:26 +08:00
Zexi Li
68e7ce0325 Merge pull request #12092 from zexi/automated-cherry-pick-of-#12090-upstream-release-3.7
Automated cherry pick of #12090: fix(climc-base): update tag to 20210901
2021-09-02 23:15:00 +08:00
Zexi Li
39dd4b116e Merge pull request #12095 from tb365/automated-cherry-pick-of-#12094-upstream-release-3.7
Automated cherry pick of #12094: fix(region): lb list search address fix
2021-09-02 18:32:29 +08:00
Zexi Li
52dd82a46d Merge pull request #12099 from zhaoxiangchun/automated-cherry-pick-of-#12097-upstream-release-3.7
Automated cherry pick of #12097: fix(monitor): monitor resource apiHelper fix
2021-09-02 18:30:28 +08:00
zhaoxiangchun
9904a6c4e9 fix(monitor): monitor resource apiHelper fix
1. apiHeleper 中增加interface,对应的ModelSet可以指定资源过滤参数
2. monitor删除过期的资源
2021-09-02 14:39:42 +08:00
tb365
7416d71d7c fix(region): lb list search address fix 2021-09-02 14:16:15 +08:00
Zexi Li
4670e4c014 Merge pull request #12070 from rainzm/automated-cherry-pick-of-#12067-upstream-release-3.7
Automated cherry pick of #12067: feat(region): allow custom sshport when make sshable
2021-09-02 11:43:47 +08:00
Zexi Li
8f7de66cfb fix(climc-base): update tag to 20210901 2021-09-01 20:18:13 +08:00
Zexi Li
2b1d6c4ff6 Merge pull request #12082 from ioito/automated-cherry-pick-of-#12080-upstream-release-3.7
Automated cherry pick of #12080: fix(region): access group policy
2021-09-01 16:36:00 +08:00
Zexi Li
875a88046a Merge pull request #12078 from tb365/automated-cherry-pick-of-#12077-upstream-release-3.7
Automated cherry pick of #12077: lb list api support search elastic ip
2021-09-01 15:17:14 +08:00
Zexi Li
acfc20be7c Merge pull request #12085 from swordqiu/automated-cherry-pick-of-#12083-upstream-release-3.7
Automated cherry pick of #12083: fix: add ceph-common to climc image, so as to make rbcli work
2021-09-01 14:48:20 +08:00
Qiu Jian
e1e58ef110 fix: add ceph-common to climc image, so as to make rbcli work 2021-09-01 12:36:33 +08:00
rainzm
b56e56bcbf feat(region): allow custom sshport when make sshable 2021-09-01 11:49:16 +08:00
Qu Xuan
209b23044e fix(region): access group policy 2021-09-01 11:18:27 +08:00
tb365
68019186ab lb list api support search elastic ip 2021-09-01 11:11:49 +08:00
Zexi Li
73bc984bcc Merge pull request #12074 from swordqiu/automated-cherry-pick-of-#12072-upstream-release-3.7
Automated cherry pick of #12072: fix: do not lock system account user
2021-08-31 21:02:00 +08:00
Qiu Jian
e6fbedf770 fix: do not lock system account user 2021-08-31 17:45:09 +08:00
Zexi Li
647be15a78 Merge pull request #12044 from tb365/automated-cherry-pick-of-#12043-upstream-release-3.7
Automated cherry pick of #12043: count host fix
2021-08-31 16:25:10 +08:00
tb365
92b8720bb6 change host type to hcso 2021-08-31 15:49:42 +08:00
tb365
aeab880a64 count host fix 2021-08-31 15:49:42 +08:00
yunion-ci-robot
873e88e2b8 Merge pull request #12066 from zexi/climc-host-delete
fix(climc): host-delete use batch delete function
2021-08-31 15:24:08 +08:00
Zexi Li
8830f6188e Merge pull request #12063 from tb365/automated-cherry-pick-of-#12062-upstream-release-3.7
Automated cherry pick of #12062: Bugfix/tb bugfix 083101
2021-08-31 15:16:18 +08:00
Zexi Li
b3c3d1faf9 fix(climc): host-delete use batch delete function 2021-08-31 15:09:02 +08:00
Zexi Li
4f5dab3490 Merge pull request #12061 from ioito/automated-cherry-pick-of-#12059-upstream-release-3.7
Automated cherry pick of #12059: fix(region): eip project sync
2021-08-31 11:32:11 +08:00
tb365
72ba92c351 make fmt 2021-08-31 11:22:18 +08:00
tb365
28f381b602 rename huaweicloudstack to hcso 2021-08-31 11:16:21 +08:00
tb365
3b55b9882f syncRemoveCloudHost purge host 2021-08-31 11:13:43 +08:00
Qu Xuan
80d49a1e7f fix(region): eip project sync 2021-08-31 10:34:47 +08:00
Zexi Li
159ad9b558 Merge pull request #12042 from rainzm/automated-cherry-pick-of-#12040-upstream-release-3.7
Automated cherry pick of #12040: feat(region): add no_tags options to filter guests
2021-08-31 10:01:34 +08:00
Zexi Li
5010b61440 Merge pull request #12058 from rainzm/automated-cherry-pick-of-#12056-upstream-release-3.7
Automated cherry pick of #12056: fix(region): delete the wrong tag 'nullable:false'
2021-08-31 09:56:44 +08:00
rainzm
68d5efad0b fix(region): delete the wrong tag 'nullable:false' 2021-08-30 16:59:44 +08:00
rainzm
c2ff56a000 feat(region): add no_tags options to filter guests
no_tags filter the guests without `no_tags`
2021-08-30 16:47:26 +08:00
Zexi Li
00f3e9c1e3 Merge pull request #12055 from ioito/automated-cherry-pick-of-#12053-upstream-release-3.7
Automated cherry pick of #12053: fix(region): sync vm os type
2021-08-30 15:05:32 +08:00
Qu Xuan
92fc4f009b fix(region): sync vm os type 2021-08-30 14:20:36 +08:00
Zexi Li
d6dfd434af Merge pull request #12051 from zexi/automated-cherry-pick-of-#12050-upstream-release-3.7
Automated cherry pick of #12050: fix(glance): image fuzzy match by distro
2021-08-27 18:02:37 +08:00
Zexi Li
54dbd4b8ff fix(glance): image fuzzy match by distro 2021-08-27 18:01:39 +08:00
Zexi Li
f3c4eb8e6f Merge pull request #12047 from zhaoxiangchun/automated-cherry-pick-of-#9750-upstream-release-3.7
Automated cherry pick of #9750: feat(region): be compatible with changes in monitor api in scaling group
2021-08-27 16:58:08 +08:00
Zexi Li
0b748ea859 Merge pull request #12048 from zhaoxiangchun/automated-cherry-pick-of-#12038-upstream-release-3.7
Automated cherry pick of #12038: fix(monitor): monitor rds sync
2021-08-27 16:57:05 +08:00
zhaoxiangchun
c11ae1235b fea(monitor): monitor apiHelper add domain,project 2021-08-27 16:04:22 +08:00
Zexi Li
929359ac4d Merge pull request #12032 from zexi/automated-cherry-pick-of-#12030-upstream-release-3.7
Automated cherry pick of #12030: fix(keystone): appsrv listen multi port failed cause of race condition
2021-08-27 14:29:56 +08:00
rainzm
9c36154c30 feat(region): be compatible with changes in monitor api in scaling group 2021-08-27 12:06:21 +08:00
Zexi Li
2898d87dcb Merge pull request #12036 from ioito/automated-cherry-pick-of-#12034-upstream-release-3.7
Automated cherry pick of #12034: fix(region): sync aliyun classic network ip addr
2021-08-26 18:04:07 +08:00
Qu Xuan
4b90b74ffb fix(region): sync aliyun classic network ip addr 2021-08-26 17:16:59 +08:00
Zexi Li
00aa056e7d fix(keystone): appsrv listen multi port failed cause of race condition 2021-08-26 16:55:14 +08:00
Zexi Li
28561dbea1 Merge pull request #12026 from zhaoxiangchun/automated-cherry-pick-of-#12024-upstream-release-3.7
Automated cherry pick of #12024: feat(cloudmon): support HuaweiCloudStack rds metric
2021-08-26 12:34:49 +08:00
Zexi Li
1f56517f4d Merge pull request #12000 from tb365/automated-cherry-pick-of-#11999-upstream-release-3.7
Automated cherry pick of #11999: hcso support sync vm host
2021-08-26 12:23:09 +08:00
Zexi Li
0b8f28f216 Merge pull request #12029 from zexi/automated-cherry-pick-of-#12027-upstream-release-3.7
Automated cherry pick of #12027: fix(vendor): use creack/pty v1.1.11 to adapt go 1.15
2021-08-26 12:09:09 +08:00
Zexi Li
44ef03219e fix(vendor): use creack/pty v1.1.11 to adapt go 1.15 2021-08-26 11:51:59 +08:00
Zexi Li
7fd194ba22 Merge pull request #12008 from rainzm/automated-cherry-pick-of-#12006-upstream-release-3.7
Automated cherry pick of #12006: feat(region): add direct vpc options
2021-08-26 11:26:20 +08:00
zhaoxiangchun
b96c560915 feat(cloudmon): support HuaweiCloudStack rds metric 2021-08-26 11:21:43 +08:00
rainzm
59dc000c0e feat(region): add direct field for vpc
This field describes whether the VPC can be connected directly
2021-08-26 11:11:00 +08:00
Zexi Li
5392e6c9e9 Merge pull request #12005 from rainzm/automated-cherry-pick-of-#12003-upstream-release-3.7
Automated cherry pick of #12003: fix(region): check instancesnapshot in correct place when resize disk
2021-08-26 10:42:49 +08:00
Zexi Li
e82c77cce3 Merge pull request #12016 from zexi/automated-cherry-pick-of-#12014-upstream-release-3.7
Automated cherry pick of #12014: fix(cloudcommon): avoid service exit when etcd unreachable
2021-08-26 10:41:46 +08:00
Zexi Li
ed23e0d6ca Merge pull request #12022 from zexi/automated-cherry-pick-of-#12020-upstream-release-3.7
Automated cherry pick of #12020: feat(cloudcommon): move ignore_nonrunning_guests option to common
2021-08-26 10:39:13 +08:00
Zexi Li
b8c5d18ac1 feat(cloudcommon): move ignore_nonrunning_guests option to common 2021-08-25 21:05:01 +08:00
tb365
d57d2be977 hcso support sync vm host 2021-08-25 20:45:08 +08:00
Zexi Li
40500b7219 Merge pull request #12011 from ioito/automated-cherry-pick-of-#12009-upstream-release-3.7
Automated cherry pick of #12009: fix(region): aliyun rds network sync
2021-08-25 20:18:49 +08:00
Zexi Li
242d7eaa0f fix(cloudcommon): avoid service exit when etcd unreachable 2021-08-25 19:48:41 +08:00
Qu Xuan
a90dbebf54 fix(region): aliyun rds network sync 2021-08-25 18:55:43 +08:00
Zexi Li
5d6cc519f3 Merge pull request #11996 from zhaoxiangchun/automated-cherry-pick-of-#11995-upstream-release-3.7
Automated cherry pick of #11995: fix(monitor):fix monitor query top 5
2021-08-25 18:18:46 +08:00
rainzm
27aa38040d fix(region): check instancesnapshot in correct place when resize disk 2021-08-25 17:16:12 +08:00
zhaoxiangchun
43d87e83eb fix(monitor):fix monitor query top 5 2021-08-25 10:14:17 +08:00
Zexi Li
fe397ac8a1 Merge pull request #11985 from ioito/automated-cherry-pick-of-#11983-upstream-release-3.7
Automated cherry pick of #11983: fix(region): enable zstack allocate ip by itself
2021-08-24 22:56:32 +08:00
Zexi Li
3489be83a9 Merge pull request #11990 from ioito/automated-cherry-pick-of-#11988-upstream-release-3.7
Automated cherry pick of #11988: fix(cloudid): hcso custom role
2021-08-24 22:55:11 +08:00
Qu Xuan
7416933ac1 fix(cloudid): hcso custom role 2021-08-24 21:11:00 +08:00
Qu Xuan
f60d419d9b fix(region): enable zstack allocate ip by itself 2021-08-24 16:08:40 +08:00
Zexi Li
c122017e45 Merge pull request #11976 from ioito/automated-cherry-pick-of-#11975-upstream-release-3.7
Automated cherry pick of #11975: fix(region): resource count for cachedimages
2021-08-23 19:59:19 +08:00
Zexi Li
25bba90b9c Merge pull request #11980 from zexi/automated-cherry-pick-of-#11979-upstream-release-3.7
Automated cherry pick of #11979: feat(glance): image support filter by os_type and distribution
2021-08-23 16:19:23 +08:00
Zexi Li
7409e8cb19 feat(glance): image support filter by os_type and distribution 2021-08-23 15:54:04 +08:00
Qu Xuan
d8e2f448b9 fix(region): resource count for cachedimages 2021-08-23 14:23:21 +08:00
Zexi Li
4f2aa13bbb Merge pull request #11972 from zhaoxiangchun/automated-cherry-pick-of-#11971-upstream-release-3.7
Automated cherry pick of #11971: fix(monitor): update apiHelper field and log
2021-08-23 12:16:55 +08:00
yunion-ci-robot
9d9973ae35 Merge pull request #11973 from zexi/automated-cherry-pick-of-#11970-upstream-release-3.7
Automated cherry pick of #11970: fix(region): allow guest network zero bandwidth limit
2021-08-23 12:14:12 +08:00
Zexi Li
ae809ca533 fix(region): allow guest network zero bandwidth limit 2021-08-23 11:55:50 +08:00
zhaoxiangchun
d8c1b49bdb fix(monitor): update apiHelper field and log 2021-08-23 10:24:23 +08:00
Zexi Li
73a209b049 Merge pull request #11969 from zhaoxiangchun/automated-cherry-pick-of-#11958-upstream-release-3.7
fix(monitor): fix monitor slow query
2021-08-23 10:04:16 +08:00
zhaoxiangchun
a0fc7d493d fix(monitor): fix monitor slow query
1. 使用apihelper 增量查询监控数据
2. 通过apihelper中set进行对应的资源过滤
2021-08-20 22:27:31 +08:00
Zexi Li
5d890449d0 Merge pull request #11965 from ioito/automated-cherry-pick-of-#11964-upstream-release-3.7
Automated cherry pick of #11964: fix(cloudid): hcso enable multi tenant saml provider
2021-08-20 17:05:45 +08:00
Qu Xuan
b7ccd35039 fix(cloudid): hcso enable multi tenant saml provider 2021-08-20 16:09:27 +08:00
Zexi Li
ee47ac3298 Merge pull request #11961 from rainzm/automated-cherry-pick-of-#11960-upstream-release-3.7
Automated cherry pick of #11960: fix(region): adjust the query range corresponding to the alarm strategy
2021-08-20 11:35:13 +08:00
rainzm
70864334d9 fix(region): adjust the query range corresponding to the alarm strategy
The data in the cycle range may not be available yet, and the data in the last hour can be queried fixedly
2021-08-20 11:11:36 +08:00
Zexi Li
3b0c73a550 Merge pull request #11955 from ioito/automated-cherry-pick-of-#11954-upstream-release-3.7
Automated cherry pick of #11954: fix(region): sync with multi worker
2021-08-19 16:11:59 +08:00
Qu Xuan
54bfc14038 fix(region): sync with multi worker 2021-08-19 15:16:23 +08:00
Zexi Li
7b5a573445 Merge pull request #11952 from zexi/automated-cherry-pick-of-#11951-upstream-release-3.7
Automated cherry pick of #11951: fix(host-deployer): XFS uuid冲突 无法 mount
2021-08-19 14:49:38 +08:00
panda
38ac153d69 fix(host-deployer): XFS uuid冲突 无法 mount
pkg/hostman/diskutils/fsutils/fsutils.go

1. ResizeFs 操作中 ResizePartitionFs 未对 xfs uuid 加锁
     导致挂载相同uuid 磁盘异异常
 - dmesg 显示
[86653.888361] XFS (nbd2p1): Filesystem has duplicate UUID f4553201-609a-4657-87aa-994cc6339f50 - can't mount

 - 批量创建虚拟机, 虚拟机磁盘为xfs, 多台虚拟机调度到同一宿主机时
   DeployGuestFs 无法 chroot password root
2021-08-19 14:46:03 +08:00
Zexi Li
bbd3988c2f Merge pull request #11949 from tb365/automated-cherry-pick-of-#11948-upstream-release-3.7
Automated cherry pick of #11948: huawei cloud getInstanceByIP add ip filter
2021-08-19 14:26:42 +08:00
tb365
7c026aa8d8 huawei cloud getInstanceByIP add ip filter 2021-08-19 11:21:25 +08:00
Zexi Li
0bcfe82417 Merge pull request #11926 from zhaoxiangchun/feature/zxc-cloudmon-3.7
fix(cloudmon): update ReportOptions field
2021-08-18 20:50:14 +08:00
Zexi Li
c75c8e2797 Merge pull request #11928 from tb365/automated-cherry-pick-of-#11927-upstream-release-3.7
Automated cherry pick of #11927: zone list timeout fix
2021-08-18 20:48:17 +08:00
Zexi Li
97aa7da982 Merge pull request #11940 from ioito/automated-cherry-pick-of-#11939-upstream-release-3.7
Automated cherry pick of #11939: fix(region): lb resource count
2021-08-18 20:47:21 +08:00
Zexi Li
039ab1a528 Merge pull request #11813 from rainzm/automated-cherry-pick-of-#11812-upstream-release-3.7
Automated cherry pick of #11812: feat(devtool): support batch applying for virtual machines
2021-08-18 18:14:34 +08:00
tb365
87503be372 zone list timeout fix 2021-08-18 15:34:57 +08:00
Qu Xuan
5b2dd8027e fix(region): lb resource count 2021-08-18 15:30:06 +08:00
Zexi Li
152b21bc2b Merge pull request #11933 from ioito/automated-cherry-pick-of-#11932-upstream-release-3.7
Automated cherry pick of #11932: fix(region): empty aliyun resource tag
2021-08-18 10:06:31 +08:00
Zexi Li
fa80920db1 Merge pull request #11937 from swordqiu/automated-cherry-pick-of-#11936-upstream-release-3.7
Automated cherry pick of #11936: fix: dhcp classless route encoding error
2021-08-18 10:03:23 +08:00
yunion-ci-robot
f50281cefc Merge pull request #11935 from zexi/automated-cherry-pick-of-#11934-upstream-release-3.7
Automated cherry pick of #11934: feat(misc): update build and service base image to use go v1.15.15
2021-08-17 23:31:46 +08:00
Qiu Jian
a865e922d4 fix: dhcp classless route encoding error 2021-08-17 23:28:54 +08:00
zhaoxiangchun
e0b6acb6ac fix(cloudmon): update ReportOptions field 2021-08-17 20:24:13 +08:00
Zexi Li
0549d821f9 feat(misc): update build and service base image to use go v1.15.15 2021-08-17 20:11:38 +08:00
Qu Xuan
28891dfbed fix(region): empty aliyun resource tag 2021-08-17 19:24:06 +08:00
Zexi Li
f89a67ee97 Merge pull request #11922 from ioito/automated-cherry-pick-of-#11921-upstream-release-3.7
Automated cherry pick of #11921: fix(cloudid): azure attach enabled subscription policy
2021-08-16 21:43:04 +08:00
Qu Xuan
6135e4a7b6 fix(cloudid): avoid sync clouduser twice 2021-08-16 15:12:30 +08:00
Qu Xuan
5fe7e3e3b3 fix(cloudid): azure attach enabled subscription policy 2021-08-16 15:12:30 +08:00
Zexi Li
981fad82a7 Merge pull request #11920 from zhaoxiangchun/automated-cherry-pick-of-#11915-upstream-release-3.7
Automated cherry pick of #11915: feat(monitor): 处理编排mysql,redis,rabbitmq 相关监控
2021-08-15 18:29:34 +08:00
zhaoxiangchun
83c216a41a feat(monitor): 处理编排mysql,redis,rabbitmq 相关监控 2021-08-15 18:13:53 +08:00
yunion-ci-robot
23f40319b8 Merge pull request #11919 from tb365/automated-cherry-pick-of-#11918-upstream-release-3.7
Automated cherry pick of #11918: ProviderFactory add method IsMultiTenant
2021-08-15 17:39:23 +08:00
tb365
85fafb47a0 ProviderFactory add method IsMultiTenant 2021-08-15 17:28:53 +08:00
Zexi Li
8cb7863c4e Merge pull request #11912 from tb365/automated-cherry-pick-of-#11911-upstream-release-3.7
Automated cherry pick of #11911: add default dns for subnet
2021-08-15 16:36:32 +08:00
Zexi Li
cb664e9f46 Merge pull request #11914 from ioito/automated-cherry-pick-of-#11913-upstream-release-3.7
Automated cherry pick of #11913: fix(cloudevent): hcso resource name
2021-08-15 16:35:20 +08:00
yunion-ci-robot
4863632b47 Merge pull request #11854 from zexi/automated-cherry-pick-of-#11853-upstream-release-3.7
Automated cherry pick of #11853: Fix bms reuse ipaddr
2021-08-15 16:26:23 +08:00
Qu Xuan
37c05a19e1 fix(cloudevent): hcso resource name 2021-08-15 16:24:27 +08:00
tb365
5aeaaa8e65 add default dns for subnet 2021-08-15 16:15:56 +08:00
Zexi Li
1f2324a3c8 Merge pull request #11910 from tb365/automated-cherry-pick-of-#11909-upstream-release-3.7
Automated cherry pick of #11909: fix(region): huawei cloud sync vm os arch
2021-08-15 14:05:14 +08:00
tb365
ee28e8903b fix(region): huawei cloud sync vm os arch 2021-08-15 13:53:33 +08:00
Zexi Li
f0dfe268c7 Merge pull request #11901 from zhaoxiangchun/automated-cherry-pick-of-#11900-upstream-release-3.7
Automated cherry pick of #11900: feat(monitor): add ext mysql,rabbitmq,redis metric
2021-08-15 11:01:08 +08:00
Zexi Li
d18b241986 Merge pull request #11908 from zexi/automated-cherry-pick-of-#11907-upstream-release-3.7
Automated cherry pick of #11907: feat(build): update glance and torrent base image
2021-08-15 02:17:49 +08:00
Zexi Li
fe673fcb60 feat(build): update glance and torrent base image 2021-08-15 02:15:44 +08:00
Zexi Li
0b4a72d4e4 Merge pull request #11906 from ioito/automated-cherry-pick-of-#11905-release-3.7
Automated cherry pick of #11905: fix(cloudevent): hcso event fix
2021-08-15 00:14:25 +08:00
Qu Xuan
89ad3778cd fix(cloudevent): hcso event fix 2021-08-15 00:08:16 +08:00
yunion-ci-robot
2901a41603 Merge pull request #11903 from zexi/automated-cherry-pick-of-#11902-upstream-release-3.7
Automated cherry pick of #11902: feat(mcclient): add k8s cluster monitor component disable option
2021-08-14 00:25:22 +08:00
Zexi Li
e74768ba22 Merge pull request #11898 from ioito/automated-cherry-pick-of-#11895-upstream-release-3.7
Automated cherry pick of #11895: fix(region): return region sql error
2021-08-13 21:16:07 +08:00
Zexi Li
1d3fcea400 feat(mcclient): add k8s cluster monitor component disable option 2021-08-13 21:14:36 +08:00
zhaoxiangchun
218ee0a462 feat(monitor): add ext mysql,rabbitmq,redis metric 2021-08-13 20:05:11 +08:00
Qu Xuan
5b8209d60f fix(region): return region sql error 2021-08-13 18:38:27 +08:00
Zexi Li
004be9b0f6 Merge pull request #11888 from swordqiu/automated-cherry-pick-of-#11887-upstream-release-3.7
Automated cherry pick of #11887: fix: routes to private prefixes should be distributed on private nic
2021-08-13 14:30:47 +08:00
Zexi Li
8d90cd13bb Merge pull request #11893 from ioito/automated-cherry-pick-of-#11892-upstream-release-3.7
Automated cherry pick of #11892: fix(region): hcso regional eip
2021-08-13 14:29:16 +08:00
Qu Xuan
5528a163ac fix(region): hcso regional eip 2021-08-13 11:02:59 +08:00
Qiu Jian
9c0f99d46f fix: routes to private prefixes should be distributed on private nic 2021-08-12 23:00:56 +08:00
Zexi Li
05f4b1beae Merge pull request #11884 from ioito/automated-cherry-pick-of-#11883-upstream-release-3.7
Automated cherry pick of #11883: fix(region): azure vm disk size
2021-08-12 21:04:11 +08:00
Zexi Li
b09812128e Merge pull request #11871 from zhaoxiangchun/automated-cherry-pick-of-#11870-upstream-release-3.7
Automated cherry pick of #11870: feat(cloudmon): support huaweistack monitor metric
2021-08-12 21:03:01 +08:00
Qu Xuan
30b112545d fix(region): azure vm disk size 2021-08-12 20:38:09 +08:00
Zexi Li
2f0e6887b7 Merge pull request #11880 from zexi/automated-cherry-pick-of-#11875-upstream-release-3.7
Automated cherry pick of #11875: Monitor temperature
2021-08-12 18:21:40 +08:00
Zexi Li
aee73f38ea Merge pull request #11881 from ioito/automated-cherry-pick-of-#11879-upstream-release-3.7
Automated cherry pick of #11879: add: hcso iam
2021-08-12 17:06:41 +08:00
Qu Xuan
6296264589 add: hcso iam 2021-08-12 16:51:50 +08:00
Zexi Li
2877d8fc7a feat(ansibleserver): update file-repo to v0.3.3 and use telegraf 1.19.2 2021-08-12 16:30:51 +08:00
Zexi Li
8ee769f312 feat(monitor): support temperature metrics 2021-08-12 16:26:52 +08:00
Zexi Li
395b04ace6 Merge pull request #11878 from tb365/automated-cherry-pick-of-#11877-upstream-release-3.7
Automated cherry pick of #11877: huawei cloud stack client fix
2021-08-12 15:43:25 +08:00
tb365
ed9396e717 goimports fix 2021-08-12 15:12:12 +08:00
tb365
3d6789e8fc huawei cloud stack client fix 2021-08-12 14:36:29 +08:00
Zexi Li
2e15f8d608 Merge pull request #11873 from ioito/automated-cherry-pick-of-#11872-upstream-release-3.7
Automated cherry pick of #11872: fix(region): delete dirty network
2021-08-12 10:55:52 +08:00
Qu Xuan
92e3b7ab4b fix(region): delete dirty network 2021-08-11 20:19:14 +08:00
zhaoxiangchun
449b9d85a7 feat(cloudmon): support huaweistack monitor metric 2021-08-11 20:09:29 +08:00
Zexi Li
2986334e8d Merge pull request #11868 from ioito/automated-cherry-pick-of-#11867-upstream-release-3.7
Automated cherry pick of #11867: fix(region): return sql error
2021-08-11 20:03:51 +08:00
Qu Xuan
1500639f01 fix(region): return sql error 2021-08-11 19:38:02 +08:00
Zexi Li
b47946b562 Merge pull request #11865 from swordqiu/automated-cherry-pick-of-#11864-upstream-release-3.7
Automated cherry pick of #11864: fix: resolve permission issues for samlusers and quotas
2021-08-11 17:50:57 +08:00
Qiu Jian
bed1c36fdb fix: resolve permission issues for samlusers and quotas 2021-08-11 17:23:32 +08:00
Zexi Li
b9bbe4df8d Merge pull request #11861 from ioito/automated-cherry-pick-of-#11860-upstream-release-3.7
Automated cherry pick of #11860: feat: hcso sku sync
2021-08-11 11:29:51 +08:00
Qu Xuan
b064162f9c feat: hcso sku sync 2021-08-11 10:53:48 +08:00
Zexi Li
bf4dabacef Merge pull request #11859 from tb365/automated-cherry-pick-of-#11847-upstream-release-3.7
Automated cherry pick of #11847: fix(region): update huawei cloud stack update credential
2021-08-10 17:01:11 +08:00
tb365
1587eba9e8 fix(region): update huawei cloud stack update credential 2021-08-10 16:51:41 +08:00
Zexi Li
9aa3362734 Merge pull request #11857 from tb365/automated-cherry-pick-of-#11843-upstream-release-3.7
Automated cherry pick of #11843: huawei client update
2021-08-10 16:49:27 +08:00
tb365
b51d6ee925 goimports fix 2021-08-10 16:34:07 +08:00
tb365
fc6806ad1b conflict fix 2021-08-10 16:32:57 +08:00
tb365
9e09a75918 fix(region): goimport fix 2021-08-10 16:30:29 +08:00
tb365
2996dfcd7a huawei client update 2021-08-10 16:28:31 +08:00
Zexi Li
b35e9d7a9a Merge pull request #11856 from zexi/automated-cherry-pick-of-#11848-upstream-release-3.7
Automated cherry pick of #11848: feat(climc): add SSH through EIP in server-ssh
2021-08-10 16:09:51 +08:00
Stargic
306e807fd9 feat(climc): add SSH through EIP in server-ssh 2021-08-10 15:55:48 +08:00
Zexi Li
524182fa25 fix(region): baremetal server reuse ip address condition 2021-08-10 10:44:29 +08:00
Zexi Li
12e07d8e16 Merge pull request #11850 from swordqiu/automated-cherry-pick-of-#11849-upstream-release-3.7
Automated cherry pick of #11849: fix: inter-vm traffic limited by eip bandwidth limit
2021-08-10 10:07:20 +08:00
yunion-ci-robot
f5a995a21d Merge pull request #11841 from zexi/automated-cherry-pick-of-#11840-upstream-release-3.7
Automated cherry pick of #11840: fix(region): not set baremetal is_maintenance when action is start
2021-08-10 00:19:01 +08:00
yunion-ci-robot
a94ca63498 Merge pull request #11846 from zexi/automated-cherry-pick-of-#11844-upstream-release-3.7
Automated cherry pick of #11844: fix(baremetal): increase ipmitool reboot sleep wait time
2021-08-10 00:18:00 +08:00
Qiu Jian
a212d77ded fix: inter-vm traffic limited by eip bandwidth limit 2021-08-10 00:15:03 +08:00
Zexi Li
16ed81e1da fix(baremetal): increase ipmitool reboot sleep wait time 2021-08-09 16:51:51 +08:00
Zexi Li
49dd563c62 fix(region): not set baremetal is_maintenance when action is start 2021-08-09 15:25:01 +08:00
Zexi Li
d7149b0fa0 Merge pull request #11834 from ioito/automated-cherry-pick-of-#11832-upstream-release-3.7
Automated cherry pick of #11832: fix(region): sync openstack multi zone storages
2021-08-07 14:29:38 +08:00
Zexi Li
e4899bd130 Merge pull request #11838 from rainzm/automated-cherry-pick-of-#11833-upstream-release-3.7
Automated cherry pick of #11833: Filter wires and networks from host_type of host
2021-08-07 14:29:01 +08:00
rainzm
374be49275 feat(region): add host_type filter for listing network
Also fixed the previous problem of using host to filter the network of yunioncloud
2021-08-06 19:03:53 +08:00
rainzm
2b9c4be9ec feat(region): add host_type filter for listing wires 2021-08-06 19:03:53 +08:00
Qu Xuan
81341af535 fix(region): sync openstack multi zone storages 2021-08-06 16:12:29 +08:00
Zexi Li
f5f3d2600c Merge pull request #11831 from tb365/automated-cherry-pick-of-#11830-upstream-release-3.7
Automated cherry pick of #11830: fix(apigateway): totp passcode verify error code fix
2021-08-06 11:24:18 +08:00
tb365
c4e41a412f fix(apigateway): totp passcode verify error code fix 2021-08-06 10:58:03 +08:00
Zexi Li
2daada9376 Merge pull request #11821 from ioito/automated-cherry-pick-of-#11820-upstream-release-3.7
Automated cherry pick of #11820: fix(region): support nas tags
2021-08-06 10:23:12 +08:00
Zexi Li
839eb9ccbd Merge pull request #11824 from rainzm/automated-cherry-pick-of-#11823-upstream-release-3.7
Automated cherry pick of #11823: fix(region): prohibit resizing the disk of a esxi vm with instance snapshots
2021-08-06 10:21:36 +08:00
Zexi Li
55270ba14f Merge pull request #11827 from ioito/automated-cherry-pick-of-#11826-upstream-release-3.7
Automated cherry pick of #11826: fix(region): add resource statistics filter params
2021-08-06 10:03:22 +08:00
Zexi Li
71ba486208 Merge pull request #11829 from ioito/automated-cherry-pick-of-#11828-upstream-release-3.7
Automated cherry pick of #11828: fix(webconsole): add jdcloud vnc
2021-08-06 00:40:33 +08:00
Qu Xuan
d0908d992e fix(webconsole): add jdcloud vnc 2021-08-05 20:40:57 +08:00
Qu Xuan
1e7dce8c3d fix(region): add resource statistics filter params 2021-08-05 19:43:31 +08:00
rainzm
e01cdbb27d fix(region): prohibit resizing the disk of a esxi vm with instance snapshots 2021-08-05 19:03:10 +08:00
Zexi Li
55e1bb709f Merge pull request #11819 from zhaoxiangchun/automated-cherry-pick-of-#11443-upstream-release-3.7
Automated cherry pick of #11443: fix(monitor): fix agent monitor query
2021-08-05 17:48:22 +08:00
Qu Xuan
5ad118518a fix(region): support nas tags 2021-08-05 17:29:55 +08:00
Zexi Li
9db1fe7b0d Merge pull request #11809 from ioito/automated-cherry-pick-of-#11808-upstream-release-3.7
Automated cherry pick of #11808: fix(region): avoid get openstack hostid panic
2021-08-05 17:18:32 +08:00
zhaoxiangchun
f9bf35fed1 fix(monitor): fix agent monitor query
1.修复agent监控查询图表显示id的问题
2021-08-05 17:17:56 +08:00
Zexi Li
8968c73562 Merge pull request #11816 from rainzm/automated-cherry-pick-of-#11815-upstream-release-3.7
Automated cherry pick of #11815: feat(region): check whether the esxi host is ip or domain name
2021-08-05 17:17:55 +08:00
Zexi Li
d61a5198ce Merge pull request #11818 from zhaoxiangchun/automated-cherry-pick-of-#10978-upstream-release-3.7
Automated cherry pick of #10978: feat(monitor): add agent monitor metric
2021-08-05 17:16:14 +08:00
zhaoxiangchun
c6082abae2 feat(monitor): add agent monitor metric
1.增加对agent采集数据的翻译
2021-08-05 16:55:17 +08:00
rainzm
0267b9a8be feat(region): check whether the esxi host is ip or domain name 2021-08-05 16:10:41 +08:00
rainzm
0395b51463 feat(devtool): support batch applying for virtual machines 2021-08-05 15:01:08 +08:00
Qu Xuan
fcba57f1c2 fix(region): avoid get openstack hostid panic 2021-08-05 14:19:06 +08:00
yunion-ci-robot
10576a300d Merge pull request #11804 from zexi/automated-cherry-pick-of-#11803-upstream-release-3.7
Automated cherry pick of #11803: fix(baremetal): inject mac when admin nic found
2021-08-04 20:10:57 +08:00
Zexi Li
4dbecc4500 fix(baremetal): inject mac when admin nic found 2021-08-04 18:53:53 +08:00
Zexi Li
066d0c6a87 Merge pull request #11801 from rainzm/automated-cherry-pick-of-#11796-upstream-release-3.7
Automated cherry pick of #11796: fix(esxiagetn): keep compatible with the lower version vcenter when copying the disk
2021-08-04 16:14:51 +08:00
rainzm
8ce51213fe fix(esxiagetn): keep compatible with the lower version vcenter when copying the disk 2021-08-04 15:29:04 +08:00
Zexi Li
3bae895ca1 Merge pull request #11793 from swordqiu/automated-cherry-pick-of-#11792-upstream-release-3.7
Automated cherry pick of #11792: fix: add purge split log commands for cloudevent and cloudlog
2021-08-04 10:23:22 +08:00
yunion-ci-robot
31c36f00c4 Merge pull request #11790 from zexi/automated-cherry-pick-of-#11788-upstream-release-3.7
Automated cherry pick of #11788: fix(region): baremetal server resued address nic count should be subtracted
2021-08-03 23:54:56 +08:00
Zexi Li
dbddb80087 Merge pull request #11795 from swordqiu/automated-cherry-pick-of-#11794-upstream-release-3.7
Automated cherry pick of #11794: fix: server migrate network to a vlan network
2021-08-03 20:05:23 +08:00
Zexi Li
571c94b7a5 Merge pull request #11787 from zexi/automated-cherry-pick-of-#11768-upstream-release-3.7
Automated cherry pick of #11768: feat(climc): add Port-Forward SSH  in server-ssh
2021-08-03 20:03:51 +08:00
yunion-ci-robot
61a39145dd Merge pull request #11785 from zexi/automated-cherry-pick-of-#11784-upstream-release-3.7
Automated cherry pick of #11784: fix(baremetal): inject mac to cmdline
2021-08-03 18:59:56 +08:00
Qiu Jian
b70e158516 fix: server migrate network to a vlan network 2021-08-03 18:07:14 +08:00
Qiu Jian
3423a9105c fix: add purge split log commands for cloudevent and cloudlog 2021-08-03 17:20:56 +08:00
Zexi Li
0d6fe4f4e7 fix(region): baremetal server resued address nic count should be subtracted 2021-08-03 15:40:33 +08:00
Stargic
344804b0f2 fix(climc): modify the code logic of starting "Port-Forward SSH" 2021-08-03 14:32:56 +08:00
Stargic
1355d9e384 feat(climc): add Port-Forward SSH in server-ssh 2021-08-03 14:32:56 +08:00
Zexi Li
c222e532ae fix(baremetal): inject mac to cmdline 2021-08-03 12:28:22 +08:00
Zexi Li
fa8bd78b56 Merge pull request #11778 from zhaoxiangchun/automated-cherry-pick-of-#11777-upstream-release-3.7
Automated cherry pick of #11777: fix(monitor): fix resource details can't show monitor metric
2021-08-02 19:57:32 +08:00
Zexi Li
ee1baa4e8f Merge pull request #11775 from rainzm/automated-cherry-pick-of-#11774-upstream-release-3.7
Automated cherry pick of #11774: fix(scheduler): make option EnableQuotaCheck work
2021-08-02 18:00:42 +08:00
zhaoxiangchun
b8f7eca40b fix(monitor): fix resource details can't show monitor metric 2021-08-02 17:34:40 +08:00
rainzm
e84aee02a3 fix(scheduler): make option EnableQuotaCheck work 2021-08-02 14:32:03 +08:00
Zexi Li
d5dc1af89b Merge pull request #11771 from zexi/automated-cherry-pick-of-#11770-upstream-release-3.7
Automated cherry pick of #11770: add host type count api
2021-08-02 11:57:43 +08:00
tb365
1bc51e386b add host type count api 2021-08-02 11:35:50 +08:00
Zexi Li
42845c1b19 Merge pull request #11757 from zhaoxiangchun/automated-cherry-pick-of-#11672-upstream-release-3.7
Automated cherry pick of #11672: fix(monitor): fix monitor bug
2021-07-31 11:45:10 +08:00
Zexi Li
f06d75d15d Merge pull request #11762 from rainzm/automated-cherry-pick-of-#11761-upstream-release-3.7
Automated cherry pick of #11761: fix: avoid double counting when compute networks nic count
2021-07-31 11:38:32 +08:00
yunion-ci-robot
b3bff7e9f7 Merge pull request #11759 from zexi/automated-cherry-pick-of-#11758-upstream-release-3.7
Automated cherry pick of #11758: fix(region): baremetal spec condition
2021-07-31 01:47:36 +08:00
rainzm
597f2b149d fix: avoid double counting when compute networks nic count 2021-07-30 20:05:11 +08:00
Zexi Li
ef7ae54d21 fix(region): baremetal spec condition 2021-07-30 17:09:11 +08:00
zhaoxiangchun
bd82868c98 fix(monitor): fix monitor bug
1.支持修改默认报警策略:查询周期、连续周期和静默期
2.监控总览-图表中过滤已删除机器信息
2021-07-30 10:16:47 +08:00
Zexi Li
c2bb195f83 Merge pull request #11756 from zhaoxiangchun/feature/zxc-cloudmon-3.7
feat(cloudmon): 3.7 add cloudmon component
2021-07-29 21:23:01 +08:00
zhaoxiangchun
8aea54e84d feat(cloudmon): 3.7 add cloudmon component 2021-07-29 20:59:01 +08:00
Zexi Li
08d648a3aa Merge pull request #11755 from zexi/automated-cherry-pick-of-#11754-upstream-release-3.7
Automated cherry pick of #11754: feat(build): update ansibleserver dockerfile
2021-07-29 20:12:30 +08:00
Zexi Li
c7c8765256 Merge pull request #11753 from zexi/automated-cherry-pick-of-#11752-upstream-release-3.7
Automated cherry pick of #11752: fix(host,region): disable health checker by default
2021-07-29 19:23:57 +08:00
Zexi Li
19124cb9ef feat(build): update ansibleserver dockerfile 2021-07-29 19:22:14 +08:00
Zexi Li
36e6dddd81 fix(host,region): disable health checker by default 2021-07-29 19:08:50 +08:00
Zexi Li
fe7937fd35 Merge pull request #11749 from zexi/automated-cherry-pick-of-#11748-upstream-release-3.7
Automated cherry pick of #11748: feat(ansibleserver): record running cmd to debug
2021-07-29 16:40:13 +08:00
Zexi Li
c310a1898f Merge pull request #11737 from zexi/automated-cherry-pick-of-#11736-upstream-release-3.7
Automated cherry pick of #11736: fix(region): raise GetNamedNetworkConfiguration error
2021-07-29 16:39:17 +08:00
Zexi Li
5ed3eec537 Merge pull request #11742 from rainzm/automated-cherry-pick-of-#11741-upstream-release-3.7
Automated cherry pick of #11741: fix(region): prevent the creation of redundant network segments when managing vmware
2021-07-29 16:38:48 +08:00
Zexi Li
286dd1e4ff Merge pull request #11750 from zexi/automated-cherry-pick-of-#11746-upstream-release-3.7
Automated cherry pick of #11746: fix: purge splitable logs for cloudevents and logger
2021-07-29 15:39:48 +08:00
Qiu Jian
feb19332a6 fix: purge splitable logs for cloudevents and logger 2021-07-29 12:05:53 +08:00
Zexi Li
7147922973 feat(ansibleserver): record running cmd to debug 2021-07-29 12:03:59 +08:00
Zexi Li
6e479d596f Merge pull request #11744 from ioito/automated-cherry-pick-of-#11743-upstream-release-3.7
Automated cherry pick of #11743: fix(climc): add version list command
2021-07-28 20:04:00 +08:00
Qu Xuan
4c0b8d8318 fix(climc): add version list command 2021-07-28 19:47:11 +08:00
rainzm
c128ad3a89 fix(region): prevent the creation of redundant network segments when managing vmware 2021-07-28 17:43:50 +08:00
Zexi Li
ebf519bd63 fix(region): raise GetNamedNetworkConfiguration error 2021-07-28 17:25:41 +08:00
Zexi Li
e730e2b1ae Merge pull request #11735 from zhaoxiangchun/automated-cherry-pick-of-#11734-upstream-release-3.7
Automated cherry pick of #11734: feat(climc):  register  billsanalysis  climc
2021-07-28 14:47:04 +08:00
zhaoxiangchun
6152c9be01 feat(climc): register billsanalysis climc 2021-07-28 14:35:27 +08:00
Zexi Li
e8c6b625e5 Merge pull request #11732 from zexi/automated-cherry-pick-of-#11673-upstream-release-3.7
Automated cherry pick of #11673: feat(climc): add enable monitor minio component command
2021-07-27 18:08:12 +08:00
Zexi Li
92a8880f99 feat(climc): add enable monitor minio component command 2021-07-27 18:07:46 +08:00
Zexi Li
a0058edc16 Merge pull request #11730 from swordqiu/automated-cherry-pick-of-#11729-upstream-release-3.7
Automated cherry pick of #11729: fix: simplify SQL for distinct field query of tenant or domain names
2021-07-27 10:29:43 +08:00
Zexi Li
f630133ab3 Merge pull request #11728 from ioito/automated-cherry-pick-of-#11727-upstream-release-3.7
Automated cherry pick of #11727: feat(region): add status count filter by params
2021-07-27 10:29:07 +08:00
Qiu Jian
db876b4480 fix: simplify SQL for distinct field query of tenant or domain names 2021-07-27 01:19:23 +08:00
Zexi Li
994857dffb Merge pull request #11725 from rainzm/automated-cherry-pick-of-#11724-upstream-release-3.7
Automated cherry pick of #11724: fix(region): fetch zone before syncing promise cloud provider storages
2021-07-26 18:56:43 +08:00
Zexi Li
3078ea2af3 Merge pull request #11721 from ioito/automated-cherry-pick-of-#11720-upstream-release-3.7
Automated cherry pick of #11720: fix(region): openstack ip pre allocate
2021-07-26 18:44:02 +08:00
Qu Xuan
5cdf5051a5 feat(region): add status count filter by params 2021-07-26 17:57:00 +08:00
rainzm
6c30b04365 fix(region): fetch zone before syncing promise cloud provider storages 2021-07-26 17:19:52 +08:00
Qu Xuan
2e720737a5 fix(region): openstack ip pre allocate 2021-07-26 15:27:53 +08:00
Zexi Li
89255ecc79 Merge pull request #11716 from ioito/automated-cherry-pick-of-#11715-upstream-release-3.7
Automated cherry pick of #11715: fix(region): cpu desc too long
2021-07-26 14:36:04 +08:00
Qu Xuan
5f4b9c2b51 fix(region): cpu desc too long 2021-07-26 10:05:58 +08:00
yunion-ci-robot
30ac3d3f40 Merge pull request #11712 from zexi/automated-cherry-pick-of-#11711-upstream-release-3.7
Automated cherry pick of #11711: fix(host): find same vendor iommu_group devices
2021-07-25 00:13:31 +08:00
Zexi Li
c0f3090d2a fix(host): find same vendor iommu_group devices 2021-07-24 21:42:23 +08:00
Zexi Li
379797e2aa Merge pull request #11708 from ioito/automated-cherry-pick-of-#11707-upstream-release-3.7
Automated cherry pick of #11707: fix(region): update qcloud secgroup rule
2021-07-23 18:22:24 +08:00
Qu Xuan
ed7d6715af fix(region): update qcloud secgroup rule 2021-07-23 17:42:18 +08:00
Zexi Li
eb8b4368fc Merge pull request #11692 from ioito/automated-cherry-pick-of-#11691-upstream-release-3.7
Automated cherry pick of #11691: fix(region): account aksk error
2021-07-23 14:22:52 +08:00
Zexi Li
21d0d98f59 Merge pull request #11702 from ioito/automated-cherry-pick-of-#11701-upstream-release-3.7
Automated cherry pick of #11701: fix(region): azure quota sync
2021-07-23 14:22:19 +08:00
Qu Xuan
c0e969368b fix(region): azure quota sync 2021-07-22 19:35:24 +08:00
Zexi Li
47f7fc1a35 Merge pull request #11694 from rainzm/automated-cherry-pick-of-#11693-upstream-release-3.7
Automated cherry pick of #11693: feat: support install monitor agent in baremetal
2021-07-22 15:29:53 +08:00
Zexi Li
2cac694816 Merge pull request #11696 from swordqiu/automated-cherry-pick-of-#11695-upstream-release-3.7
Automated cherry pick of #11695: fix: qemu-img create disk may fail to preallocation=metadata enable for large disk
2021-07-22 15:27:15 +08:00
Qiu Jian
1f7d9e2cf8 fix: qemu-img create disk may fail to preallocation=metadata enable for large disk
error report: failed to flush the refcount block cache: File too large
2021-07-22 12:17:19 +08:00
rainzm
bea1592741 feat: support install monitor agent in baremetal 2021-07-21 19:51:54 +08:00
Qu Xuan
898fa5d160 fix(region): account aksk error 2021-07-21 19:34:58 +08:00
Zexi Li
19591a3ad2 Merge pull request #11687 from rainzm/automated-cherry-pick-of-#11686-upstream-release-3.7
Automated cherry pick of #11686: Use custom version Telegraf as monitor agent
2021-07-20 21:16:09 +08:00
Zexi Li
716f77d280 Merge pull request #11683 from ioito/automated-cherry-pick-of-#11681-upstream-release-3.7
Automated cherry pick of #11681: fix(keystone): policy filter by role
2021-07-20 21:13:38 +08:00
rainzm
c3a652bad2 feat: update file-repo version 2021-07-20 19:44:54 +08:00
rainzm
09666490ca feat: use yunion's customized version of telegraf in file-repo 2021-07-20 19:44:54 +08:00
Zexi Li
f3fa282434 Merge pull request #11665 from rainzm/automated-cherry-pick-of-#11663-upstream-release-3.7
Automated cherry pick of #11663: feat(hostdeployer): change UserAdd to CheckOrAddUser
2021-07-20 18:54:56 +08:00
Qu Xuan
4722fae114 fix(keystone): policy filter by role 2021-07-20 15:50:34 +08:00
Zexi Li
992f54defe Merge pull request #11680 from zexi/automated-cherry-pick-of-#11678-upstream-release-3.7
Automated cherry pick of #11678: fix(build): baremetal arm64 build
2021-07-19 20:28:47 +08:00
Zexi Li
c12ed7b8e0 fix(build): baremetal arm64 build 2021-07-19 20:21:46 +08:00
Zexi Li
1348c76fc9 Merge pull request #11675 from ioito/automated-cherry-pick-of-#11674-upstream-release-3.7
Automated cherry pick of #11674: fix(region): rds network sync
2021-07-19 18:50:12 +08:00
Qu Xuan
8ea004084e fix(region): return rds networks info 2021-07-19 17:30:13 +08:00
Qu Xuan
bd5bd0ae70 fix(region): rds network sync 2021-07-19 17:30:13 +08:00
Zexi Li
afcfea3bda Merge pull request #11668 from ioito/automated-cherry-pick-of-#11667-upstream-release-3.7
Automated cherry pick of #11667: fix(keystone): avoid sql error
2021-07-19 14:22:01 +08:00
Qu Xuan
c629e7fce3 fix(keystone): avoid sql error 2021-07-19 14:04:25 +08:00
rainzm
48729ae9bc feat(hostdeployer): change UserAdd to CheckOrAddUser
If the user already exists, use the existing user and its information; otherwise, create a new user
2021-07-19 11:21:15 +08:00
Zexi Li
96ec7c0142 Merge pull request #11659 from ioito/automated-cherry-pick-of-#11658-upstream-release-3.7
Automated cherry pick of #11658: fix(region): sync auzre subscription health status
2021-07-16 11:24:44 +08:00
Zexi Li
ff9dadc3a7 Merge pull request #11662 from ioito/automated-cherry-pick-of-#11661-upstream-release-3.7
Automated cherry pick of #11661: fix(climc): json tag
2021-07-16 11:14:06 +08:00
Qu Xuan
760427c884 fix(climc): json tag 2021-07-16 11:08:02 +08:00
Qu Xuan
1c54d09ec2 fix(region): sync auzre subscription health status 2021-07-16 10:58:12 +08:00
Zexi Li
b1a8414949 Merge pull request #11652 from swordqiu/automated-cherry-pick-of-#11641-upstream-release-3.7
Automated cherry pick of #11641: feature: allow server switch network without service interruption
2021-07-15 19:17:35 +08:00
Zexi Li
cac7bf92bd Merge pull request #11648 from zexi/automated-cherry-pick-of-#11647-upstream-release-3.7
Automated cherry pick of #11647: fix(baremetal): compatible with SN empty of MegaRaid
2021-07-15 19:16:19 +08:00
Zexi Li
db125a6df3 fix(baremetal): compatible with SN empty of MegaRaid 2021-07-15 10:30:18 +08:00
Qiu Jian
b2a3742fbb fix: migrate interface before commit desc 2021-07-14 21:29:46 +08:00
Qiu Jian
9faf2d553e minor fixes 2021-07-14 21:29:46 +08:00
Qiu Jian
ad8a5ed953 fix: add codes to switch bridge of ovs port 2021-07-14 21:29:46 +08:00
Qiu Jian
a9ada013cf feature: allow server switch network without service interruption 2021-07-14 21:29:46 +08:00
Zexi Li
98abe8185e Merge pull request #11651 from bistuzx/automated-cherry-pick-of-#11650-upstream-release-3.7
Automated cherry pick of #11650: feat(meter): add meter cost conversion
2021-07-14 18:52:21 +08:00
bistuzx@163.com
c069baa46e add meter cost conversion 2021-07-14 18:10:21 +08:00
Zexi Li
14b8e7ce59 Merge pull request #11636 from ioito/automated-cherry-pick-of-#11580-upstream-release-3.7
Automated cherry pick of #11580: fix(region): update manager name
2021-07-14 11:08:11 +08:00
Zexi Li
25278ead71 Merge pull request #11639 from ioito/automated-cherry-pick-of-#11638-upstream-release-3.7
Automated cherry pick of #11638: fix(region): remove debug info
2021-07-13 20:10:57 +08:00
Qu Xuan
9384e81c88 fix(region): remove debug info 2021-07-13 17:27:53 +08:00
Qu Xuan
2ef57b2d19 fix(region): update manager name 2021-07-13 10:51:48 +08:00
Zexi Li
667cfe4e53 Merge pull request #11604 from rainzm/automated-cherry-pick-of-#11600-upstream-release-3.7
Automated cherry pick of #11600: fix(region): sync storage before syncing host in syncOnPremiseCloudProviderInfo
2021-07-13 10:46:43 +08:00
Zexi Li
9ce8c93b4b Merge pull request #11631 from ioito/automated-cherry-pick-of-#11627-upstream-release-3.7
Automated cherry pick of #11627: fix(region): allocate server eip without hostwire restrict
2021-07-12 18:40:18 +08:00
Qu Xuan
092cc351b2 fix(region): allocate server eip without hostwire restrict 2021-07-12 14:25:57 +08:00
yunion-ci-robot
368ef90425 Merge pull request #11629 from tb365/automated-cherry-pick-of-#11628-upstream-release-3.7
Automated cherry pick of #11628: fix(keystone): user not found error fix
2021-07-12 14:03:02 +08:00
tb365
285b0f2523 fix(keystone): user not found error fix 2021-07-12 13:54:22 +08:00
Zexi Li
aa87a342a7 Merge pull request #11621 from rainzm/automated-cherry-pick-of-#11592-upstream-release-3.7
Automated cherry pick of #11592: feat(devtool): use server forward direct for guest with kvm hypervisor
2021-07-12 10:28:34 +08:00
Zexi Li
a62be4a708 Merge pull request #11618 from zhaoxiangchun/automated-cherry-pick-of-#11617-upstream-release-3.7
Automated cherry pick of #11617: fix(monitor): fix monitor resourece update
2021-07-12 10:27:38 +08:00
Zexi Li
a0331e094d Merge pull request #11623 from rainzm/automated-cherry-pick-of-#11622-upstream-release-3.7
Automated cherry pick of #11622: fix(region): set DefaultSysDiskBackend as empty for esxi guest
2021-07-10 10:54:11 +08:00
rainzm
162c3315c0 fix(region): sync storage before syncing host in syncOnPremiseCloudProviderInfo
场景:重新构建了某个存储,相当于把之前某个存储上的所有虚拟机迁移到一个新的存储上。

因为没有syncStorage,所以在同步syncHostStorge的时候无法disconnect host
和 没有的storage,这是因为storage上还有host的虚拟机。syncHostStorages
会失败,storageCache 也就不会同步,上面的icloudImage也不会同步。
2021-07-09 19:21:10 +08:00
rainzm
742b05540d fix(region): set DefaultSysDiskBackend as empty for esxi guest 2021-07-09 19:13:48 +08:00
yunion-ci-robot
7d13ffd432 Merge pull request #11612 from zexi/automated-cherry-pick-of-#11609-upstream-release-3.7
Automated cherry pick of #11609: fix(baremetal): use ipmitool power reset when redfish power on error
2021-07-09 18:53:00 +08:00
rainzm
9d17f7091b feat(devtool): use server forward direct for guest with kvm hypervisor 2021-07-09 17:10:17 +08:00
Zexi Li
0ed305cd0b fix(baremetal): use ipmitool power reset when redfish power on error 2021-07-09 14:47:08 +08:00
zhaoxiangchun
c27cec0195 fix(monitor): fix monitor resourece update
1.通过region返回的obj更新监控资源时 remove掉id信息
2021-07-09 13:09:07 +08:00
Zexi Li
09f2812a29 Merge pull request #11605 from zhaoxiangchun/automated-cherry-pick-of-#11603-upstream-release-3.7
Automated cherry pick of #11603: fix(monitor):  alert policy use ownerId when update
2021-07-09 12:07:11 +08:00
Zexi Li
e58e611c00 Merge pull request #11613 from swordqiu/automated-cherry-pick-of-#11610-upstream-release-3.7
Automated cherry pick of #11610: fix: host detach wire not update netinterface
2021-07-09 11:53:29 +08:00
Qiu Jian
9630e1b7db fix: host detach wire not update netinterface 2021-07-09 10:45:28 +08:00
zhaoxiangchun
3b8eaaf554 fix(monitor): alert policy use ownerId when update
1.根据参数中的project和domain属性调用FetchOwnerId方法,然后确定报警策略归属并进行监控查询过滤
2021-07-09 10:17:47 +08:00
yunion-ci-robot
01bc96d4c5 Merge pull request #11594 from zexi/automated-cherry-pick-of-#11563-upstream-release-3.7
Automated cherry pick of #11563: feat(host): aware of kubelet eviction config
2021-07-08 20:16:59 +08:00
Zexi Li
63fc152fcd Merge pull request #11598 from rainzm/automated-cherry-pick-of-#11597-upstream-release-3.7
Automated cherry pick of #11597: fix(host-deployer): make SKVMGuestLVMPartition work find
2021-07-08 18:40:17 +08:00
rainzm
233b97977d fix(host-deployer): make SKVMGuestLVMPartition work fine
1. add needChangeName to indicate whether to change the name when
   putting down
2. remove unnecessary IsVgActice
3. findPartitions from /dev/{vgname}/{lvname} or
   /dev/mapper/{vgname}-{lvname}
2021-07-08 18:18:16 +08:00
Zexi Li
35b0f69399 Merge pull request #11589 from zhaoxiangchun/automated-cherry-pick-of-#11587-upstream-release-3.7
Automated cherry pick of #11587: feat(monitor): update monitor resource overview
2021-07-08 10:30:52 +08:00
Zexi Li
580f9ca3cd feat(host): aware of kubelet eviction config 2021-07-07 21:29:55 +08:00
zhaoxiangchun
90300c1afb feat(monitor): update monitor resource overview
1.调整监控总览-报警资源逻辑
启用禁用策略时对报警资源进行对应的挂载和解绑
2021-07-07 20:37:41 +08:00
Zexi Li
ee0ae2a35d Merge pull request #11584 from rainzm/automated-cherry-pick-of-#11583-upstream-release-3.7
Automated cherry pick of #11583: fix(region): handle the error of RequestGuestCreateAllDisks
2021-07-07 20:29:14 +08:00
rainzm
cdfb16ec1b fix(region): handle the error of RequestGuestCreateAllDisks 2021-07-07 15:46:23 +08:00
Zexi Li
198e42ea95 Merge pull request #11571 from rainzm/automated-cherry-pick-of-#11570-upstream-release-3.7
Automated cherry pick of #11570: feat(hostdeployer): change the way fo GetLoginAccount in windows
2021-07-06 22:22:01 +08:00
yunion-ci-robot
827891d7fd Merge pull request #11576 from zexi/automated-cherry-pick-of-#11574-upstream-release-3.7
Automated cherry pick of #11574: fix(host-deployer): detect UEFI supported not correct
2021-07-06 19:51:58 +08:00
Zexi Li
15a160c876 fix(host-deployer): detect UEFI supported not correct 2021-07-06 19:32:30 +08:00
rainzm
b3f298afdb feat(hostdeployer): change the way fo GetLoginAccount in windows
首先,如果不是win10,并且 windowsDefaultAdminUser 置为 true,以及
Administrator 没有lock,那么使用 Administrator。
否则,优先使用第一个没有被锁定且不是 Administrator 的user,如果最后没有
符合条件的user,且Adminstrator 没有被lock,就是用 Administrator。
否则,报错。
2021-07-06 17:37:43 +08:00
yunion-ci-robot
703a89e53f Merge pull request #11566 from zexi/automated-cherry-pick-of-#11564-upstream-release-3.7
Automated cherry pick of #11564: feat(host): add openEuler rootFs driver
2021-07-06 15:29:00 +08:00
Zexi Li
d112a0a277 feat(host): add openEuler rootFs driver 2021-07-06 14:50:07 +08:00
Zexi Li
f77d490626 Merge pull request #11561 from zexi/automated-cherry-pick-of-#11560-upstream-release-3.7
Automated cherry pick of #11560: update OWNERS
2021-07-05 15:55:32 +08:00
Zexi Li
4a3230aee5 update OWNERS 2021-07-05 15:54:31 +08:00
Zexi Li
0d756ad0b4 Merge pull request #11555 from swordqiu/automated-cherry-pick-of-#11554-upstream-release-3.7
Automated cherry pick of #11554: fix: add cloudroot as system account, so as not using normal user id
2021-07-04 10:26:38 +08:00
Qiu Jian
490e7e4ef7 fix: add cloudroot as system account, so as not using normal user id 2021-07-03 22:25:01 +08:00
Zexi Li
0578ab7e34 Merge pull request #11544 from zexi/automated-cherry-pick-of-#11542-upstream-release-3.7
Automated cherry pick of #11542: fix(climc): update climc-base image to 20210701
2021-07-02 11:28:48 +08:00
Zexi Li
5673d1d114 fix(climc): update climc-base image to 20210701 2021-07-02 10:14:58 +08:00
Zexi Li
f49ff18247 Merge pull request #11540 from swordqiu/automated-cherry-pick-of-#11539-upstream-release-3.7
Automated cherry pick of #11539: fix: do not use ntfsresize to resize NTFS partition
2021-07-02 10:01:48 +08:00
Qiu Jian
b21c1f1a8b fix: do not use ntfsresize to resize NTFS partition
This makes resizing windows 2003 ntfs partition non-functional
2021-07-02 09:16:20 +08:00
Zexi Li
26fecfb1f7 Merge pull request #11531 from ioito/automated-cherry-pick-of-#11530-upstream-release-3.7
Automated cherry pick of #11530: fix(webconsole): aliyun vnc windows ctl+alt+del
2021-06-30 20:16:25 +08:00
Qu Xuan
8cae1408f7 fix(webconsole): aliyun vnc windows ctl+alt+del 2021-06-30 20:01:56 +08:00
Zexi Li
617dc611c0 Merge pull request #11523 from zhaoxiangchun/automated-cherry-pick-of-#11522-upstream-release-3.7
Automated cherry pick of #11522: fix(monitor): update alert panel scope by  alert dashboard
2021-06-30 10:37:46 +08:00
Zexi Li
33e17c9749 Merge pull request #11528 from zhaoxiangchun/automated-cherry-pick-of-#11527-upstream-release-3.7
Automated cherry pick of #11527: fix(monitor): fix monitor process alert
2021-06-30 10:25:59 +08:00
zhaoxiangchun
2488a5dab1 fix(monitor): fix monitor process alert
修复进程监控报警后,没有触发前端报警提示的问题
2021-06-30 09:49:40 +08:00
yunion-ci-robot
dbd6035616 Merge pull request #11525 from zexi/automated-cherry-pick-of-#11524-upstream-release-3.7
Automated cherry pick of #11524: fix(scheduler): baremetal network free address out of count
2021-06-29 23:24:16 +08:00
Zexi Li
1f9a66d00f fix(scheduler): baremetal network free address out of count 2021-06-29 20:25:03 +08:00
zhaoxiangchun
f4cb3d2beb fix(monitor): update alert panel scope by alert dashboard 2021-06-29 17:24:23 +08:00
Zexi Li
0bb8f4984b Merge pull request #11519 from swordqiu/automated-cherry-pick-of-#11518-upstream-release-3.7
Automated cherry pick of #11518: fix(host): allow server directory a symbol link to directory in other location
2021-06-29 10:00:16 +08:00
Qiu Jian
79f8013376 fix(host): allow server directory a symbol link to directory in other location 2021-06-29 00:03:49 +08:00
Zexi Li
353f21ffa2 Merge pull request #11516 from zhaoxiangchun/automated-cherry-pick-of-#11514-upstream-release-3.7
Automated cherry pick of #11514: fix(monitor): fix alert record not return resource details
2021-06-28 20:22:26 +08:00
zhaoxiangchun
6ee987c875 fix(monitor): fix alert record not return resource details 2021-06-28 19:44:50 +08:00
Zexi Li
f9b5a82acd Merge pull request #11504 from ioito/automated-cherry-pick-of-#11503-upstream-release-3.7
Automated cherry pick of #11503: fi(region): avoid opslog without resource id
2021-06-28 19:41:52 +08:00
Zexi Li
67603523dc Merge pull request #11508 from ioito/automated-cherry-pick-of-#11507-upstream-release-3.7
Automated cherry pick of #11507: fix(region): avoid panic when sync snapshot project
2021-06-28 19:36:44 +08:00
Zexi Li
e39ed2efc4 Merge pull request #11510 from rainzm/automated-cherry-pick-of-#11509-upstream-release-3.7
Automated cherry pick of #11509: fix: get datacenter of host via GetDatacenter
2021-06-28 19:35:40 +08:00
rainzm
d00578d6eb fix: get datacenter of host via GetDatacenter 2021-06-28 18:17:12 +08:00
Qu Xuan
8f7653c14c fix(region): avoid panic when sync snapshot project 2021-06-28 18:14:53 +08:00
Qu Xuan
b448719335 fi(region): avoid opslog without resource id 2021-06-28 17:20:25 +08:00
Zexi Li
7b9f2dff61 Merge pull request #11499 from zexi/automated-cherry-pick-of-#11498-upstream-release-3.7
Automated cherry pick of #11498: fix(region): baremetal server change ip address reuse
2021-06-28 15:07:12 +08:00
Zexi Li
55011704c0 fix(region): baremetal server change ip address reuse 2021-06-28 14:44:58 +08:00
Zexi Li
9575725dfa Merge pull request #11493 from zhaoxiangchun/automated-cherry-pick-of-#11492-upstream-release-3.7
Automated cherry pick of #11492: feat(climc): update meter dimension climc
2021-06-28 11:36:47 +08:00
zhaoxiangchun
4dc9ef631f feat(climc): update meter dimension climc 2021-06-26 22:22:25 +08:00
Zexi Li
532a45d109 Merge pull request #11487 from rainzm/automated-cherry-pick-of-#10970-upstream-release-3.7
Automated cherry pick of #10970: feat(scheduler): optimize the speed of network predicate
2021-06-25 18:27:27 +08:00
rainzm
c317f05b78 feat: add interface INetworkNicCountGetter 2021-06-25 15:58:30 +08:00
rainzm
5741782cca feat(scheduler): optimize the speed of network predicate 2021-06-25 15:58:30 +08:00
Zexi Li
da452e23c8 Merge pull request #11479 from rainzm/automated-cherry-pick-of-#11478-upstream-release-3.7
Automated cherry pick of #11478: fix(notify): distinct field of receivers
2021-06-24 20:11:07 +08:00
rainzm
8304b37773 fix(notify): distinct field of receivers 2021-06-24 10:40:42 +08:00
Zexi Li
b0fcef5c6a Merge pull request #11472 from zhaoxiangchun/automated-cherry-pick-of-#11471-upstream-release-3.7
Automated cherry pick of #11471: feat(monitor): add jenkins metric desc
2021-06-24 10:02:44 +08:00
Zexi Li
bc55b8b276 Merge pull request #11474 from rainzm/automated-cherry-pick-of-#11473-upstream-release-3.7
Automated cherry pick of #11473: Sync VMware resource faster
2021-06-24 10:01:34 +08:00
rainzm
882d885aa4 feat(esxi): disable sync cloudimage from image cache 2021-06-23 17:05:50 +08:00
rainzm
d791cba145 feat(esxi): reduce the number of requests and the amount of data transferred 2021-06-23 17:05:50 +08:00
rainzm
7cf931cc16 feat(region): add ProhibitRefreshingCloudImage for options 2021-06-23 17:05:50 +08:00
zhaoxiangchun
0f55252c5b feat(monitor): add jenkins metric desc 2021-06-23 15:29:22 +08:00
Zexi Li
6298415e7b Merge pull request #11459 from ioito/automated-cherry-pick-of-#11453-upstream-release-3.7
Automated cherry pick of #11453: fix(region): ignore qcloud vm start error
2021-06-23 11:54:50 +08:00
yunion-ci-robot
38384ca1ec Merge pull request #11467 from zexi/automated-cherry-pick-of-#11457-upstream-release-3.7
Automated cherry pick of #11457: feat(host): support netplan configuration
2021-06-23 11:39:11 +08:00
Zexi Li
4c5cd45efd Merge pull request #11464 from ioito/automated-cherry-pick-of-#11463-upstream-release-3.7
Automated cherry pick of #11463: fix(hostman): show server status changed reason
2021-06-23 10:53:30 +08:00
Zexi Li
edb7c6050b Merge pull request #11462 from zhaoxiangchun/automated-cherry-pick-of-#11461-upstream-release-3.7
Automated cherry pick of #11461: fix(monitor): fix monitor overview
2021-06-23 10:51:41 +08:00
Zexi Li
e1e6a72b4f feat(host): support netplan configuration 2021-06-23 10:38:07 +08:00
Qu Xuan
3c844caa4b fix(hostman): show server status changed reason 2021-06-22 17:55:04 +08:00
zhaoxiangchun
8c51294fe7 fix(monitor): fix monitor overview
1.监控总览中资源报警统计支持项目钻取
2. 资源报警状态修复
2021-06-22 17:11:52 +08:00
Qu Xuan
8679dbee27 fix(region): ignore qcloud vm start error 2021-06-22 10:18:08 +08:00
Zexi Li
c4cd0cabdc Merge pull request #11456 from zhaoxiangchun/automated-cherry-pick-of-#11454-upstream-release-3.7
Automated cherry pick of #11454: fix(monitor): exit monitor engine in time when happen err
2021-06-21 23:49:48 +08:00
zhaoxiangchun
894d12f903 fix(monitor): exit monitor engine in time when happen err 2021-06-21 16:12:24 +08:00
Zexi Li
f127585611 Merge pull request #11449 from zexi/automated-cherry-pick-of-#11448-upstream-release-3.7
Automated cherry pick of #11448: fix(baremetal): remove bundle libs build
2021-06-21 10:42:58 +08:00
Zexi Li
3258a1c262 fix(baremetal): remove bundle libs build 2021-06-21 10:32:49 +08:00
Zexi Li
86e07c0afc Merge pull request #11440 from rainzm/automated-cherry-pick-of-#11439-upstream-release-3.7
Automated cherry pick of #11439: feat(notify): filter all recipients in this domain and recipients who have joined projects in this domain
2021-06-21 00:34:24 +08:00
Zexi Li
3a93e1754e Merge pull request #11444 from zhaoxiangchun/automated-cherry-pick-of-#11428-upstream-release-3.7-1624013747
Automated cherry pick of #11428: feat(monitor) 3.7 add monitor resource overview
2021-06-21 00:33:57 +08:00
yunion-ci-robot
44ea206e28 Merge pull request #11435 from zexi/automated-cherry-pick-of-#11433-upstream-release-3.7
Automated cherry pick of #11433: fix(region,scheduler): baremetal reuse ip
2021-06-19 22:39:57 +08:00
zhaoxiangchun
ae085eace6 utomated cherry pick of #11428: feat(monitor) 3.7 add monitor resource overview 2021-06-18 18:57:29 +08:00
zhaoxiangchun
629a3c55fd feat(monitor) 3.7 add monitor resource overview
1. 监控中增加资源统计
2. 资源在报警总览中的状态:
   init--未设置告警;alerting--发生告警;/attach--已关联策略并且报警消息正常
3.只涉及宿主机和虚拟机

https://bug.yunion.io/zentao/task-view-3130.html
2021-06-18 18:55:51 +08:00
Zexi Li
8459cb7ba2 Merge pull request #11442 from ioito/automated-cherry-pick-of-#11441-upstream-release-3.7
Automated cherry pick of #11441: fix(region): skip disabled project mapping
2021-06-18 18:32:29 +08:00
Qu Xuan
92b0d323f1 fix(region): skip disabled project mapping 2021-06-18 18:05:25 +08:00
Zexi Li
322f795d88 Merge pull request #11420 from ioito/automated-cherry-pick-of-#11419-upstream-release-3.7
Automated cherry pick of #11419: fix(region): add project filter for cloudprovider
2021-06-18 16:21:42 +08:00
Zexi Li
ebcf3f5f9f Merge pull request #11437 from ioito/automated-cherry-pick-of-#11436-upstream-release-3.7
Automated cherry pick of #11436: fix(region): manager distinct field
2021-06-18 16:21:14 +08:00
Zexi Li
4087fa4593 fix(region,scheduler): baremetal reuse ip 2021-06-18 15:46:27 +08:00
rainzm
c1d792dc8a feat(notify): filter all recipients in this domain and recipients who have joined projects in this domain 2021-06-18 15:22:42 +08:00
Qu Xuan
9e5408856f fix(region): manager distinct field 2021-06-18 14:20:21 +08:00
Zexi Li
6d87de376f Merge pull request #11431 from zexi/automated-cherry-pick-of-#11430-upstream-release-3.7
Automated cherry pick of #11430: fix(region): clean schedule cache when host add or delete netif
2021-06-18 11:16:14 +08:00
Zexi Li
5054e618cb fix(region): clean schedule cache when host add or delete netif 2021-06-18 11:04:03 +08:00
yunion-ci-robot
39fab4b3ae Merge pull request #11426 from bistuzx/automated-cherry-pick-of-#11425-upstream-release-3.7
Automated cherry pick of #11425: add meter billing exchange rate module
2021-06-17 23:54:54 +08:00
bistuzx@163.com
fe622c89d3 add module billing exchange rate 2021-06-17 19:47:24 +08:00
Qu Xuan
b7c3e53731 fix(region): add project filter for cloudprovider 2021-06-17 17:19:21 +08:00
Zexi Li
c793d5cda7 Merge pull request #11403 from ioito/automated-cherry-pick-of-#11402-upstream-release-3.7
Automated cherry pick of #11402: fix(region): show project mapping managers info
2021-06-17 14:57:07 +08:00
Zexi Li
310dac6b3e Merge pull request #11414 from swordqiu/automated-cherry-pick-of-#11413-upstream-release-3.7
Automated cherry pick of #11413: fix: support windows 2003
2021-06-17 10:18:35 +08:00
Zexi Li
8eaa4a0653 Merge pull request #11416 from swordqiu/automated-cherry-pick-of-#11415-upstream-release-3.7
Automated cherry pick of #11415: fix: do not resize LVM paritition and skip and return success
2021-06-17 09:48:13 +08:00
Qiu Jian
a481666baa fix: support windows 2003 2021-06-17 09:45:27 +08:00
Qiu Jian
2d1884da54 fix: do not resize LVM paritition and skip and return success 2021-06-17 01:55:12 +08:00
yunion-ci-robot
119fa29e77 Merge pull request #11341 from zexi/automated-cherry-pick-of-#11205-upstream-release-3.7
Automated cherry pick of #11205: feat(baremetal): support management of none BMC host
2021-06-16 23:42:53 +08:00
Zexi Li
c799d89764 Merge pull request #11411 from ioito/automated-cherry-pick-of-#11404-upstream-release-3.7
Automated cherry pick of #11404: fix(region): ignore qcloud bw pkg error
2021-06-16 20:09:59 +08:00
Zexi Li
cd76efd19e Merge pull request #11407 from yousong/automated-cherry-pick-of-#11406-upstream-release-3.7
Automated cherry pick of #11406: webconsole: wait zombies
2021-06-16 20:09:02 +08:00
Qu Xuan
f36688d4b5 fix(region): ignore qcloud bw pkg error 2021-06-16 19:42:41 +08:00
Yousong Zhou
bcc8f0b581 webconsole: wait zombies 2021-06-16 19:33:51 +08:00
Qu Xuan
ad5d667587 fix(region): show project mapping managers info 2021-06-16 17:31:41 +08:00
Zexi Li
e76592de73 fix(baremetal): record uefi info 2021-06-16 12:49:56 +08:00
Zexi Li
382962fd0e fix(baremetal): nvme allocable 2021-06-16 12:49:56 +08:00
Zexi Li
0f74c9ba0a feat(baremetal): add UEFI related util 2021-06-16 12:49:56 +08:00
Zexi Li
30d4b3b7cd fix(baremetal): close ssh test client 2021-06-16 12:49:56 +08:00
Zexi Li
160a6e4dbb feat(baremetal): support management of none BMC host 2021-06-16 12:49:56 +08:00
Zexi Li
bf26f445a6 Merge pull request #11398 from ioito/automated-cherry-pick-of-#11397-upstream-release-3.7
Automated cherry pick of #11397: fix(region): add status resource statistic
2021-06-15 16:32:06 +08:00
Zexi Li
59fafadda6 Merge pull request #11393 from ioito/automated-cherry-pick-of-#11376-upstream-release-3.7
Automated cherry pick of #11376: fix(region): qcloud bandwidth pkg
2021-06-15 16:31:06 +08:00
Qu Xuan
638d01485e fix(region): add status resource statistic 2021-06-15 14:16:23 +08:00
Qu Xuan
1de62d60ed fix(region): qcloud bandwidth pkg 2021-06-11 19:17:53 +08:00
Zexi Li
91e833db42 Merge pull request #11381 from rainzm/automated-cherry-pick-of-#11380-upstream-release-3.7
Automated cherry pick of #11380: fix(notify): clean verifiedNote when marking verified
2021-06-11 17:49:53 +08:00
Zexi Li
7d3b5d2fcb Merge pull request #11377 from ioito/automated-cherry-pick-of-#11375-upstream-release-3.7
Automated cherry pick of #11375: fix(host): update rbd storage capacity
2021-06-11 17:46:34 +08:00
Zexi Li
02a17c1753 Merge pull request #11368 from ioito/automated-cherry-pick-of-#11367-upstream-release-3.7
Automated cherry pick of #11367: fix(region): support cloudprovider bind project mapping
2021-06-11 17:45:54 +08:00
rainzm
66ad8ace31 fix(notify): clean verifiedNote when marking verified 2021-06-11 10:08:20 +08:00
Qu Xuan
8f4ae62aa4 fix(host): update rbd storage capacity 2021-06-11 09:50:09 +08:00
Qu Xuan
9c41deb42c fix(region): support cloudprovider bind project mapping 2021-06-10 15:55:17 +08:00
Zexi Li
e9f7d87688 Merge pull request #11348 from zhaoxiangchun/automated-cherry-pick-of-#11347-upstream-release-3.7
Automated cherry pick of #11347: feat(mcclient): add bills dimension climc
2021-06-10 05:34:01 +08:00
Zexi Li
0b5461b707 Merge pull request #11370 from ioito/automated-cherry-pick-of-#11369-upstream-release-3.7
Automated cherry pick of #11369: fix(host): get ceph used capacity
2021-06-10 05:32:41 +08:00
Qu Xuan
2d791dd542 fix(host): get ceph used capacity 2021-06-09 19:25:36 +08:00
zhaoxiangchun
910372ea0c feat(mcclient): add bills dimension climc 2021-06-09 11:16:41 +08:00
Zexi Li
302a411629 Merge pull request #11307 from ioito/automated-cherry-pick-of-#11306-upstream-release-3.7
Automated cherry pick of #11306: fix(region): skip server migrate quota check
2021-06-08 23:29:29 +08:00
Zexi Li
f25b015143 Merge pull request #11339 from rainzm/automated-cherry-pick-of-#11338-upstream-release-3.7
Automated cherry pick of #11338: Add some tags to the monitoring data generated by the agent
2021-06-08 23:27:53 +08:00
Zexi Li
bf08a413d3 Merge pull request #11342 from ioito/automated-cherry-pick-of-#11340-upstream-release-3.7
Automated cherry pick of #11340: fix(cloudid): huawei group role attach and detach
2021-06-08 23:14:18 +08:00
Zexi Li
200911ef38 Merge pull request #11350 from ioito/automated-cherry-pick-of-#11349-upstream-release-3.7
Automated cherry pick of #11349: fix(cloudid): avoid duplicate create saml provider
2021-06-08 23:13:54 +08:00
Zexi Li
cb3aadd014 Merge pull request #11355 from ioito/automated-cherry-pick-of-#11354-upstream-release-3.7
Automated cherry pick of #11354: feat(apigateway): support export dict keys
2021-06-08 23:11:54 +08:00
Zexi Li
c84d543df2 Merge pull request #11358 from ioito/automated-cherry-pick-of-#11357-upstream-release-3.7
Automated cherry pick of #11357: fix(region): avoid storage update not work
2021-06-08 23:10:05 +08:00
Zexi Li
494a9041b3 Merge pull request #11362 from ioito/automated-cherry-pick-of-#11361-upstream-release-3.7
Automated cherry pick of #11361: fix(region): validate disk status when create snapshot
2021-06-08 23:08:16 +08:00
Qu Xuan
9f50a53945 fix(region): validate disk status when create snapshot 2021-06-08 20:09:11 +08:00
Qu Xuan
d11fcc7945 fix(region): avoid storage update not work 2021-06-08 17:33:53 +08:00
Qu Xuan
ebe101d9ab feat(apigateway): support export dict keys 2021-06-08 16:24:05 +08:00
Qu Xuan
87c1c0e290 fix(cloudid): avoid duplicate create saml provider 2021-06-08 14:19:17 +08:00
yunion-ci-robot
6ccfcbf0da Merge pull request #11312 from ioito/automated-cherry-pick-of-#11311-upstream-release-3.7
Automated cherry pick of #11311: fix(region): huawei disk tags
2021-06-08 10:50:26 +08:00
Qu Xuan
cf7f5f6805 fix(cloudid): huawei group role attach and detach 2021-06-07 18:18:08 +08:00
Zexi Li
22a5b36817 Merge pull request #11333 from ioito/automated-cherry-pick-of-#11332-upstream-release-3.7
Automated cherry pick of #11332: fix(region): validate attached disk size and backend
2021-06-07 17:43:48 +08:00
Zexi Li
8da358513a Merge pull request #11336 from zhaoxiangchun/automated-cherry-pick-of-#11335-upstream-release-3.7
Automated cherry pick of #11335: fix(telegraf-raid-plugin): add image-telegraf-raid-plugin in Makefile
2021-06-07 17:42:38 +08:00
rainzm
02252842e7 feat(build): change file repo version in Dockerfile.ansibleserver 2021-06-07 17:18:57 +08:00
rainzm
21c33d4844 feat(devtool): add some tags 2021-06-07 17:18:57 +08:00
rainzm
e7dc0213f6 fix(anisbleserver): support complex yaml config in ansibleplaybook_instance 2021-06-07 17:18:57 +08:00
zhaoxiangchun
754c2e62ee fix(telegraf-raid-plugin): add image-telegraf-raid-plugin in Makefile 2021-06-07 16:20:08 +08:00
Qu Xuan
c6e99bf802 fix(region): validate attached disk size and backend 2021-06-07 15:44:18 +08:00
Qu Xuan
f13c01d20f fix(region): skip server migrate quota check 2021-06-07 10:13:48 +08:00
Zexi Li
92d4e3cf7a Merge pull request #11327 from ioito/automated-cherry-pick-of-#11326-upstream-release-3.7
Automated cherry pick of #11326: fix(region): sync tags with new guest
2021-06-06 00:54:42 +08:00
Zexi Li
3efd579564 Merge pull request #11323 from zhaoxiangchun/automated-cherry-pick-of-#11320-upstream-release-3.7
Automated cherry pick of #11320: fix: 修复云账号和宿主机报警问题
2021-06-05 12:16:40 +08:00
Qu Xuan
4484a2082b fix(region): sync tags with new guest 2021-06-04 23:10:20 +08:00
Zexi Li
d2cfe35296 Merge pull request #11298 from tb365/automated-cherry-pick-of-#11297-upstream-release-3.7
Automated cherry pick of #11297: fix(region): lb local cert sync fix
2021-06-04 21:09:54 +08:00
Zexi Li
f548d76116 Merge pull request #11300 from swordqiu/automated-cherry-pick-of-#11299-upstream-release-3.7
Automated cherry pick of #11299: fix: hpssacli should skip empty slots
2021-06-04 21:04:26 +08:00
Zexi Li
fbcbe46a8e Merge pull request #11319 from ioito/automated-cherry-pick-of-#11318-upstream-release-3.7
Automated cherry pick of #11318: fix(region): avoid guest delete not with disks
2021-06-04 19:46:31 +08:00
zhaoxiangchun
1389d2176e fix: 修复云账号和宿主机报警问题
1.云账号报警时过滤掉已经禁用的云账号
2.修复宿主机报警时资源名称重复的问题
2021-06-04 19:24:36 +08:00
Qu Xuan
64a86f7ccd fix(region): avoid guest delete not with disks 2021-06-04 19:17:21 +08:00
Qu Xuan
5b5310c6ee fix(region): huawei disk tags 2021-06-04 14:37:13 +08:00
Qiu Jian
162dd766ff fix: hpssacli should skip empty slots
hpssacli may fail when detect disks on empty slots, which cause raid
detection failure
2021-06-03 19:35:53 +08:00
tb365
1c7c3e05bd fix(region): lb local cert sync fix 2021-06-03 18:51:37 +08:00
Zexi Li
5e59c6be73 Merge pull request #11290 from ioito/automated-cherry-pick-of-#11289-upstream-release-3.7
Automated cherry pick of #11289: fix(host): avoid panic when params is nil
2021-06-03 11:42:38 +08:00
Qu Xuan
41806c9388 fix(host): avoid panic when params is nil 2021-06-03 11:31:09 +08:00
Zexi Li
c498c6f22b Merge pull request #11285 from zexi/automated-cherry-pick-of-#11284-upstream-release-3.7
Automated cherry pick of #11284: fix(glance): add option of s3 image status check
2021-06-02 11:18:13 +08:00
Zexi Li
ec926f9b62 fix(glance): add option of s3 image status check 2021-06-02 10:46:34 +08:00
Zexi Li
43faf5a5bf Merge pull request #11281 from ioito/automated-cherry-pick-of-#11279-upstream-release-3.7
Automated cherry pick of #11279: fix(region): avoid deadlock when resize disk
2021-06-01 19:19:18 +08:00
Zexi Li
7243b4fd37 Merge pull request #11275 from ioito/automated-cherry-pick-of-#11274-upstream-release-3.7
Automated cherry pick of #11274: fix(region): disable public cloud ip pre allocate
2021-06-01 18:55:14 +08:00
Qu Xuan
767aa5c37a fix(region): avoid deadlock when resize disk 2021-06-01 14:29:53 +08:00
Zexi Li
01000d5334 Merge pull request #11276 from swordqiu/automated-cherry-pick-of-#11268-upstream-release-3.7
Automated cherry pick of #11268: fix: windows resize file system
2021-06-01 11:55:00 +08:00
Qiu Jian
4948869add fix: windows resize file system 2021-05-31 23:59:47 +08:00
Qu Xuan
fd94dc34da fix(region): disable public cloud ip pre allocate 2021-05-31 15:06:57 +08:00
Zexi Li
28b9460fb9 Merge pull request #11267 from ioito/automated-cherry-pick-of-#11266-upstream-release-3.7
Automated cherry pick of #11266: fix(region): fix aws json unmarshal error
2021-05-31 09:56:08 +08:00
Qu Xuan
35f7844c53 fix(region): fix aws json unmarshal error 2021-05-29 12:37:58 +08:00
Zexi Li
2e8c9ee159 Merge pull request #11265 from ioito/automated-cherry-pick-of-#11264-upstream-release-3.7
Automated cherry pick of #11264: fix(region): split provider tag sync
2021-05-28 20:36:26 +08:00
Qu Xuan
93a7f1b815 fix(region): split provider tag sync 2021-05-28 20:18:42 +08:00
Zexi Li
ac416cdfbc Merge pull request #11259 from zhaoxiangchun/automated-cherry-pick-of-#11258-upstream-release-3.7
Automated cherry pick of #11258: fix(host): raid status
2021-05-28 20:12:44 +08:00
zhaoxiangchun
daf14eb739 fix(host): raid status 2021-05-28 19:58:46 +08:00
Zexi Li
883cb64089 Merge pull request #11254 from tb365/automated-cherry-pick-of-#11253-upstream-release-3.7
Automated cherry pick of #11253: fix(region): lbcert cache clean duplicate data fix
2021-05-28 19:18:17 +08:00
Zexi Li
7b8303e9ab Merge pull request #11262 from ioito/automated-cherry-pick-of-#11249-upstream-release-3.7
Automated cherry pick of #11249: fix(region): optimized disk eip snapshot project sync
2021-05-28 19:17:09 +08:00
Qu Xuan
c7a9f726b8 fix(region): optimized disk eip snapshot project sync 2021-05-28 19:07:23 +08:00
tb365
55525a990c fix(region): lbcert cache clean duplicate data fix 2021-05-28 15:47:34 +08:00
Zexi Li
54d3962fb3 Merge pull request #11246 from swordqiu/automated-cherry-pick-of-#11245-upstream-release-3.7
Automated cherry pick of #11245: fix: get apigateway auth/regions with error of illegal mix of collations
2021-05-28 15:43:32 +08:00
Zexi Li
c4685cf58f Merge pull request #11252 from ioito/automated-cherry-pick-of-#11251-upstream-release-3.7
Automated cherry pick of #11251: fix(region): project sync condition
2021-05-28 15:29:05 +08:00
Qu Xuan
e51e0a7ab4 fix(region): project sync condition 2021-05-28 15:15:45 +08:00
Qiu Jian
1dbe7b930a fix: get apigateway auth/regions with error of illegal mix of collations 2021-05-28 09:39:53 +08:00
Zexi Li
071576111c Merge pull request #11218 from ioito/automated-cherry-pick-of-#11217-upstream-release-3.7
Automated cherry pick of #11217: fix(region): optimized aliyun qcloud tags sync
2021-05-27 20:33:12 +08:00
Zexi Li
37516c7b5d Merge pull request #11229 from ioito/automated-cherry-pick-of-#11228-upstream-release-3.7
Automated cherry pick of #11228: fix(region): translation errors
2021-05-27 19:50:02 +08:00
Zexi Li
3a299f0661 Merge pull request #11227 from tb365/automated-cherry-pick-of-#11226-upstream-release-3.7
Automated cherry pick of #11226: fix(region): lb cert name fix
2021-05-27 19:45:28 +08:00
Zexi Li
b4d784d283 Merge pull request #11241 from zexi/automated-cherry-pick-of-#11240-upstream-release-3.7
Automated cherry pick of #11240: fix(region): migrate use rescue mode
2021-05-27 19:43:32 +08:00
Zexi Li
95ef2bc51c Merge pull request #11243 from zexi/automated-cherry-pick-of-#11242-upstream-release-3.7
Automated cherry pick of #11242: Revert "fix(host): raid status fix"
2021-05-27 19:42:48 +08:00
Zexi Li
02a08bc6da Revert "fix(host): raid status fix"
This reverts commit 392f5ab237.
2021-05-27 19:41:42 +08:00
Zexi Li
10e574d389 Merge pull request #11235 from zhaoxiangchun/automated-cherry-pick-of-#11233-upstream-release-3.7
Automated cherry pick of #11233: fix(host): raid status fix
2021-05-27 19:36:23 +08:00
Zexi Li
644a9c1035 fix(region): migrate use rescue mode 2021-05-27 19:35:44 +08:00
zhaoxiangchun
12209ee0c7 fix(host): raid status fix
1. All status are online except offline.
2021-05-27 16:04:18 +08:00
Qu Xuan
e76c1d6c02 fix(region): optimized azure aliyun qcloud tags sync 2021-05-27 10:53:46 +08:00
Qu Xuan
018ef0d986 fix(region): translation errors 2021-05-27 10:48:15 +08:00
tb365
b71406e6ec fix(region): lb cert name fix 2021-05-26 19:58:54 +08:00
Zexi Li
a67bdedb45 Merge pull request #11220 from ioito/automated-cherry-pick-of-#11219-upstream-release-3.7
Automated cherry pick of #11219: fix(host): avoid delete removed disk failed
2021-05-26 14:21:55 +08:00
Qu Xuan
913757f138 fix(host): avoid delete removed disk failed 2021-05-25 21:01:46 +08:00
Zexi Li
8f41c4165a Merge pull request #11202 from ioito/automated-cherry-pick-of-#11201-upstream-release-3.7
Automated cherry pick of #11201: fix(region): show azure deploy failed error
2021-05-25 19:08:50 +08:00
Zexi Li
ec709234d7 Merge pull request #11213 from ioito/automated-cherry-pick-of-#11212-upstream-release-3.7
Automated cherry pick of #11212: fix(region): aws vpc network eip disk tags sync
2021-05-25 19:07:52 +08:00
Zexi Li
b264e3c074 Merge pull request #11211 from zexi/automated-cherry-pick-of-#11166-upstream-release-3.7
Automated cherry pick of #11166: feat(region): add server migration predication API
2021-05-25 18:25:13 +08:00
Qu Xuan
c73de5f64f fix(region): aws vpc network eip disk tags sync 2021-05-25 17:45:44 +08:00
Zexi Li
7c7687ae4d feat(region): add server migration predication API 2021-05-25 17:02:44 +08:00
Qu Xuan
88046eea10 fix(region): show azure deploy failed error 2021-05-25 10:34:50 +08:00
Zexi Li
d445b55d68 Merge pull request #11199 from ioito/automated-cherry-pick-of-#11198-upstream-release-3.7
Automated cherry pick of #11198: fix(region): restrict account project mapping
2021-05-24 18:16:42 +08:00
Zexi Li
122a07b96b Merge pull request #11192 from ioito/automated-cherry-pick-of-#11191-upstream-release-3.7
Automated cherry pick of #11191: fix(region): azure uniform tags
2021-05-24 17:23:31 +08:00
Qu Xuan
984790c18f fix(region): restrict account project mapping 2021-05-24 16:46:58 +08:00
Qu Xuan
1d4b2a04bd fix(region): azure uniform tags 2021-05-24 15:02:03 +08:00
Zexi Li
cb830ad8e3 Merge pull request #11179 from ioito/automated-cherry-pick-of-#11178-upstream-release-3.7
Automated cherry pick of #11178: fix(region): add project and domain info for project mapping rules
2021-05-24 10:16:22 +08:00
Zexi Li
9a69b8c0d2 Merge pull request #11181 from tb365/automated-cherry-pick-of-#11177-upstream-release-3.7
Automated cherry pick of #11177: feat(region): loadbalancer certificate add purge methods
2021-05-24 10:15:07 +08:00
TangBin
cf5dcc611f fix(region): gofmt fix 2021-05-21 11:02:23 +08:00
Qu Xuan
1456b93ec2 fix(region): check sku request error 2021-05-21 11:02:23 +08:00
Qu Xuan
b5fcfb5d16 fix(region): add project and domain info for project mapping rules 2021-05-20 20:41:25 +08:00
Zexi Li
dfee854fb4 Merge pull request #11169 from ioito/automated-cherry-pick-of-#11168-upstream-release-3.7
Automated cherry pick of #11168: fix(region): add host_id options for storage filter
2021-05-20 18:54:26 +08:00
Zexi Li
bba05e4702 Merge pull request #11171 from ioito/automated-cherry-pick-of-#11170-upstream-release-3.7
Automated cherry pick of #11170: fix(region): avoid aws session not assume role
2021-05-20 18:53:01 +08:00
Zexi Li
c93624a093 Merge pull request #11173 from zhaoxiangchun/automated-cherry-pick-of-#11172-upstream-release-3.7
Automated cherry pick of #11172: fix(monitor): fix storage tag
2021-05-20 18:51:42 +08:00
zhaoxiangchun
d1da58b42f fix(monitor): fix storage tag 2021-05-20 17:26:00 +08:00
Qu Xuan
78a9a1ea80 fix(region): avoid aws session not assume role 2021-05-20 16:42:04 +08:00
Qu Xuan
2fb095bc5b fix(region): add host_id options for storage filter 2021-05-20 14:39:42 +08:00
Zexi Li
00c58b79e5 Merge pull request #11093 from zhaoxiangchun/automated-cherry-pick-of-#11025-upstream-release-3.7
Automated cherry pick of #11025: feat(monitor): add storage monitor metric
2021-05-20 09:54:01 +08:00
Zexi Li
bb40ff8ebb Merge pull request #11161 from ioito/automated-cherry-pick-of-#11160-upstream-release-3.7
Automated cherry pick of #11160: fix(region): check sku request error
2021-05-19 23:31:02 +08:00
Qu Xuan
45d3b75211 fix(region): check sku request error 2021-05-19 19:26:51 +08:00
Zexi Li
b6654ce59e Merge pull request #11155 from ioito/automated-cherry-pick-of-#11154-upstream-release-3.7
Automated cherry pick of #11154: fix(region): avoid azure secgroup sync removed
2021-05-19 17:41:20 +08:00
Zexi Li
af88fea62e Merge pull request #11153 from ioito/automated-cherry-pick-of-#11152-upstream-release-3.7
Automated cherry pick of #11152: fix(region): avoid index out of range panic
2021-05-19 17:40:10 +08:00
Qu Xuan
74847d573c fix(region): avoid azure secgroup sync removed 2021-05-19 15:57:55 +08:00
Qu Xuan
11a2f89f6c fix(region): avoid index out of range panic 2021-05-19 15:34:47 +08:00
Zexi Li
5a49a3b0b1 Merge pull request #11149 from rainzm/automated-cherry-pick-of-#11148-upstream-release-3.7
Automated cherry pick of #11148: feat(ansible): add rolePublic and timeout options
2021-05-19 15:23:30 +08:00
Zexi Li
9f89d90bef Merge pull request #11147 from ioito/automated-cherry-pick-of-#11146-upstream-release-3.7
Automated cherry pick of #11146: fix(region): more accounts details for project mapping
2021-05-19 15:23:17 +08:00
Zexi Li
eed04e0569 Merge pull request #11140 from tb365/automated-cherry-pick-of-#11139-upstream-release-3.7
Automated cherry pick of #11139: fix(region): ctyun delete secgroup fix
2021-05-19 15:22:17 +08:00
rainzm
d6791e6074 feat(ansible): add rolePublic and timeout options 2021-05-19 11:29:07 +08:00
Qu Xuan
7cb4da8bda fix(region): more accounts details for project mapping 2021-05-18 17:56:46 +08:00
Zexi Li
14f3d77bf6 Merge pull request #11143 from zexi/automated-cherry-pick-of-#11142-upstream-release-3.7
Automated cherry pick of #11142: fix(glance): make image is_standard updatable
2021-05-18 17:18:30 +08:00
Zexi Li
31c1cbd4f7 fix(glance): make image is_standard updatable 2021-05-18 16:43:32 +08:00
TangBin
f53f9566bb fix(region): ctyun delete secgroup fix 2021-05-18 16:21:20 +08:00
Zexi Li
4cb42acc76 Merge pull request #11135 from ioito/automated-cherry-pick-of-#11134-upstream-release-3.7
Automated cherry pick of #11134: fix(cloudid): clouduser use default domain
2021-05-18 15:56:42 +08:00
Qu Xuan
e8b432a99c fix(cloudid): clouduser use default domain 2021-05-18 15:19:56 +08:00
Zexi Li
ae55af072f Merge pull request #11127 from rainzm/automated-cherry-pick-of-#11126-upstream-release-3.7
Automated cherry pick of #11126: fix(region): check whether the disks of the instance snapshot is empty when creating vm
2021-05-17 22:36:20 +08:00
rainzm
e40c98d602 fix(region): check whether the disks of the instance snapshot is empty when creating vm 2021-05-17 17:26:36 +08:00
Zexi Li
28a99c1d53 Merge pull request #11102 from ioito/automated-cherry-pick-of-#11101-upstream-release-3.7
Automated cherry pick of #11101: fix(region): optimized server sku sku
2021-05-17 10:08:17 +08:00
Zexi Li
9e8da72d53 Merge pull request #11119 from rainzm/automated-cherry-pick-of-#11116-upstream-release-3.7
Automated cherry pick of #11116: webhook fix
2021-05-17 10:07:42 +08:00
Zexi Li
ab68eee123 Merge pull request #11108 from rainzm/automated-cherry-pick-of-#11107-upstream-release-3.7
Automated cherry pick of #11107: fix(esxiagent): make the copied disk type as thin
2021-05-17 10:07:02 +08:00
Zexi Li
f0ec3269f6 Merge pull request #11122 from rainzm/automated-cherry-pick-of-#11121-upstream-release-3.7
Automated cherry pick of #11121: fix(esxiagent): execute deploy operation by default in AgentDeployGuest
2021-05-17 10:06:09 +08:00
yunion-ci-robot
4165571c49 Merge pull request #11124 from ioito/automated-cherry-pick-of-#11123-upstream-release-3.7
Automated cherry pick of #11123: fix(region): project mapping optional
2021-05-16 16:08:57 +08:00
屈轩
a14a434952 fix(region): project mapping optional 2021-05-16 14:17:36 +08:00
rainzm
a0f7a5e7bc fix(esxiagent): execute deploy operation by default in AgentDeployGuest 2021-05-14 19:14:07 +08:00
Zexi Li
a2e3099ae3 Merge pull request #11113 from tb365/automated-cherry-pick-of-#11112-upstream-release-3.7
Automated cherry pick of #11112: fix(region): aws sync disk missing image id fix
2021-05-14 17:33:05 +08:00
rainzm
e65e38f50c fix(region): send webhook when the creation task is completely completed 2021-05-14 17:23:23 +08:00
rainzm
80f07d0675 fix(region): send webhook notification when delete dbinstance 2021-05-14 17:23:23 +08:00
TangBin
c3a11613d8 fix(region): aws sync disk missing image id fix 2021-05-14 15:59:22 +08:00
rainzm
f6bf63fa89 fix(esxiagent): make the copied disk type as thin
磁盘首选精简制备,但是copy disk默认是预分配,所以需要特别指定为
精简制备
2021-05-14 15:05:10 +08:00
Qu Xuan
1c19d1d9cb fix(region): optimized server sku sku 2021-05-13 20:57:48 +08:00
Zexi Li
c15375df27 Merge pull request #11098 from ioito/automated-cherry-pick-of-#11097-upstream-release-3.7
Automated cherry pick of #11097: fix(region): allow update sku status
2021-05-13 20:27:35 +08:00
Qu Xuan
29c77119f6 fix(region): allow update sku status 2021-05-13 19:45:36 +08:00
Zexi Li
9ecad8fc8b Merge pull request #11033 from ioito/automated-cherry-pick-of-#11032-upstream-release-3.7
Automated cherry pick of #11032: fix(region): aliyun vpc endpoint
2021-05-13 18:51:45 +08:00
Zexi Li
ec692eacf4 Merge pull request #11054 from ioito/automated-cherry-pick-of-#11053-upstream-release-3.7
Automated cherry pick of #11053: fix(region): optimized sku sched clear
2021-05-13 18:49:27 +08:00
Zexi Li
b49ff6f7ed Merge pull request #11096 from rainzm/automated-cherry-pick-of-#11095-upstream-release-3.7
Automated cherry pick of #11095: fix(region): use the previous method for guest notification instead of message subscription
2021-05-13 18:48:39 +08:00
rainzm
b3c8cf6cd7 fix(region): use the previous method for guest notification instead of message subscription 2021-05-13 17:42:25 +08:00
zhaoxiangchun
c501123b6e feat(monitor): add storage monitor metric
1.增加块存储storage监控信息:
  1)增加对应翻译信息
  2)监控信息和modules.Strorages接口进行交集取值
  3)返回信息处理
2021-05-13 15:27:54 +08:00
Zexi Li
04113d35f2 Merge pull request #11051 from rainzm/automated-cherry-pick-of-#11050-upstream-release-3.7
Automated cherry pick of #11050: fix(ansibleserver): correct playbook path and role path
2021-05-13 11:55:46 +08:00
Qu Xuan
16cfab47e6 fix(region): optimized sku sched clear 2021-05-13 11:06:54 +08:00
Qu Xuan
c2fbd90bc6 fix(region): aliyun vpc endpoint 2021-05-12 16:27:08 +08:00
rainzm
25db02f5d7 fix(ansibleserver): correct playbook path 2021-05-12 16:22:07 +08:00
Zexi Li
bc581509f4 Merge pull request #11049 from zexi/automated-cherry-pick-of-#11048-upstream-release-3.7
Automated cherry pick of #11048: fix(glance): set fail status when upload image to s3
2021-05-12 15:16:01 +08:00
Zexi Li
0c4c46b2fa fix(glance): set fail status when upload image to s3 2021-05-12 15:02:12 +08:00
Zexi Li
e5d4ad273b Merge pull request #11047 from zexi/automated-cherry-pick-of-#11045-upstream-release-3.7
Automated cherry pick of #11045: fix(baremetal): register baremetal name invalid
2021-05-12 14:52:57 +08:00
Zexi Li
a8312c5e2c fix(baremetal): register baremetal name invalid 2021-05-12 13:07:38 +08:00
Zexi Li
1f7081ed07 Merge pull request #11044 from rainzm/automated-cherry-pick-of-#11043-upstream-release-3.7
Automated cherry pick of #11043: maintain compatibility with previous webhooks
2021-05-12 12:19:46 +08:00
Zexi Li
f5ad6a75ff Merge pull request #11031 from rainzm/automated-cherry-pick-of-#11030-upstream-release-3.7
Automated cherry pick of #11030: fix(region): add RequestRemoteUpdate for ESXiGuestDriver
2021-05-12 12:01:58 +08:00
rainzm
780a024e74 fix(region): maintain compatibility with webhook notify 2021-05-12 10:41:03 +08:00
rainzm
15abea72a2 fix(cloudcommon): disable EventNotify for now
The front end is not yet open, temporarily disable it to avoid meaningless logic and requests
2021-05-12 10:41:03 +08:00
Zexi Li
1c8170e71f Merge pull request #11037 from ioito/automated-cherry-pick-of-#11036-upstream-release-3.7
Automated cherry pick of #11036: fix(region): aliyun nas endpoint
2021-05-12 10:24:11 +08:00
Zexi Li
86096c55ca Merge pull request #11042 from swordqiu/automated-cherry-pick-of-#11041-upstream-release-3.7
Automated cherry pick of #11041: fix: resolve conflict of climc docker build
2021-05-12 09:34:45 +08:00
Qiu Jian
7db688a9ce fix: resolve conflict of climc docker build 2021-05-12 09:20:43 +08:00
Zexi Li
4e6433303b Merge pull request #11040 from zexi/automated-cherry-pick-of-#11039-upstream-release-3.7
Automated cherry pick of #11039: fix(climc): mv climc rpm package .bashrc to /etc/profile.d/climc.sh
2021-05-11 18:18:06 +08:00
Zexi Li
01d2612abb fix(climc): mv climc rpm package .bashrc to /etc/profile.d/climc.sh 2021-05-11 18:16:35 +08:00
Qu Xuan
b7b030fc2e fix(region): aliyun nas endpoint 2021-05-11 15:40:37 +08:00
rainzm
72bc3b8645 fix(region): add RequestRemoteUpdate for ESXiGuestDriver 2021-05-11 11:41:18 +08:00
Zexi Li
2f4bd11e34 Merge pull request #11021 from ioito/automated-cherry-pick-of-#11010-upstream-release-3.7
Automated cherry pick of #11010: fix(region): support project mapping
2021-05-11 10:10:30 +08:00
Yousong Zhou
5da591971c Merge pull request #11024 from yousong/automated-cherry-pick-of-#11023-upstream-release-3.7
Automated cherry pick of #11023: Bugfix/yousong cloudproxy
2021-05-11 09:53:04 +08:00
yunion-ci-robot
4fc53ac5af Merge pull request #11028 from rainzm/automated-cherry-pick-of-#11027-upstream-release-3.7
Automated cherry pick of #11027: fix for install agent for vm
2021-05-11 09:52:55 +08:00
rainzm
b5d4b30ddf fix(devtool): set 'task_id' and 'task_notify_url' in header 2021-05-10 19:58:20 +08:00
rainzm
7a1ba77d93 fix(devtool): get 'lastseen' not 'last_seen' of forward 2021-05-10 19:58:20 +08:00
rainzm
8d7a991d62 feat(cloudproxy): add GetDetailsLastseen for forwards 2021-05-10 19:58:20 +08:00
Yousong Zhou
50f0ca5290 guests: sshable: fix breaking out from wait loop 2021-05-10 17:12:10 +08:00
Yousong Zhou
cb35bc3067 cloudproxy: agent: no collision between ports of ssh conn and forwards 2021-05-10 17:12:10 +08:00
Yousong Zhou
96bcefd50b cloudproxy: agent: refresh every 11 seconds 2021-05-10 17:12:10 +08:00
Yousong Zhou
0a31365190 cloudproxy: agent: ssh: wait ssh conn state while passing it out 2021-05-10 17:12:10 +08:00
Qu Xuan
0b4e459e0a fix(region): support project mapping 2021-05-10 16:15:34 +08:00
Zexi Li
c1cf476f6f Merge pull request #11012 from rainzm/automated-cherry-pick-of-#11011-upstream-release-3.7
Automated cherry pick of #11011: fix(cloudproxy): correct fetch projectId from server for PE
2021-05-10 12:08:00 +08:00
Zexi Li
7430f82f8e Merge pull request #10997 from rainzm/automated-cherry-pick-of-#10996-upstream-release-3.7
Automated cherry pick of #10996: fix(region): continue to sync the snapshots that are being created when syncing auto created snapshot
2021-05-10 12:05:44 +08:00
Zexi Li
4bf6f20710 Merge pull request #11017 from swordqiu/automated-cherry-pick-of-#11016-upstream-release-3.7
Automated cherry pick of #11016: fix: init cloud shell by apigateway
2021-05-10 12:02:45 +08:00
Zexi Li
a7d96eb382 Merge pull request #11014 from swordqiu/automated-cherry-pick-of-#11013-upstream-release-3.7
Automated cherry pick of #11013: fix: missing yunionconf log
2021-05-10 12:00:09 +08:00
Qiu Jian
d80d9f13b7 fix: init cloud shell by apigateway 2021-05-09 01:34:30 +08:00
rainzm
4ba3a26701 fix(cloudproxy): correct fetch projectId from server for PE 2021-05-08 22:26:08 +08:00
Qiu Jian
eda02abc94 fix: missing yunionconf log 2021-05-08 21:53:12 +08:00
Zexi Li
bbdbc7c209 Merge pull request #11007 from zhaoxiangchun/automated-cherry-pick-of-#11005-upstream-release-3.7
Automated cherry pick of #11005: fix(monitor): alertpanel update don't chcek  uniq name
2021-05-08 20:39:03 +08:00
Zexi Li
1c8a566f0f Merge pull request #11009 from yousong/automated-cherry-pick-of-#11008-upstream-release-3.7
Automated cherry pick of #11008: cloudproxy: test proxy endpoint connectivity and remote config
2021-05-08 20:38:40 +08:00
Yousong Zhou
50395f7f7b cloudproxy: test proxy endpoint connectivity and remote config 2021-05-08 19:31:05 +08:00
zhaoxiangchun
8bc086e8df fix(monitor): alertpanel update don't chcek uniq name 2021-05-08 17:50:43 +08:00
Zexi Li
0364e9a0d5 Merge pull request #11001 from ioito/automated-cherry-pick-of-#11000-upstream-release-3.7
Automated cherry pick of #11000: fix(region): wire sql fix
2021-05-08 16:10:15 +08:00
Qu Xuan
8b1b5c0f55 fix(region): wire sql fix 2021-05-08 15:49:16 +08:00
rainzm
eb049034c2 fix(region): continue to sync the snapshots that are being created when syncing auto created snapshot 2021-05-08 11:09:30 +08:00
Zexi Li
9edb75cb55 Merge pull request #10984 from zhaoxiangchun/automated-cherry-pick-of-#10983-upstream-release-3.7
Automated cherry pick of #10983: fix(monitor): monitor query : cloudaccount no data fix
2021-05-08 10:37:33 +08:00
Zexi Li
abb7197039 Merge pull request #10980 from rainzm/automated-cherry-pick-of-#10979-upstream-release-3.7
Automated cherry pick of #10979: fix for creating proxy endpoint
2021-05-08 10:36:57 +08:00
Zexi Li
d354f9c26f Merge pull request #10986 from ioito/automated-cherry-pick-of-#10985-upstream-release-3.7
Automated cherry pick of #10985: fix: add tag for databricks vm
2021-05-08 10:36:13 +08:00
Zexi Li
bf3fb8e4c6 Merge pull request #10989 from ioito/automated-cherry-pick-of-#10988-upstream-release-3.7
Automated cherry pick of #10988: fix: avoid return no data result
2021-05-08 10:35:31 +08:00
Zexi Li
ff3749c018 Merge pull request #10991 from rainzm/automated-cherry-pick-of-#10990-upstream-release-3.7
Automated cherry pick of #10990: fix for install monitor agent
2021-05-08 10:34:45 +08:00
yunion-ci-robot
7b5293e1d8 Merge pull request #10994 from yousong/automated-cherry-pick-of-#10993-upstream-release-3.7
Automated cherry pick of #10993: Bugfix/yousong cloudproxy wait on error
2021-05-08 10:29:40 +08:00
Qu Xuan
082d5a9d61 fix: add tag for databricks vm 2021-05-08 09:28:22 +08:00
Yousong Zhou
bfe665bbf6 guests: sshable: wait and retry for newly created forward 2021-05-07 19:43:15 +08:00
Yousong Zhou
b242af75f4 guests: sshable: log error should unmarshal fail 2021-05-07 19:43:15 +08:00
Yousong Zhou
20f04d2fc5 cloudproxy: agent: more verbose log for ssh connect failure 2021-05-07 19:43:15 +08:00
Yousong Zhou
2cfdb0a08a cloudproxy: agent: wait a while on connect error 2021-05-07 19:43:15 +08:00
Yousong Zhou
92a4bebb2e cloudproxy: forwards: show details for fwd returned from create-from-server 2021-05-07 19:43:15 +08:00
Yousong Zhou
2e82399204 db: add GetItemDetails 2021-05-07 19:43:15 +08:00
rainzm
f89f43d167 fix: update version of file-repo 2021-05-07 18:35:22 +08:00
rainzm
93af6514d3 fix(devtool): wait for the remote forward to run normally 2021-05-07 18:35:22 +08:00
rainzm
73db546f58 fix(devtool): extend the waiting time when checking remote forward 2021-05-07 18:35:22 +08:00
rainzm
93e1f48cbd fix(devtool): add scope=system query when list proxy endpoints 2021-05-07 18:35:22 +08:00
rainzm
93dad50d72 fix(devtool): correct output error 2021-05-07 18:35:22 +08:00
Qu Xuan
8ba639bb4e fix: avoid return no data result 2021-05-07 17:35:58 +08:00
Zexi Li
20327d53b3 Merge pull request #10982 from zexi/automated-cherry-pick-of-#10981-upstream-release-3.7
Automated cherry pick of #10981: feat(region): host list order by server count
2021-05-07 10:34:32 +08:00
zhaoxiangchun
4f7ad853df fix(monitor): monitor query : cloudaccount no data fix
1.修复云账号余额监控查询无数据返回
2021-05-07 09:42:16 +08:00
Zexi Li
0cd7fdd8bb feat(region): host list order by server count 2021-05-06 20:54:06 +08:00
rainzm
835a311275 fix(region): allow domain admin to obtain ssh private keys 2021-05-06 16:52:51 +08:00
rainzm
de7ef8baaf fix(cloudproxy): keep the proxy endpoint project and server consistent 2021-05-06 16:52:51 +08:00
Zexi Li
02d922b5a8 Merge pull request #10976 from zhasm/automated-cherry-pick-of-#10975-upstream-release-3.7
Automated cherry pick of #10975: feat(arm64,build): arm 编译时,不编译 rbdcli
2021-05-06 15:13:01 +08:00
Zhang Dongliang
31363d8d03 feat(arm64,build): arm 编译时,不编译 rbdcli 2021-05-06 11:46:41 +08:00
Zexi Li
970edbb8e7 Merge pull request #10973 from rainzm/automated-cherry-pick-of-#10972-upstream-release-3.7
Automated cherry pick of #10972: fix(notify): correctly filter those recipients who join the domain
2021-04-30 09:59:09 +08:00
rainzm
60f2dfed8a fix(notify): correctly filter those recipients who join the domain 2021-04-29 20:14:19 +08:00
Zexi Li
ba7e086b19 Merge pull request #10965 from tb365/automated-cherry-pick-of-#10964-upstream-release-3.7
Automated cherry pick of #10964: Bugfix/tb bugfix 042801
2021-04-29 09:46:48 +08:00
Zexi Li
f3cbf83fe1 Merge pull request #10968 from ioito/automated-cherry-pick-of-#10967-upstream-release-3.7
Automated cherry pick of #10967: fix(keystone): avoid panic when call logclient
2021-04-29 09:46:23 +08:00
Qu Xuan
7e35db1040 fix(keystone): avoid panic when call logclient 2021-04-28 19:36:35 +08:00
TangBin
22cc784a48 feat(region): add zone disk capability api 2021-04-28 18:17:33 +08:00
TangBin
71ee5d8519 feat(region): cloudregion add disk capability api 2021-04-28 18:17:33 +08:00
Zexi Li
6c5a8f6c41 Merge pull request #10957 from ioito/automated-cherry-pick-of-#10956-upstream-release-3.7
Automated cherry pick of #10956: fix: avoid host worker is locked when image cache is deleted
2021-04-28 09:56:12 +08:00
yunion-ci-robot
423ab9f60d Merge pull request #10960 from swordqiu/automated-cherry-pick-of-#10940-upstream-release-3.7
Automated cherry pick of #10940: Hotfix/qj import user require password
2021-04-28 09:55:28 +08:00
Qiu Jian
a17c84613f fix: require password for imported user 2021-04-28 01:13:50 +08:00
Qu Xuan
251afc7d63 fix: avoid host worker is locked when image cache is deleted 2021-04-27 20:38:04 +08:00
Zexi Li
492fbe2341 Merge pull request #10933 from rainzm/automated-cherry-pick-of-#10932-upstream-release-3.7
Automated cherry pick of #10932: Correctly execute the ansible playbook with the specified private key
2021-04-27 20:12:52 +08:00
Zexi Li
99366d42af Merge pull request #10955 from zhaoxiangchun/automated-cherry-pick-of-#10954-upstream-release-3.7
Automated cherry pick of #10954: fix(monitor): alertdashboard setscope
2021-04-27 20:12:15 +08:00
Zexi Li
a447c2a696 Merge pull request #10953 from ioito/automated-cherry-pick-of-#10952-upstream-release-3.7
Automated cherry pick of #10952: fix: optimized rbd storage input and update
2021-04-27 20:11:51 +08:00
Zexi Li
3ec1ed6b9b Merge pull request #10949 from rainzm/automated-cherry-pick-of-#10948-upstream-release-3.7
Automated cherry pick of #10948: Makes the process of installing the agent more rigorous
2021-04-27 20:10:58 +08:00
Zexi Li
7549ccfb0b Merge pull request #10942 from zexi/automated-cherry-pick-of-#10941-upstream-release-3.7
Automated cherry pick of #10941: fix(region): download cached image from source host before migrating
2021-04-27 20:10:05 +08:00
Zexi Li
f6472ce1ce Merge pull request #10945 from ioito/automated-cherry-pick-of-#10944-upstream-release-3.7
Automated cherry pick of #10944: fix(region): tag list key case insensitive
2021-04-27 17:21:26 +08:00
Zexi Li
708db7b956 fix(region): download cached image from source host before migrating 2021-04-27 17:13:47 +08:00
zhaoxiangchun
c78defe39a fix(monitor): alertdashboard setscope
1.监控面板归属展示问题修复
2021-04-27 17:11:58 +08:00
Qu Xuan
fae6d333c2 fix: optimized rbd storage input and update 2021-04-27 15:42:57 +08:00
rainzm
769425f58a feat(devtool): makes the process of installing the agent more rigorous
1. Use the method returned by server sshable to execute ansible playbook
2. Use direct connection and cloud proxy to find the url that the remote machine
can send data back to local influxdb
2021-04-27 12:01:35 +08:00
rainzm
630729ca84 fix(ansibleserver): be compatible with empty params 2021-04-27 12:01:35 +08:00
rainzm
fb1fb906fa feat(region): return forwardDetails when query server sshable 2021-04-27 12:01:35 +08:00
Qu Xuan
909eeeb782 fix(region): tag list key case insensitive 2021-04-27 11:55:33 +08:00
Zexi Li
72cac9aa15 Merge pull request #10938 from swordqiu/automated-cherry-pick-of-#10937-upstream-release-3.7
Automated cherry pick of #10937: fix(baremetal,esxiagent): no cloudroot user initialized
2021-04-27 10:17:19 +08:00
Zexi Li
b55f7e42d0 Merge pull request #10935 from swordqiu/automated-cherry-pick-of-#10934-upstream-release-3.7
Automated cherry pick of #10934: fix(region): add all.servers.any_pool/all.hosts.any_pool metrics
2021-04-27 10:16:26 +08:00
Qiu Jian
9ae991c153 fix(baremetal,esxiagent): no cloudroot user initialized 2021-04-27 02:00:04 +08:00
Qiu Jian
5bb3958547 fix(region): add all.servers.any_pool/all.hosts.any_pool metrics 2021-04-27 01:49:28 +08:00
Zexi Li
8a9bace797 Merge pull request #10923 from ioito/automated-cherry-pick-of-#10922-upstream-release-3.7
Automated cherry pick of #10922: fix(keystone): tag list for keystone service
2021-04-26 19:10:57 +08:00
Zexi Li
54f1bf99de Merge pull request #10927 from zhaoxiangchun/automated-cherry-pick-of-#10926-upstream-release-3.7
Automated cherry pick of #10926: fix(monitor): alertpanel create fix; nodealert filterbyowner fix
2021-04-26 19:09:18 +08:00
Zexi Li
3732b44c6d Merge pull request #10929 from ioito/automated-cherry-pick-of-#10928-upstream-release-3.7
Automated cherry pick of #10928: fix(region): account arrears
2021-04-26 19:08:19 +08:00
rainzm
4088e47f92 fix(ansibleserver): add LF for privateKey if not 2021-04-26 18:59:44 +08:00
rainzm
7b0f45261d feat(ansibleserver): respect keepTmpdir when running ansibleplaybook v1 2021-04-26 18:59:44 +08:00
rainzm
9502cfebf4 fix(ansibleserver): don't init privateKey for ansibleplaybook if it already have one 2021-04-26 18:59:44 +08:00
Qu Xuan
f68afc4aa6 fix(region): account arrears 2021-04-26 18:02:50 +08:00
zhaoxiangchun
1c8b54f117 fix(monitor): alertpanel create fix; nodealert filterbyowner fix
1.监控图表保存时取消重名检测,允许图表重名
2.虚拟机详情页设置报警时,不同视图下设置报警权限调整

https://bug.yunion.io/zentao/bug-view-7063.html
2021-04-26 16:18:22 +08:00
Qu Xuan
962e19bbd0 fix(keystone): tag list for keystone service 2021-04-26 11:40:25 +08:00
Zexi Li
ef9a9b2935 Merge pull request #10917 from rainzm/automated-cherry-pick-of-#10903-upstream-release-3.7
Automated cherry pick of #10903: feat(region): set metadata for guest with agent installed
2021-04-26 11:39:17 +08:00
Zexi Li
8928d5464f Merge pull request #10921 from ioito/automated-cherry-pick-of-#10920-upstream-release-3.7
Automated cherry pick of #10920: fix(region): avoid set multi resources tags failed
2021-04-26 11:38:58 +08:00
Qu Xuan
f9e2122544 fix(region): avoid set multi resources tags failed 2021-04-25 18:06:19 +08:00
yunion-ci-robot
62aa6867c6 Merge pull request #10912 from tb365/automated-cherry-pick-of-#10911-upstream-release-3.7
Automated cherry pick of #10911: fix ssh proxy endpoint&match query
2021-04-25 17:23:53 +08:00
yunion-ci-robot
46780051b7 Merge pull request #10914 from yousong/automated-cherry-pick-of-#10913-upstream-release-3.7
Automated cherry pick of #10913: hostman: ovn: do not set external_ids:iface-id for backup
2021-04-25 12:03:54 +08:00
rainzm
4ea9204664 feat(region): set metadata for guest with agent installed 2021-04-25 10:59:39 +08:00
Yousong Zhou
4e19feccc7 hostman: ovn: do not set external_ids:iface-id for backup 2021-04-23 20:26:59 +08:00
TangBin
e965d1d9e0 fix(cloudproxy): ssh proxy endpoint&match query 2021-04-23 19:39:07 +08:00
Zexi Li
4a00426705 Merge pull request #10907 from rainzm/automated-cherry-pick-of-#10906-upstream-release-3.7
Automated cherry pick of #10906: fix(region): use special localtask to run time-consuming provider synchronization task
2021-04-23 17:39:16 +08:00
rainzm
702133be51 fix(region): use special localtask to run time-consuming provider synchronization task
CloudProviderSyncInfoTask will local cloudprovider. Make locaktask run
time-consuming task can avoid holding locks for a long time.
2021-04-23 17:02:20 +08:00
yunion-ci-robot
8a89c8ca67 Merge pull request #10902 from yousong/automated-cherry-pick-of-#10901-upstream-release-3.7
Automated cherry pick of #10901: cloudproxy: proxy_endpoints: create-from-server: allow name as arg
2021-04-23 09:48:51 +08:00
Zexi Li
dfacbdd1d2 Merge pull request #10894 from rainzm/automated-cherry-pick-of-#10893-upstream-release-3.7
Automated cherry pick of #10893: fix(region): allow owner to operate snapshotpolicy cache
2021-04-22 21:09:36 +08:00
Zexi Li
5456cd3386 Merge pull request #10898 from rainzm/automated-cherry-pick-of-#10897-upstream-release-3.7
Automated cherry pick of #10897: fix(region): make SScheduledTaskLabel implement IJointModelManager
2021-04-22 21:08:25 +08:00
Yousong Zhou
f8b4d799ae cloudproxy: proxy_endpoints: create-from-server: allow specify name 2021-04-22 20:42:57 +08:00
Zexi Li
ec1d40097d Merge pull request #10892 from zhaoxiangchun/automated-cherry-pick-of-#10891-upstream-release-3.7
Automated cherry pick of #10891: feat(suggestion,mcclient): add suggestsysalert-delete climc
2021-04-22 20:25:30 +08:00
rainzm
8c07b3cb60 fix(region): make SScheduledTaskLabel implement IJointModelManager 2021-04-22 18:17:32 +08:00
rainzm
f642bc959c fix(region): allow owner to operate snapshotpolicy cache 2021-04-22 17:38:28 +08:00
zhaoxiangchun
eeb77e4c3a feat(suggestion,mcclient): add suggestsysalert-delete climc 2021-04-22 17:00:14 +08:00
Zexi Li
b1d5758575 Merge pull request #10886 from rainzm/automated-cherry-pick-of-#10885-upstream-release-3.7
Automated cherry pick of #10885: fix(region): admin update without verification
2021-04-22 16:55:36 +08:00
Zexi Li
7f05532204 Merge pull request #10889 from ioito/automated-cherry-pick-of-#10888-upstream-release-3.7
Automated cherry pick of #10888: fix(region): avoid panic when sync resources
2021-04-22 16:52:42 +08:00
Zexi Li
6c9b7a5793 Merge pull request #10883 from ioito/automated-cherry-pick-of-#10882-upstream-release-3.7
Automated cherry pick of #10882: fix(common): add debug info for lock
2021-04-22 16:51:33 +08:00
Qu Xuan
f3a514a41a fix(region): avoid panic when sync resources 2021-04-22 16:29:16 +08:00
Qu Xuan
5d88767c9b fix(common): add debug info for lock 2021-04-22 16:10:06 +08:00
rainzm
7e054ee0fe fix(region): admin update without verification 2021-04-22 11:45:59 +08:00
Zexi Li
883ad9c76a Merge pull request #10868 from ioito/automated-cherry-pick-of-#10867-upstream-release-3.7
Automated cherry pick of #10867: fix(region): avoid network create failed when vpc is ok but wire not sync
2021-04-22 10:24:21 +08:00
Zexi Li
d692f2908f Merge pull request #10879 from ioito/automated-cherry-pick-of-#10878-upstream-release-3.7
Automated cherry pick of #10878: fix(region): add egress_mbps params for lb
2021-04-22 10:23:33 +08:00
Zexi Li
e43855be74 Merge pull request #10877 from zexi/automated-cherry-pick-of-#10876-upstream-release-3.7
Automated cherry pick of #10876: fix(glance): image can't removed when size is 0
2021-04-21 22:41:00 +08:00
Qu Xuan
52f3b69384 fix(region): add egress_mbps params for lb 2021-04-21 21:45:14 +08:00
Zexi Li
61f06ee3ca fix(glance): image can't removed when size is 0 2021-04-21 20:59:08 +08:00
Zexi Li
0a72fc6fe4 Merge pull request #10864 from rainzm/automated-cherry-pick-of-#10863-upstream-release-3.7
Automated cherry pick of #10863: fix(region): make cloudprovider sync worker configurable
2021-04-21 15:30:19 +08:00
Qu Xuan
857cc0d2b9 fix(region): avoid network create failed when vpc is ok but wire not sync 2021-04-21 14:51:30 +08:00
rainzm
afbc3cc8db fix(region): make cloudprovider sync worker configurable
这个参数意味着,同时允许多少个 provider 来把自己同步的 region 任务放进后
面的队列。
进一步说,配置数量之外的 provider 必须等待前面的 provider 同步完所有的 region
之后,才有机会开始同步自己的region。
此限制的必要性不高,所以默认值设置比较大,为"10"。
2021-04-21 12:23:27 +08:00
yunion-ci-robot
99994d929f Merge pull request #10824 from ioito/automated-cherry-pick-of-#10709-upstream-release-3.7
Automated cherry pick of #10709: Hotfix/qx secrule sync fix
2021-04-21 11:29:51 +08:00
Zexi Li
11e1701f23 Merge pull request #10835 from zexi/automated-cherry-pick-of-#10833-upstream-release-3.7
Automated cherry pick of #10833: fix(region): fetch cached image from glance by default
2021-04-21 11:19:15 +08:00
yunion-ci-robot
2341ed161b Merge pull request #10850 from yousong/automated-cherry-pick-of-#10849-upstream-release-3.7
Automated cherry pick of #10849: Feature/yousong zombie
2021-04-21 10:12:56 +08:00
Zexi Li
c97c363710 Merge pull request #10856 from swordqiu/automated-cherry-pick-of-#10855-upstream-release-3.7
Automated cherry pick of #10855: fix(baremetal): baremetal ipmi probe reset link up state
2021-04-21 10:12:49 +08:00
Zexi Li
fde4dc46be Merge pull request #10852 from rainzm/automated-cherry-pick-of-#10851-upstream-release-3.7
Automated cherry pick of #10851: fix(region): avoid using LocalTaskWorker in time-consuming synchronization of cloudaccount
2021-04-21 10:09:42 +08:00
Yousong Zhou
a8857a34ab treewide: wait possible zombies 2021-04-20 22:08:15 +08:00
Yousong Zhou
9da0b2e7db procutils: WaitZombieLoop: remove unneeded info request 2021-04-20 22:08:14 +08:00
Yousong Zhou
6acc3e8cca procutils: WaitZombieLoop: less verbose iota 2021-04-20 22:08:14 +08:00
Yousong Zhou
970aa949a7 procutils: WaitZombieLoop: use const str "1" for my pid 2021-04-20 22:08:14 +08:00
Yousong Zhou
26183d0de8 procutils: add WaitZombieLoop 2021-04-20 22:08:14 +08:00
Qiu Jian
c1868f1dde fix(baremetal): baremetal ipmi probe reset link up state 2021-04-20 21:37:29 +08:00
Zexi Li
819b60bffa Merge pull request #10846 from ioito/automated-cherry-pick-of-#10845-upstream-release-3.7
Automated cherry pick of #10845: fix(region): optimized vm account name code
2021-04-20 20:15:18 +08:00
rainzm
c41d974d0c fix(region): avoid using LocalTaskworker in time-consuming synchronization of cloudaccount 2021-04-20 19:58:16 +08:00
Zexi Li
80194f0369 Merge pull request #10840 from ioito/automated-cherry-pick-of-#10839-upstream-release-3.7
Automated cherry pick of #10839: fix(region): avoid panic when sync aliyun networks
2021-04-20 18:51:14 +08:00
Zexi Li
b4e90b7afa Merge pull request #10843 from rainzm/automated-cherry-pick-of-#10838-upstream-release-3.7
Automated cherry pick of #10838: feat(ansibleserver): update file_reop version in dockerfile
2021-04-20 18:50:22 +08:00
Zexi Li
f44779464b Merge pull request #10830 from ioito/automated-cherry-pick-of-#10829-upstream-release-3.7
Automated cherry pick of #10829: fix(region): vm list order by disk size
2021-04-20 18:49:28 +08:00
Zexi Li
7cd86c277f Merge pull request #10818 from rainzm/automated-cherry-pick-of-#10817-upstream-release-3.7
Automated cherry pick of #10817: fix(esxi): prevent fake template and real template from duplication
2021-04-20 18:45:49 +08:00
Qu Xuan
fe92804219 fix(region): optimized vm account name code 2021-04-20 18:36:03 +08:00
rainzm
bf839f9add feat(ansibleserver): update file_reop version in dockerfile 2021-04-20 18:01:02 +08:00
Qu Xuan
8a52933a87 fix(region): avoid panic when sync aliyun networks 2021-04-20 17:55:10 +08:00
Zexi Li
13800c5d91 fix(region): fetch cached image from glance by default 2021-04-20 17:52:33 +08:00
Zexi Li
a519886bfe Merge pull request #10826 from ioito/automated-cherry-pick-of-#10825-upstream-release-3.7
Automated cherry pick of #10825: fix(region): avoid assign vm ip addr not effect
2021-04-20 17:16:27 +08:00
Zexi Li
f3dd07cddd Merge pull request #10823 from rainzm/automated-cherry-pick-of-#10822-upstream-release-3.7
Automated cherry pick of #10822: feat(multicloud): add snapshots list for ecloud
2021-04-20 17:15:00 +08:00
Qu Xuan
f0fe752501 fix(region): vm list order by disk size 2021-04-20 16:52:54 +08:00
Qu Xuan
8a84c690ca fix(region): avoid assign vm ip addr not effect 2021-04-20 16:30:20 +08:00
Qu Xuan
c28f3f68aa fix(region): optimized peer secgroup 2021-04-20 15:23:41 +08:00
rainzm
e3be359237 feat(multicloud): add snapshots list for ecloud 2021-04-20 11:56:59 +08:00
Zexi Li
8154628011 Merge pull request #10816 from rainzm/automated-cherry-pick-of-#10794-upstream-release-3.7
Automated cherry pick of #10794: Devtool script optimization and fix
2021-04-20 10:45:20 +08:00
rainzm
63fd7e5891 fix(esxi): prevent fake template and real template from duplication 2021-04-20 10:29:11 +08:00
rainzm
74874d35dc feat(region): increase the log for debugging when syncing cloudimage 2021-04-20 10:29:11 +08:00
rainzm
377f9d00e5 fix(devtool): fix a bug that may trigger panic 2021-04-20 10:12:29 +08:00
rainzm
0078bde428 feat(devtool): add ScriptApplyId fro ScriptApplyRecord 2021-04-20 10:12:29 +08:00
Zexi Li
b076d2506f Merge pull request #10812 from ioito/automated-cherry-pick-of-#10811-upstream-release-3.7
Automated cherry pick of #10811: fix(region): wait more time for creating nas
2021-04-19 21:08:10 +08:00
Zexi Li
7230411565 Merge pull request #10805 from ioito/automated-cherry-pick-of-#10804-upstream-release-3.7
Automated cherry pick of #10804: fix: owner id fix
2021-04-19 21:07:52 +08:00
Zexi Li
413db0ec47 Merge pull request #10813 from zexi/automated-cherry-pick-of-#10810-upstream-release-3.7
Automated cherry pick of #10810: fix(multicloud): set isEmulated as false for ecloud vpc
2021-04-19 21:07:28 +08:00
rainzm
e96c43b21e fix(multicloud): set isEmulated as false for ecloud vpc 2021-04-19 21:07:00 +08:00
Zexi Li
63e0df1cb8 Merge pull request #10797 from ioito/automated-cherry-pick-of-#10796-upstream-release-3.7
Automated cherry pick of #10796: fix: add region id params
2021-04-19 21:05:07 +08:00
Qu Xuan
f514514eab fix(region): wait more time for creating nas 2021-04-19 19:59:44 +08:00
Zexi Li
bf749fe9d2 Merge pull request #10807 from ioito/automated-cherry-pick-of-#10806-upstream-release-3.7
Automated cherry pick of #10806: fix: ignore aliyun region not supported error
2021-04-19 18:50:38 +08:00
Zexi Li
c8aff6b022 Merge pull request #10809 from ioito/automated-cherry-pick-of-#10808-upstream-release-3.7
Automated cherry pick of #10808: fix(region): convert eip with same project with vm
2021-04-19 18:49:56 +08:00
Qu Xuan
1761b0fd6c fix(region): nas owner id fix 2021-04-19 18:00:58 +08:00
Qu Xuan
c79495dbfe fix(region): convert eip with same project with vm 2021-04-19 17:54:24 +08:00
Qu Xuan
ec2e51a721 fix(region): ignore aliyun region not supported error 2021-04-19 16:24:53 +08:00
Zexi Li
7c12d40453 Merge pull request #10782 from tb365/automated-cherry-pick-of-#10776-upstream-release-3.7
Automated cherry pick of #10776: fix(region): qcloud redis sync fix
2021-04-19 16:18:31 +08:00
tangbin
f93e9f1cdb fix(region): qcloud redis sync fix 2021-04-19 15:13:17 +08:00
Zexi Li
202e2e2989 Merge pull request #10778 from ioito/automated-cherry-pick-of-#10777-upstream-release-3.7
Automated cherry pick of #10777: fix: add options for pre allow ip add
2021-04-19 14:55:17 +08:00
Qu Xuan
cfba238f8c fix: add region id params 2021-04-19 14:20:17 +08:00
Zexi Li
f94149f761 Merge pull request #10791 from ioito/automated-cherry-pick-of-#10790-upstream-release-3.7
Automated cherry pick of #10790: fix: avoid panic
2021-04-19 13:16:02 +08:00
Zexi Li
25e710adc5 Merge pull request #10787 from yousong/automated-cherry-pick-of-#10786-upstream-release-3.7
Automated cherry pick of #10786: cloudproxy: agent: return when ctx is Done
2021-04-19 13:15:26 +08:00
Zexi Li
f476e2e101 Merge pull request #10795 from ioito/automated-cherry-pick-of-#10793-upstream-release-3.7
Automated cherry pick of #10793: avoid log loss when token expired fix #10738
2021-04-19 11:26:24 +08:00
Qu Xuan
84820637f5 avoid log loss when token expired fix #10738 2021-04-19 11:16:15 +08:00
Qu Xuan
7012a8cfba fix: avoid panic 2021-04-19 10:41:39 +08:00
Yousong Zhou
3407b98a8d cloudproxy: agent: return when ctx is Done 2021-04-19 10:38:33 +08:00
Zexi Li
fe148ec4a2 Merge pull request #10785 from yousong/automated-cherry-pick-of-#10784-upstream-release-3.7
Automated cherry pick of #10784: cloudproxy: agent: avoid stallment caused by client timeout
2021-04-17 21:14:25 +08:00
Yousong Zhou
2bda95c62b cloudproxy: agent: avoid stallment caused by client timeout 2021-04-16 19:44:04 +08:00
Qu Xuan
b8530c26d2 fix: add options for pre allow ip add 2021-04-16 17:09:51 +08:00
Zexi Li
2252316ba2 Merge pull request #10775 from yousong/automated-cherry-pick-of-#10774-upstream-release-3.7
Automated cherry pick of #10774: region: guests: sshable: more compact make-sshable-cmd
2021-04-16 16:53:47 +08:00
Yousong Zhou
c63e05d926 region: guests: sshable: more compact make-sshable-cmd 2021-04-16 16:32:39 +08:00
Zexi Li
c3552e1f04 Merge pull request #10728 from zhaoxiangchun/automated-cherry-pick-of-#10727-upstream-release-3.7
Automated cherry pick of #10727: feat(region): add ecloud monitor metric
2021-04-16 16:01:38 +08:00
Zexi Li
9d2352bf6d Merge pull request #10772 from ioito/automated-cherry-pick-of-#10771-upstream-release-3.7
Automated cherry pick of #10771: fix: add rbdcli commond for debug
2021-04-16 15:59:41 +08:00
Qu Xuan
83c108d48d fix: add rbdcli commond for debug 2021-04-16 15:28:24 +08:00
yunion-ci-robot
439bc78247 Merge pull request #10732 from yousong/automated-cherry-pick-of-#10713-upstream-release-3.7
Automated cherry pick of #10713: Feature/yousong make sshable
2021-04-16 13:16:48 +08:00
Zexi Li
cf858bed1e Merge pull request #10766 from yousong/automated-cherry-pick-of-#10765-upstream-release-3.7
Automated cherry pick of #10765: ansibleserver: wait zombie subprocesses
2021-04-16 13:15:29 +08:00
Zexi Li
1df7d49581 Merge pull request #10751 from yousong/automated-cherry-pick-of-#10750-upstream-release-3.7
Automated cherry pick of #10750: vpcagent: ovn: fix port match condition formation
2021-04-16 10:07:06 +08:00
Zexi Li
540c23d9a0 Merge pull request #10762 from rainzm/automated-cherry-pick-of-#10761-upstream-release-3.7
Automated cherry pick of #10761: fix(region): Remind that cloud account synchronization failed due to network synchronization failure
2021-04-16 10:06:32 +08:00
Zexi Li
bd0768e1b9 Merge pull request #10758 from rainzm/automated-cherry-pick-of-#10757-upstream-release-3.7
Automated cherry pick of #10757: Validate creating cloud account data about ecloud
2021-04-16 10:06:21 +08:00
Zexi Li
82e18f86df Merge pull request #10764 from rainzm/automated-cherry-pick-of-#10763-upstream-release-3.7
Automated cherry pick of #10763: fix(region): purge instancesnapshot when purging guest
2021-04-16 10:02:42 +08:00
Yousong Zhou
7f80003d24 ansibleserver: wait zombie subprocesses 2021-04-16 09:55:39 +08:00
rainzm
7b80435451 fix(region): purge instancesnapshot when purging guest
fix #10760
2021-04-15 19:01:21 +08:00
rainzm
d105e0556f fix(region): Remind that cloud account synchronization failed due to network synchronization failure 2021-04-15 18:33:40 +08:00
zhaoxiangchun
1883e72597 feat(region): add ecloud monitor metric 2021-04-15 18:11:41 +08:00
Yousong Zhou
51cd8bd2f6 climc: add commands server-make-sshable, server-make-sshable-cmd 2021-04-15 17:51:16 +08:00
Yousong Zhou
554e03fde8 region: guests: sshable: add GET /servers/<server-id>/make-sshable-cmd 2021-04-15 17:51:16 +08:00
Yousong Zhou
d4451640ae region: guests: sshable: add POST /servers/<server-id>/make-sshable 2021-04-15 17:51:16 +08:00
Yousong Zhou
db0e28434f region: guests: sshable: add field sshable_last_state 2021-04-15 17:51:16 +08:00
Yousong Zhou
4ab5c2c29a region: guests: sshable: refactor for reusability 2021-04-15 17:51:16 +08:00
Yousong Zhou
dfc1680176 regions: lbagents: move pb update/create as mcclient module method 2021-04-15 17:51:16 +08:00
Yousong Zhou
ea0523e02f build: ansibleserver: use ansibleserver-base:v1.0.3 2021-04-15 17:51:16 +08:00
Yousong Zhou
88311dacaa build: ansibleserver-base: v1.0.3: add sshpass
Required for using ansible with ansible_password
2021-04-15 17:51:16 +08:00
rainzm
507523a52f fix(region): remove useless Environment 2021-04-15 17:15:07 +08:00
rainzm
6bc4baa9bf fix(region): try to connect when new a SEcloudClient 2021-04-15 17:15:07 +08:00
Yousong Zhou
840273c189 vpcagent: ovn: fix port match condition formation 2021-04-15 16:08:34 +08:00
Zexi Li
1e05d5e997 Merge pull request #10747 from ioito/automated-cherry-pick-of-#10746-upstream-release-3.7
Automated cherry pick of #10746: fix wire status close #10737
2021-04-15 15:05:55 +08:00
Qu Xuan
3e16bf9d04 fix wire status close #10737 2021-04-15 14:46:49 +08:00
Zexi Li
1d7f40cad0 Merge pull request #10724 from ioito/automated-cherry-pick-of-#10723-upstream-release-3.7
Automated cherry pick of #10723: fix: aliyun lb charge type
2021-04-15 12:42:03 +08:00
Zexi Li
9918cb8a54 Merge pull request #10730 from rainzm/automated-cherry-pick-of-#10729-upstream-release-3.7
Automated cherry pick of #10729: fix(esxi): correctly set the imagePath outside the if block
2021-04-15 12:41:09 +08:00
Zexi Li
49896c7eec Merge pull request #10735 from zexi/automated-cherry-pick-of-#10734-upstream-release-3.7
Automated cherry pick of #10734: fix(cloudcommon): unify OS_ARCH constants
2021-04-15 12:21:43 +08:00
Zexi Li
e1816106aa fix(cloudcommon): unify OS_ARCH constants 2021-04-15 10:53:05 +08:00
rainzm
de8fd509d9 fix(esxi): correctly set the imagePath outside the if block 2021-04-14 19:03:48 +08:00
Qu Xuan
7730e87fc5 fix: aliyun lb charge type 2021-04-14 18:05:22 +08:00
yunion-ci-robot
15b08bf340 Merge pull request #10722 from zexi/automated-cherry-pick-of-#10718-upstream-release-3.7
Automated cherry pick of #10718: fix(baremetal): use command timeout context replace timeout command
2021-04-14 17:45:47 +08:00
Zexi Li
ce89455fff Merge pull request #10717 from ioito/automated-cherry-pick-of-#10716-upstream-release-3.7
Automated cherry pick of #10716: fix: nas misc
2021-04-14 17:28:58 +08:00
Zexi Li
85cbe33480 Merge pull request #10715 from ioito/automated-cherry-pick-of-#10714-upstream-release-3.7
Automated cherry pick of #10714: fix: openstack health should be normal
2021-04-14 17:23:57 +08:00
Zexi Li
6d5cd8ca89 fix(baremetal): use command timeout context replace timeout command 2021-04-14 17:16:23 +08:00
Qu Xuan
a874c2a758 fix: nas misc 2021-04-14 17:07:26 +08:00
Zexi Li
ceced723f9 Merge pull request #10711 from zexi/automated-cherry-pick-of-#10710-upstream-release-3.7
Automated cherry pick of #10710: fix(region): decouple region and etcd service
2021-04-14 16:58:48 +08:00
Qu Xuan
1e7cf0af4f fix: openstack health should be normal 2021-04-14 14:23:24 +08:00
Zexi Li
febd9b7f6f fix(region): decouple region and etcd service 2021-04-13 18:35:43 +08:00
Zexi Li
db6c137725 Merge pull request #10706 from rainzm/automated-cherry-pick-of-#10705-upstream-release-3.7
Automated cherry pick of #10705: fix(cloudcommon): use rbac authentication dedicated to the list interface in GetModelProperty
2021-04-13 16:56:08 +08:00
Zexi Li
8cc2b6b7b1 Merge pull request #10703 from zexi/automated-cherry-pick-of-#10702-upstream-release-3.7
Automated cherry pick of #10702: fix(host-deployer): mkfs.ext4 add '-T largefile' option
2021-04-13 15:44:25 +08:00
rainzm
c8d1ac215a fix(cloudcommon): use rbac authentication dedicated to the list interface in GetModelProperty 2021-04-13 14:45:46 +08:00
Zexi Li
ecaa035949 fix(host-deployer): mkfs.ext4 add '-T largefile' option 2021-04-13 11:49:48 +08:00
Zexi Li
d058b06dce Merge pull request #10670 from yousong/automated-cherry-pick-of-#10669-upstream-release-3.7
Automated cherry pick of #10669: region: guests: sshable: more friendly fail reason for proxy_forward
2021-04-13 11:44:42 +08:00
Zexi Li
92ebcc01dc Merge pull request #10696 from rainzm/automated-cherry-pick-of-#10695-upstream-release-3.7
Automated cherry pick of #10695: feat(region): allow to update account with provider vmware
2021-04-13 10:25:46 +08:00
Zexi Li
8b40fad185 Merge pull request #10701 from zexi/automated-cherry-pick-of-#10699-upstream-release-3.7
Automated cherry pick of #10699: feat(fetcherfs): make rpm and deb package
2021-04-13 10:25:12 +08:00
Zexi Li
d518257c3a feat(fetcherfs): make rpm and deb package 2021-04-12 21:31:27 +08:00
Yousong Zhou
042a572818 region: guests: sshable: only check sshable state when in running state 2021-04-12 17:35:03 +08:00
Yousong Zhou
188cac1fdb region: guests: sshable: return early on sshable=true 2021-04-12 17:35:03 +08:00
Yousong Zhou
59e224518a region: guests: sshable: more friendly fail reason for proxy_forward 2021-04-12 17:35:03 +08:00
rainzm
12d1aa805d feat(region): allow to update account with provider vmware 2021-04-12 15:56:42 +08:00
Zexi Li
fc62085cf9 Merge pull request #10672 from zhaoxiangchun/automated-cherry-pick-of-#10671-upstream-release-3.7
Automated cherry pick of #10671: fix(monitor): alertPanel add dumplicate name check
2021-04-12 13:17:54 +08:00
Zexi Li
15253f69fb Merge pull request #10689 from ioito/automated-cherry-pick-of-#10688-upstream-release-3.7
Automated cherry pick of #10688: fix: actions domain filter by project doamin id
2021-04-12 13:17:06 +08:00
Zexi Li
65865c9c07 Merge pull request #10693 from zexi/automated-cherry-pick-of-#10692-upstream-release-3.7
Automated cherry pick of #10692: fix(readme): rename OneCloud to YunionCloud
2021-04-12 13:15:55 +08:00
Zexi Li
3a66bfbe91 Merge pull request #10684 from swordqiu/automated-cherry-pick-of-#10683-upstream-release-3.7
Automated cherry pick of #10683: fix(baremetal-agent): baremetal will probe status in status unknown
2021-04-12 13:15:22 +08:00
Zexi Li
4c4c015626 fix(readme): rename OneCloud to YunionCloud 2021-04-12 13:14:30 +08:00
Qu Xuan
287d5a5554 fix: actions domain filter by project doamin id 2021-04-12 11:41:54 +08:00
Qiu Jian
32311f989f fix(baremetal-agent): baremetal will probe status in status unknown 2021-04-12 00:23:12 +08:00
Zexi Li
dccd9d8c26 Merge pull request #10682 from ioito/automated-cherry-pick-of-#10681-upstream-release-3.7
Automated cherry pick of #10681: fix: nas for huawei
2021-04-10 12:07:08 +08:00
Qu Xuan
19b617b1e4 fix: nas for huawei 2021-04-09 19:44:14 +08:00
Zexi Li
8c749f23d5 Merge pull request #10541 from rainzm/automated-cherry-pick-of-#10537-upstream-release-3.7
Automated cherry pick of #10537: Ecloud support
2021-04-09 17:55:37 +08:00
Zexi Li
d794650d40 Merge pull request #10679 from zexi/automated-cherry-pick-of-#10678-upstream-release-3.7
Automated cherry pick of #10678: fix(host): detect ovs version
2021-04-09 17:19:42 +08:00
Zexi Li
9e88d5bc0c Merge pull request #10668 from rainzm/automated-cherry-pick-of-#10667-upstream-release-3.7
Automated cherry pick of #10667: feat(notify): exempt the administrator to update the receiver verification
2021-04-09 17:03:20 +08:00
Zexi Li
d6d28cf01a fix(host): detect ovs version 2021-04-09 17:01:10 +08:00
Zexi Li
84d99ae8e6 Merge pull request #10677 from ioito/automated-cherry-pick-of-#10666-upstream-release-3.7
Automated cherry pick of #10666: feat: add nas sync
2021-04-09 11:19:38 +08:00
Qu Xuan
0343daa1fa feat: add nas sync 2021-04-09 10:44:40 +08:00
Zexi Li
8e8a2313ca Merge pull request #10676 from ioito/automated-cherry-pick-of-#10675-upstream-release-3.7
Automated cherry pick of #10675: fix: add trans info
2021-04-09 10:39:47 +08:00
Zexi Li
b66c2c78a6 Merge pull request #10674 from ioito/automated-cherry-pick-of-#10673-upstream-release-3.7
Automated cherry pick of #10673: fix: optimized aliyun error
2021-04-09 10:39:11 +08:00
zhaoxiangchun
9901f56b73 fix(monitor): set alertdashboard scope 2021-04-09 10:35:37 +08:00
zhaoxiangchun
383709d8e6 fix(monitor): alertPanel add dumplicate name check
1.重名自动+1
2021-04-09 10:35:37 +08:00
Qu Xuan
bc991fda78 fix: add trans info 2021-04-08 21:19:18 +08:00
Qu Xuan
3e984f1158 fix: optimized aliyun error 2021-04-08 20:54:39 +08:00
Zexi Li
3a5a7401a6 Merge pull request #10594 from zhaoxiangchun/automated-cherry-pick-of-#10592-upstream-release-3.7
Automated cherry pick of #10592: fix(host): update host metric tags when server or host  changeowner
2021-04-08 18:13:21 +08:00
rainzm
66b6a2f62c feat(notify): exempt the administrator to update the receiver verification 2021-04-08 17:21:53 +08:00
zhaoxiangchun
4661533639 fix(host): update host metric tags when server or host changeowner 2021-04-08 17:19:21 +08:00
rainzm
34cbe2d55b feat(region): support Ecloud (readonly) 2021-04-08 11:38:45 +08:00
rainzm
6a9f2a416f feat(region): disable synchronization of some special storage 2021-04-08 11:38:45 +08:00
Zexi Li
f84d8ca58a Merge pull request #10665 from ioito/automated-cherry-pick-of-#10664-upstream-release-3.7
Automated cherry pick of #10664: fix: qcloud eip bandwidth
2021-04-08 11:27:55 +08:00
Qu Xuan
c12125d864 fix: qcloud eip bandwidth 2021-04-08 11:12:46 +08:00
Zexi Li
b5823e6431 Merge pull request #10663 from rainzm/automated-cherry-pick-of-#10662-upstream-release-3.7
Automated cherry pick of #10662: fix(region): remove code about getting service url
2021-04-08 10:53:59 +08:00
rainzm
24be43090b fix(region): remove code about getting service url 2021-04-08 10:46:54 +08:00
Zexi Li
52213bf234 Merge pull request #10620 from swordqiu/automated-cherry-pick-of-#10619-upstream-release-3.7
Automated cherry pick of #10619: fix(region): remove i18n lock and logs
2021-04-08 10:34:15 +08:00
Zexi Li
82de3c04da Merge pull request #10587 from ioito/automated-cherry-pick-of-#10586-upstream-release-3.7
Automated cherry pick of #10586: fix: secgroup cache policy
2021-04-08 10:33:12 +08:00
Zexi Li
0766696681 Merge pull request #10659 from swordqiu/automated-cherry-pick-of-#10658-upstream-release-3.7
Automated cherry pick of #10658: fix(region): sync baremetal desc before do ipmi probing
2021-04-08 10:14:25 +08:00
Qu Xuan
f60e956414 fix: secgroup cache policy 2021-04-08 09:46:34 +08:00
Qiu Jian
39de7daaeb fix(region): sync baremetal desc before do ipmi probing 2021-04-08 01:29:32 +08:00
Zexi Li
18e7847b77 Merge pull request #10657 from ioito/automated-cherry-pick-of-#10656-upstream-release-3.7
Automated cherry pick of #10656: fix: validate secgroup references
2021-04-07 21:47:56 +08:00
Zexi Li
745164b4ec Merge pull request #10655 from rainzm/automated-cherry-pick-of-#10654-upstream-release-3.7
Automated cherry pick of #10654: fix(notify): exempt the administrator to create the receiver verification
2021-04-07 21:47:26 +08:00
Zexi Li
5fc53aef9c Merge pull request #10498 from yousong/automated-cherry-pick-of-#10497-upstream-release-3.7
Automated cherry pick of #10497: [rfc] Feature/yousong vpc route
2021-04-07 21:32:53 +08:00
Zexi Li
da55cc03c5 Merge pull request #10350 from rainzm/automated-cherry-pick-of-#9824-upstream-release-3.7
Automated cherry pick of #9824: Install monitor agent for VM
2021-04-07 21:22:11 +08:00
Qu Xuan
3e88e3093d fix: validate secgroup references 2021-04-07 21:01:18 +08:00
rainzm
3805119c4a fix(notify): exempt the administrator to create the receiver verification 2021-04-07 19:19:36 +08:00
rainzm
a1f508929f feat(devtool): check sshable before applying ansible playbook for server 2021-04-07 18:50:29 +08:00
rainzm
abd7771c78 feat(devtool): add script
Script in devtool is a program or configuration that can be applied to the target host,
currently only supports ansible playbook
2021-04-07 18:50:29 +08:00
rainzm
e671a218e9 feat(cloudcommon): set TaskNotifyUrl in GetTaskRequestHeader
To support cross-service task callbacks, you must set TaskNotifyUrl,
which is automatically added to TaskRequestHeader here
2021-04-07 18:50:29 +08:00
rainzm
c95f064d10 feat(ansibleserver): add reference and instance
Reference is a reference to a local or remote playbook without certain inventory
and its location is determined by playbookPath.
Instance is a complete playbook that can be executed directly, it is filled with inventory and config.
Instance ensures that the playbook is executed successfully as far as
possible without exceeding the maximum number of attempts
2021-04-07 18:50:29 +08:00
rainzm
c043af3ae2 feat(docker): inject playbook and telegraf installation packages 2021-04-07 18:50:29 +08:00
Zexi Li
96f1f35427 Merge pull request #10651 from rainzm/automated-cherry-pick-of-#10650-upstream-release-3.7
Automated cherry pick of #10650: feat(notify): filter receivers who join the project under the domain where the requester is currently located
2021-04-07 18:08:30 +08:00
Zexi Li
734e39d816 Merge pull request #10653 from rainzm/automated-cherry-pick-of-#10652-upstream-release-3.7
Automated cherry pick of #10652: fix(region): rigorously merge the network under wire
2021-04-07 18:07:47 +08:00
Zexi Li
ac83770ce8 Merge pull request #10645 from swordqiu/automated-cherry-pick-of-#10644-upstream-release-3.7
Automated cherry pick of #10644: fix(region): allow ipmi probe in status unknown
2021-04-07 17:55:52 +08:00
Zexi Li
30d3d69eea Merge pull request #10648 from rainzm/automated-cherry-pick-of-#10647-upstream-release-3.7
Automated cherry pick of #10647: fix(region): avoid refreshing when checking the image
2021-04-07 17:37:29 +08:00
rainzm
4ea6067307 fix(region): rigorously merge the network under wire
网络a和网络b能不能合并 = 网络a能不能合并到网络b || 网络b能不能合并到网络a
2021-04-07 16:58:59 +08:00
rainzm
c1ef5f28f2 feat(notify): filter receivers who join the project under the domain where the requester is currently located 2021-04-07 16:17:56 +08:00
yunion-ci-robot
9ccf73d668 Merge pull request #10643 from tb365/automated-cherry-pick-of-#10637-upstream-release-3.7
Automated cherry pick of #10637: fix(region): guest associate eip checking fix
2021-04-07 16:14:47 +08:00
rainzm
c24cb90920 fix(region): avoid refreshing when checking the image 2021-04-07 10:54:34 +08:00
Qiu Jian
79452d771a fix(region): allow ipmi probe in status unknown 2021-04-07 01:00:30 +08:00
tangbin
2f075de8cb fix(region): guest sync eip fix 2021-04-06 18:41:41 +08:00
tangbin
e728f62fdf fix(region): guest associate eip checking fix 2021-04-06 18:41:41 +08:00
Zexi Li
b1a7527e10 Merge pull request #10600 from yousong/automated-cherry-pick-of-#10599-upstream-release-3.7
Automated cherry pick of #10599: Feature/yousong sshable
2021-04-06 18:41:25 +08:00
Zexi Li
c00cd7016d Merge pull request #10630 from rainzm/automated-cherry-pick-of-#10629-upstream-release-3.7
Automated cherry pick of #10629: feat(region): virtually display the esxiagent of the cached image as a host
2021-04-06 18:39:44 +08:00
Zexi Li
f1c980f703 Merge pull request #10639 from rainzm/automated-cherry-pick-of-#10638-upstream-release-3.7
Automated cherry pick of #10638: feat(notify): 管理后台新建的联系人,手机号和邮箱无需进行校验
2021-04-06 18:26:07 +08:00
rainzm
956850ae3d feat(notify): 管理后台新建的联系人,手机号和邮箱无需进行校验 2021-04-06 17:21:25 +08:00
Zexi Li
99cf9d8eea Merge pull request #10632 from yousong/automated-cherry-pick-of-#10631-upstream-release-3.7
Automated cherry pick of #10631: apigateway: handler: add cloudproxy
2021-04-06 17:09:32 +08:00
Zexi Li
0f3754efab Merge pull request #10634 from ioito/automated-cherry-pick-of-#10633-upstream-release-3.7
Automated cherry pick of #10633: fix: private cloud sku attached disk count
2021-04-06 17:08:37 +08:00
Qu Xuan
295d4b993b fix: private cloud sku attached disk count 2021-04-06 15:02:51 +08:00
Yousong Zhou
f9cfee0554 climc: compute: add command server-sshable 2021-04-06 13:02:34 +08:00
Yousong Zhou
05545a0e45 region: guests: add GET /servers/<guest-id>/sshable 2021-04-06 13:02:34 +08:00
Yousong Zhou
ed061d0821 cloudproxy: agent: ssh: cancel on return from Start 2021-04-06 13:02:34 +08:00
Yousong Zhou
8701114f78 cloudproxy: add metadata model 2021-04-06 13:02:34 +08:00
Yousong Zhou
ba7fe6f544 cloudproxy: agent: fix possible invalid memory access 2021-04-06 13:02:33 +08:00
Yousong Zhou
4b01916e64 cloudproxy: agent: use yunion.io/x/onecloud/pkg/util/ssh 2021-04-06 13:02:33 +08:00
Yousong Zhou
148481f03e cloudproxy: forwards: more list filter conditional keys 2021-04-06 13:02:33 +08:00
Yousong Zhou
6ec27d22b5 cloudproxy: apis: add ForwardDetails definition 2021-04-06 13:02:33 +08:00
Yousong Zhou
e4662b77f1 util: ssh: add ConnectContext method for ClientConfig 2021-04-06 13:02:33 +08:00
Yousong Zhou
39c1695821 apigateway: handler: add cloudproxy 2021-04-06 11:55:58 +08:00
rainzm
791f942196 feat(region): virtually display the esxiagent of the cached image as a host 2021-04-06 11:33:57 +08:00
Zexi Li
f9357d30c1 Merge pull request #10623 from swordqiu/automated-cherry-pick-of-#10622-upstream-release-3.7
Automated cherry pick of #10622: fix(keystone): role_assignment effective list ignore groups without user
2021-04-06 10:18:22 +08:00
Zexi Li
0b4bba3ee3 Merge pull request #10628 from swordqiu/automated-cherry-pick-of-#10627-upstream-release-3.7
Automated cherry pick of #10627: feature: add a standalone dhcp relay service
2021-04-06 10:16:35 +08:00
Qiu Jian
baabc82903 feature: add a standalone dhcp relay service 2021-04-06 08:50:59 +08:00
Qiu Jian
128f895c5c fix(keystone): role_assignment effective list ignore groups without user 2021-04-05 17:21:21 +08:00
Qiu Jian
2749d2c708 fix(region): remove i18n lock and logs 2021-04-05 16:39:45 +08:00
Zexi Li
4b4349fe7d Merge pull request #10613 from swordqiu/automated-cherry-pick-of-#10612-upstream-release-3.7
Automated cherry pick of #10612: fix(region): add usage cache, speedup response
2021-04-05 00:55:18 +08:00
yunion-ci-robot
2e2f995d98 Merge pull request #10617 from ioito/automated-cherry-pick-of-#10616-upstream-release-3.7
Automated cherry pick of #10616: fix(region): new aws region
2021-04-04 20:15:44 +08:00
yunion-ci-robot
e86c71b4c2 Merge pull request #10609 from ioito/automated-cherry-pick-of-#10608-upstream-release-3.7
Automated cherry pick of #10608: fix: time sync duration
2021-04-04 20:12:46 +08:00
Qiu Jian
c2d3355ba6 response scope-specific metrics 2021-04-04 20:08:13 +08:00
Qiu Jian
3248f57253 fix(region): add usage cache, speedup response 2021-04-04 20:08:13 +08:00
Qu Xuan
bc1c1c20b6 fix: new aws region 2021-04-03 12:31:14 +08:00
Qu Xuan
67df9bb417 fix: time sync duration 2021-04-02 20:54:31 +08:00
Zexi Li
24bdba49fa Merge pull request #10602 from rainzm/automated-cherry-pick-of-#10601-upstream-release-3.7
Automated cherry pick of #10601: Fix the problem of hostwire producted by #9723
2021-04-02 20:04:43 +08:00
Zexi Li
5843a4a2e2 Merge pull request #10604 from zexi/automated-cherry-pick-of-#10603-upstream-release-3.7
Automated cherry pick of #10603: fix(baremetal): sas2iru parse line
2021-04-02 20:03:56 +08:00
Zexi Li
6f66566f41 Merge pull request #10579 from swordqiu/automated-cherry-pick-of-#10576-upstream-release-3.7
Automated cherry pick of #10576: fix(region): allow ipmi probe when probe fail
2021-04-02 19:44:37 +08:00
Zexi Li
5afefffadb Merge pull request #10582 from swordqiu/automated-cherry-pick-of-#10581-upstream-release-3.7
Automated cherry pick of #10581: fix(hostman): recycle local disk file when rebuilding root
2021-04-02 19:42:47 +08:00
Zexi Li
d4ca3e9ff6 Merge pull request #10591 from ioito/automated-cherry-pick-of-#10590-upstream-release-3.7
Automated cherry pick of #10590: fix: secgroup cache reference
2021-04-02 19:41:23 +08:00
Zexi Li
a881a955b5 Merge pull request #10596 from rainzm/automated-cherry-pick-of-#10595-upstream-release-3.7
Automated cherry pick of #10595: Fixes problem of Esxi Disk with iso creating
2021-04-02 19:40:13 +08:00
Zexi Li
20c041ec02 fix(baremetal): sas2iru parse line 2021-04-02 19:28:25 +08:00
rainzm
841ec1f251 fix(region): expand the bridge field
由于 esxi 中,bridge 是 dvs 的一个路径,长度为 16 字段会不够用
2021-04-02 19:23:22 +08:00
rainzm
052442ef66 fix(region): de-duplication when obtaining the number of hosts 2021-04-02 19:23:22 +08:00
rainzm
18bececcf2 fix(esxi): determine whether the disk is a root disk more reasonably
The order of the device is often sorted according to the size of the
key. The disk pointed to by the smallest key is not necessarily the
root disk or the first disk which often has the label of 'Hard disk 1'.
We try to find the label, if not, use the Key again to determine who
is the root disk.
2021-04-02 19:21:35 +08:00
rainzm
6cb91fdea0 feat(esxi): change parameters for NewDiskDev and avoid unnecessary deploy
1. The fields UnitNumber and Index should be independent
2. Avoid unnecessary deploy, such create vm with iso not image
2021-04-02 19:21:35 +08:00
rainzm
f8a822c5f3 fix(esxi): add ListPath for storage and use it to check iso
When remote iso file is used, CheckFile will failed.
2021-04-02 19:21:35 +08:00
Qu Xuan
2d57443765 fix: secgroup cache reference 2021-04-02 16:20:31 +08:00
Zexi Li
45538dc807 Merge pull request #10588 from swordqiu/automated-cherry-pick-of-#7047-upstream-release-3.7
Automated cherry pick of #7047: fix: adjust primary key length when sqlchemy utf8 default to utf8mb4
2021-04-02 15:10:47 +08:00
Qiu Jian
0c57a713e5 fix: adjust primary key length when sqlchemy utf8 default to utf8mb4 2021-04-02 15:06:19 +08:00
Qiu Jian
20c4dad4e1 fix(hostman): recycle local disk file when rebuilding root 2021-04-02 02:16:44 +08:00
yunion-ci-robot
6f5cdaa1e4 Merge pull request #10569 from ioito/automated-cherry-pick-of-#10568-upstream-release-3.7
Automated cherry pick of #10568: fix: avoid listener worker leak
2021-04-01 22:43:39 +08:00
Qiu Jian
14bd5ea08a fix(region): allow ipmi probe when probe fail 2021-04-01 22:38:30 +08:00
yunion-ci-robot
92d5ed4b7d Merge pull request #10575 from ioito/automated-cherry-pick-of-#10482-upstream-release-3.7
Automated cherry pick of #10482: fix: before insert
2021-04-01 22:27:42 +08:00
Qu Xuan
0c72b07c3a fix: before insert 2021-04-01 21:25:58 +08:00
Zexi Li
0e8cadc1e0 Merge pull request #10547 from zexi/automated-cherry-pick-of-#10546-upstream-release-3.7
Automated cherry pick of #10546: fix(host): arm vm virtio-net-pci without addr
2021-04-01 20:52:50 +08:00
Zexi Li
b4b7afa6b5 Merge pull request #10550 from swordqiu/automated-cherry-pick-of-#10549-upstream-release-3.7
Automated cherry pick of #10549: fix(image): update min_disk of iso image
2021-04-01 20:51:51 +08:00
Zexi Li
a26fd9ec3a Merge pull request #10553 from zhaoxiangchun/automated-cherry-pick-of-#10552-upstream-release-3.7
Automated cherry pick of #10552: fix(monitor):修复监控总览图标钻取后返回数据异常的问题
2021-04-01 20:51:03 +08:00
Zexi Li
e860d82907 Merge pull request #10556 from ioito/automated-cherry-pick-of-#10555-upstream-release-3.7
Automated cherry pick of #10555: fix: nat sku domain policy
2021-04-01 20:50:38 +08:00
Zexi Li
93eaa19c35 Merge pull request #10558 from ioito/automated-cherry-pick-of-#10557-upstream-release-3.7
Automated cherry pick of #10557: fix: cloudaccount auto sync
2021-04-01 20:49:56 +08:00
Zexi Li
32eb6d06b3 Merge pull request #10562 from ioito/automated-cherry-pick-of-#10561-upstream-release-3.7
Automated cherry pick of #10561: fix: vendor update
2021-04-01 20:48:47 +08:00
Zexi Li
b6c2f94232 Merge pull request #10566 from rainzm/automated-cherry-pick-of-#10565-upstream-release-3.7
Automated cherry pick of #10565: fix(esxi): be compatible with disconnected host
2021-04-01 20:47:53 +08:00
Zexi Li
a2d9bc7784 Merge pull request #10574 from ioito/automated-cherry-pick-of-#10573-upstream-release-3.7
Automated cherry pick of #10573: fix: avoid update protocol with any faild
2021-04-01 20:44:45 +08:00
Qu Xuan
71b0a4faeb fix: avoid update protocol with any faild 2021-04-01 17:36:45 +08:00
Qu Xuan
7b79a8e49a fix: avoid listener worker leak 2021-04-01 17:26:48 +08:00
rainzm
d9040773fd fix(esxi): be compatible with disconnected host 2021-04-01 17:18:07 +08:00
Qu Xuan
8e65757b90 fix: vendor update 2021-04-01 16:54:11 +08:00
Qu Xuan
15efe1933c fix: cloudaccount auto sync 2021-04-01 16:17:05 +08:00
Qu Xuan
263db9b8c2 fix: nat sku domain policy 2021-04-01 10:32:24 +08:00
zhaoxiangchun
36bdc18a8a fix(monitor):修复监控总览图标钻取后返回数据异常的问题 2021-04-01 10:05:15 +08:00
Qiu Jian
c23b169e1b fix(image): update min_disk of iso image 2021-03-31 23:21:23 +08:00
Zexi Li
45b6072f21 fix(host): arm vm virtio-net-pci without addr 2021-03-31 18:53:22 +08:00
Yousong Zhou
aaa3f23b98 Merge pull request #10544 from zhaoxiangchun/automated-cherry-pick-of-#10543-upstream-release-3.7
Automated cherry pick of #10543: fix(host): modification of netio collection field  of local virtual machine
2021-03-31 15:17:18 +08:00
yunion-ci-robot
19392394d2 Merge pull request #10539 from swordqiu/automated-cherry-pick-of-#10538-upstream-release-3.7
Automated cherry pick of #10538: fix(region): add more usage metrics, e.g. ports.eip, servers.last_week, pending_delete_servers.last_week
2021-03-31 15:12:42 +08:00
zhaoxiangchun
83a8364116 fix(host): modification of netio collection field of local virtual machine
1.本地虚拟机指标保存时field存在转换关系
bits_recv
bits_sent
2021-03-31 10:33:18 +08:00
Qiu Jian
762664fd0e fix(region): add more usage metrics, e.g. ports.eip, servers.last_week, pending_delete_servers.last_week 2021-03-31 03:38:51 +08:00
Zexi Li
9f4880b3d1 Merge pull request #10526 from ioito/automated-cherry-pick-of-#10525-upstream-release-3.7
Automated cherry pick of #10525: fix: peer secgroup rule fix
2021-03-30 19:47:50 +08:00
Zexi Li
62e5194522 Merge pull request #10530 from ioito/automated-cherry-pick-of-#10529-upstream-release-3.7
Automated cherry pick of #10529: fix: instance with eip charge type
2021-03-30 19:46:27 +08:00
Zexi Li
26a36febe2 Merge pull request #10528 from ioito/automated-cherry-pick-of-#10527-upstream-release-3.7
Automated cherry pick of #10527: fix: vpc public with nat
2021-03-30 19:45:31 +08:00
Zexi Li
6fe31c82ee Merge pull request #10536 from zhaoxiangchun/automated-cherry-pick-of-#10534-upstream-release-3.7
Automated cherry pick of #10534: fix(monitor): alertQuery fix
2021-03-30 19:44:20 +08:00
zhaoxiangchun
1b045d59c0 fix(monitor): alertQuery fix
1.兼容meter相关的监控数据查询
2.根据groupby
  确定resType,从而确定云管中对应的资源,然后进行属性填充,解决资源属性修改的问题
2021-03-30 18:24:15 +08:00
Zexi Li
6fb26dccd7 Merge pull request #10532 from swordqiu/automated-cherry-pick-of-#10531-upstream-release-3.7
Automated cherry pick of #10531: fix(region): show storage capacity to project users
2021-03-30 15:53:54 +08:00
Qiu Jian
a44eb70df1 fix(region): show storage capacity to project users 2021-03-30 12:28:41 +08:00
Qu Xuan
4f00223dfa fix: instance with eip charge type 2021-03-30 11:47:19 +08:00
Qu Xuan
aea94c0667 fix: vpc public with nat 2021-03-29 17:48:16 +08:00
Qu Xuan
14be7b8a04 fix: peer secgroup rule fix 2021-03-29 17:28:48 +08:00
Zexi Li
e04c481d33 Merge pull request #10517 from zhaoxiangchun/automated-cherry-pick-of-#10516-upstream-release-3.7
Automated cherry pick of #10516: fix(monitor): filter alertquery result according to onecloud resources
2021-03-29 17:15:54 +08:00
Zexi Li
fffe278371 Merge pull request #10515 from zhaoxiangchun/automated-cherry-pick-of-#10514-upstream-release-3.7
Automated cherry pick of #10514: fix(monitor): registry alertPanel in mcclient
2021-03-29 12:14:46 +08:00
Zexi Li
c79ad8ba35 Merge pull request #10522 from ioito/automated-cherry-pick-of-#10521-upstream-release-3.7
Automated cherry pick of #10521: fix: account auto sync time
2021-03-29 12:13:44 +08:00
Qu Xuan
0a81e8a54d fix: account auto sync time 2021-03-29 11:22:28 +08:00
Zexi Li
8eb81fdda9 Merge pull request #10520 from swordqiu/automated-cherry-pick-of-#10519-upstream-release-3.7
Automated cherry pick of #10519: fix(region): aws sts assume role fail break account initialization
2021-03-29 09:51:54 +08:00
Qiu Jian
51dfb8f733 fix(region): aws sts assume role fail break account initialization 2021-03-29 06:32:46 +08:00
zhaoxiangchun
4ad8729f7a fix(monitor): filter alertquery result according to onecloud resources
1.排除已经删除的资源
2.对已经删除的资源不再持续报警
2021-03-28 18:56:47 +08:00
zhaoxiangchun
23e44d83d3 fix(monitor): registry alertPanel in mcclient 2021-03-27 22:00:52 +08:00
yunion-ci-robot
7858f3e2f3 Merge pull request #10511 from ioito/automated-cherry-pick-of-#10510-upstream-release-3.7
Automated cherry pick of #10510: fix: sku zone
2021-03-26 17:31:38 +08:00
Qu Xuan
038faf7912 fix: sku zone 2021-03-26 16:45:24 +08:00
Zexi Li
871801da5f Merge pull request #10500 from yousong/automated-cherry-pick-of-#10499-upstream-release-3.7
Automated cherry pick of #10499: vpcagent: ovn: fix qos for eip upload
2021-03-26 15:18:08 +08:00
Zexi Li
62c8052b1f Merge pull request #10506 from swordqiu/automated-cherry-pick-of-#10505-upstream-release-3.7
Automated cherry pick of #10505: fix(baremetal): megactl driver fail to find device by key
2021-03-26 15:16:45 +08:00
Yousong Zhou
eee6e59b88 vpcagent: ovn: fix qos for eip upload 2021-03-26 10:27:54 +08:00
Qiu Jian
6945b6250f fix(baremetal): megactl driver fail to find device by key 2021-03-26 03:20:03 +08:00
Yousong Zhou
0a929ed335 vpcagent: ovn: add ClaimRoutes 2021-03-24 20:18:04 +08:00
Yousong Zhou
2ec4a1cec7 vpcagent: ovn: resolveRoutes from API models 2021-03-24 20:18:04 +08:00
Yousong Zhou
3c3cd4c59e vpcagent: models: annotate guest with guestnetworks 2021-03-24 20:18:04 +08:00
Yousong Zhou
f7c4e38e18 vpcagent: models: add route tables 2021-03-24 20:18:04 +08:00
Yousong Zhou
97433ccfab region: apis: route: add nexthop type "IP" 2021-03-24 20:18:04 +08:00
Zexi Li
0a844d088d Merge pull request #10495 from zhaoxiangchun/automated-cherry-pick-of-#10494-upstream-release-3.7
Automated cherry pick of #10494: fix(monitor): modify onecloud replacement code
2021-03-24 19:35:40 +08:00
Zexi Li
7efba1f0c5 Merge pull request #10493 from ioito/automated-cherry-pick-of-#10490-upstream-release-3.7
Automated cherry pick of #10490: fix: nat delete and create fix
2021-03-24 19:35:33 +08:00
Zexi Li
9a58806105 Merge pull request #10486 from tb365/automated-cherry-pick-of-#10483-upstream-release-3.7
Automated cherry pick of #10483: (fix) region: qcloud elb https listener create fix
2021-03-24 18:51:50 +08:00
zhaoxiangchun
fdafdeb8a5 fix(monitor): modify onecloud replacement code
1.增加copyright api查询逻辑
2021-03-24 18:09:21 +08:00
Qu Xuan
740937ff61 fix: nat delete and create fix 2021-03-24 14:09:26 +08:00
Zexi Li
f2613cfdfd Merge pull request #10488 from ioito/automated-cherry-pick-of-#10487-upstream-release-3.7
Automated cherry pick of #10487: fix: remove qcloud region and zone prefix
2021-03-24 12:22:23 +08:00
Zexi Li
9db0eb5a59 Merge pull request #10491 from zexi/fix/build-telegraf-raid-plugin
fix(build): build telegraf-raid-plugin
2021-03-24 12:21:33 +08:00
Zexi Li
183e9cfa5f fix(build): build telegraf-raid-plugin 2021-03-24 12:18:29 +08:00
Qu Xuan
82ac671238 fix: remove qcloud region and zone prefix 2021-03-23 17:43:54 +08:00
tangbin
07eea2f703 (fix) region: qcloud elb https listener create fix 2021-03-23 15:49:01 +08:00
Zexi Li
5a8aea333a Merge pull request #10475 from yousong/automated-cherry-pick-of-#10474-upstream-release-3.7
Automated cherry pick of #10474: Bugfix/yousong guestnic
2021-03-23 10:39:39 +08:00
Zexi Li
0bf0b0fa05 Merge pull request #10481 from zexi/automated-cherry-pick-of-#10479-upstream-release-3.7
Automated cherry pick of #10479: fix(host): ignore parted resize disk unknown partition table error
2021-03-23 10:38:36 +08:00
Zexi Li
fc1abe2ebf fix(host): ignore parted resize disk unknown partition table error 2021-03-23 10:00:44 +08:00
Yousong Zhou
1b07ee7987 region: fix setting nic index
When a guest has two nics, changing ip address of the 1st will cause
the new nic after detach then attach to be "1", colliding with the
original nic of index 1
2021-03-22 19:34:01 +08:00
Yousong Zhou
90fd8c868f region: attachnetwork: allow attach by network name
isValidNetworkInfo allows names.  Otherwise the code will panic when
a named was passed and nil was returned by the fetch call
2021-03-22 19:34:01 +08:00
Zexi Li
1d19289ccb Merge pull request #10469 from swordqiu/automated-cherry-pick-of-#10468-upstream-release-3.7
Automated cherry pick of #10468: fix(log): add filters to baremetal event logs
2021-03-22 16:09:12 +08:00
Zexi Li
7f4538d3fc Merge pull request #10472 from ioito/automated-cherry-pick-of-#10451-upstream-release-3.7
Automated cherry pick of #10451: fix: add qcloud get tags and remove unused interface
2021-03-22 14:02:17 +08:00
Zexi Li
31559d29c0 Merge pull request #10473 from swordqiu/automated-cherry-pick-of-#10471-upstream-release-3.7
Automated cherry pick of #10471: fix(apigateway): use info response service type of console endpoints
2021-03-22 14:00:32 +08:00
Qiu Jian
2990e5d478 fix(apigateway): use info response service type of console endpoints 2021-03-22 13:59:27 +08:00
Qu Xuan
cc8a400000 fix: add qcloud get tags and remove unused interface 2021-03-22 12:08:43 +08:00
Qiu Jian
1e4b1f3d37 fix(log): add filters to baremetal event logs 2021-03-22 10:53:10 +08:00
Zexi Li
92f4ccbe2c Merge pull request #10463 from ioito/automated-cherry-pick-of-#10462-upstream-release-3.7
Automated cherry pick of #10462: fix: add index for image_type
2021-03-22 10:45:20 +08:00
Zexi Li
a13a38e1eb Merge pull request #10461 from rainzm/automated-cherry-pick-of-#10460-upstream-release-3.7
Automated cherry pick of #10460: fix(notify): be compatible with robots and webhooks
2021-03-22 10:44:31 +08:00
Zexi Li
b7420826cf Merge pull request #10467 from zexi/automated-cherry-pick-of-#10449-upstream-release-3.7
Automated cherry pick of #10449: fix: nat sku env
2021-03-22 10:43:22 +08:00
Qu Xuan
22756d4952 fix: nat sku env 2021-03-22 10:42:55 +08:00
Zexi Li
c3c63b1b02 Merge pull request #10453 from ioito/automated-cherry-pick-of-#10452-upstream-release-3.7
Automated cherry pick of #10452: fix: avoid panic when use idc vpc
2021-03-22 10:40:38 +08:00
Zexi Li
cd7a65a993 Merge pull request #10456 from swordqiu/automated-cherry-pick-of-#10455-upstream-release-3.7
Automated cherry pick of #10455: fix(keystone): allow joint projects across domains by default
2021-03-22 10:39:19 +08:00
Qu Xuan
1fd9bd5b2f fix: add index for image_type 2021-03-19 14:29:17 +08:00
rainzm
ad1d065ac6 fix(notify): be compatible with robots and webhooks 2021-03-19 11:11:27 +08:00
Qiu Jian
e6868d5d0f fix(keystone): allow joint projects across domains by default 2021-03-19 00:00:22 +08:00
Qu Xuan
1aeb8a9a80 fix: avoid panic when use idc vpc 2021-03-18 21:04:34 +08:00
Zexi Li
ea992cab10 Merge pull request #10447 from zexi/automated-cherry-pick-of-#10446-upstream-release-3.7
Automated cherry pick of #10446: feat(host): adjust qemu args to support aarch64
2021-03-18 15:22:44 +08:00
Zexi Li
1cd6cf50af feat(host): adjust qemu args to support aarch64 2021-03-18 14:59:43 +08:00
Zexi Li
5aaaebd028 Merge pull request #10432 from rainzm/automated-cherry-pick-of-#10431-upstream-release-3.7
Automated cherry pick of #10431: feat(region): add wire info in HostNetwork details
2021-03-18 10:24:37 +08:00
Zexi Li
27811c8de2 Merge pull request #10438 from swordqiu/automated-cherry-pick-of-#10437-upstream-release-3.7
Automated cherry pick of #10437: fix(region): scoped policy filter by project id
2021-03-18 10:23:55 +08:00
Zexi Li
c6d09a3e76 Merge pull request #10442 from swordqiu/automated-cherry-pick-of-#10441-upstream-release-3.7
Automated cherry pick of #10441: fix(region): including domain info in project-role results
2021-03-18 10:23:26 +08:00
Zexi Li
f474df27cf Merge pull request #10401 from ioito/automated-cherry-pick-of-#10162-upstream-release-3.7
Automated cherry pick of #10162: fix(region): struct input for detach server network
2021-03-18 10:18:28 +08:00
Zexi Li
60bd8f2dec Merge pull request #10400 from ioito/automated-cherry-pick-of-#10399-upstream-release-3.7
Automated cherry pick of #10399: fix: optimzed tag update and sync
2021-03-18 10:18:06 +08:00
Zexi Li
c9b3c00c4d Merge pull request #10434 from ioito/automated-cherry-pick-of-#10433-upstream-release-3.7
Automated cherry pick of #10433: fix: avoid stop or start vm failed
2021-03-18 10:17:26 +08:00
Zexi Li
607a451596 Merge pull request #10430 from ioito/automated-cherry-pick-of-#10429-upstream-release-3.7
Automated cherry pick of #10429: fix: optimized nat entry
2021-03-18 10:16:23 +08:00
Qiu Jian
3288fe9da2 fix(region): including domain info in project-role results 2021-03-18 00:33:16 +08:00
Qiu Jian
8ca6d176f0 fix(region): scoped policy filter by project id 2021-03-17 23:01:38 +08:00
Qu Xuan
e8b70d483c fix: avoid stop or start vm failed 2021-03-17 20:03:02 +08:00
rainzm
16e7346871 feat(region): add wire info in HostNetwork details 2021-03-17 15:46:46 +08:00
Zexi Li
5d35798300 Merge pull request #10426 from ioito/automated-cherry-pick-of-#10425-upstream-release-3.7
Automated cherry pick of #10425: fix: change rds config skip zone check
2021-03-17 11:43:15 +08:00
Qu Xuan
790366c938 fix: optimized nat entry 2021-03-17 11:27:40 +08:00
Zexi Li
3633e6fad2 Merge pull request #10420 from zhaoxiangchun/automated-cherry-pick-of-#10418-upstream-release-3.7
Automated cherry pick of #10418: fix(telegraf): megactl raid  add rebuild status
2021-03-15 18:46:04 +08:00
Zexi Li
ff3b43bef3 Merge pull request #10422 from ioito/automated-cherry-pick-of-#10421-upstream-release-3.7
Automated cherry pick of #10421: fix: qcloud bucket refer
2021-03-15 17:53:30 +08:00
Qu Xuan
dd55eae077 fix: change rds config skip zone check 2021-03-15 17:42:09 +08:00
Qu Xuan
7c2200c35d fix: qcloud bucket refer 2021-03-15 15:46:40 +08:00
zhaoxiangchun
85f971a21d fix(telegraf): megactl raid add rebuild status 2021-03-15 10:04:02 +08:00
yunion-ci-robot
82c01c7b85 Merge pull request #10415 from ioito/automated-cherry-pick-of-#10414-upstream-release-3.7
Automated cherry pick of #10414: fix: sync cloud tags when set tags
2021-03-14 01:26:23 +08:00
Qu Xuan
3b2c804e21 fix: sync cloud tags when set tags 2021-03-13 20:48:15 +08:00
yunion-ci-robot
42ec188c30 Merge pull request #10411 from ioito/automated-cherry-pick-of-#10410-upstream-release-3.7
Automated cherry pick of #10410: fix: skip zone check when rds change config
2021-03-13 19:23:23 +08:00
Qu Xuan
3ed28eea2b fix: skip zone check when rds change config 2021-03-13 19:00:18 +08:00
Zexi Li
0f4d76abb8 Merge pull request #10403 from swordqiu/automated-cherry-pick-of-#10402-upstream-release-3.7
Automated cherry pick of #10402: fix(region): cloud provider filter by domain_id ignore private case
2021-03-12 21:17:15 +08:00
Qiu Jian
72e805ab92 fix(region): cloud provider filter by domain_id ignore private case 2021-03-12 20:14:41 +08:00
Zexi Li
a5613c8ed5 Merge pull request #10388 from swordqiu/automated-cherry-pick-of-#10387-upstream-release-3.7
Automated cherry pick of #10387: fix(region): fail to update network gateway
2021-03-12 17:37:58 +08:00
Zexi Li
5febc91df3 Merge pull request #10392 from ioito/automated-cherry-pick-of-#10391-upstream-release-3.7
Automated cherry pick of #10391: fix: sync new project for azure resource group
2021-03-12 17:35:22 +08:00
Zexi Li
103e00683d Merge pull request #10396 from rainzm/automated-cherry-pick-of-#10395-upstream-release-3.7
Automated cherry pick of #10395: feat(esxi): update guest os info
2021-03-12 17:33:58 +08:00
Qu Xuan
da4cf61cc3 fix(region): struct input for detach server network 2021-03-11 19:41:28 +08:00
Qu Xuan
a1820bc331 fix: optimzed tag update and sync 2021-03-11 19:27:04 +08:00
rainzm
37c1ba3636 feat(esxi): update guest os info 2021-03-11 16:43:55 +08:00
Qu Xuan
2b37418858 fix: sync new project for azure resource group 2021-03-11 15:01:14 +08:00
Qiu Jian
b92d3a93f8 fix(region): fail to update network gateway 2021-03-11 14:53:59 +08:00
Zexi Li
37a72cfccf Merge pull request #10371 from ioito/automated-cherry-pick-of-#10370-upstream-release-3.7
Automated cherry pick of #10370: Hotfix/qx prepaid change config
2021-03-11 11:45:20 +08:00
Zexi Li
50d0aea7ab Merge pull request #10375 from ioito/automated-cherry-pick-of-#10374-upstream-release-3.7
Automated cherry pick of #10374: fix: aliyun public ip bandwidth
2021-03-11 11:43:43 +08:00
Zexi Li
e68698bf3f Merge pull request #10379 from ioito/automated-cherry-pick-of-#10378-upstream-release-3.7
Automated cherry pick of #10378: fix: aliyun tag list api
2021-03-11 11:42:21 +08:00
Zexi Li
be52206d23 Merge pull request #10381 from ioito/automated-cherry-pick-of-#10380-upstream-release-3.7
Automated cherry pick of #10380: fix: add bucket tooltip
2021-03-11 11:41:41 +08:00
Zexi Li
58c60516ea Merge pull request #10383 from swordqiu/automated-cherry-pick-of-#10382-upstream-release-3.7
Automated cherry pick of #10382: fix(region): cloud provider filter by domain
2021-03-11 11:39:15 +08:00
Zexi Li
31b76513cf Merge pull request #10372 from rainzm/automated-cherry-pick-of-#10365-upstream-release-3.7
Automated cherry pick of #10365: feat(region): filter schedtags from cloudaccount_id
2021-03-11 11:37:35 +08:00
yunion-ci-robot
be232f5493 Merge pull request #10377 from tb365/automated-cherry-pick-of-#10357-upstream-release-3.7
Automated cherry pick of #10357: qcloud redis support multi zones
2021-03-11 10:22:24 +08:00
Qiu Jian
bb1e1382ad fix(region): cloud provider filter by domain 2021-03-11 01:07:58 +08:00
Qu Xuan
0cb8100ad9 fix: add bucket tooltip 2021-03-10 21:06:49 +08:00
Qu Xuan
a65b2f633a fix: optimize change vm config and prepaid change config 2021-03-10 20:35:40 +08:00
Qu Xuan
8ce4f109b5 fix: support prepaid instance change config 2021-03-10 20:35:40 +08:00
Qu Xuan
b63241b2f2 fix: aliyun tag list api 2021-03-10 20:32:46 +08:00
rainzm
6ec0b38b11 feat(region): filter schedtags from cloudprovider_id 2021-03-10 19:44:50 +08:00
tangbin
8d153bcf23 fix(region) qcloud multi zone instance sync account fix 2021-03-10 19:12:32 +08:00
tangbin
678bcf75cc feat(region) qcloud redis support multi zones 2021-03-10 19:12:32 +08:00
Qu Xuan
f853cc4c08 fix: aliyun public ip bandwidth 2021-03-10 17:31:41 +08:00
Zexi Li
31a9e77e82 Merge pull request #10352 from swordqiu/automated-cherry-pick-of-#10351-upstream-release-3.7
Automated cherry pick of #10351: fix(region): network eip stats not correct
2021-03-10 16:30:49 +08:00
Zexi Li
70e73735b4 Merge pull request #10368 from zexi/automated-cherry-pick-of-#10367-upstream-release-3.7
Automated cherry pick of #10367: fix(build): DOCKER_CLI_EXPERIMENTAL=enabled
2021-03-10 16:28:58 +08:00
Zexi Li
a083cc510a fix(build): DOCKER_CLI_EXPERIMENTAL=enabled 2021-03-10 16:27:39 +08:00
Zexi Li
77556e4906 Merge pull request #10359 from ioito/automated-cherry-pick-of-#10358-upstream-release-3.7
Automated cherry pick of #10358: fix: sync nat sku when sync cloudaccount
2021-03-09 18:08:08 +08:00
Zexi Li
31722db2e4 Merge pull request #10362 from swordqiu/automated-cherry-pick-of-#10361-upstream-release-3.7
Automated cherry pick of #10361: fix(keystone): update default role associated policy name
2021-03-09 18:06:38 +08:00
Qiu Jian
94f72124fe fix(keystone): update default role associated policy name 2021-03-09 17:50:09 +08:00
Qu Xuan
7b6cac88af fix: sync nat sku when sync cloudaccount 2021-03-09 15:29:38 +08:00
Zexi Li
102661f314 Merge pull request #10356 from zexi/automated-cherry-pick-of-#10189-upstream-release-3.7
Automated cherry pick of #10189: host 编译跨平台兼容
2021-03-09 10:25:15 +08:00
Zhang Dongliang
18d8292f13 host 编译跨平台兼容 2021-03-09 10:24:17 +08:00
Qiu Jian
4f474ad8b2 fix(region): network eip stats not correct 2021-03-09 02:47:50 +08:00
yunion-ci-robot
28ba68f4ff Merge pull request #10346 from zexi/automated-cherry-pick-of-#10345-upstream-release-3.7
Automated cherry pick of #10345: feat(build): make multi arch manifest docker image
2021-03-08 20:17:05 +08:00
Zexi Li
549feb4f68 Merge pull request #10341 from yousong/automated-cherry-pick-of-#10340-upstream-release-3.7
Automated cherry pick of #10340: etcd: fix "fatal error: concurrent map writes"
2021-03-08 14:18:05 +08:00
Zexi Li
38244dfcc8 Merge pull request #10349 from ioito/automated-cherry-pick-of-#10348-upstream-release-3.7
Automated cherry pick of #10348: fix: add cancel expire action
2021-03-08 14:15:18 +08:00
Zexi Li
ee709538e7 Merge pull request #10330 from ioito/automated-cherry-pick-of-#10329-upstream-release-3.7
Automated cherry pick of #10329: fix: optimized bucket tag
2021-03-08 14:13:40 +08:00
Zexi Li
f4394a4895 Merge pull request #10335 from ioito/automated-cherry-pick-of-#10334-upstream-release-3.7
Automated cherry pick of #10334: fix: add nat sku policy
2021-03-08 14:10:40 +08:00
Zexi Li
7c6bc61dcb feat(build): make multi arch manifest docker image 2021-03-08 12:52:34 +08:00
Qu Xuan
e17fca6c4b fix: add cancel expire action 2021-03-08 12:13:10 +08:00
Yousong Zhou
b424a8f67d etcd: fix "fatal error: concurrent map writes"
Trace

	goroutine 1270434 [running]:
	runtime.throw(0x4b0cc5e, 0x15)
		/home/yousong/.usr/go/goroot-1.15.6/src/runtime/panic.go:1116 +0x72 fp=0xc0011151f8 sp=0xc0011151c8 pc=0x439292
	runtime.mapdelete_faststr(0x40876e0, 0xc0006a54a0, 0xc001e84200, 0x3e)
		/home/yousong/.usr/go/goroot-1.15.6/src/runtime/map_faststr.go:377 +0x34c fp=0xc001115260 sp=0xc0011151f8 pc=0x41664c
	yunion.io/x/onecloud/pkg/cloudcommon/etcd.(*SEtcdClient).Unwatch(0xc0003130e0, 0xc001e84200, 0x3e)
		/home/yousong/go/src/yunion.io/x/onecloud/pkg/cloudcommon/etcd/etcd.go:353 +0x134 fp=0xc0011152d0 sp=0xc001115260 pc=0x10031f4
	yunion.io/x/onecloud/pkg/compute/models.(*SHostHealthChecker).WatchHost(0xc000c222a0, 0x5229ca0, 0xc000122000, 0xc001fbc4e0, 0x24)
		/home/yousong/go/src/yunion.io/x/onecloud/pkg/compute/models/host_health.go:149 +0xd5 fp=0xc001115338 sp=0xc0011152d0 pc=0x1816395
	yunion.io/x/onecloud/pkg/compute/models.(*SHost).PerformOnline(0xc001fd8400, 0x5229d20, 0xc001c4d440, 0x52a0c60, 0xc000957c40, 0x5298900, 0xc001629aa0, 0x5298900, 0xc001629ae0, 0xc000957c40, ...)
		/home/yousong/go/src/yunion.io/x/onecloud/pkg/compute/models/hosts.go:3829 +0x227 fp=0xc0011153a0 sp=0xc001115338 pc=0x185a387
	yunion.io/x/onecloud/pkg/compute/models.(*SHost).PerformPing(0xc001fd8400, 0x5229d20, 0xc001c4d440, 0x52a0c60, 0xc000957c40, 0x5298900, 0xc001629aa0, 0x5298900, 0xc001629ae0, 0x0, ...)
		/home/yousong/go/src/yunion.io/x/onecloud/pkg/compute/models/hosts.go:3891 +0xbd fp=0xc001115430 sp=0xc0011153a0 pc=0x185acbd
2021-03-08 09:55:46 +08:00
yunion-ci-robot
cdde5b31de Merge pull request #10337 from rainzm/automated-cherry-pick-of-#10336-upstream-release-3.7
Automated cherry pick of #10336: fix(notify): enable filter of contact type 'email' and 'mobile'
2021-03-06 10:57:27 +08:00
rainzm
fb6064fa2a fix(notify): enable filter of contact type 'email' and 'mobile' 2021-03-06 03:00:44 +08:00
Qu Xuan
8e2092e18e fix: add nat sku policy 2021-03-05 17:27:26 +08:00
Qu Xuan
84f8cc1b3d fix: optimized bucket tag 2021-03-05 15:37:38 +08:00
Zexi Li
887392fe6a Merge pull request #10328 from zexi/automated-cherry-pick-of-#10327-upstream-release-3.7
Automated cherry pick of #10327: fix(cloudcommon): add default domain of common options
2021-03-05 11:22:42 +08:00
Zexi Li
772579d3e8 fix(cloudcommon): add default domain of common options 2021-03-05 11:20:23 +08:00
Zexi Li
f5c1480a4f Merge pull request #10321 from ioito/automated-cherry-pick-of-#10320-upstream-release-3.7
Automated cherry pick of #10320: fix: add secgroup filter opts
2021-03-05 10:16:23 +08:00
Zexi Li
70d7bc3d3c Merge pull request #10323 from tb365/automated-cherry-pick-of-#10322-upstream-release-3.7
Automated cherry pick of #10322: copyright update brand_cn&brand_en fix
2021-03-05 10:15:19 +08:00
tangbin
43a879ccb2 copyright update brand_cn&brand_en fix 2021-03-05 10:00:09 +08:00
Zexi Li
3d5edb3628 Merge pull request #10315 from ioito/automated-cherry-pick-of-#10314-upstream-release-3.7
Automated cherry pick of #10314: fix: add nat sku provider filter
2021-03-04 21:00:33 +08:00
Zexi Li
7111e6fe4a Merge pull request #10313 from ioito/automated-cherry-pick-of-#10312-upstream-release-3.7
Automated cherry pick of #10312: fix: optimzed tag sync
2021-03-04 21:00:15 +08:00
Qu Xuan
1ae3fbc749 fix: add secgroup filter opts 2021-03-04 20:56:41 +08:00
Zexi Li
59fc9c2dea Merge pull request #10317 from rainzm/automated-cherry-pick-of-#10316-upstream-release-3.7
Automated cherry pick of #10316: fix(region): check whether guest is nil
2021-03-04 19:39:00 +08:00
rainzm
23328aa12b fix(region): check whether guest is nil 2021-03-04 17:54:52 +08:00
Qu Xuan
14246f4839 fix: add nat sku provider filter 2021-03-04 17:50:46 +08:00
Qu Xuan
d7be39edf8 fix: optimzed tag sync 2021-03-04 17:31:18 +08:00
Zexi Li
0f591c3a4f Merge pull request #10311 from zhaoxiangchun/automated-cherry-pick-of-#10310-upstream-release-3.7
Automated cherry pick of #10310: bugfix(monitor): 导出信息中添加全局字典配置
2021-03-04 16:54:29 +08:00
Zexi Li
9fc5f4134d Merge pull request #10309 from tb365/automated-cherry-pick-of-#10305-upstream-release-3.7
Automated cherry pick of #10305: infos copyright add brand_en&brand_cn
2021-03-04 15:25:57 +08:00
zhaoxiangchun
839df9025a bugfix(monitor): 导出信息中添加全局字典配置
1. 域信息中添加全局字典的域配置
2021-03-04 12:13:02 +08:00
tangbin
b5958bb6b9 infos copyright add brand_en&brand_cn 2021-03-04 11:21:15 +08:00
Zexi Li
2902530ff3 Merge pull request #10302 from zhaoxiangchun/automated-cherry-pick-of-#10301-upstream-release-3.7
Automated cherry pick of #10301: feat(mcclient,itsm): modify itsm mcclient rpc func
2021-03-04 10:01:10 +08:00
Zexi Li
f886366d15 Merge pull request #10304 from ioito/automated-cherry-pick-of-#10303-upstream-release-3.7
Automated cherry pick of #10303: feat(region): nat op support
2021-03-04 10:00:03 +08:00
Zexi Li
08241a52c8 Merge pull request #10300 from tb365/automated-cherry-pick-of-#10299-upstream-release-3.7
Automated cherry pick of #10299: redis update tags fix
2021-03-04 09:59:52 +08:00
Qu Xuan
9dd3bb2189 feat(region): nat op support 2021-03-03 21:27:17 +08:00
zhaoxiangchun
8881be5a24 feat(mcclient,itsm): modify itsm mcclient rpc func
1.统计返回技术支持工单信息
2021-03-03 17:50:59 +08:00
Zexi Li
648cf6b44a Merge pull request #10296 from zhaoxiangchun/automated-cherry-pick-of-#10295-upstream-release-3.7
Automated cherry pick of #10295: feat(monitor): alert policy filter by res_type
2021-03-03 10:27:24 +08:00
Zexi Li
ce1f86929e Merge pull request #10298 from ioito/automated-cherry-pick-of-#10297-upstream-release-3.7
Automated cherry pick of #10297: feat(region): nat op support
2021-03-03 10:26:41 +08:00
tangbin
6ae4883db2 redis update tags fix 2021-03-03 10:17:14 +08:00
Qu Xuan
18445ba433 feat(region): nat op support 2021-03-02 21:34:34 +08:00
zhaoxiangchun
3fa8520c5c feat(monitor): alert policy filter by res_type
1.增加资源类型的过滤处理
2.报警消息内容处理
2021-03-02 16:12:38 +08:00
Zexi Li
f2645a2045 Merge pull request #10293 from zhaoxiangchun/automated-cherry-pick-of-#10292-upstream-release-3.7
Automated cherry pick of #10292: fix(monitor): fix monitor export err
2021-03-02 14:29:45 +08:00
zhaoxiangchun
c068badd36 fix(monitor): fix monitor export err
1.修复监控导出报错
2.db_dispatcher.ListItems 方法中对exportKeys的处理新增了一个方法
2021-03-02 11:57:14 +08:00
Zexi Li
889755feae Merge pull request #10290 from swordqiu/automated-cherry-pick-of-#10289-upstream-release-3.7
Automated cherry pick of #10289: fix(keystone): adjust default system policy names
2021-03-02 10:16:59 +08:00
yunion-ci-robot
6d0f1ce7df Merge pull request #10287 from zexi/automated-cherry-pick-of-#10286-upstream-release-3.7
Automated cherry pick of #10286: fix(hostdeployer): windows rootfs umount leak
2021-03-02 10:11:21 +08:00
Zexi Li
c308bdbb0c fix(hostdeployer): windows rootfs umount leak 2021-03-02 09:52:19 +08:00
yunion-ci-robot
81bc5e1f93 Merge pull request #10285 from yousong/automated-cherry-pick-of-#10284-upstream-release-3.7
Automated cherry pick of #10284: networks: server_type: do not allow update
2021-03-01 22:12:26 +08:00
Qiu Jian
b034a7a95d fix(keystone): adjust default system policy names 2021-03-01 21:30:24 +08:00
Yousong Zhou
c3fdda2ac1 networks: server_type: do not allow update
Transition between guest, baremetal, ipmi, eip, etc. all requires
sanity checks on relevant types allocated from the network
2021-03-01 19:09:44 +08:00
Zexi Li
f7f88db7b3 Merge pull request #10209 from rainzm/automated-cherry-pick-of-#10208-upstream-release-3.7
Automated cherry pick of #10208: fix(region): pull the network correctly
2021-03-01 11:39:47 +08:00
Zexi Li
41c3c0bbe3 Merge pull request #10279 from swordqiu/automated-cherry-pick-of-#10278-upstream-release-3.7
Automated cherry pick of #10278: fix(baremetal-agent): baremetal fail to stop due to power off soft failed
2021-03-01 10:13:34 +08:00
yunion-ci-robot
7d5f0ba84e Merge pull request #10277 from yousong/automated-cherry-pick-of-#10276-upstream-release-3.7
Automated cherry pick of #10276: Bugfix/yousong cloudproxy
2021-02-27 21:53:23 +08:00
Qiu Jian
d8b1a992ff fix(baremetal-agent): baremetal fail to stop due to power off soft failed 2021-02-27 21:50:24 +08:00
Yousong Zhou
4c2c0c3d24 cloudproxy: agent: refresh bindAddr, advertiseAddr when needed 2021-02-26 19:27:16 +08:00
Yousong Zhou
361e20c334 build: cloudproxy: add dockerfile 2021-02-26 19:27:16 +08:00
Zexi Li
9167eb1a67 Merge pull request #10271 from ioito/automated-cherry-pick-of-#10270-upstream-release-3.7
Automated cherry pick of #10270: fix(cloudevent): optimized cloudevent sql
2021-02-25 11:35:57 +08:00
Qu Xuan
ae90bbd203 fix(cloudevent): optimized cloudevent sql 2021-02-25 11:33:27 +08:00
Zexi Li
d4dfec36f3 Merge pull request #10263 from swordqiu/automated-cherry-pick-of-#10262-upstream-release-3.7
Automated cherry pick of #10262: fix(keystone): ensure comparing id with non-utf8 string
2021-02-25 11:24:17 +08:00
Zexi Li
c02d27ff58 Merge pull request #10266 from ioito/automated-cherry-pick-of-#10265-upstream-release-3.7
Automated cherry pick of #10265: fix(region): add azure new region
2021-02-25 11:23:05 +08:00
Qu Xuan
12e0b3c902 fix(region): add azure new region 2021-02-25 10:23:00 +08:00
Qiu Jian
601112dd7f fix(keystone): ensure comparing id with non-utf8 string 2021-02-25 02:29:30 +08:00
yunion-ci-robot
49dc4dc292 Merge pull request #10212 from yousong/automated-cherry-pick-of-#10176-upstream-release-3.7
Automated cherry pick of #10176: Feature/yousong cloudproxy
2021-02-24 19:52:41 +08:00
Zexi Li
5a2ebb2b55 Merge pull request #10255 from ioito/automated-cherry-pick-of-#10254-upstream-release-3.7
Automated cherry pick of #10254: fix(region): aliyun request retry
2021-02-24 18:09:50 +08:00
Zexi Li
e6618b0653 Merge pull request #10257 from ioito/automated-cherry-pick-of-#10256-upstream-release-3.7
Automated cherry pick of #10256: fix(region): optimized qcloud error code
2021-02-24 16:52:53 +08:00
Zexi Li
eaab4bea55 Merge pull request #10259 from tb365/automated-cherry-pick-of-#10258-upstream-release-3.7
Automated cherry pick of #10258: fix(region): redis change spec bugfix
2021-02-24 16:06:31 +08:00
tangbin
a275b46a74 fix(region): redis change spec bugfix 2021-02-24 11:48:56 +08:00
Qu Xuan
195793c88d fix(region): optimized qcloud error code 2021-02-23 20:44:40 +08:00
Yousong Zhou
034bf55af7 climc: add commands for cloudproxy 2021-02-23 15:34:23 +08:00
Yousong Zhou
5eefa38f84 cloudproxy: initial version 2021-02-23 15:34:23 +08:00
Yousong Zhou
98fcdb2be5 apihelper: move to yunion.io/x/onecloud/pkg/{vpcagent/,}apihelper 2021-02-23 15:34:23 +08:00
Yousong Zhou
b7f2004670 mcclient: models: Server: add fields for eip and nics 2021-02-23 15:34:23 +08:00
Yousong Zhou
6de0b2e35d ansibleserver: use mcclient module method for fetching keypair info 2021-02-23 15:34:23 +08:00
Yousong Zhou
fc7fe4cca7 mcclient: Sshkeypairs: add FetchPrivateKey 2021-02-23 15:34:23 +08:00
Yousong Zhou
0440f4a303 mcclient: auth: add SessionCache 2021-02-23 15:34:23 +08:00
Yousong Zhou
9b13becd1d validators: set xx_id when possible 2021-02-23 15:34:23 +08:00
Qu Xuan
1c6d6c90f9 fix(region): aliyun request retry 2021-02-23 11:55:41 +08:00
Zexi Li
e0fd9e922f Merge pull request #10250 from zexi/automated-cherry-pick-of-#10223-upstream-release-3.7
Automated cherry pick of #10223: fix(host-deployer): mount may fail to lock /etc/mtab, add retrier
2021-02-23 10:36:37 +08:00
Qiu Jian
e35fa898ea fix(host-deployer): mount may fail to lock /etc/mtab, add retrier 2021-02-23 09:44:40 +08:00
Zexi Li
e131af782c Merge pull request #10225 from ioito/automated-cherry-pick-of-#10224-upstream-release-3.7
Automated cherry pick of #10224: fix(region): optimized aws cloudtrail sync
2021-02-22 21:25:26 +08:00
Zexi Li
c6d34e2733 Merge pull request #10248 from ioito/automated-cherry-pick-of-#10246-upstream-release-3.7
Automated cherry pick of #10246: [WIP]fix(region): more details for get aws region error
2021-02-22 21:14:23 +08:00
Zexi Li
d88cb2e81c Merge pull request #10232 from tb365/automated-cherry-pick-of-#10231-upstream-release-3.7
Automated cherry pick of #10231: Bugfix/tb bugfix 022202
2021-02-22 21:13:38 +08:00
Zexi Li
9d0817b9f0 Merge pull request #10247 from ioito/automated-cherry-pick-of-#10233-upstream-release-3.7
Automated cherry pick of #10233: fix(region): support peer secgroup
2021-02-22 21:12:07 +08:00
Zexi Li
abd1d45afc Merge pull request #10245 from ioito/automated-cherry-pick-of-#10244-upstream-release-3.7
Automated cherry pick of #10244: fix(region): fix rds tag set error
2021-02-22 21:05:59 +08:00
Qu Xuan
0ffa3e5144 fix(region): more details for get aws region error 2021-02-22 20:55:00 +08:00
Zexi Li
51f9d13663 Merge pull request #10228 from ioito/automated-cherry-pick-of-#10227-upstream-release-3.7
Automated cherry pick of #10227: fix(region): qcloud quota sync
2021-02-22 20:51:40 +08:00
Qu Xuan
73fe4866d7 fix(region): support peer secgroup 2021-02-22 20:41:37 +08:00
Qu Xuan
60b3e53866 fix(region): fix rds tag set error 2021-02-22 20:25:38 +08:00
Zexi Li
8e174c38ae Merge pull request #10239 from zexi/automated-cherry-pick-of-#9071-upstream-release-3.7
Automated cherry pick of #9071: feat(climc): k8s cluster addon add enable native ip alloc option
2021-02-22 19:51:11 +08:00
Zexi Li
298d09fa9b Merge pull request #10235 from ioito/automated-cherry-pick-of-#10234-upstream-release-3.7
Automated cherry pick of #10234: fix(region): avoid not sync dns zone
2021-02-22 19:49:28 +08:00
Zexi Li
bd9b11cf19 Merge pull request #10241 from tb365/automated-cherry-pick-of-#10240-upstream-release-3.7
Automated cherry pick of #10240: fix(region): set redis reboot timeout to 30 mins
2021-02-22 19:48:12 +08:00
tangbin
aa96cb748b fix(region): set redis reboot timeout to 30 mins 2021-02-22 18:50:26 +08:00
Zexi Li
347d9ad1ca feat(climc): k8s cluster addon add enable native ip alloc option 2021-02-22 18:23:48 +08:00
Qu Xuan
6677ae43b5 fix(region): avoid not sync dns zone 2021-02-22 16:14:42 +08:00
TangBin
a8ded06bac fix(region): aws rebuild instance os_arch mismatch fix 2021-02-22 15:07:14 +08:00
TangBin
f4e98cc717 aws change flavor fix 2021-02-22 15:07:14 +08:00
Qu Xuan
e760263fab fix(region): qcloud quota sync 2021-02-22 14:55:31 +08:00
Qu Xuan
be065ec826 fix(region): optimized aws cloudtrail sync 2021-02-22 11:41:08 +08:00
Zexi Li
ae6476c45e Merge pull request #10216 from swordqiu/automated-cherry-pick-of-#10213-upstream-release-3.7
Automated cherry pick of #10213: feature(region): support AWS organization
2021-02-22 09:45:37 +08:00
Zexi Li
43fa5f2ecf Merge pull request #10203 from swordqiu/automated-cherry-pick-of-#10202-upstream-release-3.7
Automated cherry pick of #10202: feature(compute): allow live migration without checking Host CPU modes
2021-02-22 08:59:22 +08:00
Qiu Jian
0d6c17e31a fix: add more organization command 2021-02-20 23:13:00 +08:00
Qiu Jian
2a3a85f3a3 fix: get region nil pointer error 2021-02-20 23:13:00 +08:00
Qiu Jian
2da59aa89f feature(region): support AWS organization 2021-02-20 23:12:59 +08:00
Zexi Li
7ee11117c5 Merge pull request #10215 from zhaoxiangchun/automated-cherry-pick-of-#10214-upstream-release-3.7
Automated cherry pick of #10214: feat(monitor): monitor add trigger value when send notify info
2021-02-20 19:32:34 +08:00
Zexi Li
011c2a50ec Merge pull request #10218 from tb365/automated-cherry-pick-of-#10217-upstream-release-3.7
Automated cherry pick of #10217: server create sku parameter fix
2021-02-20 19:31:49 +08:00
Zexi Li
0dbf5ede0a Merge pull request #10221 from ioito/automated-cherry-pick-of-#10220-upstream-release-3.7
Automated cherry pick of #10220: fix(region): set next stage for start vm
2021-02-20 19:30:11 +08:00
Qu Xuan
d56078d13a fix(region): set next stage for start vm 2021-02-20 16:45:09 +08:00
TangBin
cfaadc29c2 server create sku parameter fix 2021-02-19 19:45:43 +08:00
zhaoxiangchun
ab33ae6924 feat(monitor): monitor add trigger value when send notify info
1.监控消息中增加触发值
2021-02-19 10:33:21 +08:00
Zexi Li
ee779c0f94 Merge pull request #10211 from tb365/automated-cherry-pick-of-#10210-upstream-release-3.7
Automated cherry pick of #10210: change os_arch_arm to os_arch_aarch64
2021-02-18 15:01:21 +08:00
tangbin
bbaf32a47c change os_arch_arm to os_arch_aarch64 2021-02-18 12:05:40 +08:00
Zexi Li
976e710fdf Merge pull request #9906 from rainzm/automated-cherry-pick-of-#9904-upstream-release-3.7
Automated cherry pick of #9904: Notification Subscription
2021-02-18 11:53:07 +08:00
rainzm
1f8ed87249 feat(notify): remove disk's event notify for now 2021-02-18 11:45:15 +08:00
rainzm
15c506086d feat(notify): be compatible with mobile in event notify 2021-02-18 11:45:15 +08:00
rainzm
399bce619a feat(keystone): support filter 'project_domain_id' in role_assignments 2021-02-18 11:45:15 +08:00
rainzm
1ddebfff55 feat: change go version from 1.12 to 1.13 in go.mod 2021-02-18 11:45:15 +08:00
rainzm
d9229ef160 update vendor 2021-02-18 11:45:15 +08:00
rainzm
0de209502f fix(notify): get the receiver corresponding to the role correctly 2021-02-18 11:45:15 +08:00
rainzm
e991bc3452 feat: call EventNotify when event occurs 2021-02-18 11:45:15 +08:00
rainzm
755e00750a feat: support EventNotify 2021-02-18 11:45:15 +08:00
rainzm
f265be1c59 feat(notify): add local template 2021-02-18 11:45:15 +08:00
rainzm
50be5c5f77 feat(notify): add subscription in notify 2021-02-18 11:45:15 +08:00
rainzm
7dba32d990 feat(cloudcommon): add rolecache
rolecache 在原有cache的基础上,使用了 watch
的功能,所以数据的过期时间可以调的高一些,这里使用
roleCacheExpireHours 进行控制,默认设置为24小时。
2021-02-18 11:45:15 +08:00
rainzm
ed8a88fc5c feat(util): support uint64 in bitmap
The bitmap feature of low-digit uint type can be implemented by this of uint64
2021-02-18 11:45:15 +08:00
Zexi Li
460f1c6b53 Merge pull request #10206 from swordqiu/automated-cherry-pick-of-#10205-upstream-release-3.7
Automated cherry pick of #10205: fix(region): host search by any ip
2021-02-18 11:17:12 +08:00
rainzm
3ad9cb0dac fix(region): pull the network correctly 2021-02-18 11:07:01 +08:00
Jian Qiu
058a0a0729 fix(keystone): policy name duplication (#10200)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-14 19:14:14 +08:00
Qiu Jian
06fb5ac5ec fix(region): host search by any ip 2021-02-13 23:13:21 +08:00
Qiu Jian
5660125893 feature(compute): allow live migration with checking Host CPU modes 2021-02-13 16:33:32 +08:00
yunion-ci-robot
aac5020cfd Merge pull request #10198 from zhaoxiangchun/automated-cherry-pick-of-#10197-upstream-release-3.7
Automated cherry pick of #10197: fix(monitor): fix 报警静默期和未恢复告警策略的兼容
2021-02-09 13:13:01 +08:00
zhaoxiangchun
26721fc50d fix(monitor): fix 报警静默期和未恢复告警策略的兼容
1.处于告警静默期内的报警策略仍可以在未恢复告警策略中进行查询
2021-02-09 12:51:05 +08:00
Jian Qiu
e43bea673c fix(keystone): hide system scope policies in domain scope view (#10195)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-08 12:17:01 -03:00
Jian Qiu
7a37232aaa fix(scheduler): storage medium type should not exact match (#10191)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-08 12:14:48 -03:00
yunion-ci-robot
9f767ed4aa Merge pull request #10150 from wanyaoqi/automated-cherry-pick-of-#10149-upstream-release-3.7
Automated cherry pick of #10149: chore(utils): add deb build script
2021-02-08 05:51:59 +08:00
yunion-ci-robot
699dfdd5ad Merge pull request #10184 from zhaoxiangchun/automated-cherry-pick-of-#10183-upstream-release-3.7
Automated cherry pick of #10183: fix(monitor,host): replace space to '+' when write to influxdb and replace '+' to space  when query
2021-02-07 16:07:59 +08:00
zhaoxiangchun
c86dab4d6b fix(monitor,host): replace space to '+' when write to influxdb and replace '+' to space when query
1.写入influxdb时tag 中不允许存在空格
2021-02-07 14:58:18 +08:00
Jian Qiu
31854889db fix(apigateway): add auth/stats api to retrieve system info (#10182)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-06 22:41:32 -03:00
yunion-ci-robot
a33c976446 Merge pull request #10180 from zhaoxiangchun/automated-cherry-pick-of-#10179-upstream-release-3.7
Automated cherry pick of #10179: fix(monitor): fix update alert duration fail
2021-02-06 20:49:34 +08:00
zhaoxiangchun
523cbab84b fix(monitor): fix update alert duration fail
1.修复无法更新报警持续周期的问题
2021-02-06 19:53:59 +08:00
Zexi Li
d568865571 Merge pull request #10178 from tb365/automated-cherry-pick-of-#10177-upstream-release-3.7
Automated cherry pick of #10177: imagetools NormalizeImageInfo update
2021-02-06 18:39:37 +08:00
Zexi Li
f04359bbcb Merge pull request #10167 from tb365/automated-cherry-pick-of-#10166-upstream-release-3.7
Automated cherry pick of #10166: warp aws err with errors.Wrap
2021-02-06 18:39:04 +08:00
yunion-ci-robot
f2fea0dde0 Merge pull request #10147 from zexi/automated-cherry-pick-of-#10146-upstream-release-3.7
Automated cherry pick of #10146: Feature/baremetal h3c oem
2021-02-06 13:32:24 +08:00
TangBin
80a235e3a7 imagetools NormalizeImageInfo update 2021-02-06 13:28:15 +08:00
Zexi Li
c4f04c8679 Merge pull request #10170 from zhaoxiangchun/automated-cherry-pick-of-#10169-upstream-release-3.7
Automated cherry pick of #10169: feat(monitor): alert record add silentPeriod info
2021-02-06 10:36:58 +08:00
Zexi Li
ed23e6acb7 Merge pull request #10174 from swordqiu/automated-cherry-pick-of-#10173-upstream-release-3.7
Automated cherry pick of #10173: fix(keystone): cas sso may create new project whenever user login
2021-02-06 10:35:52 +08:00
Zexi Li
48d756384c Merge pull request #10172 from swordqiu/automated-cherry-pick-of-#10171-upstream-release-3.7
Automated cherry pick of #10171: fix(keystone): idp filter by sso_domain returns domain's idp only
2021-02-06 10:35:12 +08:00
Qiu Jian
34e5a36b2c fix(keystone): cas sso may create new project whenever user login 2021-02-06 03:20:37 +08:00
Qiu Jian
1a24034c64 fix(keystone): idp filter by sso_domain returns domain's idp only 2021-02-06 02:56:31 +08:00
zhaoxiangchun
508c8b926b feat(monitor): alert record add silentPeriod info
1.报警记录中增加静默期等信息
2021-02-05 19:58:43 +08:00
Zexi Li
0af502936f Merge pull request #10134 from rainzm/automated-cherry-pick-of-#10133-upstream-release-3.7
Automated cherry pick of #10133: fix(region): init and change status
2021-02-05 17:29:43 +08:00
Zexi Li
183aea422e Merge pull request #10136 from ioito/automated-cherry-pick-of-#10135-upstream-release-3.7
Automated cherry pick of #10135: fix(region,scheduler): filter enabled skus
2021-02-05 14:55:35 +08:00
Zexi Li
bb4b315911 Merge pull request #10144 from swordqiu/automated-cherry-pick-of-#10143-upstream-release-3.7
Automated cherry pick of #10143: fix(baremetal): try channel 8 for default profile
2021-02-05 14:54:26 +08:00
Zexi Li
44dff768b2 Merge pull request #10155 from ioito/automated-cherry-pick-of-#10154-upstream-release-3.7
Automated cherry pick of #10154: fix(logger): distinct field optimized for logger
2021-02-05 14:53:41 +08:00
Zexi Li
cd3df2346b Merge pull request #10164 from ioito/automated-cherry-pick-of-#10163-upstream-release-3.7
Automated cherry pick of #10163: fix(cloudid): sync role policy
2021-02-05 14:36:12 +08:00
rainzm
cbca7e5183 fix(region): fetch wires correctly 2021-02-05 14:35:52 +08:00
rainzm
e54d1e1cb9 fix(wire): init and change status 2021-02-05 14:35:52 +08:00
Zexi Li
68782ac548 Merge pull request #10153 from rainzm/automated-cherry-pick-of-#10152-upstream-release-3.7
Automated cherry pick of #10152: To support domain notice
2021-02-05 14:35:26 +08:00
Qu Xuan
c0e3427dff fix(cloudid): sync role policy 2021-02-05 13:59:52 +08:00
TangBin
7b7a7a5615 warp aws err with errors.Wrap 2021-02-05 13:51:22 +08:00
Zexi Li
65b3674b27 Merge pull request #10157 from zhaoxiangchun/automated-cherry-pick-of-#10156-upstream-release-3.7
Automated cherry pick of #10156: fix(monitor): 3.7 nodata and alertOverview fix
2021-02-05 09:42:14 +08:00
Jian Qiu
739637b8f3 fix(keystone): add alertrecords to default dashboard permission (#10161)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-05 02:58:03 +08:00
Jian Qiu
43e858265c fix(apigateway): add enable_quota_check and return-domain-list attributes to fe params (#10159)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-05 02:57:09 +08:00
Qu Xuan
14979480e3 fix(logger): distinct field optimized for logger 2021-02-04 21:15:02 +08:00
zhaoxiangchun
a43a4e617b fix(monitor): 3.7 nodata and alertOverview fix
1.nodata相关逻辑调整
2.监控总览视图穿透,报警数量不一致问题修复
2021-02-04 20:56:41 +08:00
rainzm
59218fa314 refactor(climc): use shell.NewResourceCmd for notice 2021-02-04 17:36:11 +08:00
rainzm
9f927922a4 fix(cloudcommon): use NewGeneralError to construct error 2021-02-04 17:36:11 +08:00
wanyaoqi
2d0b3c4527 chore(utils): add deb build script 2021-02-04 15:13:16 +08:00
Zexi Li
b5813e81b8 feat(baremetal): support H3C oem baremetal 2021-02-04 14:11:26 +08:00
yunion-ci-robot
038fd9669e Merge pull request #10141 from swordqiu/automated-cherry-pick-of-#10140-upstream-release-3.7
Automated cherry pick of #10140: fix(region): bucket size stats should not count invalid sizes of -1
2021-02-04 13:16:51 +08:00
Qiu Jian
50ad5a76b9 fix(baremetal): try channel 8 for default profile 2021-02-04 13:00:59 +08:00
Zexi Li
9e42a38bfb Merge pull request #10138 from ioito/automated-cherry-pick-of-#10137-upstream-release-3.7
Automated cherry pick of #10137: fix(region): delete not exist disk failed
2021-02-04 11:37:05 +08:00
Qiu Jian
607c10bbe4 fix(region): bucket size stats should not count invalid sizes of -1 2021-02-04 11:23:59 +08:00
Qu Xuan
70166a131d fix(region): delete not exist disk failed 2021-02-04 11:02:09 +08:00
Qu Xuan
646a6e3882 fix(region,scheduler): filter enabled skus 2021-02-03 21:12:24 +08:00
Zexi Li
b60213b116 Merge pull request #10131 from ioito/automated-cherry-pick-of-#10130-upstream-release-3.7
Automated cherry pick of #10130: fix(hostman): fix kvm create disk failed error
2021-02-03 20:38:35 +08:00
Qu Xuan
f5ed307598 fix(hostman): fix kvm create disk failed error 2021-02-03 20:16:09 +08:00
Zexi Li
38baa51ff7 Merge pull request #10128 from zhaoxiangchun/automated-cherry-pick-of-#10127-upstream-release-3.7
Automated cherry pick of #10127: feat(monitor): alert add silent period param
2021-02-03 18:20:29 +08:00
Zexi Li
415ad41da5 Merge pull request #9749 from rainzm/automated-cherry-pick-of-#9723-upstream-release-3.7
Automated cherry pick of #9723: Optimization of vmware network
2021-02-03 18:15:09 +08:00
Zexi Li
be197de84f Merge pull request #10072 from lvyangyang/automated-cherry-pick-of-#10041-upstream-release-3.7
Automated cherry pick of #10041: feat(region): aws elasticahe
2021-02-03 18:14:48 +08:00
Zexi Li
aba0709d74 Merge pull request #10129 from ioito/automated-cherry-pick-of-#10126-upstream-release-3.7
Automated cherry pick of #10126: fix(cloudevent): add distinct filed for cloudevent
2021-02-03 18:05:15 +08:00
Qu Xuan
53969f14e2 fix(cloudevent): add distinct filed for cloudevent 2021-02-03 17:50:10 +08:00
rainzm
68c6216167 feat(region): add host count when list wires 2021-02-03 14:40:54 +08:00
rainzm
c4dbd9bb55 feat(region): support merging mutli wires to a wire 2021-02-03 14:40:54 +08:00
rainzm
639e7b16f0 feat(esxiagent): determine vs by bridge and network when creating vm 2021-02-03 14:40:54 +08:00
rainzm
0aa5c2ef1c feat(region): support merging wire
1. support merging networks under a wire
2. auto merge networks under a wire when set 'merge_network' when merge
this wire
2021-02-03 14:40:54 +08:00
rainzm
f654636e5f feat(region): sync Esxi HostWire for esxi host 2021-02-03 14:40:54 +08:00
rainzm
d9e75aaa0e feat(region): support synchronize vmware's network configuration to the local
1. move prepare-nets in cloudaccounts_prepare.go
2. when creating vmware account, auto synchronize vmware's network and
synchronize cloudprovider
3. support actively triggering the synchronization of the vmware network
2021-02-03 14:40:54 +08:00
rainzm
51167aa8ca feat(esxi): fetch vmware network configuration info
1. vswitch and distributed vswitch info
2. ip, vlanId and vswitch of host and vm
2021-02-03 14:40:54 +08:00
zhaoxiangchun
be09fc0464 feat(monitor): alert add silent period param
1. 报警静默期支持
2021-02-03 13:08:30 +08:00
Zexi Li
f55dc40d74 Merge pull request #10097 from ioito/automated-cherry-pick-of-#10096-upstream-release-3.7
Automated cherry pick of #10096: fix(region): filter resource by classic vpc
2021-02-03 09:48:19 +08:00
Zexi Li
b925bc77f3 Merge pull request #10100 from ioito/automated-cherry-pick-of-#10099-upstream-release-3.7
Automated cherry pick of #10099: fix(hostman): avoid panic when disk is nil
2021-02-03 09:47:30 +08:00
Zexi Li
89305e1a24 Merge pull request #10110 from ioito/automated-cherry-pick-of-#10109-upstream-release-3.7
Automated cherry pick of #10109: fix(region): avoid sync huawei unusable account
2021-02-03 09:46:21 +08:00
Zexi Li
5291918e45 Merge pull request #10103 from rainzm/automated-cherry-pick-of-#10102-upstream-release-3.7
Automated cherry pick of #10102: feat(esxi): support iso when creating vm
2021-02-03 09:46:06 +08:00
yunion-ci-robot
da46b92ec7 Merge pull request #10092 from zhaoxiangchun/automated-cherry-pick-of-#10091-upstream-release-3.7
Automated cherry pick of #10091: fix(monitor): fix alert duration
2021-02-03 00:04:41 +08:00
zhaoxiangchun
36ed09cd15 feat(monitor): meter相关报警内容处理
1. meter 相关单位处理
2. 报警静默配置
3. meter 短信模版
2021-02-02 23:34:53 +08:00
zhaoxiangchun
1bce5eaa62 fix(monitor): fix alert duration
1.修改报警连续周期逻辑
2021-02-02 23:34:53 +08:00
Zexi Li
c3119e1a3e Merge pull request #10116 from yousong/automated-cherry-pick-of-#10114-upstream-release-3.7
Automated cherry pick of #10114: Bugfix/yousong usage
2021-02-02 22:06:55 +08:00
Zexi Li
c90f03f8e3 Merge pull request #10105 from ioito/automated-cherry-pick-of-#10104-upstream-release-3.7
Automated cherry pick of #10104: fix(region): delete virtual nics with network
2021-02-02 20:59:46 +08:00
Zexi Li
59eb3672e5 Merge pull request #10118 from wanyaoqi/automated-cherry-pick-of-#10117-upstream-release-3.7
Automated cherry pick of #10117: fix(region): add option auto reconcile backup servers
2021-02-02 20:09:32 +08:00
Zexi Li
ec463450e7 Merge pull request #10123 from rainzm/automated-cherry-pick-of-#10122-upstream-release-3.7
Automated cherry pick of #10122: fix(region): check the global network situation when expanding the network
2021-02-02 20:08:01 +08:00
Zexi Li
1091591e62 Merge pull request #10115 from rainzm/automated-cherry-pick-of-#10113-upstream-release-3.7
Automated cherry pick of #10113: feat(notify): verification email style optimization
2021-02-02 20:05:24 +08:00
rainzm
da89673f00 fix(region): check the global network situation when expanding the network 2021-02-02 19:46:20 +08:00
wanyaoqi
8f542beac1 fix(region): add option auto reconcile backup servers 2021-02-02 18:20:21 +08:00
Yousong Zhou
b2980ce2b4 region: usages: add [{all,domain}.]networks etc. 2021-02-02 16:23:13 +08:00
Yousong Zhou
7a498b88f4 region: wires: totalCountQ: filter networks by scope and owner 2021-02-02 16:23:13 +08:00
Yousong Zhou
098f99314d region: usages: fix field name of vpcs for system scope 2021-02-02 16:23:13 +08:00
rainzm
304248ce18 feat(notify): verification email style optimization 2021-02-02 16:19:14 +08:00
Qu Xuan
9cad6163d3 fix(region): avoid sync huawei unusable account 2021-02-02 14:36:26 +08:00
Qu Xuan
80d9f50cf9 fix(region): delete virtual nics with network 2021-02-02 10:53:24 +08:00
rainzm
dd75241222 feat(esxi): support iso when creating vm 2021-02-02 10:44:13 +08:00
Qu Xuan
24928469fe fix(hostman): avoid panic when disk is nil 2021-02-01 22:02:28 +08:00
Zexi Li
d15039d697 Merge pull request #10094 from ioito/automated-cherry-pick-of-#10093-upstream-release-3.7
Automated cherry pick of #10093: fix(region): avoid update tags task loop
2021-02-01 20:34:44 +08:00
Qu Xuan
de96f6e18f fix(region): filter resource by classic vpc 2021-02-01 20:15:56 +08:00
Qu Xuan
0b324945de fix(region): avoid update tags task loop 2021-02-01 19:57:50 +08:00
Zexi Li
409e00a470 Merge pull request #10078 from wanyaoqi/automated-cherry-pick-of-#9901-upstream-release-3.7
Automated cherry pick of #9901: feat(glance): support backend storage s3
2021-02-01 09:56:45 +08:00
Zexi Li
4352926737 Merge pull request #10068 from swordqiu/automated-cherry-pick-of-#10067-upstream-release-3.7
Automated cherry pick of #10067: fix(keystone): SSO created user name may be duplicated
2021-01-30 10:41:56 +08:00
Zexi Li
dbf251f7da Merge pull request #10074 from wanyaoqi/automated-cherry-pick-of-#10073-upstream-release-3.7
Automated cherry pick of #10073: fix(host-deployer): remove escape character on windows passwd
2021-01-30 10:40:11 +08:00
Zexi Li
a81e1a7443 Merge pull request #10080 from zhaoxiangchun/automated-cherry-pick-of-#10079-upstream-release-3.7
Automated cherry pick of #10079: fix(monitor): modify nodata feishu notifyinfo; fix send email err
2021-01-30 10:38:45 +08:00
Zexi Li
adc3cbdd99 Merge pull request #10082 from rainzm/automated-cherry-pick-of-#10081-upstream-release-3.7
Automated cherry pick of #10081: feat(notify): add default area code for mobile
2021-01-30 10:37:32 +08:00
Zexi Li
2731e04e66 Merge pull request #10084 from zhaoxiangchun/automated-cherry-pick-of-#10083-upstream-release-3.7
Automated cherry pick of #10083: fix(monitor): fix alert notify info do not contain resourceName
2021-01-30 10:37:11 +08:00
Zexi Li
36444a6461 Merge pull request #10090 from rainzm/automated-cherry-pick-of-#10086-upstream-release-3.7
Automated cherry pick of #10086: fix(notify): be compatible with member's permission changes
2021-01-30 10:36:32 +08:00
Zexi Li
78501a8f1d Merge pull request #10088 from rainzm/automated-cherry-pick-of-#10087-upstream-release-3.7
Automated cherry pick of #10087: fix(keystone): avoid repeated abnormal login notifications
2021-01-30 10:35:59 +08:00
rainzm
d8b92dd97a fix(notify): be compatible with member's permission changes
every user can create, modify and delete their own receiver info
2021-01-29 20:13:36 +08:00
rainzm
c4c3b925b8 fix(keystone): avoid repeated abnormal login notifications 2021-01-29 20:12:07 +08:00
zhaoxiangchun
7fd2b865e4 fix(monitor): fix alert notify info do not contain resourceName 2021-01-29 18:17:21 +08:00
rainzm
5f9cee49b0 feat(notify): add default area code for mobile 2021-01-29 16:43:27 +08:00
zhaoxiangchun
92fbf93cbb fix(monitor): modify nodata feishu notifyinfo; fix send email err
1.修改nodata报警消息内容
2.修复发送邮件数量异常的bug
2021-01-29 13:10:18 +08:00
wanyaoqi
6e2894df25 feat(glance): support backend storage s3 2021-01-29 12:00:29 +08:00
wanyaoqi
645cf64b92 fix(host-deployer): remove escape character on windows passwd 2021-01-29 11:56:49 +08:00
lvyangyang
336135b663 feat(region): aws elasticahe 2021-01-28 22:20:06 -05:00
Jian Qiu
f5f02b5e09 fix(apigateway): ignore fetch IDP errors in getRegions (#10071)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-01-29 02:35:01 +08:00
Qiu Jian
9342987aa3 fix(keystone): SSO created user name may be duplicated 2021-01-28 23:38:58 +08:00
Zexi Li
0f02856287 Merge pull request #10036 from ioito/automated-cherry-pick-of-#10035-upstream-release-3.7
Automated cherry pick of #10035: fix(region): avoid worker discarded after state unchanged
2021-01-28 20:50:21 +08:00
Zexi Li
94a9a3956e Merge pull request #10038 from zhaoxiangchun/automated-cherry-pick-of-#10037-upstream-release-3.7
Automated cherry pick of #10037: feat(monitor): monitor alert policy add mobile notify
2021-01-28 20:49:38 +08:00
Zexi Li
924785f8d7 Merge pull request #10040 from yousong/automated-cherry-pick-of-#10039-upstream-release-3.7
Automated cherry pick of #10039: feat(cloudcommon): opslog: log joint models
2021-01-28 20:48:50 +08:00
Zexi Li
ee41e439a4 Merge pull request #10043 from rainzm/automated-cherry-pick-of-#10042-upstream-release-3.7
Automated cherry pick of #10042: Optimize the error message when logging in
2021-01-28 20:48:07 +08:00
Zexi Li
b80f005b04 Merge pull request #10054 from yousong/automated-cherry-pick-of-#10053-upstream-release-3.7
Automated cherry pick of #10053: feat(hostman): options: add sdn_allow_conntrack_invalid
2021-01-28 20:47:14 +08:00
Zexi Li
2912a9deed Merge pull request #10056 from ioito/automated-cherry-pick-of-#10055-upstream-release-3.7
Automated cherry pick of #10055: fix(region): add aliyun credit amount check
2021-01-28 20:46:51 +08:00
Zexi Li
c3b7f30bc4 Merge pull request #10060 from ioito/automated-cherry-pick-of-#10059-upstream-release-3.7
Automated cherry pick of #10059: fix(region): add huawei credit amount check
2021-01-28 20:46:09 +08:00
Zexi Li
e152e6c952 Merge pull request #10064 from ioito/automated-cherry-pick-of-#10063-upstream-release-3.7
Automated cherry pick of #10063: fix(region): avoid stuck at http request
2021-01-28 20:04:00 +08:00
Qu Xuan
f9f0716dac fix(region): avoid stuck at http request 2021-01-28 18:23:45 +08:00
Zexi Li
c978f99ed3 Merge pull request #10009 from rainzm/automated-cherry-pick-of-#10008-upstream-release-3.7
Automated cherry pick of #10008: [wip]feat(notify): support international mobile
2021-01-28 17:25:07 +08:00
Qu Xuan
d144b893f2 fix(region): add huawei credit amount check 2021-01-28 16:21:14 +08:00
Qu Xuan
5fe6909c36 fix(region): add aliyun credit amount check 2021-01-28 16:01:22 +08:00
Yousong Zhou
bf9ecdfd19 feat(hostman): options: add sdn_allow_conntrack_invalid 2021-01-28 15:29:57 +08:00
Zexi Li
82d953345f Merge pull request #10049 from ioito/automated-cherry-pick-of-#10048-upstream-release-3.7
Automated cherry pick of #10048: fix(region): secgroup priority fix
2021-01-28 15:12:08 +08:00
Qu Xuan
2d5f1a982f fix(region): secgroup priority fix 2021-01-28 14:20:47 +08:00
zhaoxiangchun
df7afc852a feat(monitor): monitor alert policy add mobile notify
1.报警策略增加短信通知
2021-01-28 11:01:47 +08:00
rainzm
851b36d74b feat(locale): update 2021-01-27 19:58:42 +08:00
rainzm
4762afc32b feat(apigateway): differentiate error messages when logging in 2021-01-27 19:58:42 +08:00
rainzm
46a1312336 feat(keystone): more specific error return during authentication
add error class UserNotFound, UserLocked, UserDisabled and WrongPassword
2021-01-27 19:58:42 +08:00
Yousong Zhou
45bef2f640 Merge pull request #10033 from yousong/automated-cherry-pick-of-#10032-upstream-release-3.7
Automated cherry pick of #10032: Feature/yousong wire bw filter
2021-01-27 18:54:11 +08:00
Yousong Zhou
456ed5f746 feat(cloudcommon): opslog: log joint models 2021-01-27 18:49:47 +08:00
Qu Xuan
199a7d678e fix(region): avoid worker discarded after state unchanged 2021-01-27 14:58:58 +08:00
Zexi Li
05cac2ff65 Merge pull request #10001 from lvyangyang/automated-cherry-pick-of-#9963-upstream-release-3.7
Automated cherry pick of #9963: feat(region): azure rds
2021-01-27 14:38:18 +08:00
Yousong Zhou
9844d1c29f feat(climc): wires: allow filter by bandwidth 2021-01-27 10:33:29 +08:00
Yousong Zhou
104e5c5c07 feat(region): wire: allow filter by bandwidth 2021-01-27 10:33:29 +08:00
Zexi Li
1fb28e3dc5 Merge pull request #9945 from rainzm/automated-cherry-pick-of-#9944-upstream-release-3.7
Automated cherry pick of #9944: fix(notify): add index fro receiver_notification
2021-01-27 09:05:55 +08:00
Zexi Li
e92d8a7345 Merge pull request #10020 from zhaoxiangchun/automated-cherry-pick-of-#10019-upstream-release-3.7
Automated cherry pick of #10019: fix(monitor): modify alertrecord list input
2021-01-27 09:04:59 +08:00
Zexi Li
cf2e07bbdd Merge pull request #10029 from lvyangyang/automated-cherry-pick-of-#10002-upstream-release-3.7
Automated cherry pick of #10002: fix(region): vpcpeering error message translation
2021-01-27 09:03:53 +08:00
Zexi Li
50999cc5e5 Merge pull request #10026 from ioito/automated-cherry-pick-of-#10025-upstream-release-3.7
Automated cherry pick of #10025: fix(region): purge snapshot with not status check
2021-01-27 09:02:14 +08:00
Zexi Li
34b2edd6cd Merge pull request #10031 from ioito/automated-cherry-pick-of-#10030-upstream-release-3.7
Automated cherry pick of #10030: fix(cloudid): fix azure saml provider delete error
2021-01-27 09:00:07 +08:00
Qu Xuan
9ff20ed93d fix(cloudid): fix azure saml provider delete error 2021-01-26 16:49:30 +08:00
lvyangyang
d4878cc7af fix(region): vpcpeering error message translation 2021-01-26 03:17:55 -05:00
Zexi Li
ed2d44ec2e Merge pull request #10021 from ioito/automated-cherry-pick-of-#10018-upstream-release-3.7
Automated cherry pick of #10018: fix(region): optimized secgroup rule sync
2021-01-26 14:53:30 +08:00
Qu Xuan
b9c344e3df fix(region): purge snapshot with not status check 2021-01-26 14:48:35 +08:00
Qu Xuan
633734719f fix(region): optimized secgroup rule sync 2021-01-26 11:58:27 +08:00
zhaoxiangchun
e8a8d121fb fix(monitor): modify alertrecord list input
1.修改资源类型查询参数
2021-01-26 10:25:04 +08:00
Zexi Li
bc90431ef7 Merge pull request #10011 from swordqiu/automated-cherry-pick-of-#10010-upstream-release-3.7
Automated cherry pick of #10010: fix(region): exported number of vpcs less than listed
2021-01-25 21:06:20 +08:00
Zexi Li
3c79e384c9 Merge pull request #10004 from wanyaoqi/automated-cherry-pick-of-#10003-upstream-release-3.7
Automated cherry pick of #10003: fix(host): fix wait time after execute mount fuse fs
2021-01-25 21:04:54 +08:00
Zexi Li
46c4521011 Merge pull request #10014 from swordqiu/automated-cherry-pick-of-#10013-upstream-release-3.7
Automated cherry pick of #10013: fix(keystone): user create without password can login with any password
2021-01-25 21:03:26 +08:00
Qiu Jian
bc0a4a7b6f fix(keystone): user create without password can login with any password 2021-01-23 23:50:59 +08:00
yunion-ci-robot
732f4756a0 Merge pull request #9996 from ioito/automated-cherry-pick-of-#9995-upstream-release-3.7
Automated cherry pick of #9995: fix(region): aws not support create server with public ip
2021-01-23 22:48:39 +08:00
Qiu Jian
298fe5d908 fix(region): exported number of vpcs less than listed 2021-01-23 20:11:02 +08:00
rainzm
bdb6df6e4d feat(notify): support international mobile 2021-01-22 20:04:15 +08:00
wanyaoqi
ad2d472d0d fix(host): fix wait time after mount fuse fs 2021-01-22 19:18:51 +08:00
lvyangyang
378b7d39b1 feat(region): azure rds 2021-01-22 04:32:45 -05:00
yunion-ci-robot
9e7cb17c01 Merge pull request #10000 from swordqiu/automated-cherry-pick-of-#9999-upstream-release-3.7
Automated cherry pick of #9999: fix(apigateway): recover remove apigateway locale messages
2021-01-22 11:21:03 +08:00
yunion-ci-robot
53d5b53a70 Merge pull request #9994 from swordqiu/automated-cherry-pick-of-#9993-upstream-release-3.7
Automated cherry pick of #9993: fix(apigateway): getRegions return value of api_server
2021-01-22 11:20:04 +08:00
Qiu Jian
e65d6cdf26 fix(apigateway): recover remove apigateway locale messages 2021-01-22 10:49:26 +08:00
Qu Xuan
c49ceb0b93 fix(region): aws not support create server with public ip 2021-01-22 10:44:15 +08:00
Qiu Jian
6549d886c9 fix(apigateway): getRegions return value of api_server 2021-01-22 10:26:24 +08:00
Zexi Li
c2565b2053 Merge pull request #9967 from ioito/automated-cherry-pick-of-#9966-upstream-release-3.7
Automated cherry pick of #9966: fix(cloudevent): update aliyun lookupevent api
2021-01-22 02:53:32 +08:00
Zexi Li
8b12f19ce9 Merge pull request #9990 from swordqiu/automated-cherry-pick-of-#9989-upstream-release-3.7
Automated cherry pick of #9989: fix(keystone): allow delete sso imported non-local user
2021-01-22 02:49:28 +08:00
Zexi Li
7ccaa6b12e Merge pull request #9992 from swordqiu/automated-cherry-pick-of-#9991-upstream-release-3.7
Automated cherry pick of #9991: fix(cloudid): saml navigation template support i18n
2021-01-22 02:48:34 +08:00
Zexi Li
80605166a8 Merge pull request #9975 from yousong/automated-cherry-pick-of-#9974-upstream-release-3.7
Automated cherry pick of #9974: fix(region): cloudaccount: allow only one sync func in flight
2021-01-22 02:47:57 +08:00
Qiu Jian
e3fb7729dd fix(cloudid): saml navigation template support i18n
saml navigation template support i18n
2021-01-22 00:54:40 +08:00
Zexi Li
2d9b6a3691 Merge pull request #9985 from ioito/automated-cherry-pick-of-#9973-upstream-release-3.7
Automated cherry pick of #9973: fix(region): avoid clean all rules when sync secgroups
2021-01-22 00:38:53 +08:00
Qiu Jian
6428ca9a15 fix(keystone): allow delete sso imported non-local user
allow delete SSO imported non-local users
2021-01-21 23:50:49 +08:00
Zexi Li
366aa025d4 Merge pull request #9982 from rainzm/automated-cherry-pick-of-#9981-upstream-release-3.7
Automated cherry pick of #9981: fix(notify): send websocket messages according to language preference
2021-01-21 21:33:06 +08:00
Zexi Li
7d6b04b726 Merge pull request #9980 from rainzm/automated-cherry-pick-of-#9979-upstream-release-3.7
Automated cherry pick of #9979: Send SMS notification for abnormal login
2021-01-21 21:20:55 +08:00
Qu Xuan
18ba99747a fix(region): avoid clean all rules when sync secgroups 2021-01-21 21:20:35 +08:00
rainzm
4f4538834a fix(notify): send websocket messages according to language preference 2021-01-21 19:47:35 +08:00
rainzm
15cd898080 fix(notify): choose template in NotifyFilter 2021-01-21 18:57:40 +08:00
rainzm
bab03027c1 feat(cloudcommon): send message with mobile in NotifyWithTag 2021-01-21 18:57:40 +08:00
Yousong Zhou
2940c350c2 fix(region): cloudaccount: allow only one sync func in flight
Ref https://github.com/yunionio/onecloud/pull/6859
2021-01-21 16:28:56 +08:00
Qu Xuan
22a41fb055 fix(cloudevent): update aliyun lookupevent api 2021-01-21 15:18:00 +08:00
Zexi Li
be0317f5f6 Merge pull request #9959 from ioito/automated-cherry-pick-of-#9958-upstream-release-3.7
Automated cherry pick of #9958: fix(cloudid): add en-US html templte
2021-01-21 14:43:26 +08:00
Zexi Li
3a969b8d36 Merge pull request #9951 from zhaoxiangchun/automated-cherry-pick-of-#9950-upstream-release-3.7
Automated cherry pick of #9950: feat(monitor): Lists the records that are currently alarting
2021-01-21 14:31:55 +08:00
zhaoxiangchun
7e9dfe0f9a feat(monitor): Lists the records that are currently alarting 2021-01-21 12:52:11 +08:00
Zexi Li
bd1ef35b51 Merge pull request #9961 from zhaoxiangchun/automated-cherry-pick-of-#9960-upstream-release-3.7
Automated cherry pick of #9960: fix(monitor): domain view can list scope is domain or project alertrecords; fix nodata alert return info
2021-01-21 12:45:11 +08:00
Zexi Li
3f9982ecd1 Merge pull request #9949 from rainzm/automated-cherry-pick-of-#9948-upstream-release-3.7
Automated cherry pick of #9948: feat(keystone,apigateway): return a readable message when the user is locked or disabled
2021-01-20 20:05:58 +08:00
Zexi Li
7ef1b39a48 Merge pull request #9965 from yousong/automated-cherry-pick-of-#9964-upstream-release-3.7
Automated cherry pick of #9964: climc: costreports: fix bad struct tag
2021-01-20 18:47:28 +08:00
Yousong Zhou
229c024729 climc: costreports: fix bad struct tag
panic: Invalid structTag: help:"period of cost report send, example:"month/week/day" json:"period_type"

Fixes b803de0705 ("add cost report module")
2021-01-20 16:28:52 +08:00
zhaoxiangchun
5c12f9e1fe fix(monitor): domain view can list scope is domain or project alertrecords; fix nodata alert return info 2021-01-20 11:51:04 +08:00
Qu Xuan
49c90a3814 fix(cloudid): add en-US html templte 2021-01-20 10:33:48 +08:00
Zexi Li
6468091fca Merge pull request #9935 from rainzm/automated-cherry-pick-of-#9934-upstream-release-3.7
Automated cherry pick of #9934: feat(notify): clean data for receiver_notifications
2021-01-20 03:19:06 +08:00
Zexi Li
e71e7c695f Merge pull request #9943 from ioito/automated-cherry-pick-of-#9942-upstream-release-3.7
Automated cherry pick of #9942: fix(cloudid): azure saml confirm
2021-01-20 03:08:00 +08:00
Zexi Li
b9bedffd6a Merge pull request #9953 from ioito/automated-cherry-pick-of-#9952-upstream-release-3.7
Automated cherry pick of #9952: fix(region): fix zstack delete server with local disks
2021-01-20 02:25:30 +08:00
yunion-ci-robot
711300efa3 Merge pull request #9957 from swordqiu/automated-cherry-pick-of-#9956-upstream-release-3.7
Automated cherry pick of #9956: fix(keystone): allow filter identity_providers with name of ssoDomain
2021-01-20 02:23:33 +08:00
Qiu Jian
db7a921785 fix(keystone): allow filter identity_providers with name of ssoDomain
allow filter identity_providers with name of ssoDomain
2021-01-20 01:05:57 +08:00
Qu Xuan
9d93ddf9aa fix(region): fix zstack delete server with local disks 2021-01-19 18:09:54 +08:00
rainzm
9c4fd94d7a feat(keystone,apigateway): return a readable message when the user is locked or disabled 2021-01-19 17:33:24 +08:00
rainzm
3063a7fdff fix(notify): add index fro receiver_notification 2021-01-19 15:50:20 +08:00
Qu Xuan
f00bc6d19f fix(cloudid): azure saml confirm 2021-01-19 03:34:23 +08:00
yunion-ci-robot
8615a710d9 Merge pull request #9939 from ioito/automated-cherry-pick-of-#9938-upstream-release-3.7
Automated cherry pick of #9938: fix(region): azure default subscription id
2021-01-18 21:40:20 +08:00
Qu Xuan
8eb682c4bc fix(region): azure default subscription id 2021-01-18 21:24:18 +08:00
rainzm
b292982fc5 feat(notify): clean data for receiver_notifications 2021-01-18 19:47:21 +08:00
Zexi Li
d505dd7e13 Merge pull request #9931 from rainzm/automated-cherry-pick-of-#9930-upstream-release-3.7
Automated cherry pick of #9930: fix(keystone): don't send the administrator’s message to the party
2021-01-18 18:04:39 +08:00
Zexi Li
55b49c71d7 Merge pull request #9932 from ioito/automated-cherry-pick-of-#9919-upstream-release-3.7
Automated cherry pick of #9919: Hotfix/qx azure saml
2021-01-18 18:03:39 +08:00
Qu Xuan
0752512581 feat(cloudid): add azure saml 2021-01-18 15:10:13 +08:00
rainzm
c5fd651604 fix(keystone): don't send the administrator’s message to the party 2021-01-18 14:58:26 +08:00
yunion-ci-robot
373da788d3 Merge pull request #9921 from rainzm/automated-cherry-pick-of-#9920-upstream-release-3.7
Automated cherry pick of #9920: feat(keystone): add options to set admin and domain admin role to notify
2021-01-18 12:11:24 +08:00
Zexi Li
575f4d6e5f Merge pull request #9926 from rainzm/automated-cherry-pick-of-#9925-upstream-release-3.7
Automated cherry pick of #9925: Notify Optimization
2021-01-18 11:47:01 +08:00
rainzm
75b375bc78 fix(notify): add a time limit for resending notifications 2021-01-18 11:13:57 +08:00
rainzm
094b85773f feat(notify): delete the notification 1 month ago and remove the data migration 2021-01-18 11:13:57 +08:00
Zexi Li
8cbd07a7ef Merge pull request #9923 from rainzm/automated-cherry-pick-of-#9922-upstream-release-3.7
Automated cherry pick of #9922: fix(notify): remote 'lang' filter when contact type is 'mobile'
2021-01-18 10:24:16 +08:00
rainzm
97e9be3b27 fix(notify): remote 'lang' filter when contact type is 'mobile' 2021-01-17 20:55:59 +08:00
rainzm
988c90e8f6 fix(keystone): correctly pass domain id to role-assignments 2021-01-17 20:52:18 +08:00
rainzm
1b96a290d0 feat(keystone): add options to set admin and domain admin role to notify 2021-01-17 20:52:18 +08:00
yunion-ci-robot
dcb7beddda Merge pull request #9911 from ioito/automated-cherry-pick-of-#9910-upstream-release-3.7
Automated cherry pick of #9910: fix(region): avoid azure detach disk failed
2021-01-17 11:40:31 +08:00
Jian Qiu
2f3a3766c5 fix(cloudcommon): missing set_meta opslog (#9915)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-01-17 11:33:09 +08:00
Qu Xuan
8d75e55b43 fix(region): avoid azure detach disk failed 2021-01-16 18:37:05 +08:00
yunion-ci-robot
04c074c453 Merge pull request #9908 from zhaoxiangchun/automated-cherry-pick-of-#9907-upstream-release-3.7
Automated cherry pick of #9907: feat(monitor): influxQuery add P95 reduce
2021-01-16 12:38:30 +08:00
zhaoxiangchun
2b22f227a6 feat(monitor): query reduce percentile
1.增加reduce.type == percentile ,进行对应数值处理
2021-01-16 12:00:27 +08:00
Zexi Li
6d8bb9fe5d Merge pull request #9903 from bistuzx/automated-cherry-pick-of-#9902-upstream-release-3.7
Automated cherry pick of #9902: feat(meter): add cost report module
2021-01-15 18:19:36 +08:00
bistuzx@163.com
cc175615f5 add cost report module 2021-01-15 18:02:58 +08:00
Zexi Li
83f0ba6abb Merge pull request #9892 from rainzm/automated-cherry-pick-of-#9891-upstream-release-3.7
Automated cherry pick of #9891: Repair of abnormal login notification
2021-01-15 10:31:23 +08:00
Zexi Li
58d4518514 Merge pull request #9889 from ioito/automated-cherry-pick-of-#9888-upstream-release-3.7
Automated cherry pick of #9888: fix(cloudid): optimized saml sso
2021-01-15 09:08:10 +08:00
Zexi Li
f4cb599b2c Merge pull request #9878 from ioito/automated-cherry-pick-of-#9877-upstream-release-3.7
Automated cherry pick of #9877: fix(cloudevent): optimized cloudevent sync
2021-01-14 23:56:42 +08:00
Zexi Li
9ad12ffaf3 Merge pull request #9894 from rainzm/automated-cherry-pick-of-#9893-upstream-release-3.7
Automated cherry pick of #9893: refactor(climc): remove dependence for `yunion.io/x/pkg/cloudcommon/db`
2021-01-14 23:51:49 +08:00
Zexi Li
b5c8bc746f Merge pull request #9896 from ioito/automated-cherry-pick-of-#9895-upstream-release-3.7
Automated cherry pick of #9895: fix(region): update google latitude and langtitude
2021-01-14 23:49:56 +08:00
Zexi Li
f2c4c3fa75 Merge pull request #9900 from yousong/automated-cherry-pick-of-#9899-upstream-release-3.7
Automated cherry pick of #9899: feat(vpcs): list: add order_by_network_count
2021-01-14 23:47:28 +08:00
Yousong Zhou
3b9412056b feat(vpcs): list: add order_by_network_count 2021-01-14 22:04:18 +08:00
Qu Xuan
dd3da3c4c9 fix(region): update google latitude and langtitude 2021-01-14 20:52:49 +08:00
rainzm
8e128a9863 refactor(climc): remove dependence for yunion.io/x/pkg/cloudcommon/db 2021-01-14 19:14:13 +08:00
rainzm
b31f69926c feat(notify): show only users under the domain in the recipient details of the message 2021-01-14 18:25:51 +08:00
rainzm
c891169384 fix(notify): be compatible with webconsole type hack 2021-01-14 18:25:51 +08:00
rainzm
9c630dc313 fix(keystone): clear failed auth when enable user 2021-01-14 18:25:51 +08:00
rainzm
6976851993 fix(keystone): send to the admin and the party separately when Abnormal login occurs 2021-01-14 18:25:51 +08:00
rainzm
06634a63ab fix(build): chage template of 'Abnormal Login' 2021-01-14 18:25:51 +08:00
rainzm
87a8bc1a03 feat(cloudcommon): send it directly if there is no template corresponding to the topic 2021-01-14 18:25:51 +08:00
rainzm
cafe1d7b53 feat(notify): mandatory update of VERIFY and USER_LOGIN_EXCEPTION templates 2021-01-14 18:25:51 +08:00
Qu Xuan
0165d83915 fix(cloudid): optimized saml sso 2021-01-14 18:14:04 +08:00
Zexi Li
4278c23583 Merge pull request #9885 from ioito/automated-cherry-pick-of-#9856-upstream-release-3.7
Automated cherry pick of #9856: fix(region): optimized azure reset linux pasword
2021-01-14 17:39:40 +08:00
Zexi Li
8080368233 Merge pull request #9883 from rainzm/automated-cherry-pick-of-#9882-upstream-release-3.7
Automated cherry pick of #9882: Fix Notifition about Panic_Error Send too much
2021-01-14 14:50:02 +08:00
Qu Xuan
9aa8a3ab69 fix(region): optimized azure reset linux pasword 2021-01-14 14:43:27 +08:00
rainzm
d28a12d6e7 feat(notify): change default verify expire interval 5m => 2m 2021-01-14 14:25:35 +08:00
rainzm
8c717e1ae6 fix(notify): update receiver's lang when update event occurs 2021-01-14 14:25:35 +08:00
rainzm
36853a6cf2 fix(notify): panic for err 2021-01-14 14:25:35 +08:00
Zexi Li
25e95ac392 Merge pull request #9881 from zhaoxiangchun/automated-cherry-pick-of-#9879-upstream-release-3.7
Automated cherry pick of #9879: feat(monitor): influxQuery add P95 reduce
2021-01-14 11:05:34 +08:00
zhaoxiangchun
1b71ba64b7 feat(monitor): influxQuery add P95 reduce 2021-01-14 10:50:56 +08:00
Qu Xuan
a5834180fd fix(cloudevent): optimized cloudevent sync 2021-01-14 09:51:58 +08:00
Zexi Li
09438f56dd Merge pull request #9869 from rainzm/automated-cherry-pick-of-#9868-upstream-release-3.7
Automated cherry pick of #9868: Send notification when abnormal login occurs
2021-01-14 09:38:23 +08:00
Zexi Li
5242dc672d Merge pull request #9871 from swordqiu/automated-cherry-pick-of-#9870-upstream-release-3.7
Automated cherry pick of #9870: feature(climc): add policy-clone command
2021-01-14 09:37:35 +08:00
Zexi Li
1246fbc9a4 Merge pull request #9873 from swordqiu/automated-cherry-pick-of-#9872-upstream-release-3.7
Automated cherry pick of #9872: fix(region): AWS buckets in us-east-1 have null location
2021-01-14 09:36:24 +08:00
Qiu Jian
52e2051dfc fix(region): AWS buckets in us-east-1 have null location 2021-01-14 09:12:13 +08:00
Qiu Jian
c03325975d feature(climc): add policy-clone command 2021-01-14 03:31:43 +08:00
Zexi Li
c474123090 Merge pull request #9866 from zhaoxiangchun/automated-cherry-pick-of-#9865-upstream-release-3.7
Automated cherry pick of #9865: feat(monitor): support monitor overview influxdb query pass through
2021-01-13 21:12:07 +08:00
rainzm
f41c840d85 feat(keystone): support alertNotify when abnormal login occur 2021-01-13 20:01:13 +08:00
rainzm
c22f221898 feat(keystone): add GetDefaultAdminSession 2021-01-13 20:01:12 +08:00
rainzm
afbb4a0470 feat(keystone): support projectDomainId in SAssignmentManager.FetchAll 2021-01-13 20:01:12 +08:00
rainzm
80092443a7 feat(cloudcommon): expand notifyclient
1. support new params in creating notification
2. adapt keystone because `auth.GetAdminSession` doesn't work in keystone
2021-01-13 20:01:12 +08:00
rainzm
f9fa70d32a feat(notify): add params for create notification
1. tag, usually used to filter
2. metadata
3. ignore_nonexistent_receiver
2021-01-13 20:01:12 +08:00
rainzm
1669947a54 feat(notify): add template about topic USER_LOGIN_EXCEPTION 2021-01-13 20:01:12 +08:00
zhaoxiangchun
3f51fa67ec feat(monitor): support monitor overview influxdb query pass through
1.监控总览支持查询穿透
2021-01-13 16:19:13 +08:00
Zexi Li
fca98383c0 Merge pull request #9863 from rainzm/automated-cherry-pick-of-#9862-upstream-release-3.7
Automated cherry pick of #9862: fix(notify): set status after sending
2021-01-13 16:10:42 +08:00
rainzm
9a9c9acb8e fix(notify): set status after sending 2021-01-13 15:48:44 +08:00
Zexi Li
9097d32d33 Merge pull request #9861 from lvyangyang/automated-cherry-pick-of-#9860-upstream-release-3.7
Automated cherry pick of #9860: fix(region): update tags status
2021-01-13 15:19:42 +08:00
Zexi Li
20bb86cf43 Merge pull request #9858 from rainzm/automated-cherry-pick-of-#9857-upstream-release-3.7
Automated cherry pick of #9857: fix(notify): set ModelManager in Receiver()
2021-01-13 14:41:31 +08:00
lvyangyang
fa9e5fd840 fix(region): update tags status 2021-01-13 01:18:56 -05:00
rainzm
bb7b179c4e fix(notify): set ModelManager in Receiver() 2021-01-13 09:55:46 +08:00
Zexi Li
5df3bde1f0 Merge pull request #9854 from ioito/automated-cherry-pick-of-#9690-upstream-release-3.7
Automated cherry pick of #9690: fix(region): optimized secgroup rule sync
2021-01-12 21:38:03 +08:00
Zexi Li
3b6291092b Merge pull request #9855 from lvyangyang/automated-cherry-pick-of-#9829-upstream-release-3.7
Automated cherry pick of #9829: fix(region): tag bugs fix
2021-01-12 21:37:22 +08:00
lvyangyang
9a10a34601 fix(region): tag bugs fix -azure tags replace/refresh -tags action logs -忽略创建中主机的metadate同步任务 2021-01-12 04:10:49 -05:00
Qu Xuan
6eec828ee3 fix(region): optimized secgroup rule sync 2021-01-12 10:37:03 +08:00
Zexi Li
defe42892f Merge pull request #9848 from rainzm/automated-cherry-pick-of-#9847-upstream-release-3.7
Automated cherry pick of #9847: feat(notify): send notifications of different templates according to language
2021-01-12 10:29:41 +08:00
Zexi Li
58f599ebe8 Merge pull request #9840 from ioito/automated-cherry-pick-of-#9839-upstream-release-3.7
Automated cherry pick of #9839: fix(cloudevent): add aws cloudevent
2021-01-12 10:27:44 +08:00
Zexi Li
99da7238cb Merge pull request #9837 from swordqiu/automated-cherry-pick-of-#9836-upstream-release-3.7
Automated cherry pick of #9836: fix(keystone): add suggestion previliges to meter admin
2021-01-12 10:26:26 +08:00
Zexi Li
e63735f999 Merge pull request #9842 from tb365/automated-cherry-pick-of-#9841-upstream-release-3.7
Automated cherry pick of #9841: server skus filter by mem size fix
2021-01-11 22:37:30 +08:00
Zexi Li
aa89db8a6c Merge pull request #9845 from yousong/automated-cherry-pick-of-#9844-upstream-release-3.7
Automated cherry pick of #9844: Feature/yousong i18n apigateway
2021-01-11 22:27:39 +08:00
Zexi Li
49f3814145 Merge pull request #9853 from zhaoxiangchun/automated-cherry-pick-of-#9851-upstream-release-3.7
Automated cherry pick of #9851: fix(monitor): monitor overview throw err
2021-01-11 22:25:45 +08:00
zhaoxiangchun
23f80dced4 fix(monitor): monitor overview throw err 2021-01-11 21:26:43 +08:00
rainzm
ebc32e693d feat(notify): send notifications of different templates according to language 2021-01-11 19:43:18 +08:00
Yousong Zhou
1d1a5c327a apigateway: try return httperrors 2021-01-11 17:50:13 +08:00
Yousong Zhou
8a922ad81f locales: generate 2021-01-11 17:50:13 +08:00
Yousong Zhou
ac1232f94e locales: zh-CN: add some translations 2021-01-11 17:50:13 +08:00
Yousong Zhou
583d1889f7 apigateway: reword error messages 2021-01-11 17:50:12 +08:00
Yousong Zhou
a012496cbb keystone: reword error messages 2021-01-11 17:50:12 +08:00
Yousong Zhou
9766594dac build: y18n: add apigateway 2021-01-11 17:50:12 +08:00
tangbin
9c7d6f54da server skus filter by mem size fix 2021-01-11 14:41:24 +08:00
Qu Xuan
e91b5dbc32 fix(cloudevent): add aws cloudevent 2021-01-11 14:25:23 +08:00
Qiu Jian
5ef93ed03c fix(keystone): add suggestion previliges to meter admin 2021-01-11 02:07:20 +08:00
Zexi Li
f6f975709a Merge pull request #9797 from ioito/automated-cherry-pick-of-#9796-upstream-release-3.7
Automated cherry pick of #9796: fix(region): allowed to manually refresh cloudimage
2021-01-09 20:32:24 +08:00
Zexi Li
33346e396e Merge pull request #9823 from ioito/automated-cherry-pick-of-#9822-upstream-release-3.7
Automated cherry pick of #9822: fix(apigateway): count city servers
2021-01-09 20:11:54 +08:00
Zexi Li
fe916c1d03 Merge pull request #9832 from tb365/automated-cherry-pick-of-#9830-upstream-release-3.7
Automated cherry pick of #9830: loadbalancer add lb purge validate
2021-01-09 19:58:35 +08:00
Zexi Li
bf91a5b6b3 Merge pull request #9794 from tb365/automated-cherry-pick-of-#9793-upstream-release-3.7
Automated cherry pick of #9793: feat(region): server sku os_arch & cpu_arch checking
2021-01-09 19:57:10 +08:00
Zexi Li
af07843325 Merge pull request #9819 from zhaoxiangchun/automated-cherry-pick-of-#9817-upstream-release-3.7
Automated cherry pick of #9817: fix(monitor): fix monitoroverview and meter send alerting info to  notify
2021-01-09 19:56:11 +08:00
Zexi Li
469fbc0868 Merge pull request #9826 from rainzm/automated-cherry-pick-of-#9825-upstream-release-3.7
Automated cherry pick of #9825: fix(notify): avoid duplication of notification names
2021-01-09 19:54:24 +08:00
tangbin
f6a6652600 loadbalancer add lb purge validate 2021-01-09 19:21:00 +08:00
rainzm
78c16bfc03 fix(notify): avoid duplication of notification names 2021-01-09 18:45:50 +08:00
yunion-ci-robot
8b373f2d57 Merge pull request #9821 from bistuzx/automated-cherry-pick-of-#9820-upstream-release-3.7
Automated cherry pick of #9820: fix(meter): add budget set alert log
2021-01-09 18:41:08 +08:00
Qu Xuan
34b12241f9 fix(apigateway): count city servers 2021-01-09 17:06:44 +08:00
yunion-ci-robot
b8d2d82227 Merge pull request #9809 from tb365/automated-cherry-pick-of-#9808-upstream-release-3.7
Automated cherry pick of #9808: fix(region): aws elb backendgroup sync bugfix
2021-01-09 16:40:13 +08:00
bistuzx@163.com
54d4356d33 add budget set alert log 2021-01-09 16:16:05 +08:00
tangbin
6c24640476 fix(region): aws elb backendgroup sync bugfix 2021-01-09 16:12:17 +08:00
zhaoxiangchun
107c1745d2 fix(monitor): fix monitoroverview and meter send alerting info to notify
1.调整报警总览中今日报警数量计算逻辑
2.报警模版的web路径支持跳转到不同web页面:监控报警和meter
3.nodata 前端可配制功能fix
2021-01-09 15:33:36 +08:00
Zexi Li
bc3ecca942 Merge pull request #9799 from ioito/automated-cherry-pick-of-#9798-upstream-release-3.7
Automated cherry pick of #9798: fix(region): optimized for qcloud prepaid instance delete
2021-01-09 15:33:09 +08:00
Zexi Li
6f7f63a2ec Merge pull request #9812 from ioito/automated-cherry-pick-of-#9811-upstream-release-3.7
Automated cherry pick of #9811: fix(region): avoid cachedimage never be in sync when it deleted
2021-01-09 15:31:56 +08:00
Zexi Li
f4020ad95a Merge pull request #9814 from rainzm/automated-cherry-pick-of-#9813-upstream-release-3.7
Automated cherry pick of #9813: fix(notify): loose phone number rules in updating receiver
2021-01-09 13:03:46 +08:00
rainzm
9503546d0d fix(notify): loose phone number rules in updating receiver 2021-01-09 11:31:53 +08:00
Qu Xuan
b9f3e329a1 fix(region): avoid cachedimage never be in sync when it deleted 2021-01-08 20:56:37 +08:00
Zexi Li
8228a32e6b Merge pull request #9803 from rainzm/automated-cherry-pick-of-#9802-upstream-release-3.7
Automated cherry pick of #9802: fix(notify): loose mobile phone number matching rules
2021-01-08 14:19:46 +08:00
rainzm
50c8636cec fix(notify): loose mobile phone number matching rules 2021-01-08 12:02:22 +08:00
Qu Xuan
5e418ab66b fix(region): optimized for qcloud prepaid instance delete 2021-01-08 11:22:08 +08:00
tangbin
0ac88cfe0a feat(region): server sku os_arch & cpu_arch checking 2021-01-08 10:35:46 +08:00
Qu Xuan
b056c0ce72 fix(region): allowed to manually refresh cloudimage 2021-01-07 21:38:39 +08:00
Zexi Li
24e8152161 Merge pull request #9791 from wanyaoqi/automated-cherry-pick-of-#9790-upstream-release-3.7
Automated cherry pick of #9790: fix(host-deployer): add retry on check is vgactived
2021-01-07 21:18:07 +08:00
Zexi Li
b9ec6f76dd Merge pull request #9786 from yousong/automated-cherry-pick-of-#9785-upstream-release-3.7
Automated cherry pick of #9785: guest_deploy_task: log other deploy details with i18n
2021-01-07 21:16:34 +08:00
Zexi Li
f7d8416cd8 Merge pull request #9783 from zhaoxiangchun/automated-cherry-pick-of-#9782-upstream-release-3.7
Automated cherry pick of #9782: fix(monitor,suggestion): order commonalert metric and modify alertresoruce type value and add suggestion models climc
2021-01-07 21:14:42 +08:00
wanyaoqi
4841fbdb12 fix(host-deployer): add retry on check is vgactived 2021-01-07 19:27:15 +08:00
Yousong Zhou
827c298bc5 guest_deploy_task: log other deploy details with i18n
Fixes 9f350392 ("add service tag for actionlog")
2021-01-07 11:37:50 +08:00
zhaoxiangchun
73ab024df8 fix(monitor,suggestion): order commonalert metric and modify alertresoruce type value and add suggestion models climc
1.修改监控metric排序
2.统一报警资源type和监控报警中res_type 进行统一,前端可以统一展示
3.增加suggestion服务相关climc
2021-01-06 21:31:02 +08:00
Zexi Li
77227ca67f Merge pull request #9779 from ioito/automated-cherry-pick-of-#9778-upstream-release-3.7
Automated cherry pick of #9778: fix(region): avoid auzre request timeout
2021-01-06 21:23:22 +08:00
Zexi Li
e12a3efd18 Merge pull request #9776 from ioito/automated-cherry-pick-of-#9775-upstream-release-3.7
Automated cherry pick of #9775: fix(cloudevent): default policy
2021-01-06 21:23:01 +08:00
Zexi Li
4630e15da5 Merge pull request #9772 from ioito/automated-cherry-pick-of-#9771-upstream-release-3.7
Automated cherry pick of #9771: fix(region): avoid panic when register service not work
2021-01-06 21:22:12 +08:00
Qu Xuan
d3a5317245 fix(region): avoid auzre request timeout 2021-01-06 15:33:32 +08:00
Qu Xuan
0ff3997a21 fix(cloudevent): default policy 2021-01-06 11:45:36 +08:00
Zexi Li
28fe044afc Merge pull request #9770 from ioito/automated-cherry-pick-of-#9767-upstream-release-3.7
Automated cherry pick of #9767: fix(region): aliyun support public ip
2021-01-05 21:36:36 +08:00
Zexi Li
1957800096 Merge pull request #9769 from ioito/automated-cherry-pick-of-#9768-upstream-release-3.7
Automated cherry pick of #9768: fix(region): sync cachedimage info
2021-01-05 21:28:39 +08:00
Qu Xuan
da35a63586 fix(region): avoid panic when register service not work 2021-01-05 21:19:07 +08:00
Qu Xuan
54ba8cfe43 fix(region): aliyun support public ip 2021-01-05 20:37:49 +08:00
Qu Xuan
124f280fef fix(region): sync cachedimage info 2021-01-05 20:31:54 +08:00
Zexi Li
b7901c2834 Merge pull request #9763 from wanyaoqi/automated-cherry-pick-of-#9762-upstream-release-3.7
Automated cherry pick of #9762: feat(region): stop guest before freeze
2021-01-05 18:32:42 +08:00
Zexi Li
0e272e57d2 Merge pull request #9761 from lvyangyang/automated-cherry-pick-of-#9760-upstream-release-3.7
Automated cherry pick of #9760: fix(region): replace cloud tags
2021-01-05 18:31:24 +08:00
wanyaoqi
3c7f2ff16d feat(region): stop guest before freeze 2021-01-05 15:15:40 +08:00
lvyangyang
499f4624b4 fix(region): replace cloud tags 2021-01-05 14:48:46 +08:00
Zexi Li
857c9f2278 Merge pull request #9759 from zhaoxiangchun/automated-cherry-pick-of-#9757-upstream-release-3.7
Automated cherry pick of #9757: fix(monitor): modify totalrecord query
2021-01-04 15:57:13 +08:00
zhaoxiangchun
5e054a25ad fix(monitor): modify totalrecord query
1. influxdb 增加abs function
2. 调整total报警记录接口query
2021-01-04 15:41:26 +08:00
Jian Qiu
7e60397c15 Automated cherry pick of #9752: feature(region): sync cloud tags to local user tags (#9753)
* refact(region): sync cloud tags to user tags

* fix(region): sync exttags to user tags

Co-authored-by: lvyangyang <lvyangyang@yunion.cn>
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-01-03 00:18:24 +08:00
Zexi Li
52ad3d961c Merge pull request #9755 from zhaoxiangchun/automated-cherry-pick-of-#9754-upstream-release-3.7
Automated cherry pick of #9754: feat(monitor): get today alerting resource info
2020-12-31 20:23:22 +08:00
zhaoxiangchun
376d18e5eb feat(monitor): get today alerting resource info
1.提供接口获取当前时间发生报警的资源统计
2020-12-31 20:06:01 +08:00
Zexi Li
894835907c Merge pull request #9688 from ioito/automated-cherry-pick-of-#9686-upstream-release-3.7
Automated cherry pick of #9686: fix(region): skip cloud image sync error
2020-12-30 21:44:10 +08:00
Zexi Li
0ffbb8cc6e Merge pull request #9737 from zhaoxiangchun/automated-cherry-pick-of-#9735-upstream-release-3.7
Automated cherry pick of #9735: fix(monitor): modify rds,redis,oss field descriptions
2020-12-30 21:43:11 +08:00
Zexi Li
415b95dc88 Merge pull request #9732 from ioito/automated-cherry-pick-of-#9730-upstream-release-3.7
Automated cherry pick of #9730: fix(cloudevent): cloudevent is domain level resource
2020-12-30 21:42:27 +08:00
Zexi Li
1c8f957152 Merge pull request #9728 from ioito/automated-cherry-pick-of-#9727-upstream-release-3.7
Automated cherry pick of #9727: fix(region): rds list with secgorups info
2020-12-30 21:41:44 +08:00
Zexi Li
1538cf3a02 Merge pull request #9733 from wanyaoqi/automated-cherry-pick-of-#9731-upstream-release-3.7
Automated cherry pick of #9731: fix(region): server start check host memory is enough
2020-12-30 21:39:42 +08:00
Zexi Li
3daa440db9 Merge pull request #9745 from rainzm/automated-cherry-pick-of-#9744-upstream-release-3.7
Automated cherry pick of #9744: fix(esxiagent): nicIndex should be incremented
2020-12-30 21:35:51 +08:00
rainzm
02931f509f fix(esxiagent): nicIndex should be incremented 2020-12-30 19:01:26 +08:00
Zexi Li
7ff4879ee3 Merge pull request #9726 from zhaoxiangchun/automated-cherry-pick-of-#9724-upstream-release-3.7
Automated cherry pick of #9724: feat(suggestion,apigateway): add analysispredict climc
2020-12-30 18:54:48 +08:00
Zexi Li
85de670c3b Merge pull request #9743 from rainzm/automated-cherry-pick-of-#9742-upstream-release-3.7
Automated cherry pick of #9742: fix(region): obtain ProviderFactory correctly
2020-12-30 18:53:38 +08:00
rainzm
b7b903ff67 fix(region): obtain ProviderFactory correctly
The provider of the region is not necessarily the same as the resource
2020-12-30 16:29:08 +08:00
zhaoxiangchun
d88ec4c39c fix(monitor): modify rds,redis,oss field descriptions
1.修改后端redis,rds,oss desc 信息,和前端索引进行对应
2020-12-30 15:51:09 +08:00
wanyaoqi
678f2b3dd4 fix(region): server start check host memory is enough 2020-12-30 15:48:09 +08:00
Qu Xuan
84b9e1fb00 fix(cloudevent): cloudevent is domain level resource 2020-12-30 15:47:37 +08:00
Qu Xuan
5e736e1838 fix(region): rds list with secgorups info 2020-12-30 14:18:18 +08:00
zhaoxiangchun
b0293b11f6 feat(suggestion,apigateway): add analysispredict climc 2020-12-30 14:06:36 +08:00
Zexi Li
7c3b6cd52a Merge pull request #9705 from bistuzx/automated-cherry-pick-of-#9675-upstream-release-3.7
Automated cherry pick of #9675: feat(meter): add meter budget&event module
2020-12-29 23:18:31 +08:00
bistuzx@163.com
66d2820f01 fix reservation columns 2020-12-29 22:47:43 +08:00
bistuzx@163.com
fe1e9ff936 add cost&prepaid_cost to reservation 2020-12-29 22:47:43 +08:00
bistuzx@163.com
802f2d9f4d fix budget import format 2020-12-29 22:47:43 +08:00
bistuzx@163.com
2fbe01505d fix reservation import format 2020-12-29 22:47:43 +08:00
bistuzx@163.com
3d82632e96 add meter budget&event&reservation module 2020-12-29 22:47:43 +08:00
Zexi Li
37d1c7f55d Merge pull request #9721 from swordqiu/automated-cherry-pick-of-#9701-upstream-release-3.7
Automated cherry pick of #9701: fix(region): omit vpc quota check if vpc created by owner
2020-12-29 21:34:13 +08:00
Zexi Li
5c2cc0b9ee Merge pull request #9722 from swordqiu/automated-cherry-pick-of-#9719-upstream-release-3.7
Automated cherry pick of #9719: fix(cloudcommon): splitable may not initialize underlying table
2020-12-29 21:17:28 +08:00
Qiu Jian
658c59327a fix(cloudcommon): splitable may not initialize underlying table 2020-12-29 21:02:03 +08:00
Zexi Li
71eb869549 Merge pull request #9715 from wanyaoqi/automated-cherry-pick-of-#9711-upstream-release-3.7
Automated cherry pick of #9711: fix(region,host,host-deployer): sync status chekc block jobs
2020-12-29 20:43:30 +08:00
Zexi Li
5704ae496d Merge pull request #9710 from rainzm/automated-cherry-pick-of-#9693-upstream-release-3.7
Automated cherry pick of #9693: Solve the permission problem of notify to create receiver
2020-12-29 20:40:55 +08:00
Zexi Li
390b78a57c Merge pull request #9707 from rainzm/automated-cherry-pick-of-#9706-upstream-release-3.7
Automated cherry pick of #9706: feat(region): multilingual timer description
2020-12-29 20:39:26 +08:00
Qiu Jian
9081b5dc4f fix(region): omit vpc quota check if vpc created by owner
Vpc quota check is omitted if vpc is create by owner user
2020-12-29 20:28:08 +08:00
wanyaoqi
5bbf364f2b fix(region,host): sync status check block jobs 2020-12-29 15:30:58 +08:00
wanyaoqi
550159af7c fix(host-deployer): add log line on blkid failed 2020-12-29 15:30:58 +08:00
wanyaoqi
447882a003 fix(climc): host add netif add params bridge/interface 2020-12-29 15:30:58 +08:00
rainzm
377177cfd2 feat(region): multilingual timer description 2020-12-29 15:23:05 +08:00
rainzm
167a65cd0e feat(db): progressive inspection when determining the required scope 2020-12-29 15:01:34 +08:00
rainzm
ac8f20ca18 fix(notify): inject domain info in ReceiverManager.FetchOwnerId 2020-12-29 15:01:34 +08:00
Zexi Li
de6468782e Merge pull request #9699 from zhaoxiangchun/automated-cherry-pick-of-#9698-upstream-release-3.7
Automated cherry pick of #9698: fix(monitor): sore reture info:resourceType,measurement
2020-12-29 09:34:58 +08:00
--global
333c83778f fix(monitor): sore reture info:resourceType,measurement
1.对资源类型和对应的measurement进行排序输出
2020-12-28 21:41:50 +08:00
Zexi Li
d293b182f9 Merge pull request #9696 from zhaoxiangchun/automated-cherry-pick-of-#9694-upstream-release-3.7
Automated cherry pick of #9694: fix(monitor): add resType   filter
2020-12-28 21:22:32 +08:00
Zexi Li
ce3a8b2872 Merge pull request #9692 from lvyangyang/automated-cherry-pick-of-#9691-upstream-release-3.7
Automated cherry pick of #9691: feat(region): add tags implement
2020-12-28 21:21:16 +08:00
--global
ee00fd3196 fix(monitor): add resType filter
1.修复资源类型过滤失效的问题
2020-12-28 18:30:50 +08:00
lvyangyang
66009c3325 feat(region): add tags implement 2020-12-28 16:26:44 +08:00
Zexi Li
51e01d8cae Merge pull request #9685 from ioito/automated-cherry-pick-of-#9108-upstream-release-3.7
Automated cherry pick of #9108: Hotfix/qx guest delete
2020-12-28 16:01:24 +08:00
Zexi Li
b64d3d53ad Merge pull request #9689 from zhasm/automated-cherry-pick-of-#9687-upstream-release-3.7
Automated cherry pick of #9687: fix(make,buildx): 使用 buildx 编译时,拉镜像到本地
2020-12-28 14:56:21 +08:00
Zhang Dongliang
7b6ce2b054 fix(make,buildx): 使用 buildx 编译时,拉镜像到本地 2020-12-28 14:35:11 +08:00
Qu Xuan
e08f9a8f78 fix(region): skip cloud image sync error 2020-12-28 14:32:50 +08:00
Qu Xuan
6081595adf feat(region): disks and eip delete with server 2020-12-28 11:29:44 +08:00
Qu Xuan
ffc1dd2cb3 feat(region): add server delete options 2020-12-28 11:29:44 +08:00
Zexi Li
13cacee382 Merge pull request #9673 from ioito/automated-cherry-pick-of-#9540-upstream-release-3.7
Automated cherry pick of #9540: fix(region): openstack network is regional
2020-12-28 10:51:02 +08:00
Qu Xuan
e3b9757132 fix(region): openstack network is regional 2020-12-28 10:22:49 +08:00
Zexi Li
27f07529a5 Merge pull request #9682 from rainzm/automated-cherry-pick-of-#9681-upstream-release-3.7
Automated cherry pick of #9681: feat(region): make DeleteSnapshotExpiredRelease applies to postpaid vm
2020-12-27 21:06:05 +08:00
Zexi Li
8f7c5db3f7 Merge pull request #9678 from ioito/automated-cherry-pick-of-#9677-upstream-release-3.7
Automated cherry pick of #9677: optimized(region): qcloud bucket policy set and get operation
2020-12-26 20:00:50 +08:00
Zexi Li
b58dffd13f Merge pull request #9661 from tb365/automated-cherry-pick-of-#9587-upstream-release-3.7
Automated cherry pick of #9587: fix(region): cloudregion&zone add namei18n
2020-12-26 18:43:24 +08:00
rainzm
ebb29b21e0 feat(region): make DeleteSnapshotExpiredRelease applies to postpaid vm 2020-12-26 18:41:58 +08:00
Qu Xuan
addf12f43d optimized(region): qcloud bucket policy set and get operation 2020-12-26 17:42:25 +08:00
TangBin
1cca1b5685 fix(region): remove i18n fix & zone &region name support i18n 2020-12-26 17:35:42 +08:00
TangBin
7178a2d3c7 fix(region): aws sync vpc access mode bugfix 2020-12-26 17:35:42 +08:00
TangBin
d097679e47 fix(region): cloudregion&zone add namei18n 2020-12-26 17:35:42 +08:00
Zexi Li
516892ed6f Merge pull request #9674 from lvyangyang/automated-cherry-pick-of-#9628-upstream-release-3.7
Automated cherry pick of #9628: Refact tags interface
2020-12-26 16:26:34 +08:00
lvyangyang
66b97aa112 refact(region): resource tags 2020-12-26 16:13:06 +08:00
Zexi Li
82b71528a7 Merge pull request #9663 from rainzm/automated-cherry-pick-of-#9660-upstream-release-3.7
Automated cherry pick of #9660: feat(region): add options DeleteSnapshotExpiredRelease
2020-12-26 15:12:37 +08:00
Zexi Li
d1fd9cb26e Merge pull request #9672 from zexi/automated-cherry-pick-of-#9627-upstream-release-3.7
Automated cherry pick of #9627: fix(region): support rds secgroup operation
2020-12-26 12:20:19 +08:00
Qu Xuan
dddfdbd5b2 fix(region): support rds secgroup operation 2020-12-26 12:19:21 +08:00
Zexi Li
9cf77bba40 Merge pull request #9667 from lvyangyang/automated-cherry-pick-of-#9636-upstream-release-3.7
Automated cherry pick of #9636: fix(region): aws lb create tags param
2020-12-26 12:18:34 +08:00
Zexi Li
1608a1fbe8 Merge pull request #9671 from zexi/automated-cherry-pick-of-#9640-upstream-release-3.7
Automated cherry pick of #9640: fix(region): purge private cloud sku
2020-12-26 12:15:28 +08:00
Qu Xuan
1d320035b1 fix(region): purge private cloud sku 2020-12-26 12:14:46 +08:00
Zexi Li
d5132a0602 Merge pull request #9670 from zexi/automated-cherry-pick-of-#9642-upstream-release-3.7
Automated cherry pick of #9642: fix(region): apsara optimized
2020-12-26 12:13:55 +08:00
Qu Xuan
ca578cbb27 fix(region): apsara optimized 2020-12-26 12:13:24 +08:00
Zexi Li
3a74aafa08 Merge pull request #9664 from yousong/automated-cherry-pick-of-#9625-upstream-release-3.7
Automated cherry pick of #9625: Feature/yousong y18n check
2020-12-26 12:11:35 +08:00
Zexi Li
9eb0c4c163 Merge pull request #9669 from zexi/automated-cherry-pick-of-#9644-upstream-release-3.7
Automated cherry pick of #9644: feature(climc): policy save data into file
2020-12-26 12:10:01 +08:00
Qiu Jian
56d583e90b feature(climc): policy save data into file
Allow saveing policy data into file
2020-12-26 12:08:06 +08:00
Zexi Li
067c9397a6 Merge pull request #9668 from zexi/automated-cherry-pick-of-#9654-upstream-release-3.7
Automated cherry pick of #9654: fix(region): optimized azure rebuild root
2020-12-26 12:07:08 +08:00
Qu Xuan
7fb008c50b fix(region): optimized azure rebuild root 2020-12-26 12:06:02 +08:00
Zexi Li
5626f7a8ed Merge pull request #9666 from swordqiu/automated-cherry-pick-of-#9652-upstream-release-3.7
Automated cherry pick of #9652: fix(cloudevent): adjust cloudevents resource scope
2020-12-26 12:04:51 +08:00
lvyangyang
50bc20b2a2 fix(region): aws lb create tags param 2020-12-26 11:53:59 +08:00
Qiu Jian
e12eea6799 fix(cloudevent): adjust cloudevents resource scope
Change cloudevents resource scope from system to project.
2020-12-26 11:51:24 +08:00
yunion-ci-robot
b5574e365b Merge pull request #9659 from zhaoxiangchun/automated-cherry-pick-of-#9657-upstream-release-3.7
Automated cherry pick of #9657: fix(monitor): monitor notify international and 3.6 bugfix
2020-12-26 11:29:52 +08:00
Yousong Zhou
7042f97cd9 build: skip y18n-check for now
CircleCI is likely not happy with the memory usage

	/bin/sh: line 1:  4553 Killed                  y18n -chdir /root/go/src/yunion.io/x/onecloud -dir ./locales/ -out ./locales/locales.go -lang en-US,zh-CN yunion.io/x/onecloud/cmd/keystone yunion.io/x/onecloud/cmd/monitor yunion.io/x/onecloud/cmd/region yunion.io/x/onecloud/cmd/yunionconf
	make: *** [y18n-check] Error 137

Link: https://app.circleci.com/pipelines/github/yunionio/onecloud/25085/workflows/6efec9d0-cdd5-45eb-bb1e-f62849e22b76/jobs/55153
2020-12-26 11:10:53 +08:00
Yousong Zhou
eb6be534e7 locales: regenerate locales.go 2020-12-26 11:10:53 +08:00
Yousong Zhou
719f919021 locales: zh-CN: regenerate messages.gotext.json 2020-12-26 11:10:53 +08:00
Yousong Zhou
c786a56efa build: add y18n-check, y18n-gen 2020-12-26 11:10:53 +08:00
Yousong Zhou
f31a2175c5 .circleci: use centos-build:1.1-4
- place the code in canonical GOPATH when GO111MODULE can be off
 - always set ONECLOUD_CI_BUILD, including the test step
2020-12-26 11:10:53 +08:00
Yousong Zhou
139740613f build: use centos-build:1.1-4
y18n support in 1.1-4
2020-12-26 11:10:53 +08:00
Yousong Zhou
87e08c49de build: docker: add ModName 2020-12-26 11:10:53 +08:00
Yousong Zhou
7a01f72d64 build: docker: move to Makefile.common.mk 2020-12-26 11:10:53 +08:00
Yousong Zhou
ac713700ac scripts/docker_push.sh: minor polishments
- removed bundled baremetal-agent before building new to avoid go
   error for refusing to overwrite a text file
 - use docker buildx build no mater what
 - check existence of dockerfile before calling general_build to avoid
   error by cmd/chksum
2020-12-26 11:10:53 +08:00
Yousong Zhou
e778b99b78 scripts/docker_push.sh: use toplevel Makefile target 2020-12-26 11:10:53 +08:00
Yousong Zhou
d7804f6da7 build: docker: align centos variant with the alpine one 2020-12-26 11:10:53 +08:00
Yousong Zhou
3d7e5aaf92 build: docker: make target GOARCH/GOOS/CGO_ENABLED aware 2020-12-26 11:10:53 +08:00
Yousong Zhou
6c7a124481 build: docker: remove GOFLAGS export 2020-12-26 11:10:53 +08:00
Yousong Zhou
57b4cec5d4 scripts/coverage.sh: detect use of "-mod vendor" 2020-12-26 11:10:53 +08:00
Yousong Zhou
a90a26a4ec region: fix error msg for invalid wire_level_for_vmware 2020-12-26 11:10:53 +08:00
rainzm
17f04c3388 feat(region): add options DeleteSnapshotExpiredRelease 2020-12-26 11:10:09 +08:00
--global
2f11e60123 fix(monitor): monitor notify international and 3.6 bugfix
1.修复项目下无法查看报警记录
2.修复报警策略切换所属范围signature失败
3.国际化问题处理
2020-12-26 11:04:59 +08:00
Zexi Li
ef30d23bbd Merge pull request #9637 from ioito/hotfix/qx-cloudid-sync-optimized
fix(cloudid): optimized system policy sync
2020-12-25 17:23:59 +08:00
Qu Xuan
7760e0c3a2 fix(cloudid): optimized system policy sync 2020-12-25 14:55:17 +08:00
Zexi Li
43495f8a00 Merge pull request #9633 from ioito/hotfix/qx-global-proxy
fix(region): sku.meta use global proxy
2020-12-25 01:26:12 +08:00
Zexi Li
35056c89a2 Merge pull request #9629 from ioito/hotfix/qx-disk-allocate-failed-log
fix(region): optimized disk allocate sched failed log
2020-12-24 17:47:51 +08:00
Zexi Li
b76d36f90f Merge pull request #9622 from ioito/hotfix/qx-openstack-change-config
fix(region): avoid openstack change config error
2020-12-24 17:42:07 +08:00
Zexi Li
2c3d7f1e55 Merge pull request #9593 from ioito/hotfix/qx-private-cloud-sku
fix(region): private cloud sku create
2020-12-24 17:41:03 +08:00
Zexi Li
8358ecfe9c Merge pull request #9619 from ioito/hotfix/qx-aws-role
fix(region): avolid panic when list role's policies
2020-12-24 17:35:10 +08:00
Zexi Li
35293ec9c3 Merge pull request #9609 from wanyaoqi/bugfix/wyq/fix-list-image-by-os-arch
fix(glance): list image by os arch use startwith
2020-12-24 17:34:23 +08:00
Qu Xuan
a8cc140b52 fix(region): sku.meta use global proxy 2020-12-24 17:22:43 +08:00
Qu Xuan
d78f4a98b1 fix(region): optimized disk allocate sched failed log 2020-12-24 16:58:05 +08:00
Qu Xuan
a75e6c906a fix(region): avolid panic when list role's policies 2020-12-24 15:24:19 +08:00
Zexi Li
9868addd4d Merge pull request #9596 from lvyangyang/azure-resourcetags
feat(region): azure tags
2020-12-24 14:33:05 +08:00
Qu Xuan
78ef400b1f fix(region): avoid openstack change config error 2020-12-24 11:45:49 +08:00
Zexi Li
ccf89de75c Merge pull request #9616 from swordqiu/hotfix/qj-fix-policy-role-description-i18n
fix(keystone): add i18n description for policy and role
2020-12-24 02:13:55 +08:00
Qiu Jian
7c84554587 fix(keystone): add i18n description for policy and role
Add i18n support for descriptions of system policy and role
2020-12-23 23:34:21 +08:00
Zexi Li
ca74828539 Merge pull request #9594 from wanyaoqi/wyq/update-centos-build-version
chore(util): update centos build version to 1.1-3
2020-12-23 22:15:21 +08:00
Zexi Li
4514635995 Merge pull request #9597 from zhaoxiangchun/feature/zxc-alerthistory-master
fix(cloudmon): deal cannot get  azure metric
2020-12-23 22:14:21 +08:00
Zexi Li
9a378dc9ba Merge pull request #9599 from yousong/bugfix/yousong-climc-ssh
Bugfix/yousong climc ssh
2020-12-23 22:12:45 +08:00
Zexi Li
49509f1ec1 Merge pull request #9605 from zhaoxiangchun/bugfix/zxc-nodata-resource
fix(monitor): fix nodata alertresource list
2020-12-23 22:10:09 +08:00
Zexi Li
d6f9e09a4c Merge pull request #9613 from rainzm/notify/webconsole
fix(notify): fit correctly when send notification via contact
2020-12-23 22:03:24 +08:00
Qu Xuan
09a039eb6e fix(region): private cloud sku create 2020-12-23 20:36:24 +08:00
Zexi Li
1e65309b52 Merge pull request #9611 from rainzm/notify/lang
feat(cloudcommon): determine the notification template based on the user’s language preference
2020-12-23 20:32:48 +08:00
rainzm
4f386fea1a fix(notify): fit correctly when send notification via contact 2020-12-23 17:46:48 +08:00
rainzm
2eebef810f feat(cloudcommon): determine the notification template based on the user’s language preference 2020-12-23 17:07:25 +08:00
wanyaoqi
8386506560 fix(glance): list image by os arch use startwith 2020-12-23 16:23:43 +08:00
Zexi Li
72d5aea49c Merge pull request #9603 from rainzm/lb/webhook
feat(webhook): send webhook notification when c/d loadbalancerlisterrule
2020-12-23 15:16:09 +08:00
rainzm
93f98d55ad feat(webhook): send webhook notification when c/d loadbalancerlisterrule 2020-12-23 14:49:28 +08:00
lvyangyang
351e2cc38a feat(region): azure tags 2020-12-23 14:47:14 +08:00
--global
f408ef0275 fix(monitor): fix nodata alertresource list
1.修复nodata报警资源列表无法根据nodata策略正确刷新和删除
2020-12-23 14:44:11 +08:00
Yousong Zhou
b06be9ea5c fix(mcclient): options: webconsole: fix passing ssh port 2020-12-23 13:29:22 +08:00
Yousong Zhou
db8307822f refactor(climc): webconsole: use helper methods of response struct 2020-12-23 13:29:17 +08:00
Yousong Zhou
4cd1d4ba7c refactor(webconsole): api: add helper methods for response struct 2020-12-23 13:29:11 +08:00
Yousong Zhou
c7d099b6fb refactor(webconsole): use structured response 2020-12-23 13:29:06 +08:00
--global
369872f7ab fix(cloudmon): deal cannot get azure metric
1.azure重构代码导致监控uri路径出错
2020-12-23 13:13:47 +08:00
Zexi Li
8b4f01e02e Merge pull request #9319 from lvyangyang/bucket-uploadings
feat(region) :bucket list uploads
2020-12-23 11:20:48 +08:00
wanyaoqi
84d64df0c9 chore(util): update centos build version to 1.1-3 2020-12-23 11:07:56 +08:00
lvyangyang
ef9d2df3ce feat(region): bucket list uploads 2020-12-23 09:53:05 +08:00
Zexi Li
a85fda415d Merge pull request #9548 from tb365/bugfix/tb-bugfix-121801
Bugfix/tb bugfix 121801
2020-12-23 09:47:43 +08:00
Zexi Li
3be6296f1c Merge pull request #9577 from zhaoxiangchun/feature/zxc-alerthistory-master
feat(monitor): add global alertrecord
2020-12-23 09:45:53 +08:00
Zexi Li
b27dc38605 Merge pull request #9570 from ioito/hotfix/qx-to-network-config
fix(region): 避免从云上同步下来的主机,创建相同配置时network_id为空
2020-12-23 09:41:45 +08:00
Zexi Li
c2a809221a Merge pull request #9573 from ioito/hotfix/qx-huawei-gpssd
fix(region): add huawei gpssd desc
2020-12-23 09:36:59 +08:00
Zexi Li
e685c0b942 Merge pull request #9579 from zhaoxiangchun/bugfix/zxc-commonalert-usedby-master
fix(monitor): other servier create alert add used_by param as a agreement
2020-12-23 09:35:03 +08:00
Zexi Li
8ab4ae1f23 Merge pull request #9584 from rainzm/ansibleserver/role
more convenient debugging and role isolation
2020-12-23 09:09:30 +08:00
Zexi Li
941e6feb8e Merge pull request #9589 from swordqiu/hotfix/qj-cloudevent-devtools-missing-metadata-tbl
fix(cloudevent,devtool): missing metadata table
2020-12-23 09:06:16 +08:00
Qiu Jian
ba08d9d465 fix(cloudevent,devtool): missing metadata table 2020-12-23 03:10:04 +08:00
rainzm
6d7764550e feat: download the role to tmpdir not system role dir 2020-12-22 20:16:34 +08:00
rainzm
cfa426bc18 feat: add keep_tmpdir options
Setting 'keep_tmpdir' as true will keep tmpdir as used by executing
ansible playbook for debugging
2020-12-22 20:14:48 +08:00
yunion-ci-robot
31a0fb76fd Merge pull request #9583 from yousong/feature/yousong-bump-ovs
build: docker: use openvswitch 2.10.5-1
2020-12-22 18:07:49 +08:00
Yousong Zhou
ce86ed8161 build: docker: use openvswitch 2.10.5-1 2020-12-22 17:27:12 +08:00
--global
c39e6778e6 feat(monitor): add global alertrecord
1.支持时间、资源类型、报警级别、报警状态的过滤
2.报警记录删除时,删除关联的报警记录
2020-12-22 16:21:39 +08:00
--global
7526604501 fix(monitor): other servier create alert add used_by param as a agreement
1.解决notify,meter中创建的对应的策略也展示在统一报警策略页面。通过used_by
  进行区分
2020-12-22 16:10:31 +08:00
Qu Xuan
b5a25b9c60 fix(region): add huawei gpssd desc 2020-12-22 11:31:53 +08:00
Qu Xuan
61c25a597a fix(region): 避免从云上同步下来的主机,创建相同配置时network_id为空 2020-12-22 11:17:25 +08:00
Zexi Li
159c1bcb89 Merge pull request #9498 from wanyaoqi/bugfix/wyq/migrate-misc-fix
server migrate misc fix
2020-12-22 10:06:27 +08:00
yunion-ci-robot
ab76faeba3 Merge pull request #9564 from zexi/hotfix/baremetal-pxe-net-alloc
Hotfix/baremetal pxe net alloc
2020-12-21 23:47:39 +08:00
Zexi Li
f2b1c42644 Merge pull request #9544 from yousong/bugfix/yousong-no-lbagent-error
fix(region): lbbackend: better error reporting for finding influxdb info
2020-12-21 21:07:46 +08:00
Zexi Li
d3c8c33014 Merge pull request #9555 from ioito/hotfix/qx-openstack-os-type
fix(region): fix openstack instance os type
2020-12-21 21:01:52 +08:00
Zexi Li
7751cd216f Merge pull request #9559 from rainzm/docker/build_kit
feat(scripts): add export DOCKER_BUILDKIT=1
2020-12-21 21:00:21 +08:00
Zexi Li
31f62225b1 Merge pull request #9561 from ioito/hotfix/qx-notify-temp
fix(cloudid): add <br> for notify templete
2020-12-21 20:59:13 +08:00
Zexi Li
e2201a80f3 fix(region,baremetal): choose candidate network not according by types 2020-12-21 20:42:38 +08:00
Qu Xuan
21820fe2d8 fix(cloudid): add <br> for notify templete 2020-12-21 20:41:02 +08:00
Zexi Li
2c7f8d93f6 fix(region,baremetal): pxe net reuse converted server access ip 2020-12-21 20:34:57 +08:00
rainzm
e52da6ca5f feat(scripts): add export DOCKER_BUILDKIT=1 2020-12-21 19:52:15 +08:00
Qu Xuan
5674b5e5f2 fix(region): fix openstack instance os type 2020-12-21 19:42:19 +08:00
TangBin
b52a7d019c fix(region): lbacl &lbcert default share scope 2020-12-21 17:32:31 +08:00
Yousong Zhou
754359b955 fix(region): lbbackend: better error reporting for finding influxdb info 2020-12-21 16:41:25 +08:00
Zexi Li
331e60e100 Merge pull request #9360 from ioito/bugfix/qx-server-sync
fix(region): sync servers
2020-12-21 10:40:29 +08:00
Zexi Li
ae5e28c58c Merge pull request #9538 from swordqiu/hotfix/qj-splitable-modify-query-string
fix(cloudcommon): query string may be modified in listItemQuery
2020-12-21 01:31:29 +08:00
Zexi Li
82990d2992 Merge pull request #9536 from swordqiu/hotfix/qj-match-policy-skip-deleted-policies
fix(keystone): ignore deleted policies when matching policies
2020-12-21 01:30:27 +08:00
Qiu Jian
abbcac09ab fix(cloudcommon): query filter ineffective for splitable
query string may be modified in listItemQuery routine, which cause some query
filter is removed and hence ineffective when query over splitable
2020-12-20 20:29:55 +08:00
Qiu Jian
234c37c490 fix(keystone): ignore deleted policies when matching policies
ignore deleted policies when matching policies
2020-12-20 14:12:59 +08:00
Zexi Li
b300d5e4e6 Merge pull request #9534 from swordqiu/hotfix/qj-rbac-policy-refresh-internal-seconds
fix(cloudcommon): add rbac_policy_refresh_internval_seconds option
2020-12-20 02:08:30 +08:00
Zexi Li
972f7f4ab4 Merge pull request #9527 from swordqiu/hotfix/qj-split-table-empty-panic
fix(cloudcommon): panic when query an empty splitable model manager
2020-12-20 02:07:45 +08:00
Zexi Li
260e92b109 Merge pull request #9529 from swordqiu/hotfix/qj-host-task-use-admin-token-if-task-token-expired
fix(taskman): use admin token if task userCred token expired
2020-12-20 02:05:48 +08:00
Qiu Jian
792bfe533c fix(cloudcommon): add rbac_policy_refresh_internval_seconds option
Add new option rbac_policy_refresh_interval_seconds to control the
valid duration of a policy cache. The option is introduced at 3.6.
Replace option rbac_policy_sync_period_seconds.
2020-12-20 01:31:54 +08:00
Qiu Jian
4043cd8342 fix(taskman): use admin token if task userCred token expired
Use admin credential token if task cached userCred token expired
2020-12-20 00:43:34 +08:00
Qiu Jian
d01f89a2c8 fix(cloudcommon): panic when query an empty splitable model manager
fix panic when querying an empty splitable model manager, e.g. action-show
2020-12-20 00:25:15 +08:00
yunion-ci-robot
d819989bc2 Merge pull request #9521 from zexi/storage-actual-size-filter
Storage actual size filter
2020-12-19 23:46:05 +08:00
Zexi Li
ae107e334b Merge pull request #9494 from wanyaoqi/bugfix/wyq/guest-to-create-input
fix(region): guest to create input keep billing info
2020-12-19 20:05:55 +08:00
Zexi Li
0ce19160d0 Merge pull request #9501 from swordqiu/feature/qj-user-add-lang-attribute
feature(keystone): user add language attribute
2020-12-19 20:05:21 +08:00
Zexi Li
52559cd3f9 Merge pull request #9509 from ioito/hotfix/qx-azure-async-task
fix(region): azure async task
2020-12-19 20:02:26 +08:00
Zexi Li
1a9454fa43 Merge pull request #9512 from ioito/hotfix/qx-azure-security-group-rule
fix(region): azure secgroup rule not allow with same priority and dir…
2020-12-19 20:00:54 +08:00
Zexi Li
bdd112e80b fix(scheduler): storage predicate add actualCapacity filter 2020-12-19 19:56:26 +08:00
Zexi Li
7a246b6878 Merge pull request #9515 from swordqiu/hotfix/qj-telegraf-use-local-ipv4-address-explicitly
fix(host): telegraf listen on local ipv4 address explicitly
2020-12-19 18:11:34 +08:00
Qiu Jian
89df588448 fix(host): telegraf listen on local ipv4 address explicitly
Ensure telegraf listen on local IPv4 address explicityly and host send
metrics to telegraf local IPv4 address explicityly.
2020-12-19 17:16:05 +08:00
Qu Xuan
bd99ad2199 fix(region): azure secgroup rule not allow with same priority and direction 2020-12-19 14:47:03 +08:00
Qu Xuan
f60c1835d1 fix(region): azure async task 2020-12-19 14:01:00 +08:00
yunion-ci-robot
3eb25e6dd1 Merge pull request #9446 from yousong/feature/yousong-vpc-fwd
Feature/yousong vpc fwd
2020-12-19 10:39:06 +08:00
Qu Xuan
ae060f2347 fix(region): sync servers 2020-12-19 10:25:28 +08:00
Zexi Li
9579d87953 Merge pull request #9502 from swordqiu/hotfix/qj-refresh-service-config
fix(keystone): always upload&refresh service config whenever service …
2020-12-19 09:32:36 +08:00
Qiu Jian
5cf5576e09 feature(keystone): user add language attribute
User add language attribute, notify and alarm will use this attribute to
send message in proper language
2020-12-19 09:18:17 +08:00
Qiu Jian
80229fa1e0 fix(keystone): always upload&refresh service config whenever service restart
Always upload&refresh service config whenever service restart
2020-12-19 00:49:32 +08:00
yunion-ci-robot
0f2913b081 Merge pull request #9490 from zexi/hotfix/baremetal-pd-makegood
Hotfix/baremetal pd makegood
2020-12-18 20:45:02 +08:00
Zexi Li
1f40f2bd1c Merge pull request #9483 from rainzm/webhook/pending_delete
Webhook better describe the life cycle of the guest
2020-12-18 20:37:43 +08:00
wanyaoqi
8161d86dfd fix(host): add print migrate progress info 2020-12-18 18:25:28 +08:00
wanyaoqi
97864f96eb fix(region): do not change disk status on migrating 2020-12-18 18:24:32 +08:00
TangBin
4cdd768cec fix(region): elb acl validate create data fix 2020-12-18 18:19:37 +08:00
TangBin
e19a022f6d fix(region): aliyun elb listener&lbbg sync project 2020-12-18 18:15:30 +08:00
TangBin
d91c7a62dc fix(region): cert&acl cache delete condition check 2020-12-18 17:07:08 +08:00
Zexi Li
c51dbaaa7b Merge pull request #9488 from tb365/bugfix/tb-bugfix-121702
Bugfix/tb bugfix 121702
2020-12-18 16:36:17 +08:00
Zexi Li
d5ec32534c Merge pull request #9459 from zhaoxiangchun/feature/zxc-commonalert-setnodata-master
feat(monitor): add alert slience time and modify scoperesource FetchUniqValues func
2020-12-18 16:33:45 +08:00
Zexi Li
14660138fc Merge pull request #9486 from wanyaoqi/bugfix/wyq/change-config-forecast
fix(region): fix change config forecast
2020-12-18 16:31:10 +08:00
Zexi Li
31fe97fbfe Merge pull request #9481 from wanyaoqi/bugfix/wyq/service-config-ignore-deploy-socket-path
fix(keystone): service config ignore deploy server socket path
2020-12-18 16:29:44 +08:00
wanyaoqi
36102e97d9 fix(region): guest to create input keep billing info 2020-12-18 16:15:16 +08:00
Zexi Li
77e4c806f3 fix(baremetal): clear jbod disks do PDMakeGood 2020-12-18 15:48:58 +08:00
wanyaoqi
2dc5b47915 fix(region): fix change config forecast 2020-12-18 14:57:20 +08:00
TangBin
3f19bb1efc fix(region): remove unnecessary vpc validate create date error wrap 2020-12-18 14:51:54 +08:00
--global
54271b78ad feat(monitor): add alert slience time and modify scoperesource
FetchUniqValues func

1.增加报警静默时间
2.后端修改 scoperesource FetchUniqValues :回显scope 属性
2020-12-18 14:39:02 +08:00
TangBin
f3c8bede52 fix(region): network create mask length validate 2020-12-18 14:29:49 +08:00
rainzm
bf378452a4 feat(region): send webhook server_create when canceling pending delete 2020-12-18 13:06:08 +08:00
rainzm
81588c92ae feat(region): distinguish between pending delete and delete notification 2020-12-18 13:05:24 +08:00
Zexi Li
15e1058519 Merge pull request #9458 from yousong/bugfix/yousong-eip-ipaddr
Bugfix/yousong eip ipaddr
2020-12-18 12:51:12 +08:00
wanyaoqi
c2978b8202 fix(keystone): service config ignore deploy server socket path 2020-12-18 12:50:41 +08:00
TangBin
72321d011f fix(region): vpc create data cird validate 2020-12-18 12:01:18 +08:00
TangBin
c50c47d653 fix(region): ctyun delete server bugfix
6642
2020-12-18 09:39:00 +08:00
Zexi Li
f1c2c9773c Merge pull request #9472 from yousong/bugfix/yousong-host-mtu
Bugfix/yousong host mtu
2020-12-18 00:21:00 +08:00
Zexi Li
76f571d538 Merge pull request #9476 from wanyaoqi/bugfix/wyq/fix-get-image-image
fix(host-deployer): probe image info umount rootfs first
2020-12-18 00:17:34 +08:00
Yousong Zhou
44b6391a62 fix(region): guestnetworks: use net calculated mtu 2020-12-17 21:38:11 +08:00
Yousong Zhou
a0ad627114 feat(region): networks: add getMtu method 2020-12-17 21:38:11 +08:00
Yousong Zhou
e201573d61 feat(apis): add const VPC_OVN_ENCAP_COST 2020-12-17 21:38:11 +08:00
TangBin
e2f1e5548d fix(region): create vm with eip task fix 2020-12-17 19:20:12 +08:00
wanyaoqi
37b036ed37 fix(host-deployer): probe image info umount rootfs first 2020-12-17 19:19:30 +08:00
Yousong Zhou
319d2cc563 feat(host): startvm: set vpc nic mtu
Windows DHCP client does not respect DHCP MTU option
2020-12-17 19:05:54 +08:00
Yousong Zhou
0139611d14 feat(host): startvm: add nic_mtu shell func 2020-12-17 19:00:41 +08:00
Yousong Zhou
52c3e93af7 refactor(host): startvm: for compat
QEMU 2.12 outputs device help on stderr in the following style

```
virtio-net-pci.speed=int32
```

QEMU 5.2.0 outputs it to stdout and in the following format

```
  speed=<int32>          -  (default: -1)
```
2020-12-17 19:00:41 +08:00
Yousong Zhou
d4093e2155 refactor(host): startvm: nic_speed: use raw string 2020-12-17 19:00:41 +08:00
Yousong Zhou
dae06cb500 refactor(host): startvm: add QEMU_CMD_KVM_ARG 2020-12-17 19:00:41 +08:00
Zexi Li
c6df981054 Merge pull request #9470 from ioito/hotfix/qx-apsara-metrics
fix(region): apsara metrics fix
2020-12-17 16:03:24 +08:00
Qu Xuan
edae255a04 fix(region): apsara metrics fix 2020-12-17 15:58:30 +08:00
Zexi Li
0a80d6d4a9 Merge pull request #9463 from rainzm/vmware/vswitch
fix(region): exclude network recommended for host when suggesting net…
2020-12-17 11:21:26 +08:00
Zexi Li
cba71b4043 Merge pull request #9467 from tb365/bugfix/tb-bugfix-121701
fix(region): skus add cloudenv
2020-12-17 11:17:35 +08:00
TangBin
cfc5fe9f20 fix(region): skus add cloudenv 2020-12-17 10:57:57 +08:00
rainzm
c91ad4a705 fix(region): exclude network recommended for host when suggesting network for guest 2020-12-17 10:08:56 +08:00
Zexi Li
c1f21ffba4 Merge pull request #9441 from wanyaoqi/bugfix/wyq/fix-change-config
bugfix(region): server change config rebase to sched task
2020-12-17 09:50:42 +08:00
Zexi Li
a0712c24a1 Merge pull request #9454 from zexi/hotfix/scheduler-fetch-input
fix(scheduler): fetch input network when specified
2020-12-16 18:24:29 +08:00
wanyaoqi
999cc74bde bugfix(region): server change config rebase to sched task 2020-12-16 18:03:54 +08:00
Zexi Li
03fc799067 Merge pull request #9452 from swordqiu/hotfix/qj-invalid-token-fetch-policy-panic
fix(keystone): panic if request with an invalid token
2020-12-16 17:57:26 +08:00
Zexi Li
870db8e879 fix(scheduler): fetch input network when specified 2020-12-16 17:48:53 +08:00
Yousong Zhou
719a9608c7 fix(region): eip_allocate_task: set eip status allocate_fail on task failure 2020-12-16 17:42:58 +08:00
Yousong Zhou
4a8eee0db3 fix(region,climc): eips: rename arg name for requested eip addr 2020-12-16 17:35:04 +08:00
Qiu Jian
0eaf20da26 fix(keystone): panic if request with an invalid token
service report nil pointer panic if request with an invalid token string
2020-12-16 16:43:24 +08:00
yunion-ci-robot
7b5b8ccd69 Merge pull request #9449 from yousong/bugfix/yousong-climc
fix(climc): use printObjectRecursive for PerformXxx calls
2020-12-16 13:01:14 +08:00
Zexi Li
cd34509aaf Merge pull request #9443 from tb365/bugfix/tb-bugfix-121501
Bugfix/tb bugfix 121501
2020-12-16 12:25:32 +08:00
Zexi Li
b03da9c2ea Merge pull request #9418 from zexi/hotfix/baremetal-update-related-server
fix(region): baremetal post update related server
2020-12-16 10:40:44 +08:00
Yousong Zhou
d6463f955a fix(climc): use printObjectRecursive for PerformXxx calls
Original

	+----------+-----------------------------------------------------------------------------------------------------+
	|  Field   |                                                Value                                                |
	+----------+-----------------------------------------------------------------------------------------------------+
	| forwards | [{"addr":"192.168.2.252","port":22,"proto":"tcp","proxy_addr":"10.168.222.196","proxy_port":33908}, |
	|          | {"addr":"192.168.2.252","port":22,"proto":"tcp","proxy_addr":"10.168.222.196","proxy_port":45490}]  |
	+----------+-----------------------------------------------------------------------------------------------------+

After

	+-----------------------+----------------+
	|         Field         |     Value      |
	+-----------------------+----------------+
	| forwards.0.addr       | 192.168.2.252  |
	| forwards.0.port       | 22             |
	| forwards.0.proto      | tcp            |
	| forwards.0.proxy_addr | 10.168.222.196 |
	| forwards.0.proxy_port | 33908          |
	| forwards.1.addr       | 192.168.2.252  |
	| forwards.1.port       | 22             |
	| forwards.1.proto      | tcp            |
	| forwards.1.proxy_addr | 10.168.222.196 |
	| forwards.1.proxy_port | 45490          |
	+-----------------------+----------------+
2020-12-16 10:35:58 +08:00
Yousong Zhou
1709aa2e14 chore(host): options: use rundir /var/run/onecloud for sdnagent 2020-12-16 10:00:38 +08:00
Zexi Li
d34464f86e Merge pull request #9447 from swordqiu/hotfix/qj-action-log-post-fail
fix(log): fail to submit action log
2020-12-16 09:32:50 +08:00
Zexi Li
5e4d0758bd Merge pull request #9439 from zhaoxiangchun/feature/zxc-commonalert-setnodata-master
feat(monitor): support create nodata alert from web
2020-12-16 09:27:14 +08:00
Qiu Jian
b01a3c1539 fix(log): fail to submit action log
Because splitable not implement InsertOrMethod method, fail to submit
action log
2020-12-16 00:12:52 +08:00
Yousong Zhou
a290a6a49d fix(build): fmt: ignore auto-generated files 2020-12-15 22:17:48 +08:00
Yousong Zhou
549ae15a44 feat(climc): servers: add server forward commands 2020-12-15 22:17:48 +08:00
Yousong Zhou
1427d1b3a6 feat(region): guest: add {open,close,list}-forward API 2020-12-15 22:12:23 +08:00
Yousong Zhou
8f54866272 feat(region): guest: add fetchGuestNICs method 2020-12-15 22:12:23 +08:00
Yousong Zhou
4dd3945804 feat(region): guestdrivers: guest forward open, close, list methods 2020-12-15 22:12:23 +08:00
Yousong Zhou
447770dfc6 feat(apis): region: names for guest forward API 2020-12-15 22:12:23 +08:00
Yousong Zhou
daf863bd44 feat(host): guestman: add {Open,Close,List}Forward handler 2020-12-15 22:12:23 +08:00
Yousong Zhou
eb6febcc16 feat(host): kvm: add GetVpcNIC 2020-12-15 22:12:23 +08:00
Yousong Zhou
7b55e756ed feat(host): options: add option SdnSocketPath 2020-12-15 22:12:23 +08:00
Yousong Zhou
50e6810643 refactor(host): hostdhcp: do not import guestman 2020-12-15 22:12:23 +08:00
Yousong Zhou
1e4c294fd9 refactor(host): host_health: do not import guestman 2020-12-15 22:12:23 +08:00
Yousong Zhou
e7f618228b feat(apis): add host forward request/response struct 2020-12-15 22:12:23 +08:00
Yousong Zhou
665de6d56e chore(vendor): update google.golang.org/grpc@v1.29.1
It's the last version with google.golang.org/grpc/naming

yunion.io/x/onecloud/pkg/multicloud/google imports
        cloud.google.com/go/storage imports
        google.golang.org/api/option imports
        google.golang.org/api/internal imports
        google.golang.org/grpc/naming: module google.golang.org/grpc@latest found (v1.34.0), but does not contain package google.golang.org/grpc/naming
2020-12-15 22:04:15 +08:00
Yousong Zhou
925cc31b44 feat(host): forwarder: add NewClient func 2020-12-15 22:04:15 +08:00
Yousong Zhou
e8ec0718cf feat(host): go generate forwarder api 2020-12-15 21:45:18 +08:00
Yousong Zhou
d07bece954 feat(host): add forwarder.proto 2020-12-15 21:45:18 +08:00
Yousong Zhou
2acca1a70f fix(host): guestman: variable name typo 2020-12-15 21:45:18 +08:00
TangBin
5d6c8c7611 fix(awscli): instance-rebuild-root fix 2020-12-15 21:02:23 +08:00
yunion-ci-robot
ab47e7d404 Merge pull request #9435 from wanyaoqi/bugfix/wyq/fix-windows-set-passwd
fix(host): fix set windows password with escape charater
2020-12-15 20:51:20 +08:00
TangBin
5d20bf2800 fix(region): vpc sync external access mode fix 2020-12-15 20:48:17 +08:00
TangBin
982db46e8f fix(region): vpc usable fix 2020-12-15 18:57:26 +08:00
TangBin
d37ec27d7d fix(region): aws create vpc with igw add defaultroute 2020-12-15 18:40:09 +08:00
TangBin
1cb6980b1c fix(region): aws delete vpc skipped delete main route table 2020-12-15 17:49:16 +08:00
TangBin
52ef2c2d5b fix(region): aws vpc delete skip delete default secgroup 2020-12-15 17:31:33 +08:00
TangBin
6aa2fc5817 fix(region): aws vpc delete related route table & internet gateway 2020-12-15 17:17:58 +08:00
zhaoxiangchun
805ea5c0f5 feat(monitor): support create nodata alert from web
1.支持从前端页面创建nodata报警策略,对于nodata的情况给出对应的resource
2020-12-15 17:17:31 +08:00
wanyaoqi
1d8879ef7b fix(host): fix set windows password with escape charater 2020-12-15 16:54:53 +08:00
TangBin
687deac242 fix(region): sku list query print missing error info 2020-12-15 14:49:05 +08:00
TangBin
208adf8a02 fix(region): aws create storage type fix 2020-12-15 14:42:17 +08:00
TangBin
fc64ea3252 fix(region): aws create root device name fix 2020-12-15 13:58:42 +08:00
TangBin
6591c5a750 fix(region): vpc create validate cidr mask length 2020-12-15 13:18:40 +08:00
TangBin
80c3f6b2c5 fix(region): aws detach igw before delete vpc 2020-12-15 11:48:09 +08:00
Zexi Li
657e3d3c3c Merge pull request #9431 from zexi/fix/climc-server-create-desc
Fix/climc server create desc
2020-12-15 11:46:08 +08:00
Zexi Li
c62ef9531a Merge pull request #9426 from yousong/bugfix/yousong-vpcagent-dns
fix(vpcagent): ovn: stable dns A record value
2020-12-15 11:44:42 +08:00
TangBin
dbc1c7cdfb fix(region): vpc list usable fix 2020-12-15 11:36:46 +08:00
Zexi Li
6acf96e87b fix(climc): server-create --desc not work 2020-12-15 11:35:12 +08:00
TangBin
2d19d961c7 feat(region): server list add parameter eip_associable 2020-12-15 11:05:02 +08:00
Yousong Zhou
25cd808840 fix(vpcagent): ovn: stable dns A record value 2020-12-15 10:41:43 +08:00
Zexi Li
573893edcd Merge pull request #9417 from wanyaoqi/bugfix/wyq/host-misc-1214
fix(region,host): fix hot remove nic
2020-12-15 00:07:42 +08:00
Zexi Li
e1066ea39c Merge pull request #9415 from swordqiu/hotfix/qj-keystone-sso-update-user-attributes
fix(keystone): update user attributes whenever user login
2020-12-15 00:05:42 +08:00
Zexi Li
9cd2cb7790 fix(region): baremetal post update related server 2020-12-14 19:15:29 +08:00
wanyaoqi
d9137720ab fix(region,host): fix hot remove nic
- region: check is hot remove nic enable
- host: del qemu device after del netdev
2020-12-14 18:59:52 +08:00
Qiu Jian
a0350d0537 fix(keystone): update user attributes whenever user login
update user attribtues whenever user login
2020-12-14 18:15:48 +08:00
wanyaoqi
97d96aa328 fix(host): fix check hugepage enabled 2020-12-14 18:02:54 +08:00
Zexi Li
836a9a66ff Merge pull request #9411 from zexi/hotfix/scheduler-region-sku
fix(scheduler): sku filter check zone if only prefer region specified
2020-12-14 17:56:33 +08:00
yunion-ci-robot
20421f98d6 Merge pull request #9409 from wanyaoqi/feature/wyq/export-tags
feat(region): export user tags support virtual resources
2020-12-14 17:55:05 +08:00
Zexi Li
dad3d995da Merge pull request #9405 from zexi/hotfix/webconsole-trim-url
Hotfix/webconsole trim url
2020-12-14 17:20:49 +08:00
Zexi Li
c87c2b384b fix(scheduler): sku filter check zone if only prefer region specified 2020-12-14 16:44:10 +08:00
yunion-ci-robot
976539f253 Merge pull request #9373 from rainzm/vmware/vswitch_wire
feat(region): larger suggest network and more complete vlanid
2020-12-14 15:58:05 +08:00
wanyaoqi
2675f75c80 feat(region): export user tags support virtual resources 2020-12-14 15:55:05 +08:00
Zexi Li
650df302aa Merge pull request #9394 from zexi/hotfix/scheduler-candidate-error
fix(scheduler): get candidates error more info
2020-12-14 15:52:23 +08:00
Zexi Li
511ec56f16 Merge pull request #9403 from wanyaoqi/bugfix/wyq/fix-list-by-os-arch
fix(region,glance): list by os arch adapt to empty strings
2020-12-14 15:50:51 +08:00
Zexi Li
859e2078a2 fix(webconsole): trim api_server url if end with slashes 2020-12-14 15:46:34 +08:00
Zexi Li
77aa03f5bc Merge pull request #9399 from rainzm/notify/repull
fix(notify): avoid deadlock
2020-12-14 15:45:29 +08:00
wanyaoqi
8a82407f90 fix(region,glance): list by os arch adapt to empty strings 2020-12-14 15:10:57 +08:00
rainzm
54ed4b6194 fix(notify): avoid deadlock 2020-12-14 15:02:19 +08:00
Zexi Li
7d836f77a6 fix(scheduler): get candidates error more info 2020-12-14 14:39:27 +08:00
rainzm
292716b269 feat(region): add test for CloudaccountManger.PerformPrepareNets 2020-12-14 14:16:52 +08:00
Zexi Li
408e768a62 Merge pull request #9386 from tb365/feature/tb-support-sync-skus-by-cloudregion
feat(region): support sync skus by cloudregion
2020-12-13 13:51:23 +08:00
Zexi Li
0c4ed830e1 Merge pull request #9351 from ioito/hotfix/qx-aliyun-saml-auth
feat(cloudid): support aliyun saml auth
2020-12-13 12:13:38 +08:00
Zexi Li
cf8167dd0c Merge pull request #9384 from ioito/hotfix/qx-server-stop
fix(region): optimized server stop code
2020-12-13 12:12:21 +08:00
Zexi Li
cdc16b7a6b Merge pull request #9390 from swordqiu/hotfix/qj-network-reserved-ip-count-error
fix(region): network reserved ip count not consider expiration of reserved ips
2020-12-13 12:09:17 +08:00
Qiu Jian
b581c6dabd fix(region): network reserved ip count not consider expiration of reserved ips
network reserved ip count not consider expiration of reserved ips
2020-12-12 19:28:24 +08:00
TangBin
04fa96d9c8 feat(region): support sync skus by cloudregion 2020-12-12 18:55:24 +08:00
Qu Xuan
7c6d4fddf3 fix(region): optimized server stop code 2020-12-12 18:49:35 +08:00
Zexi Li
369866d5d6 Merge pull request #9359 from tb365/bugfix/tb-bugfix-cmb-1210
Bugfix/tb bugfix cmb 1210
2020-12-12 18:28:42 +08:00
rainzm
fee218c59c feat(region): larger suggest network and more complete vlanid
1. 抓取标准 PortGroup 的 vlanid,以前只有分布式 PortGroup 的 vlanid
2. 提供的建议网络会尽可能的大
2020-12-12 18:04:09 +08:00
TangBin
c862f06996 feat(region): support sync skus by cloudregion 2020-12-12 17:06:11 +08:00
TangBin
b26249811a fix(region): server login info& keypair import input parameter trimspace 2020-12-12 17:01:20 +08:00
Zexi Li
5ddbf86edc Merge pull request #9313 from zhaoxiangchun/feat/zxc-suggestion-master
feat(monitor): add metric description
2020-12-12 00:17:48 +08:00
Zexi Li
95d67b040b Merge pull request #9361 from swordqiu/hotfix/qj-domain-unlink-action
fix(keystone): allow unlink a domain from an IDP
2020-12-12 00:16:22 +08:00
Zexi Li
983acaaf3d Merge pull request #9362 from swordqiu/feature/qj-event-log-splitable
fix(util): update vendor for log
2020-12-12 00:15:13 +08:00
Zexi Li
25402013a6 Merge pull request #9366 from swordqiu/hotfix/qj-ignore-unchanged-service-config
fix(keystone): ignore service config update without changes
2020-12-12 00:13:37 +08:00
Qiu Jian
1d7b7057a7 fix(keystone): ignore service config update without changes
ignore service config updates that no changes happen. prevent service
config change infomrer messages from flushing the log.
2020-12-11 22:10:49 +08:00
Qiu Jian
076fa5498a fix(keystone): allow unlink a domain from an IDP
allow unlink a domain from an IDP
2020-12-11 21:50:15 +08:00
zhaoxiangchun
33074ba818 feat(monitor): add metric description
1.添加oss、rds、redis、vm_netio metric description
2.修改hostmetrics vm_netio 指标:
  bits_sent ==> bps_sent
  bits_recv ==> bps_recv
3.对metric中field进行排序

https://bug.yunion.io/zentao/task-view-2358.html
2020-12-11 20:16:42 +08:00
Qiu Jian
4895175a53 update vendor 2020-12-11 20:02:53 +08:00
Zexi Li
2b2ea4872f Merge pull request #9356 from ioito/hotfix/qx-sku-enabled
fix(region): sku enabled
2020-12-11 19:36:45 +08:00
Zexi Li
096115ce5e Merge pull request #9160 from swordqiu/feature/qj-event-log-splitable
feature(cloudcommon): split opslog table
2020-12-11 19:31:06 +08:00
Qu Xuan
3cf6d2f326 feat(cloudid): support aliyun saml auth 2020-12-11 17:31:26 +08:00
Qu Xuan
be63b02b9f fix(region): sku enabled 2020-12-11 17:07:08 +08:00
yunion-ci-robot
ba53f41ccd Merge pull request #9335 from zexi/hotfix/baremetal-convert-host
Hotfix/baremetal convert host
2020-12-11 13:35:10 +08:00
Zexi Li
2782b3d94f Merge pull request #9339 from ioito/hotfix/qx-global-proxy
fix(region,yunionapi,glance): using global proxy
2020-12-11 11:39:45 +08:00
Zexi Li
4157d3b225 Merge pull request #9352 from zexi/bugfix/scheduler-sku-net
Bugfix/scheduler SKU net
2020-12-11 09:18:18 +08:00
Zexi Li
a78c565d4f fix(scheduler): sku by region and fill onecloud vpc networks 2020-12-10 21:12:06 +08:00
Zexi Li
7e2f3b9ab9 Merge pull request #9331 from ioito/hotfix/qx-openstack-host
fix(region): openstack hosts sync
2020-12-10 20:40:02 +08:00
Zexi Li
2bfb026144 Merge pull request #9347 from swordqiu/hotfix/qj-perform-public-scope-check
fix(cloudcommon): perform public should check the sharing scope of
2020-12-10 20:37:43 +08:00
Zexi Li
4648845124 Merge pull request #9340 from ioito/hotfix/qx-rule-import-hint
fix(region): import rule error hint
2020-12-10 20:33:23 +08:00
Zexi Li
e0a8fc8e27 Merge pull request #9345 from wanyaoqi/bugfix/wyq/fix-gpu-server-change-config-fail
fix(region): gpu server change config use reserved resources
2020-12-10 20:32:18 +08:00
Qiu Jian
faf00d8d67 fix(cloudcommon): perform public should check the sharing scope of
resource

perform public should check the sharing scope of resource
2020-12-10 19:03:01 +08:00
wanyaoqi
9c04a7bf37 fix(region): gpu server change config use reserved resources 2020-12-10 18:38:35 +08:00
Qu Xuan
57ae689490 fix(region,yunionapi,glance): using global proxy 2020-12-10 18:31:51 +08:00
Qu Xuan
ed9675a90f fix(region): import rule error hint 2020-12-10 18:28:38 +08:00
Zexi Li
84f02c1f76 Merge pull request #9329 from ioito/hotfix/qx-aws-default-user
fix(region): aws default account
2020-12-10 17:23:33 +08:00
Zexi Li
3f194b4ccf Merge pull request #9325 from rainzm/notify/config_change
Try to repull contacts when changing notify config
2020-12-10 17:22:06 +08:00
Zexi Li
a3a99743d8 Merge pull request #9324 from zexi/feature/k8s-component-climc
Feature/k8s component climc
2020-12-10 17:20:16 +08:00
Zexi Li
e14371a821 Merge pull request #9298 from ioito/hotfix/qx-openstack-network
fix(region): support openstack subnet allocation pools
2020-12-10 17:17:29 +08:00
yunion-ci-robot
097ffba0f4 Merge pull request #9172 from ioito/hotfix/qx-save-image
feat(region): save image for public cloud
2020-12-10 17:17:09 +08:00
Zexi Li
fc10483072 Merge pull request #9320 from swordqiu/hotfix/qj-disable-quota-check-by-default
fix(cloudcommon): disable quota check by default
2020-12-10 17:08:32 +08:00
Zexi Li
8cc0b63c86 fix(baremetal): convert to host failed
- convert schedule should include converting status
- auto register name should lowercase
- finish convert set host name by guest
2020-12-10 16:58:02 +08:00
Qu Xuan
77f515a932 fix(region): openstack hosts sync 2020-12-10 16:54:20 +08:00
Qu Xuan
b511db2e0a fix(region): aws default account 2020-12-10 16:23:52 +08:00
Zexi Li
2c56715459 feat(climc): add k8s component minio and thanos operate subcmd 2020-12-10 12:04:10 +08:00
rainzm
75998a132b fix(notify): repull subcontact after changing config 2020-12-10 10:15:19 +08:00
rainzm
5bc847f052 fix(notify): check for changes before updating config 2020-12-10 10:11:22 +08:00
rainzm
aabb200585 refactor(notify): add StartSubcontactPullTask for receiver 2020-12-10 10:09:41 +08:00
Qiu Jian
0a7513cce4 fix(cloudcommon): disable quota check by default
1. add enable_quota_check common option
2. disable quota check by default
3. specify scope of quota limit in OutOfQuota error message
2020-12-10 01:19:06 +08:00
Qiu Jian
e31abb6f0d update vendor 2020-12-09 21:12:55 +08:00
Qiu Jian
ab75c8f93c feature(cloudcommon): split opslog table
automatically split opslog table, so as to delete obsolete event logs
2020-12-09 21:12:55 +08:00
Zexi Li
87521a6ed8 Merge pull request #9159 from ioito/hotfix/qx-storage-capability
feat(region): add instance storage capability
2020-12-09 21:03:52 +08:00
Zexi Li
152f584a70 Merge pull request #9295 from swordqiu/hotfix/qj-update-i18n-master-20201209
fix(cloudcommon): supplement i18n translations
2020-12-09 20:44:11 +08:00
Zexi Li
997f1d9d49 Merge pull request #9292 from rainzm/receiver/intelij_get
feat(notify): add intellij-get for receiver
2020-12-09 20:43:07 +08:00
Zexi Li
6f74c7f4c4 Merge pull request #8848 from wanyaoqi/feature/wyq/host-deployer-libguestfs
host-deployer: add deploy driver libguestfs
2020-12-09 20:41:22 +08:00
Zexi Li
a77cc2f5ee Merge pull request #9259 from wanyaoqi/bugfix/wyq/attach-network-on-registerd-baremetal-server
fix(region): attach network on register baremetal server
2020-12-09 20:39:53 +08:00
Zexi Li
c354e820df Merge pull request #9302 from ioito/hotfix/qx-qcloud-instance-delete
fix(region): optimized qcloud prepaid instance delete
2020-12-09 20:37:26 +08:00
Zexi Li
ca89a13622 Merge pull request #9305 from ioito/hotfix/qx-openstack-change-config
fix(region): optimized openstack change config
2020-12-09 20:36:41 +08:00
Zexi Li
aea45b2cd2 Merge pull request #9308 from yousong/bugfix/yousong-eip-chargetype
Bugfix/yousong eip chargetype
2020-12-09 20:34:55 +08:00
Zexi Li
feb81db1b8 Merge pull request #9315 from wanyaoqi/bugfix/wyq/restart-session-check-lease-living
fix(host): check lease living on restart etcd session
2020-12-09 20:33:08 +08:00
rainzm
e8a085a947 feat(notify): user cmdline helpler for climc notify-receiver-xxx 2020-12-09 17:02:17 +08:00
wanyaoqi
92e0ed3434 fix(host): check lease living on restart etcd session 2020-12-09 16:53:55 +08:00
rainzm
6ed0b5e9fa feat(notify): add intellij-get for receiver 2020-12-09 16:45:23 +08:00
Yousong Zhou
a48d0ab7fb refactor(apis): compute: remove EIP_CHARGE_TYPE_DEFAULT
The default is now cloud provider specific
2020-12-09 12:16:20 +08:00
Yousong Zhou
82e297a551 fix(region): sanitize eip charge type on all callsites 2020-12-09 12:16:19 +08:00
Yousong Zhou
5550803667 feat(region): regiondriver: add methods on eip charge type 2020-12-09 12:04:19 +08:00
Qu Xuan
20ca72cd43 fix(region): optimized openstack change config 2020-12-09 11:47:36 +08:00
Qu Xuan
691a5fc775 fix(region): optimized qcloud prepaid instance delete 2020-12-09 11:14:54 +08:00
Qu Xuan
792b4cdd83 fix(region): support openstack subnet allocation pools 2020-12-09 10:29:25 +08:00
Qiu Jian
fbdcbeb751 fix(cloudcommon): supplement i18n translations 2020-12-09 00:43:54 +08:00
Zexi Li
516f5ab0d3 Merge pull request #9253 from ioito/hotfix/qx-azure-storageaccount-temp-url
fix(region): temp url sign wrong
2020-12-08 21:39:39 +08:00
Zexi Li
434ab6b82a Merge pull request #9263 from ioito/hotfix/qx-azure-instance-storage-type
fix(region): azure instance data disk storage type
2020-12-08 21:38:41 +08:00
Zexi Li
b9deee3060 Merge pull request #9266 from ioito/hotfix/qx-openstack-zone
fix(region): openstack available zones
2020-12-08 21:36:59 +08:00
Zexi Li
46e7d87b25 Merge pull request #9277 from wanyaoqi/bugfix/wyq/fix-validate-migrate-guests
fix(region): validate isolated devices on migrate
2020-12-08 21:35:51 +08:00
Zexi Li
6207523696 Merge pull request #9282 from ioito/hotfix/qx-guest-password
fix(region): restore password validate condition
2020-12-08 21:35:03 +08:00
Zexi Li
ee3219c9ab Merge pull request #9285 from ioito/hotfix/qx-cloud-account-sync
fix(region): sync account id
2020-12-08 21:34:04 +08:00
Zexi Li
3edef59d25 Merge pull request #9288 from zhasm/hotfix/rex-git-branch-minor
fix(git,make): 更新获取 git branch 的规则
2020-12-08 18:11:18 +08:00
Zhang Dongliang
eb7372263b fix(git,make): 更新获取 git branch 的规则 2020-12-08 17:59:24 +08:00
Qu Xuan
561f642675 fix(region): sync account id 2020-12-08 17:54:54 +08:00
wanyaoqi
948f926bf6 feat(host-deployer): add deploy driver libguestfs
Add drvier libguestfs to support deploy more operator system,
you can use it by edit host config file add 'image_deploy_driver: libguestfs'.
By the default host-deploy support run three guestfish at the same time.
And host deployer will recycle free guestfish every ten minitues.

cherrypick: release/3.6
2020-12-08 17:49:44 +08:00
Qu Xuan
06207c4a37 fix(region): restore password validate condition 2020-12-08 17:43:36 +08:00
yunion-ci-robot
3ba67a1c96 Merge pull request #9272 from wanyaoqi/bugfix/wyq/fix-vgrename-centos
fix(host-deployer): cancel rename centos vgname
2020-12-08 17:07:40 +08:00
wanyaoqi
97a542890d fix(region): validate isolated devices on migrate 2020-12-08 16:48:50 +08:00
Zexi Li
20e0fdcfb9 Merge pull request #9268 from zhasm/hotfix/rex-gitbranch-fix
fix(git,make): git branch 获取方式优化
2020-12-08 16:35:18 +08:00
Qu Xuan
9ddf207441 fix(region): openstack available zones 2020-12-08 16:18:33 +08:00
wanyaoqi
c302bae2bf fix(host-deployer): cancel rename centos vgname 2020-12-08 16:15:56 +08:00
wanyaoqi
92727def00 fix(region): attach network on register baremetal server 2020-12-08 15:53:17 +08:00
Zhang Dongliang
71e63e2ed1 fix(git,make): git branch 获取方式优化 2020-12-08 15:49:50 +08:00
Qu Xuan
38507661fb fix(region): azure instance data disk storage type 2020-12-08 14:56:07 +08:00
Zexi Li
18c919399a Merge pull request #9230 from zhasm/hotfix/rex-gitbranch-fix
fix(git,make): 修正 gitbranch 变量的获取方式,解决自动升级版本 tag 不统一的问题
2020-12-08 12:50:41 +08:00
Zhang Dongliang
0b2aed858a fix(git,make): 修正 gitbranch 变量的获取方式,解决自动升级版本 tag 不统一的问题 2020-12-08 11:52:33 +08:00
Qu Xuan
3a7d6fb140 fix(region): temp url sign wrong 2020-12-08 11:35:08 +08:00
Zexi Li
c8a237886e Merge pull request #9146 from ioito/hotfix/qx-keystone-refresh-scope-resource
fix(keystone): allow refresh scope resource
2020-12-08 09:39:48 +08:00
Zexi Li
0fb9c59fb7 Merge pull request #9246 from wanyaoqi/bugfix/wyq/fix-backup-server-start
fix(region): fix backup server start task
2020-12-08 09:35:20 +08:00
Zexi Li
b498c9b8da Merge pull request #9251 from swordqiu/hotfix/qj-filter-role-policies-panic
fix(keystone): rolepolicies list panic if filter by domain scope
2020-12-08 09:34:16 +08:00
Zexi Li
072a8aa367 Merge pull request #9248 from swordqiu/hotfix/qj-oidc-turn-on-debug
fix(keystone): oidc driver turn on debug mode if log-level is debug
2020-12-08 09:28:55 +08:00
Qiu Jian
4411c4e5bb fix(keystone): rolepolicies list panic if filter by domain scope
rolepolicies list panic if filter by scope=domain
2020-12-08 03:12:42 +08:00
Qiu Jian
57a0e8d63e fix(keystone): oidc driver turn on debug mode if log-level is debug
oidc driver turn on debug mode if log-level is debug
2020-12-08 02:49:09 +08:00
Zexi Li
7ef268ee15 Merge pull request #9243 from ioito/hotfix/qx-azure-windows-reset-password
fix(region): azure reset windows os password
2020-12-07 22:18:52 +08:00
Qu Xuan
a1a025eec9 feat(region): save image for public cloud 2020-12-07 21:13:21 +08:00
wanyaoqi
d2a3d200fe fix(region): fix backup server start task 2020-12-07 21:05:41 +08:00
Zexi Li
653ef8abcd Merge pull request #9240 from ioito/hotfix/qx-azure-resp
fix(region): avoid timeout for waiting azure async task
2020-12-07 20:40:57 +08:00
Zexi Li
4fd198be2d Merge pull request #9224 from tb365/bugfix/tb-bugfix-1207
Bugfix/tb bugfix 1207
2020-12-07 20:37:01 +08:00
Qu Xuan
2d46a73d4d fix(region): azure reset windows os password 2020-12-07 20:19:05 +08:00
Zexi Li
b5600f21cb Merge pull request #9220 from ioito/hotfix/qx-qcloud-secgroup-project-id
fix(region): region qcloud secgroup project id
2020-12-07 20:18:07 +08:00
Zexi Li
6de57d90a7 Merge pull request #9227 from ioito/hotfix/qx-azure-disk-size
fix(region): avoid resize azure disk error
2020-12-07 20:16:42 +08:00
Zexi Li
67d177e54c Merge pull request #9231 from wanyaoqi/bugfix/wyq/adapter-telegraf-to-container-environment
fix(host): update telegraf conf adapter to container environment
2020-12-07 19:59:08 +08:00
Zexi Li
dbcffccdfc Merge pull request #9237 from rainzm/notify/webconsole
feat(notify): add webconsole in enabled contact types
2020-12-07 19:57:35 +08:00
Qu Xuan
ab8d1238c2 fix(region): avoid timeout for waiting azure async task 2020-12-07 19:49:35 +08:00
rainzm
8aeda8f841 feat(notify): add webconsole in enabled contact types 2020-12-07 19:10:30 +08:00
TangBin
2dcc1d610e fix(region): lbcert&lbacl releated listener count bugfix 2020-12-07 17:36:41 +08:00
wanyaoqi
38a9218e9e fix(host): update telegraf conf adapter to container environment 2020-12-07 17:11:38 +08:00
TangBin
b3736ab20d fix(region): lb listener filter by acl_id 2020-12-07 15:26:05 +08:00
Qu Xuan
64849240b2 fix(region): avoid resize azure disk error 2020-12-07 15:25:34 +08:00
TangBin
485cf8b3c8 fix(region): redis master zone empty fix 2020-12-07 14:54:11 +08:00
TangBin
db20769cf2 fix(region): elastic cache name is empty fix
#6527
2020-12-07 14:08:02 +08:00
Zexi Li
54759842b8 Merge pull request #9205 from ioito/hotfix/qx-passord-validate
fix(region): validate invalid character for password
2020-12-07 10:52:03 +08:00
Qu Xuan
c14b245fad fix(keystone): allow refresh scope resource 2020-12-07 10:46:58 +08:00
Qu Xuan
d9d3fe26bd fix(region): region qcloud secgroup project id 2020-12-07 10:26:19 +08:00
Zexi Li
36e3a684e9 Merge pull request #9202 from tb365/bugfix/tb-bugfix-1204
Bugfix/tb bugfix 1204
2020-12-07 10:23:44 +08:00
Qu Xuan
c9ca2c8755 fix(region): validate invalid character for password 2020-12-07 10:07:14 +08:00
TangBin
f6abe165b5 fix(region): change dbinstance sku sync info log to warn 2020-12-07 09:57:38 +08:00
Zexi Li
416e6b7c8e Merge pull request #9217 from ioito/bugfix/qx-qcloud-secgroup-sync
fix(region): optimized qcloud secgroup sync, only redis need secgroup be in same project
2020-12-04 20:31:24 +08:00
yunion-ci-robot
f99ba966c2 Merge pull request #9215 from zhaoxiangchun/feat/zxc-suggestion-master
chore(monitor): delete suggestion files
2020-12-04 20:26:28 +08:00
zhaoxiangchun
ad0c063fb9 chore(monitor): delete suggestion files
1. 移除优化建议相关内容
2. mcclient中新增baseManager:SuggestionManager,修改优化建议相关的manager
2020-12-04 19:28:23 +08:00
Qu Xuan
6183f39168 fix(region): optimized qcloud secgroup sync, only redis need secgroup be in same project 2020-12-04 19:24:56 +08:00
Zexi Li
b2255754c9 Merge pull request #9210 from ioito/hotfix/qx-azure-metric
fix(region): azure metric request path
2020-12-04 18:00:47 +08:00
Zexi Li
57278dc4d9 Merge pull request #9213 from zexi/hotfix/remove-k8s-extend-scheduler
refactor(scheduler): remove unused k8s predicates code
2020-12-04 17:58:48 +08:00
Zexi Li
dbfd5a8e5d refactor(scheduler): remove unused k8s predicates code 2020-12-04 17:18:51 +08:00
Qu Xuan
9c7145fd53 fix(region): azure metric request path 2020-12-04 17:13:15 +08:00
Zexi Li
599bf4e622 Merge pull request #9196 from lvyangyang/fix-tag-log
feat(region): add bucket cloud tags support
2020-12-04 16:57:36 +08:00
Zexi Li
eb3c87b2fa Merge pull request #9204 from zexi/hotfix/remove-kubernetes-depend
Hotfix/remove kubernetes depend
2020-12-04 16:53:51 +08:00
Zexi Li
c025944d17 fix(go.mod): remove k8s.io/kubernetes dependency 2020-12-04 16:45:25 +08:00
TangBin
43d4ddd82d fix(region): dbinstance skus sync log level fix 2020-12-04 15:30:35 +08:00
TangBin
8dcd685e46 fix(region): server skus add cloud_env 2020-12-04 15:25:52 +08:00
Zexi Li
ddf7e8b729 Merge pull request #9066 from rainzm/esxi/createnets
feat(region): add wire level for preparing network
2020-12-04 14:52:42 +08:00
rainzm
9d048f8f9b feat(climc): add cloud-account-preparenets-vmware command 2020-12-04 14:27:51 +08:00
rainzm
9a23c9da67 feat(region): allow prepare nets for existed cloudaccounts
纳管云账号 -> 合并网段 -> 为vmware集群添加新的宿主机 ->
如何获取网络信息?

如果重新纳管,那么合并网段的工作又得做一次,很不方便。
最好的方法是,preparenets 接口支持已经存在的 cloudaccount,这样
就可以根据推荐的网络手动设置新设备的网络。
2020-12-04 14:27:51 +08:00
rainzm
a7eadb54e6 feat(region): add wire level for preparing network
There are three wire level for vmware: vcenter, datacenter and cluster.
According to different wire levels, the recommended network has a different structure.
2020-12-04 14:27:46 +08:00
Zexi Li
7f3c0d5fed Merge pull request #9052 from ioito/hotfix/qx-cloud-image-sync
feat(region): optimized public image sync
2020-12-04 10:59:12 +08:00
Zexi Li
1bc52e34df Merge pull request #9189 from rainzm/guest/medium
fix(region): remove default value of diskConfig.Medium
2020-12-04 10:41:14 +08:00
Zexi Li
68b9147ce1 Merge pull request #9083 from zexi/feature/climc-print-jsonobj
feat(climc): print json object support array
2020-12-04 10:24:06 +08:00
Zexi Li
beb7661b9f Merge pull request #9144 from yousong/feature/yousong-vpc-md
Feature/yousong vpc md
2020-12-04 10:23:25 +08:00
Zexi Li
670e3843ea Merge pull request #9183 from rainzm/gt/health_check
fix(region): inspect invalid guest template
2020-12-04 10:21:02 +08:00
Zexi Li
f510018dd8 Merge pull request #9180 from tb365/bugfix/tb-bugfix-1203
Bugfix/tb bugfix 1203
2020-12-04 10:18:41 +08:00
Zexi Li
6b08260f53 Merge pull request #9192 from swordqiu/hotfix/qj-allow-logout-by-get
fix(apigateway): allow logout by get method
2020-12-04 10:16:27 +08:00
Zexi Li
84a9f2357f Merge pull request #9184 from zexi/hotfix/scheduler-tag-nil
Hotfix/scheduler tag nil
2020-12-04 10:15:29 +08:00
lvyangyang
2edde62fca feat(region): add bucket cloud tags support 2020-12-04 10:11:25 +08:00
rainzm
4f8d86cb19 fix(region): remove default value of diskConfig.Medium
#8830 中,对调度器增加了通过请求磁盘的介质类型过滤存储的功能。

如果使用 climc 创建虚拟机且不要求磁盘有固定的介质类型,将
只能分配到 hybrid 的存储;进一步,如果没有 hybrid 的存储,将会调度失败。
2020-12-04 09:57:52 +08:00
Qiu Jian
d2caac95df fix(apigateway): allow logout by get method
All visit logout URL by GET method
2020-12-04 01:10:53 +08:00
Zexi Li
a7e40d36c5 fix(scheduler): check candidate tag resource is nil 2020-12-03 20:43:10 +08:00
rainzm
797039a399 fix(region): inspect invalid guest template
The glance service hangs and other external reasons may cause the guest template to be judged as invalid.
Therefore, health inspection should be performed on time for invalid guest templates.
2020-12-03 20:35:17 +08:00
lvyangyang
d2e5329f33 fix(region): fix modify tags log 2020-12-03 20:00:29 +08:00
TangBin
4b171e1630 fix(region): huawei vnc protocal fix 2020-12-03 20:00:17 +08:00
Zexi Li
553747b7c5 Merge pull request #9176 from zexi/hotfix/scheduler-select-unorder
fix(scheduler): select resource unordered
2020-12-03 19:55:18 +08:00
Zexi Li
2fbf4cb0f2 Merge pull request #9147 from lvyangyang/bucket-access-multicloud
feat(region): 多云 bucket  website.cors,referer 配置
2020-12-03 19:00:12 +08:00
Zexi Li
6a80a12664 fix(scheduler): select resource unordered 2020-12-03 18:41:04 +08:00
TangBin
5129296744 feat(webconsole): add huawei vnc support 2020-12-03 16:00:55 +08:00
Zexi Li
1f41cd9d71 Merge pull request #9135 from ioito/hotfix/qx-cloud-user-notify
feat(cloudid): notify clouduser created
2020-12-03 15:17:05 +08:00
Zexi Li
f9da585433 Merge pull request #9161 from ioito/hotfix/qx-recovery-new-rds
feat(region): huawei recovery new rds
2020-12-03 14:44:10 +08:00
Zexi Li
1908326fd0 Merge pull request #9163 from wanyaoqi/bugfix/wyq/fix-list-by-server-type
bugfix(region): fix list by srever type normal
2020-12-03 14:43:09 +08:00
Zexi Li
ef9cc03d46 Merge pull request #9138 from zhaoxiangchun/bugfix/zxc-suggest-timefromj-master
fix(monitor): modify influxdbSuggestDriver query err
2020-12-03 14:41:51 +08:00
zhaoxiangchun
df6a2634f7 fix(monitor): modify influxdbSuggestDriver query err
1.修复influxdb相关的建议规则查询数据失败的问题
2020-12-03 12:59:27 +08:00
wanyaoqi
23e4a483dc bugfix(region): fix list by srever type normal
server list by normal shouldn't contains gpu and backup servers

cherrypick: release/3.4
2020-12-03 12:03:59 +08:00
lvyangyang
8a9ec04f9f feat(region): 多云 bucket website.cors,referer 配置 2020-12-03 11:31:51 +08:00
Qu Xuan
1f91cc0f15 feat(region): huawei recovery new rds 2020-12-03 10:47:14 +08:00
TangBin
11d12ca7db fix(region): elb cached acl sync 2020-12-03 10:02:24 +08:00
Zexi Li
456a232ae2 Merge pull request #9134 from ioito/hotfix/qx-azure-win-account
fix(region): azure win os defualt user
2020-12-03 09:35:06 +08:00
Zexi Li
65be30fb4d Merge pull request #9154 from wanyaoqi/feature/wyq/add-filter-server-type
feat(region): add list filter server type
2020-12-03 09:32:59 +08:00
Qu Xuan
f4df3223bb feat(region): add instance storage capability 2020-12-02 21:21:29 +08:00
Zexi Li
9ff1846154 Merge pull request #9150 from ioito/hotfix/qx-qcloud-localdisk-sync
fix(region): avoid qcloud sync local disk error
2020-12-02 21:05:02 +08:00
wanyaoqi
64e844425a feat(region): add list filter server type
list server by specific server type: normal, gpu, backup

cherrypick: release/3.4
2020-12-02 20:27:01 +08:00
Qu Xuan
39d86735f5 fix(region): avoid qcloud sync local disk error 2020-12-02 20:24:59 +08:00
Yousong Zhou
771824d307 feat(appsrv): Application: add Stop method for shutdown behaviour 2020-12-02 18:04:31 +08:00
Yousong Zhou
6dce7d8ebc refactor(hostman): metadata: eliminate import of guestman 2020-12-02 18:04:31 +08:00
Yousong Zhou
38b6e011ef refactor(hostman): use metadata.DescGetterFunc 2020-12-02 18:04:31 +08:00
Yousong Zhou
de2f1ec3b4 refactor(host): metadata: eliminate ref of guestNic 2020-12-02 18:04:31 +08:00
Yousong Zhou
43215c2ad2 feat(host): metadata: make vpc aware metadata handler 2020-12-02 18:04:31 +08:00
Yousong Zhou
65220a6f5a feat(vpcagent): export subnet mac gen funcs 2020-12-02 18:04:31 +08:00
Zexi Li
7a2f64cc7d Merge pull request #9140 from swordqiu/hotfix/qj-not-allow-disable-sql-driver
fix(keystone): not allow to disable sql driver
2020-12-02 17:08:27 +08:00
Qiu Jian
ef648b5b87 fix(keystone): not allow to disable sql driver
not allow to disable default SQL identity_provider driver
2020-12-02 16:39:23 +08:00
Zexi Li
6cb7a60d93 Merge pull request #9061 from zhaoxiangchun/bugfix/zxc-nodata-master
fix(monitor): delete suggestConfig auto Initialized data
2020-12-02 14:52:00 +08:00
Qu Xuan
fc0f05286f feat(cloudid): notify clouduser created 2020-12-02 14:28:14 +08:00
zhaoxiangchun
2a7f9ab516 fix(monitor): delete suggestConfig auto init data
1.删除忽略列表之前逻辑初始化生成的配置config
2.忽略列表默认查询ignore=true的数据
3.修复建议列表 忽略一类建议不生效的问题
2020-12-02 11:18:13 +08:00
Qu Xuan
794e7494bc fix(region): azure win os defualt user 2020-12-02 09:51:58 +08:00
Zexi Li
5a5d5cc0c5 Merge pull request #9131 from ioito/hotfix/qx-qcloud-cam-user
fix(cloudid): sync qcloud collaborators user
2020-12-01 21:07:57 +08:00
Zexi Li
85c48b469c Merge pull request #9091 from tb365/bugfix/tb-bugfix-1130
fix(region): reserved name checking while create redis account
2020-12-01 21:06:16 +08:00
Zexi Li
51501fd205 Merge pull request #9123 from ioito/hotfix/qx-bucket-delete-condition
fix(region): allow delete resource which status is unknown
2020-12-01 21:04:52 +08:00
Zexi Li
5d63c907cf Merge pull request #9104 from rainzm/notify/second_try
fix(notify): return the result of the second attempt to execute the rpc call
2020-12-01 21:03:11 +08:00
Qu Xuan
f841fd85ad fix(cloudid): sync qcloud collaborators user 2020-12-01 20:34:16 +08:00
Zexi Li
0eb08f10ce Merge pull request #9109 from yousong/bugfix/yousong-hostman
fix(host): make sure it won't match vpc guests by accident
2020-12-01 20:13:15 +08:00
Zexi Li
7c4dc7e7e4 Merge pull request #9120 from ioito/hotfix/qx-rds-account-desc
fix(region): allow update rds account and database desc
2020-12-01 19:32:57 +08:00
yunion-ci-robot
07d863e388 Merge pull request #9116 from rainzm/sg/detach_guest
fix(region): delete guest without 'purge' in GuestDetachScalingGroupTask
2020-12-01 19:31:45 +08:00
Qu Xuan
b7ed3a683c fix(region): allow delete resource which status is unknown 2020-12-01 17:15:44 +08:00
Qu Xuan
b14f6be828 fix(region): allow update rds account and database desc 2020-12-01 16:37:42 +08:00
rainzm
6f92fef698 fix(region): delete guest without 'purge' in GuestDetachScalingGroupTask 2020-12-01 15:52:48 +08:00
Yousong Zhou
6db7503474 fix(host): make sure it won't match vpc guests by accident 2020-12-01 15:29:39 +08:00
rainzm
4135b3729b fix(notify): return the result of the second attempt to execute the rpc call 2020-12-01 14:35:04 +08:00
Zexi Li
47a2f5a9d9 feat(climc): print json object support array 2020-12-01 13:01:18 +08:00
yunion-ci-robot
760854ba91 Merge pull request #9100 from yousong/bugfix/yousong-qcloud-nic
Bugfix/yousong qcloud nic
2020-12-01 12:57:57 +08:00
Zexi Li
cd007d9fdb Merge pull request #9102 from ioito/hotfix/qx-code-gen-api
fix(region): code gen api error
2020-12-01 11:59:30 +08:00
Qu Xuan
54537e65c3 fix(region): code gen api error 2020-12-01 11:26:34 +08:00
Yousong Zhou
d7a11d1abf multicloud: qcloud: fix instancenic 2020-12-01 11:16:21 +08:00
Yousong Zhou
77af00ec7d multicloud: qcloud: add ptr deref func 2020-12-01 11:16:21 +08:00
Yousong Zhou
cd4d0a27b2 multicloud: qcloud: add apiDomainByRegion 2020-12-01 11:16:21 +08:00
Yousong Zhou
101abde5ae multicloud: qcloud: add getVpcClient 2020-12-01 11:16:21 +08:00
Yousong Zhou
68b8b7f7cd multicloud: qcloud: add getSdkClient 2020-12-01 11:16:21 +08:00
Yousong Zhou
00da68cb1f vendor: add tencentcloud-sdk-go vpc 2020-12-01 11:16:21 +08:00
Zexi Li
d0a2f43484 Merge pull request #9096 from yousong/bugfix/yousong-informer
Bugfix/yousong informer
2020-12-01 09:33:55 +08:00
Yousong Zhou
da4c2dcaa4 fix(taskman): SSubTask: set model manager 2020-11-30 23:09:55 +08:00
Yousong Zhou
3a0303df6f fix(region): secgrouprule: set model manager 2020-11-30 23:09:53 +08:00
Zexi Li
1115f6856d Merge pull request #9072 from ioito/hotfix/qx-huawei-saml-mapping
fix(cloudid): huawei saml provider create issue
2020-11-30 21:56:15 +08:00
Zexi Li
90416984b1 Merge pull request #9064 from ioito/hotfix/qx-apsara-fix
fix(region): apsara is private cloud
2020-11-30 21:53:20 +08:00
Zexi Li
1495f3b334 Merge pull request #9084 from yousong/feature/yousong-nas-filter
feat(region): networkaddresses: filter by guest ids
2020-11-30 21:52:39 +08:00
Zexi Li
bb005efe11 Merge pull request #9076 from rainzm/notify/spec_receiver
Notify via contact skip receiver
2020-11-30 21:50:06 +08:00
Zexi Li
53da87ad0b Merge pull request #9079 from yousong/feature/yousong-options-vpc-ea
feat(region): options: allow setting default vpc external access mode
2020-11-30 21:49:03 +08:00
Zexi Li
cbb8e3eca3 Merge pull request #9086 from rainzm/cp/sort_excludednet
fix(region): sort excludedNets correctly
2020-11-30 21:47:28 +08:00
Zexi Li
08f8149f25 Merge pull request #9075 from ioito/hotfix/qx-backup-create-optimized
fix(region): optimized rds backup create
2020-11-30 21:31:47 +08:00
rainzm
66f373d073 feat(cloudcommon): add NotifyWithContact 2020-11-30 19:58:49 +08:00
TangBin
1cf8bfb0a1 fix(region): reserved name checking while create redis account 2020-11-30 19:14:51 +08:00
Yousong Zhou
9dfea3835b feat(region): networkaddresses: filter by guest ids 2020-11-30 19:01:50 +08:00
rainzm
517390395b fix(region): sort excludedNets correctly
之前,excludedNets 内部表示起始 IP 的字段是 string 类型,直接使用 <
比较是错误的。
现在,把 excludedNets 表示起始 IP 的字段改为了
netutils.IPV4Addr,这样就可以正确地进行比较排序了。
2020-11-30 18:57:33 +08:00
Yousong Zhou
984dc84239 feat(region): options: allow setting default vpc external access mode 2020-11-30 18:27:25 +08:00
Yousong Zhou
d5a8158346 fix(region): pass up error from InitializeData 2020-11-30 18:27:25 +08:00
rainzm
a8ea8b10cc feat(cloudcommon): allways send webconsole notification via contacts
For notification with webconsole type, receiverId is same with contacts.
2020-11-30 17:45:52 +08:00
rainzm
3ba52355b8 feat(notify): permit admin sending notification via contact
In this way, you can easily send notification to non-existent receiver.
2020-11-30 17:45:48 +08:00
Qu Xuan
4ab1fe75c0 fix(region): optimized rds backup create 2020-11-30 17:45:21 +08:00
Qu Xuan
7bac9144ef feat(region): optimized public image sync 2020-11-30 17:23:51 +08:00
Qu Xuan
5f84614618 fix(cloudid): huawei saml provider create issue 2020-11-30 16:29:11 +08:00
Zexi Li
3a6713a5d5 Merge pull request #8995 from ioito/hotfix/qx-cloudid-policy-sync
fix(cloudid): avoid new public account sync system policy delay 1 day
2020-11-30 14:12:45 +08:00
Zexi Li
9a4ff2747a Merge pull request #9063 from rainzm/feat/hub_version
feat(scripts): add prompt of `hub` version
2020-11-30 12:09:11 +08:00
Qu Xuan
f27ab3cc7c fix(region): apsara is private cloud 2020-11-30 10:39:11 +08:00
rainzm
d6d1082042 feat(scripts): add prompt of hub version
The flag `hub pr show -f ...` as used in cherry_pick_pull.sh was
permited since version 2.13.0.

close #9027
2020-11-30 10:09:53 +08:00
Zexi Li
103d72bfae Merge pull request #8575 from yousong/feature/yousong-nas
Feature/yousong  networkaddresses
2020-11-27 20:18:22 +08:00
Qu Xuan
3b0710d982 fix(cloudid): avoid new public account sync system policy delay 1 day 2020-11-27 20:17:16 +08:00
Zexi Li
e1c4885aed Merge pull request #9021 from ioito/hotfix/qx-cloud-account-auto-sync
fix(region): auto sync cloudaccount resources
2020-11-27 20:13:46 +08:00
yunion-ci-robot
d1245f63f7 Merge pull request #8434 from ioito/hotfix/qx-panic-log
fix: add panic log for worker task
2020-11-27 20:09:47 +08:00
Zexi Li
fb79e1ad42 Merge pull request #9054 from zhaoxiangchun/bugfix/zxc-nodata-master
fix(monitor): modify monitor nodata alert matching onecloud host func
2020-11-27 20:07:24 +08:00
Zexi Li
e95a667bdd Merge pull request #9056 from lvyangyang/bucket_refer_fix
fix(region): bucket get referer fix
2020-11-27 20:03:44 +08:00
Qu Xuan
5cba23d8cf fix: add panic log for worker task 2020-11-27 19:36:44 +08:00
lvyangyang
ad4c3a38e3 fix(region): bucket get referer fix 2020-11-27 19:04:19 +08:00
zhaoxiangchun
73ec2db41b fix(monitor): modify monitor nodata alert matching onecloud host func 2020-11-27 19:03:49 +08:00
yunion-ci-robot
3c47d38367 Merge pull request #9036 from yousong/feature/yousong-guest-search
feat(region): search server by substr of ip or mac
2020-11-27 18:46:36 +08:00
Zexi Li
fbfa6e0c81 Merge pull request #9049 from wanyaoqi/bugfix/wyq/fix-scheduler-network-predicate2
fix(region,scheduler): fix netwrok predicate
2020-11-27 18:43:32 +08:00
wanyaoqi
ff9d051fab fix(region,scheduler): fix netwrok predicate
1. Guest config to schedule input should include network exit propertites.
2. Guest migrate and create backup server should not check network count,
because of migrate and create backup server will not allocate new network to guest.

cherrypick: release/3.5
2020-11-27 18:14:46 +08:00
yunion-ci-robot
0908b81e23 Merge pull request #9046 from rainzm/isp/fix_provider_1
fix(region): get provider name via GetProviderName
2020-11-27 17:58:31 +08:00
rainzm
c6592cadc4 fix(region): get provider name via GetProviderName 2020-11-27 17:31:36 +08:00
Zexi Li
24592f0641 Merge pull request #9033 from lvyangyang/bucket_acl
feat(region): set qcloud bucket policy
2020-11-27 16:29:43 +08:00
rainzm
83f017a07b fix(region): get provider name via GetProviderName 2020-11-27 16:11:09 +08:00
lvyangyang
1591f0ab81 feat(region): set qcloud bucket policy 2020-11-27 14:33:58 +08:00
Yousong Zhou
639d05dd43 feat(region): search server by substr of ip or mac 2020-11-27 14:33:14 +08:00
Zexi Li
6e58db6b12 Merge pull request #9022 from swordqiu/hotfix/qj-adjust-keystone-policy-sync-period
fix(cloudcommon): adjust policy refresh to default 30 seconds
2020-11-27 14:22:02 +08:00
yunion-ci-robot
21c716d2ba Merge pull request #9024 from ioito/hotfix/qx-cloudid-role-name
fix(cloudid): avoid use invalid character for role name
2020-11-27 09:51:35 +08:00
Zexi Li
f0f4e54c21 Merge pull request #8998 from ioito/hotfix/qx-saml-policy
fix(region): allow member user get saml auth addr
2020-11-26 21:39:37 +08:00
Zexi Li
1fa7da126a Merge pull request #9018 from ioito/hotfix/qx-saml-provider-update
fix(cloudid): auto update saml provider metadata
2020-11-26 21:38:09 +08:00
Qu Xuan
1e5014aa41 fix(cloudid): avoid use invalid character for role name 2020-11-26 21:36:59 +08:00
Zexi Li
65496e636d Merge pull request #9002 from ioito/hotfix/qx-aliyun-fin-bucket-objects
fix(region): avolid aliyun fin bucket list objects error
2020-11-26 21:36:44 +08:00
yunion-ci-robot
2d3de92eea Merge pull request #9015 from tb365/bugfix/tb-huawei-sync-storage-bugfix
fix(region): huawei sync storages bugfix
2020-11-26 21:36:30 +08:00
Zexi Li
d16f7d9803 Merge pull request #9012 from ioito/hotfix/qx-qcloud-request-limit
fix(region): qcloud request retry
2020-11-26 21:31:38 +08:00
Zexi Li
af2448f63a Merge pull request #9005 from yousong/feature/yousong-ovn-encap-ip
Feature/yousong ovn encap ip
2020-11-26 21:29:12 +08:00
Zexi Li
30cfb4f931 Merge pull request #9009 from ioito/hotfix/qx-climc-clirc
fix(climc): replace ' -> "
2020-11-26 21:26:32 +08:00
Yousong Zhou
929fa87c5f vpcagent: ovn: make aware of sub ips 2020-11-26 21:18:59 +08:00
Yousong Zhou
be478c4430 vpcagent: models: join network addresses 2020-11-26 21:18:59 +08:00
Yousong Zhou
d96d51603e vpcagent: apihelper: filter by cloud_env=onpremise 2020-11-26 21:18:59 +08:00
Yousong Zhou
d14a35fa2c multicloud: aliyun: instancenic: handle InvalidOperation.Ipv4CountExceeded 2020-11-26 21:18:59 +08:00
Yousong Zhou
18ac0205b3 networkaddresses: handle cloudprovider.ErrAddressCountExceed 2020-11-26 21:18:59 +08:00
Yousong Zhou
325623a70e cloudprovider: add ErrAddressCountExceed 2020-11-26 21:18:59 +08:00
Yousong Zhou
374b96553c networkaddresses: do server sync for on premise servers 2020-11-26 21:18:59 +08:00
Yousong Zhou
b0f958e8ab networkaddresses: disallow batch create for external resources 2020-11-26 21:18:59 +08:00
Yousong Zhou
4c04e48ac0 networkaddresses: cloudprovider support 2020-11-26 21:18:58 +08:00
Yousong Zhou
8042a74295 multicloud: aws: subaddress management 2020-11-26 21:18:58 +08:00
Yousong Zhou
f656504587 multicloud: aws: instancenic: add interface id attribute 2020-11-26 21:18:58 +08:00
Yousong Zhou
33fdcda955 multicloud: aliyun: instancenic: secondary address management 2020-11-26 21:18:58 +08:00
Yousong Zhou
fe6714b287 vendor: bump alibaba-cloud-sdk-go to v1.61.684
For commit [1]

 [1] 6313cc407e
2020-11-26 21:18:58 +08:00
Yousong Zhou
3bbaedaa7f vendor: add github.com/aliyun/alibaba-cloud-sdk-go/services/ecs 2020-11-26 21:18:58 +08:00
Yousong Zhou
d0f64150c2 cloudprovider: ICloudNic: add methods for secondary addresses 2020-11-26 21:18:58 +08:00
Yousong Zhou
ab7ad856b5 multicloud: ICloudNic: add GetId() 2020-11-26 21:18:58 +08:00
Yousong Zhou
1569966aa3 multicloud: ICloudNic: fix GetMAC() 2020-11-26 21:18:58 +08:00
Yousong Zhou
9f31365416 hostman: metadata: add handler for /local-sub-ipv4s 2020-11-26 21:18:58 +08:00
Yousong Zhou
e3b55426aa networkaddresses: add to nics field of guest desc 2020-11-26 21:18:58 +08:00
Yousong Zhou
1476f59130 networkaddresses: add parent_type guestnetwork 2020-11-26 21:18:58 +08:00
Yousong Zhou
2306fbb6f5 networks: usedAddressQuery: rename with baseq, ownerq, retq 2020-11-26 21:18:58 +08:00
Yousong Zhou
4ec791f031 networks: split getUsedAddressQuery as method of each manager 2020-11-26 21:18:57 +08:00
Yousong Zhou
10042037ab networks: fix typo in log 2020-11-26 21:18:57 +08:00
Yousong Zhou
b271ab4631 db_dispatcher: allow batch create for models without name 2020-11-26 21:18:57 +08:00
Yousong Zhou
1d25083bfe db: interface: manager: add HasName() method 2020-11-26 21:18:57 +08:00
Yousong Zhou
8e2c8feabf db: standalone_anon: empty result for name query 2020-11-26 21:18:57 +08:00
Yousong Zhou
3d53f8dabe db: add standalone_anon 2020-11-26 21:18:57 +08:00
Yousong Zhou
cc00e58f58 schedtags: add ListItemExportKeys 2020-11-26 21:18:57 +08:00
Yousong Zhou
6bf5be5b0b db: add manager methods appliers 2020-11-26 21:18:57 +08:00
Yousong Zhou
a57a63bf58 db_dispatcher: delay compute to where needed 2020-11-26 21:18:57 +08:00
Yousong Zhou
fd98674c92 db_dispatcher: remove unused GetExtraDetails call 2020-11-26 21:18:57 +08:00
Yousong Zhou
6c65eb1ea6 db: virtualjoint: add FilterById on RowId 2020-11-26 21:18:57 +08:00
Yousong Zhou
89361aee27 db: modelbase: BatchCreateValidateCreateData: return orig data 2020-11-26 21:18:57 +08:00
Yousong Zhou
805002005f db: check funcs required by dispatcher 2020-11-26 21:18:57 +08:00
Yousong Zhou
97dbd1899f region: networks: attach func use struct args 2020-11-26 21:18:57 +08:00
Yousong Zhou
7444234981 region: networkresource: fix signature of GetExtraDetails 2020-11-26 21:18:57 +08:00
Yousong Zhou
ff525a9595 multicloud: aliyun: make getSdkClient proxy aware 2020-11-26 21:18:57 +08:00
Yousong Zhou
027817f565 climc: helper: add BatchCreate helper 2020-11-26 21:18:57 +08:00
Yousong Zhou
85aa05f1f7 climc: helper: create call as a standalone method 2020-11-26 21:18:57 +08:00
Yousong Zhou
a56aca9cbe climc: s/Keyworkd/Keyword/ 2020-11-26 21:18:53 +08:00
Yousong Zhou
02315bdd85 vendor: bump yunion.io/x/pkg 2020-11-26 21:17:07 +08:00
Yousong Zhou
d67eeac5dd vendor: bump yunion.io/x/sqlchemy 2020-11-26 21:17:07 +08:00
Qiu Jian
ef8ad89668 fix(cloudcommon): adjust policy refresh to default 30 seconds
Cache policy check result for 30 seconds by default
2020-11-26 21:14:50 +08:00
Qu Xuan
b574323cba fix(region): auto sync cloudaccount resources 2020-11-26 20:53:27 +08:00
Qu Xuan
ac146af36b fix(cloudid): auto update saml provider metadata 2020-11-26 20:18:13 +08:00
TangBin
797101e6ca fix(region): huawei sync storages bugfix 2020-11-26 19:25:25 +08:00
Qu Xuan
bd8cf2453d fix(region): qcloud request retry 2020-11-26 19:02:41 +08:00
Qu Xuan
5c64f32f08 fix(climc): replace ' -> " 2020-11-26 17:35:15 +08:00
Yousong Zhou
bbc511f6d1 feat(host): add option OvnEncapIpDetectionMethod can-reach:xx 2020-11-26 17:01:08 +08:00
Yousong Zhou
1c39030edb feat(netutils2): add MyIPTo 2020-11-26 16:53:39 +08:00
yunion-ci-robot
219b591252 Merge pull request #8828 from wanyaoqi/feature/wyq/update-arm-apis
feature: update cpu arch apis
2020-11-26 16:37:33 +08:00
Qu Xuan
5a82bffebd fix(region): avolid aliyun fin bucket list objects error 2020-11-26 16:15:51 +08:00
wanyaoqi
3f8e469438 feat(region/glance): update cpu arch apis
add multi arch resourcebase manager
update multi arch resource list apis

cherrypick: release/3.6
2020-11-26 15:14:03 +08:00
Qu Xuan
880e09ee34 fix(region): allow member user get saml auth addr 2020-11-26 15:01:09 +08:00
Zexi Li
d7c096db0f Merge pull request #8968 from swordqiu/hotfix/qj-esxi-host-bebind-nat
fix(region,esxiagent): allow host behind a nat
2020-11-26 12:11:05 +08:00
yunion-ci-robot
e567d6a552 Merge pull request #8991 from zexi/hotfix/scheduler-sync
fix(scheduler): cleanup exipre cache before schedule
2020-11-26 11:44:39 +08:00
Zexi Li
b7a8b37f7d fix(region): wire get vpc releated hosts is empty 2020-11-26 10:59:39 +08:00
yunion-ci-robot
66c200cd3f Merge pull request #8779 from tb365/feature/tb-loadbalancer-project-optimization
负载均衡ACL&证书增加项目和共享
2020-11-26 10:47:34 +08:00
TangBin
8686b77b87 fix(region): climc add base projects options 2020-11-26 10:24:41 +08:00
Zexi Li
aaef2778e3 Merge pull request #8937 from yousong/bugfix/yousong-task-err
fix(treewide): fix task error recording
2020-11-26 09:24:55 +08:00
Zexi Li
99a8f99e1d Merge pull request #8886 from rainzm/feat/cp_pr_title
feat(scripts): add more reasonable title for cherry pick PR
2020-11-25 22:05:28 +08:00
Zexi Li
180cb4fabf Merge pull request #8925 from rainzm/isp/quota
Fixs for InstanceSnapshot
2020-11-25 22:04:18 +08:00
Zexi Li
0743852fab Merge pull request #8902 from zhaoxiangchun/feature/zxc-nodata-master
feat(monitor): add nodata alert policy
2020-11-25 22:02:44 +08:00
Zexi Li
40d7135dc2 Merge pull request #8955 from tb365/bugfix/tb-bugfix-1125
fix(region): allow reset huawei system disk
2020-11-25 22:01:07 +08:00
Zexi Li
ae06501b4e Merge pull request #8961 from ioito/hotfix/qx-qcloud-hssd
fix(region): valid qcloud hssd for system disk
2020-11-25 21:59:17 +08:00
Zexi Li
8a74b3e3fa Merge pull request #8977 from zhaoxiangchun/bugfix/zxc-monitor-servicetype-master
fix(monitor): modify monitor serviceType in StartService()
2020-11-25 21:56:50 +08:00
Zexi Li
f4d1ca4667 Merge pull request #8987 from rainzm/fix/sci_delete
fix(region): allow delete storagecachedimage with 'cache_failed' status
2020-11-25 21:55:26 +08:00
Zexi Li
b7835f9796 fix(region): network clean schedule cache after real deleted 2020-11-25 21:50:14 +08:00
Zexi Li
c0da4cc524 fix(scheduler): clean expire cache before schedule 2020-11-25 21:50:14 +08:00
zhaoxiangchun
dcdf3a1281 fix(monitor): modify monitor serviceType in StartService()
1.修改monitor服务在service代码中注册的serviceType:
   alerter ===> monitor
2020-11-25 20:29:49 +08:00
Zexi Li
69d712a1b4 Merge pull request #8965 from zhaoxiangchun/bugfix/zxc-suggest-timefromj-master
fix(monitor): suggestalert ignore throw err
2020-11-25 19:45:52 +08:00
Zexi Li
453541393b Merge pull request #8973 from ioito/hotfix/qx-qcloud-instance-delete-timeout
fix(region): set qcloud instance del timeout to 20m
2020-11-25 19:37:04 +08:00
rainzm
da03a979f8 fix(region): ignore params.Disks when cloning vm from snapshot 2020-11-25 18:23:14 +08:00
rainzm
be76d1eb47 fix(region): add size and storageType for VMware InstanceSnapshot 2020-11-25 18:23:14 +08:00
rainzm
b9e983787d fix(esxiagent): add humanized tips when searching vm failed 2020-11-25 18:23:14 +08:00
rainzm
e6c908da2e fix(region): make project of instance snapshot be consistent with the instance 2020-11-25 18:23:14 +08:00
rainzm
b4011db917 fix(region): save when canceling pendingUsage 2020-11-25 18:23:14 +08:00
rainzm
4b73139763 feat(region): set pendingUsage before creating instance snapshots 2020-11-25 18:23:12 +08:00
rainzm
d1ed0ec679 feat(region): add instance_snapshot for regionquota 2020-11-25 18:22:29 +08:00
rainzm
33a702617f fix(region): purge all instance snapshots when purging guest 2020-11-25 18:22:23 +08:00
rainzm
e4cd054b74 feat(region): add SCloudregionResourceBase for SInstanceSnapshot
理论上,可以通过
SInstanceSnapshot->SGuest->SHost->SZone->SCloudregionResourceBase
拿到 cloudregion_id, 但是这样的效率太低了
2020-11-25 18:21:14 +08:00
TangBin
a537c0e396 fix(region): update translations 2020-11-25 18:10:32 +08:00
TangBin
332f752ae3 fix(region): allow reset huawei system disk 2020-11-25 18:06:41 +08:00
rainzm
052a10f635 fix(region): allow delete storagecachedimage with 'cache_failed' status
Having status 'cache_failed' means this storagecachedimage does not actually exist.
2020-11-25 17:43:39 +08:00
Zexi Li
319a7ab2a2 Merge pull request #8970 from ioito/hotfix/qx-saml-auth-url
fix(cloudid): avoid empty auth url
2020-11-25 17:16:40 +08:00
Qu Xuan
bd9f961bd2 fix(region): set qcloud instance del timeout to 20m 2020-11-25 17:16:15 +08:00
Qu Xuan
79ea27170f fix(cloudid): avoid empty auth url 2020-11-25 17:05:59 +08:00
Zexi Li
5a4b95f1a5 Merge pull request #8958 from ioito/hotfix/qx-saml-auth
fix(region): validate cloudaccount saml auth params
2020-11-25 16:06:41 +08:00
Qiu Jian
a5327c3cec fix(region,esxiagent): allow host behind a nat
check host by ip may fail if host is behind a nat. ignore this case.
2020-11-25 12:17:13 +08:00
zhaoxiangchun
e10d9b698e Merge branch 'master' of https://github.com/yunionio/onecloud into feature/zxc-nodata-master 2020-11-25 12:06:28 +08:00
zhaoxiangchun
b8c008a8a1 fix(monitor): suggestalert ignore throw err
1.修复优化建议忽略操作报错
2020-11-25 12:01:05 +08:00
Qu Xuan
c5c77b4062 fix(region): valid qcloud hssd for system disk 2020-11-25 11:50:49 +08:00
Qu Xuan
c05b75385f fix(region): validate cloudaccount saml auth params 2020-11-25 11:33:50 +08:00
yunion-ci-robot
4a8eafbc0a Merge pull request #8895 from ioito/hotfix/qx-password-check
fix(region): 避免OneCloud密码校验通过,公有云厂商密码校验不通过
2020-11-25 09:58:15 +08:00
Zexi Li
693201b803 Merge pull request #8947 from yousong/bugfix/yousong-vm-changeip-eip
fix(region): change_ipaddr: retain eip_id on detach and attach
2020-11-25 09:27:59 +08:00
yunion-ci-robot
01a46ea458 Merge pull request #8942 from yousong/bugfix/yousong-vm-changeip
Bugfix/yousong vm changeip
2020-11-25 09:16:16 +08:00
Yousong Zhou
2c8c3b7907 fix(region): change_ipaddr: retain eip_id on detach and attach 2020-11-24 21:57:27 +08:00
Yousong Zhou
9beb3706ed fix(vpcagent): models: guestnetworks: accomodate change_ipaddr
change_ipaddr does detach, then attach of network.  It's not solely an
update of ipaddr, but a combination of deletion then creation.
2020-11-24 21:55:04 +08:00
Yousong Zhou
64dc5219f7 feat(cloudcommon): db: jointbase: add list:"user" for RowId 2020-11-24 21:55:04 +08:00
yunion-ci-robot
75331fe417 Merge pull request #8930 from zexi/feature/schedtag-set-resource
feat(region/schedtag): schedtag support set multi resources
2020-11-24 21:33:17 +08:00
yunion-ci-robot
6c00313a01 Merge pull request #8926 from zhaoxiangchun/bugfix/zxc-suggest-timefromj-master
fix(monitor): modify suggestrule  process influxdb data
2020-11-24 21:28:14 +08:00
Yousong Zhou
c6970e9a25 fix(treewide): fix task error recording 2020-11-24 20:36:14 +08:00
yunion-ci-robot
dc3e2a7b24 Merge pull request #8933 from ioito/hotfix/qx-eip-bw
fix(region): avoid public ip bandwidth is zero
2020-11-24 20:24:17 +08:00
TangBin
18a185aec9 负载均衡ACL&证书增加项目和共享 2020-11-24 19:44:49 +08:00
Qu Xuan
e6b75b8537 fix(region): avoid public ip bandwidth is zero 2020-11-24 18:09:34 +08:00
zhaoxiangchun
91d1f64eff fix(monitor): modify suggestrule process influxdb data
1. 调整与监控相关的时间范围的判断逻辑:不再要求时间范围内必须都有数据
2020-11-24 17:45:47 +08:00
Zexi Li
3edf8c1d08 feat(region/schedtag): schedtag support set multi resources 2020-11-24 15:01:02 +08:00
lvyangyang
6a480937b8 fix(region): fix set bucket referer 2020-11-23 16:08:50 +08:00
zhaoxiangchun
4888f7d819 feat(monitor): add nodata alert policy
1.add queryConditon子类:nodataQueryCondition处理nodata类型策略
2.遍历Onecloud类型宿主机,得到nodata宿主机信息
2020-11-23 10:10:14 +08:00
Qu Xuan
0da66b071e fix(region): 避免OneCloud密码校验通过,公有云厂商密码校验不通过 2020-11-21 23:58:25 +08:00
rainzm
c5f94e13a3 feat(scripts): add more reasonable title for cherry pick PR
Before that, we used the first commit title of the main PRs and spliced
them to become the title of the cherry pick PR.

Obviously, it is more reasonable to use the titles of the main PRs and
splicing to become the title of the cherry pick PR.
2020-11-20 17:36:17 +08:00
2561 changed files with 235998 additions and 52555 deletions

View File

@@ -5,10 +5,10 @@ version: 2
jobs:
check:
docker:
- image: yunionio/centos-build:1.0-1
- image: yunionio/centos-build:1.1-4
environment:
ONECLOUD_CI_BUILD: "1"
working_directory: /root/go/onecloud
working_directory: /root/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/centos-build:1.1-4
environment:
ONECLOUD_CI_BUILD: "1"
@@ -26,7 +26,7 @@ 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: /root/go/src/yunion.io/x/onecloud
parallelism: 4
steps:
- checkout
@@ -51,10 +51,10 @@ jobs:
requires:
- check
docker:
- image: yunionio/centos-build:1.0-1
- image: yunionio/centos-build:1.1-4
environment:
GO111MODULE: "on"
working_directory: /root/go/onecloud
ONECLOUD_CI_BUILD: "1"
working_directory: /root/go/src/yunion.io/x/onecloud
parallelism: 4
steps:
- checkout

View File

@@ -18,4 +18,6 @@ assignees: ''
**Environment**:
- OS (e.g: `cat /etc/os-release`):
- Kernel (e.g. `uname -a`):
- Others:
<!--
- Version (e.g. `climc version-list`):
-->

147
Makefile
View File

@@ -6,6 +6,7 @@ ROOT_DIR := $(CURDIR)
BUILD_DIR := $(ROOT_DIR)/_output
BIN_DIR := $(BUILD_DIR)/bin
BUILD_SCRIPT := $(ROOT_DIR)/build/build.sh
DEB_BUILD_SCRIPT := $(ROOT_DIR)/build/build_deb.sh
ifeq ($(ONECLOUD_CI_BUILD),)
GIT_COMMIT := $(shell git rev-parse --short HEAD)
@@ -64,6 +65,7 @@ endif
cmdTargets:=$(filter-out cmd/host-image,$(wildcard cmd/*))
rpmTargets:=$(foreach b,$(patsubst cmd/%,%,$(cmdTargets)),$(if $(shell [ -f "$(CURDIR)/build/$(b)/vars" ] && echo 1),rpm/$(b)))
debTargets:=$(foreach b,$(patsubst cmd/%,%,$(cmdTargets)),$(if $(shell [ -f "$(CURDIR)/build/$(b)/vars" ] && echo 1),deb/$(b)))
all: build
@@ -87,21 +89,45 @@ vet:
cmd/esxi-agent: prepare_dir
CGO_ENABLED=0 $(GO_BUILD) -o $(BIN_DIR)/$(shell basename $@) $(REPO_PREFIX)/$@
cmd/fetcherfs: 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)/$@
rpm/%: cmd/%
$(BUILD_SCRIPT) $*
deb/%: cmd/%
$(DEB_BUILD_SCRIPT) $*
pkg/%: prepare_dir
$(GO_INSTALL) $(REPO_PREFIX)/$@
rpm/fetcherfs: cmd/fetcherfs
docker run --rm \
--name docker-centos-build-fetcherfs \
-v $(CURDIR):/data \
registry.cn-beijing.aliyuncs.com/yunionio/centos-build:1.1-4 \
/bin/bash -c "VERSION=3.6 /data/build/build.sh fetcherfs /opt/yunion/fetchclient/bin"
deb/fetcherfs: rpm/fetcherfs
#VERSION=3.6 $(DEB_BUILD_SCRIPT) fetcherfs /opt/yunion/fetchclient/bin
docker run --rm \
--name docker-debian-build-fetcherfs \
-v $(CURDIR):/data \
registry.cn-beijing.aliyuncs.com/yunionio/debian10-base:1.0 \
/data/build/convert_rpm2deb.sh
build:
$(MAKE) $(cmdTargets)
rpm:
$(MAKE) $(rpmTargets)
deb:
$(MAKE) $(debTargets)
rpmclean:
rm -fr $(BUILD_DIR)/rpms
@@ -126,6 +152,11 @@ clean:
fmt:
@git ls-files --exclude '*' '*.go' \
| grep -v '^vendor/' \
| while read f; do \
if ! grep -m1 -q '^// Code generated .* DO NOT EDIT\.$$' "$$f"; then \
echo "$$f"; \
fi ; \
done \
| xargs $(XARGS_FLAGS) gofmt -w
fmt-check: fmt
@@ -168,10 +199,53 @@ vet-check:
./scripts/vet.sh chk
.PHONY: vet-check
comma:=,
space:=$(space) $(space)
# NOTE: keep y18n-packages in alphabetical order
y18n-src-lang := en-US
y18n-lang := en-US,zh-CN
y18n-packages := \
yunion.io/x/onecloud/cmd/apigateway \
yunion.io/x/onecloud/cmd/keystone \
yunion.io/x/onecloud/cmd/monitor \
yunion.io/x/onecloud/cmd/region \
yunion.io/x/onecloud/cmd/yunionconf \
define y18n-gen
set -o errexit; \
set -o pipefail; \
export GO111MODULE=off; \
y18n \
-chdir $(CURDIR) \
-dir ./locales/ \
-out ./locales/locales.go \
-lang $(y18n-lang) \
$(y18n-packages) \
; \
$(foreach lang,$(filter-out $(y18n-src-lang),$(subst $(comma), ,$(y18n-lang))),cp ./locales/$(lang)/{out,messages}.gotext.json;) \
endef
y18n-gen:
$(y18n-gen)
$(y18n-gen)
.PHONY: y18n-gen
y18n-check:
$(y18n-gen)
if git status --short ./locales | sed 's/^/$@: /' | grep .; then \
echo "$@: Locales content needs care" >&2 ; \
false; \
fi
.PHONY: y18n-check
check: fmt-check
check: gendocgo-check
check: goimports-check
check: vet-check
#check: y18n-check
.PHONY: check
@@ -194,74 +268,11 @@ 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 -d $(patsubst %,%@master,$(shell GO111MODULE=on go mod edit -print | sed -n -e 's|.*\(yunion.io/x/[a-z].*\) v.*|\1|p' | grep -v sqlchemy))
go get -d yunion.io/x/sqlchemy@v1.0.0
go mod tidy
go mod vendor -v
DOCKER_CENTOS_BUILD_IMAGE?=registry.cn-beijing.aliyuncs.com/yunionio/centos-build:1.1-3
define dockerCentOSBuildCmd
set -o xtrace
set -o errexit
set -o pipefail
cd /root/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 rm --force onecloud-ci-build &>/dev/null || true
docker run \
--name onecloud-docker-centos-build \
--rm \
--volume $(CURDIR):/root/onecloud \
--volume $(CURDIR)/_output/_cache:/root/.cache \
$(DOCKER_CENTOS_BUILD_IMAGE) \
/bin/bash -c "$$dockerCentOSBuildCmd"
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 stop --time 0 onecloud-docker-centos-build || true
.PHONY: docker-centos-build
.PHONY: docker-centos-build-stop
DOCKER_ALPINE_BUILD_IMAGE?=registry.cn-beijing.aliyuncs.com/yunionio/alpine-build:1.0-5
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 \
$(DOCKER_ALPINE_BUILD_IMAGE) \
/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
define helpText
Build with docker
@@ -319,5 +330,11 @@ image:
.PHONY: image
image-telegraf-raid-plugin:
VERSION=release-1.6.3 ARCH=all make image telegraf-raid-plugin
%:
@:
ModName:=yunion.io/x/onecloud
include $(CURDIR)/Makefile.common.mk

83
Makefile.common.mk Normal file
View File

@@ -0,0 +1,83 @@
ifeq ($(__inc_Makefile_common_mk),)
__inc_Makefile_common_mk:=1
ifeq ($(ModName),)
$(error ModName must be set, e.g. yunion.io/x/onecloud)
endif
ModBaseName:=$(notdir $(ModName))
DockerImageRegistry?=registry.cn-beijing.aliyuncs.com
DockerImageAlpineBuild?=$(DockerImageRegistry)/yunionio/alpine-build:1.1-5
DockerImageCentOSBuild?=$(DockerImageRegistry)/yunionio/centos-build:1.1-5
EnvIf=$(if $($(1)),$(1)=$($(1)))
define dockerCentOSBuildCmd
set -o xtrace
set -o errexit
set -o pipefail
cd /root/go/src/yunion.io/x/$(ModBaseName)
env \
$(call EnvIf,GOARCH) \
$(call EnvIf,GOOS) \
$(call EnvIf,CGO_ENABLED) \
make $(1)
chown -R $(shell id -u):$(shell id -g) _output
endef
docker-centos-build: export dockerCentOSBuildCmd:=$(call dockerCentOSBuildCmd,$(F))
docker-centos-build:
docker rm --force docker-centos-build-$(ModBaseName) &>/dev/null || true
docker run \
--rm \
--name docker-centos-build-$(ModBaseName) \
-v $(CURDIR):/root/go/src/yunion.io/x/$(ModBaseName) \
-v $(CURDIR)/_output/centos-build:/root/go/src/yunion.io/x/$(ModBaseName)/_output \
-v $(CURDIR)/_output/centos-build/_cache:/root/.cache \
$(DockerImageCentOSBuild) \
/bin/bash -c "$$dockerCentOSBuildCmd"
ls -lh _output/centos-build/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 stop --time 0 docker-centos-build-$(ModBaseName) || 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/$(ModBaseName)
env \
$(call EnvIf,GOARCH) \
$(call EnvIf,GOOS) \
$(call EnvIf,CGO_ENABLED) \
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 docker-alpine-build-$(ModBaseName) &>/dev/null || true
docker run \
--rm \
--name docker-alpine-build-$(ModBaseName) \
-v $(CURDIR):/root/go/src/yunion.io/x/$(ModBaseName) \
-v $(CURDIR)/_output/alpine-build:/root/go/src/yunion.io/x/$(ModBaseName)/_output \
-v $(CURDIR)/_output/alpine-build/_cache:/root/.cache \
$(DockerImageAlpineBuild) \
/bin/sh -c "$$dockerAlpineBuildCmd"
ls -lh _output/alpine-build/bin
docker-alpine-build-stop:
docker stop --time 0 docker-alpine-build-$(ModBaseName) || true
.PHONY: docker-alpine-build
.PHONY: docker-alpine-build-stop
endif # __inc_Makefile_common_mk

6
OWNERS
View File

@@ -4,12 +4,6 @@ reviewers:
- ioito
- swordqiu
- tb365
- wanyaoqi
- yousong
- zhaoxiangchun
- zhasm
approvers:
- swordqiu
- yousong
- wanyaoqi
- Zexi

View File

@@ -1,12 +1,12 @@
# Yunion OneCloud (云联融合云)
# Yunion Cloud (云联融合云)
[![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)
[![CircleCI](https://circleci.com/gh/yunionio/yunioncloud.svg?style=svg)](https://circleci.com/gh/yunionio/yunioncloud)
[![Build Status](https://travis-ci.com/yunionio/yunioncloud.svg?branch=master)](https://travis-ci.org/yunionio/yunioncloud)
[![Go Report Card](https://goreportcard.com/badge/github.com/yunionio/yunioncloud)](https://goreportcard.com/report/github.com/yunionio/yunioncloud)
## 什么是云联融合云?
云联融合云Yunion OneCloud是一个开源的多云平台。融合云构建在用户分布于多云基础设施之上通过技术手段将分布于多云的异构IT资源统一管理将多底层多云的差异向用户屏蔽并通过网络和调度实现资源的融合与打通在多云之上进行抽象向用户呈现统一的使用界面和API接口让用户就像使用一个云平台一样使用分布于多云的资源实现一个统一的“云上之云”的云平台。
云联融合云Yunion Cloud是一个开源的多云平台。融合云构建在用户分布于多云基础设施之上通过技术手段将分布于多云的异构IT资源统一管理将多底层多云的差异向用户屏蔽并通过网络和调度实现资源的融合与打通在多云之上进行抽象向用户呈现统一的使用界面和API接口让用户就像使用一个云平台一样使用分布于多云的资源实现一个统一的“云上之云”的云平台。
鉴于企业IT基础设施的两个趋势1. 企业使用多云基础设施并且公有云是最主要的基础设施提供者2. 企业应用将逐步云原生化企业IT基础设施需要为Kubernetes优化。融合云为此架构而设计。一方面抽象管理底层的多云基础设施另一方面为多云Kubernetes提供运行环境。融合云为企业未来的的IT基础设施架构而设计。
@@ -18,18 +18,18 @@
- 内置私有云
OneCloud内置完备的私有云实现提供对用户本地IDC的虚拟机、物理机和负载均衡等资源管理。
YunionCloud 内置完备的私有云实现提供对用户本地IDC的虚拟机、物理机和负载均衡等资源管理。
- 为多云Kubernetes提供运行环境
OneCloud自身为运行在Kubernetes的云原生应用并且能在多云环境部署运行Kubernetes集群。
YunionCloud 自身为运行在Kubernetes的云原生应用并且能在多云环境部署运行Kubernetes集群。
欢迎安装部署云联融合云,期待大家的反馈!
## 部署
请参考文档 [安装部署](https://docs.yunion.io/docs/setup/) 搭建 OneCloud 集群。
请参考文档 [安装部署](https://docs.yunion.io/docs/setup/) 搭建 YunionCloud 集群。
## 文档
@@ -51,4 +51,4 @@
## License
OneCloud 使用 Apache license 2.0. 详情请看 [LICENSE](./LICENSE) 。
YunionCloud 使用 Apache license 2.0. 详情请看 [LICENSE](./LICENSE) 。

View File

@@ -1,22 +1,22 @@
# Yunion OneCloud
# Yunion Cloud
[![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.com/yunionio/onecloud/branches)
[![Go Report Card](https://goreportcard.com/badge/github.com/yunionio/onecloud)](https://goreportcard.com/report/github.com/yunionio/onecloud)
[![CircleCI](https://circleci.com/gh/yunionio/yunioncloud.svg?style=svg)](https://circleci.com/gh/yunionio/yunioncloud)
[![Build Status](https://travis-ci.com/yunionio/yunioncloud.svg?branch=master)](https://travis-ci.com/yunionio/yunioncloud/branches)
[![Go Report Card](https://goreportcard.com/badge/github.com/yunionio/yunioncloud)](https://goreportcard.com/report/github.com/yunionio/yunioncloud)
### [README in Chinese](./README-CN.md)
## What is Yunion OneCloud?
## What is Yunion Cloud?
Yunion OneCloud is an open source unified-IaaS cloud platform.
Yunion Cloud 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 its name sugguests, 'Yun' means 'cloud' in Chinese and 'Yunion Cloud' 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.
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 Cloud 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.
Many may consider Yunion Cloud 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:
Yunion Cloud is working on abstracting APIs for the following resources:
* Compute, including virtual machines, images, etc.
* Storage, including disks, snapshots, object storages, etc.
@@ -30,7 +30,7 @@ over the following many cloud providers:
* 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.
You are welcome to install and try Yunion Cloud. Looking forward to your feedback.
## Installation
@@ -38,7 +38,7 @@ Please refers to [install & deployment](https://docs.yunion.io/docs/setup/) (cur
## Documentations
- [Yunion OneCloud Documents](https://docs.yunion.io/)
- [Yunion Cloud Documents](https://docs.yunion.io/)
- [Swagger API](https://docs.yunion.cn/apiv2/)

76
build/build_deb.sh Executable file
View File

@@ -0,0 +1,76 @@
#!/bin/bash
set -e
if [ -z "$ROOT_DIR" ]; then
pushd $(dirname $(readlink -f "$BASH_SOURCE")) > /dev/null
ROOT_DIR=$(cd .. && pwd)
popd > /dev/null
fi
SRC_BIN=$ROOT_DIR/_output/bin
SRC_BUILD=$ROOT_DIR/build
OUTPUT_DIR=$ROOT_DIR/_output/debs
PKG=$1
BIN_PATH=${2:-/opt/yunion/bin}
if [ -z "$PKG" ]; then
echo "Usage: $0 <package>"
exit 1
fi
BIN="$SRC_BIN/$PKG"
ROOT="$SRC_BUILD/$PKG"
if [ ! -x "$BIN" ]; then
echo "$BIN not exists"
exit 1
fi
if [ ! -x "$ROOT" ]; then
echo "$ROOT not exists"
exit 1
fi
. $ROOT/vars
if [ -z "$VERSION" ]; then
TAG=$(git describe --abbrev=0 --tags || echo 000000)
VERSION=${TAG/\//-}
VERSION=${VERSION/v/}
fi
RELEASE=`date +"%y%m%d%H"`
FULL_VERSION=$VERSION-$RELEASE
BUILDROOT=$OUTPUT_DIR/yunion-$1-$FULL_VERSION
rm -rf $BUILDROOT
mkdir -p $BUILDROOT/DEBIAN
mkdir -p $BUILDROOT/$BIN_PATH
cp -rf $BIN $BUILDROOT/$BIN_PATH
cp -rf $ROOT/root/* $BUILDROOT/
echo "Build root ${BUILDROOT}"
case $(uname -m) in
x86_64)
CURRENT_ARCH=amd64
;;
aarch64)
CURRENT_ARCH=arm64
;;
esac
echo "Package: yunion-$1
Version: $FULL_VERSION
Section: base
Priority: optional
Architecture: $CURRENT_ARCH
Maintainer: wanyaoqi@yunionyun.com
Description: Yunion $1
" > $BUILDROOT/DEBIAN/control
chmod 0755 $BUILDROOT/DEBIAN/control
dpkg-deb --build $BUILDROOT

View File

@@ -0,0 +1,3 @@
echo "Welcome to Cloud Shell :-) You may execute climc and other command tools in this shell."
echo "Please exec 'climc' to get started"
echo ""

View File

@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="utf-8"?>
<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:alg="urn:oasis:names:tc:SAML:metadata:algsupport" ID="_1e55eaf7-5cb9-4601-b557-e322fdfb2baf" entityID="urn:federation:MicrosoftOnline">
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<Reference URI="#_1e55eaf7-5cb9-4601-b557-e322fdfb2baf">
<Transforms>
<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
<Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<DigestValue>fA33hUaj24/8F8bArDIkH6CpX0k=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>p/rlVWxLRIYiHozzWUgsjmQ5ItMZ/ITeEOg/edeo50l7qU8wLM9JD55EHoLpVvxImBcCfY1CxKdq3s1o9Up1jvEcH9KjfYZea1q8hzTkQdt7F2XvxoqDFRLvVwyHHJjygaEvFRXXxml7IDgDx9ScSRhQeGUlTGhI9eAFSaGkChM/FPnmekZ3ngSwbVf4FsTLIArxMqEnV0lXNMTr5NHQ6VL5wZ/cHLNCkkBoY0qWyv2hnYiZiXa4TKjpAN+8QF5GDPv/0ExJwe+aoRAQhdBzhBUICQdQd+v3Rb5SuX++iVfmf4IPMqj8CK4uK7iYXNLCGEO8oFR2KlK/zBpHzw6yCQ==</SignatureValue>
<KeyInfo>
<X509Data>
<X509Certificate>MIIC/TCCAeWgAwIBAgIQF9xAVqfHt7dNSOnsMKYLDjANBgkqhkiG9w0BAQsFADApMScwJQYDVQQDEx5MaXZlIElEIFNUUyBTaWduaW5nIFB1YmxpYyBLZXkwHhcNMTkwNjE4MDAwMDAwWhcNMjEwNjE4MDAwMDAwWjApMScwJQYDVQQDEx5MaXZlIElEIFNUUyBTaWduaW5nIFB1YmxpYyBLZXkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDLwL+mOk+zhgjHPFiZuDaU7coCOMkYyJyWS2B2KWYx7BMmy+SBSlFvvDHIiMXeLnv9DiUnQXtjClZXNqEo2amM/KdXfnCUlwdnqGa89TbB8kM6aBQKCh5Up7vejD+KRpPcOK7DqxWnm037zNKH+6liwRMUD/+lkBODoG1/ThuBVM0Kr1Oowfnkb4JYeF5xZk+2+ThR2dcQzdsz8dBW1GpGopdoM5G1amVhoRPBeNlYUqf0JUPE36Dx0iCmeXX00HTR2gd+/DJFVe34l/VxL4cqufmRcqWHy7axonbpt8svjAervGgueF5W/BVGcO4eVwFzFfnAz7bSaH/zbsNnQkFtAgMBAAGjITAfMB0GA1UdDgQWBBQlxmu/Hj1qB2A306p0Sz9up711AjANBgkqhkiG9w0BAQsFAAOCAQEAEhb+i+J69DvzCTfmC0Mn+uSGzBaW0ksMZNjM8/p/RFueytNo8/DY6TUb9W8l/HSVON782iGG7hIsG68RUIZ5q+/WAB9iBvKkKv5aGZ0bK/eD5boHwBwMa3udTjU68Vkai0A7naISEh22h+lQPvKiftCEzK1x9j2FoAXEMhACnpTwRrrj3SsJXCsMaOKcVw7sCmM4/4wD5I1+dfMSe85rSEzzUCDcCMEg67sBKdO2CFK1GoH21ttrz1CV+xt8Pn9a488kgsp2ZyU+yixS59CrM7onEzt1R4miXWAJAtydNHAmmbgKrTxqf67fEXFcrlFAHexi6vvINZWZPD6+J+q6xg==</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
<SPSSODescriptor WantAssertionsSigned="true" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
<KeyDescriptor use="signing">
<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
<X509Data>
<X509Certificate>MIIC/TCCAeWgAwIBAgIQF9xAVqfHt7dNSOnsMKYLDjANBgkqhkiG9w0BAQsFADApMScwJQYDVQQDEx5MaXZlIElEIFNUUyBTaWduaW5nIFB1YmxpYyBLZXkwHhcNMTkwNjE4MDAwMDAwWhcNMjEwNjE4MDAwMDAwWjApMScwJQYDVQQDEx5MaXZlIElEIFNUUyBTaWduaW5nIFB1YmxpYyBLZXkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDLwL+mOk+zhgjHPFiZuDaU7coCOMkYyJyWS2B2KWYx7BMmy+SBSlFvvDHIiMXeLnv9DiUnQXtjClZXNqEo2amM/KdXfnCUlwdnqGa89TbB8kM6aBQKCh5Up7vejD+KRpPcOK7DqxWnm037zNKH+6liwRMUD/+lkBODoG1/ThuBVM0Kr1Oowfnkb4JYeF5xZk+2+ThR2dcQzdsz8dBW1GpGopdoM5G1amVhoRPBeNlYUqf0JUPE36Dx0iCmeXX00HTR2gd+/DJFVe34l/VxL4cqufmRcqWHy7axonbpt8svjAervGgueF5W/BVGcO4eVwFzFfnAz7bSaH/zbsNnQkFtAgMBAAGjITAfMB0GA1UdDgQWBBQlxmu/Hj1qB2A306p0Sz9up711AjANBgkqhkiG9w0BAQsFAAOCAQEAEhb+i+J69DvzCTfmC0Mn+uSGzBaW0ksMZNjM8/p/RFueytNo8/DY6TUb9W8l/HSVON782iGG7hIsG68RUIZ5q+/WAB9iBvKkKv5aGZ0bK/eD5boHwBwMa3udTjU68Vkai0A7naISEh22h+lQPvKiftCEzK1x9j2FoAXEMhACnpTwRrrj3SsJXCsMaOKcVw7sCmM4/4wD5I1+dfMSe85rSEzzUCDcCMEg67sBKdO2CFK1GoH21ttrz1CV+xt8Pn9a488kgsp2ZyU+yixS59CrM7onEzt1R4miXWAJAtydNHAmmbgKrTxqf67fEXFcrlFAHexi6vvINZWZPD6+J+q6xg==</X509Certificate>
</X509Data>
</KeyInfo>
</KeyDescriptor>
<KeyDescriptor use="signing">
<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
<X509Data>
<X509Certificate>MIIC/TCCAeWgAwIBAgIQbgDHfi3t1JNGVqwD5/7lmjANBgkqhkiG9w0BAQsFADApMScwJQYDVQQDEx5MaXZlIElEIFNUUyBTaWduaW5nIFB1YmxpYyBLZXkwHhcNMjAxMjIxMDAwMDAwWhcNMjUxMjIxMDAwMDAwWjApMScwJQYDVQQDEx5MaXZlIElEIFNUUyBTaWduaW5nIFB1YmxpYyBLZXkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDFT0/0/2qQurnYa0LbJHF9YYozhEH6r9mCxVDBYbewSG4tGgrWpsewQ/96pcczGMQctMvU+h2eX38Hx/f9JAIDbuRQzQlsPhQS7DDZ6WlTXU+t8d/g2C7fpSoLs4KVdJih4xyjLUWj+BK/ijsRjBt4Riw9VbJH/DdWKyoSMbECEiE+s1RtLP/eYoMmNfxyQGqWirCNqVNBTlqzYQp4dgF0foYy4ktoxwmQOVoTcIMFYp1I4pFPI7CxuMLkfK0X7aTbM7YGphvMfJxJkjrQdyI7G5d1t4DNi3zkEbBT7FGAr6qPt3Kn9ralpqJKHdpEBA9N0vNwQo5XTYIhUbPQ16IRAgMBAAGjITAfMB0GA1UdDgQWBBRs7tPmfkksSr67KtElHjYZbeaCTjANBgkqhkiG9w0BAQsFAAOCAQEAJqwMZSjQJ36x+1sty6EeLKQLQewQwPaEC47Zut+8bXed6Q8jMZ0bfa/MM7XquEcabaMZLQuKLft44YXwXXQOfQrI2qjQr3eToJFlDT9hR0rfp9wQqttDxd6Aa6RWwDTgo5oKUQCTKLHhEy8uWzScK0eGt2d7TWTaDXjRSwNq6tM7fRhZs07tKBV3xfi9EQy/mlavAMFRBVm86NSo7AsOG1IOMq03U3ooCWAXh9PdvvHNfHhH19futAnC/HeOjwRF1Qc527aBMphYFQLdiThfmfmiE/AhQqCwZ2oE7uCJhBtR+Kb1ZGhjI35pHfsSqGiFa7Kr+5ave822PDcke89Mvg==</X509Certificate>
</X509Data>
</KeyInfo>
</KeyDescriptor>
<KeyDescriptor use="signing">
<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
<X509Data>
<X509Certificate>MIIC/TCCAeWgAwIBAgIQbgDHfi3t1JNGVqwD5/7lmjANBgkqhkiG9w0BAQsFADApMScwJQYDVQQDEx5MaXZlIElEIFNUUyBTaWduaW5nIFB1YmxpYyBLZXkwHhcNMjAxMjIxMDAwMDAwWhcNMjUxMjIxMDAwMDAwWjApMScwJQYDVQQDEx5MaXZlIElEIFNUUyBTaWduaW5nIFB1YmxpYyBLZXkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDFT0/0/2qQurnYa0LbJHF9YYozhEH6r9mCxVDBYbewSG4tGgrWpsewQ/96pcczGMQctMvU+h2eX38Hx/f9JAIDbuRQzQlsPhQS7DDZ6WlTXU+t8d/g2C7fpSoLs4KVdJih4xyjLUWj+BK/ijsRjBt4Riw9VbJH/DdWKyoSMbECEiE+s1RtLP/eYoMmNfxyQGqWirCNqVNBTlqzYQp4dgF0foYy4ktoxwmQOVoTcIMFYp1I4pFPI7CxuMLkfK0X7aTbM7YGphvMfJxJkjrQdyI7G5d1t4DNi3zkEbBT7FGAr6qPt3Kn9ralpqJKHdpEBA9N0vNwQo5XTYIhUbPQ16IRAgMBAAGjITAfMB0GA1UdDgQWBBRs7tPmfkksSr67KtElHjYZbeaCTjANBgkqhkiG9w0BAQsFAAOCAQEAJqwMZSjQJ36x+1sty6EeLKQLQewQwPaEC47Zut+8bXed6Q8jMZ0bfa/MM7XquEcabaMZLQuKLft44YXwXXQOfQrI2qjQr3eToJFlDT9hR0rfp9wQqttDxd6Aa6RWwDTgo5oKUQCTKLHhEy8uWzScK0eGt2d7TWTaDXjRSwNq6tM7fRhZs07tKBV3xfi9EQy/mlavAMFRBVm86NSo7AsOG1IOMq03U3ooCWAXh9PdvvHNfHhH19futAnC/HeOjwRF1Qc527aBMphYFQLdiThfmfmiE/AhQqCwZ2oE7uCJhBtR+Kb1ZGhjI35pHfsSqGiFa7Kr+5ave822PDcke89Mvg==</X509Certificate>
</X509Data>
</KeyInfo>
</KeyDescriptor>
<SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://login.microsoftonline.com/login.srf"/>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</NameIDFormat>
<NameIDFormat>urn:mace:shibboleth:1.0:nameIdentifier</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:persistent</NameIDFormat>
<AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://login.microsoftonline.com/login.srf" index="0" isDefault="true"/>
<AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST-SimpleSign" Location="https://login.microsoftonline.com/login.srf" index="1"/>
<AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:PAOS" Location="https://login.microsoftonline.com/login.srf" index="2"/>
</SPSSODescriptor>
<Extensions>
<alg:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<alg:SigningMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
</Extensions>
</EntityDescriptor>

23
build/convert_rpm2deb.sh Executable file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
set -e
if [ -z "$ROOT_DIR" ]; then
ROOT_DIR=$(dirname $(dirname $(readlink -f "$BASH_SOURCE")))
fi
RPMS_DIR=$ROOT_DIR/_output/rpms
DEBS_DIR=$ROOT_DIR/_output/debs
case $(uname -m) in
x86_64)
CURRENT_ARCH=amd64
;;
aarch64)
CURRENT_ARCH=arm64
;;
esac
mkdir -p $DEBS_DIR && cd $DEBS_DIR
find $RPMS_DIR -type f -name *.rpm -exec alien --target=$CURRENT_ARCH {} \;

View File

@@ -0,0 +1,3 @@
INTERFACE=""
INTERFACE_IP=""
RELAY=""

View File

@@ -0,0 +1,22 @@
[Unit]
Description=Yunion Cloud DHCP Relay Agent
Documentation=https://docs.yunion.cn
After=network-online.target
Wants=network-online.target
After=network.target
[Service]
Type=simple
EnvironmentFile=-/etc/sysconfig/yunion_dhcprelay
User=root
Group=root
ExecStart=/opt/yunion/bin/dhcprelay --interface "$INTERFACE" --ip "$IP" --relay "$RELAY"
WorkingDirectory=/opt/yunion/bin
KillMode=process
Restart=always
RestartSec=30
LimitNOFILE=500000
LimitNPROC=500000
[Install]
WantedBy=multi-user.target

2
build/dhcprelay/vars Normal file
View File

@@ -0,0 +1,2 @@
DESCRIPTION="Yunion Tiny DHCP Relay Server"
SERVICE="yes"

View File

@@ -1,3 +1,7 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/ansibleserver-base:v1.0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/ansibleserver-base:v1.0.5
# install playbook and telegraf install pkg
COPY --from=registry.cn-beijing.aliyuncs.com/yunionio/file-repo:v0.3.4 /opt/yunion/playbook /opt/yunion/playbook
COPY --from=registry.cn-beijing.aliyuncs.com/yunionio/file-repo:v0.3.4 /opt/yunion/ansible-install-pkg /opt/yunion/ansible-install-pkg
ADD ./_output/alpine-build/bin/ansibleserver /opt/yunion/bin/ansibleserver

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5
MAINTAINER "Yousong Zhou <zhouyousong@yunionyun.com>"
@@ -7,6 +7,7 @@ MAINTAINER "Yousong Zhou <zhouyousong@yunionyun.com>"
RUN set -x \
&& apk update \
&& apk add openssh-client \
&& apk add sshpass \
&& apk add ansible \
&& apk add tzdata git ca-certificates \
&& rm -rf /var/cache/apk/*

View File

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

View File

@@ -1,9 +1,11 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/baremetal-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/baremetal-base:v0.3.3
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
#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
RUN apk add librados librbd
ADD ./_output/alpine-build/bin/baremetal-agent /opt/yunion/bin/baremetal-agent

View File

@@ -1,4 +1,8 @@
FROM frolvlad/alpine-glibc:glibc-2.28
FROM --platform=linux/amd64 registry.cn-beijing.aliyuncs.com/yunionio/centos-build:1.1-4 as build
RUN yum install -y https://iso.yunion.cn/vm-images/baremetal-pxerom-1.1.0-21092209.x86_64.rpm
#RUN yum install -y http://192.168.23.50:8083/baremetal-pxerom-1.1.0-21092209.x86_64.rpm
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5
MAINTAINER "Yaoqi Wan <wanyaoqi@yunionyun.com>"
@@ -16,17 +20,17 @@ RUN mkdir -p /opt/cloud/yunion/baremetal
RUN wget -O /opt/cloud/yunion/baremetal/pci.ids http://pci-ids.ucw.cz/v2.2/pci.ids
# 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
COPY --from=build /opt/cloud/yunion/baremetal/bootia32.efi /opt/cloud/yunion/baremetal
COPY --from=build /opt/cloud/yunion/baremetal/bootx64.efi /opt/cloud/yunion/baremetal
COPY --from=build /opt/cloud/yunion/baremetal/chain.c32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/initramfs /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/isolinux.bin /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/kernel /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/ldlinux.c32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/ldlinux.e32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/ldlinux.e64 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/libcom32.c32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/libutil.c32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/lpxelinux.0 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/menu.c32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/pxelinux.0 /opt/cloud/yunion/baremetal

View File

@@ -1,5 +1,7 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/climc-base:20200820
FROM registry.cn-beijing.aliyuncs.com/yunionio/climc-base:20210901
ADD ./build/climc/root/opt /opt
RUN cat /opt/yunion/scripts/motd/climc.sh >> /root/.bashrc
ADD ./_output/alpine-build/bin/climc ./_output/alpine-build/bin/*cli /opt/yunion/bin/

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
@@ -6,7 +6,9 @@ ENV TZ Asia/Shanghai
RUN mkdir -p /opt/yunion/bin
RUN apk add --no-cache bash bash-completion tzdata ca-certificates vim && \
RUN echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >>/etc/apk/repositories
RUN apk add --no-cache bash bash-completion tzdata ca-certificates vim ipmitool kubectl ceph-common && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

View File

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

View File

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

View File

@@ -0,0 +1,8 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
RUN mkdir -p /etc/yunion/data/
ADD ./_output/alpine-build/bin/cloudmon \
/opt/yunion/bin/

View File

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

View File

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

View File

@@ -0,0 +1,9 @@
# registry.cn-beijing.aliyuncs.com/yunionio/debian10-base:1.0
FROM debian:10
RUN apt update && apt install -y alien
RUN apt-get clean autoclean && \
apt-get autoremove --yes && \
rm -rf /var/lib/{apt,dpkg,cache,log}/

View File

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

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5
COPY ./build/esxi-agent/root/opt/ /opt/

View File

@@ -0,0 +1,21 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
MAINTAINER "Rain Zheng <zhengyu@yunion.com>"
# openssh-client, for ansible ssh connection
# git, ca-certificates, for fetching ansible roles
RUN set -x \
&& apk update \
&& apk add git \
&& rm -rf /var/cache/apk/*
# install default playbook and install pkg
Run mkdir -p /opt/yunion/ansible-install-pkg
Run wget https://yunioniso.oss-cn-beijing.aliyuncs.com/rpms/telegraf/telegraf-1.19.2-yn~fe11a96b-0.aarch64.rpm -P /opt/yunion/ansible-install-pkg
Run wget https://yunioniso.oss-cn-beijing.aliyuncs.com/rpms/telegraf/telegraf-1.19.2-yn~fe11a96b-0.x86_64.rpm -P /opt/yunion/ansible-install-pkg
Run wget https://yunioniso.oss-cn-beijing.aliyuncs.com/rpms/telegraf/telegraf_1.19.2-yn~fe11a96b-0_amd64.deb -P /opt/yunion/ansible-install-pkg
Run wget https://yunioniso.oss-cn-beijing.aliyuncs.com/rpms/telegraf/telegraf_1.19.2-yn~fe11a96b-0_arm64.deb -P /opt/yunion/ansible-install-pkg
Run mkdir -p /opt/yunion/playbook
Run mkdir /opt/yunion/playbook/monitor-agent
Run git clone https://github.com/yunionio/monitor-agent.git /opt/yunion/playbook/monitor-agent --recurse-submodules

View File

@@ -1,6 +1,7 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/torrent:20200820
FROM registry.cn-beijing.aliyuncs.com/yunionio/torrent:20210815.0
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
RUN apk add --no-cache s3fs-fuse --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing
RUN mkdir -p /opt/yunion/bin
ADD ./_output/alpine-build/bin/glance /opt/yunion/bin/glance
ADD ./_output/alpine-build/bin/glance /opt/yunion/bin/glance

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-base:v0.3
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-base:v0.4.0
MAINTAINER "Yaoqi Wan wanyaoqi@yunionyun.com"

View File

@@ -6,4 +6,4 @@ ENV TZ Asia/Shanghai
RUN mkdir -p /opt/yunion/bin
ADD ./_output/alpine-build/bin/host-deployer /opt/yunion/bin/host-deployer
ADD ./_output/centos-build/bin/host-deployer /opt/yunion/bin/host-deployer

View File

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

View File

@@ -1,3 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5
ADD ./_output/alpine-build/bin/logger /opt/yunion/bin/logger

View File

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

View File

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

View File

@@ -1,4 +1,5 @@
FROM alpine:3.11
# TODO: use 3.14 will lead 'apk add qemu-img fail on arm64'
FROM alpine:3.13.5
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"

View File

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

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5
RUN mkdir -p /opt/yunion/bin
ADD ./_output/alpine-build/bin/region-dns /opt/yunion/bin/region-dns

View File

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

View File

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

View File

@@ -1,3 +0,0 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/yunion-rootfs:v1.0
ADD ./_output/bin/telegraf-raid-plugin /opt/yunion/bin/telegraf-raid-plugin

View File

@@ -0,0 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/yunion-rootfs:v1.1
ADD ./_output/centos-build/bin/telegraf-raid-plugin /opt/yunion/bin/telegraf-raid-plugin

View File

@@ -1,15 +1,15 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5
MAINTAINER "Yaoqi Wan <wanyaoqi@yunionyun.com>"
MAINTAINER "Zexi Li <zexi.li@icloud.com>"
# HACK: use v3.14 alpine mirror to upgrade qemu-img
RUN echo http://dl-cdn.alpinelinux.org/alpine/v3.14/main > /etc/apk/repositories
RUN echo http://dl-cdn.alpinelinux.org/alpine/v3.14/community >> /etc/apk/repositories
RUN apk update && \
apk add --no-cache tzdata ca-certificates qemu-img && \
apk add --no-cache 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
RUN mkdir -p /opt/yunion/bin

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/openvswitch:2.10.4-1
FROM registry.cn-beijing.aliyuncs.com/yunionio/openvswitch:2.10.5-1
MAINTAINER "Yousong Zhou <zhouyousong@yunion.cn>"

View File

@@ -1,3 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5
ADD ./_output/alpine-build/bin/yunionconf /opt/yunion/bin/yunionconf

35
build/docker/Makefile Normal file
View File

@@ -0,0 +1,35 @@
REGISTRY ?= "registry.cn-beijing.aliyuncs.com/yunionio"
DOCKER_BUILD = docker build -t $(REGISTRY)
DOCKER_BUILDX = docker buildx build --platform linux/arm64,linux/amd64 --push -t $(REGISTRY)
debian10-base:
docker buildx build --platform linux/arm64,linux/amd64 --push \
-t registry.cn-beijing.aliyuncs.com/yunionio/debian10-base:1.0 -f ./Dockerfile.debian-base .
ONECLOUD_BASE_VERSION = v0.3.5
onecloud-base:
$(DOCKER_BUILDX)/onecloud-base:$(ONECLOUD_BASE_VERSION) -f ./Dockerfile.onecloud-base .
ANSIBLESERVER_BASE = v1.0.5
ansibleserver-base:
$(DOCKER_BUILDX)/ansibleserver-base:$(ANSIBLESERVER_BASE) -f ./Dockerfile.ansibleserver-base .
CLIMC_BASE_VERSION = 20210901
climc-base:
docker buildx build --platform linux/arm64,linux/amd64 --push \
-t registry.cn-beijing.aliyuncs.com/yunionio/climc-base:$(CLIMC_BASE_VERSION) -f ./Dockerfile.climc-base .
BAREMETAL_BASE_VERSION = v0.3.3
baremetal-base:
$(DOCKER_BUILDX)/baremetal-base:$(BAREMETAL_BASE_VERSION) -f ./Dockerfile.baremetal-base .
#docker push $(REGISTRY)/baremetal-base:$(BAREMETAL_BASE_VERSION)
FILE_REPO_VERSION = v0.3.3
file-repo:
$(DOCKER_BUILDX)/file-repo:$(FILE_REPO_VERSION) -f ./Dockerfile.file-repo .

View File

@@ -7,7 +7,7 @@ COPY . /root/go/src/yunion.io/x/onecloud
WORKDIR /root/go/src/yunion.io/x/onecloud
RUN make cmd/host
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-base:v0.3
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-base:v0.4.0
MAINTAINER "Yaoqi Wan wanyaoqi@yunionyun.com"

View File

@@ -0,0 +1,2 @@
_output/alpine-build/_cache

View File

@@ -1,24 +1,24 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/alpine-build:1.0-5 as build
ARG TARGETPLATFORM
ARG BUILDPLATFORM
RUN mkdir -p /root/go/src/yunion.io/x/onecloud
COPY . /root/go/src/yunion.io/x/onecloud
RUN cd /root/go/src/yunion.io/x/onecloud && make cmd/torrent
WORKDIR /root/go/src/yunion.io/x/onecloud
RUN make cmd/torrent
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
MAINTAINER "Zexi Li <zexi.li@icloud.com>"
MAINTAINER "Yaoqi Wan <wanyaoqi@yunionyun.com>"
# HACK: use v3.14 alpine mirror to upgrade qemu-img
RUN echo http://dl-cdn.alpinelinux.org/alpine/v3.14/main > /etc/apk/repositories
RUN echo http://dl-cdn.alpinelinux.org/alpine/v3.14/community >> /etc/apk/repositories
RUN apk update && \
apk add --no-cache tzdata ca-certificates qemu-img && \
apk add --no-cache qemu-img && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
ENV TZ Asia/Shanghai
# TAG=20210815.0
# add executable file torrent
# make cmd/torrent
RUN mkdir -p /opt/yunion/bin

View File

@@ -0,0 +1,2 @@
_output/alpine-build/_cache

View File

@@ -0,0 +1,6 @@
{{- $d := .resource_details -}}
您在{{ $d.project }}项目的
{{- if $d.brand -}}
{{ $d.brand }}平台
{{- end -}}
{{ .resource_type_display }}{{ $d.name }}已经成功{{ .action_display }}

View File

@@ -0,0 +1,64 @@
{{- $d := .resource_details }}
{{- $consoleServiceType := list "loadbalancer" "dbinstance" "elasticcache" -}}
您在{{ $d.project }}项目的
{{- if $d.brand -}}
{{ $d.brand }}平台
{{- end -}}
{{ .resource_type_display }}{{ $d.name }}已经创建成功
{{- if $d.private_dns -}}
,内网地址为{{ $d.private_dns }}:{{ $d.private_connect_port }}
{{- end -}}
{{- if $d.public_dns -}}
,外网地址为{{ $d.public_dns }}:{{ $d.public_connect_port }}
{{- end -}}
{{- if and $d.address_type $d.address -}}
,服务地址为{{ $d.address_type }}{{ $d.address }}
{{- end -}}
{{- if $d.ips -}}
IP地址为{{ $d.ips }}
{{- end -}}
{{- if and $d.guest_ip_start $d.guest_ip_end -}}
IP范围为{{ $d.guest_ip_start }}-{{ $d.guest_ip_end }}
{{- end -}}
{{- if $d.ip_addr -}}
IP地址为{{ $d.ip_addr }}
{{- end -}}
{{- if $d.account -}}
,初始帐号为{{ $d.account }}
{{- end -}}
{{- if $d.password -}}
,初始密码为{{ $d.password }}
{{- end -}}
{{- if $d.keypair -}}
访问ssh密钥为{{ $d.keypair }}
{{- end -}}
{{- if $d.common_name -}}
,证书域名为{{ $d.common_name }}
{{- end -}}
{{- if $d.not_after -}}
,过期时间为{{ $d.not_after }}
{{- end -}}
{{- if eq .resource_type "server" -}}
,请使用
{{- if $d.windows -}}
远程桌面连接器(RDC)
{{- else -}}
SSH
{{- end -}}
或控制面板控制台访问虚拟机。
{{- end -}}
{{- if has .resource_type $consoleServiceType -}}
,更多信息请前往控制台查看。
{{- end -}}

View File

@@ -0,0 +1,6 @@
{{- $d := .resource_details -}}
您在{{ $d.project }}项目的
{{- if $d.brand -}}
{{ $d.brand }}平台
{{- end -}}
{{ .resource_type_display }}{{ $d.name }}还有{{ .advance_days }}天就要到期释放,如需续期使用,请尽快前往控制台处理

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
您在{{ $d.project }}项目的弹性伸缩组{{ $d.scaling_group }}中的{{ $d.trigger_type_display }}类型伸缩策略{{ $d.name }}满足触发条件,成功{{ $d.action_display }}{{ $d.number }}{{ $d.unit_display }}实例

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
您在{{ $d.project }}项目的定时任务执行成功

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
您在{{ $d.project }}项目的自动快照策略{{ $d.name }}为硬盘{{ $d.disk }}创建快照成功

View File

@@ -0,0 +1,14 @@
{{- $d := .resource_details -}}
您在{{ $d.project }}项目的
{{- if $d.brand -}}
{{ $d.brand }}平台
{{- end -}}
{{ .resource_type_display }}{{ $d.name }}已经{{ .action_display }}成功
{{- if $d.account -}}
,帐号为{{ $d.account }}
{{- end -}}
{{- if $d.password -}}
,密码为{{ $d.password }}
{{- end -}}
,更多信息请前往控制台进行查看

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
Your {{ if $d.brand -}} {{ $d.brand }} {{ end -}} {{ .resource_type_display }} {{ $d.name }} {{ if $d.project -}} in project {{ $d.project }} {{ end -}} has been {{ .action_display }} successfully

View File

@@ -0,0 +1,54 @@
{{- $d := .resource_details }}
{{- $consoleServiceType := list "loadbalancer" "dbinstance" "elasticcache" -}}
Your {{ if $d.brand -}} {{ $d.brand }} {{ end -}} {{ .resource_type_display }} {{ $d.name }} {{ if $d.project -}} in project {{ $d.project }} {{ end -}} has been created successfully
{{- if $d.private_dns -}}
, the intranet address is {{ $d.private_dns }}:{{ $d.private_connect_port }}
{{- end -}}
{{- if $d.public_dns -}}
, the internet address is {{ $d.public_dns }}:{{ $d.public_connect_port }}
{{- end -}}
{{- if and $d.address_type $d.address -}}
, the service address is {{ $d.address_type }}{{ $d.address }}
{{- end -}}
{{- if $d.ips -}}
, the IP address is {{ $d.ips }}
{{- end -}}
{{- if and $d.guest_ip_start $d.guest_ip_end -}}
, the IP range is {{ $d.guest_ip_start }}-{{ $d.guest_ip_end }}
{{- end -}}
{{- if $d.ip_addr -}}
, the IP address is {{ $d.ip_addr }}
{{- end -}}
{{- if $d.account -}}
, the initial account is {{ $d.account }}
{{- end -}}
{{- if $d.password -}}
, the initial password is {{ $d.password }}
{{- end -}}
{{- if $d.keypair -}}
, the access ssh key is {{ $d.keypair }}
{{- end -}}
{{- if $d.common_name -}}
, the certificate domain name is {{ $d.common_name }}
{{- end -}}
{{- if $d.not_after -}}
, the expiration is {{ $d.not_after }}
{{- end -}}
{{- if eq .resource_type "server" -}}
, and please use {{ if $d.windows -}} Remote Desktop Connector (RDC) {{ else -}} SSH {{ end -}} or the control panel console to access the VM.
{{- end -}}
{{- if has .resource_type $consoleServiceType -}}
. For more information, please go to the console to view
{{- end -}}

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
Your {{ if $d.brand -}} {{ $d.brand }} {{ end -}} {{ .resource_type }} {{ $d.name }} {{ if $d.project -}} in project {{ $d.project }} {{ end -}} will expire and be released in {{ .advance_days }} days. If you need to renew, please go to the console as soon as possible

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The {{ $d.trigger_type_display }} type scaling policy {{ $d.name }} in the scaling group {{ $d.scaling_group }} of the {{ $d.project }} project satisfies the trigger conditions, and {{ $d.action_display }} {{ $d.number }}{{ $d.unit_display }} instances successfully

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The scheduled task in {{ $d.project }} successfully {{ $d.operation_display }} the {{ $d.resource_type_display }} {{ $d.resource_name }}

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The snapshot policy {{ $d.name }} in the {{ $d.project }} project successfully creates a snapshot for the disk {{ $d.disk }}

View File

@@ -0,0 +1,10 @@
{{- $d := .resource_details -}}
Your {{ if $d.brand -}} {{ $d.brand }} {{ end -}} {{ .resource_type }} {{ $d.name }} {{ if $d.project -}} in project {{ $d.project }} {{ end -}} has been {{ .action_display }} successfully
{{- if $d.account -}}
, the acount is {{ $d.account }}
{{- end -}}
{{- if $d.password -}}
, the password is {{ $d.password }}
{{- end -}}
, and please go to the console to view more information

View File

@@ -0,0 +1,5 @@
{{- $d := .resource_details -}}
{{- if $d.project -}}
{{ $d.project }}项目的
{{- end -}}
{{ .resource_type_display }}{{ $d.name }}{{ .action_display }}成功

View File

@@ -0,0 +1,5 @@
{{- $d := .resource_details -}}
{{- if $d.project -}}
{{ $d.project }}项目的
{{- end -}}
{{ .resource_type_display }}{{ $d.name }}创建成功

View File

@@ -0,0 +1,3 @@
{{- $d := .resource_details -}}
{{ $d.project }}项目的
{{ .resource_type_display }}{{ $d.name }}到期前{{ .advance_days }}天通知

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
{{ $d.project }}项目的弹性伸缩组{{ $d.scaling_group }}中的伸缩策略{{ $d.name }}满足触发

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The scheduled task in {{ $d.project }} successfully {{ $d.operation_display }} the {{ $d.resource_type_display }} {{ $d.resource_name }}

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
{{ $d.project }}项目的自动快照策略{{ $d.name }}生效

View File

@@ -0,0 +1,3 @@
{{- $d := .resource_details -}}
{{ $d.project }}项目的
{{ .resource_type_display }}{{ $d.name }}{{ .action_display }}成功

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The {{ .resource_type_display }} {{ .Name }} {{ if $d.project }} in poject {{ $d.project }} {{ end -}} {{ .action_display }} successfully

View File

@@ -0,0 +1,3 @@
{{- $d := .resource_details -}}
The {{ .resource_type_display }} {{ $d.name }} {{ if $d.project }} in poject {{ $d.project }} {{ end -}} created successfully

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
{{ .advance_days }} days notice before {{ .resource_type }} {{ $d.name }} {{ if $d.project -}} in project {{ $d.project }} {{ end -}} expiration

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The scaling policy {{ $d.name }} in the scaling group {{ $d.scaling_group }} triggered

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The scheduled task in {{ $d.project }} execute successfully

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The snapshot policy {{ $d.name }} in the {{ $d.project }} project executed

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The {{ .resource_type }} {{ $d.name }} {{ if $d.project -}} in project {{ $d.project }} {{ end -}} {{ .action_display }} successfully

View File

@@ -0,0 +1,5 @@
{{- if .admin -}}
{{ .domain }}域下的账号{{ .user }}由于异常登录已被锁定,请您核实用户使用情况。如果需要为用户解锁,请到用户列表启用该用户。
{{- else -}}
您的账号{{ .user }}由于异常登录已被锁定,请联系管理员解锁账号。
{{- end -}}

View File

@@ -6,12 +6,12 @@
</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;">
<tr style="height: 50px; background: #C2DEF2; 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;">
<img src="data:{{.login_logo_format}};base64,{{.login_logo}}" alt="{{.name}}" style="color: #333; height: 32px; vertical-align: middle;">
</td>
</tr>
</table>
@@ -43,20 +43,20 @@
<table style="padding: 20px 10px; width: 100%;">
<tr>
<td style="padding-bottom: 20px;">
尊敬的{{.name}},您好:
尊敬的{{.receiver_name}},您好:
</td>
</tr>
<tr>
<td style="padding-bottom: 10px;">您正在验证邮箱,请在验证码输入框中输入:{{.code}}完成验证。</td>
<td style="padding-bottom: 10px;">您正在验证邮箱,请在验证码输入框中输入:{{.code}}完成验证。</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;">如非本人操作,请及时登录平台并修改密码以保证账户的安全</td>
<td colspan="2" style="border-top: 1px dashed #ccc; color: #333; font-size: 12px; padding-bottom: 10px; font-weight: 100; text-align: center">如非本人操作,请及时登录平台并修改密码以保证账户的安全</td>
</tr>
<tr>
<td colspan="2" style="background: #333; text-align: right; padding-right: 20px; font-size: 12px; color: #fff; height: 50px;">版权所有 © {{.copyright}} 保留一切权利</td>
<td colspan="2" style="background: #C2DEF2; text-align: right; padding-right: 20px; font-size: 12px; color: #333; height: 50px;">版权所有 © {{.copyright}} 保留一切权利</td>
</tr>
</table>
</body>

View File

@@ -0,0 +1 @@
{{.os_type}} image {{.name}} upload completed

View File

@@ -0,0 +1,5 @@
{{- if .admin -}}
The account {{ .user }} in domain {{ .domain }} has been locked due to abnormal login. Please verify the situation and, if you need to unlock this account, enable it in the user list.
{{- else -}}
The account {{ .user }} has been locked due to abnormal login. Please contact the administrator to unlock your account.
{{- end -}}

View File

@@ -0,0 +1,66 @@
<!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: #C2DEF2; overflow: hidden;">
<td>
<table style="margin-left: 20px;">
<tr>
<td>
<img src="data:{{.login_logo_format}};base64,{{.login_logo}}" alt="{{.name}}" style="color: #333; 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;">Product</a>
</td>
<td style="padding-left: 20px; padding-right: 20px;">
<a href="" style="text-decoration: none; color: #20A0FF; font-size: 12px; display: none;">Solution</a>
</td>
<td style="padding-left: 20px; padding-right: 20px;">
<a href="" style="text-decoration: none; color: #20A0FF; font-size: 12px; display: none;">Service</a>
</td>
<td style="padding-left: 20px; padding-right: 20px;">
<a href="" style="text-decoration: none; color: #20A0FF; font-size: 12px; display: none;">Help and Documentation</a>
</td>
<td style="padding-left: 20px; padding-right: 20px;">
<a href="" style="text-decoration: none; color: #20A0FF; font-size: 12px; display: none;">About</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: 13px;">
Dear {{.receiver_name}}
</td>
</tr>
<tr>
<td style="padding-bottom: 13px;">You are verifying your email, please enter the following code on the email verification page:</td>
</tr>
<tr>
<td style="padding-bottom: 10px; font-size: large">{{.code}}</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; padding-left: 10px;">If you are not operating by yourself, please log in to the platform in time and change your password to ensure the security of your account.</td>
</tr>
<tr>
<td colspan="2" style="background: #C2DEF2; text-align: right; padding-right: 20px; font-size: 12px; color: #333; height: 50px;">Copyrights © {{.copyright}}. All rights reserved.</td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1 @@
异常登录

View File

@@ -0,0 +1 @@
Image {{.name}} upload completed

View File

@@ -0,0 +1 @@
Abnormal Login

View File

@@ -0,0 +1 @@
{{.copyright}} Verify

View File

@@ -15,9 +15,14 @@
package main
import (
"context"
"yunion.io/x/onecloud/pkg/ansibleserver/service"
"yunion.io/x/onecloud/pkg/util/procutils"
)
func main() {
go procutils.WaitZombieLoop(context.TODO())
service.StartService()
}

View File

@@ -18,6 +18,7 @@ import (
"fmt"
"os"
"yunion.io/x/pkg/errors"
"yunion.io/x/structarg"
"yunion.io/x/onecloud/pkg/multicloud/aws"
@@ -32,6 +33,7 @@ type BaseOptions struct {
AccessKey string `help:"Access key" default:"$AWS_ACCESS_KEY" metavar:"AWS_ACCESS_KEY"`
Secret string `help:"Secret" default:"$AWS_SECRET" metavar:"AWS_SECRET"`
RegionId string `help:"RegionId" default:"$AWS_REGION" metavar:"AWS_REGION"`
AccountId string `help:"Subaccount ID" default:"$AWS_ACCOUNT_ID" metavar:"AWS_ACCOUNT_ID"`
SUBCOMMAND string `help:"awscli subcommand" subcommand:"true"`
}
@@ -90,15 +92,16 @@ func newClient(options *BaseOptions) (*aws.SRegion, error) {
options.AccessUrl,
options.AccessKey,
options.Secret,
options.AccountId,
).Debug(options.Debug),
)
if err != nil {
return nil, err
}
region := cli.GetRegion(options.RegionId)
if region == nil {
return nil, fmt.Errorf("No such region %s", options.RegionId)
region, err := cli.GetRegion(options.RegionId)
if err != nil {
return nil, errors.Wrapf(err, "GetRegion(%s)", options.RegionId)
}
return region, nil

View File

@@ -15,12 +15,17 @@
package main
import (
"context"
"yunion.io/x/onecloud/pkg/baremetal/service"
"yunion.io/x/onecloud/pkg/util/atexit"
"yunion.io/x/onecloud/pkg/util/procutils"
)
func main() {
defer atexit.Handle()
go procutils.WaitZombieLoop(context.TODO())
service.New().StartService()
}

View File

@@ -21,7 +21,9 @@ import (
_ "yunion.io/x/onecloud/cmd/climc/shell/cloudevent"
_ "yunion.io/x/onecloud/cmd/climc/shell/cloudid"
_ "yunion.io/x/onecloud/cmd/climc/shell/cloudnet"
_ "yunion.io/x/onecloud/cmd/climc/shell/cloudproxy"
_ "yunion.io/x/onecloud/cmd/climc/shell/compute"
_ "yunion.io/x/onecloud/cmd/climc/shell/devtool"
_ "yunion.io/x/onecloud/cmd/climc/shell/etcd"
_ "yunion.io/x/onecloud/cmd/climc/shell/events"
_ "yunion.io/x/onecloud/cmd/climc/shell/identity"

View File

@@ -0,0 +1,34 @@
// 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 ansible
import (
"yunion.io/x/onecloud/cmd/climc/shell"
"yunion.io/x/onecloud/pkg/mcclient/modules"
options "yunion.io/x/onecloud/pkg/mcclient/options/ansible"
)
func init() {
cmd := shell.NewResourceCmd(&modules.AnsiblePlaybookReference).WithKeyword("ansibleplaybook-reference")
cmd.List(new(options.APRListOptions))
cmd.Show(new(options.APROptions))
cmd.Perform("run", new(options.APRRunOptions))
cmd.Perform("stop", new(options.APRStopOptions))
cmd1 := shell.NewResourceCmd(&modules.AnsiblePlaybookInstance).WithKeyword("ansibleplaybook-instance")
cmd1.List(new(options.APIListOptions))
cmd1.Show(new(options.APIOptions))
cmd1.Perform("run", new(options.APIOptions))
}

View File

@@ -40,4 +40,18 @@ func init() {
printList(result, modules.Cloudevents.GetColumns(s))
return nil
})
type CloudeventLogsPurgeOptions struct {
}
R(&CloudeventLogsPurgeOptions{}, "cloud-event-purge", "Purge obsolete cloud event logs", func(s *mcclient.ClientSession, opts *CloudeventLogsPurgeOptions) error {
_, err := modules.Cloudevents.PerformClassAction(s, "purge-splitable", nil)
if err != nil {
return err
}
_, err = modules.CloudeventLogs.PerformClassAction(s, "purge-splitable", nil)
if err != nil {
return err
}
return nil
})
}

View File

@@ -0,0 +1,33 @@
// 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 cloudproxy
import (
"yunion.io/x/onecloud/cmd/climc/shell"
modules "yunion.io/x/onecloud/pkg/mcclient/modules/cloudproxy"
options "yunion.io/x/onecloud/pkg/mcclient/options/cloudproxy"
)
func init() {
cmd := shell.NewResourceCmd(&modules.Forwards)
cmd = cmd.WithKeyword("proxy-forward")
cmd.Create(&options.ForwardCreateOptions{})
cmd.PerformClass("create-from-server", &options.ForwardCreateFromServerOptions{})
cmd.Perform("heartbeat", &options.ForwardHeartbeatOptions{})
cmd.Update(&options.ForwardUpdateOptions{})
cmd.List(&options.ForwardListOptions{})
cmd.Show(&options.ForwardShowOptions{})
cmd.Delete(&options.ForwardDeleteOptions{})
}

View File

@@ -0,0 +1,32 @@
// 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 cloudproxy
import (
"yunion.io/x/onecloud/cmd/climc/shell"
modules "yunion.io/x/onecloud/pkg/mcclient/modules/cloudproxy"
options "yunion.io/x/onecloud/pkg/mcclient/options/cloudproxy"
)
func init() {
cmd := shell.NewResourceCmd(&modules.ProxyAgents)
cmd = cmd.WithKeyword("proxy-agent")
cmd.Create(&options.ProxyAgentCreateOptions{})
cmd.Update(&options.ProxyAgentUpdateOptions{})
cmd.List(&options.ProxyAgentListOptions{})
cmd.Show(&options.ProxyAgentShowOptions{})
cmd.Delete(&options.ProxyAgentDeleteOptions{})
cmd.Perform("purge-forwards", &options.ProxyAgentPurgeForwardsOptions{})
}

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