Compare commits

...

4061 Commits

Author SHA1 Message Date
Zexi Li
ff0606f166 Merge pull request #9864 from rainzm/automated-cherry-pick-of-#9862-upstream-release-3.6
Automated cherry pick of #9862: fix(notify): set status after sending
2021-01-13 16:10:46 +08:00
rainzm
83dd534241 fix(notify): set status after sending 2021-01-13 15:49:15 +08:00
Zexi Li
a7771885cf Merge pull request #9859 from rainzm/automated-cherry-pick-of-#9857-upstream-release-3.6
Automated cherry pick of #9857: fix(notify): set ModelManager in Receiver()
2021-01-13 14:41:34 +08:00
rainzm
88fa743e4e fix(notify): set ModelManager in Receiver() 2021-01-13 09:56:28 +08:00
Zexi Li
0e917bb275 Merge pull request #9849 from rainzm/automated-cherry-pick-of-#9847-upstream-release-3.6
Automated cherry pick of #9847: feat(notify): send notifications of different templates according to language
2021-01-12 10:29:51 +08:00
Zexi Li
cd76ce27c3 Merge pull request #9838 from swordqiu/automated-cherry-pick-of-#9836-upstream-release-3.6
Automated cherry pick of #9836: fix(keystone): add suggestion previliges to meter admin
2021-01-12 10:26:35 +08:00
Zexi Li
114de75e7e Merge pull request #9834 from ioito/automated-cherry-pick-of-#9833-upstream-release-3.6
Automated cherry pick of #9833: fix(cloudid): multi cloudaccount with saml user
2021-01-12 10:25:25 +08:00
Zexi Li
047509ebb8 Merge pull request #9843 from tb365/automated-cherry-pick-of-#9841-upstream-release-3.6
Automated cherry pick of #9841: server skus filter by mem size fix
2021-01-11 22:37:36 +08:00
Zexi Li
71e79e5a7b Merge pull request #9846 from yousong/automated-cherry-pick-of-#9844-upstream-release-3.6
Automated cherry pick of #9844: Feature/yousong i18n apigateway
2021-01-11 22:27:49 +08:00
Zexi Li
4c62508b01 Merge pull request #9852 from zhaoxiangchun/automated-cherry-pick-of-#9851-upstream-release-3.6
Automated cherry pick of #9851: fix(monitor): monitor overview throw err
2021-01-11 22:25:39 +08:00
zhaoxiangchun
e5b637906c fix(monitor): monitor overview throw err 2021-01-11 21:26:16 +08:00
rainzm
dd7d34402f feat(notify): send notifications of different templates according to language 2021-01-11 19:46:03 +08:00
Yousong Zhou
157bfb696b apigateway: try return httperrors 2021-01-11 18:35:51 +08:00
Yousong Zhou
464e0450f9 locales: generate 2021-01-11 18:35:51 +08:00
Yousong Zhou
a4b5562bd0 locales: zh-CN: add some translations 2021-01-11 18:35:51 +08:00
Yousong Zhou
f0354d0c9b locales: generate 2021-01-11 18:29:14 +08:00
Yousong Zhou
c3c3c00759 locales: zh-CN: extract current 2021-01-11 18:27:30 +08:00
Yousong Zhou
83adeaae4e apigateway: reword error messages 2021-01-11 17:51:33 +08:00
Yousong Zhou
d7f05e983f keystone: reword error messages 2021-01-11 17:51:33 +08:00
tangbin
5d075bbaaf server skus filter by mem size fix 2021-01-11 14:41:51 +08:00
Qiu Jian
86fda0f7d0 fix(keystone): add suggestion previliges to meter admin 2021-01-11 02:07:44 +08:00
Qu Xuan
53c8c16052 fix(cloudid): multi cloudaccount with saml user 2021-01-10 20:00:25 +08:00
Zexi Li
46ba9cd424 Merge pull request #9831 from tb365/automated-cherry-pick-of-#9830-upstream-release-3.6
Automated cherry pick of #9830: loadbalancer add lb purge validate
2021-01-09 19:58:29 +08:00
Zexi Li
ee59f2a410 Merge pull request #9795 from tb365/automated-cherry-pick-of-#9793-upstream-release-3.6
Automated cherry pick of #9793: feat(region): server sku os_arch & cpu_arch checking
2021-01-09 19:57:17 +08:00
Zexi Li
5cfbb416b3 Merge pull request #9818 from zhaoxiangchun/automated-cherry-pick-of-#9817-upstream-release-3.6
Automated cherry pick of #9817: fix(monitor): fix monitoroverview and meter send alerting info to  notify
2021-01-09 19:56:05 +08:00
Zexi Li
a711f832e6 Merge pull request #9827 from rainzm/automated-cherry-pick-of-#9825-upstream-release-3.6
Automated cherry pick of #9825: fix(notify): avoid duplication of notification names
2021-01-09 19:54:51 +08:00
tangbin
f31216be0e loadbalancer add lb purge validate 2021-01-09 19:20:36 +08:00
rainzm
bc0106902a fix(notify): avoid duplication of notification names 2021-01-09 18:46:52 +08:00
yunion-ci-robot
2dbfc80fac Merge pull request #9810 from tb365/automated-cherry-pick-of-#9808-upstream-release-3.6
Automated cherry pick of #9808: fix(region): aws elb backendgroup sync bugfix
2021-01-09 16:55:09 +08:00
tangbin
4fa95bf608 fix(region): aws elb backendgroup sync bugfix 2021-01-09 16:12:44 +08:00
zhaoxiangchun
af0813cd09 fix(monitor): fix monitoroverview and meter send alerting info to notify
1.调整报警总览中今日报警数量计算逻辑
2.报警模版的web路径支持跳转到不同web页面:监控报警和meter
3.nodata 前端可配制功能fix
2021-01-09 15:34:04 +08:00
Zexi Li
3b5602e1ea Merge pull request #9800 from ioito/automated-cherry-pick-of-#9798-upstream-release-3.6
Automated cherry pick of #9798: fix(region): optimized for qcloud prepaid instance delete
2021-01-09 15:33:14 +08:00
Zexi Li
e4f7d3233c Merge pull request #9815 from rainzm/automated-cherry-pick-of-#9813-upstream-release-3.6
Automated cherry pick of #9813: fix(notify): loose phone number rules in updating receiver
2021-01-09 13:03:52 +08:00
rainzm
287f98ac86 fix(notify): loose phone number rules in updating receiver 2021-01-09 11:32:31 +08:00
Zexi Li
bb44f1cdfb Merge pull request #9804 from rainzm/automated-cherry-pick-of-#9802-upstream-release-3.6
Automated cherry pick of #9802: fix(notify): loose mobile phone number matching rules
2021-01-08 14:19:50 +08:00
rainzm
644ab6f925 fix(notify): loose mobile phone number matching rules 2021-01-08 12:03:00 +08:00
Qu Xuan
e775e798aa fix(region): optimized for qcloud prepaid instance delete 2021-01-08 11:32:58 +08:00
tangbin
331d9d2a67 feat(region): server sku os_arch & cpu_arch checking 2021-01-08 10:35:08 +08:00
Zexi Li
d5ed96a651 Merge pull request #9792 from wanyaoqi/automated-cherry-pick-of-#9790-upstream-release-3.6
Automated cherry pick of #9790: fix(host-deployer): add retry on check is vgactived
2021-01-07 21:18:13 +08:00
Zexi Li
4ce85f310b Merge pull request #9787 from yousong/automated-cherry-pick-of-#9785-upstream-release-3.6
Automated cherry pick of #9785: guest_deploy_task: log other deploy details with i18n
2021-01-07 21:16:39 +08:00
Zexi Li
3f6e669324 Merge pull request #9784 from zhaoxiangchun/automated-cherry-pick-of-#9782-upstream-release-3.6
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:46 +08:00
wanyaoqi
3f4b2163f3 fix(host-deployer): add retry on check is vgactived 2021-01-07 19:28:09 +08:00
Yousong Zhou
78b6f85662 guest_deploy_task: log other deploy details with i18n
Fixes 9f350392 ("add service tag for actionlog")
2021-01-07 11:40:27 +08:00
zhaoxiangchun
3124113e2f 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:31 +08:00
Zexi Li
38b34239cd Merge pull request #9780 from ioito/automated-cherry-pick-of-#9778-upstream-release-3.6
Automated cherry pick of #9778: fix(region): avoid auzre request timeout
2021-01-06 21:23:27 +08:00
Zexi Li
370b35852c Merge pull request #9777 from ioito/automated-cherry-pick-of-#9775-upstream-release-3.6
Automated cherry pick of #9775: fix(cloudevent): default policy
2021-01-06 21:23:08 +08:00
Zexi Li
f7c8bbc00b Merge pull request #9773 from ioito/automated-cherry-pick-of-#9771-upstream-release-3.6
Automated cherry pick of #9771: fix(region): avoid panic when register service not work
2021-01-06 21:21:47 +08:00
Qu Xuan
f64c6c54da fix(region): avoid auzre request timeout 2021-01-06 15:34:14 +08:00
Qu Xuan
c4db4bc43e fix(cloudevent): default policy 2021-01-06 14:05:35 +08:00
Qu Xuan
1afe6ef41b fix(region): avoid panic when register service not work 2021-01-05 21:20:04 +08:00
Zexi Li
83896cdcc3 Merge pull request #9764 from wanyaoqi/automated-cherry-pick-of-#9762-upstream-release-3.6
Automated cherry pick of #9762: feat(region): stop guest before freeze
2021-01-05 18:33:32 +08:00
wanyaoqi
38914b967d feat(region): stop guest before freeze 2021-01-05 15:19:13 +08:00
Zexi Li
7695eb905c Merge pull request #9758 from zhaoxiangchun/automated-cherry-pick-of-#9757-upstream-release-3.6
Automated cherry pick of #9757: fix(monitor): modify totalrecord query
2021-01-04 15:57:09 +08:00
zhaoxiangchun
562aefda85 fix(monitor): modify totalrecord query
1. influxdb 增加abs function
2. 调整total报警记录接口query
2021-01-04 15:40:57 +08:00
Zexi Li
0143d271e1 Merge pull request #9756 from zhaoxiangchun/automated-cherry-pick-of-#9754-upstream-release-3.6
Automated cherry pick of #9754: feat(monitor): get today alerting resource info
2020-12-31 20:23:52 +08:00
zhaoxiangchun
de2b95cab7 feat(monitor): get today alerting resource info
1.提供接口获取当前时间发生报警的资源统计
2020-12-31 20:09:16 +08:00
Zexi Li
fc5a78c7e3 Merge pull request #9751 from rainzm/automated-cherry-pick-of-#9750-upstream-release-3.6
Automated cherry pick of #9750: feat(region): be compatible with changes in monitor api in scaling group
2020-12-30 21:45:01 +08:00
Zexi Li
3986dbc434 Merge pull request #9740 from zhaoxiangchun/automated-cherry-pick-of-#9735-upstream-release-3.6
Automated cherry pick of #9735: fix(monitor): modify rds,redis,oss field descriptions
2020-12-30 21:43:16 +08:00
Zexi Li
192e03fcd7 Merge pull request #9734 from ioito/automated-cherry-pick-of-#9730-upstream-release-3.6
Automated cherry pick of #9730: fix(cloudevent): cloudevent is domain level resource
2020-12-30 21:42:32 +08:00
Zexi Li
44db018039 Merge pull request #9729 from ioito/automated-cherry-pick-of-#9727-upstream-release-3.6
Automated cherry pick of #9727: fix(region): rds list with secgorups info
2020-12-30 21:41:49 +08:00
Zexi Li
6751d1d3af Merge pull request #9736 from wanyaoqi/automated-cherry-pick-of-#9731-upstream-release-3.6
Automated cherry pick of #9731: fix(region): server start check host memory is enough
2020-12-30 21:40:24 +08:00
Zexi Li
5ea100865d Merge pull request #9746 from rainzm/automated-cherry-pick-of-#9744-upstream-release-3.6
Automated cherry pick of #9744: fix(esxiagent): nicIndex should be incremented
2020-12-30 21:35:56 +08:00
rainzm
987b641bd0 feat(region): be compatible with changes in monitor api in scaling group 2020-12-30 19:16:47 +08:00
rainzm
77e56db095 fix(esxiagent): nicIndex should be incremented 2020-12-30 19:02:54 +08:00
Zexi Li
b7629422f7 Merge pull request #9725 from zhaoxiangchun/automated-cherry-pick-of-#9724-upstream-release-3.6
Automated cherry pick of #9724: feat(suggestion,apigateway): add analysispredict climc
2020-12-30 18:54:41 +08:00
zhaoxiangchun
589daf5063 fix(monitor): modify rds,redis,oss field descriptions
1.修改后端redis,rds,oss desc 信息,和前端索引进行对应
2020-12-30 16:09:17 +08:00
wanyaoqi
a066301ae2 fix(region): server start check host memory is enough 2020-12-30 15:50:52 +08:00
Qu Xuan
7d07b4aa5f fix(cloudevent): cloudevent is domain level resource 2020-12-30 15:48:33 +08:00
Qu Xuan
b96f225274 fix(region): rds list with secgorups info 2020-12-30 14:20:03 +08:00
zhaoxiangchun
40c8b54cba feat(suggestion,apigateway): add analysispredict climc 2020-12-30 14:09:02 +08:00
Zexi Li
93879980f5 Merge pull request #9720 from swordqiu/automated-cherry-pick-of-#9719-upstream-release-3.6
Automated cherry pick of #9719: fix(cloudcommon): splitable may not initialize underlying table
2020-12-29 21:17:17 +08:00
Zexi Li
5bb13e48b7 Merge pull request #9716 from wanyaoqi/automated-cherry-pick-of-#9711-upstream-release-3.6
Automated cherry pick of #9711: fix(region,host,host-deployer): sync status chekc block jobs
2020-12-29 20:43:37 +08:00
Zexi Li
64fcdea2b0 Merge pull request #9712 from rainzm/automated-cherry-pick-of-#9693-upstream-release-3.6
Automated cherry pick of #9693: Solve the permission problem of notify to create receiver
2020-12-29 20:41:44 +08:00
Zexi Li
57fa6361fc Merge pull request #9708 from rainzm/automated-cherry-pick-of-#9706-upstream-release-3.6
Automated cherry pick of #9706: feat(region): multilingual timer description
2020-12-29 20:39:31 +08:00
Qiu Jian
732159137b fix(cloudcommon): splitable may not initialize underlying table 2020-12-29 18:54:26 +08:00
wanyaoqi
d2ec564ccc fix(region,host): sync status check block jobs 2020-12-29 15:31:54 +08:00
wanyaoqi
a4323eab43 fix(host-deployer): add log line on blkid failed 2020-12-29 15:31:54 +08:00
wanyaoqi
7335875ef1 fix(climc): host add netif add params bridge/interface 2020-12-29 15:31:54 +08:00
rainzm
8d98218f06 feat(region): multilingual timer description 2020-12-29 15:23:45 +08:00
rainzm
af274d7ad2 feat(db): progressive inspection when determining the required scope 2020-12-29 15:04:28 +08:00
rainzm
25baa6f509 fix(notify): inject domain info in ReceiverManager.FetchOwnerId 2020-12-29 15:04:28 +08:00
Zexi Li
4cb9304d4c Merge pull request #9702 from swordqiu/automated-cherry-pick-of-#9701-upstream-release-3.6
Automated cherry pick of #9701: fix(region): omit vpc quota check if vpc created by owner
2020-12-29 09:35:53 +08:00
Zexi Li
db198f06d6 Merge pull request #9700 from zhaoxiangchun/automated-cherry-pick-of-#9698-upstream-release-3.6
Automated cherry pick of #9698: fix(monitor): sore reture info:resourceType,measurement
2020-12-29 09:35:02 +08:00
Qiu Jian
e38ea05c21 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 01:18:44 +08:00
--global
ba22334382 fix(monitor): sore reture info:resourceType,measurement
1.对资源类型和对应的measurement进行排序输出
2020-12-28 21:44:04 +08:00
Zexi Li
4020c6dd9e Merge pull request #9695 from zhaoxiangchun/automated-cherry-pick-of-#9694-upstream-release-3.6
Automated cherry pick of #9694: fix(monitor): add resType   filter
2020-12-28 21:22:27 +08:00
--global
ccf0653581 fix(monitor): add resType filter
1.修复资源类型过滤失效的问题
2020-12-28 17:21:01 +08:00
Zexi Li
5f566f517c Merge pull request #9541 from ioito/automated-cherry-pick-of-#9540-upstream-release-3.6
Automated cherry pick of #9540: fix(region): openstack network is regional
2020-12-28 10:20:30 +08:00
Zexi Li
787a0a61d0 Merge pull request #9683 from rainzm/automated-cherry-pick-of-#9681-upstream-release-3.6
Automated cherry pick of #9681: feat(region): make DeleteSnapshotExpiredRelease applies to postpaid vm
2020-12-27 21:06:12 +08:00
Zexi Li
60392d84aa Merge pull request #9679 from ioito/automated-cherry-pick-of-#9677-upstream-release-3.6
Automated cherry pick of #9677: optimized(region): qcloud bucket policy set and get operation
2020-12-26 20:01:08 +08:00
rainzm
be042a0758 feat(region): make DeleteSnapshotExpiredRelease applies to postpaid vm 2020-12-26 18:43:10 +08:00
Zexi Li
ea3bdba3c6 Merge pull request #9588 from tb365/automated-cherry-pick-of-#9587-upstream-release-3.6
Automated cherry pick of #9587: fix(region): cloudregion&zone add namei18n
2020-12-26 18:42:58 +08:00
Qu Xuan
c0bcfa9a53 optimized(region): qcloud bucket policy set and get operation 2020-12-26 17:42:49 +08:00
TangBin
e289553015 fix(region): remove i18n fix & zone &region name support i18n 2020-12-26 17:34:55 +08:00
TangBin
834f5a97de fix(region): aws sync vpc access mode bugfix 2020-12-26 17:34:55 +08:00
TangBin
2a4a762f24 fix(region): cloudregion&zone add namei18n 2020-12-26 17:34:54 +08:00
Zexi Li
eae0c59eb3 Merge pull request #9662 from rainzm/automated-cherry-pick-of-#9660-upstream-release-3.6
Automated cherry pick of #9660: feat(region): add options DeleteSnapshotExpiredRelease
2020-12-26 15:12:32 +08:00
Zexi Li
5368888dd8 Merge pull request #9650 from ioito/automated-cherry-pick-of-#9627-upstream-release-3.6
Automated cherry pick of #9627: fix(region): support rds secgroup operation
2020-12-26 12:20:10 +08:00
Zexi Li
85c2ea5ccc Merge pull request #9649 from lvyangyang/automated-cherry-pick-of-#9636-upstream-release-3.6
Automated cherry pick of #9636: fix(region): aws lb create tags param
2020-12-26 12:18:29 +08:00
Zexi Li
f9da623770 Merge pull request #9641 from ioito/automated-cherry-pick-of-#9640-upstream-release-3.6
Automated cherry pick of #9640: fix(region): purge private cloud sku
2020-12-26 12:15:08 +08:00
Zexi Li
4a2ef4163e Merge pull request #9643 from ioito/automated-cherry-pick-of-#9642-upstream-release-3.6
Automated cherry pick of #9642: fix(region): apsara optimized
2020-12-26 12:13:51 +08:00
Zexi Li
a192d40495 Merge pull request #9645 from swordqiu/automated-cherry-pick-of-#9644-upstream-release-3.6
Automated cherry pick of #9644: feature(climc): policy save data into file
2020-12-26 12:09:23 +08:00
Zexi Li
1ab4b68080 Merge pull request #9655 from ioito/automated-cherry-pick-of-#9654-upstream-release-3.6
Automated cherry pick of #9654: fix(region): optimized azure rebuild root
2020-12-26 12:06:41 +08:00
Zexi Li
c829c02325 Merge pull request #9653 from swordqiu/automated-cherry-pick-of-#9652-upstream-release-3.6
Automated cherry pick of #9652: fix(cloudevent): adjust cloudevents resource scope
2020-12-26 12:04:56 +08:00
rainzm
e4efbdc336 feat(region): add options DeleteSnapshotExpiredRelease 2020-12-26 11:09:19 +08:00
yunion-ci-robot
22e318b6c1 Merge pull request #9658 from zhaoxiangchun/automated-cherry-pick-of-#9657-upstream-release-3.6
Automated cherry pick of #9657: fix(monitor): monitor notify international and 3.6 bugfix
2020-12-26 11:06:58 +08:00
--global
ab14706ff5 fix(monitor): monitor notify international and 3.6 bugfix
1.修复项目下无法查看报警记录
2.修复报警策略切换所属范围signature失败
3.国际化问题处理
2020-12-26 09:54:08 +08:00
Qu Xuan
0252c00efc fix(region): optimized azure rebuild root 2020-12-25 20:56:29 +08:00
Qiu Jian
540af1a3af fix(cloudevent): adjust cloudevents resource scope
Change cloudevents resource scope from system to project.
2020-12-25 20:41:57 +08:00
Qu Xuan
c5a974e744 fix(region): support rds secgroup operation 2020-12-25 19:13:11 +08:00
lvyangyang
4cb9c936cd fix(region): aws lb create tags param 2020-12-25 18:24:41 +08:00
Zexi Li
22d31a39c1 Merge pull request #9638 from ioito/automated-cherry-pick-of-#9637-upstream-release-3.6
Automated cherry pick of #9637: fix(cloudid): optimized system policy sync
2020-12-25 17:24:07 +08:00
Qiu Jian
94dd5c5777 feature(climc): policy save data into file
Allow saveing policy data into file
2020-12-25 17:02:02 +08:00
Qu Xuan
8a5e682b06 fix(cloudid): optimized system policy sync 2020-12-25 15:04:17 +08:00
Qu Xuan
38a0b76a58 fix(region): apsara optimized 2020-12-25 14:21:35 +08:00
Qu Xuan
a2b15c596c fix(region): purge private cloud sku 2020-12-25 11:23:46 +08:00
Zexi Li
64ed1d4e88 Merge pull request #9634 from ioito/automated-cherry-pick-of-#9633-upstream-release-3.6
Automated cherry pick of #9633: fix(region): sku.meta use global proxy
2020-12-25 01:26:21 +08:00
Zexi Li
f8e228502f Merge pull request #9630 from ioito/automated-cherry-pick-of-#9629-upstream-release-3.6
Automated cherry pick of #9629: fix(region): optimized disk allocate sched failed log
2020-12-24 17:47:59 +08:00
Zexi Li
a0cecc801e Merge pull request #9623 from ioito/automated-cherry-pick-of-#9622-upstream-release-3.6
Automated cherry pick of #9622: fix(region): avoid openstack change config error
2020-12-24 17:42:14 +08:00
Zexi Li
916692b992 Merge pull request #9626 from ioito/automated-cherry-pick-of-#9593-upstream-release-3.6
Automated cherry pick of #9593: fix(region): private cloud sku create
2020-12-24 17:41:15 +08:00
Zexi Li
244a63aa24 Merge pull request #9620 from ioito/automated-cherry-pick-of-#9619-upstream-release-3.6
Automated cherry pick of #9619: fix(region): avolid panic when list role's policies
2020-12-24 17:35:18 +08:00
Zexi Li
1f6e01592e Merge pull request #9610 from wanyaoqi/automated-cherry-pick-of-#9609-upstream-release-3.6
Automated cherry pick of #9609: fix(glance): list image by os arch use startwith
2020-12-24 17:34:32 +08:00
Qu Xuan
14bdbea3e2 fix(region): sku.meta use global proxy 2020-12-24 17:24:38 +08:00
Qu Xuan
27a2d36ff5 fix(region): optimized disk allocate sched failed log 2020-12-24 16:59:09 +08:00
Qu Xuan
1aec7ab259 fix(region): private cloud sku create 2020-12-24 15:33:03 +08:00
Qu Xuan
059cd75273 fix(region): avolid panic when list role's policies 2020-12-24 15:31:26 +08:00
Zexi Li
4c97c6ad3b Merge pull request #9618 from lvyangyang/automated-cherry-pick-of-#9596-upstream-release-3.6
Automated cherry pick of #9596: feat(region): azure tags
2020-12-24 14:33:14 +08:00
Qu Xuan
b60d18c060 fix(region): avoid openstack change config error 2020-12-24 11:52:05 +08:00
lvyangyang
950e75f8b0 feat(region): azure tags 2020-12-24 10:18:10 +08:00
Zexi Li
65781bfe06 Merge pull request #9617 from swordqiu/automated-cherry-pick-of-#9616-upstream-release-3.6
Automated cherry pick of #9616: fix(keystone): add i18n description for policy and role
2020-12-24 02:14:11 +08:00
Qiu Jian
334b347eb9 fix(keystone): add i18n description for policy and role
Add i18n support for descriptions of system policy and role
2020-12-23 23:34:58 +08:00
Zexi Li
d9c38a8550 Merge pull request #9595 from wanyaoqi/automated-cherry-pick-of-#9594-upstream-release-3.6
Automated cherry pick of #9594: chore(util): update centos build version to 1.1-3
2020-12-23 22:15:26 +08:00
Zexi Li
35cc29f86c Merge pull request #9604 from rainzm/automated-cherry-pick-of-#9603-upstream-release-3.6
Automated cherry pick of #9603: feat(webhook): send webhook notification when c/d loadbalancerlisterrule
2020-12-23 22:15:01 +08:00
Zexi Li
50d83a75e5 Merge pull request #9598 from zhaoxiangchun/automated-cherry-pick-of-#9597-upstream-release-3.6
Automated cherry pick of #9597: fix(cloudmon): deal cannot get  azure metric
2020-12-23 22:14:29 +08:00
Zexi Li
2ef96a9b26 Merge pull request #9600 from yousong/automated-cherry-pick-of-#9599-upstream-release-3.6
Automated cherry pick of #9599: Bugfix/yousong climc ssh
2020-12-23 22:13:27 +08:00
Zexi Li
daabb5b411 Merge pull request #9607 from zhaoxiangchun/automated-cherry-pick-of-#9605-upstream-release-3.6
Automated cherry pick of #9605: fix(monitor): fix nodata alertresource list
2020-12-23 22:10:15 +08:00
Zexi Li
9dd09504cd Merge pull request #9614 from rainzm/automated-cherry-pick-of-#9613-upstream-release-3.6
Automated cherry pick of #9613: fix(notify): fit correctly when send notification via contact
2020-12-23 22:03:29 +08:00
Zexi Li
b9560c6765 Merge pull request #9612 from rainzm/automated-cherry-pick-of-#9611-upstream-release-3.6
Automated cherry pick of #9611: feat(cloudcommon): determine the notification template based on the user’s language preference
2020-12-23 20:32:36 +08:00
rainzm
cdf7825379 fix(notify): fit correctly when send notification via contact 2020-12-23 17:50:45 +08:00
rainzm
7d75620d6d feat(cloudcommon): determine the notification template based on the user’s language preference 2020-12-23 17:44:07 +08:00
wanyaoqi
f3404f678c fix(glance): list image by os arch use startwith 2020-12-23 16:25:39 +08:00
--global
cdcfc79232 fix(monitor): fix nodata alertresource list
1.修复nodata报警资源列表无法根据nodata策略正确刷新和删除
2020-12-23 14:52:26 +08:00
rainzm
24f4a684a5 feat(webhook): send webhook notification when c/d loadbalancerlisterrule 2020-12-23 14:51:41 +08:00
Yousong Zhou
8a4c1a0bbe fix(mcclient): options: webconsole: fix passing ssh port 2020-12-23 13:31:40 +08:00
Yousong Zhou
ce00a17614 refactor(climc): webconsole: use helper methods of response struct 2020-12-23 13:31:40 +08:00
Yousong Zhou
8e9b4aed2f refactor(webconsole): api: add helper methods for response struct 2020-12-23 13:31:40 +08:00
Yousong Zhou
5959a204f7 refactor(webconsole): use structured response 2020-12-23 13:31:40 +08:00
--global
d2459a5cc0 fix(cloudmon): deal cannot get azure metric
1.azure重构代码导致监控uri路径出错
2020-12-23 13:17:42 +08:00
wanyaoqi
d980604920 chore(util): update centos build version to 1.1-3 2020-12-23 11:15:15 +08:00
Zexi Li
c5c370d6a2 Merge pull request #9550 from tb365/automated-cherry-pick-of-#9548-upstream-release-3.6
Automated cherry pick of #9548: Bugfix/tb bugfix 121801
2020-12-23 09:48:07 +08:00
Zexi Li
d442f842f2 Merge pull request #9578 from zhaoxiangchun/automated-cherry-pick-of-#9577-upstream-release-3.6
Automated cherry pick of #9577: feat(monitor): add global alertrecord
2020-12-23 09:46:02 +08:00
Zexi Li
347e2f0828 Merge pull request #9571 from ioito/automated-cherry-pick-of-#9570-upstream-release-3.6
Automated cherry pick of #9570: fix(region): 避免从云上同步下来的主机,创建相同配置时network_id为空
2020-12-23 09:41:49 +08:00
Zexi Li
9fe732619d Merge pull request #9574 from ioito/automated-cherry-pick-of-#9573-upstream-release-3.6
Automated cherry pick of #9573: fix(region): add huawei gpssd desc
2020-12-23 09:37:05 +08:00
Zexi Li
540b21cfd4 Merge pull request #9582 from zhaoxiangchun/automated-cherry-pick-of-#9579-upstream-release-3.6
Automated cherry pick of #9579: fix(monitor): other servier create alert add used_by param as a agreement
2020-12-23 09:35:20 +08:00
Zexi Li
7fd9b0f47e Merge pull request #9585 from rainzm/automated-cherry-pick-of-#9584-upstream-release-3.6
Automated cherry pick of #9584: more convenient debugging and role isolation
2020-12-23 09:09:48 +08:00
Zexi Li
60724356ec Merge pull request #9590 from swordqiu/automated-cherry-pick-of-#9589-upstream-release-3.6
Automated cherry pick of #9589: fix(cloudevent,devtool): missing metadata table
2020-12-23 09:06:48 +08:00
Qiu Jian
5d298e71bb fix(cloudevent,devtool): missing metadata table 2020-12-23 03:12:10 +08:00
rainzm
deb3758bfa feat: download the role to tmpdir not system role dir 2020-12-22 20:21:38 +08:00
rainzm
1eaf2eaff0 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:21:38 +08:00
Qu Xuan
ea41bb4f18 fix(region): openstack network is regional 2020-12-22 16:26:36 +08:00
--global
e2ca41a5f5 feat(monitor): add global alertrecord
1.支持时间、资源类型、报警级别、报警状态的过滤
2.报警记录删除时,删除关联的报警记录
2020-12-22 16:22:50 +08:00
--global
2ba98e7cee fix(monitor): other servier create alert add used_by param as a agreement
1.解决notify,meter中创建的对应的策略也展示在统一报警策略页面。通过used_by
  进行区分
2020-12-22 16:18:21 +08:00
Qu Xuan
a9c6579b6a fix(region): add huawei gpssd desc 2020-12-22 11:33:03 +08:00
Qu Xuan
f150da6d98 fix(region): 避免从云上同步下来的主机,创建相同配置时network_id为空 2020-12-22 11:18:32 +08:00
Zexi Li
dcf2a3f66c Merge pull request #9499 from wanyaoqi/automated-cherry-pick-of-#9498-upstream-release-3.6
Automated cherry pick of #9498: server migrate misc fix
2020-12-22 10:06:11 +08:00
yunion-ci-robot
eb2f782fd2 Merge pull request #9565 from zexi/automated-cherry-pick-of-#9564-upstream-release-3.6
Automated cherry pick of #9564: Hotfix/baremetal pxe net alloc
2020-12-21 23:50:49 +08:00
Zexi Li
f86e26fec2 Merge pull request #9545 from yousong/automated-cherry-pick-of-#9544-upstream-release-3.6
Automated cherry pick of #9544: fix(region): lbbackend: better error reporting for finding influxdb info
2020-12-21 21:08:35 +08:00
Zexi Li
3effc3ea38 Merge pull request #9556 from ioito/automated-cherry-pick-of-#9555-upstream-release-3.6
Automated cherry pick of #9555: fix(region): fix openstack instance os type
2020-12-21 21:02:06 +08:00
Zexi Li
b023c24250 Merge pull request #9560 from rainzm/automated-cherry-pick-of-#9559-upstream-release-3.6
Automated cherry pick of #9559: feat(scripts): add export DOCKER_BUILDKIT=1
2020-12-21 21:00:26 +08:00
Zexi Li
5d1d8dc145 Merge pull request #9562 from ioito/automated-cherry-pick-of-#9561-upstream-release-3.6
Automated cherry pick of #9561: fix(cloudid): add <br> for notify templete
2020-12-21 20:59:24 +08:00
Zexi Li
9f2b137f08 fix(region,baremetal): choose candidate network not according by types 2020-12-21 20:48:31 +08:00
Zexi Li
829faa1ab6 fix(region,baremetal): pxe net reuse converted server access ip 2020-12-21 20:48:31 +08:00
Qu Xuan
2faead462b fix(cloudid): add <br> for notify templete 2020-12-21 20:42:31 +08:00
rainzm
4135e62f6f feat(scripts): add export DOCKER_BUILDKIT=1 2020-12-21 19:56:39 +08:00
Qu Xuan
9c0ce58a06 fix(region): fix openstack instance os type 2020-12-21 19:49:56 +08:00
TangBin
5a10db10cd fix(region): lbacl &lbcert default share scope 2020-12-21 17:33:21 +08:00
TangBin
0c3a1986f6 fix(region): elb acl validate create data fix 2020-12-21 17:33:21 +08:00
TangBin
1a4faf4101 fix(region): aliyun elb listener&lbbg sync project 2020-12-21 17:33:21 +08:00
TangBin
c4eda6b5af fix(region): cert&acl cache delete condition check 2020-12-21 17:33:21 +08:00
Yousong Zhou
48f1cf12ae fix(region): lbbackend: better error reporting for finding influxdb info 2020-12-21 16:51:44 +08:00
Zexi Li
74d050292f Merge pull request #9370 from ioito/automated-cherry-pick-of-#9360-upstream-release-3.6
Automated cherry pick of #9360: fix(region): sync servers
2020-12-21 10:40:39 +08:00
Zexi Li
db9b653b29 Merge pull request #9539 from swordqiu/automated-cherry-pick-of-#9538-upstream-release-3.6
Automated cherry pick of #9538: fix(cloudcommon): query string may be modified in listItemQuery
2020-12-21 01:32:00 +08:00
Zexi Li
7726efa305 Merge pull request #9537 from swordqiu/automated-cherry-pick-of-#9536-upstream-release-3.6
Automated cherry pick of #9536: fix(keystone): ignore deleted policies when matching policies
2020-12-21 01:30:40 +08:00
Qiu Jian
41b694ad3e 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:31:43 +08:00
Qiu Jian
86476c22a9 fix(keystone): ignore deleted policies when matching policies
ignore deleted policies when matching policies
2020-12-20 14:18:59 +08:00
Zexi Li
495a0283ce Merge pull request #9535 from swordqiu/automated-cherry-pick-of-#9534-upstream-release-3.6
Automated cherry pick of #9534: fix(cloudcommon): add rbac_policy_refresh_internval_seconds option
2020-12-20 02:08:37 +08:00
Zexi Li
f6329cbc71 Merge pull request #9528 from swordqiu/automated-cherry-pick-of-#9527-upstream-release-3.6
Automated cherry pick of #9527: fix(cloudcommon): panic when query a splitable model manager
2020-12-20 02:07:56 +08:00
Zexi Li
742ac46cab Merge pull request #9530 from swordqiu/automated-cherry-pick-of-#9529-upstream-release-3.6
Automated cherry pick of #9529: fix(taskman): use admin token if task userCred token expired
2020-12-20 02:05:55 +08:00
Qiu Jian
6caec234a9 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:34:33 +08:00
Qiu Jian
b3c90a8049 fix(taskman): use admin token if task userCred token expired
Use admin credential token if task cached userCred token expired
2020-12-20 01:21:40 +08:00
Qiu Jian
ba8754687a 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:49 +08:00
yunion-ci-robot
5c5178985e Merge pull request #9524 from zexi/automated-cherry-pick-of-#9521-upstream-release-3.6
Automated cherry pick of #9521: Storage actual size filter
2020-12-19 23:56:03 +08:00
Zexi Li
47e739d612 Merge pull request #9495 from wanyaoqi/automated-cherry-pick-of-#9494-upstream-release-3.6
Automated cherry pick of #9494: fix(region): guest to create input keep billing info
2020-12-19 20:06:10 +08:00
Zexi Li
b70ab17dcb Merge pull request #9506 from ioito/automated-cherry-pick-of-#9159-upstream-release-3.6
Automated cherry pick of #9159: feat(region): add instance storage capability
2020-12-19 20:04:27 +08:00
Zexi Li
5010a9154d Merge pull request #9510 from ioito/automated-cherry-pick-of-#9509-upstream-release-3.6
Automated cherry pick of #9509: fix(region): azure async task
2020-12-19 20:02:37 +08:00
Zexi Li
0ac658c2ca Merge pull request #9513 from ioito/automated-cherry-pick-of-#9512-upstream-release-3.6
Automated cherry pick of #9512: fix(region): azure secgroup rule not allow with same priority and dir…
2020-12-19 20:01:01 +08:00
Zexi Li
e7dd6bba0c fix(scheduler): storage predicate add actualCapacity filter 2020-12-19 19:58:10 +08:00
Zexi Li
7a3ad28fd6 Merge pull request #9517 from swordqiu/automated-cherry-pick-of-#9515-upstream-release-3.6
Automated cherry pick of #9515: fix(host): telegraf listen on local ipv4 address explicitly
2020-12-19 18:11:49 +08:00
Zexi Li
bd212de4f7 Merge pull request #9516 from swordqiu/automated-cherry-pick-of-#9501-upstream-release-3.6
Automated cherry pick of #9501: feature(keystone): user add language attribute
2020-12-19 18:11:39 +08:00
Qiu Jian
4606458719 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 15:37:03 +08:00
Qiu Jian
768c88d28d 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 15:36:37 +08:00
Qu Xuan
2b0e8afe0f fix(region): azure secgroup rule not allow with same priority and direction 2020-12-19 14:48:57 +08:00
Qu Xuan
09adc5f60f fix(region): azure async task 2020-12-19 14:02:15 +08:00
Qu Xuan
8779895298 feat(region): add instance storage capability 2020-12-19 11:14:58 +08:00
Qu Xuan
d2d96b1229 fix(region): sync servers 2020-12-19 10:26:10 +08:00
Zexi Li
3e74921627 Merge pull request #9503 from swordqiu/automated-cherry-pick-of-#9502-upstream-release-3.6
Automated cherry pick of #9502: fix(keystone): always upload&refresh service config whenever service …
2020-12-19 09:32:47 +08:00
Qiu Jian
97eb6e7bc7 fix(keystone): always upload&refresh service config whenever service restart
Always upload&refresh service config whenever service restart
2020-12-19 00:53:14 +08:00
yunion-ci-robot
54337fe93b Merge pull request #9491 from zexi/automated-cherry-pick-of-#9490-upstream-release-3.6
Automated cherry pick of #9490: Hotfix/baremetal pd makegood
2020-12-18 20:49:19 +08:00
Zexi Li
c8a007d9b3 Merge pull request #9484 from rainzm/automated-cherry-pick-of-#9483-upstream-release-3.6
Automated cherry pick of #9483: Webhook better describe the life cycle of the guest
2020-12-18 20:37:51 +08:00
wanyaoqi
6c96e6d1f8 fix(host): add print migrate progress info 2020-12-18 18:29:36 +08:00
wanyaoqi
e26fb5cc1d fix(region): do not change disk status on migrating 2020-12-18 18:29:36 +08:00
Zexi Li
547df8a171 Merge pull request #9489 from tb365/automated-cherry-pick-of-#9488-upstream-release-3.6
Automated cherry pick of #9488: Bugfix/tb bugfix 121702
2020-12-18 16:36:20 +08:00
Zexi Li
7da3869e24 Merge pull request #9466 from zhaoxiangchun/automated-cherry-pick-of-#9459-upstream-release-3.6
Automated cherry pick of #9459: feat(monitor): add alert slience time and modify scoperesource FetchUniqValues func
2020-12-18 16:33:48 +08:00
Zexi Li
012a84d187 Merge pull request #9487 from wanyaoqi/automated-cherry-pick-of-#9486-upstream-release-3.6
Automated cherry pick of #9486: fix(region): fix change config forecast
2020-12-18 16:31:15 +08:00
Zexi Li
adc27a53f3 Merge pull request #9482 from wanyaoqi/automated-cherry-pick-of-#9481-upstream-release-3.6
Automated cherry pick of #9481: fix(keystone): service config ignore deploy server socket path
2020-12-18 16:29:29 +08:00
wanyaoqi
f8c4c008f8 fix(region): guest to create input keep billing info 2020-12-18 16:18:27 +08:00
Zexi Li
f6bf3050fa fix(baremetal): clear jbod disks do PDMakeGood 2020-12-18 15:50:15 +08:00
TangBin
e4f372ba55 fix(region): remove unnecessary vpc validate create date error wrap 2020-12-18 15:19:54 +08:00
TangBin
755f4a93a3 fix(region): network create mask length validate 2020-12-18 15:19:54 +08:00
TangBin
ad39e790d9 fix(region): vpc create data cird validate 2020-12-18 15:19:54 +08:00
TangBin
bc3fdb890f fix(region): ctyun delete server bugfix
6642
2020-12-18 15:19:54 +08:00
TangBin
2e401b5664 fix(region): create vm with eip task fix 2020-12-18 15:19:53 +08:00
wanyaoqi
52f0afda00 fix(region): fix change config forecast 2020-12-18 14:58:57 +08:00
--global
1a1df0f075 feat(monitor): add alert slience time and modify scoperesource FetchUniqValues func
1.增加报警静默时间
2.后端修改 scoperesource FetchUniqValues :回显scope 属性
2020-12-18 14:40:46 +08:00
rainzm
79eacb5b45 feat(region): send webhook server_create when canceling pending delete 2020-12-18 13:10:21 +08:00
rainzm
0c72872330 feat(region): distinguish between pending delete and delete notification 2020-12-18 13:10:21 +08:00
wanyaoqi
8287f3767e fix(keystone): service config ignore deploy server socket path 2020-12-18 12:52:52 +08:00
Zexi Li
3ab9d15bf0 Merge pull request #9478 from yousong/automated-cherry-pick-of-#9458-upstream-release-3.6
Automated cherry pick of #9458: Bugfix/yousong eip ipaddr
2020-12-18 12:51:32 +08:00
Zexi Li
854d160875 Merge pull request #9473 from yousong/automated-cherry-pick-of-#9472-upstream-release-3.6
Automated cherry pick of #9472: Bugfix/yousong host mtu
2020-12-18 00:19:22 +08:00
Zexi Li
bb23fc8ae9 Merge pull request #9477 from wanyaoqi/automated-cherry-pick-of-#9476-upstream-release-3.6
Automated cherry pick of #9476: fix(host-deployer): probe image info umount rootfs first
2020-12-18 00:17:39 +08:00
Yousong Zhou
bb0568d18a fix(region): eip_allocate_task: set eip status allocate_fail on task failure 2020-12-17 22:01:02 +08:00
Yousong Zhou
baff004838 fix(region,climc): eips: rename arg name for requested eip addr 2020-12-17 22:01:02 +08:00
Yousong Zhou
6e449c123b fix(region): guestnetworks: use net calculated mtu 2020-12-17 21:51:23 +08:00
Yousong Zhou
80efc97c69 feat(region): networks: add getMtu method 2020-12-17 21:51:23 +08:00
Yousong Zhou
aaec97470b feat(apis): add const VPC_OVN_ENCAP_COST 2020-12-17 21:51:22 +08:00
Yousong Zhou
206ae7f9e8 feat(host): startvm: set vpc nic mtu
Windows DHCP client does not respect DHCP MTU option
2020-12-17 21:51:22 +08:00
Yousong Zhou
005fad402c feat(host): startvm: add nic_mtu shell func 2020-12-17 21:51:22 +08:00
Yousong Zhou
c2d173ae1c 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 21:51:22 +08:00
Yousong Zhou
38492014b5 refactor(host): startvm: nic_speed: use raw string 2020-12-17 21:51:22 +08:00
Yousong Zhou
4cf3565b29 refactor(host): startvm: add QEMU_CMD_KVM_ARG 2020-12-17 21:51:22 +08:00
wanyaoqi
7ed96af338 fix(host-deployer): probe image info umount rootfs first 2020-12-17 20:34:07 +08:00
Zexi Li
7fcd0fc28a Merge pull request #9471 from ioito/automated-cherry-pick-of-#9470-upstream-release-3.6
Automated cherry pick of #9470: fix(region): apsara metrics fix
2020-12-17 16:03:31 +08:00
Qu Xuan
a67b096686 fix(region): apsara metrics fix 2020-12-17 16:01:58 +08:00
Zexi Li
b2e6c1bd55 Merge pull request #9464 from rainzm/automated-cherry-pick-of-#9463-upstream-release-3.6
Automated cherry pick of #9463: fix(region): exclude network recommended for host when suggesting net…
2020-12-17 11:22:03 +08:00
Zexi Li
fb181a47a1 Merge pull request #9469 from tb365/automated-cherry-pick-of-#9467-upstream-release-3.6
Automated cherry pick of #9467: fix(region): skus add cloudenv
2020-12-17 11:17:46 +08:00
TangBin
f17593d3f4 fix(region): skus add cloudenv 2020-12-17 11:05:14 +08:00
rainzm
930c643153 fix(region): exclude network recommended for host when suggesting network for guest 2020-12-17 10:12:42 +08:00
Zexi Li
6f44812520 Merge pull request #9442 from wanyaoqi/automated-cherry-pick-of-#9441-upstream-release-3.6
Automated cherry pick of #9441: bugfix(region): server change config rebase to sched task
2020-12-17 09:50:45 +08:00
Zexi Li
347857f40e Merge pull request #9455 from zexi/automated-cherry-pick-of-#9454-upstream-release-3.6
Automated cherry pick of #9454: fix(scheduler): fetch input network when specified
2020-12-16 18:24:38 +08:00
wanyaoqi
5314ce98b0 bugfix(region): server change config rebase to sched task 2020-12-16 18:07:50 +08:00
Zexi Li
9644513728 Merge pull request #9453 from swordqiu/automated-cherry-pick-of-#9452-upstream-release-3.6
Automated cherry pick of #9452: fix(keystone): panic if request with an invalid token
2020-12-16 17:57:31 +08:00
Zexi Li
5cfd7f0401 fix(scheduler): fetch input network when specified 2020-12-16 17:50:25 +08:00
Qiu Jian
5a71931982 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:47:03 +08:00
Zexi Li
e877b081ea Merge pull request #9445 from tb365/automated-cherry-pick-of-#9443-upstream-release-3.6
Automated cherry pick of #9443: Bugfix/tb bugfix 121501
2020-12-16 12:25:50 +08:00
Zexi Li
5de1f1c3ff Merge pull request #9419 from zexi/automated-cherry-pick-of-#9418-upstream-release-3.6
Automated cherry pick of #9418: fix(region): baremetal post update related server
2020-12-16 10:40:55 +08:00
Zexi Li
f65b3499d9 Merge pull request #9448 from swordqiu/automated-cherry-pick-of-#9447-upstream-release-3.6
Automated cherry pick of #9447: fix(log): fail to submit action log
2020-12-16 09:32:56 +08:00
Zexi Li
903367ce61 Merge pull request #9440 from zhaoxiangchun/automated-cherry-pick-of-#9439-upstream-release-3.6
Automated cherry pick of #9439: feat(monitor): support create nodata alert from web
2020-12-16 09:27:18 +08:00
Qiu Jian
1a2a40a811 fix(log): fail to submit action log
Because splitable not implement InsertOrMethod method, fail to submit
action log
2020-12-16 00:25:58 +08:00
TangBin
eee13a549b fix(awscli): instance-rebuild-root fix 2020-12-15 21:05:06 +08:00
TangBin
cef3d52f08 fix(region): vpc sync external access mode fix 2020-12-15 20:57:39 +08:00
TangBin
596b376d85 fix(region): vpc usable fix 2020-12-15 20:57:39 +08:00
TangBin
efb4368716 fix(region): aws create vpc with igw add defaultroute 2020-12-15 20:57:38 +08:00
TangBin
ac89394947 fix(region): aws delete vpc skipped delete main route table 2020-12-15 20:57:38 +08:00
TangBin
5ff27734bc fix(region): aws vpc delete skip delete default secgroup 2020-12-15 20:57:38 +08:00
TangBin
9f52afdf94 fix(region): aws vpc delete related route table & internet gateway 2020-12-15 20:57:38 +08:00
TangBin
72153ecf58 fix(region): sku list query print missing error info 2020-12-15 20:57:38 +08:00
TangBin
9218c9e0b6 fix(region): aws create storage type fix 2020-12-15 20:57:37 +08:00
TangBin
68a2111bfd fix(region): aws create root device name fix 2020-12-15 20:56:57 +08:00
TangBin
b46d51d1e3 fix(region): vpc create validate cidr mask length 2020-12-15 20:56:57 +08:00
TangBin
da82328076 fix(region): aws detach igw before delete vpc 2020-12-15 20:56:57 +08:00
TangBin
b30a40d707 fix(region): vpc list usable fix 2020-12-15 20:56:57 +08:00
TangBin
8a1d15eba1 feat(region): server list add parameter eip_associable 2020-12-15 20:56:57 +08:00
yunion-ci-robot
007ad2cdc7 Merge pull request #9436 from wanyaoqi/automated-cherry-pick-of-#9435-upstream-release-3.6
Automated cherry pick of #9435: fix(host): fix set windows password with escape charater
2020-12-15 20:51:19 +08:00
zhaoxiangchun
c2b8f6a832 feat(monitor): support create nodata alert from web
1.支持从前端页面创建nodata报警策略,对于nodata的情况给出对应的resource
2020-12-15 18:21:37 +08:00
wanyaoqi
539baf7ba1 fix(host): fix set windows password with escape charater 2020-12-15 16:57:08 +08:00
Zexi Li
5f610498e8 Merge pull request #9416 from swordqiu/automated-cherry-pick-of-#9415-upstream-release-3.6
Automated cherry pick of #9415: fix(keystone): update user attributes whenever user login
2020-12-15 11:54:59 +08:00
Zexi Li
cd798b9094 Merge pull request #9432 from zexi/automated-cherry-pick-of-#9431-upstream-release-3.6
Automated cherry pick of #9431: Fix/climc server create desc
2020-12-15 11:51:56 +08:00
Zexi Li
d86d91dfcc Merge pull request #9427 from yousong/automated-cherry-pick-of-#9426-upstream-release-3.6
Automated cherry pick of #9426: fix(vpcagent): ovn: stable dns A record value
2020-12-15 11:44:49 +08:00
Zexi Li
df45ced78b fix(climc): server-create --desc not work 2020-12-15 11:36:01 +08:00
Yousong Zhou
b3e196950e fix(vpcagent): ovn: stable dns A record value 2020-12-15 10:47:16 +08:00
Zexi Li
d1f09e0799 Merge pull request #9420 from wanyaoqi/automated-cherry-pick-of-#9417-upstream-release-3.6
Automated cherry pick of #9417: fix(region,host): fix hot remove nic
2020-12-15 00:08:57 +08:00
Zexi Li
d001e0ec8f fix(region): baremetal post update related server 2020-12-14 19:16:44 +08:00
wanyaoqi
7c1923abf0 fix(region,host): fix hot remove nic
- region: check is hot remove nic enable
- host: del qemu device after del netdev
2020-12-14 19:01:14 +08:00
wanyaoqi
fbd53b4934 fix(host): fix check hugepage enabled 2020-12-14 19:01:14 +08:00
Qiu Jian
a4b4a1d16e fix(keystone): update user attributes whenever user login
update user attribtues whenever user login
2020-12-14 18:19:46 +08:00
Zexi Li
0210763ca0 Merge pull request #9412 from zexi/automated-cherry-pick-of-#9411-upstream-release-3.6
Automated cherry pick of #9411: fix(scheduler): sku filter check zone if only prefer region specified
2020-12-14 17:56:40 +08:00
yunion-ci-robot
fddf03a3ba Merge pull request #9410 from wanyaoqi/automated-cherry-pick-of-#9409-upstream-release-3.6
Automated cherry pick of #9409: feat(region): export user tags support virtual resources
2020-12-14 17:55:05 +08:00
Zexi Li
019c034133 fix(scheduler): sku filter check zone if only prefer region specified 2020-12-14 17:26:17 +08:00
Zexi Li
b1f2d7f379 Merge pull request #9407 from zexi/automated-cherry-pick-of-#9405-upstream-release-3.6
Automated cherry pick of #9405: Hotfix/webconsole trim url
2020-12-14 17:21:29 +08:00
Zexi Li
db9799c7f5 Merge pull request #9374 from rainzm/automated-cherry-pick-of-#9373-upstream-release-3.6
Automated cherry pick of #9373: feat(region): larger suggest network and more complete vlanid
2020-12-14 15:57:59 +08:00
wanyaoqi
d76915893d feat(region): export user tags support virtual resources 2020-12-14 15:56:46 +08:00
Zexi Li
64f94bd928 Merge pull request #9395 from zexi/automated-cherry-pick-of-#9394-upstream-release-3.6
Automated cherry pick of #9394: fix(scheduler): get candidates error more info
2020-12-14 15:52:27 +08:00
Zexi Li
f6713aab33 Merge pull request #9404 from wanyaoqi/automated-cherry-pick-of-#9403-upstream-release-3.6
Automated cherry pick of #9403: fix(region,glance): list by os arch adapt to empty strings
2020-12-14 15:50:56 +08:00
Zexi Li
1236a03269 fix(webconsole): trim api_server url if end with slashes 2020-12-14 15:47:53 +08:00
Zexi Li
4ef482dbc9 Merge pull request #9400 from rainzm/automated-cherry-pick-of-#9399-upstream-release-3.6
Automated cherry pick of #9399: fix(notify): avoid deadlock
2020-12-14 15:45:34 +08:00
wanyaoqi
027a9439cd fix(region,glance): list by os arch adapt to empty strings 2020-12-14 15:15:26 +08:00
rainzm
b1abb353a9 fix(notify): avoid deadlock 2020-12-14 15:05:46 +08:00
Zexi Li
01124b3128 fix(scheduler): get candidates error more info 2020-12-14 14:40:44 +08:00
rainzm
ae94914a7e feat(region): add test for CloudaccountManger.PerformPrepareNets 2020-12-14 14:17:58 +08:00
rainzm
cc26752697 feat(region): larger suggest network and more complete vlanid
1. 抓取标准 PortGroup 的 vlanid,以前只有分布式 PortGroup 的 vlanid
2. 提供的建议网络会尽可能的大
2020-12-14 14:17:58 +08:00
Zexi Li
d1a4a52915 Merge pull request #9389 from tb365/automated-cherry-pick-of-#9386-upstream-release-3.6
Automated cherry pick of #9386: feat(region): support sync skus by cloudregion
2020-12-13 13:51:46 +08:00
Zexi Li
7837a760b5 Merge pull request #9379 from ioito/automated-cherry-pick-of-#9351-upstream-release-3.6
Automated cherry pick of #9351: feat(cloudid): support aliyun saml auth
2020-12-13 12:13:53 +08:00
Zexi Li
08b436e90d Merge pull request #9385 from ioito/automated-cherry-pick-of-#9384-upstream-release-3.6
Automated cherry pick of #9384: fix(region): optimized server stop code
2020-12-13 12:12:28 +08:00
Zexi Li
5ca9493a55 Merge pull request #9391 from swordqiu/automated-cherry-pick-of-#9390-upstream-release-3.6
Automated cherry pick of #9390: fix(region): network reserved ip count not consider expiration of reserved ips
2020-12-13 12:09:22 +08:00
Qiu Jian
d8684ea5a0 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:42:05 +08:00
TangBin
d86f9a2009 feat(region): support sync skus by cloudregion 2020-12-12 19:11:21 +08:00
Qu Xuan
0a8348a364 fix(region): optimized server stop code 2020-12-12 18:54:27 +08:00
Zexi Li
9b5f8ae892 Merge pull request #9378 from tb365/automated-cherry-pick-of-#9359-upstream-release-3.6
Automated cherry pick of #9359: Bugfix/tb bugfix cmb 1210
2020-12-12 18:29:02 +08:00
Qu Xuan
592ae29d7e feat(cloudid): support aliyun saml auth 2020-12-12 18:06:54 +08:00
TangBin
86838db6d3 feat(region): support sync skus by cloudregion 2020-12-12 17:48:04 +08:00
TangBin
f20ca8b9c9 fix(region): server login info& keypair import input parameter trimspace 2020-12-12 17:48:04 +08:00
Zexi Li
474831d983 Merge pull request #9314 from zhaoxiangchun/automated-cherry-pick-of-#9313-upstream-release-3.6
Automated cherry pick of #9313: feat(monitor): add metric description
2020-12-12 00:17:54 +08:00
Zexi Li
84c89654ef Merge pull request #9364 from swordqiu/automated-cherry-pick-of-#9361-upstream-release-3.6
Automated cherry pick of #9361: fix(keystone): allow unlink a domain from an IDP
2020-12-12 00:16:36 +08:00
Zexi Li
d6735144c6 Merge pull request #9363 from swordqiu/automated-cherry-pick-of-#9362-upstream-release-3.6
Automated cherry pick of #9362: fix(util): update vendor for log
2020-12-12 00:15:02 +08:00
Zexi Li
6aeb3a77cb Merge pull request #9367 from swordqiu/automated-cherry-pick-of-#9366-upstream-release-3.6
Automated cherry pick of #9366: fix(keystone): ignore service config update without changes
2020-12-12 00:13:46 +08:00
Qiu Jian
e817076c6c 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:21:51 +08:00
Qiu Jian
253fba47f5 fix(keystone): allow unlink a domain from an IDP
allow unlink a domain from an IDP
2020-12-11 21:50:53 +08:00
Qiu Jian
b4d5400e65 update vendor 2020-12-11 20:50:50 +08:00
zhaoxiangchun
09660da0a9 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:17:13 +08:00
Zexi Li
6748a36e0c Merge pull request #9357 from ioito/automated-cherry-pick-of-#9356-upstream-release-3.6
Automated cherry pick of #9356: fix(region): sku enabled
2020-12-11 19:37:15 +08:00
Zexi Li
6c57580a8e Merge pull request #9297 from swordqiu/automated-cherry-pick-of-#9160-upstream-release-3.6
Automated cherry pick of #9160: feature(cloudcommon): split opslog table
2020-12-11 19:31:12 +08:00
Qu Xuan
92fee001e8 fix(region): sku enabled 2020-12-11 17:08:50 +08:00
yunion-ci-robot
ce247ab817 Merge pull request #9336 from zexi/automated-cherry-pick-of-#9335-upstream-release-3.6
Automated cherry pick of #9335: Hotfix/baremetal convert host
2020-12-11 13:32:15 +08:00
Zexi Li
8e964f3c3c Merge pull request #9343 from ioito/automated-cherry-pick-of-#9339-upstream-release-3.6
Automated cherry pick of #9339: fix(region,yunionapi,glance): using global proxy
2020-12-11 11:40:48 +08:00
Zexi Li
1f23060475 Merge pull request #9353 from zexi/automated-cherry-pick-of-#9352-upstream-release-3.6
Automated cherry pick of #9352: Bugfix/scheduler SKU net
2020-12-11 09:18:22 +08:00
Zexi Li
24fdb6e84e fix(scheduler): sku by region and fill onecloud vpc networks 2020-12-10 21:13:51 +08:00
Zexi Li
d06c049cd9 Merge pull request #9332 from ioito/automated-cherry-pick-of-#9331-upstream-release-3.6
Automated cherry pick of #9331: fix(region): openstack hosts sync
2020-12-10 20:40:07 +08:00
Zexi Li
1f5916fd7f Merge pull request #9348 from swordqiu/automated-cherry-pick-of-#9347-upstream-release-3.6
Automated cherry pick of #9347: fix(cloudcommon): perform public should check the sharing scope of
2020-12-10 20:38:02 +08:00
Zexi Li
8114d1a292 Merge pull request #9341 from ioito/automated-cherry-pick-of-#9340-upstream-release-3.6
Automated cherry pick of #9340: fix(region): import rule error hint
2020-12-10 20:33:28 +08:00
Zexi Li
ff1b6a1de0 Merge pull request #9346 from wanyaoqi/automated-cherry-pick-of-#9345-upstream-release-3.6
Automated cherry pick of #9345: fix(region): gpu server change config use reserved resources
2020-12-10 20:32:31 +08:00
Qiu Jian
de47e4a69b fix(cloudcommon): perform public should check the sharing scope of resource
perform public should check the sharing scope of resource
2020-12-10 19:15:24 +08:00
wanyaoqi
b07387b57a fix(region): gpu server change config use reserved resources 2020-12-10 18:40:59 +08:00
Qu Xuan
c1ecb63309 fix(region,yunionapi,glance): using global proxy 2020-12-10 18:33:40 +08:00
Qu Xuan
a8116b5252 fix(region): import rule error hint 2020-12-10 18:29:34 +08:00
Zexi Li
24a5cf7a7c Merge pull request #9330 from ioito/automated-cherry-pick-of-#9329-upstream-release-3.6
Automated cherry pick of #9329: fix(region): aws default account
2020-12-10 17:23:38 +08:00
Zexi Li
1e15c450c8 Merge pull request #9326 from rainzm/automated-cherry-pick-of-#9325-upstream-release-3.6
Automated cherry pick of #9325: Try to repull contacts when changing notify config
2020-12-10 17:22:17 +08:00
Zexi Li
1f63971f77 Merge pull request #9299 from ioito/automated-cherry-pick-of-#9298-upstream-release-3.6
Automated cherry pick of #9298: fix(region): support openstack subnet allocation pools
2020-12-10 17:17:53 +08:00
Zexi Li
504feb9504 Merge pull request #9321 from swordqiu/automated-cherry-pick-of-#9320-upstream-release-3.6
Automated cherry pick of #9320: fix(cloudcommon): disable quota check by default
2020-12-10 17:08:39 +08:00
Zexi Li
eb857594f2 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:42 +08:00
Qu Xuan
8692498cbd fix(region): openstack hosts sync 2020-12-10 16:55:41 +08:00
Qu Xuan
97eab67f0a fix(region): aws default account 2020-12-10 16:24:48 +08:00
rainzm
c5acc1b482 fix(notify): repull subcontact after changing config 2020-12-10 10:26:09 +08:00
rainzm
6591ccedc5 fix(notify): check for changes before updating config 2020-12-10 10:26:09 +08:00
rainzm
8d6defe227 refactor(notify): add StartSubcontactPullTask for receiver 2020-12-10 10:26:09 +08:00
Qiu Jian
6f7a3cf8a5 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:23:36 +08:00
Qiu Jian
93ceb707b7 update vendor 2020-12-09 23:05:49 +08:00
Qiu Jian
ec14f9a6bb feature(cloudcommon): split opslog table
automatically split opslog table, so as to delete obsolete event logs
2020-12-09 23:05:49 +08:00
Zexi Li
8570eec751 Merge pull request #9296 from swordqiu/automated-cherry-pick-of-#9295-upstream-release-3.6
Automated cherry pick of #9295: fix(cloudcommon): supplement i18n translations
2020-12-09 20:44:22 +08:00
Zexi Li
689b622066 Merge pull request #9293 from rainzm/automated-cherry-pick-of-#9292-upstream-release-3.6
Automated cherry pick of #9292: feat(notify): add intellij-get for receiver
2020-12-09 20:43:26 +08:00
Zexi Li
c901acb721 Merge pull request #9236 from wanyaoqi/automated-cherry-pick-of-#8848-upstream-release-3.6
Automated cherry pick of #8848: host-deployer: add deploy driver libguestfs
2020-12-09 20:41:37 +08:00
Zexi Li
81ca10b5f7 Merge pull request #9260 from wanyaoqi/automated-cherry-pick-of-#9259-upstream-release-3.6
Automated cherry pick of #9259: fix(region): attach network on register baremetal server
2020-12-09 20:40:06 +08:00
Zexi Li
5a0432fbc9 Merge pull request #9303 from ioito/automated-cherry-pick-of-#9302-upstream-release-3.6
Automated cherry pick of #9302: fix(region): optimized qcloud prepaid instance delete
2020-12-09 20:37:31 +08:00
Zexi Li
d8d6ca8611 Merge pull request #9307 from ioito/automated-cherry-pick-of-#9305-upstream-release-3.6
Automated cherry pick of #9305: fix(region): optimized openstack change config
2020-12-09 20:36:33 +08:00
Zexi Li
27fb34c3d4 Merge pull request #9309 from yousong/automated-cherry-pick-of-#9308-upstream-release-3.6
Automated cherry pick of #9308: Bugfix/yousong eip chargetype
2020-12-09 20:35:00 +08:00
Zexi Li
2ee09e4581 Merge pull request #9316 from wanyaoqi/automated-cherry-pick-of-#9315-upstream-release-3.6
Automated cherry pick of #9315: fix(host): check lease living on restart etcd session
2020-12-09 20:33:35 +08:00
rainzm
e17768fbc2 feat(notify): user cmdline helpler for climc notify-receiver-xxx 2020-12-09 17:03:36 +08:00
rainzm
75b0889c30 feat(notify): add intellij-get for receiver 2020-12-09 17:03:36 +08:00
wanyaoqi
1611ddfcdf fix(host): check lease living on restart etcd session 2020-12-09 16:55:53 +08:00
Yousong Zhou
a28fa3cf40 refactor(apis): compute: remove EIP_CHARGE_TYPE_DEFAULT
The default is now cloud provider specific
2020-12-09 12:16:49 +08:00
Yousong Zhou
14d6c9d6ed fix(region): sanitize eip charge type on all callsites 2020-12-09 12:16:49 +08:00
Yousong Zhou
8d7d240b30 feat(region): regiondriver: add methods on eip charge type 2020-12-09 12:16:49 +08:00
Qu Xuan
0d32c5d8e2 fix(region): optimized openstack change config 2020-12-09 11:51:47 +08:00
Qu Xuan
b5b7e89c6a fix(region): optimized qcloud prepaid instance delete 2020-12-09 11:48:57 +08:00
Qu Xuan
edcff8045f fix(region): support openstack subnet allocation pools 2020-12-09 10:29:52 +08:00
Qiu Jian
83a5f95b0e fix(cloudcommon): supplement i18n translations 2020-12-09 00:57:03 +08:00
Zexi Li
5878ce8bf5 Merge pull request #9254 from ioito/automated-cherry-pick-of-#9253-upstream-release-3.6
Automated cherry pick of #9253: fix(region): temp url sign wrong
2020-12-08 21:39:45 +08:00
Zexi Li
b63a1a0811 Merge pull request #9264 from ioito/automated-cherry-pick-of-#9263-upstream-release-3.6
Automated cherry pick of #9263: fix(region): azure instance data disk storage type
2020-12-08 21:38:49 +08:00
Zexi Li
f99acd1aeb Merge pull request #9276 from ioito/automated-cherry-pick-of-#9266-upstream-release-3.6
Automated cherry pick of #9266: fix(region): openstack available zones
2020-12-08 21:37:30 +08:00
Zexi Li
6cb5b3314d Merge pull request #9278 from wanyaoqi/automated-cherry-pick-of-#9277-upstream-release-3.6
Automated cherry pick of #9277: fix(region): validate isolated devices on migrate
2020-12-08 21:35:59 +08:00
Zexi Li
bb3ed50e5d Merge pull request #9283 from ioito/automated-cherry-pick-of-#9282-upstream-release-3.6
Automated cherry pick of #9282: fix(region): restore password validate condition
2020-12-08 21:35:11 +08:00
Zexi Li
7120df1e22 Merge pull request #9286 from ioito/automated-cherry-pick-of-#9285-upstream-release-3.6
Automated cherry pick of #9285: fix(region): sync account id
2020-12-08 21:34:16 +08:00
Zexi Li
38d561dee8 Merge pull request #9291 from zhasm/automated-cherry-pick-of-#9288-upstream-release-3.6
Automated cherry pick of #9288: fix(git,make): 更新获取 git branch 的规则
2020-12-08 18:11:44 +08:00
Zhang Dongliang
e8376f9981 fix(git,make): 更新获取 git branch 的规则 2020-12-08 18:01:15 +08:00
Qu Xuan
e540e6561a fix(region): sync account id 2020-12-08 17:58:43 +08:00
wanyaoqi
cfa1a4ee4f 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:50:39 +08:00
Qu Xuan
acedb4a4f4 fix(region): restore password validate condition 2020-12-08 17:45:42 +08:00
yunion-ci-robot
3851497bad Merge pull request #9273 from wanyaoqi/automated-cherry-pick-of-#9272-upstream-release-3.6
Automated cherry pick of #9272: fix(host-deployer): cancel rename centos vgname
2020-12-08 17:07:39 +08:00
wanyaoqi
78e8d2f35e fix(region): validate isolated devices on migrate 2020-12-08 16:51:12 +08:00
Qu Xuan
7abd40c545 fix(region): openstack available zones 2020-12-08 16:47:17 +08:00
Zexi Li
1a2ed75cfa Merge pull request #9269 from zhasm/automated-cherry-pick-of-#9268-upstream-release-3.6
Automated cherry pick of #9268: fix(git,make): git branch 获取方式优化
2020-12-08 16:35:33 +08:00
wanyaoqi
41631ec09d fix(host-deployer): cancel rename centos vgname 2020-12-08 16:29:40 +08:00
wanyaoqi
dcd8936927 fix(region): attach network on register baremetal server 2020-12-08 16:08:19 +08:00
Zhang Dongliang
d7d4e6bf6e fix(git,make): git branch 获取方式优化 2020-12-08 15:51:43 +08:00
Qu Xuan
3633baaa2b fix(region): azure instance data disk storage type 2020-12-08 15:03:00 +08:00
Zexi Li
71c4b03644 Merge pull request #9258 from zhasm/automated-cherry-pick-of-#9230-upstream-release-3.6
Automated cherry pick of #9230: fix(git,make): 修正 gitbranch 变量的获取方式,解决自动升级版本 tag 不统一的问题
2020-12-08 12:51:01 +08:00
Zhang Dongliang
b0a95cbbe6 fix(git,make): 修正 gitbranch 变量的获取方式,允许外部传入,解决自动升级版本 tag 不统一的问题 2020-12-08 11:51:34 +08:00
Qu Xuan
c6a7a87014 fix(region): temp url sign wrong 2020-12-08 11:36:14 +08:00
Zexi Li
db0eda7986 Merge pull request #9148 from ioito/automated-cherry-pick-of-#9146-upstream-release-3.6
Automated cherry pick of #9146: fix(keystone): allow refresh scope resource
2020-12-08 09:40:20 +08:00
Zexi Li
9cac40775a Merge pull request #9247 from wanyaoqi/automated-cherry-pick-of-#9246-upstream-release-3.6
Automated cherry pick of #9246: fix(region): fix backup server start task
2020-12-08 09:35:26 +08:00
Zexi Li
3158a5c06b Merge pull request #9252 from swordqiu/automated-cherry-pick-of-#9251-upstream-release-3.6
Automated cherry pick of #9251: fix(keystone): rolepolicies list panic if filter by domain scope
2020-12-08 09:34:23 +08:00
Zexi Li
e8bdb396e9 Merge pull request #9249 from swordqiu/automated-cherry-pick-of-#9248-upstream-release-3.6
Automated cherry pick of #9248: fix(keystone): oidc driver turn on debug mode if log-level is debug
2020-12-08 09:29:00 +08:00
Qiu Jian
695075a853 fix(keystone): rolepolicies list panic if filter by domain scope
rolepolicies list panic if filter by scope=domain
2020-12-08 03:15:56 +08:00
Qiu Jian
e826239abf 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:55:36 +08:00
Zexi Li
690efe5ec1 Merge pull request #9244 from ioito/automated-cherry-pick-of-#9243-upstream-release-3.6
Automated cherry pick of #9243: fix(region): azure reset windows os password
2020-12-07 22:18:57 +08:00
wanyaoqi
735f10a508 fix(region): fix backup server start task 2020-12-07 21:08:03 +08:00
Zexi Li
0d537a1dbb Merge pull request #9241 from ioito/automated-cherry-pick-of-#9240-upstream-release-3.6
Automated cherry pick of #9240: fix(region): avoid timeout for waiting azure async task
2020-12-07 20:41:15 +08:00
Zexi Li
b3f4b135ec Merge pull request #9226 from tb365/automated-cherry-pick-of-#9224-upstream-release-3.6
Automated cherry pick of #9224: Bugfix/tb bugfix 1207
2020-12-07 20:37:52 +08:00
Qu Xuan
81b31b2fe1 fix(region): azure reset windows os password 2020-12-07 20:20:01 +08:00
Zexi Li
03c4a66beb Merge pull request #9221 from ioito/automated-cherry-pick-of-#9220-upstream-release-3.6
Automated cherry pick of #9220: fix(region): region qcloud secgroup project id
2020-12-07 20:18:18 +08:00
Zexi Li
923c03e530 Merge pull request #9228 from ioito/automated-cherry-pick-of-#9227-upstream-release-3.6
Automated cherry pick of #9227: fix(region): avoid resize azure disk error
2020-12-07 20:16:49 +08:00
Zexi Li
23faa02b07 Merge pull request #9232 from wanyaoqi/automated-cherry-pick-of-#9231-upstream-release-3.6
Automated cherry pick of #9231: fix(host): update telegraf conf adapter to container environment
2020-12-07 19:59:21 +08:00
Zexi Li
81d37b74dd Merge pull request #9238 from rainzm/automated-cherry-pick-of-#9237-upstream-release-3.6
Automated cherry pick of #9237: feat(notify): add webconsole in enabled contact types
2020-12-07 19:57:48 +08:00
Qu Xuan
f22fe4fe36 fix(region): avoid timeout for waiting azure async task 2020-12-07 19:50:41 +08:00
rainzm
bce332272c feat(notify): add webconsole in enabled contact types 2020-12-07 19:13:59 +08:00
TangBin
7b96d2593d fix(region): lbcert&lbacl releated listener count bugfix 2020-12-07 17:37:38 +08:00
TangBin
08dda723b4 fix(region): lb listener filter by acl_id 2020-12-07 17:37:38 +08:00
TangBin
76eb124896 fix(region): redis master zone empty fix 2020-12-07 17:37:38 +08:00
TangBin
8bdcc83a8f fix(region): elastic cache name is empty fix
#6527
2020-12-07 17:37:38 +08:00
wanyaoqi
cbc2859248 fix(host): update telegraf conf adapter to container environment 2020-12-07 17:14:36 +08:00
Qu Xuan
0bfa488acd fix(region): avoid resize azure disk error 2020-12-07 15:25:59 +08:00
Zexi Li
23c5ba2b68 Merge pull request #9208 from ioito/automated-cherry-pick-of-#9205-upstream-release-3.6
Automated cherry pick of #9205: fix(region): validate invalid character for password
2020-12-07 10:52:09 +08:00
Qu Xuan
3e7d3c829a fix(keystone): allow refresh scope resource 2020-12-07 10:48:06 +08:00
Qu Xuan
45a3ce82da fix(region): region qcloud secgroup project id 2020-12-07 10:27:36 +08:00
Zexi Li
ca8e69c981 Merge pull request #9203 from tb365/automated-cherry-pick-of-#9202-upstream-release-3.6
Automated cherry pick of #9202: Bugfix/tb bugfix 1204
2020-12-07 10:23:59 +08:00
Qu Xuan
35544a7c2f fix(region): validate invalid character for password 2020-12-07 10:07:58 +08:00
TangBin
133ba01e94 fix(region): change dbinstance sku sync info log to warn 2020-12-07 10:01:08 +08:00
TangBin
7be898fbca fix(region): dbinstance skus sync log level fix 2020-12-07 10:01:08 +08:00
TangBin
d39b3e820a fix(region): server skus add cloud_env 2020-12-07 10:01:08 +08:00
Zexi Li
43522bbe97 Merge pull request #9218 from ioito/automated-cherry-pick-of-#9217-upstream-release-3.6
Automated cherry pick of #9217: fix(region): optimized qcloud secgroup sync, only redis need secgroup be in same project
2020-12-04 20:31:33 +08:00
Zexi Li
e33c96c2f7 Merge pull request #9216 from zhaoxiangchun/automated-cherry-pick-of-#9215-upstream-release-3.6
Automated cherry pick of #9215: chore(monitor): delete suggestion files
2020-12-04 20:27:26 +08:00
Qu Xuan
a84ed01f2f fix(region): optimized qcloud secgroup sync, only redis need secgroup be in same project 2020-12-04 19:43:45 +08:00
zhaoxiangchun
83e899d9a9 chore(monitor): delete suggestion files
1. 移除优化建议相关内容
2. mcclient中新增baseManager:SuggestionManager,修改优化建议相关的manager
2020-12-04 19:28:45 +08:00
Zexi Li
c2b0c57454 Merge pull request #9214 from zexi/automated-cherry-pick-of-#9213-upstream-release-3.6
Automated cherry pick of #9213: refactor(scheduler): remove unused k8s predicates code
2020-12-04 18:01:36 +08:00
Zexi Li
89f110f635 Merge pull request #9211 from ioito/automated-cherry-pick-of-#9210-upstream-release-3.6
Automated cherry pick of #9210: fix(region): azure metric request path
2020-12-04 18:00:53 +08:00
Zexi Li
2a2867daac refactor(scheduler): remove unused k8s predicates code 2020-12-04 17:25:12 +08:00
Qu Xuan
a79a61c417 fix(region): azure metric request path 2020-12-04 17:14:18 +08:00
Zexi Li
8c78bf5ca0 Merge pull request #9207 from zexi/automated-cherry-pick-of-#9204-upstream-release-3.6
Automated cherry pick of #9204: Hotfix/remove kubernetes depend
2020-12-04 17:02:53 +08:00
Zexi Li
8675c7b4f0 Merge pull request #9200 from lvyangyang/automated-cherry-pick-of-#9196-upstream-release-3.6
Automated cherry pick of #9196: feat(region): add bucket cloud tags support
2020-12-04 16:57:53 +08:00
Zexi Li
734be7c147 fix(go.mod): remove k8s.io/kubernetes dependency 2020-12-04 16:50:01 +08:00
Zexi Li
aab59e899b Merge pull request #9067 from rainzm/automated-cherry-pick-of-#9066-upstream-release-3.6
Automated cherry pick of #9066: feat(region): add wire level for preparing network
2020-12-04 14:53:10 +08:00
lvyangyang
66412faf96 feat(region): add bucket cloud tags support 2020-12-04 14:38:38 +08:00
lvyangyang
de67ee5a26 fix(region): fix modify tags log 2020-12-04 14:38:38 +08:00
rainzm
67788b1790 feat(climc): add cloud-account-preparenets-vmware command 2020-12-04 14:32:19 +08:00
rainzm
aad9aba489 feat(region): allow prepare nets for existed cloudaccounts
纳管云账号 -> 合并网段 -> 为vmware集群添加新的宿主机 ->
如何获取网络信息?

如果重新纳管,那么合并网段的工作又得做一次,很不方便。
最好的方法是,preparenets 接口支持已经存在的 cloudaccount,这样
就可以根据推荐的网络手动设置新设备的网络。
2020-12-04 14:32:19 +08:00
rainzm
5a186dbb3c 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:32:19 +08:00
Zexi Li
64b9355954 Merge pull request #9190 from rainzm/automated-cherry-pick-of-#9189-upstream-release-3.6
Automated cherry pick of #9189: fix(region): remove default value of diskConfig.Medium
2020-12-04 10:41:27 +08:00
Zexi Li
ef8de3f8ac Merge pull request #9173 from ioito/automated-cherry-pick-of-#9134-upstream-release-3.6
Automated cherry pick of #9134: fix(region): azure win os defualt user
2020-12-04 10:24:31 +08:00
Zexi Li
a3b8f9e1c4 Merge pull request #9145 from yousong/automated-cherry-pick-of-#9144-upstream-release-3.6
Automated cherry pick of #9144: Feature/yousong vpc md
2020-12-04 10:23:34 +08:00
Zexi Li
e93a047b43 Merge pull request #9185 from rainzm/automated-cherry-pick-of-#9183-upstream-release-3.6
Automated cherry pick of #9183: fix(region): inspect invalid guest template
2020-12-04 10:21:09 +08:00
Zexi Li
ca2bfb6f16 Merge pull request #9182 from tb365/automated-cherry-pick-of-#9180-upstream-release-3.6
Automated cherry pick of #9180: Bugfix/tb bugfix 1203
2020-12-04 10:18:48 +08:00
Zexi Li
477edc200b Merge pull request #9193 from swordqiu/automated-cherry-pick-of-#9192-upstream-release-3.6
Automated cherry pick of #9192: fix(apigateway): allow logout by get method
2020-12-04 10:16:33 +08:00
Zexi Li
e1c61f0aae Merge pull request #9187 from zexi/automated-cherry-pick-of-#9184-upstream-release-3.6
Automated cherry pick of #9184: Hotfix/scheduler tag nil
2020-12-04 10:15:37 +08:00
rainzm
216e11f291 fix(region): remove default value of diskConfig.Medium
#8830 中,对调度器增加了通过请求磁盘的介质类型过滤存储的功能。

如果使用 climc 创建虚拟机且不要求磁盘有固定的介质类型,将
只能分配到 hybrid 的存储;进一步,如果没有 hybrid 的存储,将会调度失败。
2020-12-04 09:59:07 +08:00
Qiu Jian
ff24d4a3e3 fix(apigateway): allow logout by get method
All visit logout URL by GET method
2020-12-04 01:13:08 +08:00
Zexi Li
66eee7f72f fix(scheduler): check candidate tag resource is nil 2020-12-03 20:43:50 +08:00
rainzm
5602db8f5e 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:42:39 +08:00
TangBin
8db56d90f3 fix(region): huawei vnc protocal fix 2020-12-03 20:01:25 +08:00
TangBin
6e0acab93b feat(webconsole): add huawei vnc support 2020-12-03 20:01:25 +08:00
TangBin
69fa370b04 fix(region): elb cached acl sync 2020-12-03 20:01:25 +08:00
Zexi Li
a24d3c478b Merge pull request #9178 from zexi/automated-cherry-pick-of-#9176-upstream-release-3.6
Automated cherry pick of #9176: fix(scheduler): select resource unordered
2020-12-03 19:55:31 +08:00
Zexi Li
4a0aadae45 Merge pull request #9170 from lvyangyang/automated-cherry-pick-of-#9147-upstream-release-3.6
Automated cherry pick of #9147: feat(region): 多云 bucket  website.cors,referer 配置
2020-12-03 19:00:19 +08:00
Zexi Li
5b170650f8 fix(scheduler): select resource unordered 2020-12-03 18:43:16 +08:00
Qu Xuan
a823273884 fix(region): azure win os defualt user 2020-12-03 16:31:43 +08:00
lvyangyang
c9185a43c7 feat(region): 多云 bucket website.cors,referer 配置 2020-12-03 15:22:58 +08:00
Zexi Li
edd10faaf8 Merge pull request #9136 from ioito/automated-cherry-pick-of-#9135-upstream-release-3.6
Automated cherry pick of #9135: feat(cloudid): notify clouduser created
2020-12-03 15:17:11 +08:00
Zexi Li
ced5217f55 Merge pull request #9162 from ioito/automated-cherry-pick-of-#9161-upstream-release-3.6
Automated cherry pick of #9161: feat(region): huawei recovery new rds
2020-12-03 14:44:18 +08:00
Zexi Li
f23fa030ed Merge pull request #9164 from wanyaoqi/automated-cherry-pick-of-#9163-upstream-release-3.6
Automated cherry pick of #9163: bugfix(region): fix list by srever type normal
2020-12-03 14:43:15 +08:00
Zexi Li
ac64afa6b3 Merge pull request #9139 from zhaoxiangchun/automated-cherry-pick-of-#9138-upstream-release-3.6
Automated cherry pick of #9138: fix(monitor): modify influxdbSuggestDriver query err
2020-12-03 14:42:12 +08:00
zhaoxiangchun
96d0f0e63c fix(monitor): modify influxdbSuggestDriver query err
1.修复influxdb相关的建议规则查询数据失败的问题
2020-12-03 13:01:13 +08:00
wanyaoqi
3756993c98 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:06:30 +08:00
Qu Xuan
551aa2f91f feat(region): huawei recovery new rds 2020-12-03 10:51:52 +08:00
Zexi Li
fb2a68bdb1 Merge pull request #9155 from wanyaoqi/automated-cherry-pick-of-#9154-upstream-release-3.6
Automated cherry pick of #9154: feat(region): add list filter server type
2020-12-03 09:33:24 +08:00
Zexi Li
311bc0f4d6 Merge pull request #9151 from ioito/automated-cherry-pick-of-#9150-upstream-release-3.6
Automated cherry pick of #9150: fix(region): avoid qcloud sync local disk error
2020-12-02 21:05:14 +08:00
wanyaoqi
6c4ba17371 feat(region): add list filter server type
list server by specific server type: normal, gpu, backup

cherrypick: release/3.4
2020-12-02 20:30:41 +08:00
Qu Xuan
0c7adedaad fix(region): avoid qcloud sync local disk error 2020-12-02 20:27:07 +08:00
Yousong Zhou
7d0828410a feat(appsrv): Application: add Stop method for shutdown behaviour 2020-12-02 18:04:58 +08:00
Yousong Zhou
6a2136f6c2 refactor(hostman): metadata: eliminate import of guestman 2020-12-02 18:04:58 +08:00
Yousong Zhou
de7eb162fc refactor(hostman): use metadata.DescGetterFunc 2020-12-02 18:04:58 +08:00
Yousong Zhou
0f1fc0fa58 refactor(host): metadata: eliminate ref of guestNic 2020-12-02 18:04:58 +08:00
Yousong Zhou
8f1f1f55c6 feat(host): metadata: make vpc aware metadata handler 2020-12-02 18:04:58 +08:00
Yousong Zhou
9288c2fd81 feat(vpcagent): export subnet mac gen funcs 2020-12-02 18:04:58 +08:00
Zexi Li
45dbd119a4 Merge pull request #9141 from swordqiu/automated-cherry-pick-of-#9140-upstream-release-3.6
Automated cherry pick of #9140: fix(keystone): not allow to disable sql driver
2020-12-02 17:08:37 +08:00
Qiu Jian
695aa81f70 fix(keystone): not allow to disable sql driver
not allow to disable default SQL identity_provider driver
2020-12-02 16:40:21 +08:00
Zexi Li
d8d4cbbdc7 Merge pull request #9062 from zhaoxiangchun/automated-cherry-pick-of-#9061-upstream-release-3.6
Automated cherry pick of #9061: fix(monitor): delete suggestConfig auto init data
2020-12-02 14:52:03 +08:00
Qu Xuan
618d07f456 feat(cloudid): notify clouduser created 2020-12-02 14:46:23 +08:00
zhaoxiangchun
815e16eca0 fix(monitor): delete suggestConfig auto init data
1.删除忽略列表之前逻辑初始化生成的配置config
2.忽略列表默认查询ignore=true的数据
3.修复建议列表 忽略一类建议不生效的问题
2020-12-02 11:19:19 +08:00
Zexi Li
266aa51044 Merge pull request #9132 from ioito/automated-cherry-pick-of-#9131-upstream-release-3.6
Automated cherry pick of #9131: fix(cloudid): sync qcloud collaborators user
2020-12-01 21:08:00 +08:00
Zexi Li
58da48eb52 Merge pull request #9092 from tb365/automated-cherry-pick-of-#9091-upstream-release-3.6
Automated cherry pick of #9091: fix(region): reserved name checking while create redis account
2020-12-01 21:06:10 +08:00
Zexi Li
afa183c026 Merge pull request #9124 from ioito/automated-cherry-pick-of-#9123-upstream-release-3.6
Automated cherry pick of #9123: fix(region): allow delete resource which status is unknown
2020-12-01 21:04:56 +08:00
Zexi Li
c8ddc63b39 Merge pull request #9105 from rainzm/automated-cherry-pick-of-#9104-upstream-release-3.6
Automated cherry pick of #9104: fix(notify): return the result of the second attempt to execute the rpc call
2020-12-01 21:03:16 +08:00
Qu Xuan
82dc179074 fix(cloudid): sync qcloud collaborators user 2020-12-01 20:36:20 +08:00
Zexi Li
c2201a031f Merge pull request #9110 from yousong/automated-cherry-pick-of-#9109-upstream-release-3.6
Automated cherry pick of #9109: fix(host): make sure it won't match vpc guests by accident
2020-12-01 20:13:32 +08:00
Zexi Li
0785c58286 Merge pull request #9121 from ioito/automated-cherry-pick-of-#9120-upstream-release-3.6
Automated cherry pick of #9120: fix(region): allow update rds account and database desc
2020-12-01 19:33:04 +08:00
Zexi Li
1cd298ba6a Merge pull request #9117 from rainzm/automated-cherry-pick-of-#9116-upstream-release-3.6
Automated cherry pick of #9116: fix(region): delete guest without 'purge' in GuestDetachScalingGroupTask
2020-12-01 19:32:04 +08:00
rainzm
b1ef8865b8 fix(notify): return the result of the second attempt to execute the rpc call 2020-12-01 18:23:22 +08:00
Qu Xuan
f35be97569 fix(region): allow delete resource which status is unknown 2020-12-01 17:17:12 +08:00
Qu Xuan
e483d1901e fix(region): allow update rds account and database desc 2020-12-01 16:38:59 +08:00
rainzm
0edec40b22 fix(region): delete guest without 'purge' in GuestDetachScalingGroupTask 2020-12-01 16:02:16 +08:00
Yousong Zhou
428e3ab1f5 fix(host): make sure it won't match vpc guests by accident 2020-12-01 15:32:53 +08:00
yunion-ci-robot
9013ab785a Merge pull request #9101 from yousong/automated-cherry-pick-of-#9100-upstream-release-3.6
Automated cherry pick of #9100: Bugfix/yousong qcloud nic
2020-12-01 12:57:57 +08:00
Zexi Li
fb94e7fd28 Merge pull request #9103 from ioito/automated-cherry-pick-of-#9102-upstream-release-3.6
Automated cherry pick of #9102: fix(region): code gen api error
2020-12-01 11:59:41 +08:00
Qu Xuan
b6ace002d7 fix(region): code gen api error 2020-12-01 11:27:00 +08:00
Yousong Zhou
e8ef92ad23 multicloud: qcloud: fix instancenic 2020-12-01 11:17:13 +08:00
Yousong Zhou
5f1fd6c7f9 multicloud: qcloud: add ptr deref func 2020-12-01 11:17:13 +08:00
Yousong Zhou
0e0f8bfa94 multicloud: qcloud: add apiDomainByRegion 2020-12-01 11:17:13 +08:00
Yousong Zhou
1ab4d40497 multicloud: qcloud: add getVpcClient 2020-12-01 11:17:13 +08:00
Yousong Zhou
9dcd0d2db1 multicloud: qcloud: add getSdkClient 2020-12-01 11:17:13 +08:00
Yousong Zhou
4a45ca59df vendor: add tencentcloud-sdk-go vpc 2020-12-01 11:17:13 +08:00
Zexi Li
fef43d3567 Merge pull request #9097 from yousong/automated-cherry-pick-of-#9096-upstream-release-3.6
Automated cherry pick of #9096: Bugfix/yousong informer
2020-12-01 09:34:02 +08:00
Yousong Zhou
a51a0845b4 fix(taskman): SSubTask: set model manager 2020-11-30 23:12:25 +08:00
Yousong Zhou
73f434e034 fix(region): secgrouprule: set model manager 2020-11-30 23:12:25 +08:00
Zexi Li
a4575fa51d Merge pull request #9073 from ioito/automated-cherry-pick-of-#9072-upstream-release-3.6
Automated cherry pick of #9072: fix(cloudid): huawei saml provider create issue
2020-11-30 21:56:22 +08:00
Zexi Li
3fa0f9d37c Merge pull request #9016 from tb365/automated-cherry-pick-of-#9015-upstream-release-3.6
Automated cherry pick of #9015: fix(region): huawei sync storages bugfix
2020-11-30 21:54:53 +08:00
Zexi Li
2a1d1a1cbc Merge pull request #9065 from ioito/automated-cherry-pick-of-#9064-upstream-release-3.6
Automated cherry pick of #9064: fix(region): apsara is private cloud
2020-11-30 21:53:25 +08:00
Zexi Li
f9080330e1 Merge pull request #9085 from yousong/automated-cherry-pick-of-#9084-upstream-release-3.6
Automated cherry pick of #9084: feat(region): networkaddresses: filter by guest ids
2020-11-30 21:52:45 +08:00
Zexi Li
7230c65f8d Merge pull request #9077 from rainzm/automated-cherry-pick-of-#9076-upstream-release-3.6
Automated cherry pick of #9076: Notify via contact skip receiver
2020-11-30 21:50:18 +08:00
Zexi Li
3226f99a33 Merge pull request #9080 from yousong/automated-cherry-pick-of-#9079-upstream-release-3.6
Automated cherry pick of #9079: feat(region): options: allow setting default vpc external access mode
2020-11-30 21:49:31 +08:00
Zexi Li
e62d3fb0be Merge pull request #9088 from rainzm/automated-cherry-pick-of-#9086-upstream-release-3.6
Automated cherry pick of #9086: fix(region): sort excludedNets correctly
2020-11-30 21:47:35 +08:00
yunion-ci-robot
0900860ca0 Merge pull request #9094 from ioito/automated-cherry-pick-of-#9075-upstream-release-3.6
Automated cherry pick of #9075: fix(region): optimized rds backup create
2020-11-30 21:30:08 +08:00
Qu Xuan
2a6421258a fix(region): optimized rds backup create 2020-11-30 20:00:24 +08:00
rainzm
474bd1440f feat(cloudcommon): add NotifyWithContact 2020-11-30 19:59:38 +08:00
rainzm
cff5b8b656 feat(cloudcommon): allways send webconsole notification via contacts
For notification with webconsole type, receiverId is same with contacts.
2020-11-30 19:59:38 +08:00
rainzm
cb663f460f feat(notify): permit admin sending notification via contact
In this way, you can easily send notification to non-existent receiver.
2020-11-30 19:59:38 +08:00
TangBin
a924c9552b fix(region): reserved name checking while create redis account 2020-11-30 19:17:15 +08:00
rainzm
c1d95bc313 fix(region): sort excludedNets correctly
之前,excludedNets 内部表示起始 IP 的字段是 string 类型,直接使用 <
比较是错误的。
现在,把 excludedNets 表示起始 IP 的字段改为了
netutils.IPV4Addr,这样就可以正确地进行比较排序了。
2020-11-30 19:05:19 +08:00
Yousong Zhou
b46d50ae3a feat(region): networkaddresses: filter by guest ids 2020-11-30 19:02:55 +08:00
Yousong Zhou
05c95295b3 feat(region): options: allow setting default vpc external access mode 2020-11-30 18:29:55 +08:00
Yousong Zhou
d2e304bae0 fix(region): pass up error from InitializeData 2020-11-30 18:29:55 +08:00
Qu Xuan
b460a73b0d fix(cloudid): huawei saml provider create issue 2020-11-30 16:31:09 +08:00
Zexi Li
c8d4a33f45 Merge pull request #8996 from ioito/automated-cherry-pick-of-#8995-upstream-release-3.6
Automated cherry pick of #8995: fix(cloudid): avoid new public account sync system policy delay 1 day
2020-11-30 14:13:42 +08:00
Qu Xuan
21d9edcfa6 fix(region): apsara is private cloud 2020-11-30 10:40:52 +08:00
Zexi Li
e2833b0760 Merge pull request #9059 from ioito/automated-cherry-pick-of-#8434-upstream-release-3.6
Automated cherry pick of #8434: fix: add panic log for worker task
2020-11-27 20:41:33 +08:00
Zexi Li
012b0f2c6a Merge pull request #8969 from yousong/automated-cherry-pick-of-#8575-upstream-release-3.6
Automated cherry pick of #8575: vendor: bump yunion.io/x/sqlchemy
2020-11-27 20:18:33 +08:00
Qu Xuan
f05fc18941 fix(cloudid): avoid new public account sync system policy delay 1 day 2020-11-27 20:17:42 +08:00
Zexi Li
74ca7830aa Merge pull request #9029 from ioito/automated-cherry-pick-of-#9021-upstream-release-3.6
Automated cherry pick of #9021: fix(region): auto sync cloudaccount resources
2020-11-27 20:13:55 +08:00
Zexi Li
bd101e19eb Merge pull request #9037 from yousong/automated-cherry-pick-of-#9036-upstream-release-3.6
Automated cherry pick of #9036: feat(region): search server by substr of ip or mac
2020-11-27 20:09:08 +08:00
Zexi Li
1d7e1938e6 Merge pull request #9055 from zhaoxiangchun/automated-cherry-pick-of-#9054-upstream-release-3.6
Automated cherry pick of #9054: fix(monitor): modify monitor nodata alert matching onecloud host func
2020-11-27 20:07:27 +08:00
Qu Xuan
e97cd02b5b fix: add panic log for worker task 2020-11-27 20:05:07 +08:00
Zexi Li
727c526d3d Merge pull request #9058 from lvyangyang/automated-cherry-pick-of-#9056-upstream-release-3.6
Automated cherry pick of #9056: fix(region): bucket get referer fix
2020-11-27 20:04:03 +08:00
lvyangyang
0174e686df fix(region): bucket get referer fix 2020-11-27 19:44:13 +08:00
zhaoxiangchun
2564f3c060 fix(monitor): modify monitor nodata alert matching onecloud host func 2020-11-27 19:07:12 +08:00
Zexi Li
b5dd92f042 Merge pull request #9050 from wanyaoqi/automated-cherry-pick-of-#9049-upstream-release-3.6
Automated cherry pick of #9049: fix(region,scheduler): fix netwrok predicate
2020-11-27 18:43:37 +08:00
wanyaoqi
c8ca855cbc 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:17:15 +08:00
yunion-ci-robot
1e59cd4b84 Merge pull request #9047 from rainzm/automated-cherry-pick-of-#9046-upstream-release-3.6
Automated cherry pick of #9046: fix(region): get provider name via GetProviderName
2020-11-27 18:05:54 +08:00
rainzm
843534c298 fix(region): get provider name via GetProviderName 2020-11-27 17:34:47 +08:00
rainzm
1c475b0912 fix(region): get provider name via GetProviderName 2020-11-27 17:34:47 +08:00
Zexi Li
4ab73f0b1c Merge pull request #9035 from lvyangyang/automated-cherry-pick-of-#9033-upstream-release-3.6
Automated cherry pick of #9033: fix(region): fix set bucket referer
2020-11-27 16:29:56 +08:00
Yousong Zhou
ca21bcf564 feat(region): search server by substr of ip or mac 2020-11-27 15:16:08 +08:00
lvyangyang
9872a05be9 feat(region): set qcloud bucket policy 2020-11-27 14:50:17 +08:00
lvyangyang
6f3cabda6e fix(region): fix set bucket referer 2020-11-27 14:50:17 +08:00
yunion-ci-robot
23c4abedbb Merge pull request #9025 from ioito/automated-cherry-pick-of-#9024-upstream-release-3.6
Automated cherry pick of #9024: fix(cloudid): avoid use invalid character for role name
2020-11-27 09:51:35 +08:00
Qu Xuan
e056bb1028 fix(region): auto sync cloudaccount resources 2020-11-27 09:38:25 +08:00
yunion-ci-robot
5de39adaf7 Merge pull request #9023 from swordqiu/automated-cherry-pick-of-#9022-upstream-release-3.6
Automated cherry pick of #9022: fix(cloudcommon): adjust policy refresh to default 30 seconds
2020-11-26 21:58:32 +08:00
Zexi Li
3bfc6d928a Merge pull request #8999 from ioito/automated-cherry-pick-of-#8998-upstream-release-3.6
Automated cherry pick of #8998: fix(region): allow member user get saml auth addr
2020-11-26 21:39:43 +08:00
Qu Xuan
fd948b8cc5 fix(cloudid): avoid use invalid character for role name 2020-11-26 21:38:50 +08:00
Zexi Li
c64d98f769 Merge pull request #9019 from ioito/automated-cherry-pick-of-#9018-upstream-release-3.6
Automated cherry pick of #9018: fix(cloudid): auto update saml provider metadata
2020-11-26 21:38:21 +08:00
Zexi Li
22e2c2e3ef Merge pull request #9003 from ioito/automated-cherry-pick-of-#9002-upstream-release-3.6
Automated cherry pick of #9002: fix(region): avolid aliyun fin bucket list objects error
2020-11-26 21:36:38 +08:00
Qiu Jian
b9d30c08a2 fix(cloudcommon): adjust policy refresh to default 30 seconds
Cache policy check result for 30 seconds by default
2020-11-26 21:33:15 +08:00
Zexi Li
7a2c8722d5 Merge pull request #9013 from ioito/automated-cherry-pick-of-#9012-upstream-release-3.6
Automated cherry pick of #9012: fix(region): qcloud request retry
2020-11-26 21:31:51 +08:00
Zexi Li
de624a5af9 Merge pull request #9006 from yousong/automated-cherry-pick-of-#9005-upstream-release-3.6
Automated cherry pick of #9005: Feature/yousong ovn encap ip
2020-11-26 21:29:50 +08:00
Zexi Li
fefbd436e0 Merge pull request #9010 from ioito/automated-cherry-pick-of-#9009-upstream-release-3.6
Automated cherry pick of #9009: fix(climc): replace ' -> "
2020-11-26 21:26:59 +08:00
Yousong Zhou
c3b4edae1b vpcagent: ovn: make aware of sub ips 2020-11-26 21:20:01 +08:00
Yousong Zhou
314f9fcc0f vpcagent: models: join network addresses 2020-11-26 21:20:01 +08:00
Yousong Zhou
f699f7cb55 vpcagent: apihelper: filter by cloud_env=onpremise 2020-11-26 21:20:01 +08:00
Yousong Zhou
a3d6a039ac multicloud: aliyun: instancenic: handle InvalidOperation.Ipv4CountExceeded 2020-11-26 21:20:01 +08:00
Yousong Zhou
eec81e73e7 networkaddresses: handle cloudprovider.ErrAddressCountExceed 2020-11-26 21:20:01 +08:00
Yousong Zhou
444e666472 cloudprovider: add ErrAddressCountExceed 2020-11-26 21:20:01 +08:00
Yousong Zhou
159453eceb networkaddresses: do server sync for on premise servers 2020-11-26 21:20:01 +08:00
Yousong Zhou
05984b49a7 networkaddresses: disallow batch create for external resources 2020-11-26 21:20:01 +08:00
Yousong Zhou
7343be04b1 networkaddresses: cloudprovider support 2020-11-26 21:20:01 +08:00
Yousong Zhou
1b6275f803 multicloud: aws: subaddress management 2020-11-26 21:20:01 +08:00
Yousong Zhou
3159f6d6d7 multicloud: aws: instancenic: add interface id attribute 2020-11-26 21:20:01 +08:00
Yousong Zhou
0fe90abea8 multicloud: aliyun: instancenic: secondary address management 2020-11-26 21:20:01 +08:00
Yousong Zhou
47a2d07634 vendor: bump alibaba-cloud-sdk-go to v1.61.684
For commit [1]

 [1] 6313cc407e
2020-11-26 21:20:01 +08:00
Yousong Zhou
edbddb38b6 vendor: add github.com/aliyun/alibaba-cloud-sdk-go/services/ecs 2020-11-26 21:20:01 +08:00
Yousong Zhou
9840d7cf77 cloudprovider: ICloudNic: add methods for secondary addresses 2020-11-26 21:20:01 +08:00
Yousong Zhou
2afa068d71 multicloud: ICloudNic: add GetId() 2020-11-26 21:20:01 +08:00
Yousong Zhou
956bc945a9 multicloud: ICloudNic: fix GetMAC() 2020-11-26 21:20:01 +08:00
Yousong Zhou
adb998ff55 hostman: metadata: add handler for /local-sub-ipv4s 2020-11-26 21:20:01 +08:00
Yousong Zhou
0c8d8358e6 networkaddresses: add to nics field of guest desc 2020-11-26 21:20:01 +08:00
Yousong Zhou
87ed4e9a55 networkaddresses: add parent_type guestnetwork 2020-11-26 21:20:01 +08:00
Yousong Zhou
8ed18fbf34 networks: usedAddressQuery: rename with baseq, ownerq, retq 2020-11-26 21:20:01 +08:00
Yousong Zhou
1609496f9c networks: split getUsedAddressQuery as method of each manager 2020-11-26 21:20:01 +08:00
Yousong Zhou
f54de809b2 networks: fix typo in log 2020-11-26 21:20:01 +08:00
Yousong Zhou
c389aaaeb7 db_dispatcher: allow batch create for models without name 2020-11-26 21:20:01 +08:00
Yousong Zhou
ed1999efaf db: interface: manager: add HasName() method 2020-11-26 21:20:01 +08:00
Yousong Zhou
c8ad511744 db: standalone_anon: empty result for name query 2020-11-26 21:20:01 +08:00
Yousong Zhou
c45550ef63 db: add standalone_anon 2020-11-26 21:20:00 +08:00
Yousong Zhou
b79915d407 schedtags: add ListItemExportKeys 2020-11-26 21:20:00 +08:00
Yousong Zhou
d8ab874ef2 db: add manager methods appliers 2020-11-26 21:20:00 +08:00
Yousong Zhou
f62dddda51 db_dispatcher: delay compute to where needed 2020-11-26 21:20:00 +08:00
Yousong Zhou
0c8ab90f7e db_dispatcher: remove unused GetExtraDetails call 2020-11-26 21:20:00 +08:00
Yousong Zhou
79120f3de3 db: virtualjoint: add FilterById on RowId 2020-11-26 21:20:00 +08:00
Yousong Zhou
0e0a394907 db: modelbase: BatchCreateValidateCreateData: return orig data 2020-11-26 21:20:00 +08:00
Yousong Zhou
3b32ce56cc db: check funcs required by dispatcher 2020-11-26 21:20:00 +08:00
Yousong Zhou
d8cfba9217 region: networks: attach func use struct args 2020-11-26 21:20:00 +08:00
Yousong Zhou
f87d094580 region: networkresource: fix signature of GetExtraDetails 2020-11-26 21:20:00 +08:00
Yousong Zhou
9072a69aec multicloud: aliyun: make getSdkClient proxy aware 2020-11-26 21:20:00 +08:00
Yousong Zhou
91fab12172 climc: helper: add BatchCreate helper 2020-11-26 21:20:00 +08:00
Yousong Zhou
f6f4fc125a climc: helper: create call as a standalone method 2020-11-26 21:20:00 +08:00
Yousong Zhou
9228b17928 climc: s/Keyworkd/Keyword/ 2020-11-26 21:20:00 +08:00
Yousong Zhou
46088408bc vendor: bump yunion.io/x/pkg 2020-11-26 21:20:00 +08:00
Yousong Zhou
f0fba9aa20 vendor: bump yunion.io/x/sqlchemy 2020-11-26 21:20:00 +08:00
Qu Xuan
61d21d2b46 fix(cloudid): auto update saml provider metadata 2020-11-26 20:20:02 +08:00
TangBin
d5973135d2 fix(region): huawei sync storages bugfix 2020-11-26 19:34:49 +08:00
Qu Xuan
e52fb3260f fix(region): qcloud request retry 2020-11-26 19:03:39 +08:00
Qu Xuan
cb594298d4 fix(climc): replace ' -> " 2020-11-26 17:36:48 +08:00
Yousong Zhou
8db93257d6 feat(host): add option OvnEncapIpDetectionMethod can-reach:xx 2020-11-26 17:11:38 +08:00
Yousong Zhou
e53bdd5f94 feat(netutils2): add MyIPTo 2020-11-26 17:11:38 +08:00
yunion-ci-robot
28ff7c29b2 Merge pull request #9001 from wanyaoqi/automated-cherry-pick-of-#8828-upstream-release-3.6
Automated cherry pick of #8828: feature: update cpu arch apis
2020-11-26 16:37:34 +08:00
Qu Xuan
061c5d6dd9 fix(region): avolid aliyun fin bucket list objects error 2020-11-26 16:17:42 +08:00
wanyaoqi
59102f2dda 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:33:40 +08:00
Qu Xuan
dea1f29aa1 fix(region): allow member user get saml auth addr 2020-11-26 15:02:49 +08:00
Zexi Li
b479f23a4f Merge pull request #8984 from swordqiu/automated-cherry-pick-of-#8968-upstream-release-3.6
Automated cherry pick of #8968: fix(region,esxiagent): allow host behind a nat
2020-11-26 12:11:09 +08:00
yunion-ci-robot
d974440dec Merge pull request #8992 from zexi/automated-cherry-pick-of-#8991-upstream-release-3.6
Automated cherry pick of #8991: fix(scheduler): clean expire cache before schedule
2020-11-26 11:44:39 +08:00
Zexi Li
bcfb050193 fix(region): wire get vpc releated hosts is empty 2020-11-26 11:03:07 +08:00
Zexi Li
3c85ed11b9 fix(region): network clean schedule cache after real deleted 2020-11-26 11:03:07 +08:00
Zexi Li
a16899c9bf fix(scheduler): clean expire cache before schedule 2020-11-26 11:03:07 +08:00
yunion-ci-robot
761874423f Merge pull request #8931 from tb365/automated-cherry-pick-of-#8779-upstream-release-3.6
Automated cherry pick of #8779: 负载均衡ACL&证书增加项目和共享
2020-11-26 10:47:34 +08:00
TangBin
4d4c84801f fix(region): climc add base projects options 2020-11-26 10:33:36 +08:00
TangBin
670a06d53d 负载均衡ACL&证书增加项目和共享 2020-11-26 10:33:36 +08:00
Zexi Li
8f9015475b Merge pull request #8938 from yousong/automated-cherry-pick-of-#8937-upstream-release-3.6
Automated cherry pick of #8937: fix(treewide): fix task error recording
2020-11-26 09:25:07 +08:00
Zexi Li
4891f16959 Merge pull request #8940 from rainzm/automated-cherry-pick-of-#8925-upstream-release-3.6
Automated cherry pick of #8925: feat(region): add SCloudregionResourceBase for SInstanceSnapshot
2020-11-25 22:04:33 +08:00
Zexi Li
3b7ef422ee Merge pull request #8967 from zhaoxiangchun/automated-cherry-pick-of-#8902-upstream-release-3.6
Automated cherry pick of #8902: feat(monitor): add nodata alert policy
2020-11-25 22:02:38 +08:00
Zexi Li
2e7d107232 Merge pull request #8976 from tb365/automated-cherry-pick-of-#8955-upstream-release-3.6
Automated cherry pick of #8955: fix(region): allow reset huawei system disk
2020-11-25 22:01:48 +08:00
Zexi Li
0676b48513 Merge pull request #8962 from ioito/automated-cherry-pick-of-#8961-upstream-release-3.6
Automated cherry pick of #8961: fix(region): valid qcloud hssd for system disk
2020-11-25 21:59:30 +08:00
Zexi Li
84da1058b2 Merge pull request #8983 from zhaoxiangchun/automated-cherry-pick-of-#8977-upstream-release-3.6
Automated cherry pick of #8977: fix(monitor): modify monitor serviceType in StartService()
2020-11-25 21:57:21 +08:00
Zexi Li
a62d51a681 Merge pull request #8988 from rainzm/automated-cherry-pick-of-#8987-upstream-release-3.6
Automated cherry pick of #8987: fix(region): allow delete storagecachedimage with 'cache_failed' status
2020-11-25 21:55:42 +08:00
rainzm
ed2a867748 fix(region): allow delete storagecachedimage with 'cache_failed' status
Having status 'cache_failed' means this storagecachedimage does not actually exist.
2020-11-25 20:47:10 +08:00
zhaoxiangchun
db565fe0cd fix(monitor): modify monitor serviceType in StartService()
1.修改monitor服务在service代码中注册的serviceType:
   alerter ===> monitor
2020-11-25 20:30:29 +08:00
Qiu Jian
197049dcb7 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 20:14:09 +08:00
Zexi Li
ec803b3681 Merge pull request #8966 from zhaoxiangchun/automated-cherry-pick-of-#8965-upstream-release-3.6
Automated cherry pick of #8965: fix(monitor): suggestalert ignore throw err
2020-11-25 19:46:46 +08:00
Zexi Li
8e7b812e4f Merge pull request #8974 from ioito/automated-cherry-pick-of-#8973-upstream-release-3.6
Automated cherry pick of #8973: fix(region): set qcloud instance del timeout to 20m
2020-11-25 19:37:46 +08:00
rainzm
4d13956bc6 fix(region): ignore params.Disks when cloning vm from snapshot 2020-11-25 18:26:30 +08:00
rainzm
6ea550d012 fix(region): add size and storageType for VMware InstanceSnapshot 2020-11-25 18:26:30 +08:00
rainzm
eb3da9369d fix(esxiagent): add humanized tips when searching vm failed 2020-11-25 18:26:29 +08:00
rainzm
727b89db5d fix(region): make project of instance snapshot be consistent with the instance 2020-11-25 18:26:29 +08:00
rainzm
6d2e914391 fix(region): save when canceling pendingUsage 2020-11-25 18:26:29 +08:00
rainzm
8627818e14 feat(region): set pendingUsage before creating instance snapshots 2020-11-25 18:26:29 +08:00
rainzm
23b1a2b143 feat(region): add instance_snapshot for regionquota 2020-11-25 18:26:29 +08:00
rainzm
1561d65395 fix(region): purge all instance snapshots when purging guest 2020-11-25 18:26:29 +08:00
rainzm
35fc62bbad feat(region): add SCloudregionResourceBase for SInstanceSnapshot
理论上,可以通过
SInstanceSnapshot->SGuest->SHost->SZone->SCloudregionResourceBase
拿到 cloudregion_id, 但是这样的效率太低了
2020-11-25 18:26:29 +08:00
TangBin
25eb67b373 fix(region): update translations 2020-11-25 18:18:49 +08:00
TangBin
3ed59afae4 fix(region): allow reset huawei system disk 2020-11-25 18:18:49 +08:00
Qu Xuan
2d7cdad8f2 fix(region): set qcloud instance del timeout to 20m 2020-11-25 17:17:06 +08:00
Zexi Li
726a0817ac Merge pull request #8971 from ioito/automated-cherry-pick-of-#8970-upstream-release-3.6
Automated cherry pick of #8970: fix(cloudid): avoid empty auth url
2020-11-25 17:16:50 +08:00
Qu Xuan
869740775c fix(cloudid): avoid empty auth url 2020-11-25 17:07:09 +08:00
Zexi Li
5c448811eb Merge pull request #8959 from ioito/automated-cherry-pick-of-#8958-upstream-release-3.6
Automated cherry pick of #8958: fix(region): validate cloudaccount saml auth params
2020-11-25 16:06:52 +08:00
zhaoxiangchun
7661189370 feat(monitor): add nodata alert policy
1.add queryConditon子类:nodataQueryCondition处理nodata类型策略
2.遍历Onecloud类型宿主机,得到nodata宿主机信息
2020-11-25 12:18:40 +08:00
zhaoxiangchun
81e4463abc fix(monitor): suggestalert ignore throw err
1.修复优化建议忽略操作报错
2020-11-25 12:03:42 +08:00
Qu Xuan
8281411680 fix(region): valid qcloud hssd for system disk 2020-11-25 11:52:04 +08:00
Qu Xuan
a9ef8a1e37 fix(region): validate cloudaccount saml auth params 2020-11-25 11:35:05 +08:00
Zexi Li
f0abdb9e77 Merge pull request #8952 from ioito/automated-cherry-pick-of-#8895-upstream-release-3.6
Automated cherry pick of #8895: fix(region): 避免OneCloud密码校验通过,公有云厂商密码校验不通过
2020-11-25 10:06:10 +08:00
Qu Xuan
782372c35e fix(region): 避免OneCloud密码校验通过,公有云厂商密码校验不通过 2020-11-25 09:54:51 +08:00
Zexi Li
da53fe1cf7 Merge pull request #8948 from yousong/automated-cherry-pick-of-#8947-upstream-release-3.6
Automated cherry pick of #8947: fix(region): change_ipaddr: retain eip_id on detach and attach
2020-11-25 09:28:05 +08:00
yunion-ci-robot
452d8e9caa Merge pull request #8943 from yousong/automated-cherry-pick-of-#8942-upstream-release-3.6
Automated cherry pick of #8942: feat(cloudcommon): db: jointbase: add list:"user" for RowId
2020-11-25 09:18:16 +08:00
Yousong Zhou
f33b9c7164 fix(region): change_ipaddr: retain eip_id on detach and attach 2020-11-24 21:58:57 +08:00
Yousong Zhou
d1f1eda985 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:30 +08:00
Yousong Zhou
53125e6ed1 feat(cloudcommon): db: jointbase: add list:"user" for RowId 2020-11-24 21:55:30 +08:00
yunion-ci-robot
978677cc02 Merge pull request #8939 from zexi/automated-cherry-pick-of-#8930-upstream-release-3.6
Automated cherry pick of #8930: feat(region/schedtag): schedtag support set multi resources
2020-11-24 21:33:30 +08:00
yunion-ci-robot
20d0cfb95e Merge pull request #8941 from zhaoxiangchun/automated-cherry-pick-of-#8926-upstream-release-3.6
Automated cherry pick of #8926: fix(monitor): modify suggestrule process influxdb data
2020-11-24 21:29:15 +08:00
zhaoxiangchun
ed13fe9e14 fix(monitor): modify suggestrule process influxdb data
1. 调整与监控相关的时间范围的判断逻辑:不再要求时间范围内必须都有数据
2020-11-24 21:13:52 +08:00
Yousong Zhou
d868347773 fix(treewide): fix task error recording 2020-11-24 20:38:20 +08:00
yunion-ci-robot
0a4ddb861e Merge pull request #8934 from ioito/automated-cherry-pick-of-#8933-upstream-release-3.6
Automated cherry pick of #8933: fix(region): avoid public ip bandwidth is zero
2020-11-24 20:25:31 +08:00
Zexi Li
a16b048f96 feat(region/schedtag): schedtag support set multi resources 2020-11-24 20:25:10 +08:00
Qu Xuan
5dea11952f fix(region): avoid public ip bandwidth is zero 2020-11-24 18:10:52 +08:00
yunion-ci-robot
3192b9a06f Merge pull request #8913 from tb365/feature/tb-support-aliyun-finance
feat(region): support aliyun finance cloud
2020-11-24 09:47:59 +08:00
Zexi Li
b394040657 Merge pull request #8920 from zhaoxiangchun/bugfix/zxc-commonalert
fix(monitor): modify notify alertInfo and alertOk detach resource
2020-11-24 09:33:41 +08:00
TangBin
85324cadf3 fix(region): aliyun zone name fix 2020-11-24 09:30:21 +08:00
TangBin
bb091a3cb8 fix(region): aliyun region name 2020-11-24 09:30:21 +08:00
TangBin
8682c71d94 fix(region): aliyun sync region fix 2020-11-24 09:30:21 +08:00
TangBin
2a1f9ecbcc feat(region): support aliyun finance cloud 2020-11-24 09:27:21 +08:00
zhaoxiangchun
68dfa8a8c8 fix(monitor): modify notify alertInfo and alertOk detach resource
1.修复报警信息中>等被转义的问题
2.针对:host_raid.adapter和smart_device.exit_status
  只能出现alerting和nodata
两种报警状态。在queryCondition的查询逻辑下,nodata情况也进行detach操作
3.修复报警记录中报警策略翻译异常的问题
2020-11-23 21:32:15 +08:00
Zexi Li
af6482576e Merge pull request #8917 from ioito/hotfix/qx-classic-vpc-name
fix(region): set classic vpc name to "-"
2020-11-23 21:25:13 +08:00
Zexi Li
0d537d158a Merge pull request #8912 from ioito/hotfix/qx-capability-saml-auth
fix(region): add saml auth for capability
2020-11-23 21:23:59 +08:00
Qu Xuan
db00c83555 fix(region): set classic vpc name to "-" 2020-11-23 17:42:34 +08:00
Zexi Li
8e50c94614 Merge pull request #8904 from ioito/hotfix/qx-azure-host-storage
fix(region): azure host with storage
2020-11-23 16:46:17 +08:00
Zexi Li
d8d486236c Merge pull request #8903 from ioito/hotfix/qx-capability-account
fix(region): add instance capability info(default account)
2020-11-23 16:45:36 +08:00
Qu Xuan
90709ab704 fix(region): add saml auth for capability 2020-11-23 16:25:55 +08:00
Zexi Li
d9f432c5c6 Merge pull request #8906 from swordqiu/feature/qj-filter-domain-user-by-idp-entity-id
feat(keystone): filter domain/user by idp_entity_id
2020-11-23 16:12:26 +08:00
Zexi Li
bc88082a21 Merge pull request #8911 from ioito/hotfix/qx-apsara-fix
fix(region): apsara account fix
2020-11-23 16:11:20 +08:00
Qu Xuan
ab58f0335f fix(region): apsara account fix 2020-11-23 15:42:13 +08:00
Zexi Li
7853ce4fa1 Merge pull request #8889 from wanyaoqi/bugfix/wyq/put-host-offline-util-success
bugfix: wait put host offline success
2020-11-23 13:04:48 +08:00
Qiu Jian
b27b086cce feat(keystone): filter domain/user by idp_entity_id
filter domain/user by idp_entity_id
2020-11-23 12:19:37 +08:00
Qu Xuan
8207a9c997 fix(region): azure host with storage 2020-11-23 11:26:20 +08:00
Qu Xuan
cfd7c5bd90 fix(region): add instance capability info(default account) 2020-11-23 10:05:19 +08:00
wanyaoqi
83c1073f68 fix(host): wait put host offline success
Unregister host wait for host offline success,
in case region is in upgrading.

cherrypick: release/3.4
2020-11-22 15:29:45 +08:00
Zexi Li
415ab23f9d Merge pull request #8896 from swordqiu/hotfix/qj-oidc-get-data-from-body
fix: oidc data may be encapuslated in data field
2020-11-22 12:05:30 +08:00
Qiu Jian
95db19f104 fix(keystone): oidc data may be encapuslated in data field
兼容一些oidc实现,返回数据包裹在data字段里
2020-11-22 11:51:01 +08:00
Zexi Li
40db9ca0dd Merge pull request #8740 from lvyangyang/inter_vpcs_network
inter vpc network
2020-11-22 11:23:53 +08:00
Zexi Li
ec09ff6b49 Merge pull request #8892 from yousong/bugfix/yousong-i18n
Bugfix/yousong i18n
2020-11-22 10:59:55 +08:00
yunion-ci-robot
c2a2aebaf2 Merge pull request #8865 from swordqiu/hotfix/qj-allow-disk-attach-to-multiple-servers
fix: allow disk attach to multiple guests
2020-11-21 19:25:00 +08:00
Yousong Zhou
ab7ba83225 fix(region): elasticcache_instances: fix error fmt 2020-11-21 17:28:38 +08:00
Yousong Zhou
65571cc5e4 fix(locales): fix translation text 2020-11-21 17:28:38 +08:00
Zexi Li
0402f925bf Merge pull request #8887 from tb365/bugfix/tb-bugfix-1120
Bugfix/tb bugfix 1120
2020-11-20 19:56:39 +08:00
Zexi Li
8f19bc430d Merge pull request #8125 from ioito/feature/qx-apsara-sync
feature: add apsara support
2020-11-20 19:54:45 +08:00
TangBin
6391ef84d8 fix(region): create/update aliyun account bugfix 2020-11-20 18:38:42 +08:00
TangBin
96d2e24034 fix(region): purge account bugfix
忽略由于证书缓存与负载均衡监听关联导致purge账号失败的问题
2020-11-20 17:43:49 +08:00
spike.lv
eb91e8fcd1 feat(region): inter vpc network 2020-11-20 17:35:12 +08:00
TangBin
767e06a1d0 fix(region): checking cloudenv while create/update aliyun cloud account
#6389
2020-11-20 17:24:44 +08:00
Zexi Li
56b038cd0e Merge pull request #8884 from ioito/hotfix/qx-aliyunfi-oss
fix(region): compatible aliyun fin oss
2020-11-20 16:35:44 +08:00
TangBin
c18d1f0e77 fix(region): create redis validate network and sku zone match 2020-11-20 16:15:22 +08:00
Qu Xuan
0feddb13af fix(region): compatible aliyun fin oss 2020-11-20 16:05:31 +08:00
TangBin
e5289f8a4c fix(region): delete aliyun account bugfix 2020-11-20 15:45:10 +08:00
TangBin
0bbba6d3f8 fix(region): redis create account add name validate
公有云redis不允许创建名为root的账号

#6398
2020-11-20 14:24:34 +08:00
Zexi Li
0344d7e4b2 Merge pull request #8881 from lvyangyang/fix/qcloud-bucket-cdn-domain
fix(region): get qcloud bucket cdn-domain
2020-11-20 11:17:41 +08:00
TangBin
4e811240e4 fix(region): ignore classic vpc checkout while add lb backend
阿里云公网EL属于经典网络,在添加后端服务器时,不需要LB VPC和服务器的vpc 完全匹配

#6040
#6404
2020-11-20 11:08:47 +08:00
lvyangyang
b5d50fdfcf fix(region): get qcloud bucket cdn-domain 2020-11-20 10:34:23 +08:00
Zexi Li
39bc3037d6 Merge pull request #8877 from ioito/hotfix/qx-huawei-rds-password
fix: 自动生成华为云rds密码
2020-11-20 10:05:11 +08:00
Zexi Li
00bbc57bd0 Merge pull request #8873 from ioito/hotfix/qx-guest-undeploy
optimized: server delete log and wait time
2020-11-20 10:04:18 +08:00
Zexi Li
a2081832ed Merge pull request #8876 from ioito/feat/qx-rds-create-by-backup
feat: rds recovery new instance from backup supported
2020-11-19 20:52:52 +08:00
Qu Xuan
fd4b544fbc feat: rds recovery new instance from backup supported 2020-11-19 20:06:36 +08:00
Qu Xuan
a08fb0044f fix: 自动生成华为云rds密码 2020-11-19 19:53:04 +08:00
Qu Xuan
1e160821e6 optimized: server delete log and wait time 2020-11-19 16:25:37 +08:00
Qu Xuan
b195f95bdf feature: add apsara support 2020-11-19 15:41:30 +08:00
yunion-ci-robot
c2446eab26 Merge pull request #8869 from lvyangyang/lyy/cdn_domain_enable
fix(region): qcloud bucket set cors
2020-11-19 15:03:12 +08:00
Zexi Li
7f799a1835 Merge pull request #7869 from ioito/hotfix/qx-cloudevent-doamin-filter
fix: 支持公有云域过滤操作日志
2020-11-19 14:44:31 +08:00
lvyangyang
f1b428be07 fix(region): qcloud bucket set cors 2020-11-19 14:36:55 +08:00
Zexi Li
36cc3d7399 Merge pull request #8856 from tb365/bugfix/tb-bugfix-111701
add redis and redis skus slave zone info & huawei aws supported stora…
2020-11-19 14:33:00 +08:00
Qiu Jian
0718da3d70 fix: allow disk attach to multiple guests 2020-11-19 13:21:28 +08:00
Zexi Li
4c8bacea0f Merge pull request #8838 from zhaoxiangchun/bugfix/zxc-commonalert
suggestAlert feature:
2020-11-19 12:55:16 +08:00
Zexi Li
ebd9a7517a Merge pull request #8531 from wanyaoqi/feature/wyq/check-block-replication-is-support
host: drive mirror check block replication is support
2020-11-19 12:53:55 +08:00
Zexi Li
24bbbb4b0a Merge pull request #8847 from wanyaoqi/bugfix/wyq/fix-order-init-host-service
host: fix order init host srevice
2020-11-19 12:50:07 +08:00
Zexi Li
7391c6e1f6 Merge pull request #8569 from ioito/hotfix/qx-azure-list
fix: 优化azure资源同步
2020-11-19 12:46:46 +08:00
Qu Xuan
06581ad1a5 fix: optimized jsonRequest 2020-11-19 12:02:55 +08:00
TangBin
1afaa2950a add getStorageType err log 2020-11-19 12:02:50 +08:00
Qu Xuan
0d85df52bf fix: 优化azure资源同步 2020-11-19 12:01:04 +08:00
Zexi Li
ec45faf972 Merge pull request #8841 from ioito/hotfix/qx-server-stop
fix: 支持关机不收费
2020-11-19 11:56:40 +08:00
Zexi Li
ce53dd01d0 Merge pull request #8792 from rainzm/esxi/storagetype
feat(esxi): use more specific storage types
2020-11-19 11:52:24 +08:00
zhaoxiangchun
2bae6c0bb6 suggestAlert feature:
1.支持由建议列表忽略一类建议信息
2.建议列表和忽略列表,展示名称的处理。同时后端返回资源名称。
3.优化建议规则的修改。后端支持climc修改周期period和时间范围配置
4.优化建议规则返回describe信息
5.去掉了后端自动对忽略列表的init动作

影响范围: 优化建议规则的展示;建议列表的展示
2020-11-19 11:22:31 +08:00
Zexi Li
7ee1655123 Merge pull request #8860 from swordqiu/hotfix/qj-add-cpu-total-memory-total-usage
fix: add host.memoty.total and host.cpu.total usage stats
2020-11-19 11:03:09 +08:00
Zexi Li
d745acc798 Merge pull request #8863 from ioito/hotfix/qx-saml-api-addr
fix: cloudid api addr
2020-11-19 11:02:11 +08:00
Qu Xuan
4592299ffa fix: cloudid api addr 2020-11-19 10:23:35 +08:00
Qiu Jian
bc5c74b1bd fix: add host.memoty.total and host.cpu.total usage stats 2020-11-19 01:23:05 +08:00
Zexi Li
6ff5653fa4 Merge pull request #8832 from wanyaoqi/feature/wyq/custom-cloudroot-home-dir
host-deployer: customize user cloudroot home dir
2020-11-18 23:50:22 +08:00
Zexi Li
7b1d35b50b Merge pull request #8844 from zhaoxiangchun/feature/zxc-alertdisable
detach AlertResource on alertDisable
2020-11-18 21:16:29 +08:00
Zexi Li
84f9591127 Merge pull request #8850 from swordqiu/hotfix/qj-add-host-joint-domain-resources
fix: add host-joint resources into domain level resources
2020-11-18 21:15:15 +08:00
Zexi Li
359c5a1221 Merge pull request #8858 from rainzm/fix/disk_resize
fix(hostdeployer): umount rootfs before resize partition
2020-11-18 21:13:33 +08:00
rainzm
27378f2c85 fix(hostdeployer): umount rootfs before resize partition 2020-11-18 18:26:26 +08:00
yunion-ci-robot
f502c6722a Merge pull request #8849 from zhasm/feature/rex-cross-docker-buildx
docker 交叉编译规则更新
2020-11-18 16:35:09 +08:00
TangBin
2d15a7b977 add redis and redis skus slave zone info & huawei aws supported storage type update 2020-11-18 16:16:51 +08:00
Zhang Dongliang
c9ec30b5b3 docker 交叉编译规则更新 2020-11-18 15:55:39 +08:00
Qiu Jian
7fbe72ce5d fix: add host-joint resources into domain level resources 2020-11-18 15:19:50 +08:00
wanyaoqi
cbb801753b host: fix order init host srevice 2020-11-18 12:20:57 +08:00
zhaoxiangchun
357dd4e698 detach AlertResource on alertDisable
1. 报警规则禁用时,detach 关联的报警资源

影响范围:报警规则的禁用;logger日志服务i18n的日志展示
2020-11-18 12:19:34 +08:00
yunion-ci-robot
d3b892d728 Merge pull request #8697 from ioito/feature/qx-saml-support
feature: saml for cloudid
2020-11-18 11:21:08 +08:00
Qu Xuan
11c3f6a6ef fix: 支持关机不收费 2020-11-17 20:44:16 +08:00
Zexi Li
63d1d27069 Merge pull request #8842 from lvyangyang/lyy/bucket_cdn_domain
add:get bucket cdn domain
2020-11-17 20:40:53 +08:00
yunion-ci-robot
23a12c5484 Merge pull request #8836 from ioito/hotfix/qx-secgroup-rule-import
fix: support import rules for secgroups
2020-11-17 18:30:08 +08:00
lvyangyang
9b627c10fb add:get bucket cdn domain 2020-11-17 18:24:04 +08:00
Qu Xuan
d4edbbb610 feature: saml for cloudid 2020-11-17 18:02:37 +08:00
Zexi Li
c75130fc44 Merge pull request #8827 from rainzm/fix/notifyRobot
Fixs of Notify
2020-11-17 17:51:57 +08:00
yunion-ci-robot
03c10e15b1 Merge pull request #8726 from rainzm/esxi/resizefs
Try to resizefs after resizing esxi disk
2020-11-17 16:44:09 +08:00
rainzm
36dec7baa0 fix: add err handler for notifyRobot 2020-11-17 16:34:12 +08:00
rainzm
a4dc42e69a feat(notify): enable watching user in keystone 2020-11-17 16:34:08 +08:00
rainzm
7ed99506a5 fix(notify): be compatible with keystone's UsersV3.GetById
Fill UsersV3.GetById with user's name, it will return user's info.
2020-11-17 16:15:06 +08:00
Qu Xuan
cece2852aa fix: support import rules for secgroups 2020-11-17 15:31:09 +08:00
Zexi Li
3130e61a29 Merge pull request #8793 from rainzm/fix/esxi_snapshot
fix(region): chooseHostStorage
2020-11-17 15:21:17 +08:00
Zexi Li
9bbb738020 Merge pull request #8823 from ioito/hotfix/qx-aliyun-rds-backup
optimized: aliyun create rds backup
2020-11-17 14:52:15 +08:00
Zexi Li
920e257907 Merge pull request #8816 from zhaoxiangchun/bugfix/zxc-commonalert
modify  alertResource ws info
2020-11-17 14:51:20 +08:00
rainzm
8c17cdd5e2 feat(region): add RequestResizeDiskOnHost to SESXiHostDriver 2020-11-17 14:48:29 +08:00
rainzm
a1bc77a40e feat(esxiagent): try to resize partition after resizing disk 2020-11-17 14:48:29 +08:00
rainzm
22cec0964e feat(hostdeployer): support resizefs for esxi disk 2020-11-17 14:48:26 +08:00
Zexi Li
d15881355d Merge pull request #8803 from wanyaoqi/bugfix/wyq/host-reconnect-etcd
host: restart etcd session on keepalive failed
2020-11-17 14:20:11 +08:00
yunion-ci-robot
b237f36408 Merge pull request #8820 from tb365/bugfix/tb-qcloud-create-single-zone-elb-bugfix
qcloud create single zone elb bugfix
2020-11-17 10:02:06 +08:00
yunion-ci-robot
a683ea6ef2 Merge pull request #8830 from rainzm/scheduler/storagetype
feat(scheduler): support filtering storage via medium
2020-11-16 23:02:13 +08:00
yunion-ci-robot
c516faee7e Merge pull request #8817 from ioito/hotfix/qx-error-cause
fix: add error cause
2020-11-16 21:41:12 +08:00
wanyaoqi
6e66a129d6 host-deployer: customize user cloudroot home dir 2020-11-16 21:12:35 +08:00
rainzm
bf30c48eea feat(scheduler): support filtering storage via medium 2020-11-16 20:46:31 +08:00
Qu Xuan
aa5cbd0b0e optimized: aliyun create rds backup 2020-11-16 20:12:43 +08:00
yunion-ci-robot
a3f1f77496 Merge pull request #8795 from lvyangyang/lyy/bucket_task
qcloud bucket task
2020-11-16 16:44:05 +08:00
lvyangyang
8c29c53961 add:bucket ops const i18n 2020-11-16 15:28:37 +08:00
TangBin
63eddd2194 qcloud create single zone elb bugfix 2020-11-16 15:12:21 +08:00
Qu Xuan
83f5ce4316 fix: add error cause 2020-11-16 14:54:03 +08:00
zhaoxiangchun
d02db0e401 modify alertResource ws info
ignore_alert:ture 前端不再进行弹窗提示
2020-11-16 14:27:17 +08:00
yunion-ci-robot
2a54a139dc Merge pull request #8814 from swordqiu/hotfix/qj-qcloud-create-bucket-missing-appid
fix: qcloud create bucket without appId
2020-11-16 13:21:06 +08:00
Qiu Jian
38018080cc fix: qcloud create bucket without appId 2020-11-16 12:57:54 +08:00
lvyangyang
da4150e5ca qcloud bucket task 2020-11-16 12:06:32 +08:00
yunion-ci-robot
b11b5a2b45 Merge pull request #8774 from rainzm/fix/esxisp
Fix for esxi instance snapshot
2020-11-16 11:02:03 +08:00
rainzm
7818709539 fix: creating esxi guest from instance snapshot 2020-11-16 10:39:12 +08:00
rainzm
a14b556f27 fix(region): start vm when 'auto_start' is true 2020-11-16 10:38:29 +08:00
rainzm
8ef1af0dbc fix: set isp's status as 'instance_snapshot_reset' when reseting guest from isp 2020-11-16 10:38:26 +08:00
Zexi Li
448ce6379e Merge pull request #8783 from tb365/bugfix/tb-aliyunfin-region-name
aliyun finance cloud region add suffix
2020-11-15 08:00:20 +08:00
Zexi Li
b81f658d49 Merge pull request #8780 from swordqiu/hotfix/qj-keystone-init-empty-catalogy-panic
fix: mcclient panic when keystone init empty service catalog
2020-11-15 07:59:01 +08:00
Zexi Li
61d37663ca Merge pull request #8806 from zhaoxiangchun/bugfix/zxc-commonalert
commonalert bugfix:
2020-11-15 07:54:59 +08:00
Zexi Li
2112926934 Merge pull request #8809 from swordqiu/hotfix/qj-baremetal-usage-exclude-converted-baremetal
fix: baremetal usage should exclude converted hypervisor
2020-11-15 07:52:06 +08:00
Qiu Jian
8fcc85745d fix: baremetal usage should exclude converted hypervisor 2020-11-15 01:39:42 +08:00
zhaoxiangchun
c39540d5ca commonalert bugfix:
1.修改消息模版内容:对matches信息进行聚合只返回对应的name信息。解决body消息超过限制
2.报警资源:每次以策略匹配的最新matches为标准。进行updateOrCreate 和
  delete操作。

影响范围:消息模版、报警资源数量
2020-11-14 18:18:25 +08:00
wanyaoqi
7dc8f906c9 host: restart etcd session on keepalive failed 2020-11-14 15:24:40 +08:00
yunion-ci-robot
a525fabe47 Merge pull request #8800 from swordqiu/hotfix/qj-host-memory-usage-stats-incorrecct
fix: host memory usage status not correct
2020-11-14 11:22:04 +08:00
Qiu Jian
2a1b5f8a75 fix: mcclient panic when keystone init empty service catalog 2020-11-14 00:17:18 +08:00
yunion-ci-robot
75861efc77 Merge pull request #8796 from yousong/bugfix/yousong-jsonutils
vendor: update yunion.io/x/jsonutils
2020-11-14 00:10:02 +08:00
Qiu Jian
157fb1e488 fix: host memory usage status not correct 2020-11-13 23:55:33 +08:00
Yousong Zhou
854ff4079a vendor: update yunion.io/x/jsonutils
See yunionio/onecloud#8357
2020-11-13 18:44:12 +08:00
Zexi Li
353343072d Merge pull request #8790 from tb365/feature/tb-huawei-vm-support-vnc
huawei vm support vnc
2020-11-13 17:45:35 +08:00
rainzm
cfc58a3566 fix(region): chooseHostStorage
Setting options.Options.LockStorageFromCachedimage will trigger this bug.
2020-11-13 17:11:18 +08:00
rainzm
bb6af1e222 feat(esxi): use more specific storage types
Replace 'nas' with some specific types such as 'vsan', 'nfs' and 'cifs'.
2020-11-13 15:35:02 +08:00
Zexi Li
a2ffb6f33b Merge pull request #8786 from swordqiu/hotfix/qj-keystone-init-empty-catalog
fix: keystone init empty catalogy cause panic
2020-11-13 15:23:44 +08:00
TangBin
6b23c5c8fc huawei vm support vnc 2020-11-13 15:03:16 +08:00
Qiu Jian
b84f237961 fix: keystone init empty catalogy cause panic 2020-11-13 14:50:13 +08:00
TangBin
576120f153 aliyun finance cloud zone add suffix 2020-11-13 14:43:41 +08:00
TangBin
7360c544ff aliyun finance cloud region add suffix 2020-11-13 14:37:22 +08:00
Zexi Li
aa6a599c8f Merge pull request #8771 from swordqiu/feature/qj-allow-join-project-across-domain
feature: allow join project across domain
2020-11-13 10:39:38 +08:00
Zexi Li
45dc4bbd41 Merge pull request #8776 from zhaoxiangchun/bugfix/zxc-commonalert
suggestalet bugfix
2020-11-13 10:38:39 +08:00
zhaoxiangchun
922874936f suggestalet bugfix
1.安全组规则的in规则为全开放的主机 筛选逻辑修改
2.修复无法正确过滤用户所属资源的bug
2020-11-12 21:31:54 +08:00
yunion-ci-robot
bcc857ab88 Merge pull request #8737 from lvyangyang/lyy/fix/sync_aws_lb_tag
add:aws lb tag
2020-11-12 21:01:01 +08:00
Qiu Jian
f10267b0fe feature: allow join project across domain 2020-11-12 19:40:23 +08:00
yunion-ci-robot
bb6882fb99 Merge pull request #8758 from ioito/hotfix/qx-server-create-params
fix: public ip and duration for create params
2020-11-12 19:34:02 +08:00
Zexi Li
83e97c11c9 Merge pull request #8760 from ioito/hotfix/qx-huawei-object-acl
fix: avoid panic
2020-11-12 19:31:18 +08:00
Zexi Li
7b77196054 Merge pull request #8756 from ioito/hotfix/qx-low-memeory-sku-create
fix: support create 512mb server sku
2020-11-12 18:52:11 +08:00
Zexi Li
bf3af4d717 Merge pull request #8764 from ioito/hotfix/qx-qcloud-hssd-disk
fix: support resize qcloud hssd disk
2020-11-12 18:51:22 +08:00
Qu Xuan
b8410be115 fix: support resize qcloud hssd disk 2020-11-12 16:46:15 +08:00
Qu Xuan
7a60225617 fix: avoid panic 2020-11-12 16:18:59 +08:00
Qu Xuan
d7ab5fdd14 fix: public ip and duration for create params 2020-11-12 16:00:35 +08:00
Qu Xuan
c7a6ec8e9d fix: support create 512mb server sku 2020-11-12 14:02:10 +08:00
yunion-ci-robot
49823078b1 Merge pull request #8753 from rainzm/fix/syncsdisk
fix(region): prevent infinite recursion
2020-11-12 11:53:04 +08:00
rainzm
d2ed191752 fix(region): prevent infinite recursion
When weekDays is [1,2,3,4,5,6,7] and timePoints is [0], It will recurse infinitely.
2020-11-12 11:38:23 +08:00
Zexi Li
4fe47fe405 Merge pull request #8747 from ioito/hotfix/qx-account-prob-log
fix: avoid check region log every time when account status is unknown
2020-11-12 00:51:05 +08:00
Zexi Li
c78636910e Merge pull request #8749 from ioito/hotfix/qx-rds-renew
fix: renew rds
2020-11-12 00:49:39 +08:00
Qu Xuan
98d20725aa fix: renew rds 2020-11-11 19:05:15 +08:00
Qu Xuan
c2c9edd9c6 fix: avoid check region log every time when account status is unknown 2020-11-11 15:25:37 +08:00
Zexi Li
7123a8fc28 Merge pull request #8744 from ioito/hotfix/qx-cron-job-ctx
fix: avoid lock reentry
2020-11-11 12:04:23 +08:00
Zexi Li
623d905900 Merge pull request #8743 from wanyaoqi/feature/wyq/qemu-arm-fix-cdrom-params
qemu-arm: fix cdrom params
2020-11-11 12:03:45 +08:00
Zexi Li
dbbbcee08f Merge pull request #8741 from swordqiu/hotfix/qj-role-policy-set-update
fix: role-set-policies support update only operation
2020-11-11 11:58:14 +08:00
Zexi Li
c5b60916af Merge pull request #8723 from tb365/bugfix/tb-bugfix-20111001
batch user create bugifx
2020-11-11 11:56:16 +08:00
Zexi Li
3bb643cc52 Merge pull request #8722 from wanyaoqi/feature/wyq/misc-1110
misc bugfix: add log note, show reserved memory, specific bash start guest
2020-11-11 11:55:39 +08:00
Zexi Li
5f926f2865 Merge pull request #8719 from tb365/bugfix/tb-bugfix-201110
huawei create disk bugfix
2020-11-11 11:54:01 +08:00
Qu Xuan
cfebba2557 fix: avoid lock reentry 2020-11-10 21:13:55 +08:00
wanyaoqi
cc7542cc6f qemu-arm: fix cdrom params 2020-11-10 20:55:41 +08:00
Qiu Jian
f1be0adf6e allow delete role-policy-binding 2020-11-10 20:30:27 +08:00
lvyangyang
910bec329b add:aws lb tag 2020-11-10 19:49:10 +08:00
Qiu Jian
d66ee1fd4b fix: role-set-policies support update only operation 2020-11-10 19:05:55 +08:00
Zexi Li
df82c0808f Merge pull request #8738 from ioito/hotfix/qx-rds-renew
fix: qcloud rds set renew flag
2020-11-10 19:05:18 +08:00
屈轩
c56ebfd043 fix: qcloud rds set renew flag 2020-11-10 18:56:27 +08:00
Zexi Li
b091a7d2ba Merge pull request #8735 from tb365/bugfix/tb-bugfix-20111003
redis set autorenew bugfix
2020-11-10 18:41:25 +08:00
TangBin
6ce5b1d509 redis set autorenew bugfix 2020-11-10 18:35:06 +08:00
Zexi Li
9a8bb46ff0 Merge pull request #8730 from ioito/hotfix/qx-rds-task
fix: rds task fix
2020-11-10 18:02:14 +08:00
Qu Xuan
0272c76950 fix: rds task fix 2020-11-10 18:00:00 +08:00
Zexi Li
097d1af288 Merge pull request #8728 from tb365/bugfix/tb-bugfix-20111002
redis set autorenew bugfix
2020-11-10 17:46:28 +08:00
TangBin
fe07cda1a9 redis set autorenew bugfix 2020-11-10 17:43:17 +08:00
TangBin
3ceec3aa1e batch user create bugifx 2020-11-10 16:46:40 +08:00
wanyaoqi
aa45e62cbd host: specifie bash for start guest 2020-11-10 16:06:48 +08:00
wanyaoqi
0b11854a8b usage: host show isolated dev reserved memory 2020-11-10 16:03:13 +08:00
TangBin
4e3e5b01a5 huawei create disk bugfix 2020-11-10 15:45:51 +08:00
yunion-ci-robot
e6de534916 Merge pull request #8709 from rainzm/esxi/snapshot
Esxi Instance snapshot
2020-11-10 15:37:20 +08:00
rainzm
f077f06021 feat(region): support automatic start vm after reseting isp 2020-11-10 15:19:30 +08:00
rainzm
bb109953df feat(region): add SExternalizedResourceBase, SManagedResourceBase to SInstanceSnapshot 2020-11-10 15:19:30 +08:00
rainzm
1e297dca12 feat: update locales 2020-11-10 15:19:30 +08:00
rainzm
6f6ea9e38f feat: support creating vm from instance snapshot 2020-11-10 15:19:26 +08:00
rainzm
2ed4534f48 feat: creat, delete, revert and sync operator for esxi instance snapshots 2020-11-10 15:17:57 +08:00
Zexi Li
338e1cb570 Merge pull request #8713 from ioito/hotfix/qx-rds-auto-renew
fix: support rds set auto renew
2020-11-10 12:55:19 +08:00
Zexi Li
aaa4dccea8 Merge pull request #8715 from ioito/hotfix/qx-aws-secgroup-rule
fix: aws secgroup out rule is deny any
2020-11-10 12:54:23 +08:00
Zexi Li
1ff8798698 Merge pull request #8711 from tb365/bugfix/tb-bugfix-201109
redis prepaid create autorenew bugfix
2020-11-10 12:53:18 +08:00
wanyaoqi
f464a904d1 add success note on guest start and stop 2020-11-10 11:50:03 +08:00
Qu Xuan
bc28c8bdfb fix: aws secgroup out rule is deny any 2020-11-10 11:03:49 +08:00
TangBin
dd2eb4b446 redis create bugfix 2020-11-10 10:56:36 +08:00
Qu Xuan
a7e832488e fix: support rds set auto renew 2020-11-09 20:12:07 +08:00
TangBin
3a44985557 redis prepaid create autorenew bugfix 2020-11-09 19:31:03 +08:00
Zexi Li
f344228b91 Merge pull request #8692 from swordqiu/hotfix/qj-scoped-policy-system-level
fix: change level of scopedpolicy to system
2020-11-09 18:20:33 +08:00
yunion-ci-robot
48849d044f Merge pull request #8698 from rainzm/build/faster_docker_build
Faster docker build
2020-11-09 14:23:37 +08:00
yunion-ci-robot
ef90b52498 Merge pull request #8649 from rainzm/network/filter_via_storage
feat(region): filter network via storage
2020-11-09 14:22:22 +08:00
rainzm
e11011ddb7 feat: add ICloudInstanceSnapshot & modify ICloudVM 2020-11-09 13:54:48 +08:00
rainzm
7bdcf95524 feat: support snapshot of esxi 2020-11-09 13:54:45 +08:00
yunion-ci-robot
ed75370e24 Merge pull request #8707 from tb365/feature/tb-qcloud-redis-support-autorenew
qcloud redis secgroup sync fix & qcloud add renew& auto_renew
2020-11-09 11:30:21 +08:00
Qiu Jian
79ad3c188f fix: change level of scopedpolicy to system 2020-11-09 11:11:03 +08:00
Zexi Li
6889061a7c Merge pull request #8705 from swordqiu/hotfix/qj-scoped-policy-binding-search-by-name
fix: search by name and order by scopedpolicy for scopedpolicybindings
2020-11-09 10:45:42 +08:00
Zexi Li
f28a196ac4 Merge pull request #8703 from zhaoxiangchun/bugfix/zxc-commonalert
commonalert bugfix:
2020-11-09 10:44:20 +08:00
Qiu Jian
73e117c6e4 fix: search by name and order by scopedpolicy for scopedpolicybindings 2020-11-09 00:22:26 +08:00
zhaoxiangchun
a9c3c5bfdc commonalert bugfix:
1. 报警消息中过滤onecloud信息
2. 报警记录中报警恢复match 信息根据alertingMatches进行过滤处理
2020-11-08 17:09:17 +08:00
Zexi Li
2920f44c70 Merge pull request #8694 from lvyangyang/lyy/fix/dns_recordname_check
fix:修复dns record name校验的问题
2020-11-07 18:40:31 +08:00
Zexi Li
c46e1f2346 Merge pull request #8700 from ioito/hotfix/qx-rds-dirty-data
fix: sync remove dirty rds accounts
2020-11-07 18:26:56 +08:00
TangBin
09145c3c1d qcloud redis secgroup sync fix & qcloud add renew& auto_renew 2020-11-06 22:32:04 +08:00
Qu Xuan
008fd554c6 fix: sync remove dirty rds accounts 2020-11-06 20:36:33 +08:00
rainzm
5ab362d05f feat(build): add DOCKER_BUILDKIT in docker_push.sh 2020-11-06 20:12:58 +08:00
rainzm
2b5014b847 feat(build): add .dockerignore 2020-11-06 20:12:31 +08:00
lvyangyang
089aea99d8 fix:修复dns record name校验的问题 2020-11-06 19:42:46 +08:00
yunion-ci-robot
4653e46ec9 Merge pull request #8689 from swordqiu/hotfix/qj-change-owner-update-quota-usages
fix: change owner should update quota usages
2020-11-06 15:11:19 +08:00
yunion-ci-robot
0ecff3e65e Merge pull request #8686 from rainzm/fix/GetIImageById
Fix for Esxi and GetIImage
2020-11-06 15:07:17 +08:00
yunion-ci-robot
a0a3394eb4 Merge pull request #8683 from ioito/hotfix/qx-aliyun-eip-api
fix: aliyun eip api
2020-11-06 15:04:20 +08:00
yunion-ci-robot
54b59d74d4 Merge pull request #8676 from lvyangyang/lyy/qcloud_routetable
add:qcloud routetable
2020-11-06 15:03:19 +08:00
Qiu Jian
1bd4b85bf5 fix: change owner should update quota usages 2020-11-06 14:32:04 +08:00
Zexi Li
74b129073f Merge pull request #8680 from ioito/hotfix/qx-server-sku-filter
fix: 支持多内存过滤套餐
2020-11-06 13:49:53 +08:00
Zexi Li
9290797435 Merge pull request #8677 from swordqiu/hotfix/qj-fix-order-by-extra-fields-missing-columns-error
fix: missing column error when order by extra fields
2020-11-06 13:49:28 +08:00
Zexi Li
bb4dc2f2ee Merge pull request #8672 from zexi/hotfix/scheduler-ignore-non-running
scheduler: ignore non running guests only exclude ready status
2020-11-06 13:48:05 +08:00
rainzm
be0e8d73b7 fix(esxi): don't specify spec.Identity when osName is empty 2020-11-06 11:46:36 +08:00
rainzm
7aa5b28b37 fix(esxi): add device after cloning vm 2020-11-06 11:45:54 +08:00
rainzm
936ea00406 refactor(region): faster GetIImageById 2020-11-06 11:44:46 +08:00
rainzm
42309b8a7b refactor(region): faster sync CapacityUsed for Storage
1. replace cronjob SyncCapacityUsedForStorage with
SyncCapacityUsedForEsxiStorage
2. do not sync capacityUsed for storage when deleting and creating vm
for now because of performance issues。
2020-11-06 11:41:29 +08:00
rainzm
dfc246ca5b feat(region): add option NoCheckOsTypeForCachedImage 2020-11-06 11:36:59 +08:00
Qu Xuan
cdead1c476 fix: aliyun eip api 2020-11-06 11:08:54 +08:00
lvyangyang
4569326322 add:qcloud routetable 2020-11-06 10:34:18 +08:00
Qu Xuan
25aed0a7ee fix: 支持多内存过滤套餐 2020-11-06 10:30:38 +08:00
Qiu Jian
03d17e6fba fix: missing column error when order by extra fields 2020-11-05 23:51:03 +08:00
yunion-ci-robot
c7a119e85a Merge pull request #8670 from swordqiu/feature/qj-name-pattern-offset
feature: allow specify offset in name pattern
2020-11-05 18:31:30 +08:00
yunion-ci-robot
86ed0a308a Merge pull request #8668 from zhaoxiangchun/feature/zxc-alert-resource-filter
add resource type
2020-11-05 18:28:12 +08:00
Zexi Li
b47b0dc863 scheduler: ignore non running guests only exclude ready status 2020-11-05 18:05:49 +08:00
Qiu Jian
0beee87db3 feature: allow specify offset in name pattern 2020-11-05 16:48:43 +08:00
Zexi Li
a8d17e9cb8 Merge pull request #8667 from tb365/bugfix/tb-bugfix-201105
qcloud release prepaid resource bugfix
2020-11-05 15:08:42 +08:00
Zexi Li
728c576ea7 Merge pull request #8654 from swordqiu/hotfix/qj-sso-status-in-cookie
fix: save sso login status in cookie
2020-11-05 13:10:51 +08:00
Zexi Li
93b4b7008c Merge pull request #8664 from swordqiu/hotfix/qj-update-vendor-jsonutils-20201104
update vendor for jsonutils
2020-11-05 13:10:22 +08:00
TangBin
3b7c925212 qcloud release prepaid resource bugfix 2020-11-05 12:00:08 +08:00
zhaoxiangchun
0a0b73406d add resource type
1.支持前端通过资源类型进行过滤分类
2020-11-05 11:46:14 +08:00
Qiu Jian
ca0e79effb update vendor for jsonutils 2020-11-05 11:28:37 +08:00
Zexi Li
97682f1716 Merge pull request #8661 from zexi/hotfix/scheduler-forecast-with-candidates
scheduler: forecast api with candidates result
2020-11-05 00:39:17 +08:00
Zexi Li
b60e19b1b0 Merge pull request #8662 from swordqiu/hotfix/qj-server-name-historically-unique
server generate name should be historically unique
2020-11-05 00:38:08 +08:00
Qiu Jian
4431acde83 fix:
1. server generate name should be historically unique
2. ipaddr of a batch of server is in the same order as generated name
2020-11-05 00:21:12 +08:00
Zexi Li
543770694c Merge branch 'master' into hotfix/scheduler-forecast-with-candidates 2020-11-04 23:02:20 +08:00
Zexi Li
56cf88ec76 Merge pull request #8659 from zhaoxiangchun/bugfix/zxc-commonalert
commonalert bugfix
2020-11-04 23:01:44 +08:00
yunion-ci-robot
64bebb97e8 Merge pull request #8652 from yousong/feature/yousong-bgptype
Feature/yousong filter by bgptype
2020-11-04 21:11:10 +08:00
Zexi Li
0ed41b09e1 scheduler: forecast api with candidates result 2020-11-04 21:10:07 +08:00
yunion-ci-robot
d96f0486a0 Merge pull request #8658 from lshmouse/typo
Fix a typo: ProviderFactor -> ProviderFactory
2020-11-04 20:54:12 +08:00
yunion-ci-robot
d67ecae75e Merge pull request #8655 from lvyangyang/lyy/dns_record_name_validate
fix:域名正则校验dnsrecord name,同步中文域名取punycode
2020-11-04 18:41:09 +08:00
zhaoxiangchun
97ed340387 commonalert bugfix 2020-11-04 18:17:26 +08:00
Shaohui Liu
47d358ecb1 Fix a typo: ProviderFactor -> ProviderFactory 2020-11-04 18:10:03 +08:00
rainzm
f03d5af31f feat(region): filter network via storage 2020-11-04 17:17:55 +08:00
lvyangyang
73d750e1c7 fix:域名正则校验dnsrecord name,同步中文域名取punycode 2020-11-04 17:16:11 +08:00
Yousong Zhou
6464597c97 climc: network-list with multiple --bgp-type args 2020-11-04 16:48:22 +08:00
Yousong Zhou
51dafd29e7 networks: make filter by bgp types available 2020-11-04 16:48:22 +08:00
Yousong Zhou
d4469ffde4 networks: list: make bgp_type available 2020-11-04 16:48:22 +08:00
Qiu Jian
ae327021db fix: save sso login status in cookie 2020-11-04 16:40:57 +08:00
Zexi Li
45d8281e6e Merge pull request #8553 from swordqiu/feature/qj-keystone-sso-create-domain
feature: auto create domain for sso idp
2020-11-04 16:31:56 +08:00
Zexi Li
93d05ebd77 Merge pull request #8627 from lvyangyang/lyy/add_route
vpcPeeringConnection  add route
2020-11-04 16:26:20 +08:00
Zexi Li
5b334bfbe4 Merge pull request #8651 from swordqiu/hotfix/qj-policy-permission-data-incorrect
fix: auth permission result incorrect
2020-11-04 16:13:12 +08:00
lvyangyang
321e3c2f7c add route 2020-11-04 15:40:04 +08:00
Qiu Jian
4349cc7f98 fix: auth permission result incorrect 2020-11-04 12:04:45 +08:00
Zexi Li
e3a87410c5 Merge pull request #8647 from ioito/hotfix/qx-qcloud-rds-status-and-expired-time
fix: add rds status and expired time
2020-11-04 11:22:40 +08:00
Zexi Li
8631ca1a97 Merge pull request #8637 from tb365/bugfix/tb-qcloud-redis-bugfix-20201103
Bugfix/tb qcloud redis bugfix 20201103
2020-11-04 11:21:28 +08:00
Zexi Li
ab9e0ba184 Merge pull request #8633 from tb365/bugfix/tb-bugfix-20110201
Bugfix/tb bugfix 20110201
2020-11-04 11:19:42 +08:00
Zexi Li
37ee7fcf4e Merge pull request #8631 from zhaoxiangchun/bugfix/zxc-commonalert
modify monitor querycondition:
2020-11-04 11:07:50 +08:00
Zexi Li
5f163f64db Merge pull request #8628 from swordqiu/hotfix/qj-scoped-policy-filter-at-scope-project
fix: scopedpolicybindings filter by scope project
2020-11-04 10:59:27 +08:00
Zexi Li
b398ad99fc Merge pull request #8640 from rainzm/verify/template
fix(notify): customize the title of the verification email based on the copyright
2020-11-04 10:58:18 +08:00
yunion-ci-robot
acff2f6a09 Merge pull request #8643 from swordqiu/hotfix/qj-elasticcache-quota
fix: elasticcache quota not take effect
2020-11-04 10:54:46 +08:00
Qu Xuan
f47f2c51e4 fix: add rds status and expired time 2020-11-04 10:46:55 +08:00
zhaoxiangchun
d45c096390 modify monitor querycondition:
1.对于策略可以返回多个field value。供策略进行使用
2. 对于1种情况需要在commonalert种设置metadata属性
3. 修改alertresource get driver的判断逻辑
4. 针对host 相关的measurement 默认增加res_type 过滤filter
2020-11-04 10:43:47 +08:00
TangBin
c5a88b80b5 add option PrepaidDeleteExpireCheck 2020-11-04 09:57:30 +08:00
Qiu Jian
9f122f7452 fix: elasticcache quota not take effect 2020-11-04 00:56:28 +08:00
Qiu Jian
32fe10b001 fix: scopedpolicybindings filter by scope project 2020-11-03 23:12:30 +08:00
Zexi Li
6269097b3b Merge pull request #8636 from ioito/hotfix/qx-qcloud-sku-storage
fix: add qcloud hssd
2020-11-03 20:41:45 +08:00
rainzm
d3aae00092 fix(notify): customize the title of the verification email based on the copyright 2020-11-03 20:24:00 +08:00
Qu Xuan
5b4efddec6 fix: add qcloud hssd 2020-11-03 19:57:19 +08:00
TangBin
bbe362be2f qcloud delete prepaid redis bugfix 2020-11-03 19:33:41 +08:00
TangBin
4be09cfc0d qcloud create prepaid redis bugfix 2020-11-03 19:12:31 +08:00
TangBin
2f7781d152 lbcert cache delete bugfix 2020-11-03 17:55:43 +08:00
TangBin
0bf274f125 aws create bugfix 2020-11-03 17:55:43 +08:00
Yousong Zhou
f127253e3f Merge pull request #8629 from zhaoxiangchun/feature/zxc-commonalert-dashboard
modify go test error
2020-11-03 17:00:20 +08:00
yunion-ci-robot
4c3a251dd3 Merge pull request #8532 from zexi/feature/cloudresources-schedtag
feature: support cloudprovider, cloudregion and zone schedtag
2020-11-03 16:54:46 +08:00
zhaoxiangchun
72b9f2ec77 modify go test error 2020-11-03 15:22:26 +08:00
yunion-ci-robot
aa1a511c0f Merge pull request #8586 from zhaoxiangchun/feature/zxc-commonalert-dashboard
modify monitor dashboard save:
2020-11-03 14:28:46 +08:00
Zexi Li
3a29fda075 Merge pull request #8621 from rainzm/webhook/domain
NotifyWebhook for domain
2020-11-03 11:49:41 +08:00
Zexi Li
8f3cb2de67 Merge pull request #8625 from ioito/hotfix/qx-qcloud-rds-ro
fix: avoid not found cdbro- mysql instance
2020-11-03 11:48:54 +08:00
Qu Xuan
dc59a08721 fix: avoid not found cdbro- mysql instance 2020-11-03 11:05:50 +08:00
Zexi Li
dad884d481 Merge pull request #8619 from wanyaoqi/bugfix/wyq/fix-stream-disk
host: fix stream disk on add disk from snapshot
2020-11-03 10:39:36 +08:00
Zexi Li
2c070f8f9e Merge pull request #8616 from rainzm/fix/disksize
Fix for DiskSize of ESXi
2020-11-03 10:38:40 +08:00
Zexi Li
165abd4e6c Merge pull request #8618 from swordqiu/hotfix/qj-scopedpolicybinding-filter-error
fix: scopedpolicybinding filter by category sql error
2020-11-02 20:29:01 +08:00
rainzm
5a07858e1a feat(region): use NotifyWebhook when operating dnszone 2020-11-02 19:49:50 +08:00
rainzm
fd360b071e feat(region): add CloudCaches in DnsZoneDetails with GET 2020-11-02 19:25:31 +08:00
rainzm
6efb3fc12a fix(region): add SDnsZoneCache to DnsZoneCacheDetails 2020-11-02 19:22:03 +08:00
yunion-ci-robot
b727119845 Merge pull request #8613 from ioito/hotfix/qx-rds-zone-sync
optimized: rds zone sync
2020-11-02 19:07:46 +08:00
Qiu Jian
10a4d86d25 fix: scopedpolicybinding filter by category sql error 2020-11-02 18:21:01 +08:00
wanyaoqi
4a2613a66a fix stream disk on add disk from snapshot 2020-11-02 17:58:18 +08:00
Qu Xuan
d207d982e8 optimized: rds zone sync 2020-11-02 16:47:34 +08:00
rainzm
d01b6e1502 fix(esxi): return sumsize of disks fo template 2020-11-02 16:15:55 +08:00
rainzm
46e42724b7 fix(region): allow resize system disk of esxi 2020-11-02 16:15:32 +08:00
Zexi Li
c1c2b42145 Merge pull request #8599 from tb365/bugfix/tb-bugfix-20103001
qcloud create project not match bugfix
2020-11-02 15:51:11 +08:00
tangbin
bf1d8eccf5 goimport fix 2020-11-02 15:38:19 +08:00
Qiu Jian
178e1ab8fc feature: auto create domain for sso idp 2020-11-02 13:59:50 +08:00
yunion-ci-robot
b16e08f315 Merge pull request #8611 from zhaoxiangchun/bugfix/zxc-commonalert
deal return error info: tsdb
2020-11-02 10:25:47 +08:00
yunion-ci-robot
67f9e1c45e Merge pull request #8603 from rainzm/fix/snapshotsync
fix(region): compute NextSyncTime for snapshotpolicydisk
2020-11-02 01:42:45 +08:00
yunion-ci-robot
c2675d1547 Merge pull request #8608 from swordqiu/hotfix/qj-service-config-misc-bugfixes
fix: save service config changes may send invalid action log
2020-11-01 11:48:48 +08:00
Zexi Li
624759eb4f Merge pull request #8604 from zexi/hotfix/monitor-query-signature
monitor: query with signature
2020-11-01 11:48:09 +08:00
zhaoxiangchun
8df8e6ca26 deal return error info: tsdb 2020-10-31 23:29:18 +08:00
TangBin
f87c0e3972 clean duplicate cached certificated at initial 2020-10-31 23:29:09 +08:00
TangBin
9a43bb667d qcloud create project not match bugfix 2020-10-31 23:08:21 +08:00
Qiu Jian
354bcd9f07 fix: save service config changes may send invalid action log 2020-10-31 18:57:52 +08:00
Zexi Li
3a5bde4a3b monitor: query with signature and support measurement without database 2020-10-31 17:17:24 +08:00
Rain Zheng
97f93e6a12 fix(region): compute NextSyncTime for snapshotpolicydisk
1. 如果计算出来的 NextSyncTime 和 base 相等,可以将 base 加1一个小时递归处理。
2. 对于 retentionday 有效的快照策略,比如某一个 snaphsotpolicy
是每周一生效,并且打的快照自动保留 3 天,那么,就应该在每周一(打快照)
和每周四(释放快照)进行快照的同步。
2020-10-31 15:48:56 +08:00
yunion-ci-robot
2994dbf915 Merge pull request #8601 from zexi/hotfix/apigateway-remove-influxdb-query-proxy
apigateway: disable influxdb service query proxy
2020-10-31 15:19:44 +08:00
Zexi Li
81da6c5775 apigateway: disable influxdb service query proxy 2020-10-31 12:44:53 +08:00
yunion-ci-robot
d7621317f2 Merge pull request #8596 from tb365/bugfix/tb-bugfix-201030
qcloud cert bugfix
2020-10-31 11:52:43 +08:00
yunion-ci-robot
850c37ab60 Merge pull request #8598 from swordqiu/hotfix/qj-scoped-policy-binding-filter-by-multiple-categories
fix: filter scopedpolicybindings with multiple categories
2020-10-30 19:39:45 +08:00
yunion-ci-robot
308896a29d Merge pull request #8593 from rainzm/fix/autosyncsnapshot
Detach snapshotpolicy when deletding disk
2020-10-30 19:38:46 +08:00
yunion-ci-robot
2caa1c2c5a Merge pull request #8590 from ioito/hotfix/qx-secgroup-cache-tenant-id
fix: secgroup cache tenant_id
2020-10-30 19:34:51 +08:00
yunion-ci-robot
a8e77968bd Merge pull request #8589 from swordqiu/hotfix/qj-enforce-response-charset
fix: enforce response charset
2020-10-30 19:33:44 +08:00
yunion-ci-robot
395c26ab04 Merge pull request #8567 from yousong/feature/yousong-guest-bgptype
Feature/yousong guest bgptype
2020-10-30 19:30:44 +08:00
Qiu Jian
56e5b177d0 fix: filter scopedpolicybindings with multiple categories 2020-10-30 17:20:15 +08:00
TangBin
6343e3f4ba qcloud certificate sync bugfix 2020-10-30 15:56:00 +08:00
TangBin
d6677d86d7 qcloud cert bugfix 2020-10-30 15:50:09 +08:00
rainzm
7582ead4c1 fix(region): clear dirty data of snapshotpolicydisks when start up 2020-10-30 15:20:48 +08:00
rainzm
e660946d25 fix(region): detach all snapshotpolicy when realdeleting disk 2020-10-30 14:47:44 +08:00
Qu Xuan
373166c506 fix: secgroup cache tenant_id 2020-10-30 14:37:02 +08:00
yunion-ci-robot
8628145762 Merge pull request #8587 from ioito/hotfix/qx-rds-vpc
fix: sync rds class vpc
2020-10-30 13:01:42 +08:00
Qiu Jian
9073461f99 fix: enforce response charset 2020-10-30 12:50:23 +08:00
屈轩
d9e72f78e7 fix: sync rds class vpc 2020-10-30 12:49:15 +08:00
zhaoxiangchun
d519be9ab1 modify monitor dashboard save:
1.panel和dashboard继承scoperesource。通过joint进行关联
2.dashboade 通过details
  参数控制是否返回所关联的panel信息。penel新建时需要此逻辑
3.依据scoperesource属性实现查询,创建的逻辑
2020-10-30 12:11:33 +08:00
yunion-ci-robot
6da9e1bb81 Merge pull request #8584 from ioito/hotfix/qx-rds-classic-vpc
fix: classic vpc for rds
2020-10-30 12:02:44 +08:00
rainzm
c6864e4ae6 fix(region): prevent dirty data when syncing snapshot 2020-10-30 11:58:43 +08:00
Zexi Li
17d90dccdc Merge pull request #8583 from zexi/hotfix/climc-k8s-machine-list
climc: k8s machine show resource_id
2020-10-30 11:37:49 +08:00
Qu Xuan
0f4114449f fix: classic vpc for rds 2020-10-30 11:12:46 +08:00
yunion-ci-robot
7bc24a357c Merge pull request #8580 from swordqiu/hotfix/qj-scoped-policy-binding-doc-keywords
fix: scopedpolicies and scopedpolicybindings swagger resource name
2020-10-30 11:12:42 +08:00
Zexi Li
0f25214872 climc: k8s machine show resource_id 2020-10-30 11:03:51 +08:00
Zexi Li
cc32bb39ef feature: support cloudprovider, cloudregion and zone schedtag 2020-10-30 10:58:34 +08:00
yunion-ci-robot
1de5147bf2 Merge pull request #8581 from swordqiu/hotfix/qj-support-qcloud-zonal-bucket
fix: compatible with qcloud zonal bucket
2020-10-30 09:12:42 +08:00
yunion-ci-robot
a89ca20f72 Merge pull request #8576 from rainzm/snapshotpolicy/fix
fix(region): sync automatically snapshot for external disk
2020-10-30 08:49:42 +08:00
yunion-ci-robot
7eea4105ae Merge pull request #8558 from zexi/hotfix/informer-context-cancelled
informer: ignore outside context cancel when worker run
2020-10-30 00:36:43 +08:00
Qiu Jian
3f568a63d1 fix: compatible with qcloud zonal bucket 2020-10-30 00:14:12 +08:00
yunion-ci-robot
7850511b6e Merge pull request #8573 from tb365/bugfix/tb-bugfix-2010293
qcloud elb cert duplicate fix
2020-10-29 23:28:43 +08:00
Qiu Jian
46fe31cbd8 fix: scopedpolicies and scopedpolicybindings swagger resource name 2020-10-29 22:55:15 +08:00
rainzm
f13c12d0c2 fix(region): sync automatically snapshot for external disk 2020-10-29 22:28:56 +08:00
TangBin
46e65d9e02 qcloud elb cert duplicate fix 2020-10-29 22:23:39 +08:00
yunion-ci-robot
b66497ac03 Merge pull request #8570 from tb365/bugfix/tb-bugfix-20102902
qcloud redis create missing project id bugfix
2020-10-29 20:58:47 +08:00
Zexi Li
ff53671a18 informer: ignore outside context cancel when worker run 2020-10-29 20:53:17 +08:00
TangBin
babed456d5 qcloud redis create missing project id bugfix 2020-10-29 20:46:12 +08:00
yunion-ci-robot
d1282ae516 Merge pull request #8564 from rainzm/cachedimage/vendor
update vendor
2020-10-29 20:08:43 +08:00
rainzm
e48616cdc0 update vendor 2020-10-29 17:22:19 +08:00
yunion-ci-robot
85f76fb8ed Merge pull request #8559 from tb365/bugfix/tb-bugfix-20102901
qcloud lb sync project bugfix
2020-10-29 17:18:42 +08:00
Yousong Zhou
4d895d6587 climc: servers: create with eip bgp type 2020-10-29 17:12:57 +08:00
Yousong Zhou
6bbf090494 guests: add bgp_type arg when create guest 2020-10-29 17:12:57 +08:00
Yousong Zhou
f514950480 elasticips: NewEipForVMOnHost: make args a struct 2020-10-29 17:12:57 +08:00
Yousong Zhou
774cfcbfaf regiondrivers: kvm: exact match bgp_type 2020-10-29 17:12:57 +08:00
yunion-ci-robot
61fd7e0e52 Merge pull request #8540 from swordqiu/hotfix/qj-set-customized-private-prefixes
fix: allow set customized private prefixes
2020-10-29 17:00:45 +08:00
yunion-ci-robot
c875ed5c7a Merge pull request #8544 from swordqiu/hotfix/qj-scheduler-option-manager
fix: use option manager for scheduler
2020-10-29 16:55:42 +08:00
yunion-ci-robot
295a46894d Merge pull request #8554 from tb365/bugfix/tb-bugfix-201029
Bugfix/tb bugfix 201029
2020-10-29 16:44:42 +08:00
TangBin
8589d67ac3 qcloud lb sync project bugfix 2020-10-29 16:43:20 +08:00
yunion-ci-robot
24af7a4b47 Merge pull request #8556 from wanyaoqi/bugfix/wyq/fix-generate-ifname
bugfix: retry generate ifname from random string
2020-10-29 15:14:49 +08:00
wanyaoqi
f71def645e retry generate ifname from random string 2020-10-29 14:56:01 +08:00
TangBin
02d0902d94 redis 2.8 reset password bugfix 2020-10-29 14:28:12 +08:00
TangBin
0a695c2dca add redis capabilty & lb purge 2020-10-29 14:07:05 +08:00
Yousong Zhou
5da75ae45b Merge pull request #8548 from swordqiu/hotfix/qj-fail-delete-public-ip
fix: fail to delete public_ip eip
2020-10-29 10:18:37 +08:00
yunion-ci-robot
18ca8e986d Merge pull request #8541 from ioito/hotfix/qx-rds-sync
fix: avoid sync part of rds
2020-10-29 00:55:44 +08:00
yunion-ci-robot
b51b13f801 Merge pull request #8551 from swordqiu/hotfix/qj-go-vet-error-20201028
fix: make test go vet error
2020-10-29 00:52:43 +08:00
yunion-ci-robot
eb59b41223 Merge pull request #8543 from tb365/bugfix/tb-qcloud-redis-bugfix-1028
Bugfix/tb qcloud redis bugfix 1028
2020-10-29 00:04:42 +08:00
yunion-ci-robot
5ae7003a30 Merge pull request #8545 from rainzm/wehook/lbrdsredis
Notify via webhook
2020-10-28 23:57:41 +08:00
Qiu Jian
08bb11db66 fix: make test go vet error 2020-10-28 23:53:11 +08:00
Qiu Jian
554ec88734 fix: fail to delete public_ip eip 2020-10-28 23:40:52 +08:00
tangbin
ac03debc97 redis delete bugfix 2020-10-28 22:13:35 +08:00
TangBin
ea497d077d qcloud elb auth mode bugfix 2020-10-28 21:57:52 +08:00
Qiu Jian
dcc689cc17 fix: allow set customized private prefixes 2020-10-28 21:50:19 +08:00
wanyaoqi
0389ec8048 ha guest misc fix 2020-10-28 21:14:57 +08:00
yunion-ci-robot
b9628c9421 Merge pull request #8538 from lvyangyang/lyy/qcloud_redis_tags
qcloud redis tags
2020-10-28 21:11:54 +08:00
rainzm
ce0c88d790 feat(region): call NotifyWebhook in when sonme tasks complete
dbinstace: create, delete, change_config;

elasticcache: create, delete, change_config;

loadbalancer, loadbalancer_backend_group,
loadbalancer_listener, loadbalancer_backend: create, delete
2020-10-28 21:08:37 +08:00
rainzm
0d36b3b749 refactor(region): remove return value of NotifyWebhook 2020-10-28 21:07:34 +08:00
Qiu Jian
8f2c514699 fix: use option manager for scheduler 2020-10-28 21:04:51 +08:00
Qu Xuan
a01cd0a81b fix: avoid sync part of rds 2020-10-28 20:21:08 +08:00
yunion-ci-robot
f7ee989c6b Merge pull request #8535 from rainzm/cachedimage/fasterlistpro
refactor(region): faster list for cachedimage
2020-10-28 17:58:43 +08:00
rainzm
de4f1579dd refactor(region): faster list for cachedimage
Pro version of #8440 with checking the necessity of id filtering
2020-10-28 15:21:23 +08:00
lvyangyang
cfbe92ed91 qcloud redis tags 2020-10-28 14:58:21 +08:00
yunion-ci-robot
ebfa86d45b Merge pull request #8533 from tb365/bugfix/tb-bugfix-20102701
Bugfix/tb bugfix 20102701
2020-10-28 12:37:41 +08:00
tangbin
399539b92d elb sync bugfix 2020-10-28 12:13:03 +08:00
wanyaoqi
980396f151 dirve mirror check block replication is support 2020-10-28 10:51:33 +08:00
yunion-ci-robot
b6cbf86d3b Merge pull request #8521 from swordqiu/hotfix/qj-adjust-default-policy-quota
fix: adjust default identity quota
2020-10-28 10:36:44 +08:00
tangbin
1eaf06d051 sync elb support classic vpc 2020-10-28 07:56:49 +08:00
yunion-ci-robot
62db4e8440 Merge pull request #8523 from tb365/feature/tb-qcloud-redis-support
qcloud redis support
2020-10-28 01:06:40 +08:00
yunion-ci-robot
57cacd0cd7 Merge pull request #8525 from rainzm/fix/esxi_saveimage
Fix for saving image in ESXi
2020-10-28 00:57:41 +08:00
yunion-ci-robot
de533cab6b Merge pull request #8512 from ioito/hotfix/qx-qcloud-project-sync
fix: avoid sync project panic
2020-10-28 00:46:42 +08:00
yunion-ci-robot
6b91b9ff86 Merge pull request #8443 from rainzm/cachedimage/fr
Respect multiple disks in VMware Template
2020-10-28 00:17:42 +08:00
yunion-ci-robot
d401bfcb62 Merge pull request #8509 from wanyaoqi/bugfix/wyq/fix-host-archs-capabilities
bugfix: fix get host archs capability
2020-10-28 00:12:43 +08:00
rainzm
26b1050b31 fix(esxi): filter vmdk item in lease.info 2020-10-27 21:25:32 +08:00
rainzm
6afa803050 fix(esxi): use correct device index
1. Sort devices via their Key.
2. There is no relationship between vdisk index and vnics length.
2020-10-27 21:20:58 +08:00
rainzm
d616b40044 fix(esxi): no callback in uploadHandler 2020-10-27 21:19:40 +08:00
TangBin
d7894776f3 qcloud redis support 2020-10-27 20:33:28 +08:00
yunion-ci-robot
81df94b277 Merge pull request #8435 from swordqiu/feature/qj-scoped-policy-manager
Feature/qj scoped policy manager
2020-10-27 18:19:40 +08:00
yunion-ci-robot
dd2a68496f Merge pull request #8510 from ioito/hotfix/qx-cloudaccount-climc
fix: optimized cloudaccount climc
2020-10-27 17:33:41 +08:00
Zexi Li
bfffcfecde Merge pull request #8517 from ioito/hotfix/qx-secgroup-status
fix: set secgroup status
2020-10-27 17:28:22 +08:00
yunion-ci-robot
e686a0aa49 Merge pull request #8505 from ioito/hotfix/qx-lb-lock
add: DisableDelete for lb
2020-10-27 17:05:40 +08:00
Qiu Jian
4d04059bcb fix: adjust default identity quota 2020-10-27 16:38:28 +08:00
yunion-ci-robot
099bc4a8ea Merge pull request #8504 from ioito/hotfix/qx-qcloud-instance-create
fix: qcloud server create
2020-10-27 16:19:41 +08:00
Qu Xuan
b6016939cb fix: set secgroup status 2020-10-27 16:16:54 +08:00
Qu Xuan
6ee94ab41c fix: avoid sync project panic 2020-10-27 16:11:20 +08:00
Qu Xuan
64740ff0fd fix: optimized cloudaccount climc 2020-10-27 15:27:44 +08:00
wanyaoqi
8d07a6308f fix get host archs capability 2020-10-27 12:12:03 +08:00
Qu Xuan
0e5835ffac fix: qcloud server create 2020-10-27 10:49:13 +08:00
Qiu Jian
1805be4d2f list support scope filter 2020-10-27 00:46:03 +08:00
Qiu Jian
48e40fa5a9 update api models 2020-10-26 23:58:02 +08:00
Qiu Jian
01d4c2a1c7 feature: support scoped policy that manage ui policies for
domains&projects
2020-10-26 23:58:02 +08:00
Qu Xuan
73e8080d42 add: DisableDelete for lb 2020-10-26 21:51:37 +08:00
yunion-ci-robot
f41ff021c7 Merge pull request #8499 from yousong/bugfix/yousong-lockman-test
lockman: test: add prefix setting
2020-10-26 21:22:39 +08:00
Yousong Zhou
cd5163eebb lockman: test: add prefix setting 2020-10-26 20:26:42 +08:00
yunion-ci-robot
42f3ad00fa Merge pull request #8496 from zhaoxiangchun/bugfix/zxc-commonalert
commalertUpdateInput increat param:
2020-10-26 19:55:48 +08:00
rainzm
5251304a47 feat(esxi): expand disk config from subimages when creating vm 2020-10-26 19:47:04 +08:00
rainzm
a174c32eae feat: respect params.Disks when cloning vm 2020-10-26 19:46:57 +08:00
rainzm
564c6cf45f feat: add SubImages in Image 2020-10-26 19:06:22 +08:00
zhaoxiangchun
10b273938d commalertUpdateInput increat param:
1.处理operator对alertType == system的报警策略的update请求
2020-10-26 18:40:47 +08:00
yunion-ci-robot
85862c7f19 Merge pull request #8493 from rainzm/fix/cachedimagelist
fix(region): roll back the optimization of cachedimage list
2020-10-26 18:16:40 +08:00
rainzm
eef90b58e7 fix(region): roll back the optimization of cachedimage list 2020-10-26 17:34:54 +08:00
Zexi Li
2e4a06e77a Merge pull request #8492 from zexi/feature/k8s-fedres-update
Feature/k8s fedres update
2020-10-26 17:12:19 +08:00
Zexi Li
b0f73311d7 Merge pull request #8464 from wanyaoqi/bugfix/wyq/check-disk-is-in-reset-before-delete-snapshot
bugfix:check disk is in reset before delete snapshot
2020-10-26 17:03:00 +08:00
yunion-ci-robot
9d7a82401d Merge pull request #8487 from ioito/hotfix/qx-eip-sync
fix: avoid delete public ip when sync eip list
2020-10-26 17:02:41 +08:00
Zexi Li
ddf483bc0e climc: add k8s federated resource update subcommand 2020-10-26 16:57:06 +08:00
Qu Xuan
d60dee6a97 fix: avoid delete public ip when sync eip list 2020-10-26 16:17:15 +08:00
yunion-ci-robot
128173d320 Merge pull request #7620 from wanyaoqi/feature/wyq/arm-v2
feature: arm support
2020-10-26 15:50:40 +08:00
yunion-ci-robot
ca6c5ef3aa Merge pull request #8120 from swordqiu/feature/qj-policy-group-3.5
feature: policy group support
2020-10-25 20:17:42 +08:00
yunion-ci-robot
deb720d793 Merge pull request #8483 from swordqiu/hotfix/qj-vpc-create-climc-no-region
fix: climc vpc-create missing cloudregion_id
2020-10-25 10:53:38 +08:00
yunion-ci-robot
ec6f90ac4c Merge pull request #8484 from swordqiu/hotfix/qj-vm-usage-stats-not-correct
fix: server usage status not correct
2020-10-25 10:52:42 +08:00
Qiu Jian
ce06e078f0 fix: server usage status not correct 2020-10-25 08:34:51 +08:00
Qiu Jian
2d39cb4cb0 feature: policy group support 2020-10-24 22:46:46 +08:00
Qiu Jian
588fff60fc fix: climc vpc-create missing cloudregion_id 2020-10-24 22:40:39 +08:00
Zexi Li
167c672194 Merge pull request #8481 from ioito/hotfix/qx-qcloud-rds-create
fix: 避免参数异常
2020-10-24 13:11:17 +08:00
Zexi Li
107f7588cb Merge pull request #8470 from wanyaoqi/bugfix/wyq/fix-stream-disk-complete
bugfix: fix on stream disk complete snapshots refcount not update
2020-10-24 13:09:25 +08:00
Zexi Li
d011cbfc87 Merge pull request #8474 from zexi/hotfix/monitor-datasource-ep
monitor: set default influxdb datasource by endpoint type
2020-10-24 13:06:55 +08:00
Qu Xuan
9821f7fe9e fix: 避免参数异常 2020-10-24 12:58:59 +08:00
Zexi Li
2cdb173036 Merge pull request #8415 from ioito/hotfix/qx-rds-secgroup
fix: rds 支持多安全组
2020-10-24 12:10:31 +08:00
Qu Xuan
5cd26b297e fix: 支持多安全组 2020-10-24 11:44:31 +08:00
yunion-ci-robot
fd7348c7f0 Merge pull request #8460 from lvyangyang/lyy/create_with_tag
qcloud create lb,mysql with tags
2020-10-23 21:09:16 +08:00
yunion-ci-robot
ce178b01d7 Merge pull request #8478 from tb365/bugfix/tb-bugfix-20102301
Bugfix/tb bugfix 20102301
2020-10-23 21:00:15 +08:00
TangBin
44b40599a5 qcloud zone sync fix 2020-10-23 20:44:27 +08:00
TangBin
541a2d4e0d loadbalancer support batch create 2020-10-23 20:30:53 +08:00
yunion-ci-robot
8ea168a6e8 Merge pull request #8468 from ioito/hotfix/qx-rds-fix
fix: qcloud 5.5 single zone
2020-10-23 20:18:17 +08:00
Zexi Li
409c67e24b monitor: set default influxdb datasource by endpoint type 2020-10-23 20:07:15 +08:00
Qu Xuan
9a03bf17ce fix: 支持批量创建rds 2020-10-23 19:38:04 +08:00
wanyaoqi
4efbe27abc fix on stream disk complete snapshots refcount not update 2020-10-23 19:09:38 +08:00
Qu Xuan
cdd652c1ee fix: qcloud 5.5 single zone 2020-10-23 18:55:16 +08:00
yunion-ci-robot
9822abac3a Merge pull request #8412 from zhaoxiangchun/bugfix/zxc-commonalert
bugfix:commalert
2020-10-23 18:35:17 +08:00
yunion-ci-robot
a4e3ddf78e Merge pull request #8461 from rainzm/guestimage/public
fix(glance): allow public and private operations of guestimage
2020-10-23 18:28:16 +08:00
wanyaoqi
e7ce3fd9d8 check disk is in reset before delete snapshot 2020-10-23 18:23:18 +08:00
yunion-ci-robot
3dba8ad4f4 Merge pull request #8450 from wanyaoqi/bugfix/wyq/misc-host-fix
host increase cpu mem max size
2020-10-23 18:18:19 +08:00
yunion-ci-robot
ceac46fdbd Merge pull request #8456 from rainzm/esxi/disksize
fix(esxi): resize root disk after cloning vm
2020-10-23 18:16:16 +08:00
yunion-ci-robot
110102c603 Merge pull request #8449 from tb365/bugfix/tb-bugfix-201023
Bugfix/tb bugfix 201023
2020-10-23 18:15:15 +08:00
yunion-ci-robot
5810e1d06f Merge pull request #8454 from rainzm/esix/disksizecreate
fix(esxi): resize root disk after creating vm
2020-10-23 18:14:15 +08:00
lvyangyang
2c043454a5 create with tags 2020-10-23 18:13:54 +08:00
Zexi Li
21e1ab4b00 Merge pull request #8447 from ioito/hotfix/qx-rds-fix
fix: sync rds account host info
2020-10-23 18:04:05 +08:00
zhaoxiangchun
b4a83dc15e bugfix:
1.资源报警增加websocket 消息通知:admin用户
2.统一influxdb中查询到的tag展示
2020-10-23 17:57:20 +08:00
rainzm
5824b7add0 fix(glance): allow public and private operations of guestimage
The public and private operations of the guest image depends on these operations of the subimage.
2020-10-23 17:46:49 +08:00
Qu Xuan
f159c73186 fix: add duration match 2020-10-23 17:15:40 +08:00
rainzm
bd014a6adf fix(esxi): resize root disk after cloning vm
The root disk size set when the machine is cloned does not take effect,
so set the root disk size after the machine is cloned.
2020-10-23 17:02:33 +08:00
rainzm
9daef7d97c fix(esxi): resize root disk after creating vm
The root disk size set when the machine is created does not take effect,
so set the root disk size after the machine is created.
2020-10-23 16:39:53 +08:00
TangBin
6f2a9d8b7c elb salve zone 1 external id bugfix 2020-10-23 16:22:42 +08:00
TangBin
94d3fa82af elb sync zone bugfix 2020-10-23 16:12:00 +08:00
Qu Xuan
fb7d22f675 fix: sync rds account host info 2020-10-23 15:44:39 +08:00
wanyaoqi
6b7a525734 host increase cpu mem max size 2020-10-23 15:13:17 +08:00
TangBin
1f17dcf680 add qcloud elb zone1 details 2020-10-23 12:04:22 +08:00
yunion-ci-robot
13f179d0b3 Merge pull request #8445 from swordqiu/lvyangyang-lyy/resource_tag
resource tags
2020-10-22 22:43:16 +08:00
lvyangyang
58737942ad resource tags 2020-10-22 22:20:53 +08:00
yunion-ci-robot
ae9d1b6ba6 Merge pull request #8440 from rainzm/cachedimage/fasterlist
refactor(region): faster list for cachedimage
2020-10-22 21:24:14 +08:00
yunion-ci-robot
963287b563 Merge pull request #8444 from yousong/bugfix/yousong-eip-varchar
Bugfix/yousong eip varchar
2020-10-22 21:16:18 +08:00
Yousong Zhou
4537cc3dba elasticips: charge_type: make it varchar column 2020-10-22 20:58:12 +08:00
Yousong Zhou
e61a85b7c1 elasticips: bgp_type: make the db column nullable
It's nullable previously, and alter table NOT NULL will error out on
NULL column value
2020-10-22 20:56:35 +08:00
yunion-ci-robot
7cc0ea74a9 Merge pull request #8410 from rainzm/esxi/copy_disk
feat(esxi): copy disk from image when creating vm
2020-10-22 20:33:15 +08:00
yunion-ci-robot
abeddc49cc Merge pull request #8426 from ioito/hotfix/qx-rds-expired-sync
fix: 避免冲掉设置的到期释放时间
2020-10-22 20:13:25 +08:00
yunion-ci-robot
3e1599b4dc Merge pull request #8416 from lvyangyang/fix/qcloud_dns_all_project
fix:get all project dns resource
2020-10-22 20:11:16 +08:00
yunion-ci-robot
e4be550a86 Merge pull request #8430 from tb365/feature/tb-qcloud-elb-support-multi-zones
Feature/tb qcloud elb support multi zones
2020-10-22 20:10:16 +08:00
yunion-ci-robot
ffcca38512 Merge pull request #8437 from rainzm/fix/snapshotpolicylist
SnapshotPolicy Display and Sync
2020-10-22 20:07:18 +08:00
rainzm
bd4851c9f9 refactor(region): faster list for cachedimage
修改之前:
诸如provider, zone, host_schedtag_id, valid
等过滤条件,是通过过滤出符合条件的 storagecachedimage 然后使用 cachedimage_id 来过滤 cachedimge,
问题是,每一个过滤条件都会独立的去执行上面的过程,这样同样的查询可能要经过很多次,并且如果遇到
弱的过滤条件,比如 valid ,过滤出来的 storagecachedimage
非常之多,然后在使用 cachedimage_id 去过滤 cachedimage,会非常慢。

修改之后:
过滤条件的相似的逻辑合并起来,只需要向 subQuery 中添加 filter,使用 subQuery 一次把 storagecachedimage
过滤出来,然后使用 cachedimage_id 过滤 cachedimage。
2020-10-22 20:05:49 +08:00
rainzm
213d495a3d fix: don't update NextSyncTime when snapshots that should be added has not 2020-10-22 19:35:19 +08:00
rainzm
a2d221685e fix(region): init NextSyncTimeiwhen create snapshotpolicydisks 2020-10-22 19:34:45 +08:00
rainzm
92d862b17d fix(region): add suffix 'display' for time_points and repeat_weekdays
TimePoints and RepeatWeekdays in SnapshotPolicyDetails is duplicated
with thess in SnapshotPolicy, which result in the fault of reponse for
request GET.
2020-10-22 19:33:55 +08:00
TangBin
f86dc52e90 qcloud elb supplort multi zones 2020-10-22 16:01:42 +08:00
TangBin
69e0ae9ded climc lb-create add parameter zone1 2020-10-22 15:51:32 +08:00
TangBin
e6af8ad2c4 qcloud elb support multi zones 2020-10-22 15:38:48 +08:00
Qu Xuan
98bd229b33 fix: 避免冲掉设置的到期释放时间 2020-10-22 15:37:54 +08:00
yunion-ci-robot
0d272fab28 Merge pull request #8407 from wanyaoqi/bugfix/wyq/fix-informer-backend
bugfix: fix informer set backend
2020-10-22 15:04:16 +08:00
yunion-ci-robot
45058b338c Merge pull request #8417 from ioito/hotfix/qx-secgroup-quota
fix: secgroup quota support
2020-10-22 14:56:13 +08:00
yunion-ci-robot
cbc967c965 Merge pull request #8419 from ioito/hotfix/qx-lb-quota
fix: add lb quota check
2020-10-22 14:45:14 +08:00
yunion-ci-robot
e7676f103b Merge pull request #8420 from ioito/hotfix/qx-rds-quota
fix: add rds quota check
2020-10-22 14:42:13 +08:00
yunion-ci-robot
23a69e36a7 Merge pull request #8423 from ioito/hotfix/qx-aliyun-region
fix: add aliyun new region
2020-10-22 14:31:17 +08:00
Qu Xuan
80b0ed3ccd fix: add aliyun new region 2020-10-22 11:50:53 +08:00
Qu Xuan
adcce7538d fix: secgroup quota support 2020-10-21 21:29:11 +08:00
Qu Xuan
f74e345b02 fix: add rds quota check 2020-10-21 21:24:50 +08:00
Qu Xuan
5e4cc33146 fix: add lb quota check 2020-10-21 21:18:29 +08:00
lvyangyang
efa5a8495a fix:get all project dns resource 2020-10-21 18:16:44 +08:00
rainzm
937bf4513b feat(esxi): copy disk from image when creating vm
Before, we use delta disk based on vmdk in image_cache when creating vm.
In theory, creating a machine like this is faster and occupies less storage.
However, it may also affect performance and definitely cannot change the
size of the system disk.

Now, we copy disk from vmdk in image_cache to solve above questions.
2020-10-21 14:14:24 +08:00
yunion-ci-robot
4e1e4e29fd Merge pull request #8404 from rainzm/notify/client
Verified webconsole and IntelliNotify
2020-10-21 10:51:14 +08:00
yunion-ci-robot
642ddcaba6 Merge pull request #8349 from ioito/hotfix/qx-huawei-clirc
fix: huawei clirc region not correct
2020-10-21 01:01:13 +08:00
rainzm
c12b276ea1 feat(notify): add IntelliNotify
IntelliNotify will try to create receiver nonexistent if createReceiver is set to true
2020-10-20 20:34:35 +08:00
rainzm
fbc951330c fix(notify): add AllOkContactTypes in where permanently enabled and verified ContactType 2020-10-20 20:29:21 +08:00
yunion-ci-robot
418e3e5990 Merge pull request #8193 from ioito/feature/qx-qcloud-rds
feature: add qcloud rds support
2020-10-20 18:58:12 +08:00
Zexi Li
135b080631 Merge pull request #8400 from wanyaoqi/bugfix/wyq/fix-fetch-customize-columns
bugfix: fix fetch customize columns
2020-10-20 18:52:29 +08:00
wanyaoqi
cb45349ec4 fix fetch customize columns 2020-10-20 18:42:39 +08:00
wanyaoqi
128ec17741 fix informer backend 2020-10-20 17:45:25 +08:00
Qu Xuan
f776054187 feature: add qcloud rds support 2020-10-20 17:40:53 +08:00
Zexi Li
1b967e9595 Merge pull request #8338 from tb365/feature/tb-add-aliyun-finance-env
add aliyun finance environment
2020-10-20 13:31:43 +08:00
yunion-ci-robot
bff1066744 Merge pull request #8258 from rainzm/snapshot/sync
feat: add a retry mechanism to AutoSyncExtDiskSnapshot
2020-10-20 13:31:13 +08:00
Zexi Li
a5872c0ab3 Merge pull request #8395 from tb365/bugfix/tb-bugfix-201020
lbcert delete bugfix
2020-10-20 13:28:21 +08:00
Zexi Li
9ec68e0b8d Merge pull request #8397 from zexi/hotfix/alert-resource
fix: monitor commonalert not detach alert resource
2020-10-20 13:26:38 +08:00
Zexi Li
06a30edcf8 fix: monitor commonalert not detach alert resource 2020-10-20 13:19:49 +08:00
Zexi Li
95bba5df0b Merge pull request #8392 from rainzm/fix/snapshotpolicy2
Fix of snapshotpolicy
2020-10-20 11:49:24 +08:00
rainzm
f6844e3c6d feat: use details data to cover obj data in FetchCustomizeColumns 2020-10-20 11:19:44 +08:00
TangBin
05f1900a26 lbcert delete bugfix 2020-10-20 11:19:41 +08:00
yunion-ci-robot
2bc39203ea Merge pull request #8227 from yousong/feature/yousong-eip-isp
Feature/yousong eip bgp type
2020-10-20 11:00:16 +08:00
yunion-ci-robot
e36936c4f5 Merge pull request #8381 from lvyangyang/lyy/update_metadata
set resource tags
2020-10-20 10:57:12 +08:00
lvyangyang
3a73eb9e30 resource tags 2020-10-20 10:16:38 +08:00
rainzm
2f6678f9a7 fix(region): compute binded disk count when deleting snapshotpolicy 2020-10-20 09:56:45 +08:00
yunion-ci-robot
bb1cc41b24 Merge pull request #8390 from zhaoxiangchun/bugfix/zxc-commonalert
bugfix: commonalert
2020-10-19 23:18:12 +08:00
zhaoxiangchun
444ff1901d bugfix: commonalert
1.报警消息中取消返回sql信息
2.commonalert 中支持top bottom 结构influxdb 查询
2020-10-19 23:05:27 +08:00
yunion-ci-robot
018881d6c2 Merge pull request #8357 from zhaoxiangchun/bugfix/zxc-qcloud-pullmetric
bugfix: qcloud pull metric
2020-10-19 22:36:12 +08:00
yunion-ci-robot
14f5b471ba Merge pull request #8346 from zexi/feature/alert-resource
monitor: add alert resource
2020-10-19 22:12:12 +08:00
zhaoxiangchun
26965521f2 bugfix: qcloud pull metric
get请求中增加region参数
2020-10-19 22:10:33 +08:00
yunion-ci-robot
85d79721c8 Merge pull request #8379 from yousong/feature/yousong-logger-action
Feature/yousong logger action
2020-10-19 22:06:12 +08:00
Zexi Li
31cf935dac monitor: add alert resource 2020-10-19 22:05:39 +08:00
Zexi Li
6fcdc49832 Merge pull request #8388 from wanyaoqi/bugfix/wyq/remove-try-set-informer-backend
bugfix: remove try set informer backend
2020-10-19 22:02:35 +08:00
wanyaoqi
917a62c142 remove try set informer backend 2020-10-19 21:32:26 +08:00
Zexi Li
32cacf0f34 Merge pull request #8385 from wanyaoqi/bugfix/wyq/update-raid-state-to-lower-case
telegraf-raid-plugin: update raid state to lower case
2020-10-19 20:59:56 +08:00
yunion-ci-robot
6e6ebae520 Merge pull request #8383 from wanyaoqi/bugfix/wyq/keystone-init-etcd-backend
bugfix: keystone init etcd backend
2020-10-19 20:58:14 +08:00
yunion-ci-robot
06152cb590 Merge pull request #8382 from lvyangyang/fix/vpc_peer_error_wrap
fix:qcloud vpc peer  error  wrap
2020-10-19 20:10:11 +08:00
wanyaoqi
de03ab9397 telegraf-raid-plugin: update raid state to lower case 2020-10-19 20:09:46 +08:00
wanyaoqi
5f5090038b keystone init etcd backend 2020-10-19 20:03:02 +08:00
rainzm
5e82a7e506 feat: add a retry mechanism to AutoSyncExtDiskSnapshot 2020-10-19 20:01:51 +08:00
yunion-ci-robot
72ef0c5476 Merge pull request #8344 from rainzm/notify/webhook
Notify/webhook
2020-10-19 18:24:12 +08:00
Zexi Li
6526122f08 Merge pull request #8337 from swordqiu/hotfix/qj-cancel-pending-delete-should-add-quota-usages
fix: cancel pending-delete should increase resource quota usages
2020-10-19 17:43:55 +08:00
lvyangyang
bb4e09aee7 fix:qcloud vpc peer error wrap 2020-10-19 17:24:48 +08:00
yunion-ci-robot
53df123d4c Merge pull request #8340 from rainzm/fix/valid_cachedimage
feat: add valid filter for cachedimage list
2020-10-19 17:12:11 +08:00
rainzm
18fdfad79e feat: add valid filter for cachedimage list
Use the 'valid' switch to control whether to filter out
the cachedimage corresponding to invalid storage
2020-10-19 16:26:03 +08:00
Yousong Zhou
e4cef880a3 logger: actionlog: i18n for distinct-field 2020-10-19 16:21:36 +08:00
Yousong Zhou
c1468105f8 cloudcommon: db: GET: i18n for result of get property calls 2020-10-19 16:21:36 +08:00
Yousong Zhou
d639b0a84c cloudcommon: db: add man.GetI18N 2020-10-19 16:21:36 +08:00
Yousong Zhou
d6243fbc6a cloudcommon: db: modelbase: distinct-field: readability change 2020-10-19 16:21:36 +08:00
Yousong Zhou
d8887266ae logger: actionlog: readability change 2020-10-19 16:21:36 +08:00
Qiu Jian
2486aa3071 fix: cancel pending-delete should increase resource quota usages 2020-10-19 16:02:50 +08:00
rainzm
541128d37b feat(region): call NotifyWebhook in the life cycle of guests 2020-10-19 16:00:16 +08:00
rainzm
264b9ef39f feat: add NotifyWebhook in notifyclient 2020-10-19 16:00:12 +08:00
yunion-ci-robot
0ffda5712a Merge pull request #8361 from swordqiu/hotfix/qj-not-lock-guest-after-lock-eip
fix: do not lock guest after lock eip, to prevent possible dead lock
2020-10-19 15:20:12 +08:00
yunion-ci-robot
785283e3f3 Merge pull request #8353 from swordqiu/hotfix/qj-reduce-change-config-logs
fix: reduce change config logs
2020-10-19 15:19:16 +08:00
yunion-ci-robot
cb93bdcb95 Merge pull request #8347 from swordqiu/hotfix/qj-remote-update-metadata-loop
fix: remote update metadata may cause metadata update loop
2020-10-19 15:18:18 +08:00
yunion-ci-robot
3b2f7ee30d Merge pull request #8350 from swordqiu/hotfix/qj-missing-authenticate-log
fix: missing authenticate action log for user web login
2020-10-19 15:17:12 +08:00
Zexi Li
c954f8223d Merge pull request #8366 from ioito/hotfix/qx-rds-usage
fix: add rds cpu and memory usage
2020-10-19 15:11:46 +08:00
Zexi Li
96e7c75746 Merge pull request #8373 from ioito/hotfix/qx-google-storage
fix: 新增google存储类型
2020-10-19 15:11:03 +08:00
Zexi Li
f6ce91c681 Merge pull request #8369 from ioito/hotfix/qx-worker-fix
fix: use correct worker
2020-10-19 15:09:52 +08:00
Qu Xuan
f7b16c592f fix: 新增google存储类型 2020-10-19 12:05:18 +08:00
yunion-ci-robot
93d682503e Merge pull request #8355 from wanyaoqi/feature/wyq/fix-sync-storage-info-duration
host: fix sync storage info duration'
2020-10-19 11:57:12 +08:00
rainzm
2e094a310a feat(notify): allow empty receivers for robot or webhook contact type 2020-10-19 11:56:50 +08:00
Qiu Jian
adbf513167 fix: missing authenticate action log for user web login 2020-10-19 11:53:26 +08:00
Qiu Jian
d681a148df fix: reduce change config logs 2020-10-19 11:51:04 +08:00
Qiu Jian
20f3feaabc fix: remote update metadata may cause metadata update loop 2020-10-19 11:45:44 +08:00
Qiu Jian
0466b2c805 fix: do not lock guest after lock eip, to prevent possible dead lock 2020-10-19 11:42:28 +08:00
Qu Xuan
dc8086b3c2 fix: use correct worker 2020-10-19 11:41:25 +08:00
Qu Xuan
d7ae0eaa8d fix: add rds cpu and memory usage 2020-10-19 11:22:06 +08:00
Yousong Zhou
bc898e9e3b climc: eip ops by bgp type 2020-10-19 10:53:17 +08:00
Yousong Zhou
59dd8a0e29 eip: create by BgpType 2020-10-19 10:53:17 +08:00
Yousong Zhou
258ceb7ba8 networks: add field BgpType 2020-10-19 10:53:17 +08:00
Yousong Zhou
b7c3959e04 vendor: update yunion.io/x/sqlchemy 2020-10-19 10:53:17 +08:00
yunion-ci-robot
db9872e9fa Merge pull request #8358 from yousong/bugfix/yousong-build
.circleci: build: make with parallel level 2
2020-10-19 10:50:17 +08:00
Yousong Zhou
47fd7fb27e .circleci: build: make with parallel level 2 2020-10-19 10:27:55 +08:00
wanyaoqi
4b09751f56 host: fix sync storage info duration' 2020-10-18 01:01:00 +08:00
Qu Xuan
3d70213220 fix: huawei clirc region not correct 2020-10-17 18:56:36 +08:00
yunion-ci-robot
fe2ecd15ca Merge pull request #8332 from rainzm/esxi/lockstorage
Feats for ESXi
2020-10-17 18:22:10 +08:00
rainzm
012d9b1588 feat(notify): support webhook contact type 2020-10-17 18:03:19 +08:00
rainzm
2679294529 refactor: find the most suitable storage 2020-10-17 17:38:39 +08:00
rainzm
93df31a97f feat(esxiagent): try to customize vm if deployfs failed 2020-10-17 17:38:39 +08:00
rainzm
10f0f07bdb feat: support lock storage from selected cachedimage 2020-10-17 17:38:37 +08:00
TangBin
2032e5f1d1 add aliyun finance environment 2020-10-17 17:22:35 +08:00
yunion-ci-robot
b43c3780b8 Merge pull request #8325 from wanyaoqi/feature/wyq/report-raid-info
telegraf raid plugin
2020-10-17 13:49:47 +08:00
wanyaoqi
225f3b21c1 telegraf raid plugin 2020-10-17 10:59:19 +08:00
Zexi Li
928f6c9c0b Merge pull request #8304 from swordqiu/feature/qj-qcloud-update-metadata-name
Feature/qj qcloud update metadata name
2020-10-16 23:43:53 +08:00
Qiu Jian
e967dd7d6a feature: remote update qcloud instance metadata and name 2020-10-16 21:40:35 +08:00
Qiu Jian
38abe9b45d feature: qcloud create VM with tags 2020-10-16 21:37:28 +08:00
yunion-ci-robot
d7d90af6b5 Merge pull request #8334 from rainzm/cachedimage/filter
fix(compute): filter cachedimage with health storage
2020-10-16 19:42:47 +08:00
rainzm
625bf23569 fix(compute): filter cachedimage with health storage 2020-10-16 18:29:02 +08:00
Zexi Li
50ee78cf6a Merge pull request #8330 from ioito/hotfix/qx-instance-hostname
fix: hostname for instance
2020-10-16 17:43:12 +08:00
Qu Xuan
65582cab95 fix: hostname for instance 2020-10-16 17:12:17 +08:00
yunion-ci-robot
cfbb8458ee Merge pull request #8323 from zhasm/hotfix/rex-clean-alpine-build-cache
remove alpine build cache before make image
2020-10-16 15:13:44 +08:00
yunion-ci-robot
d6734576a9 Merge pull request #8326 from zexi/hotfix/images-distinct-field
fix: get images distinct field
2020-10-16 14:31:34 +08:00
yunion-ci-robot
6be508b701 Merge pull request #8321 from ioito/hotfix/qx-dnszone-sync-records
fix: sync dns records after sync vpcs
2020-10-16 12:53:31 +08:00
Zhang Dongliang
0619d3566f remove alpine build cache before make image 2020-10-16 11:59:33 +08:00
Zexi Li
f14ec60a76 fix: get images distinct field 2020-10-16 11:59:23 +08:00
yunion-ci-robot
99dc8ce1fe Merge pull request #8319 from swordqiu/hotfix/qj-resolve-with-meta-filter-conflict
fix: resolve with_meta filter conflict
2020-10-16 11:38:32 +08:00
Qu Xuan
914b76069f fix: sync dns records after sync vpcs 2020-10-16 10:40:18 +08:00
yunion-ci-robot
70c755068c Merge pull request #8314 from rainzm/esxi/joindvpg
feat(esxi): do not specify portkey in NewVNIC
2020-10-16 10:38:35 +08:00
Qiu Jian
cc7423d558 fix: resolve with_meta filter conflict 2020-10-16 10:30:02 +08:00
rainzm
8553f90248 feat(esxi): do not specify portkey in NewVNIC 2020-10-16 08:22:05 +08:00
yunion-ci-robot
f9be2999c6 Merge pull request #8312 from swordqiu/feature/qj-filter-storage-by-image
feature: filter storages by image
2020-10-15 23:08:34 +08:00
yunion-ci-robot
ae005ea860 Merge pull request #8308 from ioito/hotfix/qx-secgroup-rule-sync
fix: 避免并发同步安全组导致规则混乱
2020-10-15 22:59:34 +08:00
Qiu Jian
6abd9b0e92 feature: filter storages by image 2020-10-15 22:51:56 +08:00
Qu Xuan
0e3f781003 fix: 避免并发同步安全组导致规则混乱 2020-10-15 22:26:23 +08:00
yunion-ci-robot
17ea4ddafe Merge pull request #8305 from zexi/hotfix/remove-utf8-stringutils
stringutils2: add RemoveUtf8Strings func
2020-10-15 21:44:32 +08:00
Zexi Li
f0cc1d3d1a stringutils2: add RemoveUtf8Strings func 2020-10-15 19:33:18 +08:00
Zexi Li
fc15772ab6 Merge pull request #8302 from swordqiu/hotfix/qj-filter-resource-by-metadata
fix: allwo filter resource by with-meta and with-user-meta filter
2020-10-15 15:17:02 +08:00
Zexi Li
8cfc2f32f1 Merge pull request #8299 from ioito/hotfix/qx-rds-sku-filter-by-provider
fix: support filter rds sku by provider
2020-10-15 15:15:54 +08:00
Qiu Jian
c4d30371ef fix: allwo filter resource by with-meta and with-user-meta filter 2020-10-15 14:46:08 +08:00
Qu Xuan
0dc485d589 fix: support filter rds sku by provider 2020-10-15 14:28:52 +08:00
yunion-ci-robot
ac6a7a9685 Merge pull request #8297 from swordqiu/hotfix/qj-filter-role-assignment-with-project-domains
fix: filter role assignments by project domains id or name
2020-10-15 14:25:33 +08:00
yunion-ci-robot
39ead9fb61 Merge pull request #8294 from ioito/hotfix/qx-huawei-disk-v2-api
fix: use new api
2020-10-15 14:24:34 +08:00
yunion-ci-robot
0c34fb9939 Merge pull request #8289 from lvyangyang/fix/openstack_lbb_backend
fix:openstack lb 后端ip无法映射到主机的异常处理
2020-10-15 14:22:37 +08:00
yunion-ci-robot
97fe7be808 Merge pull request #8265 from rainzm/esxi/template_hack
sync and use of ESXi template
2020-10-15 13:13:30 +08:00
Qiu Jian
e2e186a754 fix: filter project role with system=true 2020-10-15 13:06:45 +08:00
Qiu Jian
b2add97a0d fix: filter role assignments by project domains id or name 2020-10-15 13:01:00 +08:00
Qu Xuan
db6846aab0 fix: use new api 2020-10-15 11:30:27 +08:00
rainzm
7ab4decab3 feat: add 'vlan_id' param when creating network 2020-10-15 10:48:36 +08:00
rainzm
335c8eecc0 feat: change templateid as <providerId>/<uuid> in esxi 2020-10-15 10:48:36 +08:00
Rain
281d1c45df fix: support fake tempalte when searching template vm 2020-10-15 10:48:00 +08:00
yunion-ci-robot
02d97f652b Merge pull request #8290 from ioito/hotfix/qx-qcloud-secgroup
fix: 优化安全组规则同步
2020-10-15 09:09:30 +08:00
Qu Xuan
efa5978cf6 fix: 优化安全组规则同步 2020-10-14 21:04:18 +08:00
lvyangyang
415ef08661 fix:openstack lb 后端ip无法映射到主机的异常处理 2020-10-14 18:24:01 +08:00
yunion-ci-robot
f898079c11 Merge pull request #8284 from swordqiu/feature/qj-qcloud-creae-vm-with-tags
feature: qcloud create VM with tags
2020-10-14 17:50:29 +08:00
yunion-ci-robot
0816bb0fc4 Merge pull request #8287 from wanyaoqi/bugfix/wyq/distinguish-between-float32-and-float64-on-json-marshal
fix: replace NewFloat by NewFloat64 and NewFloat32
2020-10-14 16:52:32 +08:00
Qiu Jian
ddefc2ab34 feature: qcloud create VM with tags 2020-10-14 15:21:21 +08:00
wanyaoqi
1cfee7cf6c replace NewFloat by NewFloat64 and NewFloat32 2020-10-14 11:54:30 +08:00
wanyaoqi
63887337fd make mode 2020-10-14 11:39:04 +08:00
yunion-ci-robot
41542b7c98 Merge pull request #8281 from ioito/hotfix/qx-bucket-sync-project
fix: sync huawei bucket project info
2020-10-14 10:51:31 +08:00
yunion-ci-robot
5a969fcae3 Merge pull request #8264 from ioito/hotfix/qx-instance-public-ip
fix: support public ip create
2020-10-14 10:50:30 +08:00
yunion-ci-robot
454e453359 Merge pull request #8275 from lvyangyang/fix/aliyun_timeout_retry
fix:aliyun jsonRequest 增加i/o timeout retry
2020-10-14 10:47:29 +08:00
yunion-ci-robot
502bf73105 Merge pull request #8253 from ioito/hotfix/qx-qcloud-bandwidth
fix: qcloud eip with bandwidth attr
2020-10-14 10:44:30 +08:00
yunion-ci-robot
0d66d35ad2 Merge pull request #8231 from wanyaoqi/feature/wyq/add-interface-freeze-virtual-resource
region: add interface freeze virtual resource
2020-10-14 10:42:30 +08:00
Qu Xuan
4b1d914b83 fix: sync huawei bucket project info 2020-10-13 20:47:08 +08:00
Qu Xuan
02ec88ccc6 fix: support public ip create 2020-10-13 20:00:00 +08:00
Zexi Li
243f4af95f Merge pull request #8270 from ioito/hotfix/qx-qcloud-bandwidth-user
fix: 支持带宽包用户
2020-10-13 17:34:20 +08:00
Zexi Li
dd2ab45d11 Merge pull request #8267 from ioito/hotfix/qx-google-new-region
fix: trans google new region name
2020-10-13 17:34:02 +08:00
yunion-ci-robot
90b1d0a524 Merge pull request #8278 from wanyaoqi/bugfix/wyq/fix-host-deployer-base-image
update host-deployer base image
2020-10-13 17:09:30 +08:00
yunion-ci-robot
27a38b6c74 Merge pull request #8276 from zhasm/hotfix/rex-docker-push-mkdir
在 docker push 脚本里创建_output 目录,以便容错
2020-10-13 17:01:30 +08:00
wanyaoqi
bc26bdb8fb fix host-deployer base image 2020-10-13 16:57:48 +08:00
lvyangyang
93365de62e fix:aliyun jsonRequest 增加i/o timeout retry 2020-10-13 16:55:31 +08:00
Zhang Dongliang
4be578fc2f 在 docker push 脚本里创建_output 目录,以便容错 2020-10-13 16:46:29 +08:00
yunion-ci-robot
833e57bf95 Merge pull request #8273 from zhasm/hotfix/rex-rex-fix-root-ownership-dockerpush
在 docker push 脚本里创建_output 目录,以便容错
2020-10-13 16:18:30 +08:00
Zhang Dongliang
1f7988ecd7 在 docker push 脚本里创建_output 目录,以便容错 2020-10-13 15:36:27 +08:00
Qu Xuan
f3c819299f fix: 支持带宽包用户 2020-10-13 15:32:40 +08:00
Qu Xuan
17ff08282b fix: trans google new region name 2020-10-13 14:14:05 +08:00
rainzm
e43c86586b fix(esxiagent): check whether regexp is nil 2020-10-13 13:02:17 +08:00
rainzm
d618f61c16 feat(esxiagent): keep data disks when cloning vm 2020-10-13 13:01:14 +08:00
Qu Xuan
b32c54f7cf fix: qcloud eip with bandwidth attr 2020-10-13 10:41:31 +08:00
yunion-ci-robot
8855dff371 Merge pull request #8188 from ioito/hotfix/qx-qcloud-secgroup-name
fix: avoid qcloud secgroup cache name not sync
2020-10-13 10:35:28 +08:00
Zexi Li
e8442294f4 Merge pull request #8228 from yousong/bugfix/yousong-eip-opslog
Bugfix/yousong eip opslog
2020-10-13 10:13:26 +08:00
yunion-ci-robot
db55ef3e04 Merge pull request #8242 from zexi/hotfix/baremetal-pxe-filter-network
baremetal: fix pxe filter network by guest_dhcp
2020-10-13 10:12:29 +08:00
Zexi Li
5018b091fb Merge pull request #8232 from rainzm/esxi/template_fix1
Fix for ESXi Template
2020-10-13 10:06:06 +08:00
Zexi Li
6c8505a736 Merge pull request #8210 from ioito/hotfix/qx-secgroup-purge
fix: validate secgroup purge condition
2020-10-13 10:02:54 +08:00
Zexi Li
ea62a72232 Merge pull request #8234 from swordqiu/feature/qj-session-level-auth-cookie
feature: allow session level yunion_auth cookie
2020-10-13 10:01:51 +08:00
Zexi Li
8035ea0d77 Merge pull request #8246 from swordqiu/hotfix/qj-output-details-wrong-project-id
fix: project_id in resource details not correct
2020-10-13 10:00:06 +08:00
Zexi Li
54f75d3890 Merge pull request #8248 from ioito/hotfix/qx-qcloud-instance-bandwidth
fix: qcloud instance with max bandwidth
2020-10-13 09:57:12 +08:00
yunion-ci-robot
9dd48de668 Merge pull request #8256 from zhasm/hotfix/rex-fix-root-ownership
解决编译之后 output 的 owerner 问题
2020-10-12 19:22:27 +08:00
Yousong Zhou
b44ac491c1 eip: NewEipForVMOnHost: add opslog 2020-10-12 18:23:20 +08:00
Yousong Zhou
83f5a38c2a eip: construct a pointer type 2020-10-12 18:23:20 +08:00
Zhang Dongliang
54f86817d1 解决编译之后 output 的 owerner 问题 2020-10-12 18:11:21 +08:00
rainzm
bffa601dc4 fix(esxi): use system disk of template only when cloning vm
1. Create a driver if necessary.
2. After cloning the virtual machine, remove all data disks.
3. Create new data disks.
2020-10-12 17:30:46 +08:00
rainzm
d4c9e6e562 fix(esxi): search template from whole vCenter 2020-10-12 17:30:46 +08:00
Qu Xuan
bb62c03923 fix: qcloud instance with max bandwidth 2020-10-12 16:28:57 +08:00
yunion-ci-robot
8e9617ac8c Merge pull request #8252 from lvyangyang/fix/vpc_peering_httperror
fix: vpc peering http error params
2020-10-12 16:24:27 +08:00
yunion-ci-robot
749dabc7ca Merge pull request #8237 from swordqiu/hotfix/qj-pass-make-test-20201011
fix: format errors that block make test
2020-10-12 16:09:23 +08:00
lvyangyang
db7d32cd17 fix: vpc peering http error params 2020-10-12 15:22:53 +08:00
yunion-ci-robot
11a56c10ff Merge pull request #8235 from swordqiu/hotfix/qj-clean-pending-domain-usage
fix: not clean pending domain usage
2020-10-12 15:04:21 +08:00
yunion-ci-robot
a8eb402687 Merge pull request #8126 from rainzm/esxi/ip
Feats for ESXi Manage
2020-10-12 15:01:18 +08:00
rainzm
a4527aec5d feat: add vlanId for suggested network 2020-10-12 14:24:24 +08:00
yunion-ci-robot
26b54923b9 Merge pull request #7952 from lvyangyang/vpc-peering-connection
Vpc peering connection
2020-10-12 14:21:18 +08:00
Qiu Jian
187dee690e fix: project_id in resource details not correct 2020-10-12 14:18:02 +08:00
yunion-ci-robot
95cd5d5d3a Merge pull request #8238 from swordqiu/hotfix/qj-ldap-sync-not-update-email-phone
fix: ldap sync not update user's phone and email
2020-10-12 11:54:19 +08:00
Zexi Li
129001dfb4 baremetal: fix pxe filter network by guest_dhcp 2020-10-12 11:34:30 +08:00
lvyangyang
bd22eb0b16 add: vpc peering connection 2020-10-12 10:34:23 +08:00
rainzm
48940c77ae feat(esxi): support fake template vm via regex filter 2020-10-12 10:12:58 +08:00
rainzm
e0aa673575 feat: filter esxi ip by CIDR 2020-10-12 10:12:55 +08:00
Qiu Jian
13fa3c2999 fix: ldap sync not update user's phone and email 2020-10-11 05:42:51 +08:00
Qiu Jian
5e5b0613f8 fix: format errors that block make test 2020-10-11 05:12:34 +08:00
Qiu Jian
624c4db06f fix: not clean pending domain usage 2020-10-11 04:33:08 +08:00
Qiu Jian
2a6445c31b feature: allow session level yunion_auth cookie 2020-10-11 03:09:11 +08:00
rainzm
fc6a30b209 feat(region): make address recommendations more precise
1. 虚拟机的网络推荐不再是一整个C段网络,而是存在的连续IP组成的网段,
这样更准确,用户可以根据自己的需要,合并或者扩充建议的网段
2. 使用 DefaultNetworkGatewayAddressEsxi 来配置子网默认的网关地址。
2020-10-10 20:48:23 +08:00
rainzm
4b860cb43e feat: add 'ip-list' for esxicli 2020-10-10 20:48:20 +08:00
wanyaoqi
e64fe802e0 genreate api models 2020-10-10 20:07:22 +08:00
wanyaoqi
dcdf45d184 add interface freeze virtual resource 2020-10-10 20:07:11 +08:00
yunion-ci-robot
4e901bda63 Merge pull request #8194 from rainzm/esxiagent/fix_nil
fix(esxi): check nil value when NewVirtualMachine
2020-10-10 19:03:48 +08:00
yunion-ci-robot
ed522b4c8b Merge pull request #8214 from tb365/bugfix/tb-bugfix-101001
remove aws lbbg cache metedata
2020-10-10 18:54:19 +08:00
yunion-ci-robot
91a7e10e88 Merge pull request #8213 from zhaoxiangchun/bugfix/zxc-commonalert
Bugfix/zxc commonalert
2020-10-10 17:11:18 +08:00
yunion-ci-robot
d4b70586c2 Merge pull request #8225 from zhasm/hotfix/rex-esxi-agent-arm64-patch
esxi-agent 编译方式兼容 arm64
2020-10-10 16:20:46 +08:00
rex zhasm
343b718b5b Merge branch 'master' into hotfix/rex-esxi-agent-arm64-patch 2020-10-10 16:10:03 +08:00
yunion-ci-robot
7bebf9007a Merge pull request #8218 from yousong/bugfix/yousong-webconsole-ssh-compat
Bugfix/yousong webconsole ssh compat
2020-10-10 15:34:51 +08:00
Zhang Dongliang
eda8be1be8 esxi-agent 编译方式兼容 arm64 2020-10-10 14:56:59 +08:00
zhaoxiangchun
3d9923a7c0 Add web url to alarm template 2020-10-10 14:50:00 +08:00
zhaoxiangchun
c0eae040a8 bugfix:scoperesource FilterByOwner
1.调度标签 和 优化建议 FilterByOwner 逻辑调整
2020-10-10 14:50:00 +08:00
Yousong Zhou
aa6e45e4d9 webconsole: ssh: add keyboard-interactive as an option
For ESXi 6.0

  Authentications that can continue: publickey,keyboard-interactive
2020-10-10 14:39:02 +08:00
Yousong Zhou
cce2af5010 webconsole: ssh: each argument on its own line 2020-10-10 14:39:02 +08:00
TangBin
1ce5db7695 remove aws lbbg cache metedata 2020-10-10 14:17:19 +08:00
yunion-ci-robot
046e4e3d6c Merge pull request #8199 from rainzm/cloudaccount/pn_fix
Fix for cloudaccount PrepareNets
2020-10-10 13:44:11 +08:00
yunion-ci-robot
0fb262783d Merge pull request #8189 from wanyaoqi/feature/wyq/support-list-macs
region: guest detail add field macs
2020-10-10 12:15:08 +08:00
yunion-ci-robot
8b0217051d Merge pull request #8207 from ioito/hotfix/qx-instance-hostname
fix: qcloud set hostname for instance
2020-10-10 12:05:07 +08:00
yunion-ci-robot
970523ee15 Merge pull request #8183 from yousong/bugfix/yousong-ovn-dhcp-time
vpcagent: ovn: increase dhcp lease, renew, rebind time
2020-10-10 11:54:09 +08:00
Qu Xuan
6f23593290 fix: validate secgroup purge condition 2020-10-10 11:53:40 +08:00
rainzm
e010c5c1f6 fix: avoid slice out of bounds 2020-10-10 11:50:04 +08:00
Qu Xuan
aa7495c9a6 fix: qcloud set hostname for instance 2020-10-10 11:37:41 +08:00
yunion-ci-robot
1867c15d7b Merge pull request #8205 from swordqiu/hotfix/qj-cached-image-filter-by-host-schedtag
fix: filter cached images with host schedtag
2020-10-10 11:35:09 +08:00
yunion-ci-robot
3dc572ff56 Merge pull request #8202 from swordqiu/hotfix/qj-auto-index-start-from-1
fix: server name auto index should start from 1
2020-10-10 11:35:04 +08:00
rainzm
01ba4b9524 fix(esxi): check nil value when NewVirtualMachine 2020-10-10 11:19:24 +08:00
rainzm
e4217074c3 fix(esxi): filter linkLocalAddress 2020-10-10 10:31:30 +08:00
rainzm
3c59d7fece fix(esxi): check whether some fields of vm are nil 2020-10-10 10:31:25 +08:00
Qiu Jian
1c0c66fd41 fix: filter cached images with host schedtag 2020-10-10 06:54:05 +08:00
Qiu Jian
a08a779edf fix: server name auto index should start from 1 2020-10-10 06:21:09 +08:00
yunion-ci-robot
b11e472706 Merge pull request #8152 from zhasm/hotfix/rex-host-arm64-alpine-base-image
multi-arch 的镜像使用支持 arm64
2020-10-09 12:59:01 +08:00
wanyaoqi
54275ddcf5 region: guest detail add field macs 2020-10-09 11:46:03 +08:00
Qu Xuan
35e57a8336 fix: avoid qcloud secgroup cache name not sync 2020-10-09 10:46:59 +08:00
rex zhasm
86f28388bf Merge branch 'master' into hotfix/rex-host-arm64-alpine-base-image 2020-10-09 10:43:08 +08:00
yunion-ci-robot
65cfd4108f Merge pull request #8176 from zhaoxiangchun/bugfix/zxc-commonalert
modify suggest rule cli
2020-10-09 10:33:59 +08:00
Yousong Zhou
39f979398b vpcagent: ovn: increase dhcp lease, renew, rebind time 2020-10-09 10:07:18 +08:00
yunion-ci-robot
d6d4724e2c Merge pull request #8178 from swordqiu/hotfix/qj-bucket-not-found-error
fix: error code of external bucket not found error should be 404
2020-10-09 09:11:59 +08:00
yunion-ci-robot
1892c37dd7 Merge pull request #8181 from swordqiu/hotfix/qj-network-merge-no-continuous
hotfix: 1. allow merge networks without continuous addresses 2. filter guest_ip_start and guest_ip_end with contains operator
2020-10-09 09:09:00 +08:00
Qiu Jian
6a55acafaf hotfix: 1. allow merge networks without continuous addresses 2. filter
guest_ip_start and guest_ip_end with contains operator
2020-10-07 23:28:12 +08:00
Qiu Jian
6a5fdc5d0d fix: error code of external bucket not found error should be 404 2020-09-30 17:39:55 +08:00
zhaoxiangchun
af9e911fd0 modify suggest rule cli
1.增加perform config方法,方便修改默认规则:执行周期,扫描窗口的属性
2020-09-30 17:15:28 +08:00
yunion-ci-robot
bc16b008c4 Merge pull request #8173 from yousong/bugfix/yousong-dns-strict-sub
dns: isMyDomain: match only strict subdomain of dns_domain
2020-09-30 16:32:48 +08:00
yunion-ci-robot
b43fa14f8e Merge pull request #8153 from lvyangyang/bugfix/dnsrecord_cname_dup
fix:允许cname record通过policy创建多值
2020-09-30 16:31:50 +08:00
yunion-ci-robot
ad56d53eaf Merge pull request #8168 from swordqiu/hotfix/qj-wire-sync-shared-info
fix: emulated wire not sync vpc shared info
2020-09-30 16:17:47 +08:00
Yousong Zhou
a67026dec0 dns: isMyDomain: match only strict subdomain of dns_domain 2020-09-30 16:14:23 +08:00
yunion-ci-robot
040efbc82d Merge pull request #8171 from ioito/hotfix/qx-dnszone-cache-policy
fix: 允许域管理员可以看到共享的dns zone cache列表
2020-09-30 16:13:47 +08:00
Qu Xuan
24fcccf5f5 fix: 允许域管理员可以看到共享的dns zone cache列表 2020-09-30 15:55:37 +08:00
Qiu Jian
c5cfceeb97 fix: emulated wire not sync vpc shared info 2020-09-30 15:52:05 +08:00
lvyangyang
68283ceedb fix:允许cname record通过policy多值 2020-09-30 12:17:38 +08:00
yunion-ci-robot
c379ab7615 Merge pull request #8163 from swordqiu/hotfix/qj-oidc-auth-response-user-info
fix: oidc response user's info
2020-09-30 12:11:47 +08:00
yunion-ci-robot
906909c0ac Merge pull request #8165 from swordqiu/hotfix/qj-revert-scoped-resource-filter-by-owner
fix: revert filter-by-owner changes of scoped resource
2020-09-30 12:07:51 +08:00
Qiu Jian
be4a76b253 fix: oidc response user's info 2020-09-30 11:54:57 +08:00
Qiu Jian
4e4ea5e6b5 fix: revert filter-by-owner changes of scoped resource 2020-09-30 11:32:06 +08:00
yunion-ci-robot
7b632e0105 Merge pull request #8159 from tb365/bugfix/tb-bugfix-092901
aliyun public elb region fix
2020-09-29 23:28:50 +08:00
yunion-ci-robot
47b2ae9435 Merge pull request #8151 from swordqiu/hotfix/qj-mcclient-readme-sample
add mcclient sample
2020-09-29 20:22:33 +08:00
yunion-ci-robot
fd95290d55 Merge pull request #8145 from lvyangyang/bugfix/public_domain_name_validate
fix:forbid top level public domain name
2020-09-29 20:19:09 +08:00
TangBin
44e9cf0491 aliyun public elb region fix 2020-09-29 20:01:55 +08:00
yunion-ci-robot
8fcc4f12f3 Merge pull request #8076 from zhaoxiangchun/bugfix/zxc-commonalert
bugfix:commonalert
2020-09-29 19:17:34 +08:00
Zhang Dongliang
0b3afa9ebe multi-arch 的镜像使用使用支持 arm64 2020-09-29 19:15:17 +08:00
Zexi Li
c0eb02fb1c Merge pull request #8154 from tb365/bugfix/tb-bugfix-092901
aliyun public elb brand fix
2020-09-29 18:19:25 +08:00
zhaoxiangchun
1c7deaf7b6 bugfix commalert 3.4
1.后端先隐藏rds,redis,oss等相关信息
2.报警通知中规则描述增加单位信息
3.调整优化建议规则相关逻辑
2020-09-29 18:07:59 +08:00
TangBin
d71a1f8670 aliyun public elb brand fix 2020-09-29 16:18:46 +08:00
Zhang Dongliang
65e3900ea4 multi-arch 的镜像使用使用支持 arm64 2020-09-29 14:37:25 +08:00
Qiu Jian
a4bedc7e2e add mcclient sample 2020-09-29 14:24:23 +08:00
yunion-ci-robot
ccb174bd2f Merge pull request #8149 from ioito/hotfix/qx-dns-record-list
fix: allow domain admin view shared dns zone records
2020-09-29 12:23:34 +08:00
yunion-ci-robot
827ba932f1 Merge pull request #8146 from ioito/hotfix/qx-dns-zone-cache-status
fix: avoid sync dns zone cache status is init
2020-09-29 12:20:33 +08:00
Qu Xuan
d45d48806b fix: allow domain admin view shared dns zone records 2020-09-29 11:19:49 +08:00
lvyangyang
4435255f44 fix:forbid top level public domain name 2020-09-29 11:02:39 +08:00
yunion-ci-robot
341ad0c19f Merge pull request #8101 from rainzm/cloudaccount/fix1
fix(region): set ownerId as userCred when can't FetchOwnerId
2020-09-29 10:41:39 +08:00
Qu Xuan
9d76c3e029 fix: avoid sync dns zone cache status is init 2020-09-29 10:38:18 +08:00
yunion-ci-robot
7be60e3314 Merge pull request #8143 from zexi/hotfix/k8s-fed-rolebinding-joint
mcclient modules: fix k8s fed rolebinding joint wrong resource manager
2020-09-29 10:35:36 +08:00
Zexi Li
c7e8287c67 mcclient modules: fix k8s fed rolebinding joint wrong resource manager 2020-09-29 08:25:48 +08:00
yunion-ci-robot
22013a0f36 Merge pull request #8141 from swordqiu/hotfix/qj-filter-storage-by-host-schedtag
fix: filter storages by host schedtag
2020-09-29 01:20:35 +08:00
Qiu Jian
69561b40f5 fix: filter storages by host schedtag 2020-09-29 00:14:06 +08:00
zhaoxiangchun
342706eb74 Merge branch 'master' of https://github.com/yunionio/onecloud into bugfix/zxc-commonalert 2020-09-28 19:05:14 +08:00
yunion-ci-robot
586ed7a4fe Merge pull request #8139 from zhaoxiangchun/bugfix/zxc-esxi-vm-mon
bugfix :esxi 多机器环境下拉取监控超时
2020-09-28 18:27:33 +08:00
zhaoxiangchun
dd6167a1a4 Merge branch 'master' of https://github.com/yunionio/onecloud into bugfix/zxc-commonalert 2020-09-28 18:17:26 +08:00
zhaoxiangchun
6154f46a64 bugfix :esxi 多机器环境下拉取监控超时
1.简化mo.virtualMachine 实体中的属性
2.批量获取cloudprovider下所有的虚拟机的监控信息
2020-09-28 18:07:22 +08:00
Zexi Li
0d6c825ee8 Merge pull request #8137 from zexi/hotfix/host-spec-model
region: host specs replace space char to '_'
2020-09-28 17:46:51 +08:00
Zexi Li
eb093a3459 region: host specs replace space char to '_' 2020-09-28 17:37:18 +08:00
Zexi Li
ed148ce20e Merge pull request #8135 from zexi/hotfix/spec-query-escape
specs: fix specKey url not escape
2020-09-28 17:01:40 +08:00
Zexi Li
bf682f5659 specs: fix specKey url not escape 2020-09-28 16:50:42 +08:00
yunion-ci-robot
459421efb5 Merge pull request #8133 from rainzm/scheduler/fix/instance_group
fix(scheduler): filter InstanceGroup whose enabled is false
2020-09-28 16:40:35 +08:00
yunion-ci-robot
bf90c7900d Merge pull request #8123 from rainzm/notifyclient/fix/template_cache_lang
fix: suffix template cache key
2020-09-28 16:30:33 +08:00
yunion-ci-robot
369dd17ff2 Merge pull request #8086 from lvyangyang/dns_recordset_fix
fix:/dnsrecordset 增加CNAME检查,dnsrecord update的重复检查
2020-09-28 16:28:34 +08:00
Zexi Li
f2b2a13ac0 Merge pull request #8129 from tb365/bugfix/tb-bugfix-092801
aliyun create public lb fix
2020-09-28 16:24:16 +08:00
Rain
ca58fb8d21 fix(scheduler): filter InstanceGroup whose enabled is false 2020-09-28 15:54:12 +08:00
TangBin
2de610a3a6 aliyun create public lb fix 2020-09-28 11:58:54 +08:00
yunion-ci-robot
b4c58ed9a1 Merge pull request #8121 from zexi/hotfix/spec-resource-include-details
region: fix query object by spec not include details
2020-09-27 22:10:37 +08:00
rainzm
5f10a9a39c fix: suffix template cache key 2020-09-27 21:07:11 +08:00
yunion-ci-robot
87fc96e01a Merge pull request #8116 from wanyaoqi/bugfix/wyq/host-storage
bugfix: nfs storage umount on detach
2020-09-27 21:03:36 +08:00
Zexi Li
88514a9fc2 region: fix query object by spec not include details 2020-09-27 20:46:56 +08:00
lvyangyang
ed99a69811 fix:/dnsrecordset重复检查,dnszonevpc数量 2020-09-27 20:21:54 +08:00
yunion-ci-robot
4617602e54 Merge pull request #8114 from swordqiu/hotfix/qj-filter-by-host-schedtag-id
fix: filter cloudprovider/network by host-schedtag-id
2020-09-27 19:56:37 +08:00
wanyaoqi
4ec1727d72 increase rbd check timeout 2020-09-27 18:30:53 +08:00
wanyaoqi
24eaf51210 umount nfs on detach storage 2020-09-27 18:30:17 +08:00
Qiu Jian
23a18a81f4 fix: filter cloudprovider/network by host-schedtag-id 2020-09-27 17:58:25 +08:00
Qu Xuan
ef3d74f4ea fix: 支持公有云域过滤操作日志 2020-09-27 16:53:02 +08:00
yunion-ci-robot
d7585cfdfe Merge pull request #8110 from ioito/hotfix/qx-dns-zonecache-owner
fix: dns zone cache owner info
2020-09-27 16:51:34 +08:00
yunion-ci-robot
41b028f047 Merge pull request #8087 from tb365/bugfix/tb-bugfix-092401
Bugfix/tb bugfix 092401
2020-09-27 15:09:32 +08:00
Zexi Li
d9ef31e424 Merge pull request #8084 from ioito/hotfix/qx-openstack-zone-emulate
fix: openstack zone not emulated
2020-09-27 14:46:49 +08:00
yunion-ci-robot
dbff0300b0 Merge pull request #8109 from swordqiu/hotfix/qj-vpc-schedtag-set-user-metadata
fix: add climc support vpc/schedtag user metadata
2020-09-27 14:46:32 +08:00
Zexi Li
e1793b4a7f Merge pull request #8088 from wanyaoqi/bugfix/wyq/set-stagefail-on-cleanfail
bugfix: set stagefail on clean  snapshot fail
2020-09-27 14:45:51 +08:00
yunion-ci-robot
be109073e6 Merge pull request #8099 from rainzm/esxi/fix5
Fix of Syncing Schedtag
2020-09-27 14:45:33 +08:00
yunion-ci-robot
a7330d1355 Merge pull request #8107 from ioito/hotfix/qx-disk-create-prefer-manager
fix: allow create disk prefer manager
2020-09-27 14:44:35 +08:00
Qu Xuan
a14b4e590e fix: dns zone cache owner info 2020-09-27 14:29:16 +08:00
Qu Xuan
74cb19cd88 fix: allow create disk prefer manager 2020-09-27 14:18:21 +08:00
Qiu Jian
bd122a01fd fix: add climc support vpc/schedtag user metadata 2020-09-27 12:00:23 +08:00
yunion-ci-robot
9c1c21e875 Merge pull request #8059 from ioito/hotfix/qx-batch-create-guest
fix: avoid serial vm creation
2020-09-26 23:18:33 +08:00
yunion-ci-robot
66c5fd4971 Merge pull request #8104 from zexi/hotfix/schedtag-remove-resoruce
region: fix schedtag joint resource master/slave field wrong order
2020-09-26 08:48:31 +08:00
Zexi Li
e3b25201ad Merge pull request #8095 from ioito/hotfix/qx-avoid-clean-storage
fix: avoid purge storages
2020-09-25 20:54:37 +08:00
Zexi Li
0113ec40c2 region: fix schedtag joint resource master/slave field wrong order 2020-09-25 20:49:05 +08:00
rainzm
dbb1d80729 fix(region): set ownerId as userCred when can't FetchOwnerId 2020-09-25 20:33:44 +08:00
rainzm
fc9b61c2a9 fix:(region) correct syncSchedtags
1.把extTagName存到metadata里面,这样就算修改tag的name,也能在metadata里面拿到。
2.已经创建的schedtag就不要重复创建了。
2020-09-25 20:26:46 +08:00
rainzm
370e7723ba fix(esxi): Guarantee the uniqueness of the schedtag for esxi host
Replace 'cluster:<clustername>' with
'cluster:/<cloudprovidername>/<dcname>/<clustername>'.
2020-09-25 20:26:46 +08:00
Qu Xuan
a8996ec9d1 fix: avoid purge storages 2020-09-25 19:14:59 +08:00
wanyaoqi
d13cc99495 set stagefail on clean fail 2020-09-25 18:38:54 +08:00
Zexi Li
96ecfde984 Merge pull request #8075 from ioito/upstream/qx-cross-domain-resource-sync
fix: allow cross doamin resource sync
2020-09-25 16:56:23 +08:00
ioito
a31339f687 fix: openstack zone not emulated 2020-09-25 16:14:12 +08:00
ioito
eaef5a7575 fix: allow cross doamin resource sync 2020-09-25 15:48:54 +08:00
Zexi Li
a88e2f8573 Merge pull request #8077 from ioito/hotfix/qx-account-delete
fix: avoid account delete failed
2020-09-25 12:11:32 +08:00
Zexi Li
f7bb7be6cb Merge pull request #8017 from rainzm/esix/sta
Statistics AutualCapacityUsed for Storage
2020-09-25 12:08:25 +08:00
Zexi Li
e97a4b9e34 Merge pull request #8080 from zexi/hotfix/climc-k8s-sync
climc: add k8s fed resource sync action
2020-09-25 12:06:07 +08:00
TangBin
1d044f7126 huawei client request add throttling control 2020-09-25 12:05:59 +08:00
Zexi Li
594d2f434a Merge pull request #8002 from lvyangyang/openstack_vm_deleted_status
fix: disk delete error
2020-09-25 11:14:51 +08:00
yunion-ci-robot
aaab5c1bb5 Merge pull request #8054 from rainzm/esxi/cluster
Sync cluster for ESXi Host
2020-09-25 11:04:26 +08:00
ioito
8c0776c2ae fix: avoid account delete failed 2020-09-25 10:51:44 +08:00
zhaoxiangchun
6037c84a58 bugfix:commonalert
1.suggestrule cli 调整
2020-09-25 10:41:45 +08:00
rainzm
390cc11e7a feat(region): sync capacityUsed for storage after deploying or deleting guest 2020-09-25 10:33:45 +08:00
rainzm
0bd75b7bc0 feat(region): sync schedtags when syncing host 2020-09-25 10:28:57 +08:00
Zexi Li
1569422ed5 Merge pull request #8056 from ioito/hotfix/qx-google-attach-disk
fix: 仅在可用区故障时可强制挂载磁盘
2020-09-25 01:40:44 +08:00
Zexi Li
df08ea35fc Merge pull request #8013 from lvyangyang/error-info-fix
fix: dns 错误信息补全
2020-09-25 01:39:47 +08:00
Zexi Li
6830851925 Merge pull request #8068 from ioito/hotfix/qx-openstack-keypair
fix: avoid compare err with cloudprovider.ErrNotFound direct
2020-09-25 01:38:15 +08:00
Zexi Li
7561938c1c Merge pull request #8063 from rainzm/cloudaccount/fix/preparenet
fix(region): fetch correct ownerId in PerformPrepareNets
2020-09-24 21:21:37 +08:00
Zexi Li
09f742438f Merge pull request #8071 from ioito/hotfix/qx-sql-err
fix: sql err
2020-09-24 21:19:08 +08:00
ioito
1b91060323 fix: sql err 2020-09-24 20:20:14 +08:00
ioito
cb919f2880 fix: avoid compare err with cloudprovider.ErrNotFound direct 2020-09-24 20:13:44 +08:00
TangBin
d8832a1670 huawei elb get params log 2020-09-24 20:10:40 +08:00
rainzm
0bda9e7514 feat(region): sync CapacityUsed for Storage 2020-09-24 19:55:24 +08:00
rainzm
fd14e7b6c8 feat: add GetCapacityUsedMB for ICloudStorage 2020-09-24 19:55:24 +08:00
rainzm
56d24dfa99 refactor(region): replace 'ActualCapacity' with 'ActualCapacityUsed' 2020-09-24 19:55:24 +08:00
TangBin
35d1553362 qcloud elb create listener fix 2020-09-24 18:31:21 +08:00
Zexi Li
037fa814ff climc: add k8s fed resource sync action 2020-09-24 18:12:21 +08:00
rainzm
60490c75de fix(region): fetch correct ownerId in PerformPrepareNets 2020-09-24 17:22:22 +08:00
TangBin
faeb294d56 huawei snapshot delete fix 2020-09-24 17:02:24 +08:00
ioito
f7010a6d7b fix: avoid serial vm creation 2020-09-24 16:39:56 +08:00
ioito
0a4bd281de fix: 仅在可用区故障时可强制挂载磁盘 2020-09-24 15:31:54 +08:00
rainzm
1cb286080a feat(esxi): add GetSchedtags implementation for esxi.SHost 2020-09-24 15:18:57 +08:00
rainzm
c9039f9478 feat: add GetSchedtags for ICloudHost 2020-09-24 15:17:36 +08:00
yunion-ci-robot
9a7eae6e03 Merge pull request #8049 from zexi/hotfix/climc-k8s-opt
climc: refactor k8s sub command
2020-09-24 10:58:17 +08:00
yunion-ci-robot
392849b6e4 Merge pull request #8007 from rainzm/task/withLang
Fix & Feat of Notify or Lang
2020-09-24 10:43:19 +08:00
yunion-ci-robot
20009e74bc Merge pull request #8051 from zhaoxiangchun/bugfix/zxc-commonalert
commonalert bugfix 3.4
2020-09-24 10:24:19 +08:00
lvyangyang
13823d41e1 wait deleted 2020-09-24 09:54:55 +08:00
Zexi Li
732a0a39f9 Merge pull request #8029 from ioito/hotfix/qx-account-delete
fix: avoid account delete failed
2020-09-23 23:51:18 +08:00
Zexi Li
f518d8e702 Merge pull request #8048 from swordqiu/hotfix/qj-scope-resource-filter-by-owner
fix: scope resource filter by owner
2020-09-23 23:49:17 +08:00
Zexi Li
e2604d5311 climc: refactor k8s sub command 2020-09-23 23:43:12 +08:00
yunion-ci-robot
b42280f4bf Merge pull request #8031 from wanyaoqi/feature/wyq/support-mutli-params
apigateway: support mutli params
2020-09-23 23:13:23 +08:00
zhaoxiangchun
475c81c58c commonalert bugfix 3.4 2020-09-23 21:41:13 +08:00
yunion-ci-robot
d3eb0666c6 Merge pull request #8024 from swordqiu/feature/qj-apigateway-userinfo-include-project-metadata
fix: apigateway userinfo includes project metadata
2020-09-23 21:22:22 +08:00
yunion-ci-robot
28a5043d6d Merge pull request #8014 from wanyaoqi/feature/wyq/support-search-ip
feature: search eip
2020-09-23 21:21:19 +08:00
Qiu Jian
4a27d49123 fix: scope resource filter by owner 2020-09-23 21:21:07 +08:00
rainzm
c5a78a9028 fix: use i18n.Table to handle Chinese-English conversion 2020-09-23 21:20:06 +08:00
rainzm
8eb420e42c feat: log err when sending notification via notifyclient 2020-09-23 21:20:06 +08:00
rainzm
43d45a1b4d fix(region): split brand as 'YunionCloud' and '云联壹云' when notify server event 2020-09-23 21:20:06 +08:00
rainzm
e45ddaeb99 feat: inherit lang from ctx fro Task 2020-09-23 21:19:57 +08:00
Zexi Li
08475105ae Merge pull request #8034 from swordqiu/hotfix/qj-role-assignment-filter-group-user
fix: role assignment filter by users not working for effective users in groups
2020-09-23 21:16:04 +08:00
Zexi Li
d8b21ef86d Merge pull request #8011 from ioito/hotfix/qx-cloud-user-sync
fix: 避免添加新账号后长时间未同步iam用户
2020-09-23 21:10:23 +08:00
yunion-ci-robot
92259b8895 Merge pull request #8030 from yousong/feature/yousong-i18n-monitor
Feature/yousong i18n monitor
2020-09-23 21:08:20 +08:00
yunion-ci-robot
365f92160a Merge pull request #8044 from lvyangyang/dnszone_zone_cache_fail
fix: error 值重叠
2020-09-23 21:05:18 +08:00
ioito
8be3cfd223 fix: avoid account delete failed 2020-09-23 20:58:07 +08:00
yunion-ci-robot
96ed797869 Merge pull request #8036 from rainzm/scalinggroup/panicfix
fix(region): add GetSlaveFieldName for ScalingGroupGuestManager
2020-09-23 20:51:31 +08:00
yunion-ci-robot
c32811920f Merge pull request #8026 from ioito/hotfix/qx-qcloud-network-interface
fix: 避免腾讯云同步虚拟机ip异常
2020-09-23 20:50:19 +08:00
yunion-ci-robot
bcb1d143a3 Merge pull request #8041 from zhaoxiangchun/bugfix/zxc-tk-vmware-master
bugfix:esxi collect metric
2020-09-23 20:42:21 +08:00
yunion-ci-robot
44482df710 Merge pull request #8039 from zhasm/hotfix/rex-fix-esxi-agent-dockerfile-typo
fix esxi-agent dockerfile typo
2020-09-23 20:41:21 +08:00
lvyangyang
9b54d58a3d fix: error 值重叠 2020-09-23 20:05:30 +08:00
zhaoxiangchun
418540c79d bugfix:esxi collect metric 2020-09-23 19:45:46 +08:00
Zhang Dongliang
5db1fa686e fix esxi-agent dockerfile typo 2020-09-23 18:55:24 +08:00
Yousong Zhou
0ecdb5cd96 locales: monitor: add translations 2020-09-23 18:42:53 +08:00
Yousong Zhou
50eafd957d monitor: error fmt 2020-09-23 18:42:53 +08:00
rainzm
36f43fba93 fix(region): add GetSlaveFieldName for ScalingGroupGuest 2020-09-23 18:36:57 +08:00
Qiu Jian
6cbd811810 fix: role assignment filter by users not working for effective users in
groups
2020-09-23 17:53:58 +08:00
ioito
1466830595 fix: 避免腾讯云同步虚拟机ip异常 2020-09-23 17:37:35 +08:00
yunion-ci-robot
02446a2659 Merge pull request #8021 from yousong/bugfix/yousong-eip-autoalloc
elasticips: fix calling FilterByOwner
2020-09-23 17:27:18 +08:00
yunion-ci-robot
5480ecd4aa Merge pull request #8019 from zhasm/feature/make-with-arch
make with ARCH argument
2020-09-23 16:39:17 +08:00
Yousong Zhou
63c4818b8a elasticips: error when we have no usable eip network 2020-09-23 16:21:43 +08:00
Qiu Jian
06c1de7c1d fix: apigateway userinfo includes project metadata 2020-09-23 16:03:14 +08:00
Zhang Dongliang
bc6ac93cef make with ARCH argument 2020-09-23 15:49:37 +08:00
Yousong Zhou
382f628287 elasticips: fix calling FilterByOwner 2020-09-23 15:48:56 +08:00
lvyangyang
8f7a59894a fix: dns 错误信息补全 2020-09-23 15:32:25 +08:00
wanyaoqi
6d6e318134 support search ip 2020-09-23 14:24:50 +08:00
ioito
fadb52044c fix: 避免添加新账号后长时间未同步iam用户 2020-09-23 10:32:54 +08:00
yunion-ci-robot
651e12a2de Merge pull request #8009 from ioito/optimized/qx-clouduser-login-info
fix: 优化提取显示主账号名
2020-09-23 10:32:21 +08:00
ioito
9240536857 fix: 优化提取显示主账号名 2020-09-22 21:23:05 +08:00
yunion-ci-robot
9c53c7bf29 Merge pull request #8003 from tb365/bugfix/tb-bugfix-092201
regional network filter bugfix
2020-09-22 21:18:23 +08:00
yunion-ci-robot
12ce2ded4a Merge pull request #7990 from ioito/hotfix/qx-google-not-found
fix: avoid not reture cloudprovider.ErrNotFound error
2020-09-22 21:13:25 +08:00
yunion-ci-robot
ce37cef67a Merge pull request #7998 from ioito/hotfix/qx-eip-create-optimized
optimized: create eip params
2020-09-22 21:10:20 +08:00
rainzm
0879278714 fix(notify): modify name of notification to avoid duplication 2020-09-22 20:17:39 +08:00
rainzm
e47f8a8960 fix(notify): clean verifyNote when mark verified 2020-09-22 20:13:12 +08:00
rainzm
c522b45242 fix(notify): return correct value when sortContactType 2020-09-22 20:13:11 +08:00
TangBin
c8c022733c regional network filter bugfix 2020-09-22 19:58:49 +08:00
yunion-ci-robot
6ccfdfaf74 Merge pull request #7986 from zhaoxiangchun/bugfix/zxc-commonalert
common alert bugfix/3.4
2020-09-22 14:38:19 +08:00
Qu Xuan
17cf23b804 optimized: create eip params 2020-09-22 14:33:43 +08:00
yunion-ci-robot
51a4d9c255 Merge pull request #7991 from zhaoxiangchun/bugfix/zxc-tk-vmware-master
bugfix: collect esxi metric timout
2020-09-22 14:16:22 +08:00
yunion-ci-robot
258c100b5c Merge pull request #7994 from tb365/bugfix/tb-bugfix-0922
ctyun sync secgroup fix & cloudaccount delete fix
2020-09-22 14:07:16 +08:00
TangBin
95e058d062 ctyun sync secgroup fix & cloudaccount delete fix 2020-09-22 13:50:13 +08:00
zhaoxiangchun
f58bca93db common alert bugfix/3.4 2020-09-22 11:36:17 +08:00
zhaoxiangchun
ec3b5c09bd bugfix: collect esxi metric timout
1.增加批量获取esxi中metric的接口
2020-09-22 11:08:52 +08:00
Qu Xuan
37b87d1a50 fix: avoid not reture cloudprovider.ErrNotFound error 2020-09-22 10:41:32 +08:00
yunion-ci-robot
b398456ee6 Merge pull request #7916 from swordqiu/hotfix/qj-keystone-skip-nil-extra-fields
fix: keystone initialize data skip nil extra fields
2020-09-21 19:52:14 +08:00
yunion-ci-robot
378af3b7fa Merge pull request #7918 from swordqiu/hotfix/qj-lock-unlock-cleanup-20200915
fix: lock/unlock cleanup
2020-09-21 19:48:12 +08:00
yunion-ci-robot
cf1b5fb675 Merge pull request #7988 from wanyaoqi/bugfix/wyq/fix=host-deployer-base-image
bugfix: fix host deployer base image
2020-09-21 18:33:16 +08:00
wanyaoqi
1fc5bac7fa fix host deployer base image 2020-09-21 17:28:50 +08:00
yunion-ci-robot
ab388287aa Merge pull request #7980 from yousong/bugfix/yousong-opslog
Bugfix/yousong actionlog
2020-09-21 16:39:11 +08:00
Yousong Zhou
202ded8c9f logger: actionlog: add GetI18N 2020-09-21 15:20:46 +08:00
Yousong Zhou
fb28d96d5a logger: actionlog: remove redundant comments 2020-09-21 15:20:46 +08:00
Yousong Zhou
9fd0f3088f db: IModel: add GetI18N() method 2020-09-21 15:20:46 +08:00
Yousong Zhou
ca8fcb3364 logclient: i18n: en for const 2020-09-21 15:20:46 +08:00
Yousong Zhou
08ef1728d6 logclient: i18n: cn for const 2020-09-21 15:20:46 +08:00
Yousong Zhou
31cea0a736 logclient: convert const val to use latin chars 2020-09-21 15:20:46 +08:00
Yousong Zhou
7f90da555e logclient: move ws list to separate file 2020-09-21 15:20:45 +08:00
Yousong Zhou
ee7b9e2877 logclient: separate lines 2020-09-21 15:20:45 +08:00
Yousong Zhou
642a90146e opslog: move const to separate file 2020-09-21 15:20:45 +08:00
Yousong Zhou
449c96ad5d i18n: add ITable 2020-09-21 15:20:45 +08:00
Yousong Zhou
1c1dcbde45 i18n: move out from httperrors pkg 2020-09-21 10:12:57 +08:00
Yousong Zhou
b075447f95 locales: update translation 2020-09-21 10:12:57 +08:00
Yousong Zhou
152eaa8c50 treewide: avoid variable fmt str 2020-09-21 10:12:57 +08:00
Yousong Zhou
ad52aae79a treewide: fmt error 2020-09-21 10:12:57 +08:00
Yousong Zhou
d21c262c14 httputils: preserve format val types 2020-09-21 10:12:57 +08:00
yunion-ci-robot
e805d0be45 Merge pull request #7975 from swordqiu/hotfix/qj-dell-idrac-jnlp-revisit
fix: get jnlp xml from dell idrac6,7,9
2020-09-21 10:12:18 +08:00
yunion-ci-robot
75ae3f5c87 Merge pull request #7978 from swordqiu/hotfix/qj-user-reset-password
fix: reset user password without check
2020-09-21 10:11:13 +08:00
yunion-ci-robot
a109f68834 Merge pull request #7984 from swordqiu/hotfix/qj-scheduler-token-policy-support
fix: scheduler token not support policy
2020-09-21 10:09:13 +08:00
yunion-ci-robot
57c1b7ead1 Merge pull request #7982 from yousong/bugfix/yousong-i18n
locales: update translations
2020-09-20 00:22:15 +08:00
Yousong Zhou
69c7af840a locales: update translations 2020-09-19 23:41:42 +08:00
Qiu Jian
c516525dbb fix: scheduler token not support policy 2020-09-19 23:39:54 +08:00
Qiu Jian
b5f01171dd fix: reset user password without check 2020-09-19 00:48:53 +08:00
Qiu Jian
eea88ffbe6 fix: get jnlp xml from dell idrac6,7,9 2020-09-18 23:45:24 +08:00
yunion-ci-robot
d8bc3b35f5 Merge pull request #7970 from swordqiu/hotfix/qj-esxilci-vmrc-webmks-cmds
fix: add esxicli vmrc/webmks command
2020-09-18 21:06:40 +08:00
Zexi Li
076ec479cd Merge pull request #7966 from tb365/bugfix/tb-ctyun-0916
ctyun add region cn-bj1
2020-09-18 21:04:42 +08:00
yunion-ci-robot
d5daa20d9a Merge pull request #7973 from rainzm/notify/fix5
fix(notify): allow normal user create their receiver
2020-09-18 21:02:43 +08:00
rainzm
5bfc3128c3 fix(notify): allow normal user create their receiver 2020-09-18 17:14:21 +08:00
yunion-ci-robot
3583cb2763 Merge pull request #7927 from wanyaoqi/feature/wyq/host-sync-storage-size
feature: host sync storage actual size
2020-09-18 16:53:48 +08:00
Qiu Jian
5a8ee9d91c fix: add esxicli vmrc/webmks command 2020-09-18 14:35:33 +08:00
TangBin
4a36f82f73 ctyun add region cn-bj1 2020-09-18 14:15:54 +08:00
Zexi Li
c114a85d18 Merge pull request #7961 from zexi/hotfix/network-delete-schedtag
region: fix network schedtag not cleanup when network deleted
2020-09-18 10:43:00 +08:00
Zexi Li
b859f3ba3e region: fix network schedtag not cleanup when network deleted 2020-09-18 10:31:26 +08:00
wanyaoqi
f4c1a3ea59 support mutli params 2020-09-17 23:18:12 +08:00
Zexi Li
6e288c20f4 Merge pull request #7959 from zexi/feature/k8s-federated
climc: add k8s federated resource cmd
2020-09-17 15:39:22 +08:00
yunion-ci-robot
aba008bc75 Merge pull request #7954 from zexi/hotfix/joint-model-get
cloudcommon: get joint model should aware fieldname
2020-09-16 22:07:14 +08:00
yunion-ci-robot
0800ee7b90 Merge pull request #7941 from zhaoxiangchun/feature/zxc-suggest-3.4
suggest rule modify:
2020-09-16 21:42:20 +08:00
Zexi Li
3f80593611 Merge pull request #7953 from wanyaoqi/bugfix/wyq/host-cach-image
bugfix: fix set host image cache properties
2020-09-16 21:37:55 +08:00
Zexi Li
ffbbbb18ee Merge pull request #7912 from ioito/hotfix/qx-project-auto-rename
fix: 支持自动根据云上项目修改本地项目名称
2020-09-16 21:34:56 +08:00
Zexi Li
742e455717 climc: add k8s federated resource cmd 2020-09-16 21:30:43 +08:00
yunion-ci-robot
1bce1bab64 Merge pull request #7945 from wanyaoqi/bugfix/wyq/scheduler-isolated-device-fix
scheduler: fix fillter isolated device
2020-09-16 21:04:52 +08:00
yunion-ci-robot
40893c09a0 Merge pull request #7943 from lvyangyang/dns-duprecord
dup record process
2020-09-16 20:59:09 +08:00
yunion-ci-robot
9ecebc1671 Merge pull request #7948 from wanyaoqi/bugfix/wyq/update-image-status
glance: fix update image status after save failed
2020-09-16 20:56:11 +08:00
wanyaoqi
c6eecebed0 fix set host image cache properties 2020-09-16 20:50:12 +08:00
Zexi Li
1af48dc73d cloudcommon: get joint model should aware fieldname 2020-09-16 20:49:51 +08:00
Qu Xuan
466d961355 fix: feature: vpc peering connection support 2020-09-16 19:41:01 +08:00
wanyaoqi
686b639979 fix update image status after save failed 2020-09-16 19:00:31 +08:00
wanyaoqi
1f51af3a61 scheduler: fix fillter isolated device 2020-09-16 18:30:38 +08:00
lvyangyang
ff4bde696c dup record process 2020-09-16 18:13:33 +08:00
wanyaoqi
50a85b73ee host sync storage size 2020-09-16 17:53:32 +08:00
zhaoxiangchun
9a2267230d suggest rule modify:
1.规则由后端初始化,默认禁用
2.规则period默认为12h,扫描范围timeFrom默认为14d
3.增加notify相关的模版文件
4.更改消息重复发送的问题
2020-09-16 12:08:03 +08:00
Zexi Li
5e0a26eaa2 Merge pull request #7938 from zhaoxiangchun/bugfix/zxc-esxi-vm-mon
bugfix vmware monitor
2020-09-16 11:34:56 +08:00
Zexi Li
1185082f3b Merge pull request #7935 from swordqiu/hotfix/qj-disable-qcloud-verifyAppId
fix: disable qcloud verifyAppId temporarily
2020-09-16 11:33:48 +08:00
Zexi Li
240913649b Merge pull request #7909 from ioito/hotfix/qx-qcloud-doc
fix: add doc for qcloud
2020-09-16 11:33:03 +08:00
Zexi Li
0bcaeda09d Merge pull request #7910 from rainzm/notify/ti
Feat & Fix of Notify
2020-09-16 11:32:41 +08:00
Zexi Li
44a2cf1c16 Merge pull request #7925 from ioito/hotfix/qx-cloudgroup-dup-name
fix: 避免名称重复
2020-09-16 11:31:47 +08:00
Zexi Li
5d929e3a61 Merge pull request #7931 from swordqiu/hotfix/qj-omit-empty-fail-reason
fix: omit empty fail reason
2020-09-16 11:31:11 +08:00
yunion-ci-robot
eb8d62e6f3 Merge pull request #7929 from swordqiu/hotfix/qj-enable-generate-name-revisited
fix: enable generate name caused compability issue
2020-09-16 11:30:09 +08:00
Zexi Li
e689c561a4 Merge pull request #7921 from ioito/hotfix/qx-bucket-object-count
fix: bucket object cnt fix
2020-09-16 11:29:53 +08:00
zhaoxiangchun
0842b6f5f7 bugfix vmware monitor 2020-09-16 10:25:04 +08:00
Qiu Jian
01fe002dd7 fix: disable qcloud verifyAppId temporarily 2020-09-16 02:17:34 +08:00
Qiu Jian
b80fa64b6a fix: keystone initialize data skip nil extra fields 2020-09-16 01:58:52 +08:00
Qiu Jian
5a91ae8863 fix: omit empty fail reason 2020-09-16 01:53:29 +08:00
Qiu Jian
1a3acbd056 fix: enable generate name caused compability issue 2020-09-16 01:32:03 +08:00
Qu Xuan
1b3d3310dc fix: 避免名称重复 2020-09-15 19:27:03 +08:00
Qu Xuan
cbd08138b4 fix: bucket object cnt fix 2020-09-15 17:39:29 +08:00
Qiu Jian
41f932e381 fix: lock/unlock cleanup 2020-09-15 12:22:38 +08:00
yunion-ci-robot
e197ff815a Merge pull request #7915 from zexi/hotfix/joint-model-list
cloudcommon: joint model list should add field_name into query
2020-09-15 10:27:12 +08:00
yunion-ci-robot
bf0434804b Merge pull request #7905 from wanyaoqi/bugfix/wyq/webconsole-zombie-killer
webconsole: fix defer order to release zombie process
2020-09-15 10:26:10 +08:00
Zexi Li
a47553a7a2 cloudcommon: joint model list should add field_name into query 2020-09-14 21:32:31 +08:00
Qu Xuan
e86509a884 fix: 支持自动根据云上项目修改本地项目名称 2020-09-14 21:11:08 +08:00
rainzm
77bbb2cfd0 feat(notify): sort the returned contact type array 2020-09-14 20:33:42 +08:00
rainzm
acf1f12790 feat: notify user when failing to change config 2020-09-14 20:31:22 +08:00
rainzm
54c7069d9e feat: add NotifyError in notifyclient
NotifyError send error message to user from userCred.
2020-09-14 20:31:22 +08:00
rainzm
4b49bcec8f feat: add WithCtx version to notifyclient function 2020-09-14 20:31:17 +08:00
Qu Xuan
3c29402c10 fix: add doc for qcloud 2020-09-14 19:25:20 +08:00
wanyaoqi
4f8b80fcc1 webconsole: fix defer order to release zombie process 2020-09-14 18:19:30 +08:00
Zexi Li
4705eba9b3 Merge pull request #7902 from rainzm/cloudaccount/opt_fix
fix(esxi): return when host.Vm is empty
2020-09-14 16:27:59 +08:00
rainzm
08041d55d1 fix(esxi): return when host.Vm is empty 2020-09-14 16:24:31 +08:00
rainzm
ac438282a5 feat(region): divide notify templates into Chinese and English versions
Chinese version: content@cn, title@cn
English version: content@en, title@en
2020-09-14 15:30:20 +08:00
rainzm
654c517240 feat(region): replace 虚拟机 with 主机 or 云主机 2020-09-14 15:16:03 +08:00
yunion-ci-robot
ec769082ea Merge pull request #7899 from ioito/hotfix/qx-qcloud-cos-proxy
fix: cos use proxy
2020-09-14 14:01:08 +08:00
Zexi Li
58d2336a36 Merge pull request #7895 from wanyaoqi/bugfix/wyq/fix-guestdisk-renew
disk: check disk is need renew on guest set renew
2020-09-14 13:01:56 +08:00
Zexi Li
bebf3392d3 Merge pull request #7893 from swordqiu/hotfix/qj-host-assignable-revisited
fix: check host sharing status when considering whether a host is ass…
2020-09-14 13:01:45 +08:00
Zexi Li
2b90620ce1 Merge pull request #7887 from yousong/bugfix/yousong-eip-autoalloc
elasticips: filter by owner when doing auto allocation
2020-09-14 13:00:51 +08:00
Qu Xuan
bb7ad07c20 fix: cos use proxy 2020-09-14 13:00:02 +08:00
wanyaoqi
3ac63f537e disk: check disk is need renew on guest set renew 2020-09-14 12:05:58 +08:00
yunion-ci-robot
bb8ceb4451 Merge pull request #7890 from swordqiu/hotfix/qj-disable-webkms-for-esxi-older-than-6.5
fix: disable webkms for esxi older than 6.5
2020-09-12 23:55:15 +08:00
Qiu Jian
04f036ce2e fix: check host sharing status when considering whether a host is assignable 2020-09-12 19:21:41 +08:00
yunion-ci-robot
be55e9e8cd Merge pull request #7885 from zexi/hotfix/scheduler-specify-net
scheduler: ignore network type when specified
2020-09-12 17:29:01 +08:00
Yousong Zhou
5afbe831d9 elasticips: filter by owner when doing auto allocation 2020-09-12 17:10:19 +08:00
Qiu Jian
239797e33c fix: disable webkms for esxi older than 6.5 2020-09-12 17:05:49 +08:00
Zexi Li
e129d580bd scheduler: ignore network type when specified 2020-09-12 15:56:40 +08:00
Zexi Li
33a5422aed Merge pull request #7883 from rainzm/schedulertask/name
feat(region): change fomat 'id' to 'name(id)' in scheduledtasks' log
2020-09-11 21:06:31 +08:00
yunion-ci-robot
e51e2deaea Merge pull request #7876 from ioito/hotfix/qx-secgroup-optimized
fix: 默认不自动合并安全组
2020-09-11 21:05:58 +08:00
Zexi Li
fee902bb21 Merge pull request #7879 from ioito/hotfix/qx-resource-sync
fix: avoid sync natgateway eip panic
2020-09-11 21:03:31 +08:00
Zexi Li
55358e348e Merge pull request #7870 from rainzm/esxi/workercount
fix(esxiagent): add HostDelayTaskWorkerCount
2020-09-11 20:55:26 +08:00
Zexi Li
15620a9425 Merge pull request #7836 from wanyaoqi/bugfix/wyq/fix-ceph-cache-iso-image
host: fix rbd storage cache iso image
2020-09-11 20:53:54 +08:00
Zexi Li
3c15744895 Merge pull request #7862 from ioito/hotfix/qx-dns-recordset-validate
fix: add dns recordset dns value check
2020-09-11 20:53:16 +08:00
rainzm
33a4f332cb feat(region): change fomat 'id' to 'name(id)' in scheduledtasks' log 2020-09-11 20:34:48 +08:00
Qu Xuan
8e39b7ccb4 fix: 默认不自动合并安全组 2020-09-11 19:21:23 +08:00
Qu Xuan
dab5b6e439 fix: avoid sync natgateway eip panic 2020-09-11 19:16:10 +08:00
rainzm
a0c34a044e fix(esxiagent): add HostDelayTaskWorkerCount
之前,HostDelayWorker 是通过 hostutils.InitWorkerManager 来初始化,
worker的数量依赖于options.HostOptions.DefaultRequestWorkerCount, 因为
这个options没有经过初始化,所以就是0,导致worker count的数量变为1。

现在增加了 HostDelayTaskWorkerCount 来管理这个count,默认值为8。
2020-09-11 17:01:09 +08:00
yunion-ci-robot
6d076cf238 Merge pull request #7859 from ioito/hotfix/qx-migrate-image-data
fix: 平滑迁移数据
2020-09-10 21:37:55 +08:00
yunion-ci-robot
72c5d1f4c4 Merge pull request #7855 from ioito/hotfix/qx-qcloud-vm-keypair
Hotfix/qx qcloud vm keypair
2020-09-10 21:36:54 +08:00
Zexi Li
8ff5bb08b6 Merge pull request #7832 from rainzm/cloudaccount/opt
refactor(region): optimize preparenet of cloudaccount
2020-09-10 21:32:14 +08:00
Qu Xuan
fc8fb8af57 fix: add dns recordset dns value check 2020-09-10 19:07:42 +08:00
Qu Xuan
8284f7b294 fix: 平滑迁移数据 2020-09-10 17:38:32 +08:00
Qu Xuan
a2b9a79065 fix: 腾讯云不支持同时设置秘钥和密码,若设置秘钥,则将密码置空 2020-09-10 17:22:49 +08:00
Qu Xuan
f4ecde37c3 fix: optimized qcloud keypair 2020-09-10 16:30:47 +08:00
rainzm
ed484f4e21 refactor(region): optimize preparenet of cloudaccount
1. 从vcenter中获取host和vm的信息时,只需要获取网络相关的字段就可以了。
2. 每个host的vms,单独启用一个goroutine。
3. 优化了处理vms ip的逻辑,现在的时间复杂度是O(n)。
2020-09-10 15:37:58 +08:00
yunion-ci-robot
8bc444907b Merge pull request #7852 from rainzm/notify/fix4
fix(notify): pull contact for workwx, dingtalk and feishu
2020-09-10 15:18:02 +08:00
yunion-ci-robot
874398d039 Merge pull request #7834 from ioito/hotfix/qx-cachedimage
fix: uniform cachedimage active status
2020-09-10 14:36:02 +08:00
yunion-ci-robot
617407ba22 Merge pull request #7837 from ioito/hotfix/qx-clouduser-logininfo
fix: optimzed clouduser password
2020-09-10 14:33:54 +08:00
rainzm
1517ed79f2 fix(notify): pull contact for workwx, dingtalk and feishu 2020-09-10 14:33:09 +08:00
yunion-ci-robot
9f138b6c2d Merge pull request #7843 from ioito/hotfix/qx-clouduser-opti
fix: optimzed clouduser
2020-09-10 09:49:24 +08:00
yunion-ci-robot
f397a04fdb Merge pull request #7841 from ioito/hotfix/qx-public-zone-create
fix: avoid create public zone failed
2020-09-10 09:47:56 +08:00
yunion-ci-robot
9e97115a4c Merge pull request #7838 from zhaoxiangchun/bugfix/zxc-monitor-alert
commonalert bugfix:
2020-09-10 09:46:54 +08:00
yunion-ci-robot
06db576236 Merge pull request #7831 from swordqiu/hotfix/qj-project-users-recode
fix: recode project-role rpc handle to support group role assignment
2020-09-10 09:44:53 +08:00
yunion-ci-robot
769ef5af83 Merge pull request #7845 from rainzm/esxi/templatefix1
Feat & Fix & Refactor for ESXi
2020-09-10 09:41:57 +08:00
rainzm
3fb175ba7d fix(region): add RequestSyncstatusOnHost for SESXiGuestDriver
esxi 平台 Guest 进行 syncstatus 和其他平台有所区别,Vcenter 可能会更改
 VM 所在的 Host,所以在 Host 上寻找 VM 可能会出现 ErrNotFound。此时,应该
主动去整个 datacenter 中寻找 VM,然后更改 Host,进行同步。
2020-09-09 21:43:29 +08:00
rainzm
5c209fe3dc fix(esxi): fetch templatevm from datacenter before clone vm
这里应该和image_cache那里保持一直,对template的获取应该从datacenter
中获取,而不是host。
2020-09-09 21:33:16 +08:00
rainzm
dcb6db0443 refactor(esxi): replace GetTemplateVMById with FetchTemplateVMById
FetchTemplateVMById 更好,因为它更轻量,更快。
2020-09-09 21:32:49 +08:00
rainzm
14c5e18c22 feat(esxicli): better vm operator
现在,可以通过Datacenter来获取vm,不一定要指定HostIp,
Datacenter和HostIp必须指定一个。
2020-09-09 21:20:13 +08:00
rainzm
0aa9dc6fb7 feat(esxi): support fetchVM form datacenter 2020-09-09 21:20:02 +08:00
rainzm
4d74a97786 refactor(esxi): fetchVms and fetchHardwareInfo
1. fetchHardwareInfo 只有一种error,原因是moVM的某些字段为nil,这种情况下,完全可以打印日志直接返回。
2. fetchVms 现在只返回[]*SVirtualMachine, 进一步的过滤(是不是template)交给调用者。
2020-09-09 20:35:24 +08:00
Qu Xuan
7361da408a fix: optimzed clouduser 2020-09-09 20:11:23 +08:00
Qu Xuan
d9626e3100 fix: avoid create public zone failed 2020-09-09 19:53:56 +08:00
Qiu Jian
332ba04bd1 fix: recode project-role rpc handle to support group role assignment
results by user or project
2020-09-09 18:17:53 +08:00
zhaoxiangchun
a624625520 commonalet bugfix:
1.报警接受人通知渠道调整:由notify中解释发送到对应的channel
2.报警恢复增加对应的evalmatch,保存对应的metricvalue
3.报警记录中增加description相关信息
4.其他代码调整
2020-09-09 18:16:34 +08:00
Qu Xuan
a004470225 fix: optimzed clouduser password 2020-09-09 16:34:07 +08:00
wanyaoqi
9e0ce8722e host: fix rbd storage cache iso image 2020-09-09 15:52:12 +08:00
Qu Xuan
f09bb6682c fix: uniform cachedimage active status 2020-09-09 15:19:46 +08:00
yunion-ci-robot
6ea5995242 Merge pull request #7828 from swordqiu/hotfix/qj-wire-usage-incorrect
fix: wire usage stats incorrect
2020-09-08 20:28:55 +08:00
yunion-ci-robot
791e4ab9b5 Merge pull request #7821 from rainzm/esxi/fix_tem
fix(esxiagent): return image extid not id
2020-09-08 20:24:53 +08:00
yunion-ci-robot
118ae551af Merge pull request #7820 from swordqiu/hotfix/qj-redfish-power-on-ignore-409-error
fix: ignore 409 error when doing redfish power on
2020-09-08 20:23:55 +08:00
Qiu Jian
d7e330f9eb fix: wire usage stats incorrect 2020-09-08 16:39:57 +08:00
rainzm
5789c6dedd fix(esxiagent): return image extid not id
调用 disk/image_cache 接口的Task StorageCacheImageTask 会根据回调
回来数据中的 image_id,来设置 storagecachedimage 中的 externalid,
所以这里的 image_id 应该是 externalid。
2020-09-08 15:23:12 +08:00
Qiu Jian
65141a277c fix: ignore 409 error when doing redfish power on 2020-09-08 15:19:30 +08:00
yunion-ci-robot
a6eb0c19fa Merge pull request #7802 from rainzm/scheduler/failInfo
Optimization of the scheduler
2020-09-08 14:59:55 +08:00
rainzm
81feadc13a fix(scheduler): more standardized testing 2020-09-08 14:27:31 +08:00
rainzm
9d18b94ad6 refactor(scheduler): make forcast result clearer
forcast 的返回值包括:
1. CanCreate: 是否可以创建
2. FilteredCandidate: 被过滤掉的candidate(宿主机),并记录了
   过滤其的 filter 的名字以及给出的原因。
3. ReqCount: 请求的机器数量
4. AllowCount: 允许的机器数量
5. NotAllowReasons: 不允许的原因,每一个不被允许的都会被列出原因。
2020-09-08 14:27:31 +08:00
rainzm
57d8f991ab Add mock test for genericScheudler.Schedule 2020-09-08 14:27:26 +08:00
yunion-ci-robot
5dd7b7a1ee Merge pull request #7762 from lvyangyang/dns-fork-9.2-2
dns access
2020-09-08 12:57:52 +08:00
lvyangyang
25ddca8609 dns access 2020-09-08 10:28:27 +08:00
yunion-ci-robot
2eec0c64c8 Merge pull request #7810 from wanyaoqi/bugfix/wyq/fix-host-error-output
bugfix: fix host errors output
2020-09-08 10:03:17 +08:00
yunion-ci-robot
6c25384344 Merge pull request #7808 from swordqiu/hotfix/qj-check-assign-host
fix: check assign-host previliges
2020-09-08 10:01:56 +08:00
yunion-ci-robot
612a016b67 Merge pull request #7817 from wanyaoqi/bugfix/wyq/reenterable-colloct-isolated-deivces-info
bugfix: isolated devices info collect reenterable
2020-09-08 09:59:53 +08:00
wanyaoqi
945fac0a4b fix host error output 2020-09-07 21:06:59 +08:00
yunion-ci-robot
3391d77a1b Merge pull request #7814 from yousong/bugfix/yousong-i18n
treewide: DeleteFailReason as an object with translated details
2020-09-07 21:06:53 +08:00
yunion-ci-robot
5ca9e814b9 Merge pull request #7807 from rainzm/notify/fix3
fix(notify): break down permissions of notifyconfigs
2020-09-07 21:05:59 +08:00
yunion-ci-robot
035e2bf51e Merge pull request #7804 from yousong/bugfix/yousong-vpcagent
vpcagent: guard against foul eip records
2020-09-07 21:05:46 +08:00
yunion-ci-robot
8e882cf3c9 Merge pull request #7798 from wanyaoqi/bugfix/wyq/guest-desc-add-backup
bugfix: guest short desc add backup host id
2020-09-07 21:03:50 +08:00
yunion-ci-robot
3897beba88 Merge pull request #7796 from ioito/hotfix/qx-cloudid-sync-groups
fix: sync groups for user
2020-09-07 21:01:51 +08:00
yunion-ci-robot
89c05901d9 Merge pull request #7789 from wanyaoqi/bugfix/wyq/fix-ubuntu-version
bugfix : fix get ubuntu version
2020-09-07 20:59:44 +08:00
yunion-ci-robot
aefcb1e3c2 Merge pull request #7811 from swordqiu/hotfix/qj-prevent-user-in-disabled-idp-login
fix: prevent users in disabled idp from login
2020-09-07 20:57:46 +08:00
yunion-ci-robot
8ce14d97c1 Merge pull request #7793 from ioito/hotfix/qx-aliyun-city
fix: aliyun wulanchabu region
2020-09-07 20:55:45 +08:00
wanyaoqi
641c71880b isolated devices info reenterable 2020-09-07 20:43:54 +08:00
rainzm
a9fafc4517 fix(notify): break down permissions of notifyconfigs
1. Only allow admin to create, list, update or delete.
2. Allow user to get types.
2020-09-07 18:55:19 +08:00
Yousong Zhou
6415de33d3 treewide: DeleteFailReason as an object with translated details 2020-09-07 18:51:29 +08:00
Yousong Zhou
776ef9b8b5 httperrors: HTTPError: use Error type 2020-09-07 18:51:29 +08:00
Qiu Jian
9e1ff88195 fix: prevent users in disabled idp from login 2020-09-07 18:23:21 +08:00
Yousong Zhou
4d7eee4f2b httperrors: add Error type 2020-09-07 18:18:39 +08:00
Qiu Jian
4d5aadb64b fix: check assign-host previliges 2020-09-07 18:12:24 +08:00
Yousong Zhou
9168284d59 vpcagent: guard against foul eip records 2020-09-07 17:24:08 +08:00
wanyaoqi
09e568e14c guest short desc add backup host id 2020-09-07 16:58:26 +08:00
Qu Xuan
491efe5794 fix: sync groups for user 2020-09-07 16:34:45 +08:00
rainzm
0bd84dd4b0 feat: Add method 'Sku' to CandidatePropertyGetter 2020-09-07 16:14:28 +08:00
rainzm
4b4875cd70 feat: Add IResultHelper
1. Adjust the package structure about pkg/scheduler/core and
pkg/scheduler/manager

2. Add IResultHelper

3. Change the signature of genericScheduler.Schedule
func (*Unit, []Candidater) (*SchedResultItemList, error) ==>
func (*Unit, []Candidater, IResultHelper) (*ScheduleResult, error)
2020-09-07 16:13:20 +08:00
Qu Xuan
46e6d37c2d fix: aliyun wulanchabu region 2020-09-07 16:09:36 +08:00
yunion-ci-robot
b85feb75f6 Merge pull request #7786 from rainzm/scheduler/igselect
fix(scheduler): fix array out of bounds when sorting hosts
2020-09-07 15:31:42 +08:00
yunion-ci-robot
f390723eaa Merge pull request #7782 from rainzm/notify/fix2
fix(notify): Replace String() with GetString()
2020-09-07 15:26:42 +08:00
yunion-ci-robot
43f47d96cb Merge pull request #7780 from swordqiu/hotfix/qj-user-idps-include-template
fix: user idps attributes includes template name
2020-09-07 15:24:42 +08:00
wanyaoqi
495d9174c9 fix get ubuntu version 2020-09-07 15:24:21 +08:00
rainzm
de1b5bc96e fix(scheduler): fix array out of bounds when sorting hosts 2020-09-07 15:13:19 +08:00
rainzm
6509ed6e99 fix(notify): Replace String() with GetString()
The String() of jsonutils.JSONObject will add a pair of
double quotes around the content. The GetString() will
get a clean content.
2020-09-07 15:09:47 +08:00
Qiu Jian
383bdef224 fix: user idps attributes includes template name 2020-09-07 12:03:31 +08:00
Zexi Li
98812bc6f6 Merge pull request #7729 from ioito/hotfix/qx-cached-image-sync
optimized cachedimages sync
2020-09-07 11:55:22 +08:00
yunion-ci-robot
d10f7a6d7a Merge pull request #7769 from swordqiu/hotfix/qj-network-addresses-respect-priviliges
fix: network address list respect privilige of user
2020-09-05 15:50:42 +08:00
yunion-ci-robot
339aa9f3cb Merge pull request #7772 from swordqiu/hotfix/qj-skip-sync-objects-in-task
fix: skup syncing lb, rds, redis instances in tasks
2020-09-05 15:47:42 +08:00
Zexi Li
8416e52ab8 Merge pull request #7776 from zexi/feature/k8s-componet-grafana
climc: k8s cluster grafana componet support subpath
2020-09-05 15:37:42 +08:00
Zexi Li
930a726670 climc: k8s cluster grafana componet support subpath 2020-09-05 14:45:38 +08:00
Qiu Jian
9de29d9afd fix: skup syncing lb, rds, redis instances in tasks 2020-09-05 14:27:12 +08:00
Qiu Jian
09944bc1b4 fix: network address list respect privilige of user 2020-09-05 11:56:53 +08:00
yunion-ci-robot
b9b7134262 Merge pull request #7767 from ioito/hotfix/qx-cloudid-fix
fix: cloudid optimized
2020-09-05 10:32:45 +08:00
Qu Xuan
7232695dfb fix: cloudid optimized 2020-09-04 20:21:07 +08:00
yunion-ci-robot
f64594d588 Merge pull request #7764 from tb365/feature/tb-pxe-register-template-update
pex register add optional column mac_access
2020-09-04 20:17:41 +08:00
yunion-ci-robot
8cb7bb99c3 Merge pull request #7739 from ioito/hotfix/qx-resource-update
fix: valid update name and update dns recordset
2020-09-04 20:11:38 +08:00
yunion-ci-robot
d79a961f50 Merge pull request #7760 from swordqiu/hotfix/qj-policy-aware-scheduler
fix: scheduler aware policy
2020-09-04 16:21:39 +08:00
TangBin
88838bb538 pex register add optional column mac_access 2020-09-04 15:54:01 +08:00
Qiu Jian
b8238d2059 fix: scheduler aware policy 2020-09-04 10:36:21 +08:00
Zexi Li
723a8a3547 Merge pull request #7751 from ioito/hotfix/qx-cloudid-optimized
Hotfix/qx cloudid optimized
2020-09-04 10:33:15 +08:00
Zexi Li
3f62936a5d Merge pull request #7748 from rainzm/esxi/net
feat(esxi): correctly judge whether inet is nil
2020-09-04 10:32:22 +08:00
Zexi Li
8bf7fd654c Merge pull request #7757 from swordqiu/hotfix/qj-support-VirtualDiskRawDiskMappingVer1BackingInfo
fix: support VirtualDiskRawDiskMappingVer1BackingInfo
2020-09-04 10:31:12 +08:00
Zexi Li
57ceac5dda Merge pull request #7753 from swordqiu/hotfix/qj-remove-sso-redundant-authcookie
fix: remove redundant auth cookie in sso login
2020-09-04 10:30:41 +08:00
Zexi Li
81a8ae288b Merge pull request #7744 from wanyaoqi/bugfix/wyq/check-min-disk-size-on-update
glance: check min disk size on update
2020-09-04 10:29:43 +08:00
Zexi Li
dfa837a3ff Merge pull request #7741 from swordqiu/hotfix/qj-search-project-domain-by-chsname
fix: search by chs projectname or domainname
2020-09-04 10:28:55 +08:00
Zexi Li
7617fd3e52 Merge pull request #7740 from swordqiu/hotfix/qj-find-esxi-host-access-ip
fix: find correct esxi host access ip
2020-09-04 10:28:33 +08:00
Zexi Li
486adf60ae Merge pull request #7735 from rainzm/schedulertask/fix
fix(compute): return InputParameterError while ValidateCreateData
2020-09-04 10:27:34 +08:00
Qiu Jian
a672c6b334 fix: support VirtualDiskRawDiskMappingVer1BackingInfo 2020-09-04 00:14:30 +08:00
yunion-ci-robot
835f60f584 Merge pull request #7730 from swordqiu/feature/qj-support-lenovo-huawei
fix: compatiblity fixes with lenovo RD620 and huawei 2288
2020-09-04 00:03:42 +08:00
Qiu Jian
ef138c05d4 fix: remove redundant auth cookie in sso login 2020-09-03 23:52:12 +08:00
Qiu Jian
053507c3e3 fix: find correct esxi host access ip 2020-09-03 22:17:04 +08:00
yunion-ci-robot
d7db832c6c Merge pull request #7733 from rainzm/notify/fix1
Feature & Fix for Notify
2020-09-03 21:54:52 +08:00
rainzm
0a9a73587e feat(notify): Allow use topic to filter notification 2020-09-03 21:15:38 +08:00
Qu Xuan
ce032ecf17 fix: optimzed sync 2020-09-03 21:10:29 +08:00
Qu Xuan
fd318a9cda fix: optimized cloudid 2020-09-03 20:29:37 +08:00
rainzm
3793387b66 feat(esxi): correctly judge whether inet is nil 2020-09-03 20:22:21 +08:00
wanyaoqi
53d0914cd9 glance: check min disk size on update 2020-09-03 19:58:22 +08:00
Qiu Jian
64f5bc748c fix: search by chs projectname or domainname 2020-09-03 18:36:28 +08:00
Qu Xuan
80c75b19ae fix: valid update name and update dns recordset 2020-09-03 16:46:24 +08:00
rainzm
f11a1df3a5 fix(compute): return InputParameterError while ValidateCreateData 2020-09-03 15:20:20 +08:00
rainzm
f57a199cbd feat(notify): Add TNotifyChannel const of robot 2020-09-03 15:08:13 +08:00
rainzm
89ec96567b feat(notify): replace VerifiedContactTypes with VerifiedInfos in ReceiverDetails
VerifiedInfos will provide Note to display.
2020-09-03 15:08:13 +08:00
rainzm
e179191dd3 feat(notify): Support trigger-verify for feishu, dingtalk and workwx 2020-09-03 15:08:13 +08:00
rainzm
3e982ab79a feat(notify): Add VerifiedNote for SSubContact
VerifiedNote will be 'ok' if SSubContact verified successfully.
Otherwise, there will be there value for VerifiedNote:
1. no such mobile: mobile is not exist, change and try again.
2. incomplete config: tell admin to improve the configuration.
3. service exceptions: try again or connect to admin.
2020-09-03 15:08:13 +08:00
rainzm
bf12f5b57c feat(notify): break down error from UseridByMobile 2020-09-03 15:08:13 +08:00
rainzm
9af0fe1fe9 fix(notify): Set default priority 'normal' when creating notification 2020-09-03 15:08:13 +08:00
rainzm
9029e98c2f fix(notify): Mark verified not enabled in MarkContactTypeVerified 2020-09-03 15:08:13 +08:00
rainzm
8a80f96d62 refactor(notify): hide SSunContact webconsole
Every receiver has webconsole type contact that is equal with
receiverid.
Now, make webconsole invisible, and it does exist.
2020-09-03 15:08:13 +08:00
rainzm
2ea4138f3a fix(notify): Allow user list receivers 2020-09-03 15:08:13 +08:00
rainzm
9978f19542 fix(notify): use AfterSend for contact with succuessful sending 2020-09-03 15:08:13 +08:00
Qiu Jian
f6eb9fc195 fix: compatiblity fixes with lenovo RD620 and huawei 2288 2020-09-03 11:55:22 +08:00
yunion-ci-robot
7a0eb06df9 Merge pull request #7725 from tb365/bugfix/tb-create-classic-vpc-fix
create classic vpc fix
2020-09-03 10:32:41 +08:00
Qu Xuan
dc1c6c754c optimized cachedimages sync 2020-09-02 22:00:14 +08:00
yunion-ci-robot
bb68d7f2c2 Merge pull request #7587 from ioito/feature/qx-dns-interface
feature: add dns interface
2020-09-02 18:01:08 +08:00
TangBin
6a22bf0e7b create classic vpc fix 2020-09-02 18:00:18 +08:00
Qu Xuan
5b3bfd1b3b fix: avoid nil panic 2020-09-02 17:26:38 +08:00
Qu Xuan
0cc0a19910 fix: avoid policy value not save 2020-09-02 17:08:13 +08:00
Qu Xuan
5eaece5516 fix: climc params 2020-09-02 16:57:07 +08:00
yunion-ci-robot
df37b58320 Merge pull request #7716 from zhaoxiangchun/bugfix/zxc-monitor-alert
alertrecords bugfix
2020-09-02 16:33:42 +08:00
yunion-ci-robot
2674f6a8ed Merge pull request #7718 from wanyaoqi/feature/wyq/vmware-support-lvm
feature: vmware disk support deploy lvm partition
2020-09-02 16:31:46 +08:00
Qu Xuan
f251559c39 feature: add dns interface 2020-09-02 16:30:05 +08:00
yunion-ci-robot
3608b58064 Merge pull request #7722 from wanyaoqi/bugfix/wyq/update-host-status-on-host-offline
hosts: update host status to unknown on host offline
2020-09-02 16:27:38 +08:00
Rain Zheng
1ed65ddd1a Feature & Fix for Notify (#7714)
* feat(notify): Add 'get-types' action for ConfigManager

The List interface is only open to administrators,
because we don't want anyone other than administrators
to see the details of the notify configuration.
To let general user to kown available notification channels,
add 'get-types' actions of ConfigManager.

* feat(notify): Check the availability of contact type before creating notification

Creating notification with unconfigured contact type will fail at
sending message. Now, prevent creation in advance.

* feat(notify): Add workwx for NotifyNormal/Important/Critical

* feat(notify): Add Notify about robot in notifyclient

* fix(notify): Init ParentContactType for SSubContact

1. ParentContactType of SSubContact with webconsole type is empty.
2. ParentContactType of others SSubContact is mobile.

* fix(notify): Unverify SSubContact when ParentContactType match

* fix(notify): When no data is initialized, exit directly
2020-09-02 16:10:06 +08:00
wanyaoqi
4a00c22297 update host status to unknown on host offline 2020-09-02 13:07:27 +08:00
zhaoxiangchun
138a161195 listfilter by alert_id 2020-09-01 20:46:16 +08:00
zhaoxiangchun
bb22fba257 alert record bugfix
1.return details fix
2020-09-01 20:46:15 +08:00
wanyaoqi
7dcb240940 vmware disk support deploy lvm partition 2020-09-01 20:43:55 +08:00
wanyaoqi
74c8c6bfe2 hostinfo: try create network add is_on_premise (#7706) 2020-09-01 20:09:48 +08:00
屈轩
416afb686a fix: add details for account delete (#7702)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-09-01 20:08:37 +08:00
Yousong Zhou
b314b66b71 Bugfix/yousong i18n (#7712)
* httperrors: support setting lang with X-Yunion-Lang

* mcclient: session: set lang
2020-09-01 19:11:41 +08:00
Yousong Zhou
da64e4a267 httperrors: use existing details if id is not present (#7710) 2020-09-01 18:32:37 +08:00
Zexi Li
65c1f5afdb Merge pull request #7705 from zexi/feature/update-arch-img
README: update architecture img
2020-09-01 16:23:29 +08:00
Zexi Li
9fd99a22fd README: update architecture img 2020-09-01 16:19:54 +08:00
屈轩
8cf594785d fix: avoid delete aws iam user failed (#7664)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-09-01 11:35:36 +08:00
Jian Qiu
2ea855a425 fix: vmware esxi host detects vnic portgroup info (#7649)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-09-01 10:51:41 +08:00
Jian Qiu
0cbad8aea3 feature: emualated ssd support (#7701)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-09-01 10:49:37 +08:00
Jian Qiu
8ba3f86b55 fix: apigateway user info add is_local attribtue (#7694)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-09-01 10:48:37 +08:00
Rain Zheng
e393f3ee21 Fix problem of esxi (#7661)
* fix(esxi): Fetch full templates of datastoreImageCache

Datastore 和 DatastoreImageCache 是一对一的关系。
每一个 Datastore 可能有多个对应的 Host,所以 GetIIMages 里面获取
Templates 的逻辑应该尝试去获取所有 Host 的 Templates。

* fix(host-deployer): Exit correctly after mounting

MountRootfs的返回值为nil时,还是需要Umount的操作来正确退出(比如VDDK)。
VDDK的Mount分为两步,第一步会挂在remote
disk到fuse下,然后挂载fuse/xxx/flat
到块设备上。第一步成功,第二部失败也应该正确退出。

* fix(host-deployer): Kill process

* opt(host-deployer): Increase timeout of waiting mount

* opt(host-deployer): Add debug log print command to mount

* fix(esxi): Support multi agent in different zone
2020-09-01 10:47:39 +08:00
Zexi Li
cda8bd75d7 Merge pull request #7680 from wanyaoqi/feature/wyq/misc-20200831
feature: snapshot list by guest
2020-09-01 10:47:07 +08:00
Rain Zheng
74af85b8eb Fix for Notify (#7692)
* feat(notify): Support update for notify config

* fix(notify): Be compatible with the email configuration

Email config key text changed:
mail.username => username
mail.password => password
mail.smtp.hostname => hostname
mail.smtp.hostport => hostport

* fix(notify): Give users permission to operate receiver

* fix(notify): Allow negative update for receiver

Now, input.Email and input.Mobile can be empty which means
that do not update the corresponding field.

* feat(notify): Support for triggering validation on feishu, dingtalk and worwx

Triggering validation on these contact types means repulling a Contact about them.

* feat(notify): Adds validity period for verify

Verification beyond the expiration date will fail.

* fix(notify): SQuery of scopedomain in FilterByOwner
2020-09-01 10:45:36 +08:00
zhaoxiangchun
c66ea1145d monitor commonalert bugfix (#7667)
* 统一监控查询面板保存

* commonalert bugfix
2020-09-01 10:43:35 +08:00
Jian Qiu
d0842c62cc fix: http error limit request body length (#7699)
fix: http error limit request body length

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-09-01 10:21:39 +08:00
Jian Qiu
3ccf78ae7d fix: server purge may fail (#7696)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-09-01 10:18:37 +08:00
屈轩
a5c3a34b7c fix: 不限制openstack系统盘类型 (#7674)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-09-01 01:21:35 +08:00
wanyaoqi
795a11fcea fix host get guests (#7682) 2020-09-01 01:06:39 +08:00
wanyaoqi
3dec0fdc60 fix get storage capacity on init' (#7686) 2020-09-01 00:59:37 +08:00
Yousong Zhou
ad6b38f68a vpcagent: respect guest src check settings (#7677)
mac   ip    dhcp    ping    xipping    xmacping
  on    on    y       y       n          n
  on    off   y       y       y          n
  off   off   y       y       y          y

external access depends on source routing, changing ip address will
fail that

note dst mac address of reply packet when changing only mac address
with vpc ip remains the same
2020-08-31 16:31:37 +08:00
wanyaoqi
fb41d16c97 snapshot list by guest 2020-08-31 15:24:56 +08:00
Jian Qiu
7336ff732c fix: cleanup logic for nics of pending_deleted guests (#7668)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-31 09:32:34 +08:00
Zexi Li
afd5647c83 Merge pull request #7662 from wanyaoqi/host-deployer/update-base-image-version
feature: update host deployer base image version
2020-08-28 20:36:20 +08:00
wanyaoqi
70f953dee8 update host deployer base image version 2020-08-28 20:17:47 +08:00
wanyaoqi
75cd041d79 baremetal colloct isolated devices info (#7357) 2020-08-28 12:10:34 +08:00
wanyaoqi
f255e8fcd0 fix mount fetcher fs (#7656) 2020-08-28 12:06:33 +08:00
wanyaoqi
b0edff1d80 remove backup metadata on delete backup (#7653) 2020-08-28 12:01:37 +08:00
tb365
11f86bb290 eip & vpc manager match fix (#7650)
Co-authored-by: TangBin <tangbin@yunion.cn>
2020-08-28 11:59:38 +08:00
wanyaoqi
e510ed1969 add host cpu archs capabilitie 2020-08-27 11:07:50 +08:00
wanyaoqi
7d94c4e46f support create arm virtual machine 2020-08-27 11:05:21 +08:00
wanyaoqi
bb0d81bc06 host campactable with arm64 2020-08-27 11:05:21 +08:00
wanyaoqi
cb036b8821 fix build baremetal agent image (#7646) 2020-08-27 11:00:32 +08:00
屈轩
21342005e0 fix: aovid truncated data (#7643)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-26 21:39:40 +08:00
Jian Qiu
cb573d340a fix: turn off some default project policies (#7636)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-26 18:42:35 +08:00
Jian Qiu
585ba0ff58 fix: add keystone sync user debug info (#7633)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-26 18:41:34 +08:00
屈轩
2716d4527d fix: avoid openstack image-list failed (#7640)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-26 18:33:34 +08:00
zhaoxiangchun
dd8a07f364 metric describe 接口 (#7381)
* metric describe 接口

1.初始化influxdb measurement和field到本地
2.更新measurement和field的display_name,以及unit等信息

description api modify:

3.增加初始化json文件
4.统一查询的list接口信息增加description信息,并为description子集
5.增加measurement的权限的过滤

* 统一监控功能:

1.模版调整:
 1)修改email template
 2)格式化消息结构中的报警value,增加单位,同时可以转换为合适的单位
 3)简化消息体中的tag信息:name,ip,brand,value

2.增加报警历史记录
 1)记录每条报警规则的,报警信息
2020-08-26 13:44:34 +08:00
wanyaoqi
c1cf728995 fix github action workflow (#7635) 2020-08-26 13:21:34 +08:00
Jian Qiu
5b2b40d6ce fix: project role rpc returns policies info (#7632)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-26 10:47:33 +08:00
Zexi Li
10f7ed4a46 Merge pull request #7631 from swordqiu/hotfix/qj-keystone-sync-debug
fix: add keystone sync user debug info
2020-08-26 10:47:22 +08:00
Zexi Li
42118fc743 Merge pull request #7603 from wanyaoqi/feature/wyq/arm-build
feature: docker build support buildx and arm architecture
2020-08-26 10:45:51 +08:00
Qiu Jian
ccf55963ac fix: add keystone sync user debug info 2020-08-26 00:35:35 +08:00
Yousong Zhou
500e2edad7 vpcagent: ignore network without wire ids (#7629) 2020-08-25 23:31:32 +08:00
wanyaoqi
61214f2e2c separate guest doamin and dns (#7621) 2020-08-25 22:18:35 +08:00
Rain Zheng
707051ec0b fix: make old notify send SDK compatible (#7628) 2020-08-25 18:48:32 +08:00
屈轩
4593c1fb99 fix: avoid network-list --zone not work (#7619)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-25 18:31:32 +08:00
Jian Qiu
34ee80f011 feature: use informer to update endpoint, policy and service configs (#7596)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-25 17:45:33 +08:00
wanyaoqi
2904364de2 fix gpfs check mountpoint (#7623) 2020-08-25 17:41:33 +08:00
Rain Zheng
853153c739 Refactor for Notify (#7611)
* refactor(notify): ALL

* feat(climc): Notify v2

* feat: support notify for codegen.py

* delete deprecated code and Maintain SDK compatibility

* Adjust the template for mail validation to support captcha

* fix: The issue of notify refactoring

* add copyright for notifyv2 cli

* Adjust according to the advice of make check

* Remove utils package in notify

* fix import format

* remove redundant Template module

* fix validateCreate and validateUpdate of notifytemplate

* fix update issues of receivers

* fix: Add SetStageComplete in tasks
2020-08-25 17:19:02 +08:00
wanyaoqi
6b944626b7 docker build support buildx and arm architecture 2020-08-25 16:13:57 +08:00
Yousong Zhou
c2bca8ab39 Feature/yousong text (#7487)
* notify: log with context info

* region: guests: log with context info

* region: hosts: log with context info

* region: misc: remove redundant log

* region: skus: use NewInternalServerError instead of NewGeneralError

* appsrv: dispatcher: preserve text id

* appsrv: dispatcher: remove commented-out code

* cloudcommon: db_dispatcher: note errors that won't be translated

* cloudcommon: db: rbac: preserve text id

* cloudcommon: caller: preserve text id

* treewide: fix fmt string

* region: guest_actions: preserve text id

* region: guest_actions: fix fmt string

* region: usages: fix fmt string

* mcclient: hosts: remove redundant return value

* cloudcommon: fetch: preserve text id

* region: guest_template: preserve text id

* cloudcommon: db: db_dispatcher: preserve text id

* region: guest_actions: preserve text id

* httperrors: add funcs for wrap lang tag into context

* vendor: golang.org/x/text

* httperrors: error with context

* httperrors: HTTPError

* treewide: fix typo

* treewide: use en in source code

* locales: initial version
2020-08-25 15:26:31 +08:00
屈轩
ca2e8bece3 fix: ignore invalid zone sku for rds sku sync (#7617)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-25 10:31:32 +08:00
Jian Qiu
fea4a6b07b fix: oauth2 not support default_project_id and default_role_id (#7622)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-25 09:57:31 +08:00
Jian Qiu
852a3bb13e fix: idp deletel logic cleanup (#7616)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-24 22:19:31 +08:00
Zexi Li
479d7e2be1 Merge pull request #7615 from swordqiu/hotfix/qj-get-default-http-client-always-new-instance
fix: GetDefaultClient always return a new http client instance
2020-08-24 22:17:41 +08:00
wanyaoqi
a4b27a3cf3 feature:host image fetcher fs (#7606)
* temp

* fix host image, add fetcherfs

* make mod

* add make rpm for fetcherfs

remove temp code
2020-08-24 22:09:33 +08:00
Jian Qiu
7c3fa87ed6 fix: hide locked cloud policy by default (#7614)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-22 20:20:30 +08:00
Qiu Jian
3762df8087 fix: GetDefaultClient always return a new http client instance 2020-08-22 20:07:09 +08:00
屈轩
c1a6b2db9f fix: avoid change user name for google (#7613)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-22 18:36:29 +08:00
Jian Qiu
a94f32ed56 fix: limit the length of error message when do idp redirect (#7612)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-22 12:33:36 +08:00
屈轩
4555b00c35 fix: avoid storage=nil, dis can not delete (#7608)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-22 12:32:29 +08:00
Zexi Li
072e3ca490 Merge pull request #7607 from swordqiu/hotfix/qj-option-turn-off-domain-list
fix: apigateway option to turn off login domain list
2020-08-21 21:26:56 +08:00
Qiu Jian
fe0182333d fix: apigateway option to turn off login domain list 2020-08-21 21:18:46 +08:00
屈轩
5b898bbf6b fix: optimized for cloudid (#7604)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-21 20:50:29 +08:00
lvyangyang
46683b210b fix:wrap params (#7605)
Co-authored-by: lvyangyang <lvyangyang@yunion.cn>
2020-08-21 20:45:23 +08:00
Jian Qiu
777059648b fix: opslog filter by owner_project_ids and owner_domain_ids (#7600)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-21 10:57:23 +08:00
Jian Qiu
7bab39daf9 fix: 1. remove Azure OIDC extra user scope 2. yunionauth cookie missing (#7599)
sometimes

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-21 10:53:17 +08:00
屈轩
a23a94714c fix: member user only can get user & domain resource (#7597)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-20 20:53:17 +08:00
屈轩
e70fe59bc7 fix: option for metadata path (#7595)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-20 15:00:13 +08:00
wanyaoqi
dcf8183c30 alter table guestcdrom_tbl modify column size bigint (#7593) 2020-08-20 13:09:58 +08:00
Zexi Li
8942d19717 Merge pull request #7594 from zexi/feature/climc-helper
climc: add cmd helper to reduce duplicate code
2020-08-20 10:51:02 +08:00
Zexi Li
32e6452add Merge pull request #7579 from swordqiu/feature/qj-cloudid-saml-support-phase1
feature: cloudid saml support phase1 -- framework and api
2020-08-20 10:25:27 +08:00
Zexi Li
aa8177f531 climc: add cmd helper to reduce duplicate code 2020-08-19 18:49:02 +08:00
Zexi Li
86253534d7 only notify watched resource (#7592) 2020-08-19 12:52:26 +08:00
Zexi Li
cc8c7b64a7 Merge pull request #7591 from ioito/hotfix/qx-cloudid-fix
fix: 修复cloudid用户同步及权限同步
2020-08-19 10:38:02 +08:00
Qu Xuan
8a78c54dc9 fix: 修复cloudid用户同步及权限同步 2020-08-18 20:42:30 +08:00
Zexi Li
918baf111d Merge pull request #7588 from swordqiu/hotfix/qj-dns-record-create-public
fix: dns record create ignore is_public field
2020-08-18 10:51:04 +08:00
Qiu Jian
92f05be309 feature: cloudid saml support phase1 -- framework and api 2020-08-18 01:21:56 +08:00
Qiu Jian
016b65a4b1 fix: dns record create ignore is_public field 2020-08-18 01:06:08 +08:00
屈轩
d5524d1ea1 fix: 支持自定义权限 (#7565)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-17 10:59:53 +08:00
Jian Qiu
2b7586140a feature: do uniqueness check when create/update idp configs (#7584)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-17 10:58:57 +08:00
Rain Zheng
0ab75b52df fix: GetIImages correctly without 'image_cache' dir (#7575)
After creating vms, there is no dir named 'image_cache' exists in
storage of esxi. So handle this case to not affecte the synchronization of the
VMware Template.
2020-08-16 23:45:56 +08:00
Zexi Li
ce695849ca Merge pull request #7580 from swordqiu/hotfix/qj-allow-delete-shared-role-policy
fix: allow delete shared role and policy
2020-08-16 23:44:10 +08:00
Yousong Zhou
6dc007425c Bugfix/yousong vpc ext (#7585)
* apis: vpcs_ovn: alloc for interconnects

* vpcagent: names: add vpc ext names

* vpcagent: use var hasXxxgw

* vpcagent: add switch and router for ext access

Link: https://github.com/yunionio/onecloud/issues/7583
2020-08-16 23:40:53 +08:00
Qiu Jian
4a0439da82 fix: allow delete shared role and policy 2020-08-15 20:54:22 +08:00
屈轩
196d3b3604 fix: aovid duplicate sku name (#7572)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-14 20:35:49 +08:00
Yousong Zhou
e01f0ce2a2 Bugfix/yousong hostman routes (#7563)
* netutils2: SNetInterface: add GetGatewayRoutes

* hostman: use GetGatewayRoutes

* iproute2: route: add and use AddNetlinkRoute

* iproute2: route: List4 use RouteSpec

* netutils2: SNetInterface: rename GetRoutes to getRoutes

* netutils2: SNetInterface: add GetRouteSpecs

* netutils2: SNetInterface: add GetGatewayRouteSpecs

* hostman: hostbridge: SetupRoutes with iproute2.RouteSpec

* hostman: hostinfo: move also other routes

* netutils2: SNetInterface: remove now unused methods

* iproute2: route: RouteGetByDst: use RouteSpec as return value
2020-08-14 20:28:47 +08:00
wanyaoqi
29c0e53849 fix usage not set prefix (#7568) 2020-08-14 17:31:48 +08:00
Jian Qiu
cedfd6410e fix: init wire domain_id for local vpc (#7566)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-14 17:30:49 +08:00
Zexi Li
6a57435f1c fix: json TAG_PREFIX invalid syntax (#7564) 2020-08-14 17:29:49 +08:00
屈轩
7cd419f78e fix: avoid virtual resource project id is empty when cloudaccount with no project (#7560)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-14 10:38:50 +08:00
Rain Zheng
098b4e5b55 fix: Merge the host network correctly when preparenet (#7557) 2020-08-14 10:36:52 +08:00
Jian Qiu
b898455840 fix: network port count stat recode (#7554)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-14 10:34:46 +08:00
lvyangyang
eb56fcf7bc add: openstack loadbalancer (#7497)
Co-authored-by: lvyangyang <lvyangyang@yunion.cn>
2020-08-14 10:29:50 +08:00
Zexi Li
7a08a60dbd scheduler: refactor network predicate (#7553) 2020-08-13 17:56:47 +08:00
Zexi Li
95130f8ef0 region: validate network auto alloc update data (#7559) 2020-08-13 17:55:45 +08:00
Jian Qiu
320d7cabcd fix: user with sso idp fail to login with password (#7552)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-13 11:24:46 +08:00
Jian Qiu
a02611db12 fix: oidc auth callback url not complete (#7545)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-11 19:56:45 +08:00
Jian Qiu
59c026f0d9 fix: recode user project role list to include group info (#7544)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-11 19:55:44 +08:00
Zexi Li
c672521ce2 cloudcommon: remove query for fetchitem when not GET (#7551) 2020-08-11 19:46:44 +08:00
Zexi Li
f6da6c4f65 Merge pull request #7547 from wanyaoqi/feature/wyq/support-configure-usb-kbd
feautre: support diable usb kbd
2020-08-11 18:41:53 +08:00
Zexi Li
357a0cd541 Merge pull request #7541 from ioito/hotfix/qx-host-enabled-optimized
fix: separete enabled and status field
2020-08-11 18:39:08 +08:00
Zexi Li
88b990e2a0 Merge pull request #7550 from zexi/hotfix/scheduler-net-alloc
scheduler: fix network auto alloc logic
2020-08-11 18:33:26 +08:00
Zexi Li
6f2ddbd3ad scheduler: fix network auto alloc logic 2020-08-11 18:03:13 +08:00
Jian Qiu
e1bd01162d fix: change publicNetworkCount to autoAllocNetworkCount in Capability (#7546)
response

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-11 16:31:15 +08:00
wanyaoqi
df9e47cbfc support diable usb kbd 2020-08-11 15:30:10 +08:00
Qu Xuan
5b31ca8dad fix: separete enabled and status field 2020-08-11 14:53:19 +08:00
Zexi Li
156f983e67 Merge pull request #7530 from wanyaoqi/bugfix/wyq/fix-mount-xfs
bugfix: mount xfs lock uuid
2020-08-11 11:16:17 +08:00
wanyaoqi
aa483edeba fix usage get storage capbility (#7527) 2020-08-10 20:07:56 +08:00
wanyaoqi
cdaff21269 fix mount xfs 2020-08-10 19:54:28 +08:00
Zexi Li
9af25a2aa9 cloudcommon: remove unnecessary joint interface (#7524) 2020-08-10 16:16:46 +08:00
Jian Qiu
c277d492fc fix: update vendor (#7526)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-10 15:41:43 +08:00
wanyaoqi
54ff56c04e usage report reserved memory (#7525) 2020-08-10 15:40:43 +08:00
Zexi Li
5c4e157e8b Merge pull request #7523 from ioito/hotfix/qx-shell-optimized
fix: compatible for macOS
2020-08-10 15:38:58 +08:00
屈轩
930ca23ea8 fix: optimized huawei security group get and create operation (#7520)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-10 15:37:45 +08:00
Qu Xuan
a6bff94983 fix: compatible for macOS 2020-08-10 14:39:41 +08:00
wanyaoqi
cad24ac69b set disk status on disk detached (#7517) 2020-08-10 11:41:43 +08:00
屈轩
f343b071fa fix: 修复安全组合并导致重复计算虚拟机绑定安全组数量&优化安全组操作 (#7496)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-10 11:18:44 +08:00
zhaoxiangchun
b63d9b55d8 nodealert bugfix: (#7512)
1.重名判断:后端通过resType, nodeName, metric 限制前端可以创建相同metric的报警记录
2020-08-10 11:15:44 +08:00
zhaoxiangchun
22cd20c3f9 modify telegraf reporting tag (#7489)
1.取消platform字段,统一使用brand
2.telegraf
  conf中增加domain和project_domain信息,通过getDomainInfo()函数初始化
3.宿主机信息上报时,增加tenant和tenant_id信息
4.内存信息中增加内存使用率:used_percent field字段
2020-08-10 10:51:43 +08:00
屈轩
4696a3e475 fix: avoid nil pointer (#7508)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-10 10:26:45 +08:00
Jian Qiu
c98e72e6e9 fix: password authentication may choose wrong idp backend (#7513)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-10 10:23:43 +08:00
tb365
280039ab38 add image upload& s3 upload api (#7514)
Co-authored-by: TangBin <tangbin@yunion.cn>
2020-08-10 10:21:44 +08:00
Jian Qiu
b0505ba5fd Hotfix/qj password login wrong idp (#7511)
* fix: role assignment code to include group info for group users

* fix: password authentication may choose wrong idp backend

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-07 14:19:34 +08:00
Zexi Li
e8e5c3dbe5 Merge pull request #7506 from swordqiu/hotfix/qj-sso-preserve-state
fix: preserve state while doing sso redirect
2020-08-07 11:07:15 +08:00
Zexi Li
a8c0e8291a Merge pull request #7498 from ioito/hotfix/qx-azure-storage
fix: 隐藏auzre经典类型存储
2020-08-07 11:06:02 +08:00
Zexi Li
d03c576048 Merge pull request #7501 from ioito/hotfix/qx-zstack-optimized
fix: 提高zstack认证兼容性
2020-08-07 11:04:57 +08:00
Zexi Li
d61d4776a5 Merge pull request #7505 from rainzm/feishu/batch_send
feat: Add BatchSendMessage for feishu SDK
2020-08-07 11:04:32 +08:00
Qiu Jian
60eec6440b fix: preserve state while doing sso redirect 2020-08-06 21:49:16 +08:00
rainzm
aa364a3d74 feat: Add BatchSendMessage for feishu SDK 2020-08-06 20:52:51 +08:00
Qu Xuan
0850bd516e fix: 提高zstack认证兼容性 2020-08-06 19:23:54 +08:00
Qu Xuan
629a4e93d2 fix: 隐藏auzre经典类型存储 2020-08-06 18:00:09 +08:00
Jian Qiu
604b6b7fff feature: OpenID Connect provider support (#7490)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-06 12:10:15 +08:00
屈轩
327b60baf6 fix: 增加openstack兼容性 (#7492)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-06 11:56:18 +08:00
Zexi Li
d988b41a39 Merge pull request #7491 from swordqiu/hotfix/qj-oidc-support-azure-ad-china
fix: support AzureAD oidc in china area
2020-08-06 11:53:04 +08:00
Jian Qiu
c63230f377 fix: do not search response key if empty json returned (#7495)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-06 11:51:16 +08:00
Jian Qiu
19b69de1dd fix: idp validate config not complete (#7488)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-06 11:49:16 +08:00
Qiu Jian
12bbbc541a fix: support AzureAD oidc in china area 2020-08-05 15:35:20 +08:00
wanyaoqi
716f647f7a fix host info get sshkey (#7484) 2020-08-04 13:29:09 +08:00
Jian Qiu
0e775e68ec feature: OpenID Connect provider support (#7446)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-04 13:09:05 +08:00
Jian Qiu
d4a93f0dcd fix: capabilities get auto alloc network count (#7483)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-04 13:04:03 +08:00
Jian Qiu
0a580b3c9c fix: unlink-user illegal mix of collations (#7482)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-04 13:03:35 +08:00
Zexi Li
74dd7f7618 Merge pull request #7479 from swordqiu/hotfix/qj-typo-running_guests
fix: typo running_geusts => running_guests
2020-08-03 16:58:23 +08:00
Zexi Li
f513f6f6e3 Merge pull request #7474 from ioito/hotfix/qx-typo
fix: typo
2020-08-03 16:57:32 +08:00
Jian Qiu
04eaf3de63 fix: filter public network count by zone and region (#7477)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-03 16:57:02 +08:00
Qiu Jian
eae229b35a fix: typo running_geusts => running_guests 2020-08-03 16:14:33 +08:00
Jian Qiu
1ba9715ec2 feature: add is_auto_alloc flag to networks (#7473)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-03 11:58:02 +08:00
Qu Xuan
9da8095f84 fix: typo 2020-08-03 10:56:24 +08:00
Jian Qiu
1929076fa5 fix: ignore bucket-set-acl not implemented error (#7470)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-03 09:25:04 +08:00
Zexi Li
5b3063086a Merge pull request #7447 from tb365/bugfix/tb-bugfix-200801
aws elb listener&rule name too long fix
2020-08-02 10:08:15 +08:00
Zexi Li
65e32b1efe Merge pull request #7453 from rainzm/scheduler/sort_optimization
opt(scheduler): better sort for hosts when selectHost
2020-08-02 10:05:48 +08:00
Zexi Li
da7342368e Merge pull request #7455 from swordqiu/hotfix/qj-avoid-duplicate-generated-performsetscope
fix: avoid generated codes having duplicate PerformSetScope methods
2020-08-02 10:04:22 +08:00
屈轩
a51f0271eb fix: avoid host globalid change (#7465)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-01 21:33:02 +08:00
wanyaoqi
a962db0e9a fix reauth condition on influxdb not found (#7456) 2020-08-01 21:27:05 +08:00
wanyaoqi
2cdfed2cab fix cache non lvm disks (#7459) 2020-08-01 21:10:02 +08:00
Qiu Jian
9bdf2c75e1 fix: avoid generated codes having duplicate PerformSetScope methods 2020-08-01 17:34:54 +08:00
rainzm
ed4847dffc opt(scheduler): better sort for hosts when selectHost 2020-08-01 17:28:22 +08:00
tangbin
ff4840b468 aws elb listener&rule name too long fix 2020-08-01 11:09:50 +08:00
Zexi Li
7e55869cad Merge pull request #7416 from rainzm/network/create
fix(region): Don't allow address conflicts under vpc
2020-08-01 11:05:22 +08:00
Zexi Li
04d7eaea71 Merge pull request #7435 from tb365/bugfix/tb-bugfix-0730
Bugfix/tb bugfix 0730
2020-08-01 10:57:37 +08:00
rainzm
47b9b91b88 fix(region): Don't allow address conflicts under vpc
Except for default vpc, vpc and wire have a one-to-one correspondence.
So prohibiting the address conflict of wire does not avoid
the address conflict of default vpc.
2020-08-01 10:51:00 +08:00
tangbin
e59e40d3b5 fix redis reset account password action log 2020-08-01 10:44:18 +08:00
tangbin
bd3d581f45 loadblancer listener modify name fix 2020-08-01 10:38:44 +08:00
Zexi Li
2842e18d17 Merge pull request #7438 from swordqiu/hotfix/qj-vpc-wire-share-status-sync
fix: sync share mode between vpc and wire
2020-08-01 10:37:54 +08:00
Zexi Li
ef7d456037 Merge pull request #7441 from wanyaoqi/bugfix/wyq/fix-deploy-admin-auth-key
bugfix: fix deploy admin auth key
2020-08-01 00:05:29 +08:00
wanyaoqi
9bc1cfe6fc fix deploy admin auth key 2020-07-31 23:20:37 +08:00
Zexi Li
b1603153e8 baremetal: fix hpssactl split last LV size out of limit (#7426) 2020-07-31 22:35:01 +08:00
Qiu Jian
9ea80725a4 fix: sync share mode between vpc and wire 2020-07-31 22:17:55 +08:00
屈轩
27168fc720 fix: upgrade aliyun sdk (#7432)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-31 20:43:00 +08:00
Zexi Li
4d143a9ee0 Merge pull request #7433 from zexi/hotfix/capability-public-network-count
capability: public network count filter by default vpc
2020-07-31 20:42:31 +08:00
Zexi Li
8dd25e01c5 capability: public network count filter by default vpc 2020-07-31 20:27:59 +08:00
Zexi Li
775c423441 Merge pull request #7417 from ioito/hotfix/qx-disk-create-sched
fix: avoid lost backend params
2020-07-31 18:07:31 +08:00
Zexi Li
7496a9742b Merge pull request #7413 from ioito/hotfix/qx-openstack-windows-user-data
fix: openstack win image user data need encode
2020-07-31 18:06:35 +08:00
Zexi Li
27a13009fc Merge pull request #7405 from ioito/hotfix/qx-account-sync-deadlock
fix: avoid account sync deadlock
2020-07-31 18:05:17 +08:00
Zexi Li
f010cd7328 Merge pull request #7400 from swordqiu/hotfix/qj-ignore-set-acl-not-implemented-error
fix: ignore general s3 set acl not implemented error
2020-07-31 18:03:56 +08:00
Yousong Zhou
d95584b116 Feature/yousong lblis names (#7395)
* apis: compute: move struct defs

* lblisteners: list: show certificate name

* lblisteners: list: show acl name

* lblisteners: remove unused acl_name field
2020-07-31 18:03:05 +08:00
屈轩
1244c170b7 fix: 避免glance metadata-list project scope无权限 (#7402)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-31 18:01:27 +08:00
wanyaoqi
ae0bd556ca fix host register info (#7401) 2020-07-31 18:01:01 +08:00
屈轩
fd2f1c0e36 fix: 优化openstack项目认证 (#7397)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-31 17:59:43 +08:00
屈轩
0cad2efd2c fix: 避免在仅调整虚拟机磁盘时opslog日志记录mem cpu异常 (#7392)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-31 17:57:42 +08:00
Qu Xuan
846f90d546 fix: avoid lost backend params 2020-07-31 17:18:22 +08:00
Qu Xuan
7816180231 fix: openstack win image user data need encode 2020-07-31 16:53:39 +08:00
wanyaoqi
d6fdf33614 fix panic on storage failed get host (#7390) 2020-07-31 16:44:01 +08:00
Qu Xuan
509ebb92c7 fix: avoid account sync deadlock 2020-07-31 16:31:01 +08:00
Qiu Jian
7f829f24f7 fix: ignore general s3 set acl not implemented error 2020-07-31 14:04:46 +08:00
Rain Zheng
0deb908ac7 fix(region): zone from guesttemplate's preferzone maybe nil (#7387) 2020-07-30 17:42:30 +08:00
Zexi Li
e5404d3564 Merge pull request #7300 from lshmouse/image
Add more tips for make image cmd
2020-07-30 16:32:37 +08:00
Zexi Li
080b7b752f Merge pull request #7318 from ioito/hotfix/qx-fix-openstack-project
fix: openstack多项目问题
2020-07-30 15:53:25 +08:00
Zexi Li
10661f7f31 Merge pull request #7384 from ioito/hotfix/qx-json-request-nil-fix
fix: avoid parse json err nil pointer
2020-07-30 15:15:14 +08:00
Zexi Li
6c31b524ae Merge pull request #7383 from ioito/hotfix/qx-task-nil-fix
fix: avoid nil pointer
2020-07-30 15:15:01 +08:00
Qu Xuan
859ab97175 fix: openstack多项目问题 2020-07-30 14:23:56 +08:00
Qu Xuan
598e8a9248 fix: avoid parse json err nil pointer 2020-07-30 11:30:38 +08:00
Qu Xuan
6477e0e140 fix: avoid nil pointer 2020-07-30 11:23:36 +08:00
Jian Qiu
f0f406c243 fix: adjust API input field names according to spec (#7382)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-07-30 10:51:00 +08:00
Jian Qiu
ba292dfedc fix: use json to store task error message (#7351)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-07-30 10:34:32 +08:00
屈轩
3df146ff6f fix: 添加阿里云rds备份恢复限制条件 (#7378)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-29 21:40:03 +08:00
Jian Qiu
984bfeb6e8 fix: change owner should check required domain list (#7375)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-07-29 17:32:01 +08:00
Zexi Li
5ed67ee2a4 Merge pull request #7359 from ioito/bugfix/qx-dup-secgroup-for-guest
fix: 修复vm绑定重复安全组
2020-07-28 20:58:56 +08:00
Zexi Li
9f6459d40e Merge pull request #7371 from zexi/hotfix/sched-list-res-type
region: schedtag list support resource_types
2020-07-28 20:57:26 +08:00
屈轩
76f78cdda0 fix: 普通视图下,安全组仅统计可看到的vm count (#7358)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-28 20:54:59 +08:00
屈轩
d8f0463657 fix: 同步sku与磁盘类型关系 (#7368)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-28 20:48:58 +08:00
Zexi Li
48d982b39f region: schedtag list support resource_types 2020-07-28 20:35:47 +08:00
tb365
9acc8c629d make rpc handle exportable (#7367)
Co-authored-by: tangbin <tangbin@yunion.cn>
2020-07-28 19:53:57 +08:00
Zexi Li
f70da44fb5 Merge pull request #7364 from zexi/hotfix/adjust-sched-condition-width
adjust schedule resource condition width
2020-07-28 18:50:16 +08:00
屈轩
78a68bffd1 fix: 避免创建rds备份时对rds进行一些操作 (#7354)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-28 18:46:57 +08:00
Qu Xuan
8c31bba0aa fix: 修复vm绑定重复安全组 2020-07-28 18:11:30 +08:00
Zexi Li
59e4f7d61e adjust schedule resource condition width 2020-07-28 11:08:43 +08:00
Shaohui Liu
51cb278ae2 Add more tips for make image cmd 2020-07-27 20:54:17 +08:00
Zexi Li
2fb32d1faf Merge pull request #7348 from wanyaoqi/bugfix/wyq/fix-list-schedtag-output
bugfix :fix schedtag list output
2020-07-27 20:26:26 +08:00
wanyaoqi
0512050667 fix schedtag list output 2020-07-27 20:21:07 +08:00
Zexi Li
9b02f31771 Merge pull request #7338 from rainzm/secgroups/esxi_baram
fix(region): Remove default secgroup for esxi guest
2020-07-27 19:49:14 +08:00
Zexi Li
8da8c62efe Merge pull request #7343 from rainzm/gt/details
Modify detail for guesttemplate and scalinggroup
2020-07-27 19:48:11 +08:00
Zexi Li
cdeb6e76e7 Merge pull request #7346 from swordqiu/hotfix/qj-policy-default-perform-policy
fix: add default perform allow policy to sysadmin
2020-07-27 19:47:12 +08:00
Qiu Jian
757706db9d fix: add default perform allow policy to sysadmin 2020-07-27 18:53:47 +08:00
Zexi Li
e4a251e812 Merge pull request #7336 from yousong/bugfix/yousong-guests-for-eip
guests: guests with vpc nics are available for eip association
2020-07-27 15:54:49 +08:00
Zexi Li
3019ccd410 Merge pull request #7321 from swordqiu/hotfix/qj-s3-acl-candidate-list
fix: choose candidate list from the list returned from backend
2020-07-27 15:53:38 +08:00
Zexi Li
785c698f7f Merge pull request #7319 from ioito/hotfix/qx-account-update
fix: 单独添加更新账单文件日志
2020-07-27 15:52:42 +08:00
Zexi Li
cb104fa8c5 Merge pull request #7316 from zhaoxiangchun/bugfix/zxc-commonalert
修复统一报警bug
2020-07-27 15:51:45 +08:00
Zexi Li
26afa8b901 Merge pull request #7324 from swordqiu/hotfix/qj-schedtag-should-be-system-resources
fix: schedtag should be system resource
2020-07-27 15:49:52 +08:00
Zexi Li
b976ab4ddb Merge pull request #7342 from zexi/feature/k8s-climc-update
climc: update k8s resource list options
2020-07-27 15:49:06 +08:00
Zexi Li
06f2da22f5 Merge pull request #7330 from swordqiu/hotfix/qj-check-accessibility-when-dissociate-eip
fix: do accessibility check when dissociate eip from resource
2020-07-27 15:22:18 +08:00
rainzm
49e4e31dac Add metadata for GuestTempalte details 2020-07-27 15:16:32 +08:00
rainzm
45a3e08055 Add network info when list scalingGroup details 2020-07-27 15:16:25 +08:00
Zexi Li
360b48703d Merge pull request #7327 from tb365/bugfix/tb-huawei-client-fix
huawei fetch regions&projects fix
2020-07-27 15:14:46 +08:00
Zexi Li
7d49c4cb00 Merge pull request #7332 from swordqiu/hotfix/qj-cloud-account-delete-may-failed
fix: cloud account delete may fail due to inconsistent status
2020-07-27 15:12:49 +08:00
Zexi Li
cd25b4ac64 climc: update k8s resource list options 2020-07-27 15:03:32 +08:00
rainzm
68ba4361db fix(region): Remove default secgroup for esxi guest
1. InitializeData remove all secgroup_id of esxi guest from database
2. Set input.SecgroupId as empty for guest whose GetMaxSecurityGroupCount
return 0
2020-07-27 14:35:21 +08:00
Yousong Zhou
5c7ae23d85 guests: guests with vpc nics are available for eip association 2020-07-27 11:01:13 +08:00
屈轩
a67f3e5481 fix: 避免status_code>=400并且resp为空时err为nil (#7264)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-27 04:42:26 +08:00
yunion-ci-robot
59b85d1634 Merge pull request #7310 from ioito/hotfix/qx-rule-filter-by-projects
fix: 支持多项目安全组规则过滤
2020-07-25 23:55:42 +08:00
Qiu Jian
9f8f2b6c4c fix: cloud account delete may fail due to inconsistent status 2020-07-25 14:54:53 +08:00
yunion-ci-robot
57ce078669 Merge pull request #7302 from wanyaoqi/bugfix/wyq/fix-clone-clean-pending-usage
bugfix : fix clone clean pending usage
2020-07-24 22:49:46 +08:00
Qiu Jian
8451954400 fix: do accessibility check when dissociate eip from resource 2020-07-24 22:43:19 +08:00
zhaoxiangchun
5e0cb93199 修改报警消息模版:
1.模版中使用ftm.sprintf
  对float类型进行转换,避免消息中数值以十进制的指数次格式显示,提高可读性
2.增加text/tempalte,解决飞书等消息中消息内容被编码的问题
2020-07-24 22:35:24 +08:00
tangbin
1583da57fe go fmt 2020-07-24 18:14:39 +08:00
tangbin
d45ee2c0eb go fmt 2020-07-24 18:09:09 +08:00
tangbin
e660e25be9 host upload template check 2020-07-24 17:59:52 +08:00
rainzm
34e66ab2e3 fix: modify list details for guesttemplate 2020-07-24 17:02:08 +08:00
Qiu Jian
8f1b934721 fix: schedtag should be system resource 2020-07-24 17:00:00 +08:00
Qiu Jian
35da086ccf fix: choose candidate list from the list returned from backend 2020-07-24 16:48:13 +08:00
tangbin
0f24531894 huawei fetch regions&projects fix 2020-07-24 16:05:52 +08:00
Qu Xuan
c6df1944c8 fix: 单独添加更新账单文件日志 2020-07-24 14:29:05 +08:00
zhaoxiangchun
9214724557 修复统一报警bug
1.对系统内置的规则的处理,可以进行正确判断推送消息
2.一些初始化,validate的判断逻辑的修改
2020-07-24 11:06:52 +08:00
Zexi Li
d5f8855cc2 Merge pull request #7143 from wanyaoqi/feature/wyq/kvm-misc
auto switch to backup server
2020-07-24 10:48:02 +08:00
Zexi Li
f5b0fa369e Merge pull request #7314 from wanyaoqi/bugfix/wyq/rename-vgname-centos
rename vgname centos
2020-07-24 10:46:47 +08:00
yunion-ci-robot
1a8805cd47 Merge pull request #7293 from lshmouse/docker
Remove sudo before the docker cmd
2020-07-23 22:46:39 +08:00
wanyaoqi
3994889910 rename vgname centos 2020-07-23 21:31:39 +08:00
yunion-ci-robot
00b9ebf049 Merge pull request #7303 from swordqiu/hotfix/qj-domain-resource-default-share-to-system
fix: domain resource domain share to system when non_default_domain_projects off
2020-07-23 20:31:34 +08:00
Qu Xuan
b20cd13645 fix: 支持多项目安全组规则过滤 2020-07-23 20:18:26 +08:00
wanyaoqi
31c0d5a42c fix clone clean pending usage 2020-07-23 18:37:35 +08:00
wanyaoqi
64935a4656 capabilites add available host count 2020-07-23 18:10:58 +08:00
Qiu Jian
8d8acab903 fix: domain resource domain share to system when
non_default_domain_projects off
2020-07-23 16:51:02 +08:00
Zexi Li
e794a307bc Merge pull request #7301 from swordqiu/hotfix/qj-update-autogen-api-model
fix: update auto generate model api
2020-07-23 16:17:05 +08:00
Qiu Jian
208b69573c fix: update auto generate model api 2020-07-23 14:56:01 +08:00
Zexi Li
16d1c20d8c Merge pull request #7294 from wanyaoqi/bugfix/wyq/fix-snapshot-clean-pending-usage
bugfix: fix snapshot clean pending usage
2020-07-23 13:48:34 +08:00
yunion-ci-robot
3dbcd5b064 Merge pull request #7279 from rainzm/scheduler/instanceGroup
feat(scheduler): Change the action for guests with backup and instanceGroup
2020-07-23 13:43:29 +08:00
wanyaoqi
cd5d317632 fix snapshot clean pending usage 2020-07-23 11:33:26 +08:00
Shaohui Liu
96bb34ea01 Remove sudo before the docker cmd 2020-07-23 10:38:29 +08:00
Zexi Li
91888d8171 Merge pull request #7286 from tb365/bugfix/tb-bugfix-elb-0721
Bugfix/tb bugfix elb 0721
2020-07-22 21:43:34 +08:00
wanyaoqi
a677f24351 - add precheck for perform action
- auto switch to backup

- add sync cleand schedule cache

- add reconcile with backup

- add manual reconcile backup
2020-07-22 20:38:36 +08:00
tangbin
d10e15ed98 format fix 2020-07-22 17:47:56 +08:00
tangbin
d5591001cc fix empty else 2020-07-22 17:30:46 +08:00
tangbin
3ff402f4b6 fix host import 2020-07-22 17:22:57 +08:00
tangbin
94bb917165 fix huawei delete resource 2020-07-22 16:27:34 +08:00
tangbin
7fcc85f856 fix huawei elb disable healthcheck 2020-07-22 16:27:34 +08:00
tangbin
6d9a556381 lb sync project fix 2020-07-22 16:27:34 +08:00
tangbin
edc10b14da add more log 2020-07-22 16:27:34 +08:00
tangbin
cea0121625 apigateway host imports data validate 2020-07-22 16:27:33 +08:00
Zexi Li
3b624d8ba6 Merge pull request #7276 from ioito/hotfix/qx-rule-export
fix: 避免未能导出共享安全组规则
2020-07-22 13:55:34 +08:00
Zexi Li
ef835112ed Merge pull request #7273 from swordqiu/hotfix/qj-image-upload-not-clean-pending-usage
fix: image upload not clean pending usage
2020-07-22 13:54:30 +08:00
Zexi Li
13d58f9dc9 Merge pull request #7281 from rainzm/esxi/changedisk
fix(esxi): Select correct unitNumber for ide control when creating disk
2020-07-22 13:52:16 +08:00
rainzm
fa0450b454 feat(scheduler): Change the action for guests with backup and instanceGroup
1. 对于主机组的打散功能,放在调度的最后单独处理。
2. 主备机的调度,通过在主机和备机之间设置一个粒度为1的主机组来实现。
3. 虚拟机的调度默认打散,在打散的基础上,选择容量大的宿主机。
3. 主备机中,主机和备机的默认打散流程分散开,互不影响。
2020-07-21 20:29:47 +08:00
Qu Xuan
9a329453a7 fix: 避免未能导出共享安全组规则 2020-07-21 16:39:26 +08:00
yunion-ci-robot
3c5e2998f6 Merge pull request #7173 from swordqiu/feature/qj-unified-sso-login
feature: unified sso login framework
2020-07-21 16:28:24 +08:00
Qiu Jian
5d4efcc63a update vendor 2020-07-21 16:16:55 +08:00
Qiu Jian
0967843896 feature: unified sso login framework 2020-07-21 16:13:18 +08:00
yunion-ci-robot
b212973e17 Merge pull request #7270 from zexi/hotfix/baremetal-zone-not-set
baremetal: set zone when enable netif
2020-07-21 11:49:25 +08:00
Qiu Jian
587f533daa fix: image upload not clean pending usage 2020-07-21 01:38:00 +08:00
yunion-ci-robot
e7305936b4 Merge pull request #7267 from tb365/bugfix/tb-bugfix-20072001
fix GetOrCreateVpcForClassicNetwork
2020-07-20 20:49:27 +08:00
Zexi Li
52cdaa4e4c Merge pull request #7237 from tb365/bugfix/tb-huawei-eip-delete-fix
huawei eip delete fix
2020-07-20 20:47:16 +08:00
Zexi Li
c274331035 baremetal: set zone when enable netif 2020-07-20 20:40:50 +08:00
tangbin
a755d0d37e fix GetOrCreateVpcForClassicNetwork 2020-07-20 18:24:46 +08:00
yunion-ci-robot
e1f41aed25 Merge pull request #7238 from rainzm/vpc/private
fix: default vpc must be shared globally
2020-07-20 02:10:22 +08:00
Zexi Li
8caca4de4a Merge pull request #7225 from ioito/hotfix/qx-rds-recovery
fix: rds备份恢复优化
2020-07-20 02:07:06 +08:00
Zexi Li
ccd40b7da2 Merge pull request #7228 from wanyaoqi/bugfix/wyq/fix-sync-status
bugfix: fix server sync status
2020-07-20 02:06:13 +08:00
Zexi Li
2bee2b04d9 Merge pull request #7234 from ioito/hotfix/qx-global-vpc-share
fix: globalvpc跟随云账号共享
2020-07-20 02:05:00 +08:00
yunion-ci-robot
c25d168ffa Merge pull request #7256 from zhaoxiangchun/bugfix/zxc-suggest-mon
修复监控报警规则删除的问题
2020-07-20 02:04:22 +08:00
Zexi Li
9c26bca52c Merge pull request #7231 from tb365/bugfix/tb-lb-acl-delete-condition-fix
acl delete condition fix
2020-07-20 02:02:16 +08:00
zhaoxiangchun
bd80fa889d 修复监控报警规则删除的问题 2020-07-19 21:26:23 +08:00
Zexi Li
e6dd955d08 Merge pull request #7248 from wanyaoqi/bugfix/wyq/fix-error-ouput
hostman: fix error output
2020-07-19 20:53:39 +08:00
Zexi Li
01f4a3381b Merge pull request #7254 from zexi/hotfix/sched-storage-error
scheduler: fix storage filter duplicate error message
2020-07-19 20:52:47 +08:00
Zexi Li
9ed325b848 Merge pull request #7251 from swordqiu/hotfix/qj-disk-resize-not-update-usage
fix: quota usage not updated after disk resizing
2020-07-19 20:24:58 +08:00
Zexi Li
0957fee3d0 scheduler: fix storage filter duplicate error message 2020-07-19 20:23:35 +08:00
Qiu Jian
ce3d0906b0 fix: quota usage not updated after disk resizing 2020-07-19 13:16:07 +08:00
wanyaoqi
7f8be7d4b1 fix error output 2020-07-19 12:30:54 +08:00
Rain Zheng
5975887d5a fix(esxi): Select correct unitNumber for ide control when creating disk 2020-07-18 22:20:38 +08:00
Qu Xuan
8d85f04d86 fix: rds备份恢复优化 2020-07-18 20:36:10 +08:00
rainzm
d3741d9a45 fix: default vpc must be shared globally
1. For default vpc, prohibit private operation.
2. For default vpc, prohibit public operation without scope 'system'.
2020-07-18 19:37:15 +08:00
tangbin
081a3eabd0 huawei eip delete fix 2020-07-17 20:54:18 +08:00
tangbin
a74853db79 acl delete condition fix 2020-07-17 20:39:01 +08:00
Qu Xuan
3bf9b5b0d9 fix: globalvpc跟随云账号共享 2020-07-17 20:38:17 +08:00
Zexi Li
192a49a055 Merge pull request #7224 from ioito/hotfix/qx-eip-list-filter
fix: 过滤可用eip
2020-07-17 20:24:51 +08:00
wanyaoqi
41fcf38cff fix server sync status 2020-07-17 20:22:57 +08:00
Zexi Li
bc1b45d3aa Merge pull request #7221 from ioito/hotfix/qx-aliyun-endpoint
fix: 避免乌兰察布区域拉取资源异常
2020-07-17 19:41:10 +08:00
Qu Xuan
ecaa1ad454 fix: 过滤可用eip 2020-07-17 19:22:42 +08:00
yunion-ci-robot
739f508b2d Merge pull request #7220 from yousong/bugfix/yousong-lbagent-create
Bugfix/yousong lbagent create
2020-07-17 18:54:19 +08:00
Qu Xuan
8bd23cf3de fix: 避免乌兰察布区域拉取资源异常 2020-07-17 18:51:43 +08:00
Yousong Zhou
e5dd2409df region: lbagents: skip tls check for default influxdb endpoint url 2020-07-17 13:30:35 +08:00
Yousong Zhou
495a2d9954 region: lbagents: default vrrp vrid, priority
vrid: max(current_vrid)+1

priority: min(current_priority)-1
2020-07-17 13:30:33 +08:00
Yousong Zhou
4596f3f119 region: lbagents: use local params var
Instead of value type asserted from validator result
2020-07-17 13:30:33 +08:00
Yousong Zhou
746cb8679c region: lbagents: set some vrrp params to values of peers
For later members of a cluster, they should follow existing params in
the cluster

	VirtualRouterId
	AdvertInt
	Preempt
	Pass
2020-07-17 13:30:33 +08:00
Yousong Zhou
b0c39bfad6 region: lbagents: make vrrp interface default to eth0 2020-07-17 13:30:30 +08:00
Zexi Li
18d8b4b27a Merge pull request #7216 from rainzm/esxi/somefix
fix: prefetch image error when create guest with vmware template
2020-07-17 10:16:29 +08:00
Zexi Li
bd3123524f Merge pull request #7213 from tb365/bugfix/tb-bugfix-0716
sync classic redis fix
2020-07-17 10:15:43 +08:00
Zexi Li
7697e5faaf Merge pull request #7202 from yousong/bugfix/yousong-lbagent-deploy
Bugfix/yousong lbagent deploy
2020-07-17 10:15:03 +08:00
Zexi Li
c7e95a82f8 Merge pull request #7198 from yousong/bugfix/yousong-ansible
Bugfix/yousong ansible
2020-07-17 10:11:27 +08:00
Zexi Li
9848b517ab Merge pull request #7195 from ioito/bugfix/qx-rule-export
fix: sec rule export missing fields
2020-07-17 10:10:18 +08:00
Zexi Li
b89c769420 Merge pull request #7192 from wanyaoqi/bugfix/wyq/add-params-on-host-details
host details add params auto_migrate_on_host_down
2020-07-17 10:09:01 +08:00
Zexi Li
180bb92f70 Merge pull request #7210 from ioito/bugfix/qx-network-list-filter
fix: not work for network-list --zones
2020-07-17 10:08:09 +08:00
rainzm
2f1093a147 fix: prefetch image error when create guest with vmware template
1. Only need the corresponding vmware template in the vcenter where the host is
located.
2. Chose storagecache which cacheimage is ready before deploying.
2020-07-16 21:24:25 +08:00
tangbin
b9a45c8bb2 sync classic redis fix 2020-07-16 20:25:16 +08:00
yunion-ci-robot
0fd4a857ec Merge pull request #7201 from zexi/bugfix/webconsole-dual-session-close
webconsole: fix old session make new session closed
2020-07-16 20:13:17 +08:00
Qu Xuan
bf65a88163 fix: not work for network-list --zones 2020-07-16 19:04:30 +08:00
Yousong Zhou
afac0604db region: lbagents: turn off guest src check 2020-07-16 18:47:29 +08:00
Yousong Zhou
7926e59d78 region: loadbalanceragents: yum as the default method 2020-07-16 18:47:29 +08:00
Yousong Zhou
24379db85b mcclient: options: loadbalanceragents: yum as the default deploy method 2020-07-16 18:47:29 +08:00
Zexi Li
642d694277 webconsole: fix old session make new session closed 2020-07-16 18:47:27 +08:00
Yousong Zhou
28ad028d81 build: ansibleserver: use native alpine, include openssh 2020-07-16 17:59:12 +08:00
Yousong Zhou
1ae8c97861 ansibleserver: register metadata manager
To quash the following error in log

  [E 200716 15:20:40 db.(*SMetadataResourceBaseModelManager).FetchCustomizeColumns(metadataresource.go:136)] FetchQueryObjectsByIds metadata fail Error 1146: Table 'yunionansible.metadata_tbl' doesn't exist
2020-07-16 17:52:46 +08:00
Qu Xuan
3ddcaad3c7 fix: sec rule export missing fields 2020-07-16 17:13:42 +08:00
wanyaoqi
a39b0c87e5 add params auto_migrate_on_host_down 2020-07-16 15:00:13 +08:00
Zexi Li
bea60df494 Merge pull request #7171 from ioito/hotfix/qx-rbac-fix
fix: 修复cloudid get权限问题
2020-07-16 11:19:17 +08:00
Zexi Li
217433f06e Merge pull request #7174 from ioito/hotfix/qx-secgroup-rule-export
fix: 添加secgroup rule过滤参数
2020-07-16 11:18:40 +08:00
Zexi Li
540f103c83 Merge pull request #7186 from ioito/hotfix/qx-clouduser-fix
fix: clouduser's cloudgroups info
2020-07-16 11:18:02 +08:00
Zexi Li
6b713a4852 Merge pull request #7188 from ioito/hotfix/qx-azure-rebuild-root
fix: check azure image format when rebuild root
2020-07-16 11:09:22 +08:00
Zexi Li
71fb6f7043 Merge pull request #7177 from ioito/hotfix/qx-huawei-secgroup-rule-delete
fix: 避免华为云安全组规则删除失败
2020-07-16 10:15:25 +08:00
Qu Xuan
466a3f7285 fix: check azure image format when rebuild root 2020-07-15 18:46:21 +08:00
Zexi Li
c731d5b802 Merge pull request #7181 from wanyaoqi/bugfix/wyq/misc-bugfix-0715
bugfix: ha guest misc fix
2020-07-15 17:42:36 +08:00
Qu Xuan
cc948a4d54 fix: 避免华为云安全组规则删除失败 2020-07-15 17:13:15 +08:00
Qu Xuan
769dcae0e6 fix: clouduser's cloudgroups info 2020-07-15 17:07:36 +08:00
wanyaoqi
3e759a3a48 misc ha guest fix 2020-07-15 17:04:51 +08:00
Qu Xuan
6b591b455f fix: 添加secgroup rule过滤参数 2020-07-15 14:23:59 +08:00
Qu Xuan
34aa551141 fix: 修复cloudid get权限问题 2020-07-15 11:07:04 +08:00
Zexi Li
dc339045d9 Merge pull request #7168 from wanyaoqi/bugfix/wyq/fix-list-guests-on-host
bugfix: fix list guests on host
2020-07-15 10:45:52 +08:00
Zexi Li
fc7f0f2423 Merge pull request #7166 from ioito/hotfix/qx-cloudid-fix
Hotfix/qx cloudid fix
2020-07-15 10:35:49 +08:00
Zexi Li
fc7bb7327b Merge pull request #7158 from yousong/bugfix/yousong-iproute2-idempo
iproute2: address: make Exact idempotent
2020-07-15 10:34:23 +08:00
Zexi Li
764497f777 Merge pull request #7163 from tb365/bugfix/tb-cloudprovider-usable-filter-fix
cloudprovider usable filter with zone
2020-07-15 10:33:50 +08:00
yunion-ci-robot
2e21cef125 Merge pull request #7139 from lvyangyang/fix_openstack_routeble
fix:修复路由表映射到public网络的问题
2020-07-15 10:26:16 +08:00
wanyaoqi
f4ee70c0b5 fix list guests on host 2020-07-14 22:29:35 +08:00
Qu Xuan
4cd67270a1 fix: azure 支持权限 2020-07-14 21:22:15 +08:00
tangbin
22d000e73b cloudprovider usable filter with zone 2020-07-14 19:52:23 +08:00
Zexi Li
f985ab5d05 Merge pull request #7162 from zexi/feature/db-dispatcher-pass-query
db_dispatcher: pass query for fetchItem
2020-07-14 18:59:27 +08:00
Zexi Li
eb28aa0aa5 Merge pull request #7155 from ioito/hotfix/qx-webconsole-optimized
fix: 优化webconsole代码&bugfix
2020-07-14 17:52:58 +08:00
Zexi Li
c777793d96 db_dispatcher: pass query for fetchItem 2020-07-14 17:46:42 +08:00
Qu Xuan
dccf685f66 fix: 修复cloudid用户列表权限问题 2020-07-14 17:43:52 +08:00
Yousong Zhou
05b72a9d02 iproute2: address: make Exact idempotent
Idempotence against address not available for Exact is not a bad idea if
we look at the name of that func

This should accomodate the race condition where keepalived will remove
vips should the primary address used for vrrp comms is removed, causing
later addr del to fail with "cannot assign requested address"
2020-07-14 16:40:15 +08:00
Qu Xuan
dee1283c0f fix: 优化webconsole代码&bugfix 2020-07-14 15:07:50 +08:00
Zexi Li
b203286ce9 Merge pull request #7151 from wanyaoqi/bugfix/wyq/disable-procutils-print-error-info
bugfix: disable procutils print error info
2020-07-14 14:54:21 +08:00
Zexi Li
0ff9a5059a Merge pull request #7152 from zexi/feature/k8s-resource-refactor
climc: refactor k8s resource
2020-07-14 12:19:08 +08:00
Zexi Li
a6ea55c5b7 Merge pull request #7145 from rainzm/gt/validate_fix
fix guest template health check
2020-07-14 11:35:35 +08:00
wanyaoqi
66064a4c47 disable procutils print error info 2020-07-14 11:35:01 +08:00
Zexi Li
a68bae1591 Merge pull request #7147 from rainzm/esxi/template_fix
fix: mo.VirtualMachine's Config maybe nil
2020-07-14 11:34:36 +08:00
Zexi Li
e5bd6f26d5 climc: refactor k8s resource 2020-07-14 11:33:46 +08:00
Zexi Li
4845c79b58 Merge pull request #7135 from tb365/bugfix/tb-user-import-fix
user batch register bugfix
2020-07-13 21:28:34 +08:00
rainzm
014540e4df fix guest template health check 2020-07-13 21:27:51 +08:00
Zexi Li
c5a3cc0a80 Merge pull request #7138 from ioito/hotfix/qx-host-fix
fix: 优化减少对etcd组件依赖
2020-07-13 21:27:44 +08:00
Zexi Li
6241109c31 Merge pull request #7140 from ioito/hotfix/qx-aliyun-secgroup-rule
fix: 修复阿里云同步安全组规则异常问题
2020-07-13 21:24:17 +08:00
Qu Xuan
367c59117e fix: 修复阿里云同步安全组规则异常问题 2020-07-13 20:43:29 +08:00
lvyangyang
2d12d7898f fix:修复路由表映射到public网络的问题 2020-07-13 19:59:08 +08:00
Qu Xuan
9003d37027 fix: 优化减少对etcd组件依赖 2020-07-13 16:00:00 +08:00
rainzm
b6753af329 fix: mo.VirtualMachine's Config maybe nil 2020-07-13 15:04:52 +08:00
tangbin
c1e49d02ca user batch register bugfix 2020-07-13 14:41:28 +08:00
Zexi Li
421a294ab8 Merge pull request #7133 from zhaoxiangchun/feature/zxc-suggest-mon
新增优化建议
2020-07-11 14:59:08 +08:00
zhaoxiangchun
7cd1f1de5a 新增优化建议:
空闲的rds,redis,oss
安全组规则为all in 的主机
读写权限为开放读,写的对象存储
2020-07-10 20:24:32 +08:00
Zexi Li
3cb0ec6406 Merge pull request #7132 from bistuzx/feature/climc-cost-alert
add cost alert modules
2020-07-10 20:18:50 +08:00
Zexi Li
1c6e431622 Merge pull request #7130 from wanyaoqi/bugfix/wyq/update-josnutils-vendor
vendor update: update jsonutils
2020-07-10 20:18:02 +08:00
Zexi Li
28c934754a Merge pull request #7125 from wanyaoqi/bugfix/wyq/host-misc-fix
bugfix: add base lockman, fix local storage cache init lock man
2020-07-10 20:15:30 +08:00
Zexi Li
67dd1a13f3 Merge pull request #7134 from ioito/hotfix/qx-azure-account-optimized
fix: 优化azure订阅创建
2020-07-10 20:05:38 +08:00
Qu Xuan
3d9e8b8727 fix: 优化azure订阅创建 2020-07-10 19:47:59 +08:00
bistuzx@163.com
f24fd4aa1b fix format 2020-07-10 19:26:31 +08:00
bistuzx@163.com
f5a2215a9b add cost alert modules 2020-07-10 17:01:57 +08:00
Zexi Li
20f517bef4 Merge pull request #7111 from ioito/hotfix/qx-azure-subscription-create
fix: 支持azure创建订阅
2020-07-10 16:18:52 +08:00
wanyaoqi
2028dbabb6 vendor update: update jsonutils 2020-07-10 16:17:24 +08:00
wanyaoqi
e2043d6bcc - fix local storage init local man
- fix rbd set storage info
2020-07-10 14:41:59 +08:00
Qu Xuan
16f93d6658 fix: 支持azure创建订阅 2020-07-10 11:41:28 +08:00
Zexi Li
512da2103d Merge pull request #7123 from swordqiu/hotfix/qj-vpc-change-owner-with-wires
hotfix: vpc change owners with wire
2020-07-10 10:27:38 +08:00
Zexi Li
ef25efa071 Merge pull request #7121 from wanyaoqi/bugfix/wyq/misc-region-0709
region misc fix
2020-07-10 10:27:09 +08:00
Zexi Li
7f493389f7 Merge pull request #7119 from ioito/hotfix/qx-gcp-clouduser
fix: 避免google clouduser同步权限异常
2020-07-10 10:26:44 +08:00
Qiu Jian
5e721b9297 hotfix: vpc change owners with wire 2020-07-10 01:47:51 +08:00
wanyaoqi
04dfa48799 misc fix 2020-07-09 22:15:54 +08:00
Qu Xuan
169b13f160 fix: 避免google clouduser同步权限异常 2020-07-09 21:34:59 +08:00
Zexi Li
9b2a9133a5 Merge pull request #7116 from ioito/hotfix/qx-vpc-sync-fix
fix: 修复vpc同步异常问题
2020-07-09 21:23:05 +08:00
Zexi Li
fd94fc161d Merge pull request #7113 from ioito/bugfix/qx-disk-sync
fix: 避免越界访问
2020-07-09 21:20:48 +08:00
Zexi Li
81f659ec81 Merge pull request #7106 from wanyaoqi/bugfix/wyq/fix-set-storage-info-bind-mount
bugfix: fix set storage info bind mount
2020-07-09 21:19:20 +08:00
Qu Xuan
d7e16e3342 fix: 修复vpc同步异常问题 2020-07-09 20:52:36 +08:00
Qu Xuan
45f5bc526d fix: 避免越界访问 2020-07-09 20:23:44 +08:00
yunion-ci-robot
424a756318 Merge pull request #7087 from lvyangyang/add--region/sync_openstack_routetables
add: region/sync_openstack_routetables
2020-07-09 17:39:01 +08:00
yunion-ci-robot
37600e3574 Merge pull request #7049 from lvyangyang/feature/esxi-migrate
add:region/esxi  迁移接口
2020-07-09 17:38:01 +08:00
lvyangyang
eac0a797b6 add: region/sync openstack routetables 2020-07-09 17:23:03 +08:00
lvyangyang
c75b63eb7c add:region/esxi 迁移接口 2020-07-09 17:17:22 +08:00
yunion-ci-robot
4225eaed81 Merge pull request #7096 from tb365/feature/tb-update-vendor-0708
update vendor
2020-07-09 16:08:53 +08:00
wanyaoqi
e2ad0101e3 fix set storage info bind mount 2020-07-09 14:51:56 +08:00
Zexi Li
dd90c7c145 Merge pull request #7102 from swordqiu/hotfix/qj-opslog-show-operators-log-only
fix: opslog show the owners operation logs only
2020-07-09 14:18:34 +08:00
Zexi Li
7e85935094 Merge pull request #7100 from swordqiu/hotfix/qj-remove-storages-default-policy
fix: remove default allow policy for storages
2020-07-09 14:06:46 +08:00
Zexi Li
d4bbe7ddb1 Merge pull request #7098 from ioito/hotfix/qx-cloudid-policy
fix: cloudid 权限修复
2020-07-09 14:03:20 +08:00
tangbin
47bb16e517 update vendor 2020-07-09 13:23:00 +08:00
Zexi Li
30afc0d64d Merge pull request #7083 from ioito/hotfix/qx-cloudid-msic
fix: cloudid 异常修复
2020-07-09 11:46:55 +08:00
Qiu Jian
d59bff3361 fix: opslog show the owners operation logs only 2020-07-09 11:20:04 +08:00
Qiu Jian
6af7c59238 fix: remove default allow policy for storages 2020-07-09 11:12:36 +08:00
Qu Xuan
dc32fe42e7 fix: cloudid 权限修复 2020-07-09 10:45:45 +08:00
Zexi Li
d54d839e50 Merge pull request #7082 from zexi/feature/climc-update-release-create
climc: update k8s-release-create params
2020-07-08 21:27:15 +08:00
Zexi Li
4e38605935 Merge pull request #7093 from ioito/hotfix/qx-external-project-sync
fix: 修复资源组云上同步异常问题
2020-07-08 21:24:05 +08:00
Qu Xuan
4b0bfa7342 fix: cloudid 异常修复 2020-07-08 20:57:35 +08:00
Qu Xuan
b41eea1d80 fix: 修复资源组云上同步异常问题 2020-07-08 16:24:50 +08:00
Zexi Li
3b01a850b9 Merge pull request #7091 from ioito/bugfix/qx-qcloud-cloudid
fix: 修复qcloud同步权限组异常问题
2020-07-08 14:10:37 +08:00
Zexi Li
2ddd360a63 Merge pull request #7085 from ioito/hotfix/qx-aws-china-iam-fix
fix: 避免请求中国区iam异常
2020-07-08 14:10:12 +08:00
Zexi Li
d8b86d8466 Merge pull request #7079 from ioito/hotfix/qx-qcloud-event
fix: 修复腾讯云操作日志时间异常问题
2020-07-08 14:09:23 +08:00
Zexi Li
e29401659c Merge pull request #7088 from ioito/hotfix/qx-azure-resource-group-fix
fix: 修复azure 项目同步问题
2020-07-08 01:37:50 +08:00
Qu Xuan
bfc4145301 fix: 修复qcloud同步权限组异常问题 2020-07-07 19:46:58 +08:00
Qu Xuan
cb1ad2cf03 fix: 修复azure 项目同步问题 2020-07-07 18:42:37 +08:00
Qu Xuan
c82f307e46 fix: 避免请求中国区iam异常 2020-07-07 16:54:34 +08:00
Zexi Li
253dc22cf4 climc: update k8s-release-create params 2020-07-07 15:07:10 +08:00
Qu Xuan
9507a72094 fix: 修复腾讯云操作日志时间异常问题 2020-07-07 14:56:43 +08:00
Zexi Li
a6c8089674 Merge pull request #7058 from zhaoxiangchun/bugfix/zxc-suggest-amount-usage
suggestAlert cost:modify the  request param to meter
2020-07-07 14:53:57 +08:00
Zexi Li
f04a7c6a5c Merge pull request #7069 from swordqiu/hotfix/qj-vpc-private-fix-wires
fix: perform private on vpc will private all wires if no networks in wires
2020-07-07 14:50:02 +08:00
Zexi Li
72abdb2a5c Merge pull request #7054 from ioito/hotfix/qx-cloudprovider-sync
fix: 避免cloudprovider同步缺失
2020-07-07 14:48:52 +08:00
Zexi Li
a58e678e5e Merge pull request #7059 from ioito/hotfix/qx-cloud-policy-count
fix: cloud poilcy count
2020-07-07 14:48:09 +08:00
Zexi Li
1a68bde939 Merge pull request #7071 from swordqiu/hotfix/qj-orderedstring-improvements
fix: orderedstring add performance improvements
2020-07-07 14:47:49 +08:00
Zexi Li
12431d46a9 Merge pull request #7050 from ioito/hotfix/qx-gcp-rds-category-fix
fix: google rds regional and zonal
2020-07-07 14:45:34 +08:00
Zexi Li
87d9688f13 Merge pull request #7077 from ioito/hotfix/qx-elastic-cache-sku-sync-fix
fix: 修复elastic cache sku zone_id异常问题
2020-07-07 14:44:03 +08:00
Zexi Li
6646c70cd8 Merge pull request #7074 from ioito/hotfix/qx-secgroup-count
fix: 分开统计安全组关联虚拟机数量
2020-07-07 14:43:20 +08:00
Qu Xuan
862b926aa3 fix: 修复elastic cache sku zone_id异常问题 2020-07-07 12:10:26 +08:00
Qu Xuan
3db15d59f7 fix: 分开统计安全组关联虚拟机数量 2020-07-07 11:47:53 +08:00
Zexi Li
c540791e02 Merge pull request #7067 from swordqiu/hotfix/qj-remove-host-default-list-policy
fix: remove default host list policy
2020-07-07 11:14:36 +08:00
Zexi Li
103d96a26f Merge pull request #7056 from yousong/bugfix/yousong-vpcagent
vpcagent: ClaimVpcGuestDnsRecords: guard against pending_deleted guests
2020-07-07 11:13:46 +08:00
Zexi Li
7a5fbcc51b Merge pull request #7061 from rainzm/feat/onecloud-base
Update docker image onecloud-base and its references
2020-07-07 11:12:31 +08:00
Zexi Li
c0cb12070c Merge pull request #7066 from ioito/hotfix/qx-json-request
fix: json request 支持自定义匹配err
2020-07-07 11:10:18 +08:00
Qu Xuan
5e50740b3f fix: json request 支持自定义匹配err 2020-07-07 10:16:05 +08:00
Qiu Jian
f0c3b96274 fix: orderedstring add performance improvements 2020-07-07 01:30:36 +08:00
Qiu Jian
0005cf868e fix: perform private on vpc will private all wires if no networks in
wires
2020-07-07 00:57:49 +08:00
Qiu Jian
87dc4743d3 fix: remove default host list policy 2020-07-06 21:34:25 +08:00
rainzm
81784aea3a Update docker image onecloud-base and its references 2020-07-06 20:53:36 +08:00
Zexi Li
8c7593d937 Merge pull request #7048 from swordqiu/hotfix/qj-apigateway-return-message-cleanup
fix: cleanup auth error message return by apigateway
2020-07-06 20:20:22 +08:00
Zexi Li
4506a8a33b Merge pull request #7045 from swordqiu/fix/qj-remove-apigateway-deps-on-sqlite
Fix/qj remove apigateway deps on sqlite
2020-07-06 20:20:00 +08:00
Qu Xuan
d2b9ba5bc6 fix: cloud poilcy count 2020-07-06 17:16:20 +08:00
zhaoxiangchun
a0dc332660 suggestAlert cost:modify the request param to meter
projectDomain ==> domainId
2020-07-06 17:13:30 +08:00
Qu Xuan
067b0ab760 fix: 避免cloudprovider同步缺失 2020-07-06 16:26:22 +08:00
Yousong Zhou
20f36afdc8 vpcagent: ClaimVpcGuestDnsRecords: guard against pending_deleted guests 2020-07-06 16:20:06 +08:00
yunion-ci-robot
57cbc8305b Merge pull request #7046 from zhaoxiangchun/feature/zxc-influxdb-tag-filter
增加influxdb的tag 的一些filter
2020-07-06 11:50:48 +08:00
Qu Xuan
718e36b327 fix: google rds regional and zonal 2020-07-06 11:17:20 +08:00
Qiu Jian
f1bfcfbd98 fix: cleanup auth error message return by apigateway 2020-07-04 19:32:23 +08:00
zhaoxiangchun
98d2e489ea 增加influxdb的tag 的一些filter 2020-07-04 19:23:40 +08:00
Qiu Jian
00d7ce83ed update vendor 2020-07-04 14:09:21 +08:00
Qiu Jian
27b3fb5d52 remove obsolete codes from apigateway 2020-07-04 13:49:39 +08:00
Zexi Li
1d5235dcdc Merge pull request #7042 from swordqiu/feature/qj-filter-jointable-project-for-user-group
feature: project filter that list jointable projects for user or group
2020-07-04 12:11:13 +08:00
Zexi Li
89ad61ba72 Merge pull request #7031 from ioito/hotfix/qx-azure-resource-group-sync
fix: 避免azure同步资源组异常
2020-07-04 12:10:25 +08:00
Zexi Li
c46b379aa0 Merge pull request #7034 from zhaoxiangchun/feature/zxc-jira-mcclient
itsm climc
2020-07-04 12:09:19 +08:00
Qiu Jian
eb4a252d08 feature: project filter that list jointable projects for user or group 2020-07-04 11:32:20 +08:00
Zexi Li
60cb128ab3 Merge pull request #7036 from swordqiu/hotfix/qj-cloud-account-sync-sync
fix: cloud account sync may block
2020-07-04 10:39:22 +08:00
zhaoxiangchun
36408ab4a0 itsm climc 2020-07-04 10:26:34 +08:00
Qiu Jian
1985aab894 fix: cloud account sync may block 2020-07-04 10:20:48 +08:00
yunion-ci-robot
cb8fcac618 Merge pull request #7035 from bistuzx/feature/bucket-huawei-gcp
add mcclient cloudaccount gcp&huawei bucket
2020-07-04 00:22:45 +08:00
bistuzx@163.com
6e9718d4ec add mcclient cloudaccount gcp&huawei bucket 2020-07-03 23:16:47 +08:00
Qu Xuan
be51f3b496 fix: 避免azure同步资源组异常 2020-07-03 20:48:35 +08:00
Zexi Li
7d876c3131 Merge pull request #7009 from ioito/hotfix/qx-lb-check
fix: 取消aliyun lb scheduler创建限制
2020-07-03 19:24:21 +08:00
Zexi Li
408c9993f8 Merge pull request #7029 from ioito/bugfix/qx-sku-sync
fix: 避免slave zoneid异常
2020-07-03 19:23:46 +08:00
Qu Xuan
cac7dc529a fix: 避免slave zoneid异常 2020-07-03 19:05:11 +08:00
Zexi Li
7cb2963557 Merge pull request #7025 from ioito/bugfix/qx-cloud-id-fix
Bugfix/qx cloud id fix
2020-07-03 18:43:28 +08:00
Zexi Li
aa69fdefcd Merge pull request #7024 from zhaoxiangchun/feature/zxc-suggest-amount
suggest cost API
2020-07-03 17:45:21 +08:00
yunion-ci-robot
ea88b9f628 Merge pull request #7027 from rainzm/ansibleserver/dockerfile
Update Dockerfile.ansibleserver
2020-07-03 17:41:40 +08:00
Zexi Li
9d6b015b68 Merge pull request #7020 from ioito/hotfix/qx-secgroup-rule-optimized
fix: 优化安全组list速度,并返回rule规则信息
2020-07-03 17:39:15 +08:00
rainzm
f909a1d2c0 Update Dockerfile.ansibleserver 2020-07-03 17:22:51 +08:00
Qu Xuan
2c17e6e66e fix: 同步不需要判断账号是否有iam权限 2020-07-03 17:08:25 +08:00
Qu Xuan
91a5e4ab77 fix: clouduser can_delete always be false 2020-07-03 16:54:14 +08:00
zhaoxiangchun
2fde317644 优化建议中增加费用统计接口 2020-07-03 16:49:33 +08:00
Zexi Li
6af2ff52b6 Merge pull request #6959 from swordqiu/feature/qj-keystone-oidc-client
Feature/qj keystone oidc client
2020-07-03 16:37:09 +08:00
yunion-ci-robot
486ef8293e Merge pull request #6986 from swordqiu/hotfix/qj-validate-ip-for-syncfixnics
fix: validate candiate ip for sync-fix-nics
2020-07-03 16:34:29 +08:00
yunion-ci-robot
45dabba465 Merge pull request #7023 from bistuzx/feature/amount-estimations
add meter modules amount_estimation&daily_bill
2020-07-03 16:29:27 +08:00
Qiu Jian
7ba3945d86 feature: apigateway store auth state in cookie instead of sqlite 2020-07-03 16:15:23 +08:00
Qiu Jian
182c96a160 update vendor 2020-07-03 16:15:23 +08:00
Qiu Jian
2183490a53 feature: keystone add support for OpenID Connection idp 2020-07-03 16:15:23 +08:00
张旭
70c07d4a82 add meter modules amount_estimation&daily_bill 2020-07-03 15:59:37 +08:00
Qu Xuan
8279f62c9a fix: 优化安全组list速度,并发挥rule规则信息 2020-07-03 15:51:54 +08:00
Zexi Li
f2db44c153 Merge pull request #6961 from ioito/hotfix/qx-sku-sync
fix: 优化sku同步逻辑
2020-07-03 11:40:04 +08:00
Zexi Li
9ab1caee86 Merge pull request #7017 from ioito/hotfix/qx-cloudid-sync
fix: 修复cloudid同步问题
2020-07-03 11:39:00 +08:00
Qu Xuan
02bf5b76d7 fix: 公有云子账号加域属性 2020-07-03 11:11:37 +08:00
Zexi Li
9067fb7cd3 Merge pull request #7018 from zexi/feature/suggest-alert-ignore
monitor: suggestsysalert add ignore action
2020-07-03 00:25:20 +08:00
Zexi Li
7aa3c9ddec monitor: suggestsysalert add ignore action 2020-07-02 21:19:14 +08:00
Qu Xuan
88e5119fdd fix: 修复cloudid同步问题 2020-07-02 20:45:49 +08:00
yunion-ci-robot
ba950198b8 Merge pull request #7000 from tb365/bugfix/tb-lb-create-cluster-id-input-fix
cluster_id required->optional
2020-07-02 20:28:26 +08:00
Zexi Li
df5e61ee7b Merge pull request #6998 from ioito/hotfix/qx-filter-by-external-id
fix: manager_id资源隔离获取
2020-07-02 20:20:00 +08:00
Zexi Li
c748244555 Merge pull request #7012 from zexi/hotfix/monitor-reduce-subscription-usage
monitor: reduce subscription mysql usage
2020-07-02 20:19:16 +08:00
Zexi Li
3fc67b466d Merge pull request #7006 from wanyaoqi/bugfix/wyq/bind-mount-nfs-storage
bugfix : bind mount nfs storage path
2020-07-02 17:35:19 +08:00
Zexi Li
cdf33052c1 monitor: reduce subscription mysql usage 2020-07-02 17:30:52 +08:00
Qu Xuan
933dddd8a1 fix: 取消aliyun lb scheduler创建限制 2020-07-02 15:43:11 +08:00
wanyaoqi
322117f6d9 bind mount nfs storage path 2020-07-02 14:32:32 +08:00
tangbin
63babfed85 cluster_d required->optional 2020-07-02 11:51:45 +08:00
Zexi Li
6018058d6c Merge pull request #6981 from zexi/feature/monitor-suggest-snapshot
monitor: support suggest rule alert config
2020-07-02 10:56:34 +08:00
Zexi Li
dd9ba9ede1 Merge pull request #6999 from zexi/feature/update-architecture
README: update architecture picture
2020-07-02 10:56:00 +08:00
Zexi Li
bb540ff10c README: update architecture picture 2020-07-02 10:54:56 +08:00
Zexi Li
fa2ce04517 Merge pull request #6994 from rainzm/fix/scalinggroup_guest
fix: Override Master and Slave for scalinggroup_guest
2020-07-02 10:34:44 +08:00
Zexi Li
d902523fed Merge pull request #6988 from rainzm/vendor/jsonutils
update jsonutils
2020-07-02 10:34:11 +08:00
Zexi Li
cb34ec62cd Merge pull request #6996 from tb365/feature/tb-copyright-add-license
copyright api update
2020-07-02 10:24:13 +08:00
Qu Xuan
9bb4eb5d44 fix: manager_id资源隔离获取 2020-07-02 10:17:38 +08:00
Zexi Li
7a9662c6f5 monitor: support suggest rule alert config and add snapshot_unused
driver
2020-07-01 19:31:50 +08:00
Zexi Li
9a19c2809f Merge pull request #6913 from lvyangyang/feature/openstack-migrate
add: region/openstack 迁移接入
2020-07-01 19:29:49 +08:00
Zexi Li
562db29994 Merge pull request #6990 from rainzm/fix/notify_#6643
fix the bug introduced in #6643
2020-07-01 19:26:16 +08:00
rainzm
ba2b1d9bd2 fix: Override Master and Slave for scalinggroup_guest 2020-07-01 17:18:11 +08:00
rainzm
17721c4d59 fix the bug introduced in #6643 2020-07-01 16:49:54 +08:00
Zexi Li
5e363dc748 Merge pull request #6903 from ioito/hotfix/qx-project-sync
fix: 修正项目映射同步
2020-07-01 16:29:34 +08:00
rainzm
ae3827f9a1 update jsonutils 2020-07-01 16:28:57 +08:00
lvyangyang
41a4188bbd add: region/openstack 迁移接入 2020-07-01 16:27:56 +08:00
tangbin
60c8c25c02 copyright api update 2020-07-01 15:00:59 +08:00
Zexi Li
af19ce06c9 Merge pull request #6982 from ioito/hotfix/qx-capability-cloudid
fix: capability for cloudid
2020-07-01 14:36:49 +08:00
Qiu Jian
f739c8ff0e fix: validate candiate ip for sync-fix-nics 2020-07-01 14:14:37 +08:00
Qu Xuan
0b4a562f0d fix: capability for cloudid 2020-07-01 11:09:53 +08:00
yunion-ci-robot
37abaa4abd Merge pull request #6929 from wanyaoqi/feature/wyq/report-host-error-info
feature: report host error info
2020-06-30 23:24:48 +08:00
Zexi Li
d76dd9171b Merge pull request #6972 from ioito/bugfix/qx-cloudid
fix: 修复cloudid问题
2020-06-30 23:07:45 +08:00
Zexi Li
1563e8bf89 Merge pull request #6975 from wanyaoqi/bugfix/wyq/fix-deploy-backup-server
bugfix: fix deploy backup server order
2020-06-30 23:07:17 +08:00
wanyaoqi
1d59ceb5d9 fix deploy backup server order 2020-06-30 22:00:34 +08:00
Qu Xuan
835261e9ea fix: 避免未本地缓存usercache 2020-06-30 21:08:50 +08:00
Qu Xuan
642af06ba9 fix: 修复cloudid问题 2020-06-30 15:07:22 +08:00
Zexi Li
cc65e9c5da Merge pull request #6942 from yousong/bugfix/yousong-log
Bugfix/yousong log
2020-06-30 12:10:07 +08:00
Zexi Li
0810f6f6c7 Merge pull request #6954 from wanyaoqi/bugfix/wyq/include-system-usage
feature: usage handler include system resource
2020-06-30 12:07:47 +08:00
Zexi Li
b203fbe061 Merge pull request #6962 from ioito/hotfix/qx-cloudid-sync-cloudaccount
fix: 避免同步不到其他域的云账号
2020-06-30 12:06:34 +08:00
Zexi Li
ca1cb29e1f Merge pull request #6966 from ioito/hotfix/qx-cloudid-policy-sync
fix: 修复权限组权限同步异常问题
2020-06-30 12:03:30 +08:00
Zexi Li
03d1a0f6d1 Merge pull request #6964 from swordqiu/hotfix/qj-totp-verification-overhead
fix: reduce totp verification overhead
2020-06-30 12:01:30 +08:00
Zexi Li
911f7e99d7 Merge pull request #6960 from yousong/bugfix/yousong-ci
Bugfix/yousong ci
2020-06-30 12:00:50 +08:00
Zexi Li
581c397df9 Merge pull request #6970 from yousong/bugfix/yousong-informer
cloudcommon: taskman: fix table insert
2020-06-30 11:59:49 +08:00
Yousong Zhou
de1e1b1008 cloudcommon: taskman: fix table insert
Fix the following error

	run error: reflect: NumField of non-struct type *taskman.STask

Fixes 08cd41b60d ("cloudcommon: taskman: SetModelManager")

Reported-by: Qu Xuan <quxuan@yunionyun.com>
2020-06-30 11:54:41 +08:00
Qu Xuan
ea518358c7 fix: 优化sku同步逻辑 2020-06-30 11:04:21 +08:00
wanyaoqi
dae606d289 keep input mem and cpu on create from instance snapshot 2020-06-30 11:03:24 +08:00
yunion-ci-robot
26b1d225ac Merge pull request #6917 from swordqiu/feature/qj-keystone-saml-sp
feature: 1. idp as domain resource 2. keystone support SAML IDP
2020-06-30 10:55:41 +08:00
Qu Xuan
24cbdf6736 fix: 修复权限组权限同步异常问题 2020-06-30 10:54:18 +08:00
Zexi Li
29cbe29ede Merge pull request #6947 from swordqiu/hotfix/qj-disable-domain-shareing-if-non-default-domain-project-turned-off
fix: disable domain sharing if non_default_domain_projects turned off
2020-06-30 10:48:03 +08:00
Qiu Jian
49cf94abb0 fix: reduce totp verification overhead 2020-06-30 02:28:02 +08:00
Qu Xuan
0a87b3101a fix: 避免同步不到其他域的云账号 2020-06-29 20:30:40 +08:00
Zexi Li
8ee5f442f8 Merge pull request #6957 from yousong/bugfix/yousong-informer
Bugfix/yousong informer
2020-06-29 19:36:49 +08:00
Zexi Li
d8a321b717 Merge pull request #6950 from wanyaoqi/bugfix/wyq/region-misc0628
bugfix: region list misc fix
2020-06-29 19:35:59 +08:00
yunion-ci-robot
ac6a3ece82 Merge pull request #6952 from rainzm/fix/cloudaccount_preparenet
fix: Error occurs when suitableWire exists or all suitableNetwork exist.
2020-06-29 19:28:41 +08:00
Yousong Zhou
e94d41558d build: use alpine-build:1.0-2 2020-06-29 16:19:13 +08:00
Yousong Zhou
e1e56eaa7d build: docker-centos-build: use centos-build:1.1-1 2020-06-29 16:19:13 +08:00
Yousong Zhou
8e9c587992 .travis.yml: use go1.14 2020-06-29 15:11:04 +08:00
Yousong Zhou
1152c3c24e .github: workflows: use go1.14 2020-06-29 15:11:04 +08:00
Yousong Zhou
2463396eff .github: bump backport hint to release/3.2 2020-06-29 15:11:04 +08:00
Yousong Zhou
4fc35f92cb cloudcommon: tablespec: informer: use %#v to log bad obj
Fixes 145c88f79b ("cloudcommon: tablespec: informer: log obj type")
2020-06-29 14:44:59 +08:00
Yousong Zhou
08cd41b60d cloudcommon: taskman: SetModelManager 2020-06-29 14:44:59 +08:00
wanyaoqi
38a05c4909 - add server pending deleted for host details
- host list by server networks

- guest networks return wire id
2020-06-29 11:35:21 +08:00
wanyaoqi
fabd3577a1 include system usage 2020-06-28 18:17:02 +08:00
rainzm
5f1cd20aa4 fix: Error occurs when suitableWire exists or all suitableNetwork exist. 2020-06-28 16:55:47 +08:00
Yousong Zhou
ffcea2ae56 cloudprovider: remove redundant error log
Mostly "Provider OneCloud not registered".  Error is returned and the
caller can do whatever it want
2020-06-28 14:49:38 +08:00
Yousong Zhou
2eeb45deda cloudcommon: etcd: quash low-value debug log lines 2020-06-28 14:49:38 +08:00
Yousong Zhou
7a3f241450 appsrv: quash low-value debug log lines 2020-06-28 14:49:38 +08:00
Yousong Zhou
4e16eaf212 vendor: update yunion.io/x/sqlchemy 2020-06-28 14:49:38 +08:00
Qiu Jian
e796437a3c fix: disable domain sharing if non_default_domain_projects turned off 2020-06-28 13:02:25 +08:00
Zexi Li
a6ec5e28d0 Merge pull request #6943 from yousong/bugfix/yousong-lb-add-clusterinfo
lb: include cluster name info in details
2020-06-28 09:01:15 +08:00
Yousong Zhou
7add764152 lb: include cluster name info in details 2020-06-24 18:52:33 +08:00
yunion-ci-robot
e60fa609b6 Merge pull request #6933 from wanyaoqi/feature/wyq/enable-upper-case-server-name
feature: server name enable upper case
2020-06-24 17:43:01 +08:00
Qiu Jian
889a35bc7a feature: 1. idp as domain resource 2. keystone support SAML IDP 2020-06-24 17:41:33 +08:00
Zexi Li
6d14f06a38 Merge pull request #6918 from ioito/hotfix/qx-azure-project-sync
fix: 避免azure同步项目失败
2020-06-24 12:57:26 +08:00
Zexi Li
b7d4a31304 Merge pull request #6926 from ioito/hotfix/qx-google-create
fix: google资源名称兼容处理
2020-06-23 23:29:21 +08:00
Zexi Li
b897ca7b66 Merge pull request #6936 from swordqiu/hotfix/qj-quota-list-sort-by-usage-rate
fix: sort quota list result by usage rate
2020-06-23 23:27:29 +08:00
Zexi Li
210c24967f Merge pull request #6931 from swordqiu/hotfix/qj-keystone-project-resource-count
fix: keystone project resource count not accurate
2020-06-23 23:26:20 +08:00
Qiu Jian
f3fa6f82b6 fix: sort quota list result by usage rate 2020-06-23 22:04:38 +08:00
Zexi Li
2a7b367c4f Merge pull request #6921 from swordqiu/hotfix/qj-simplify-forbidden-usr-login-msg
fix: simplify forbidden user login message
2020-06-23 21:25:42 +08:00
wanyaoqi
75588d00a2 server name enable upper case 2020-06-23 21:03:36 +08:00
Qiu Jian
95bde0a14e fix: keystone project resource count not accurate 2020-06-23 21:01:47 +08:00
Qu Xuan
26a3df33bf fix: google资源名称兼容处理 2020-06-23 20:29:10 +08:00
wanyaoqi
4e65120406 report host stat 2020-06-23 20:03:13 +08:00
Qu Xuan
4794b1606a fix: 支持同步project标签到本地资源 2020-06-23 17:46:21 +08:00
Qiu Jian
91f098430c fix: simplify forbidden user login message 2020-06-23 17:45:32 +08:00
Qu Xuan
1021bf1514 fix: 避免azure同步项目失败 2020-06-23 17:31:33 +08:00
Qu Xuan
4b16fac0ba fix: 修正项目映射同步 2020-06-23 15:13:01 +08:00
Zexi Li
f958c6ad85 Merge pull request #6904 from wanyaoqi/bugfix/wyq/fix-capabilities
bugfix: fix get storage capabilities with null field
2020-06-23 11:53:22 +08:00
Zexi Li
5d87f52e4f Merge pull request #6912 from ioito/hotfix/qx-secgroup-list-filter
optimized: 支持ip和端口过滤安全组
2020-06-23 11:52:11 +08:00
yunion-ci-robot
af3dbfdc82 Merge pull request #6906 from wanyaoqi/bugfix/wyq/kill-dhcp-process
bugfix: kill dhclient process
2020-06-22 23:41:03 +08:00
Qu Xuan
594f05d94b optimized: 支持ip和端口过滤安全组 2020-06-22 21:40:37 +08:00
wanyaoqi
c4d5da4405 disable dhclient 2020-06-22 21:27:31 +08:00
yunion-ci-robot
275ddce68e Merge pull request #6836 from swordqiu/feature/qj-saml-idp-support
feature: support SAML idp
2020-06-22 20:33:54 +08:00
Qiu Jian
c302622415 add known sp metadata xml 2020-06-22 20:09:36 +08:00
wanyaoqi
854bf59f8f fix get storage capabilities with null field 2020-06-22 19:58:02 +08:00
Qiu Jian
3b32f0a4d9 sp support 2020-06-22 09:52:58 +08:00
Qiu Jian
3b7a1e9467 feature: support SAML idp 2020-06-22 09:52:58 +08:00
Zexi Li
8d81393c03 Merge pull request #6893 from yousong/bugfix/yousong-keystone-cpu
Bugfix/yousong keystone cpu
2020-06-22 09:14:49 +08:00
Zexi Li
9967e90a4b Merge pull request #6899 from yousong/bugfix/yousong-keystone-informer
Bugfix/yousong keystone informer
2020-06-22 09:10:05 +08:00
Yousong Zhou
61cd611aac keystone: passwords: SetModelManager
To quash avoid informer error "virtual object is nil"
2020-06-21 18:43:19 +08:00
Yousong Zhou
29a3171a3a cloudcommon: policy: fix interval and oneshot sync
Reduce CPU utilization caused by queued time.AfterFunc calls
2020-06-21 18:33:08 +08:00
Yousong Zhou
6c9e8f1948 keystone: config: SetModelManager for whitelisted config
To quash avoid informer error "virtual object is nil"
2020-06-21 17:14:43 +08:00
Yousong Zhou
145c88f79b cloudcommon: tablespec: informer: log obj type 2020-06-21 17:14:43 +08:00
Yousong Zhou
d9f3dfbbfe cloudcommon: app: cosmetic change 2020-06-21 16:43:07 +08:00
Zexi Li
c991cdc76a Merge pull request #6823 from zhaoxiangchun/feature/zxc-unified-monitor
统一报警模块
2020-06-21 13:10:13 +08:00
Zexi Li
494893d717 Merge pull request #6001 from ioito/feature/qx-cloudid
Feature/qx cloudid
2020-06-21 13:09:48 +08:00
zhaoxiangchun
f20a87a5db Modify alert structure and inherit scoperesource 2020-06-21 12:18:22 +08:00
zhaoxiangchun
6c66185bd8 统一报警模块 2020-06-21 11:39:23 +08:00
Qu Xuan
a07b112be1 feature: CloudId服务支持 2020-06-21 11:30:01 +08:00
Zexi Li
b426505662 Merge pull request #6880 from swordqiu/feature/qj-allow-enabled-idp-synced-users
feature: 1. allow enable/disable idp-synced-users 2. turn off user's MFA by default
2020-06-21 11:24:03 +08:00
Zexi Li
83d906fae5 Merge pull request #6891 from yousong/bugfix/yousong-vpc-acl
vpcagent: different direction for l3 and l4 match
2020-06-21 11:23:44 +08:00
Zexi Li
ba8f52cfe2 Merge pull request #6864 from yousong/bugfix/yousong-lb-redirect
Bugfix/yousong lb redirect
2020-06-21 11:23:22 +08:00
yunion-ci-robot
32c34d2681 Merge pull request #6892 from zexi/hotfix/ignore-etcd-not-found-error
ignore common etcd endpoint not found error
2020-06-21 11:20:38 +08:00
Zexi Li
e9da1022b9 ignore common etcd endpoint not found error 2020-06-21 10:47:00 +08:00
yunion-ci-robot
fc8be0bb93 Merge pull request #6890 from wanyaoqi/feature/wyq/filter-by-cloudaccounts
feature: support filter by cloudaccounts
2020-06-20 23:56:23 +08:00
Yousong Zhou
97251c7cc9 vpcagent: different direction for l3 and l4 match 2020-06-19 19:42:58 +08:00
wanyaoqi
561d7b0cca support filter by cloudaccounts 2020-06-19 19:01:24 +08:00
Zexi Li
183180e178 Merge pull request #6879 from zexi/feature/lzx-suggest-refactor
monitor: refactor suggest code
2020-06-19 11:45:07 +08:00
yunion-ci-robot
2b18251a85 Merge pull request #6878 from yousong/bugfix/yousong-informer
opslog: LogEvent: set model manager
2020-06-19 10:23:23 +08:00
Zexi Li
995e5859ef monitor: refactor suggest code 2020-06-19 10:21:12 +08:00
Yousong Zhou
0038848609 mcclient: lb: allow empty string as arg for --redirect-{scheme,host,path} 2020-06-19 10:17:04 +08:00
Yousong Zhou
3fe10a7383 lb: onecloud: allow empty string for redirect_{scheme,host,path} 2020-06-19 10:17:04 +08:00
yunion-ci-robot
76014fbd7b Merge pull request #6865 from zexi/hotfix/disable-inform-not-init
informer: do not inform if backend not init
2020-06-19 10:08:20 +08:00
Yousong Zhou
4ce404dd8d vendor: update yunion.io/x/structarg 2020-06-19 10:06:58 +08:00
yunion-ci-robot
f08a9d748d Merge pull request #6883 from swordqiu/hotfix/qj-system-create-network-private
fix: network created by sysadmin should be shared by default
2020-06-19 09:50:14 +08:00
yunion-ci-robot
ca031b5913 Merge pull request #6885 from swordqiu/hotfix/qj-sync-disconnected-account
fix: wrong cloud provider status when sync disconnected cloud account
2020-06-19 09:49:08 +08:00
Qiu Jian
1d9a3f2731 fix: wrong cloud provider status when sync disconnected cloud account 2020-06-19 01:17:34 +08:00
yunion-ci-robot
f4faaa37e6 Merge pull request #6859 from yousong/bugfix/yousong-cloudaccount-sync
cloudaccounts: one sync task in queue per cloudaccount
2020-06-18 23:06:03 +08:00
yunion-ci-robot
21e4ca3852 Merge pull request #6881 from wanyaoqi/bugfix/wyq/fix-reserved-ip-export-keys
bugfix: fix reserved ip export keys
2020-06-18 22:51:04 +08:00
Qiu Jian
5c53ccc3d8 fix: network created by sysadmin should be shared by default 2020-06-18 22:39:28 +08:00
wanyaoqi
6af753c819 fix reserved ip export keys 2020-06-18 21:44:30 +08:00
Qiu Jian
2cf49c37dc feature: 1. allow enable/disable idp-synced-users 2. turn off user's MFA by default 2020-06-18 20:22:47 +08:00
yunion-ci-robot
08154fd0b0 Merge pull request #6869 from rainzm/notify/email_fix
Notify/email fix
2020-06-18 20:13:02 +08:00
Yousong Zhou
4bbf7c0484 opslog: remove unneeded nil check 2020-06-18 19:18:48 +08:00
Yousong Zhou
50449ca014 opslog: group literal fields 2020-06-18 19:17:28 +08:00
Yousong Zhou
fbc48c792b opslog: readability change 2020-06-18 19:12:48 +08:00
Yousong Zhou
be46546ba5 opslog: LogEvent: set model manager
Fix informer warning "object xx virtual object is nil"
2020-06-18 19:10:31 +08:00
Zexi Li
cb51df9491 Merge pull request #6871 from ioito/hotfix/qx-rds-sync-remove
fix: 避免同步删除失败
2020-06-18 19:05:26 +08:00
rainzm
109bdc05d8 fix: Fix problems about sending verify email 2020-06-18 19:03:13 +08:00
Yousong Zhou
8f5c65b923 cloudaccounts: one sync task in queue per cloudaccount 2020-06-18 17:11:36 +08:00
yunion-ci-robot
acbafe5a1c Merge pull request #6875 from tb365/bugfix/tb-err-not-found-fix
replace err with errors.cause
2020-06-18 15:13:07 +08:00
tangbin
6b8e37c88f replace err with errors.cause 2020-06-18 14:26:55 +08:00
Qu Xuan
3c75119c50 fix: 避免同步删除失败 2020-06-18 14:25:36 +08:00
rainzm
8ed4148fbb fix: Fix the url of 'notify-template-delete' in climc 2020-06-18 11:38:52 +08:00
Zexi Li
7c61e9662e informer: do not inform if backend not init 2020-06-18 11:08:26 +08:00
Zexi Li
eb5e902257 Merge pull request #6854 from tb365/bugfix/tb-bugfix-0617
rds postpaid instance create fix
2020-06-17 18:51:41 +08:00
Zexi Li
e751b1d4d2 Merge pull request #6861 from tb365/bugfix/tb-bugfix-ctyun-0607
shuzhou to suzhou
2020-06-17 18:50:44 +08:00
Zexi Li
4eee2e54ad Merge pull request #6839 from zexi/hotfix/scheduler-overcommit
scheduler: fix memory over committed
2020-06-17 18:49:08 +08:00
Zexi Li
0876ac9a22 Merge pull request #6838 from wanyaoqi/feature/wyq/configureable-reload-telegraf-config
host: configureable reload telegraf config
2020-06-17 18:35:15 +08:00
tangbin
8514e19102 shuzhou to suzhou 2020-06-17 15:51:19 +08:00
tangbin
6ecebc5f2b rds postpaid instance create fix 2020-06-17 15:39:37 +08:00
yunion-ci-robot
41f97d32fb Merge pull request #6837 from yousong/bugfix/yousong-putback
Bugfix/yousong putback
2020-06-17 11:26:00 +08:00
Yousong Zhou
358f5d41af appsrv: rework TestRing 2020-06-17 10:52:14 +08:00
Yousong Zhou
e37f15cac2 appsrv: ring: release ring content on pop 2020-06-17 10:52:14 +08:00
Zexi Li
5fda7e88b7 Merge pull request #6849 from swordqiu/hotfix/qj-disable-policy-rule-compaction
Hotfix/qj disable policy rule compaction
2020-06-17 10:28:47 +08:00
Qiu Jian
2efb7fc9e6 fix: policy allow if one of the matching rules is allow 2020-06-16 23:06:30 +08:00
Qiu Jian
818d40c08b fix: disable policy rule compaction 2020-06-16 22:36:00 +08:00
Zexi Li
12fe6b1c2d Merge pull request #6844 from wanyaoqi/bugfix/wyq/fix-cpu-usage-metrics
bugfix: fix cpu usage metrics
2020-06-16 20:53:23 +08:00
wanyaoqi
25310ed922 fix cpu usage metrics 2020-06-16 20:41:11 +08:00
Zexi Li
b2c232f75b Merge pull request #6824 from wanyaoqi/bugfix/wyq/win10
bugfix: fix windows install regedit record
2020-06-16 20:12:07 +08:00
Zexi Li
4535f887bb Merge pull request #6822 from wanyaoqi/bugfix/wyq/minor-fix-061220
fix host set reserved resource func name
2020-06-16 19:21:24 +08:00
Zexi Li
d8d6e8c5b5 scheduler: fix memory over committed 2020-06-16 18:51:13 +08:00
yunion-ci-robot
723ac0aee3 Merge pull request #6835 from yousong/bugfix/yousong-circleci
scripts/coverage.sh: ignore packages without test files
2020-06-16 15:08:00 +08:00
wanyaoqi
714b87aa39 configureable reload telegraf config 2020-06-16 14:52:18 +08:00
Yousong Zhou
200029dfd2 scripts/coverage.sh: ignore packages without test files
We have vet and build check available, no need to repeat them here
2020-06-16 12:52:20 +08:00
Yousong Zhou
e27a12ec61 guestdrivers: rework test 2020-06-16 12:52:20 +08:00
yunion-ci-robot
55255ef61b Merge pull request #6833 from yousong/bugfix/yousong-circleci
.circleci: run tests faster
2020-06-15 22:31:43 +08:00
Yousong Zhou
bf1b1f48b0 .circleci: run tests parallelly 2020-06-15 18:56:33 +08:00
Yousong Zhou
d4f54af5ad multicloud: speed up objectstore test 2020-06-15 18:56:33 +08:00
yunion-ci-robot
6cedfa30ff Merge pull request #6832 from yousong/bugfix/yousong-vendor
vendor: update yunion.io/x/{jsonutils.pkg}
2020-06-15 17:38:33 +08:00
yunion-ci-robot
e53cfa6322 Merge pull request #6778 from rainzm/vmware/init_network
feat: Support suggest network config before creating vmware cloud account
2020-06-15 17:37:29 +08:00
Zexi Li
4248961f96 Merge pull request #6828 from yousong/bugfix/yousong-lblistener-cert
lblistener: rename filter name certificate{,_id}
2020-06-15 17:36:56 +08:00
Yousong Zhou
a2fda726d1 vendor: update yunion.io/x/{jsonutils.pkg} 2020-06-15 17:17:49 +08:00
Yousong Zhou
458bd0c7f7 sysutils: rework test 2020-06-15 17:17:49 +08:00
Yousong Zhou
0208314075 multicloud: huawei: rework responses_test
- use json object Equals method for comparison
 - t.Fatalf on unexpected errors
2020-06-15 17:03:46 +08:00
Yousong Zhou
2a32627b55 cloudcommon: cmdline: rework test
Compare JSONObject with Equals
2020-06-15 16:49:12 +08:00
Zexi Li
7f9fb8d763 Merge pull request #6830 from ioito/hotfix/qx-metdata-list-optimized
fix: 优化标签列表version问题
2020-06-15 14:11:09 +08:00
Qu Xuan
d296a18011 fix: 优化标签列表version问题 2020-06-15 11:54:44 +08:00
Yousong Zhou
0f953b8b23 lblistener: rename filter name certificate{,_id}
Previously we accept both, now with structured input we'd better choose
one and ignore the other.  Use certificate_id because that's the
console's choice
2020-06-15 11:04:12 +08:00
wanyaoqi
9372a7b9c4 fix windows install regedit record 2020-06-15 10:56:47 +08:00
rainzm
14f324ea4a feat: Support suggest network config before create vmware cloud account 2020-06-12 17:00:37 +08:00
wanyaoqi
413d292c22 fix host set reserved resource func name 2020-06-12 16:10:05 +08:00
yunion-ci-robot
f4b7044767 Merge pull request #6817 from yousong/bugfix/yousong-odds
Bugfix/yousong odds
2020-06-12 10:10:20 +08:00
Yousong Zhou
173448ee43 guestnetworks: reduce odds of collision seeded by epoch seconds 2020-06-11 21:19:16 +08:00
Yousong Zhou
6a63aa9429 guestnetworks: use math/rand instead of crypto/rand 2020-06-11 21:14:34 +08:00
Zexi Li
c55ae8e3bc Merge pull request #6774 from zexi/feature/add-service-usages
apigateway: expose identity/image/k8s usage rpc method
2020-06-11 18:07:37 +08:00
Zexi Li
33de484f3d Merge pull request #6808 from ioito/hotfix/qx-rds-sku-filter
fix: 避免sql erorr
2020-06-11 17:51:55 +08:00
Zexi Li
9c8b7b6237 Merge pull request #6810 from ioito/hotfix/qx-openstack-disk-sync
fix: 避免openstack磁盘和存储窜位
2020-06-11 17:51:38 +08:00
Zexi Li
984ea4cd31 Merge pull request #6811 from rainzm/scheduledtask/fix
Scheduledtask/fix
2020-06-11 17:51:09 +08:00
Zexi Li
6b4e5e3806 Merge pull request #6803 from zexi/hotfix/webconsole-misc-handlers
webconsole: fix version and others handler not handle
2020-06-11 17:49:56 +08:00
yunion-ci-robot
8853686624 Merge pull request #6816 from zexi/hotfix/heap-large-usage
fix informer worker heap large usage
2020-06-11 17:21:15 +08:00
Zexi Li
cc5f731fc3 fix informer worker heap large usage 2020-06-11 16:00:06 +08:00
rainzm
3e7a5acb9b fix: Support to set the label of scheduledtask to Chinese 2020-06-11 12:57:33 +08:00
rainzm
0dad8351d3 fix: Add zero padding in front of execution time for scheduledtask 2020-06-11 12:06:21 +08:00
Qu Xuan
4e48d33ecf fix: 避免openstack磁盘和存储窜位 2020-06-11 11:32:22 +08:00
Qu Xuan
aa0d05ccd4 fix: 避免sql erorr 2020-06-11 10:41:04 +08:00
Zexi Li
e49c11edb2 Merge pull request #6802 from rainzm/scheduledtask/filter
fix the tag filter and result record for scheduledtask
2020-06-10 17:26:09 +08:00
Zexi Li
d54f18541f Merge pull request #6797 from wanyaoqi/bugfix/wyq/fix-host-list-filter
fix host list servers filter
2020-06-10 17:05:29 +08:00
Zexi Li
e56152aa48 webconsole: fix version and others handler not handle 2020-06-10 16:57:28 +08:00
rainzm
5f2a91f2af fix the tag filter and result record for scheduledtask 2020-06-10 16:17:34 +08:00
wanyaoqi
1b055f24a9 fix host list servers filter 2020-06-10 14:05:33 +08:00
yunion-ci-robot
2f210ae41d Merge pull request #6765 from yousong/feature/yousong-default-params
Feature/yousong default params
2020-06-10 11:30:08 +08:00
Zexi Li
c7d011946d Merge pull request #6786 from rainzm/fix/syncclouddisks
fix: Hanle the error of vdisk.GetIStorage in syncCloudDisk
2020-06-10 11:27:36 +08:00
yunion-ci-robot
8646141dff Merge pull request #6663 from ioito/hotfix/qx-secgroup-sync-optimized
fix: 优化安全组同步逻辑
2020-06-10 11:18:08 +08:00
Zexi Li
0fe9dd33d3 Merge pull request #6717 from yousong/feature/yousong-vpc-dns
Feature/yousong vpc dns
2020-06-10 11:16:10 +08:00
Zexi Li
ebee8b91a2 Merge pull request #6779 from ioito/hotfix/qx-huawei-cloudevent-succ
fix: 更正华为云操作成功判断
2020-06-10 10:45:46 +08:00
Zexi Li
c5958186f9 Merge pull request #6775 from yousong/bugfix/yousong-network
Bugfix/yousong network
2020-06-10 10:20:18 +08:00
Zexi Li
02fc819d09 Merge pull request #6782 from rainzm/notify/version
fix: Add '/version' handler for notify
2020-06-10 10:18:49 +08:00
Zexi Li
0b3afdd29c Merge pull request #6791 from swordqiu/hotfix/qj-policy-explain-rework
fix: policy-explain not working properly
2020-06-10 09:52:27 +08:00
Qiu Jian
5ebb18b691 fix: policy-explain not working properly 2020-06-09 22:17:35 +08:00
Yousong Zhou
07ae9c12ed lblisteners: list: filter with certificate ids 2020-06-09 20:08:25 +08:00
Yousong Zhou
b4ce651094 mcclient: options: lb: arg rename cluster{,_id}
Ref b0537773cd ("fxi: 修复lb 有些有vpc_id为空的问题")
2020-06-09 20:08:25 +08:00
Yousong Zhou
258aba2504 lbagents: add check on vrrp.advert_int 2020-06-09 20:08:25 +08:00
Yousong Zhou
57e29330be lbagents: params: add needsUpdatePeer() and updateBy() methods 2020-06-09 20:08:25 +08:00
Yousong Zhou
1dc312303c lbbackends: allow backends of the same region (vs. zone) 2020-06-09 20:08:25 +08:00
Yousong Zhou
333954add9 climc: lbagent-show-default-params: add --cluster option support 2020-06-09 20:08:25 +08:00
Yousong Zhou
71e9f99b65 lbagent: default-params: default vrrp params from peer lbagents 2020-06-09 20:08:25 +08:00
rainzm
4c6682617c fix: Hanle the error of vdisk.GetIStorage in syncCloudDisk 2020-06-09 19:45:46 +08:00
rainzm
2cd2f3d029 fix: Add '/version' handler for notify 2020-06-09 18:45:54 +08:00
Qu Xuan
5837b696d7 fix: 更正华为云操作成功判断 2020-06-09 18:19:57 +08:00
yunion-ci-robot
f441306d80 Merge pull request #6691 from rainzm/scheduledtasks/init
Scheduledtasks/init
2020-06-09 17:06:07 +08:00
Zexi Li
a8e5759523 Merge pull request #6777 from zexi/feature/expose-tablespec-interface
cloudcommon: expose ITableSpec function
2020-06-09 16:19:23 +08:00
Zexi Li
10603b4f64 cloudcommon: expose ITableSpec function 2020-06-09 16:16:24 +08:00
Yousong Zhou
0280b6aa5e networks: validate that start, end, gateway ip are in the same subnet 2020-06-09 16:10:06 +08:00
Yousong Zhou
f4a001ad65 networks: validateUpdateData: eliminate intermediate vars 2020-06-09 16:09:48 +08:00
Yousong Zhou
927cbd4156 networks: decrease indent 2020-06-09 16:09:48 +08:00
Yousong Zhou
f27e177274 networks: sep check of masklen only for start,end type creation 2020-06-09 16:09:48 +08:00
rainzm
3ea4beeb8e feat: Add 'ScheduledTaskQueueSize' options 2020-06-09 15:54:35 +08:00
rainzm
8a69558c86 Add 'trigger' for ScheduledTask 2020-06-09 15:54:35 +08:00
rainzm
2b7bd7a123 feat: Add climc command for ScheduledTask and ScheduledTaskActivity 2020-06-09 15:54:35 +08:00
rainzm
8d30ef0ad9 feat: Detach ScheduledTask when pending delete guest 2020-06-09 15:54:35 +08:00
rainzm
d6c5c29c62 feat: Add handers and table for ScheduledTask... 2020-06-09 15:54:35 +08:00
rainzm
058cc4fdce feat: Add ScheduledTask, ScheduledTaskActivity and ScheduledTaskLabel 2020-06-09 15:54:32 +08:00
Zexi Li
686cc78247 apigateway: expose identity/image/k8s usage rpc method 2020-06-09 13:32:53 +08:00
Zexi Li
14910fc051 Merge pull request #6772 from swordqiu/hotfix/qj-disable-update-zone-id
fix: disable updating zone_id for host, storage, wire
2020-06-09 00:11:46 +08:00
Qiu Jian
1e4acedf25 fix: disable updating zone_id for host, storage, wire 2020-06-08 21:58:59 +08:00
yunion-ci-robot
5d17bf653a Merge pull request #6769 from zexi/hotfix/ensure-influxdb-endpoint
region: retry set influxdb policy until completed
2020-06-08 21:11:09 +08:00
rainzm
8a2e23fd45 feat: Extract STimer from SScalingTimer 2020-06-08 21:01:16 +08:00
rainzm
7e80ecf61b fix: Wait for ticker when get status is wrong 2020-06-08 21:01:16 +08:00
Zexi Li
8e51f627a6 region: retry set influxdb policy until completed 2020-06-08 19:05:30 +08:00
yunion-ci-robot
232077b09b Merge pull request #6764 from yousong/bugfix/yousong-vendoring
vendor: update yunion.io/x/sqlchemy
2020-06-08 16:22:07 +08:00
yunion-ci-robot
a4b44d040b Merge pull request #6629 from zhaoxiangchun/feature/zxc-unified-monitor
统一监控接口
2020-06-08 16:16:07 +08:00
Yousong Zhou
2e687997ae vendor: update yunion.io/x/sqlchemy 2020-06-08 16:13:09 +08:00
yunion-ci-robot
ec12f1916e Merge pull request #6756 from rainzm/caller/handler_error
fix: handler param.convert's error in caller.go
2020-06-08 16:09:07 +08:00
yunion-ci-robot
7e2ade11ee Merge pull request #6763 from swordqiu/hotfix/qj-explain-rpc-piggyback-owner-privilige
fix: explainPolicy piggyback owner's privilige
2020-06-08 16:07:08 +08:00
yunion-ci-robot
ed00dbbfdd Merge pull request #6760 from wanyaoqi/bugfix/wyq/image-support-generate-name
bugfix: image support generate name
2020-06-08 15:51:48 +08:00
yunion-ci-robot
734d7e9994 Merge pull request #6648 from zexi/feature/db-resource-informer
implement generic service informer
2020-06-08 14:58:49 +08:00
Qu Xuan
03a3dfcd73 fix: 优化安全组同步逻辑 2020-06-08 14:10:38 +08:00
Zexi Li
9f4d4a450e refactor ITableSpec signature with context 2020-06-08 11:31:00 +08:00
wanyaoqi
a3043520ec image support generate name 2020-06-08 11:25:20 +08:00
rainzm
c793746f0d fix: handler param.convert's error in caller.go 2020-06-08 10:44:26 +08:00
Qiu Jian
e7b198ab35 fix: explainPolicy piggyback owner's privilige 2020-06-08 10:23:40 +08:00
zhaoxiangchun
86e687015f 修改框架查询influxdb的时间单位
epoch=ms,与以前虚拟机监控时间单位进行统一
2020-06-08 10:06:00 +08:00
Zexi Li
7a1d504e82 Merge pull request #6750 from swordqiu/hotfix/qj-base64-decode-invalid-password
fix: base64 decode 12-bytes plain text password return nil
2020-06-08 09:13:04 +08:00
Zexi Li
d1d22453bc Merge pull request #6755 from yousong/feature/yousong-default-params
Feature/yousong default params
2020-06-06 12:22:21 +08:00
yunion-ci-robot
190ac44566 Merge pull request #6757 from swordqiu/hotfix/qj-remove-name-space
fix: remove spaces in name
2020-06-06 12:21:45 +08:00
Qiu Jian
a51d554d74 fix: base64 decode 12-bytes plain text password return nil 2020-06-06 11:06:52 +08:00
yunion-ci-robot
bc841680e0 Merge pull request #6692 from ioito/hotfix/qx-object-acl
fix: 返回object默认acl
2020-06-06 10:58:47 +08:00
Qiu Jian
06e19c494c fix: remove spaces in name 2020-06-06 10:51:48 +08:00
yunion-ci-robot
7bfd4b572a Merge pull request #6734 from tb365/feature/tb-cancel-condition-release
cancel condition release
2020-06-05 17:17:43 +08:00
Zexi Li
749e99b5f9 Merge pull request #6754 from swordqiu/hotfix/qj-oss-upload-set-acl
fix: oss-upload fail to set object acl
2020-06-05 17:14:48 +08:00
Yousong Zhou
e8b6803525 climc: add command lbagent-show-default-params 2020-06-05 16:43:34 +08:00
Yousong Zhou
d4416f614f mcclient: options: add EmptyOption 2020-06-05 16:43:34 +08:00
Yousong Zhou
2b98f75c75 lbagent: new API: GET /loadbalanceragents/default-params 2020-06-05 16:01:37 +08:00
yunion-ci-robot
655362b34f Merge pull request #6752 from lvyangyang/feature/implement-allowDisableWrapLine
climc:allow disable term line width
2020-06-05 15:57:44 +08:00
Yousong Zhou
ce741a24cd lb: onecloud: disallow creating lb with vpc network 2020-06-05 15:36:56 +08:00
Qiu Jian
d519a6584b fix: oss-upload fail to set object acl 2020-06-05 15:32:15 +08:00
root
0a0af5cfa2 climc:allow disable term line width 2020-06-05 14:15:34 +08:00
Qu Xuan
510eb101ec fix: 返回object默认acl 2020-06-05 10:58:46 +08:00
yunion-ci-robot
db91628f0b Merge pull request #6730 from yousong/feature/yousong-lbcluster
Feature/yousong lbcluster
2020-06-04 22:36:10 +08:00
Zexi Li
593b69e436 Merge pull request #6740 from swordqiu/hotfix/qj-xsky-recode-using-wrong-info
fix: xsky recode using endpoint as accesskey key
2020-06-04 21:40:50 +08:00
Zexi Li
e532f46f0d Merge pull request #6736 from rainzm/gt/sfguest/generate
fix: Support 'generate_name' when saving template from guest
2020-06-04 21:39:39 +08:00
Zexi Li
6d76cc2af4 Merge pull request #6737 from tb365/bugfix/tb-bugfix-0604
ctyun sync host wire fix
2020-06-04 21:39:05 +08:00
Zexi Li
a5d47f4513 Merge pull request #6744 from wanyaoqi/bugfix/wyq/bind-mount-local-image-path
bugfix: bind mount local image path to container path
2020-06-04 21:24:00 +08:00
Qiu Jian
de081a768d fix: xsky recode using endpoint as accesskey key 2020-06-04 19:02:21 +08:00
tangbin
7e95750408 cancel condition release 2020-06-04 18:56:13 +08:00
tangbin
f58a9305e5 ctyun sync host wire fix 2020-06-04 18:48:35 +08:00
rainzm
27f746eb26 fix: Support 'generate_name' when saving template from guest 2020-06-04 18:27:41 +08:00
Yousong Zhou
1a308442c5 climc: lb-update: add --cluster argument 2020-06-04 15:58:06 +08:00
Yousong Zhou
74e19af514 climc: lbcluster-create: mark --zone as required 2020-06-04 15:58:06 +08:00
Yousong Zhou
5395210873 lb: allow update cluster_id with PUT request 2020-06-04 15:58:06 +08:00
Zexi Li
0d759322af Merge pull request #6728 from ioito/hotfix/qx-openstack-session
fix: 避免openstack session==nil
2020-06-04 15:04:13 +08:00
wanyaoqi
8e4668213e bind mount local image path to container path 2020-06-04 14:51:48 +08:00
Qu Xuan
90aa834942 fix: 避免openstack session==nil 2020-06-04 11:23:19 +08:00
Zexi Li
d50acbf3dd Merge pull request #6722 from ioito/hotfix/qx-region-city
fix: 添加region翻译
2020-06-04 10:27:51 +08:00
Zexi Li
866da0e6b0 Merge pull request #6726 from swordqiu/hotfix/qj-default-user-fetcher
fix: keystone event list fail to find user
2020-06-04 10:26:46 +08:00
Qiu Jian
b917ea6a10 fix: keystone event list fail to find user 2020-06-04 07:56:56 +08:00
Qu Xuan
6ba9a8fae8 fix: 添加region翻译 2020-06-03 20:39:00 +08:00
Zexi Li
3e182fb89b Merge pull request #6720 from ioito/hotfix/qx-object-escape
fix: 修复gcp object编码问题
2020-06-03 20:07:36 +08:00
Yousong Zhou
ba0e41d995 vpcagent: ovn: claim dnsrecords for all vpcs 2020-06-03 18:48:24 +08:00
Yousong Zhou
583718014c vpcagent: models: include dnsrecords 2020-06-03 18:25:59 +08:00
Yousong Zhou
88095c6d82 vpcagent: ovn: dns records for guest names 2020-06-03 18:25:59 +08:00
Yousong Zhou
d51791396f vpcagent: ovn: mark and sweep dns records 2020-06-03 18:25:59 +08:00
Zexi Li
01f53df8c3 Merge pull request #6711 from ioito/hotfix/qx-azure-classic-vm
fix: 移除默认调度策略
2020-06-03 17:27:25 +08:00
Zexi Li
5f1801202d Merge pull request #6696 from tb365/feature/tb-add-enterprise-info-update-climc
add-enterprise-info-update-climc
2020-06-03 17:26:13 +08:00
Zexi Li
73bcfb4bb7 Merge pull request #6713 from wanyaoqi/bugfix/wyq/fix-find-no-such-file
bugfix: isolated device manager:
2020-06-03 17:25:02 +08:00
Zexi Li
39244cce50 Merge pull request #6364 from yousong/feature/yousong-eip
Feature/yousong eip
2020-06-03 17:23:24 +08:00
Zexi Li
059b9388bd Merge pull request #6701 from yousong/feature/yousong-lb-selective-redirect
Feature/yousong lb selective redirect
2020-06-03 17:23:07 +08:00
Qu Xuan
c706821a74 fix: 修复gcp object编码问题 2020-06-03 16:35:31 +08:00
wanyaoqi
44cbdd07a3 isolated device manager:
- fix find boot_vga got No such file or dirtory
2020-06-03 15:46:25 +08:00
Qu Xuan
c2ce0460a2 fix: 移除默认调度策略 2020-06-03 15:03:20 +08:00
Zexi Li
7873fa5de3 Merge pull request #6708 from ioito/hotfix/qx-gcp-rds-err
fix: 转换gcp错误
2020-06-03 13:03:17 +08:00
Qu Xuan
9069814b17 fix: 转换gcp错误 2020-06-03 11:56:01 +08:00
Yousong Zhou
b6110fd3a1 lbbackend: kvm: allow adding 'host',"ip" backend type
For "host" type, as long as the requesting user can get access to it's
id and the validator plus userCred allows it
2020-06-03 11:34:29 +08:00
Yousong Zhou
97c5afda57 lbbackend: ValidateCreateLoadbalancerBackendData: use httperrors 2020-06-03 11:34:04 +08:00
Zexi Li
bbbc488a07 Merge pull request #6699 from rainzm/notify/verify
feat: Logo and copyright in verify email are same with these in company info
2020-06-03 10:17:34 +08:00
Zexi Li
bc02ef1992 Merge pull request #6702 from ioito/hotfix/qx-gcp-rds-user
fix: gcp默认创建允许所有地址访问的用户
2020-06-03 10:17:07 +08:00
Zexi Li
9de500f27c Merge pull request #6704 from ioito/hotfix/qx-vpc-create
fix: 允许gcp创建vpc时不指定cidr
2020-06-03 10:16:40 +08:00
Zexi Li
4fa1025329 Merge pull request #6706 from ioito/hotfix/qx-tenant-cache
fix: 避免越过tenantcache过期检查
2020-06-03 10:16:00 +08:00
yunion-ci-robot
d8eb8bc1d4 Merge pull request #6668 from swordqiu/hotfix/qj-get-property-support-rbac
fix: class method GetPropertyXXX should support rbac
2020-06-03 10:13:06 +08:00
Qu Xuan
8754ef2436 fix: 避免越过tenantcache过期检查 2020-06-02 22:17:28 +08:00
Qu Xuan
53d771025e fix: 允许gcp创建vpc时不指定cidr 2020-06-02 21:57:35 +08:00
Qu Xuan
f73b3ed03f fix: gcp默认创建允许所有地址访问的用户 2020-06-02 21:45:47 +08:00
Yousong Zhou
856310331f lblistenerrule: allow turning on/off redirect 2020-06-02 21:44:25 +08:00
Yousong Zhou
2cd6c85882 lblistenerrule: redirect: try avoid endless redirect 2020-06-02 21:44:25 +08:00
Yousong Zhou
471755103d lblistener: allow turning on/off redirect 2020-06-02 21:44:25 +08:00
Zexi Li
0d5be52f45 Merge pull request #6697 from swordqiu/hotfix/qj-esxiagent-service
fix: apigateway expose esxiagent service avaiability
2020-06-02 21:20:12 +08:00
Yousong Zhou
d3313eba42 lblistener: redirect: try avoid endless redirect 2020-06-02 21:17:20 +08:00
Yousong Zhou
d55af7af26 lblistenerrule: allow creation even for redirect listener 2020-06-02 21:17:17 +08:00
Yousong Zhou
ea8cd6d7e9 climc: lblistener-create: make --scheduler an optional arg 2020-06-02 21:17:17 +08:00
Yousong Zhou
473932311b lblistener: make scheduler an optional arg on creation 2020-06-02 21:17:17 +08:00
Yousong Zhou
3ae45d55eb lbagent: fix condition for "nothing to serve" 2020-06-02 21:17:17 +08:00
Yousong Zhou
7e2273bfbf lbagent: standalone rate control between listener and its rules 2020-06-02 21:17:17 +08:00
Yousong Zhou
3d58d51abe lbagent: decouple rule redirect from listener redirect 2020-06-02 21:17:17 +08:00
rainzm
156ef6bd2e feat: Logo and copyright in verify email are same with these in company
info
2020-06-02 20:52:06 +08:00
Qiu Jian
ddc483509a fix: apigateway expose esxiagent service avaiability 2020-06-02 20:30:07 +08:00
tangbin
bb808bd8aa add-enterprise-info-update-climc 2020-06-02 20:13:49 +08:00
yunion-ci-robot
0f9df3ed28 Merge pull request #6686 from ioito/bugfix/qx-secgroup
fix: 避免锁超时
2020-06-02 13:59:42 +08:00
Qu Xuan
a519a66122 fix: 避免锁超时 2020-06-02 11:10:01 +08:00
Zexi Li
e8d4655583 Merge pull request #6680 from ioito/hotfix/qx-s3-bucket-syncstatus
fix: sync s3 bucket status
2020-06-02 10:04:53 +08:00
Zexi Li
ad50e349f6 Merge pull request #6684 from ioito/hotfix/qx-google-object-acl
fix: gcp path escape for object
2020-06-02 10:04:34 +08:00
Zexi Li
7df836d0e8 Merge pull request #6666 from ioito/hotfix/qx-rule-project-id
fix: 安全组规则返回项目id信息
2020-06-02 10:03:08 +08:00
Zexi Li
dcb947cfa7 Merge pull request #6664 from zhaoxiangchun/feature/zxc-suggest-amount
在优化建议资源列表中增加费用信息
2020-06-02 10:02:26 +08:00
Zexi Li
0098d7ef41 Merge pull request #6675 from ioito/hotfix/qx-gcp-region
fix: add us-west4 for google region
2020-06-02 09:59:41 +08:00
Zexi Li
46266b392d Merge pull request #6670 from wanyaoqi/bugfix/wyq/get-snapshots-order-by-created-at
bugfix: get snapshots order by created at asc
2020-06-02 09:57:37 +08:00
Qu Xuan
23df2235e4 fix: gcp path escape for object 2020-06-01 19:57:07 +08:00
Qu Xuan
7cb40ec3c2 fix: sync s3 bucket status 2020-06-01 18:44:23 +08:00
Qu Xuan
1997e41ea6 fix: add us-west4 for google region 2020-06-01 18:25:35 +08:00
zhaoxiangchun
ecd4a94079 监控数据查询增加对任意时间范围的支持 2020-06-01 17:01:39 +08:00
zhaoxiangchun
3f63e4737a 统一监控接口
1.通过前端选择measurement等数据完成对influxdb指标的的查询
2.支持同时查询多个query。
2020-06-01 17:01:39 +08:00
Qiu Jian
a99deb6141 fix: class method GetPropertyXXX should support rbac 2020-06-01 15:52:58 +08:00
wanyaoqi
6e0f4a4947 get snapshots order by created at asc 2020-06-01 15:07:33 +08:00
Qu Xuan
61ff1544ec fix: 安全组规则返回项目id信息 2020-05-29 20:47:17 +08:00
Zexi Li
95a58cc606 implement generic service informer 2020-05-29 19:59:34 +08:00
zhaoxiangchun
585385f0cb 在优化建议资源列表中增加费用信息
另外,在资源进行处理时记录对应的status信息
2020-05-29 19:39:02 +08:00
Zexi Li
9307660d11 Merge pull request #6661 from rainzm/notify/remove_mobile_template
fix(notify): Remove default mobile template
2020-05-29 19:32:17 +08:00
Zexi Li
f5004eecc6 Merge pull request #6658 from ioito/hotfix/qx-bucket-fix
fix: byte size fix
2020-05-29 19:14:17 +08:00
rainzm
9374c65a8f fix(notify): Remove default mobile template 2020-05-29 18:48:02 +08:00
Qu Xuan
5ed624d15d fix: byte size fix 2020-05-29 16:58:56 +08:00
Zexi Li
f0a0eb4f54 Merge pull request #6564 from tb365/feature/tb-condition-release-2
redis&rds add postpaid duration
2020-05-29 14:21:58 +08:00
Zexi Li
10deea02d8 Merge pull request #6636 from swordqiu/hotfix/qj-get-matched-policysets
fix: ignore match weights when searching matched policysets
2020-05-29 14:20:13 +08:00
Zexi Li
581a5789cc Merge pull request #6650 from wanyaoqi/bugfix/wyq/fix-migrate-with-multi-storage
bugfix: fix migrate with multi local storage
2020-05-29 14:18:36 +08:00
wanyaoqi
4d404e09d0 fix migrate with multi local storage 2020-05-29 11:45:51 +08:00
Qiu Jian
0157028465 fix: ignore match weights when searching matched policysets 2020-05-29 10:01:20 +08:00
Zexi Li
4362927d23 Merge pull request #6642 from swordqiu/hotfix/qj-bucket-api-documentation
fix: generating bucket APIs
2020-05-29 01:39:49 +08:00
tangbin
346d558505 redis&rds add postpaid duration 2020-05-28 20:46:07 +08:00
yunion-ci-robot
61e56d5079 Merge pull request #6643 from rainzm/notify/domain
feat(notify): Support 'socpe:domain' when list contacts
2020-05-28 19:04:00 +08:00
yunion-ci-robot
83f5c3bb74 Merge pull request #6631 from swordqiu/hotfix/qj-host-convert-baremetal-sched-fail
fix: sysadmin cannot convert host in non-default domain
2020-05-28 19:02:00 +08:00
yunion-ci-robot
fde7f2dfa3 Merge pull request #6544 from zhaoxiangchun/bugfix/zxc-suggest-mon
类型是onecloud的notifier额外增加webconsole的alert
2020-05-28 18:59:00 +08:00
yunion-ci-robot
ab71537f5d Merge pull request #6646 from wanyaoqi/bugfix/wyq/minor-fix0528
bugfix: guesthandler declear variable and define
2020-05-28 18:46:59 +08:00
Qiu Jian
5e77a9682e fix: generating bucket APIs 2020-05-28 18:13:36 +08:00
Zexi Li
e7df5dba93 Merge pull request #6632 from zhaoxiangchun/bugfix/zxc-resource-mon
修复优化建议资源列表cloudenv过滤失效的问题
2020-05-28 18:06:55 +08:00
wanyaoqi
8fde0c62a4 declear variable and define 2020-05-28 18:04:46 +08:00
Zexi Li
e67aaa0585 Merge pull request #6637 from ioito/hotfix/qx-guest-create
fix: 避免因磁盘数量导致创建机器失败
2020-05-28 17:13:36 +08:00
Zexi Li
54309630c3 Merge pull request #6628 from wanyaoqi/feature/wyq/clean-network-scripts-on-init
host: clean network scripts on init
2020-05-28 16:17:23 +08:00
Yousong Zhou
e442e7a259 vpcagent: ovn: apply qos on eip 2020-05-28 15:51:21 +08:00
Yousong Zhou
4b44f21abf vpcagent: ovn: apply guestnetwork bw_limit
For kernel datapath, this requires at least openvswitch 2.10, or linux
4.15
2020-05-28 15:51:21 +08:00
Yousong Zhou
4b299846de vpcagent: ovn: use FindXxxReferrer_yyy 2020-05-28 15:51:21 +08:00
Yousong Zhou
5ad06097c1 vendor: update yunion.io/x/ovsdb 2020-05-28 15:51:21 +08:00
Yousong Zhou
2353396013 build: docker: use openvswitch:2.10.4-0 2020-05-28 15:51:21 +08:00
Yousong Zhou
df3c337bf6 elasticips: onecloud: support changing bandwidth 2020-05-28 15:51:21 +08:00
Yousong Zhou
91defab40f iproute2: route: add del funcs 2020-05-28 15:51:21 +08:00
Yousong Zhou
6900393095 iproute2: errors: add IsErrSrch() 2020-05-28 15:51:21 +08:00
Yousong Zhou
a5c253e129 iproute2: route: prepare for route del 2020-05-28 15:51:21 +08:00
Yousong Zhou
d714e450fb hostman: options: add option --ovn-underlay-mtu 2020-05-28 15:51:21 +08:00
Yousong Zhou
61659d7b28 hostman: options: add option --sdn-pid-file 2020-05-28 15:51:20 +08:00
Yousong Zhou
25d05899d4 hostman: options: knobs for enabling features in sdnagent 2020-05-28 15:51:20 +08:00
Yousong Zhou
2841e245e2 vpcagent: ovn: set underlay mtu size in config file 2020-05-28 15:51:20 +08:00
Yousong Zhou
83a44ce94c vpcagent: ovn: mix eipgw and distgw 2020-05-28 15:51:20 +08:00
Yousong Zhou
822ba58756 vpcagent: models: include elasticip 2020-05-28 15:51:20 +08:00
Yousong Zhou
22090a3790 vpcagent: ovn: add and use mac.HashVpcHostDistgwMac() 2020-05-28 15:51:20 +08:00
Yousong Zhou
eaa16f3335 climc: shell: networks: add eip to server type choices 2020-05-28 15:51:20 +08:00
Yousong Zhou
56c89ed577 climc: eip-create: make manager, region optional arguments 2020-05-28 15:51:20 +08:00
Yousong Zhou
7e02808c86 guests: support server-create-eip for onecloud guests and eip 2020-05-28 15:51:20 +08:00
Yousong Zhou
df4d80fbd9 guests: list usable guests for specified eip 2020-05-28 15:51:20 +08:00
Yousong Zhou
2390e352f8 elasticips: list usable eips for onecloud kvm guests 2020-05-28 15:51:20 +08:00
Yousong Zhou
18fe12a4a7 elasticips: onecloud: support sync and syncstatus 2020-05-28 15:51:20 +08:00
Yousong Zhou
74920a37e1 tasks: onecloud: support disassociate eip 2020-05-28 15:51:20 +08:00
Yousong Zhou
8b82d67b6d guestdrivers: kvm: eip associate 2020-05-28 15:51:20 +08:00
Yousong Zhou
ff6e3e2367 guestnetworks: add EipId field 2020-05-28 15:51:20 +08:00
Yousong Zhou
3254646244 elasticips: onecloud: create op 2020-05-28 15:51:20 +08:00
Yousong Zhou
fa833e6948 elasticips: onecloud: delete op for non-managed eip 2020-05-28 15:39:06 +08:00
Yousong Zhou
8e1b6ded3e elasticips: make manager, region arguments optional 2020-05-28 15:39:06 +08:00
Yousong Zhou
0bf41caa36 elasticips: only create eip of mode elastic_ip 2020-05-28 15:39:06 +08:00
Yousong Zhou
7720380244 networks: create eip network only in default vpc 2020-05-28 15:39:06 +08:00
Yousong Zhou
b62d41a835 apis: network: add NETWORK_TYPE_EIP 2020-05-28 15:39:06 +08:00
Yousong Zhou
a0b39cc7b2 climc: vpcs: add --external-access-mode argument 2020-05-28 15:39:06 +08:00
Yousong Zhou
eebd15e0d5 vpcs: add ExternalAccessMode field 2020-05-28 15:39:06 +08:00
Yousong Zhou
30844db326 apis: add const definitions for eip gateway ips 2020-05-28 15:39:06 +08:00
Yousong Zhou
8d824d2441 Revert "fix: 避免解绑eip后可以立即syncstatus操作导致同步eip出现问题"
This reverts commit 8cc8991372.

Use EipDissociateTask now that it can do lock management for the
associated model
2020-05-28 15:39:06 +08:00
Yousong Zhou
02ea7b4628 tasks: EipDissociateTask: lock associated model 2020-05-28 15:39:06 +08:00
rainzm
cfcaa50e22 feat(notify): Support 'socpe:domain' when list contacts
This is a temporary solution.
2020-05-28 15:27:26 +08:00
Zexi Li
035af9de0e Merge pull request #6640 from ioito/hotfix/qx-openstack-project
fix: typo
2020-05-28 15:26:12 +08:00
Zexi Li
0354a256dc Merge pull request #6641 from ioito/hotfix/qx-typo-fix
fix: typo
2020-05-28 15:26:02 +08:00
Qu Xuan
f9dcb2bb77 fix: typo 2020-05-28 14:38:20 +08:00
Qu Xuan
05012f0bac fix: typo 2020-05-28 14:11:16 +08:00
Zexi Li
568a16e025 Merge pull request #6592 from ioito/hotfix/qx-openstack-project
fix: 通用指定项目到云上创建资源
2020-05-28 13:50:57 +08:00
Qu Xuan
caf07c2561 fix: 避免因磁盘数量导致创建机器失败 2020-05-28 12:06:37 +08:00
zhaoxiangchun
00fb77e0c0 修复优化建议资源列表cloudenv过滤失效的问题 2020-05-27 22:12:38 +08:00
zhaoxiangchun
0a7b381cf6 类型是onecloud的notifier增加webconsole的alert 2020-05-27 22:10:33 +08:00
Qiu Jian
f54d633258 fix: sysadmin cannot convert host in non-default domain 2020-05-27 21:10:59 +08:00
Zexi Li
6c87cd3151 Merge pull request #6621 from wanyaoqi/bugfix/wyq/host-storage-misc-fix
host storage misc fix:
2020-05-27 18:03:47 +08:00
Zexi Li
dfe8700dca Merge pull request #6618 from swordqiu/hotfix/qj-host-convert-baremetal-previleges
fix: domain user no previleges to convert host
2020-05-27 18:02:49 +08:00
Zexi Li
1ec17dd5b0 Merge pull request #6609 from wanyaoqi/bugfix/wyq/fix-host-name-validator
bugfix: fix host name validator
2020-05-27 18:01:09 +08:00
Zexi Li
0d93c985fe Merge pull request #6605 from ioito/hotfix/qx-remove-azure-policy-sync
fix: 移除azure policy sync部分
2020-05-27 17:55:40 +08:00
Zexi Li
fce9d7dac9 Merge pull request #6613 from swordqiu/hotfix/qj-scheduler-test-ignore-quota
fix: scheduler test ignore quota limit
2020-05-27 17:54:39 +08:00
Zexi Li
4b719d229e Merge pull request #6616 from yousong/bugfix/yousong-vet
Bugfix/yousong vet
2020-05-27 17:53:17 +08:00
Zexi Li
a998e505c5 Merge pull request #6619 from ioito/hotfix/qx-azure-detach-disk
fix: 避免azure卸载磁盘失败
2020-05-27 17:51:46 +08:00
wanyaoqi
73297de60c clean network scripts on init 2020-05-27 17:11:32 +08:00
wanyaoqi
690a5f2fca host storage misc fix:
- add accessible timeout
- add force detach host storage
2020-05-27 15:54:37 +08:00
Qu Xuan
d4b16667de fix: 避免azure卸载磁盘失败 2020-05-27 15:54:19 +08:00
Qiu Jian
c563f021b0 fix: domain user no previleges to convert host 2020-05-27 15:46:53 +08:00
Yousong Zhou
e80c938bad .circleci: run with parallel level 3
Resources: 2CPU/4096MB
2020-05-27 15:18:18 +08:00
Yousong Zhou
8e40ff64f5 build: add vet-check 2020-05-27 15:13:50 +08:00
Yousong Zhou
fb26b0c389 vet: composite literal uses unkeyed fields 2020-05-27 15:08:02 +08:00
Zexi Li
d236823a0f Merge pull request #6580 from yousong/bugfix/yousong-k8scidr-default-off
hostman: options: remove k8s_cluster_cidr
2020-05-27 14:37:16 +08:00
Zexi Li
32617b7486 Merge pull request #6607 from yousong/bugfix/yousong-vpcagent
Bugfix/yousong vpcagent
2020-05-27 14:35:52 +08:00
Yousong Zhou
d25f92af8b vet: bad syntax for struct tag value 2020-05-27 14:35:48 +08:00
Yousong Zhou
b99157f646 vet: pairs not separated by spaces 2020-05-27 14:35:48 +08:00
Yousong Zhou
c18d347b0c vet: bad syntax for struct tag pair 2020-05-27 14:35:48 +08:00
Yousong Zhou
85d238cb5a vet: unreachable code 2020-05-27 14:35:48 +08:00
Zexi Li
149bbc3bc1 Merge pull request #6589 from swordqiu/hotfix/qj-baremetal-retry-ipmi-if-redfish-fails
fix: retry ipmi probe if redfish-api-probe fails
2020-05-27 14:35:02 +08:00
Qiu Jian
354a61632d fix: scheduler test ignore quota limit 2020-05-27 10:10:39 +08:00
wanyaoqi
ec2cb3113b fix host name validator 2020-05-26 23:16:41 +08:00
Zexi Li
cb8f5e8864 Merge pull request #6603 from ioito/hotfix/qx-sku-filter
fix: sku status filter
2020-05-26 18:23:46 +08:00
Yousong Zhou
68b7ecf83a hostman: options: remove k8s_cluster_cidr
Remove instead of deprecation.  No user of this option anymore
2020-05-26 17:55:26 +08:00
Qu Xuan
9e07cda2bd fix: 移除azure policy sync部分 2020-05-26 17:55:16 +08:00
Yousong Zhou
cbe5ef4161 hostman: options: fix default value spec 2020-05-26 17:50:41 +08:00
Yousong Zhou
146ab44fbd vpcagent: models: separate Copy() and CopyJoined() 2020-05-26 17:50:41 +08:00
Yousong Zhou
cb27b18052 vpcagent: apihelper: use CopyJoined() 2020-05-26 17:50:41 +08:00
Yousong Zhou
c4b3084896 vpcagent: models: add CopyJoined() 2020-05-26 17:50:41 +08:00
Yousong Zhou
8873c8905e vpcagent: remove unused code 2020-05-26 17:50:41 +08:00
Yousong Zhou
230f004f36 vpcagent: apihelper: use its own options 2020-05-26 17:50:41 +08:00
Zexi Li
3ce96aa193 Merge pull request #6598 from wanyaoqi/bugfix/wyq/fix-remotefile-fetch-image-properties
bugfix: fix remotefile fetch image properties
2020-05-26 17:15:15 +08:00
Zexi Li
28273e56db Merge pull request #6594 from ioito/hotfix/qx-bucket-fix
fix: bucket信息修正
2020-05-26 17:13:43 +08:00
Qu Xuan
95ae69c2ba fix: sku status filter 2020-05-26 17:08:07 +08:00
wanyaoqi
810de8a7ea fix remotefile fetch image propertites 2020-05-26 15:50:19 +08:00
Qu Xuan
f89be60e69 fix: bucket信息修正 2020-05-26 15:05:42 +08:00
Qu Xuan
893d77398b fix: tmp update 2020-05-26 14:31:50 +08:00
Qu Xuan
9916c99172 fix: 通用指定项目到云上创建资源 2020-05-25 20:16:47 +08:00
Zexi Li
c05e24371e Merge pull request #6533 from rainzm/gt/cf_guest
Feat/guest_template
2020-05-25 18:35:27 +08:00
Zexi Li
8e11ec367d Merge pull request #6587 from swordqiu/hotfix/qj-keystone-idp-missing-details
fix: identity_provider details missing fields
2020-05-25 18:34:12 +08:00
Zexi Li
632b482e36 Merge pull request #6548 from wanyaoqi/feature/wyq/isolate-device-add-attribute-reserved-resource
feature: isolated device add attribute reserved resource
2020-05-25 18:33:51 +08:00
Qiu Jian
3699a9b20f fix: retry ipmi probe if redfish-api-probe fails 2020-05-25 17:48:17 +08:00
Qiu Jian
f9bc5f6922 fix: identity_provider details missing fields 2020-05-25 17:33:06 +08:00
wanyaoqi
91ff1d7d84 isolated device add attribute reserved resource 2020-05-25 17:31:34 +08:00
Zexi Li
48fb78f403 Merge pull request #6543 from yousong/bugfix/yousong-vpcagent
vpcagent: models: remove now boilerplate code
2020-05-25 14:32:35 +08:00
Zexi Li
fa3a0b59cc Merge pull request #6572 from swordqiu/hotfix/qj-update-model-api
update for doc-gen
2020-05-25 13:09:02 +08:00
yunion-ci-robot
6d8a4af571 Merge pull request #6578 from zexi/hotfix/baremetal-init-lockman
baremetal: fix forget init lockman pkg
2020-05-25 12:49:55 +08:00
Zexi Li
edf4813fb7 Merge pull request #6573 from zhaoxiangchun/bugfix/zxc-zstack-mon
zstack宿主机监控中增加参数信息进行Unmarshal
2020-05-25 12:17:50 +08:00
Zexi Li
8ebabd6ae3 baremetal: fix forget init lockman pkg 2020-05-25 12:15:21 +08:00
zhaoxiangchun
47cac3c7be zstack宿主机监控中增加参数信息进行Unmarshal 2020-05-24 17:14:40 +08:00
Qiu Jian
8a77030823 update for doc-gen 2020-05-23 13:42:59 +08:00
Zexi Li
b859eea7e6 Merge pull request #6567 from swordqiu/hotfix/qj-default-policy-not-effective
fix: default policy not effective
2020-05-22 22:48:10 +08:00
Zexi Li
8380583934 Merge pull request #6565 from rainzm/notify/contactType
Notify/contact type
2020-05-22 22:47:00 +08:00
Zexi Li
0512de8f2b Merge pull request #6558 from ioito/hotfix/qx-openstack-boot-index
fix: 避免openstack以镜像做系统盘创建失败
2020-05-22 22:45:11 +08:00
Qiu Jian
03477cbe72 fix: default policy not effective 2020-05-22 22:31:14 +08:00
rainzm
f73bcf8ad1 feat: Supports disabling of feishu and dingtalk notification 2020-05-22 20:50:13 +08:00
Qu Xuan
b31922a3b9 fix: 避免openstack以镜像做系统盘创建失败 2020-05-22 20:15:53 +08:00
rainzm
ee85dec1ce fix: Support filtering notification with contactType 2020-05-22 20:06:07 +08:00
Zexi Li
4561da4ea7 Merge pull request #6534 from ioito/hotfix/qx-azure-image
fix: 避免azure uefi重装系统失败
2020-05-22 19:39:00 +08:00
Zexi Li
03fa45da48 Merge pull request #6545 from rainzm/sg/export_keys
fix: Fix problem about exporting fields in scaling group
2020-05-22 19:34:50 +08:00
Zexi Li
7c8ade5e8d Merge pull request #6549 from ioito/hotfix/qx-secgroup-rule-tenant-id
fix: 返回项目信息
2020-05-22 19:33:46 +08:00
Zexi Li
5b8063bc46 Merge pull request #6551 from swordqiu/hotfix/qj-role-empty-match-polciies
fix: empty matched policies list for roles
2020-05-22 19:32:01 +08:00
Qiu Jian
728524fefc fix: empty matched policies list for roles 2020-05-22 18:47:57 +08:00
Qu Xuan
5cdeebb046 fix: 返回项目信息 2020-05-22 17:31:00 +08:00
Qu Xuan
0f2ff53847 fix: 加入Azure套餐和镜像的检查 2020-05-22 16:09:39 +08:00
rainzm
849628fe91 Fix the problem of field duplication when exporting fields 2020-05-22 15:50:54 +08:00
Qu Xuan
a9c0012006 fix: 避免azure uefi重装系统失败 2020-05-22 15:09:38 +08:00
Zexi Li
575f1c2d56 Merge pull request #6540 from ioito/hotfix/qx-azure-image-sync
fix: 避免因io问题导致同步镜像列表为空
2020-05-22 14:43:34 +08:00
rainzm
f9b7c7e571 feat(region): Check periodically whether Guest Template is valid 2020-05-22 13:57:37 +08:00
rainzm
1265e5d1e9 feat: Support vm to save server template 2020-05-22 13:57:25 +08:00
Qu Xuan
a7e1bdf6f5 fix: 避免因io问题导致同步镜像列表为空 2020-05-22 13:46:13 +08:00
Zexi Li
1e85456200 Merge pull request #6530 from ioito/hotfix/qx-rds-backup-create
fix: aliyun rds backup create fix
2020-05-22 12:37:58 +08:00
Yousong Zhou
3e09d4920b vpcagent: models: remove now boilerplate code 2020-05-22 11:10:11 +08:00
Yousong Zhou
c7fee7c760 vpcagent: apihelper: add interface IModelSetListOptionProvider
All modelsets do not need details at the moment
2020-05-22 11:10:11 +08:00
Zexi Li
5413d3c98f Merge pull request #6527 from rainzm/notify/email_verify
feat(notify): Change the format of verify email
2020-05-22 10:26:32 +08:00
Zexi Li
947d510951 Merge pull request #6531 from ioito/hotfix/qx-gcp-bucket-acl
fix: gcp bucket文件夹默认设为private
2020-05-22 10:25:55 +08:00
Zexi Li
5225aced10 Merge pull request #6525 from tb365/bugfix/tb-bugfix-0521
aws lbbg cache bugfix
2020-05-22 10:24:30 +08:00
Zexi Li
7a0a2fadfd Merge pull request #6511 from ioito/hotfix/qx-secgroup-sync
fix: 避免忽略本地allow any云上deny any安全组规则同步
2020-05-22 10:22:19 +08:00
Zexi Li
701c2bfc4c Merge pull request #6504 from yousong/bugfix/yousong-vpcagent
vpcagent: apihelper: 去除details=true查询
2020-05-22 10:21:47 +08:00
Zexi Li
a076aae248 Merge pull request #6509 from wanyaoqi/bugfix/wyq/fix-list-disk-attachable-servers
bugfix: fix list disk attachable servers
2020-05-22 10:20:17 +08:00
Zexi Li
815ef99319 Merge pull request #6535 from swordqiu/hotfix/qj-schedtag-usage
fix: usage for schetag not accurate
2020-05-22 10:19:15 +08:00
Zexi Li
ae51b32f59 Merge pull request #6528 from ioito/hotfix/qx-network-list-filter
fix: 避免regional network-list --zone导致返回结果为空
2020-05-22 10:17:55 +08:00
Zexi Li
cbd2355efc Merge pull request #6516 from swordqiu/hotfix/qj-login-without-system-privileges
fix: system privileges user cannot access system console
2020-05-22 10:15:07 +08:00
yunion-ci-robot
5612e6cf90 Merge pull request #6505 from ioito/hotfix/qx-image-upload
fix: 上传镜像为转换列表之外时,subformat状态异常
2020-05-21 23:03:50 +08:00
Qiu Jian
1dfef4dcfa fix: usage for schetag not accurate 2020-05-21 22:35:38 +08:00
Qu Xuan
ef25bf3282 fix: gcp bucket文件夹默认设为private 2020-05-21 20:53:05 +08:00
Qu Xuan
b260c04c39 fix: aliyun rds backup create fix 2020-05-21 20:36:09 +08:00
Qu Xuan
8bc4927d57 fix: 避免regional network-list --zone导致返回结果为空 2020-05-21 20:14:25 +08:00
rainzm
c706cfa272 feat(notify): Change the format of verify email 2020-05-21 19:12:52 +08:00
tangbin
d99ec57710 aws lbbg cache bugfix 2020-05-21 18:52:23 +08:00
Qiu Jian
29283ff118 fix: system privileges user cannot access system console 2020-05-21 18:36:42 +08:00
Qu Xuan
c8ba52c94a fix: 避免忽略本地allow any云上deny any安全组规则同步 2020-05-21 18:28:43 +08:00
wanyaoqi
df2e05b5b6 fix list disk attachable servers 2020-05-21 17:56:18 +08:00
Qu Xuan
1354270c51 fix: 上传镜像为转换列表之外时,subformat状态异常 2020-05-21 17:40:27 +08:00
Yousong Zhou
f5360264fe vpcagent: models: modelset: details=false for networks 2020-05-21 17:21:03 +08:00
Yousong Zhou
3a51985fcd vpcagent: models: include wires 2020-05-21 17:21:03 +08:00
Yousong Zhou
5fdd534f74 vpcagent: ovn: preparation: skip default vpc 2020-05-21 17:21:03 +08:00
Yousong Zhou
a7a3beae27 vpcagent: ovn: preparation: use network.Vpc.Id 2020-05-21 17:21:03 +08:00
Yousong Zhou
e0349f92b7 vpcagent: apihelper: use IModelSet.IncludeEmulated() 2020-05-21 17:21:03 +08:00
Yousong Zhou
5bf45ad65c vpcagent: models: modelset: add IncludeEmulated() method 2020-05-21 17:21:03 +08:00
Yousong Zhou
39a19d1c68 vpcagent: apihelper: use IModelSet.IncludeDetails() 2020-05-21 17:21:03 +08:00
Yousong Zhou
2a0cac9d49 vpcagent: models: modelset: add IncludeDetails() method 2020-05-21 17:21:03 +08:00
Yousong Zhou
9a47116a1d mcclient: options: remove implied details=true for pending_delete=all 2020-05-21 17:21:03 +08:00
Zexi Li
daf9db81dd Merge pull request #6499 from swordqiu/hotfix/qj-init-cloud-account-share-mode
fix: cloudaccount share_mode not initialized
2020-05-21 17:04:29 +08:00
Zexi Li
9b37c107c0 Merge pull request #6500 from zhaoxiangchun/bugfix/zxc-monitor-notify
Fix the problem that notify cannot be triggered when prestate = alerting and newstate = alerting
2020-05-21 16:37:48 +08:00
Zexi Li
b2f0e48b23 Merge pull request #6472 from zhaoxiangchun/bugfix/zxc-suggest-mon
suggestions  increase time screening range
2020-05-21 16:34:05 +08:00
Zexi Li
bd324238d2 Merge pull request #6487 from rainzm/fix/esxi
Fix/esxi
2020-05-21 16:32:46 +08:00
Zexi Li
b5ed7f8d74 Merge pull request #6497 from wanyaoqi/bugfix/wyq/storage-cache-image-use-lockman
bugfix: image cache use lockman
2020-05-21 16:31:40 +08:00
yunion-ci-robot
012631bb46 Merge pull request #6503 from rainzm/ansible/requirement
fix: 'requirements' in ansibleplaybookv2 should be optional
2020-05-21 15:22:43 +08:00
zhaoxiangchun
c8a0d77364 bugfix-优化建议
在删除资源列表的信息时,增加对应的状态值。如果删除失败记录相关日志
2020-05-21 15:16:45 +08:00
zhaoxiangchun
42ed0b1c5a 优化建议增加时间筛选范围
1.在时间范围内查询未使用的资源,对于存在解绑的操作,通过查询对应的日志来确定最近的使用时间
2.基于监控的优化建议,增加新的reducer,当有足够多的points时,再进行其他逻辑
2020-05-21 15:16:45 +08:00
rainzm
77e5801ad9 fix: 'requirements' in ansibleplaybookv2 should be optional 2020-05-21 14:20:48 +08:00
zhaoxiangchun
4a784c1d7f 修复当prestate=alerting,newstate=alerting的情况无法触发notify的问题 2020-05-21 13:06:22 +08:00
Qiu Jian
08eda0d44d fix: cloudaccount share_mode not initialized 2020-05-21 11:55:26 +08:00
rainzm
d710248496 fix(esxi): Modify the disk size correctly when creating vm 2020-05-21 10:49:21 +08:00
rainzm
9bb7320771 fix(esxi): Detach all disk first when deleting vm 2020-05-21 10:45:55 +08:00
rainzm
ff2fc74401 Kill processes in time & Add debug info 2020-05-21 10:45:43 +08:00
wanyaoqi
127bd0ff17 image cache use lockman 2020-05-21 10:42:32 +08:00
Zexi Li
899c31d8b4 Merge pull request #6485 from wanyaoqi/feature/wyq/add-guest-sys-usage
guest add sys usage
2020-05-21 10:02:23 +08:00
Zexi Li
0843439dba Merge pull request #6494 from yousong/bugfix/yousong-server-list-nics
guests: include vpc, network info in guest nics list
2020-05-21 10:00:19 +08:00
Yousong Zhou
b29c4b3869 guests: include vpc, network info in guest nics list 2020-05-20 22:45:16 +08:00
Zexi Li
4e64f38851 Merge pull request #6491 from zexi/hotfix/keystone-db-sync
keystone: fix db not sync
2020-05-20 17:32:10 +08:00
Zexi Li
9a6065fbf2 keystone: fix db not sync 2020-05-20 17:20:51 +08:00
rainzm
dae02ec019 fix(esxi): Remove 'Destory' operation that is unnecessary for VirtualDiskManager 2020-05-20 15:36:25 +08:00
rainzm
b6ce495d4f fix(esxi): Separate detach disk and delete disk when rebuilding.
In previous versions, set
`removeSpec.FileOperation = types.VirtualDeviceConfigSpecFileOperationDestroy'
to delete disk indirectly.

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

Now, detach disk without deleteing backing file and then remove backing
2020-05-20 15:33:13 +08:00
wanyaoqi
844b865e2e add sys usage 2020-05-20 14:01:58 +08:00
Zexi Li
cd317817da Merge pull request #6481 from zexi/hotfix/region-resource-details-panic
region: fix get resource details panic
2020-05-20 14:00:05 +08:00
Zexi Li
0b70491ea0 region: fix get resource details panic 2020-05-20 13:26:10 +08:00
Zexi Li
d8d4c6f24e Merge pull request #6479 from yousong/bugfix/yousong-travis-badge
README.md: use travis-ci.com as badge target link
2020-05-20 12:54:04 +08:00
Zexi Li
b8871a4b22 Merge pull request #6474 from yousong/bugfix/yousong-region
Bugfix/yousong region
2020-05-20 12:52:59 +08:00
Zexi Li
e4e91ade65 Merge pull request #6473 from ioito/hotfix/qx-azure-resource-group
Hotfix/qx azure resource group
2020-05-20 12:52:42 +08:00
Yousong Zhou
ea373821d2 README.md: use travis-ci.com as badge target link 2020-05-20 11:55:58 +08:00
Zexi Li
a76427c3ae Merge pull request #6456 from swordqiu/hotfix/qj-cloud-provider-list-usable-filter
fix: cloudprovider list support filter by zone and cloudregion
2020-05-20 11:09:00 +08:00
Zexi Li
25a6da393d Merge pull request #6453 from ioito/hotfix/qx-azure-image-sync-optimized
fix: 优化azure image同步逻辑
2020-05-20 11:08:16 +08:00
Zexi Li
e445b22a44 Merge pull request #6434 from ioito/hotfix/qx-vhd-check
fix: 加入azure镜像vhd检查
2020-05-20 11:07:37 +08:00
Zexi Li
d4a9588335 Merge pull request #6427 from ioito/hotfix/qx-secgroup-sync-optimized
fix: 避免大范围安全组共享
2020-05-20 11:07:13 +08:00
yunion-ci-robot
adbaf6b6af Merge pull request #6461 from tb365/feature/tb-condition-release
redis&dbinstance add clean expired postpaids resources
2020-05-20 11:01:42 +08:00
Yousong Zhou
72c23e8776 networks: return HTTP 404 for sql.ErrNoRows 2020-05-20 11:00:36 +08:00
Yousong Zhou
d83a7dade5 wires: default to "default" vpc on creation
Wire creation request right now only makes sense in context of classic
network ("default" vpc)
2020-05-20 11:00:36 +08:00
Yousong Zhou
1d78510fab networks: eliminate a variable 2020-05-20 11:00:36 +08:00
Yousong Zhou
df2d98d8c2 guestdrivers: managed: use const api.EIP_STATUS_ASSOCIATE 2020-05-20 11:00:36 +08:00
Yousong Zhou
ef695acae0 cloudprovider: fix typo 2020-05-20 11:00:36 +08:00
Yousong Zhou
5499f35090 cloudcommon: rbac: fix typo 2020-05-20 11:00:36 +08:00
Zexi Li
0f9f4ec381 Merge pull request #6468 from zexi/hotfix/host-convert-docker-config
host convert inject dockerd config
2020-05-20 10:44:26 +08:00
Qu Xuan
f9b1466f44 fix: 支持公有云指定资源组 2020-05-20 10:26:32 +08:00
tangbin
0029b25f9a redis&dbinstance add clean expired postpaids resources 2020-05-19 19:42:14 +08:00
Qu Xuan
4b5f8b8d5c fix: 支持指定resource group 2020-05-19 19:33:29 +08:00
Zexi Li
9aff012b28 Merge pull request #6463 from tb365/bugfix/tb-network-ip-query-fix
add fuzzy ip matching
2020-05-19 19:15:23 +08:00
Zexi Li
6a907ec9e4 Merge pull request #6458 from ioito/hotfix/qx-zstack-windows-user-data
fix: 修复zstack使用win镜像时userdata base64加密问题
2020-05-19 19:13:41 +08:00
Zexi Li
fed036c209 Merge pull request #6462 from zexi/hotfix/server-create-params
region: fix server create params not include specified resource
2020-05-19 19:08:30 +08:00
Zexi Li
04b4e5713e host convert inject dockerd config 2020-05-19 19:07:44 +08:00
tangbin
f602979a23 add fuzzy ip matching 2020-05-19 17:39:13 +08:00
Zexi Li
4713312b32 region: fix server create params not include specified resource 2020-05-19 17:22:26 +08:00
Qu Xuan
f162ac46fe fix: 修复zstack使用win镜像时userdata base64加密问题 2020-05-19 16:45:32 +08:00
Qiu Jian
50f55c299c fix: cloudprovider list support filter by zone and cloudregion 2020-05-19 16:42:25 +08:00
Qu Xuan
b18035442e fix: 优化azure image同步逻辑 2020-05-19 16:23:37 +08:00
Zexi Li
d4217ff151 Merge pull request #6450 from zexi/feature/k8s-helm-cli
climc: update k8s resource cmd
2020-05-19 15:49:30 +08:00
Zexi Li
2a06b9f24c Merge pull request #6451 from swordqiu/hotfix/qj-ini-policy-create-fail
fix: policy create fail on initialization phrase
2020-05-19 15:48:17 +08:00
Zexi Li
9f0df58c95 climc: update k8s resource cmd 2020-05-19 15:26:02 +08:00
Qiu Jian
5b60c4fad8 fix: policy create fail on initialization phrase 2020-05-19 15:08:44 +08:00
Zexi Li
1bb2ef919c Merge pull request #6421 from ioito/hotfix/qx-metdata-list-optimized
fix: 优化标签列表过滤参数
2020-05-19 10:21:31 +08:00
Zexi Li
aa3cd307ba Merge pull request #6441 from swordqiu/hotfix/qj-fix-local-storage-ownership-sync
Hotfix/qj fix local storage ownership sync
2020-05-19 10:19:05 +08:00
Zexi Li
afa46799a1 Merge pull request #6443 from swordqiu/hotfix/qj-anonymous-user-may-list-resources
fix: anonymous user may list resources
2020-05-19 10:17:47 +08:00
Zexi Li
09381fdd73 Merge pull request #6436 from zexi/hotfix/baremetal-deploy-disable-cloud-init
baremetal: fix ssh put empty content file not created
2020-05-19 10:15:59 +08:00
Qiu Jian
f4a676575a fix: anonymous user may list resources 2020-05-19 01:13:00 +08:00
Qiu Jian
14abf05cf4 sync storage shared info when syncing local storage 2020-05-18 23:19:32 +08:00
Qiu Jian
6037f15145 update lisDescendent scope params 2020-05-18 21:58:24 +08:00
Qu Xuan
8f4e0a5e84 fix: 避免大范围安全组共享 2020-05-18 21:54:10 +08:00
Zexi Li
38c956bd10 Merge pull request #6418 from ioito/hotfix/qx-list-filter
Hotfix/qx list filter
2020-05-18 21:51:07 +08:00
Zexi Li
45ec40cac7 Merge pull request #6423 from ioito/hotfix/qx-cloudprovider-sync
fix: 避免仅同步一个region时,其余region状态变为准备中
2020-05-18 21:49:04 +08:00
Zexi Li
95ffe11c02 Merge pull request #6428 from ioito/hotfix/qx-guest-expired-time
fix: 避免设置自动释放后磁盘的expired_at失效
2020-05-18 21:47:40 +08:00
Zexi Li
ef9de2e4c1 Merge pull request #6432 from swordqiu/hotfix/qj-fix-permission-tags
fix: update fields permission tags
2020-05-18 21:47:12 +08:00
Zexi Li
541c72849a baremetal: fix ssh put empty content file not created 2020-05-18 21:43:36 +08:00
Qu Xuan
f9c794f745 fix: image-list --sub-format support 2020-05-18 21:20:33 +08:00
Qu Xuan
589a4678fa fix: 加入azure镜像vhd检查 2020-05-18 21:04:38 +08:00
Qiu Jian
d1fd245384 fix: update fields permission tags 2020-05-18 20:58:33 +08:00
Qu Xuan
3fe417c4f6 fix: 避免设置自动释放后磁盘的expired_at失效 2020-05-18 20:00:19 +08:00
Qu Xuan
33c2b5fa9d fix: 避免仅同步一个region时,其余region状态变为准备中 2020-05-18 19:36:46 +08:00
Qu Xuan
e306a4e23f fix: 优化标签列表过滤参数 2020-05-18 15:29:45 +08:00
Qu Xuan
888a5463ab 根据调度标签过滤网络和存储资源 2020-05-18 12:03:10 +08:00
Qu Xuan
6ea25e6fcc 可根据代理过滤云账号 2020-05-18 11:26:20 +08:00
Zexi Li
bbeb6be583 Merge pull request #6401 from swordqiu/hotfix/qj-permission-for-disabled-policy
fix: fail to explain permission for disabled policy
2020-05-17 14:22:15 +08:00
Zexi Li
ac67b19ae4 Merge pull request #6417 from swordqiu/feature/qj-billing-latest-last-start
feature: add functime get lastest last start time of a billing duration
2020-05-17 14:20:24 +08:00
Zexi Li
b3ca71e613 Merge pull request #6410 from zhaoxiangchun/bugfix/zxc-esxi-host-mon
Repair failed to get VMware host monitoring data
2020-05-17 14:16:38 +08:00
Zexi Li
d3cb3930a8 Merge pull request #6402 from swordqiu/hotfix/qj-disable-delete-standard-image
fix: disable delete standard image
2020-05-17 14:15:11 +08:00
Qiu Jian
81b6a766a9 feature: add functime get lastest last start time of a billing duration 2020-05-16 22:32:51 +08:00
yunion-ci-robot
03ee9901c9 Merge pull request #6408 from rainzm/vendor/update
update vendor for master
2020-05-16 22:07:08 +08:00
zhaoxiangchun
6ffb3653ae 修复无法获取vmware宿主机监控数据的问题 2020-05-16 21:15:52 +08:00
rainzm
d98b2b4053 update vendor 2020-05-16 21:02:15 +08:00
Zexi Li
d8560a0de5 Merge pull request #6394 from swordqiu/hotfix/qj-scope-system-for-agents
fix: xxx-agent should generally use scope=system to list resources
2020-05-16 17:45:42 +08:00
Zexi Li
42a55ce9b2 Merge pull request #6395 from swordqiu/hotfix/qj-server-sync-fix-nics
fix: server-sync-fix-nics should return errors if vnics ip is not reachable on host
2020-05-16 17:44:19 +08:00
Zexi Li
b3c1b1eca5 Merge pull request #6375 from rainzm/fix/isinit
Fix/esxi
2020-05-16 17:41:24 +08:00
yunion-ci-robot
f91f381b8c Merge pull request #6388 from zexi/hotfix/baremetal-enable-public-netif
region: fix baremetal can't enable public baremetal type network
2020-05-16 17:31:07 +08:00
Qiu Jian
b312b5dacb fix: bugfixes 2020-05-16 01:04:12 +08:00
Qiu Jian
ed5463ca68 fix: disable delete standard image 2020-05-16 00:34:54 +08:00
Qiu Jian
54689d862b fix: fail to explain permission for disabled policy 2020-05-16 00:18:28 +08:00
Qiu Jian
605978a94e fix: server-sync-fix-nics should return errors if vnics ip is not
reachable on host
2020-05-15 22:14:20 +08:00
Qiu Jian
41125788fe fix: xxx-agent should generally use scope=system to list resources 2020-05-15 22:09:41 +08:00
rainzm
60a363a79a fix(esxi): Allow the creation of duplicate vcenter machines.
Create vm with name whose vlaue is localVM.Uuid and try to rename again.
2020-05-15 21:29:10 +08:00
rainzm
874ea4eb4a fix(esxi): Add usb to support mouse in vnc viewer 2020-05-15 20:58:39 +08:00
rainzm
81ffd582f6 fix(esxi): Fix GetDriver and add driver log for vdisk.
In GetDriver, return 'name' directly if driverMap is empty.
2020-05-15 20:38:45 +08:00
rainzm
33184357bf fix(esxi): Set 'WindowsDefaultAdminUser' as true when deploy vm.
'WindowsDefaultAdminUser' means that the default admin account is
'Administrator' when deploy windows vm.
2020-05-15 20:34:00 +08:00
rainzm
45305648d4 fix(region): Set default value if rootdisk's driver is empty. 2020-05-15 20:31:36 +08:00
rainzm
3530bca49f fix(esxi): Disable automatically add host to the dvs 2020-05-15 20:22:51 +08:00
Zexi Li
fe055916c3 Merge pull request #6386 from yousong/bugfix/yousong-vpcagent
Bugfix/yousong vpcagent
2020-05-15 19:59:15 +08:00
Zexi Li
80a405a8a0 region: fix baremetal can't enable public baremetal type network 2020-05-15 19:56:53 +08:00
Yousong Zhou
4d54972a9a vpcagent: ovnutil: destroy non root obj first
To avoid the following error

	/* Can't happen because of the database schema. */
	ctl_fatal("logical port %s is not part of any logical router",
		  ctx->argv[1]);
2020-05-15 16:28:17 +08:00
Yousong Zhou
6d788e052a vpcagent: ovn: cmp: generate clean args in a single batch 2020-05-15 16:28:17 +08:00
Zexi Li
66168cb8c5 Merge pull request #6379 from ioito/bugfix/qx-rds-backup-list
fix: 避免backup list未能正常显示rds信息
2020-05-15 15:29:32 +08:00
Zexi Li
cd17057364 Merge pull request #6381 from zexi/hotfix/scheduler-min-conters
scheduler: fix min counter get count not correct
2020-05-15 15:27:57 +08:00
Zexi Li
db65bf4ef0 scheduler: fix min counter get count not correct 2020-05-15 15:04:38 +08:00
Qu Xuan
d82cf4184b fix: 避免backup list未能正常显示rds信息 2020-05-15 14:29:14 +08:00
rainzm
2fe738b468 fix(esxi): Set 'IsInit' as true when rebuildroot
IsInit is true will cause cloudinit enable. When rebuilding root, if there is cloudinit service in the image, it will cover the initialization work we did on the rebuilding.
2020-05-15 11:15:39 +08:00
Zexi Li
aa254f927b Merge pull request #6346 from ioito/hotfix/qx-cloud-init
fix: 优化windows powershell userdata
2020-05-15 11:09:40 +08:00
Zexi Li
43fc7be0c0 Merge pull request #6363 from swordqiu/hotfix/qj-image-upload-public-scope
fix: set public_scope to system for image with is_public=true
2020-05-15 11:08:12 +08:00
Zexi Li
e73fb2cc31 Merge pull request #6352 from ioito/hotfix/qx-rds-sync-optimized
fix: 优化rds zone同步逻辑
2020-05-15 11:05:42 +08:00
Zexi Li
84fe0085a4 Merge pull request #6358 from zhaoxiangchun/bugfix/zxc-suggest-mon
modify the logic of queryCondition save the  evalMatch
2020-05-15 11:04:45 +08:00
zhaoxiangchun
387880164c modify the logic of queryCondition save the evalMatch 2020-05-15 10:11:16 +08:00
Qiu Jian
eb54f316c7 fix: set public_scope to system for image with is_public=true 2020-05-15 00:30:03 +08:00
Qu Xuan
fc4778f332 fix: 优化rds zone同步逻辑 2020-05-14 19:43:38 +08:00
Zexi Li
86fbbf5a65 Merge pull request #6353 from zexi/hotfix/scheduler-schedtag-empty-strategy
scheduler: filter disabled cloudprovider
2020-05-14 18:58:36 +08:00
Zexi Li
0d2ec73865 Merge pull request #6344 from tb365/bugfix/tb-bugfix-0514
allow delete paramter config
2020-05-14 18:20:41 +08:00
Zexi Li
3d74264385 Merge pull request #6338 from swordqiu/hotfix/qj-aoid-use-background-context
fix: avoid using background context
2020-05-14 18:18:21 +08:00
Zexi Li
31110901d2 Merge pull request #6336 from zhaoxiangchun/bugfix/zxc-suggest-mon
Modify the logic of rule change execution time
2020-05-14 18:17:45 +08:00
Zexi Li
2e93072691 scheduler: filter disabled cloudprovider 2020-05-14 18:09:26 +08:00
Zexi Li
811cdedc89 Merge pull request #6347 from zexi/hotfix/scheduler-schedtag-empty-strategy
scheduler: set schedtag default strategy if input empty
2020-05-14 17:49:00 +08:00
Zexi Li
e00b1fdc3b scheduler: set schedtag default strategy if input empty 2020-05-14 17:23:02 +08:00
Qu Xuan
5c6b016c2d fix: 优化windows powershell userdata 2020-05-14 16:48:30 +08:00
Qiu Jian
c35758dd08 fix: avoid using background context 2020-05-14 16:15:54 +08:00
tangbin
cbe5e88907 allow delete paramter config 2020-05-14 15:17:29 +08:00
zhaoxiangchun
e8a61b0352 修改规则执行时间
在将资源数据取到后更新执行时间
2020-05-14 14:57:21 +08:00
Zexi Li
893df7ba2b Merge pull request #6331 from tb365/bugfix/tb-bugfix-0514
clear yunionauth cookie
2020-05-14 13:02:11 +08:00
Zexi Li
17bb2398c5 Merge pull request #6333 from wanyaoqi/bugfix/wyq/rm-statefile-in-start-script
bugfix: remove statefile in start script
2020-05-14 13:01:34 +08:00
wanyaoqi
a5d2651fbf fix esxi disk disconnect 2020-05-14 12:27:41 +08:00
wanyaoqi
0fe396d5c1 remove statefile in start script 2020-05-14 12:07:21 +08:00
tangbin
75328cf081 clear yunionauth cookie 2020-05-14 11:34:02 +08:00
Zexi Li
4e75083306 Merge pull request #6140 from yousong/feature/yousong-vpc-secrules
Feature/yousong vpc secrules
2020-05-14 10:35:11 +08:00
Zexi Li
b2911d4bcd Merge pull request #6328 from swordqiu/hotfix/qj-status-resource-action-log-no-owner
fix: status-base resource's action log missing owner project/domain
2020-05-14 09:53:14 +08:00
Qiu Jian
9c26c04083 fix: status-base resource's action log missing owner project/domain 2020-05-14 01:14:40 +08:00
yunion-ci-robot
19ba882349 Merge pull request #6326 from zexi/hotfix/server-create-prefer-use-name
region: server create prefer resource fetch by name or id
2020-05-14 01:05:30 +08:00
Zexi Li
536be2ead7 region: server create prefer resource fetch by name or id 2020-05-14 00:40:20 +08:00
Zexi Li
246fe02a50 Merge pull request #6164 from zhaoxiangchun/bugfix/zxc-suggest-mon
bugfix-suggestrule cannot disable
2020-05-13 23:01:07 +08:00
Zexi Li
18e931424a Merge pull request #6087 from zhaoxiangchun/feature/zxc-influxdb-schema
在monitor的新增influxdb相关的功能
2020-05-13 22:59:41 +08:00
zhaoxiangchun
cc3f5ed196 基于监控数据的优化建议 2020-05-13 22:24:13 +08:00
zhaoxiangchun
6251d2da3f 在monitor的package中新增influxdb相关的功能
1.可以获取influxdb实例中的databases
2.可以获取指定database中的measurements
3.通过指定measurement获取其中的tags和fileds
2020-05-13 22:24:13 +08:00
Zexi Li
3f3089361c Merge pull request #6324 from swordqiu/hotfix/qj-hide-host-agent-menu
fix: host agent list use baremetalagents model
2020-05-13 21:20:53 +08:00
Qiu Jian
5c8081b6bf fix: host agent list use baremetalagents model 2020-05-13 21:04:44 +08:00
yunion-ci-robot
524a11cda8 Merge pull request #6319 from wanyaoqi/bugfix/wyq/do-close-worker-chan
bugfix: do not close appsrv worker chan
2020-05-13 20:16:03 +08:00
wanyaoqi
7bcedd41e8 do not close worker chan
don't close worker chan after put work, will cause dead loop
2020-05-13 18:55:16 +08:00
Yousong Zhou
4962bdc7e1 vpcagent: ovn: use db.FindOneMatchByAnyIndex 2020-05-13 14:14:49 +08:00
Yousong Zhou
4f68026b84 vendor: update yunion.io/x/ovsdb 2020-05-13 14:14:49 +08:00
Yousong Zhou
579641a268 vpcagent: ovn: configure acl for lport 2020-05-13 14:14:49 +08:00
Yousong Zhou
53f3546125 vpcagent: ovnutil: OvnNbctlArgsDestroy: take into account ACL 2020-05-13 14:14:48 +08:00
Yousong Zhou
9f4daafee2 vpcagent: ovn: secgrouprules_acl 2020-05-13 14:14:48 +08:00
Yousong Zhou
1abdb4f136 vpcagent: models: sort security group rules 2020-05-13 14:14:48 +08:00
Yousong Zhou
7ba46e9289 vpcagent: models: include secgroup and rules 2020-05-13 14:14:48 +08:00
Yousong Zhou
f33a2e1770 vpcagent: apihelper: do not set details=true by default 2020-05-13 14:14:48 +08:00
Yousong Zhou
e8cbaee904 region: guests: include secgroup ids in listing 2020-05-13 14:14:48 +08:00
Yousong Zhou
654845fd49 vpcagent: ovnutil: remove old generated code 2020-05-13 14:14:48 +08:00
Yousong Zhou
cae9594da9 vpcagent: ovn: use yunion.io/x/ovsdb 2020-05-13 14:14:48 +08:00
Yousong Zhou
7c3d9d7f89 vendor: import yunion.io/x/ovsdb 2020-05-13 14:14:48 +08:00
Yousong Zhou
ffadb30c63 vendor: tidy and vendoring 2020-05-13 14:14:48 +08:00
Zexi Li
93a8f42f14 Merge pull request #6305 from swordqiu/hotfix/qj-cascade-change-owner-candidate-domain-list
fix: change-owner-candidate-domains not implemented for some resources
2020-05-13 12:46:07 +08:00
Zexi Li
38d86388aa Merge pull request #6302 from yousong/bugfix/yousong-vpcagent
vpcagent: ignore possible external subnets
2020-05-13 12:45:06 +08:00
Zexi Li
59837952e1 Merge pull request #6297 from ioito/hotfix/qx-cloudprovider-list-filter
fix: cloud-provider-list support filter by cloudregion
2020-05-13 12:43:52 +08:00
Zexi Li
7992804e47 Merge pull request #6241 from swordqiu/feature/qj-auto-login-highest-scope
feature: user login into project with highest privilege automatically
2020-05-13 12:43:20 +08:00
Zexi Li
e14a005d00 Merge pull request #6300 from ioito/bugfix/qx-manager-custom-field
fix: 避免provider错乱返回
2020-05-13 12:43:04 +08:00
Zexi Li
980e9adc18 Merge pull request #6306 from ioito/hotfix/qx-openstack-secgroup
fix: openstack 安全组规则同步
2020-05-13 12:41:26 +08:00
Zexi Li
ff10ff3769 Merge pull request #6315 from ioito/hotfix/qx-reservedips-release
fix: i-ps -> ips
2020-05-13 10:44:45 +08:00
Zexi Li
8bb53e6903 Merge pull request #6317 from swordqiu/hotfix/qj-reserved-ip-owner-filter
fix: reserved ip owner filter
2020-05-13 10:44:07 +08:00
Zexi Li
68e26f31cb Merge pull request #6292 from ioito/bugfix/qx-openstack-err
fix: 优化openstack错误处理
2020-05-13 10:42:28 +08:00
Qiu Jian
07766b7b44 fix: reserved ip owner filter 2020-05-12 21:10:56 +08:00
Qu Xuan
b0b45c4209 fix: i-ps -> ips 2020-05-12 20:26:16 +08:00
Yousong Zhou
218df2416c vpcagent: ignore possible external subnets 2020-05-12 18:05:48 +08:00
Qu Xuan
df5f5c9b9e fix: openstack 安全组规则同步 2020-05-12 17:52:33 +08:00
Qiu Jian
4a84beee0f fix: change-owner-candidate-domains not implemented for some resources 2020-05-12 17:29:52 +08:00
Qu Xuan
bd21b346a5 fix: 避免provider错乱返回 2020-05-12 17:02:08 +08:00
Zexi Li
600226fc2e Merge pull request #6280 from yousong/bugfix/yousong-elect
cloudcommon: elect: notifyOne on subscribe
2020-05-12 14:22:27 +08:00
Zexi Li
bc1c7d60bd Merge pull request #6277 from ioito/hotfix/service-metadata
fix: 支持访问其他服务的标签列表
2020-05-12 14:21:24 +08:00
Qu Xuan
2da49eb0dd fix: 优化openstack错误处理 2020-05-12 14:08:40 +08:00
Qu Xuan
d271ff69f0 fix: cloud-provider-list support filter by cloudregion 2020-05-12 14:05:25 +08:00
Zexi Li
c275e20894 Merge pull request #6224 from wanyaoqi/feature/wyq/guest-set-user
feature: guest set login account
2020-05-12 12:18:36 +08:00
Zexi Li
1ea74e089c Merge pull request #6287 from yousong/bugfix/yousong-lb-undeploy
region: lbagent: undeploy: make it idempotent
2020-05-12 11:49:54 +08:00
Zexi Li
fe7bf4b725 Merge pull request #6282 from yousong/bugfix/yousong-lb
region: lbagents: fix deleting pending_deleted objects
2020-05-12 11:43:30 +08:00
Yousong Zhou
f226d342e1 region: lbagent: undeploy: make it idempotent
Both the following three can result in the same error message "Could not
find the requested service yunion-xx: host"

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

Use of ansibleplaybookv2 is overkill and can break console expectation.
Just turn to shell module for now
2020-05-12 10:38:33 +08:00
Yousong Zhou
f890b2b180 region: lbagents: fix deleting pending_deleted objects
This was broken since the introduction of virtual object
2020-05-12 10:05:56 +08:00
Yousong Zhou
d845700cac cloudcommon: elect: notifyOne on subscribe 2020-05-11 23:26:58 +08:00
Qu Xuan
f01bed833d fix: 支持访问其他服务的标签列表 2020-05-11 21:39:32 +08:00
Zexi Li
51556009fa Merge pull request #6263 from ioito/hotfix/qx-vpc-count
fix: globalvpc count vpc
2020-05-11 21:09:29 +08:00
Zexi Li
53fce79ada Merge pull request #6265 from ioito/hotfix/qx-disk-detach
fix: 避免卸载完已删除的磁盘后,磁盘状态为ready
2020-05-11 21:09:04 +08:00
Zexi Li
e5363a2cbf Merge pull request #6270 from zexi/hotfix/scheduler-region-panic
scheduler: get region nil panic
2020-05-11 21:07:33 +08:00
Zexi Li
1603cfb2a6 Merge pull request #6275 from swordqiu/hotfix/qj-gpu-domain-filter
fix: isolated_devices domain filter not working
2020-05-11 21:06:59 +08:00
Qiu Jian
e9101ebc2e fix: isolated_devices domain filter not working 2020-05-11 20:45:14 +08:00
Zexi Li
8c3dc06cd0 Merge pull request #6257 from swordqiu/hotfix/qj-cloud-account-disabled
fix: create cloudaccount with disabled state
2020-05-11 18:18:46 +08:00
Zexi Li
3a5f3d0a4b Merge pull request #6268 from ioito/hotfix/qx-gcp-rds
fix: gcp rds 默认不使用vpc网络
2020-05-11 18:18:03 +08:00
Zexi Li
7f08417597 Merge pull request #6258 from ioito/hotfix/qx-disk-billing-type
fix: 避免aliyun磁盘计费类型多次转换
2020-05-11 18:16:43 +08:00
Qiu Jian
108613bd32 detect bmagent and hostagent service 2020-05-11 17:25:43 +08:00
Qu Xuan
8cfbf9a8fe fix: gcp rds 默认不使用vpc网络 2020-05-11 14:52:02 +08:00
Zexi Li
d049ac936e scheduler: get region nil panic 2020-05-11 14:40:21 +08:00
Qu Xuan
8a8d0f9005 fix: 避免卸载完已删除的磁盘后,磁盘状态为ready 2020-05-11 14:36:02 +08:00
Qu Xuan
b6ec2b406e fix: globalvpc count vpc 2020-05-11 14:17:09 +08:00
Qu Xuan
2560fa3457 fix: 避免aliyun磁盘计费类型多次转换 2020-05-11 14:00:32 +08:00
Qiu Jian
3b0bc38583 fix: create cloudaccount with disabled state 2020-05-11 12:44:23 +08:00
Zexi Li
1403fae69b Merge pull request #6219 from swordqiu/hotfix/qj-domain-sharing-bugfixes-20200508
fix: 1. vpc, cloudprovider should not violate the sharing limit of cl…
2020-05-11 12:37:31 +08:00
wanyaoqi
8144d2d2fb guest set login account 2020-05-11 10:48:39 +08:00
Zexi Li
70a4746afb Merge pull request #6252 from swordqiu/hotfix/qj-disk-no-valid-storage
fix: panic when disk has no valid storage_id
2020-05-11 10:00:45 +08:00
yunion-ci-robot
8bd0873c03 Merge pull request #6230 from tb365/bugfix/tb-bugfix-0508
Bugfix/tb bugfix 0508
2020-05-11 09:37:56 +08:00
yunion-ci-robot
f315557b5d Merge pull request #6237 from swordqiu/hotfix/qj-guestsecgroup-list-panic
fix: guestsecgroup-list panic
2020-05-11 03:07:52 +08:00
Qiu Jian
42171cb9c9 fix: panic when disk has no valid storage_id 2020-05-11 02:42:05 +08:00
Zexi Li
5be8df6a06 Merge pull request #6247 from wanyaoqi/bugfix/wyq/fix-import-from-libvirt
bugfix: fix import from libvirt
2020-05-10 21:34:29 +08:00
Zexi Li
e6be8f0167 Merge pull request #6232 from tb365/bugfix/tb-bugfix-0509
huawei network id fix
2020-05-10 21:33:15 +08:00
wanyaoqi
1ba2d92e66 fix import from libvirt 2020-05-10 20:41:37 +08:00
Zexi Li
2dd06d28cd Merge pull request #6200 from swordqiu/hotfix/qj-recode-cloud-sync-public-scope
Hotfix/qj recode cloud sync public scope
2020-05-10 19:50:05 +08:00
Zexi Li
a28646dea8 Merge pull request #6242 from yousong/bugfix/yousong-wording
disks: reword error message on bad DiskConfig struct
2020-05-10 11:28:44 +08:00
Yousong Zhou
749fd878bc disks: reword error message on bad DiskConfig struct 2020-05-10 00:15:14 +08:00
Qiu Jian
c209fdd97d feature: user login into project with highest privilege automatically 2020-05-09 23:52:52 +08:00
Qiu Jian
77f35bae2e fix: init sharing status of default vpc and default secgroup 2020-05-09 22:35:17 +08:00
Qiu Jian
bea90b4b19 fix: recode sync public_src of cloud resources 2020-05-09 21:26:01 +08:00
Qiu Jian
99ddc175ba fix: guestsecgroup-list panic 2020-05-09 21:18:32 +08:00
tangbin
002a618e79 huawei network id fix 2020-05-09 19:55:18 +08:00
tangbin
8c06b50ed9 new local lb backend fix 2020-05-09 19:21:39 +08:00
Zexi Li
ffd8ab638a Merge pull request #6221 from yousong/bugfix/yousong-proxysetting
multicloud: avoid changing transport of global default http client
2020-05-09 19:01:59 +08:00
Zexi Li
afeae6355d Merge pull request #6209 from swordqiu/hotfix/qj-domain-regional-cloud-resource-quota-keys
fix: missing methods for SDomainRegionalCloudResourceKeys
2020-05-09 18:59:57 +08:00
Zexi Li
38e22c3328 Merge pull request #6216 from swordqiu/hotfix/qj-export-bugfixes
fix: export missing keys && export panic
2020-05-09 18:58:52 +08:00
Zexi Li
41da2d94b8 Merge pull request #6213 from yousong/bugfix/yousong-vpcagent-route
vpcagent: ovn: explicitly include gateway route in classless routes
2020-05-09 18:56:58 +08:00
Zexi Li
7c8f37b441 Merge pull request #6211 from yousong/bugfix/yousong-vpcagent
vpcagent: models: ignore possible external guests
2020-05-09 18:55:28 +08:00
Zexi Li
0b6dea1d58 Merge pull request #6206 from wanyaoqi/bugfix/wyq/misc-fix-o5o8
bugfix: bm register use client token
2020-05-09 18:54:26 +08:00
Zexi Li
b9999687cf Merge pull request #6202 from rainzm/feat/ansible_playbook
Feat/ansible playbook
2020-05-09 18:54:10 +08:00
Rain
1fbfc7f220 feat/ansibleserver: Install git in Dockerfile.ansibleserver-base 2020-05-09 17:54:00 +08:00
Rain
cf514364eb feat/ansible_pb: Add climc operator for ansibleplaybooks_v2
1) ansibleplaybooksv2-run
2) ansibleplaybooksv2-stop
3) ansibleplaybooksv2-delete
2020-05-09 17:54:00 +08:00
Rain
faf32415fa feat/ansible_pb: Add IncludeRole implments 'ITask' in pkg/util/ansiblev2 2020-05-09 17:53:33 +08:00
Zexi Li
1cd7a34990 Merge pull request #6225 from yousong/bugfix/yousong-cloudnet
apigateway: handlers: register cloudnet modules
2020-05-09 17:52:30 +08:00
Zexi Li
453c7cde01 Merge pull request #6193 from zexi/hotfix/list-baremetal-scope-system
baremetal: find baremetal add scope system
2020-05-09 17:48:03 +08:00
Yousong Zhou
a70d17d6d0 apigateway: handlers: register cloudnet modules 2020-05-09 16:40:35 +08:00
Yousong Zhou
e711ae7648 multicloud: loader: guard against changing proxyFunc of default client 2020-05-09 11:59:34 +08:00
Yousong Zhou
fd3c9e5cd8 multicloud: avoid changing transport of global default http client 2020-05-09 11:28:10 +08:00
Yousong Zhou
a9061e5453 cloudprovider: add methods for getting http client
Prepare for following changes to avoid using and changing default
client settings
2020-05-09 11:27:50 +08:00
Qiu Jian
8bd0205bb6 fix: allow delete shared resource 2020-05-09 00:34:21 +08:00
Qiu Jian
f2e0fcf4e9 fix: 1. vpc, cloudprovider should not violate the sharing limit of cloud account 2.
sharing mode of host and attached local storage should be consistent. 3.
cannot change owner of shared resource
2020-05-08 23:27:28 +08:00
Qiu Jian
bfa8786767 fix: export missing keys && export panic 2020-05-08 17:25:17 +08:00
tangbin
4882a6bb2b lb acl cache add acl filter 2020-05-08 17:24:48 +08:00
Yousong Zhou
5caaccd43f vpcagent: ovn: explicitly include gateway route in classless routes 2020-05-08 16:29:14 +08:00
Yousong Zhou
4496a7bbcb vpcagent: models: ignore possible external guests 2020-05-08 15:35:23 +08:00
Qiu Jian
c7d58dee91 fix: missing methods for SDomainRegionalCloudResourceKeys 2020-05-08 14:08:31 +08:00
Zexi Li
0c45818c5c Merge pull request #6204 from tb365/bugfix/tb-apigateway-set-cookie-domain
set cookie domain
2020-05-08 11:57:18 +08:00
wanyaoqi
4f23ffb901 bm register use domain token 2020-05-08 11:56:40 +08:00
tangbin
f25bbee903 set cookie domain 2020-05-08 11:54:50 +08:00
Rain
331ba9bb37 feat/ansible_pb: Add support for requirements
You can declare the source info of the referenced role in requirements.
2020-05-08 11:08:32 +08:00
Zexi Li
068b9ec200 Merge pull request #6190 from tb365/feature/tb-apigateway-yunionauth-domain-setting
apigateway-yunionauth-domain-setting
2020-05-08 10:29:11 +08:00
Zexi Li
75fb380532 Merge pull request #6198 from swordqiu/hotfix/qj-fail-sync-share-state-for-on-premise
fix: fail to sync share state for on-premise storages
2020-05-08 10:18:16 +08:00
Zexi Li
2509a217ec Merge pull request #6194 from wanyaoqi/bugfix/wyq/minor-0507
bugfix: set host list scope system
2020-05-08 10:16:18 +08:00
Zexi Li
399c4ed874 Merge pull request #6196 from ioito/hotfix/qx-api-docs
fix: api doc(guests -> servers)
2020-05-08 10:15:57 +08:00
Qiu Jian
45b8494cdc fix: fail to sync share state for on-premise storages 2020-05-07 20:43:44 +08:00
zhaoxiangchun
cb13b2241c 修复规则无法禁用的问题 2020-05-07 20:35:55 +08:00
zhaoxiangchun
d874b52b0c bugfix mem paginate
通过totoal和offset 与limit比较确定最后返回数据
2020-05-07 20:35:55 +08:00
Qu Xuan
6cff98f85b fix: api doc(guests -> servers) 2020-05-07 20:12:24 +08:00
wanyaoqi
6779db23f3 set host list scope system 2020-05-07 20:02:15 +08:00
Zexi Li
10f9188a5f Merge pull request #6185 from zhaoxiangchun/bugfix/zxc-gcp-monitor
修复谷歌监控无法获取的问题
2020-05-07 17:21:05 +08:00
Zexi Li
c179d84336 Merge pull request #6192 from swordqiu/feature/qj-reorganize-climc-codes
feature: reorganize climc codes
2020-05-07 17:20:10 +08:00
Qiu Jian
1843ba334d feature: reorganize climc codes 2020-05-07 16:48:37 +08:00
Zexi Li
cfc9fcedde baremetal: find baremetal add scope system 2020-05-07 13:27:36 +08:00
Zexi Li
618e721114 Merge pull request #6183 from swordqiu/hotfix/qj-missing-public-private-actionlog
fix: missing perform public/private actionlog
2020-05-07 11:38:31 +08:00
tangbin
4e9264cb22 apigateway-yunionauth-domain-setting 2020-05-07 11:33:03 +08:00
Zexi Li
1637d81aee Merge pull request #6173 from wanyaoqi/feature/wyq/support-custom-service-url
mcclient: support custom service url
2020-05-07 11:28:53 +08:00
Zexi Li
2150286e28 Merge pull request #6181 from swordqiu/hotfix/qj-shared-cloudprovided-not-accessible
fix: shared cloudprovider not accessible
2020-05-07 11:28:18 +08:00
zhaoxiangchun
d4531972dd 修复谷歌监控无法获取的问题
直接返回调用RestAPI的json格式数据
2020-05-07 11:26:15 +08:00
Zexi Li
4e325d02b2 Merge pull request #6167 from swordqiu/feature/qj-decouple-metadata-standalone-resource
feature: decouple metadata resource and standalone resource
2020-05-07 11:25:02 +08:00
Zexi Li
f4edfb9e04 Merge pull request #6168 from yousong/bugfix/yousong-dnsrecords
dnsrecords: allow updating only description …
2020-05-07 11:23:00 +08:00
Zexi Li
7d3c4af10c Merge pull request #6179 from swordqiu/hotfix/qj-shared-resource-should-not-be-deletable
fix: shared resource should not be deletable
2020-05-07 11:18:10 +08:00
Zexi Li
f0fbe90d3b Merge pull request #6174 from swordqiu/hotfix/qj-get-real-client-ip
fix: fail to fetch real client ip from httprequest
2020-05-07 11:16:11 +08:00
Qiu Jian
c473c9299e fix: missing perform public/private actionlog 2020-05-07 02:13:10 +08:00
Qiu Jian
a2a60245b2 fix: shared cloudprovider not accessible 2020-05-07 01:52:18 +08:00
Qiu Jian
6f3e18930e fix: shared resource should not be deletable 2020-05-07 01:37:41 +08:00
Qiu Jian
5ff4b9748b fix: fail to fetch real client ip from httprequest 2020-05-06 22:22:29 +08:00
wanyaoqi
26780e2c8b support custom service url 2020-05-06 22:13:58 +08:00
Yousong Zhou
2f056b9ef0 dnsrecords: allow updating only description
This commit includes the following changes

 - Eliminate unused arguments from validateModelData()
 - Remove "records" member of input data unconditionally
 - Allow updates to not include records related parameters, to allow
   updating only "description" without emitting "Empty record" error
2020-05-06 18:39:39 +08:00
Yousong Zhou
06abfccbbc dnsrecords: note that DnsRecordManager is a IAdminSharableVirtualModelManager 2020-05-06 18:39:39 +08:00
yunion-ci-robot
68bcd4f6e5 Merge pull request #6158 from zhaoxiangchun/bugfix/zxc-paginate
bugfix mem paginate
2020-05-06 15:43:44 +08:00
Qiu Jian
722498bf9e feature: decouple metadata resource and standalone resource 2020-05-06 15:38:18 +08:00
zhaoxiangchun
7c0d704148 bugfix mem paginate
通过totoal和offset 与limit比较确定最后返回数据
2020-05-06 11:01:16 +08:00
Zexi Li
d39d146258 Merge pull request #6153 from ioito/hotfix/qx-secgroup-cache-filter
fix: secgroupcache权限问题修复
2020-04-30 20:13:48 +08:00
Zexi Li
b4dd1d1eee Merge pull request #6151 from wanyaoqi/bugfix/wyq/minor-fix-0430
fix host details output
2020-04-30 19:08:15 +08:00
wanyaoqi
9652c97dce fix host init without etcd 2020-04-30 18:45:16 +08:00
Qu Xuan
10469342bb fix: secgroupcache权限问题修复 2020-04-30 15:31:36 +08:00
wanyaoqi
db2d02fe00 fix host details output 2020-04-30 15:04:59 +08:00
Zexi Li
8e55ffa23e Merge pull request #6147 from rainzm/fix/scaling_notification
fix/monitor: AutoScalingNotifier.ShouldNotify should call NotifierBase.ShouldNotify
2020-04-30 14:41:27 +08:00
Zexi Li
647aec25ce Merge pull request #6145 from wanyaoqi/hotfix/wyq/host-health-fix
host health check fix
2020-04-30 14:40:55 +08:00
Zexi Li
85fa63fab6 Merge pull request #6150 from wanyaoqi/bugfix/wyq/fix-update-input
bugfix: fix update input
2020-04-30 14:40:27 +08:00
wanyaoqi
7353622d23 fix update input 2020-04-30 11:38:15 +08:00
wanyaoqi
d727248929 fix host health 2020-04-30 11:32:16 +08:00
Rain
e67effaf3f fix/monitor: AutoScalingNotifier.ShouldNotify should call NotifierBase.ShouldNotify 2020-04-30 11:26:02 +08:00
Zexi Li
8c49248d02 Merge pull request #6123 from ioito/hotfix/qx-usage-optimized
fix: usage-handler 不统计虚拟的vpc wire
2020-04-30 10:36:02 +08:00
Zexi Li
b5d305d8bd Merge pull request #6137 from ioito/hotfix/qx-cloudaccount-create
fix: 云账号创建可以指定项目
2020-04-30 10:35:54 +08:00
Zexi Li
79fe55a600 Merge pull request #6141 from swordqiu/hotfix/qj-remove-cloud-account-sync-randomness
fix: remove cloudaccount autosync randomness
2020-04-30 10:35:30 +08:00
Zexi Li
d494c331c2 Merge pull request #6143 from swordqiu/hotfix/qj-list-lbbg-panic
fix: list lbbg panic
2020-04-30 10:35:00 +08:00
Qiu Jian
34aacdcde7 fix: list lbbg panic 2020-04-29 22:41:12 +08:00
Qiu Jian
0e03bfc275 fix: remove cloudaccount autosync randomness 2020-04-29 22:27:13 +08:00
Zexi Li
7a1f1ec922 Merge pull request #6120 from swordqiu/hotfix/qj-sysadmin-override-policy-violation
Hotfix/qj sysadmin override policy violation
2020-04-29 21:15:30 +08:00
Zexi Li
efafdbbd46 Merge pull request #6124 from tb365/feature/tb-apigateway-cookies-add-domain-setting
add cookie domain setting option
2020-04-29 21:13:24 +08:00
Zexi Li
76ede775b6 Merge pull request #6135 from zexi/feature/k8s-monitor-component
climc: k8s component add monitor options
2020-04-29 21:12:49 +08:00
Qu Xuan
c12c489e9f fix: 云账号创建可以指定项目 2020-04-29 20:04:53 +08:00
Zexi Li
ec8b24ed03 Merge pull request #6121 from zhaoxiangchun/bugfix/zxc-monitor-nodata-email
monitor服务:对于监控数据nodata情况,默认不发送邮件
2020-04-29 19:35:56 +08:00
Zexi Li
8df1559162 climc: k8s component add monitor options 2020-04-29 18:04:42 +08:00
Qiu Jian
b1647e7ebf fix: sysadmin can override policy violation check 2020-04-29 17:57:36 +08:00
tangbin
849d1d6699 add cookie domain setting option 2020-04-29 17:35:41 +08:00
Qu Xuan
d66197068d fix: usage-handler 不统计虚拟的vpc wire 2020-04-29 15:58:03 +08:00
zhaoxiangchun
e81334c0a7 monitor,对于监控数据nodata,默认不发送邮件 2020-04-29 15:17:54 +08:00
Zexi Li
4d1b93e29e Merge pull request #6118 from swordqiu/hotfix/qj-fix-cloud-account-usage-vpc
fix: cloud-account-usage vpc/storage not accurate
2020-04-29 13:11:31 +08:00
Zexi Li
1e6a4fce2f Merge pull request #6101 from rainzm/fix/auto_scaling10
Fix/Auto Scaling
2020-04-29 13:09:26 +08:00
Zexi Li
82c0de3ef4 Merge pull request #6095 from ioito/hotfix/qx-rds-password
fix: 普通用户可获取rds账号密码
2020-04-29 13:07:46 +08:00
Zexi Li
c11165ddb9 Merge pull request #6109 from ioito/hotfix/qx-gcp-os-mkdir
fix: 避免gcp创建创建文件夹失败
2020-04-29 13:07:23 +08:00
Zexi Li
d4c7e62add Merge pull request #6111 from swordqiu/hotfix/qj-prevent-policy-violation
fix: prevent policy violation
2020-04-29 13:07:04 +08:00
Zexi Li
d32cbd0088 Merge pull request #6116 from swordqiu/hotfix/qj-export-data-duplicate-key-error
fix: export files complain duplicate field name error
2020-04-29 13:06:28 +08:00
Qiu Jian
f39f838166 fix: cloud-account-usage vpc/storage not accurate 2020-04-29 01:14:29 +08:00
Qiu Jian
5c138b9199 fix: export files complain duplicate field name error 2020-04-29 00:53:44 +08:00
yunion-ci-robot
5fe7b53699 Merge pull request #6103 from ioito/bugfix/qx-openstack-storage-sync
fix: 修复openstack存储同步问题
2020-04-28 23:35:34 +08:00
Qiu Jian
ecb483b9be fix: prevent policy violation 2020-04-28 23:28:29 +08:00
Qu Xuan
b805d3495a fix: 避免gcp创建创建文件夹失败 2020-04-28 20:43:33 +08:00
Zexi Li
91e9f91c10 Merge pull request #6092 from wanyaoqi/feature/wyq/gpu-host-enable-hugepage
feature: gpu host enable huge page
2020-04-28 16:04:40 +08:00
Zexi Li
464d689697 Merge pull request #6034 from wanyaoqi/feature/wyq/enable-etcd-lock2
Feature/wyq/enable etcd lock2
2020-04-28 16:01:42 +08:00
Qu Xuan
e43af577b6 fix: 修复openstack存储同步问题 2020-04-28 14:45:26 +08:00
Rain
352e912c29 fix/as: Set ScalingPolicy's project as its ScalingGroup's project 2020-04-28 11:13:59 +08:00
Qu Xuan
0ff17ebeff fix: 普通用户可获取rds账号密码 2020-04-28 10:34:35 +08:00
wanyaoqi
5158a509ee enable etcd lock 2020-04-28 10:33:13 +08:00
wanyaoqi
38c1c70a27 host health check 2020-04-28 10:33:12 +08:00
yunion-ci-robot
0537897fb4 Merge pull request #6094 from zexi/bugfix/climc-completion
climc: remove stale zsh completion code
2020-04-27 22:05:33 +08:00
Zexi Li
16adec3a5b climc: remove stale zsh completion code 2020-04-27 21:07:34 +08:00
Zexi Li
b6562f1d27 Merge pull request #6085 from yousong/bugfix/yousong-proxysetting
region: cloudaccounts: re-validate only when proxysetting changed
2020-04-27 20:59:09 +08:00
Zexi Li
94cb6bc029 Merge pull request #6090 from yousong/bugfix/yousong-vpc-distgw
vpcagent: tmp replacement for db.FindByIndex()
2020-04-27 20:51:59 +08:00
Yousong Zhou
503735ebf5 vpcagent: ad-hoc replacement for db.FindByIndex() 2020-04-27 20:06:47 +08:00
wanyaoqi
98377116f3 gpu host enable huge page 2020-04-27 20:02:22 +08:00
Yousong Zhou
d716405eb9 region: cloudaccounts: re-validate only when proxysetting changed 2020-04-27 17:26:08 +08:00
Zexi Li
58d9018092 Merge pull request #6075 from yousong/bugfix/yousong-vpc-distgw
vpcagent: work around nics of pending deleted guest
2020-04-27 17:18:42 +08:00
Zexi Li
535b5a522f Merge pull request #6079 from ioito/hotfix/qx-gcp-region-status
fix: gcp fake region status
2020-04-27 17:17:36 +08:00
Zexi Li
8cd94f472c Merge pull request #6077 from swordqiu/hotfix/qj-cloud-account-usage-not-accurate
fix: cloudaccount usage region/zone count not accurate
2020-04-27 17:16:53 +08:00
Zexi Li
a426100b50 Merge pull request #6024 from zhaoxiangchun/feature/zxc-suggest-mon
lb 负载均衡优化建议
2020-04-27 17:16:09 +08:00
Zexi Li
75801db65b Merge pull request #6081 from wanyaoqi/bugfix/wyq/fix-esxi-convert-diskpath
bugfix: fix exsi convert disk path
2020-04-27 17:14:23 +08:00
Zexi Li
1f343877b9 Merge pull request #6083 from zexi/feature/k8s-monitor-component
climc: add k8s monitor component
2020-04-27 17:13:41 +08:00
Yousong Zhou
09cc38f962 vpcagent: models: allow guest to have multiple vpc nics 2020-04-27 17:08:21 +08:00
Yousong Zhou
11835889c0 vpcagent: work around nics of pending deleted guest 2020-04-27 16:56:44 +08:00
Rain
be5c539e94 fix/autoscaling: Chang the format of CoolingTime 2020-04-27 16:10:17 +08:00
Zexi Li
90618466b2 climc: add k8s monitor component 2020-04-27 16:08:39 +08:00
Zexi Li
5fdf202b40 Merge pull request #6068 from ioito/hotfix/qx-google-subaccount
fix: gcp use project name for cloudprovider
2020-04-27 16:03:04 +08:00
Qu Xuan
86251d1ca3 fix: gcp fake region status 2020-04-27 15:55:07 +08:00
wanyaoqi
9c4d3c62b3 fix exsi convert disk path 2020-04-27 15:54:17 +08:00
Qiu Jian
8d7bc247c9 fix: cloudaccount usage region/zone count not accurate 2020-04-27 15:52:47 +08:00
yunion-ci-robot
adc5138781 Merge pull request #6073 from rainzm/fix/eamil_verify_url
fix/notify: remove 'v2' from email verify url
2020-04-27 14:38:32 +08:00
Qu Xuan
139b9592c8 fix: gcp use project name for cloudprovider 2020-04-27 14:15:38 +08:00
Zexi Li
230ef05484 Merge pull request #5853 from wanyaoqi/feature/wyq/host-health2
host health check
2020-04-27 12:55:05 +08:00
Zexi Li
75a4d01a59 Merge pull request #6062 from rainzm/fix/notify_timeout
fix/notify: Add deadline for rpc client
2020-04-27 12:47:57 +08:00
yunion-ci-robot
cbab5be0cc Merge pull request #6041 from tb365/bugfix/tb-yunionapi-fix-0426
yunionapi reset password fix
2020-04-27 12:07:31 +08:00
Rain
9aa132cf37 fix/notify: remove 'v2' from email verify url 2020-04-27 11:30:35 +08:00
Zexi Li
7f96ad4844 Merge pull request #6059 from swordqiu/hotfix/qj-cloud-account-usage-fix
fix: cloud-account/provider usage not accurate
2020-04-27 10:55:06 +08:00
Zexi Li
f33f48ef43 Merge pull request #6052 from wanyaoqi/bugfix/wyq/minor-fix200426
region: fix host cmt bound, minor fix
2020-04-27 10:54:37 +08:00
Zexi Li
bc61d77f45 Merge pull request #6050 from swordqiu/feature/qj-baremetal-options-management
feature: make baremetal options managed by service config
2020-04-27 10:53:22 +08:00
Zexi Li
92cad6e8c8 Merge pull request #6054 from rainzm/fix/auto_scaling9
Fix/auto scaling & guest template
2020-04-27 10:52:03 +08:00
Rain
e1c63729d9 fix/notify: Add deadline for rpc client 2020-04-27 10:41:45 +08:00
Qiu Jian
912bf5c699 fix: cloud-account/provider usage not accurate 2020-04-27 02:10:23 +08:00
wanyaoqi
af6c6fee88 host health check 2020-04-26 21:44:02 +08:00
tangbin
32e4ae98ca yunionapi reset password fix 2020-04-26 21:34:32 +08:00
Qiu Jian
ee9289c231 feature: make baremetal options managed by service config 2020-04-26 21:24:21 +08:00
Zexi Li
bc12970351 Merge pull request #6042 from tb365/bugfix/tb-elb-bugfix-0426
Bugfix/tb elb bugfix 0426
2020-04-26 21:06:06 +08:00
Zexi Li
a781e95042 Merge pull request #6022 from yousong/bugfix/yousong-vpc-distgw
vpcagent: fend off non-onecloud-vpc guest nics
2020-04-26 21:04:25 +08:00
Zexi Li
96ec33d1cf Merge pull request #6020 from swordqiu/hotfix/qj-opslog-fetch-owner-id-fail
fix: opslog FetchOwnerId fail
2020-04-26 21:03:51 +08:00
Rain
09d7aaf392 fix/autoscaling: Change Sunday as 7 from 0 2020-04-26 20:59:50 +08:00
Rain
203bdb2dfb fix/guesttemplate: Change ResetPassword as true default 2020-04-26 20:59:50 +08:00
Rain
4d8e0ba1b4 fix/autoscaling: fix some problem
1. ScalingGroupGuestManger.Query 默认添加 NotEqual(...)
2. ScalingGroup.Scale 扩大锁的粒度,更新冷却时间也挪到这里面
3. climc 中增加 scaling-group-show
2020-04-26 20:59:44 +08:00
wanyaoqi
b05d22834f host fix cmt bound, minor fix 2020-04-26 20:52:42 +08:00
Zexi Li
d0fee09382 Merge pull request #6040 from tb365/bugfix/tb-ctyun-subnet-fix-0426
ctyun subnet create bugfix
2020-04-26 20:31:12 +08:00
tangbin
7b6f45789b aws elb health check type fix 2020-04-26 20:04:40 +08:00
Zexi Li
03824a1f22 Merge pull request #6013 from swordqiu/hotfix/qj-network-allocate-shared-ipaddr
fix: network allocation according to sharing status
2020-04-26 19:58:50 +08:00
yunion-ci-robot
95978b2f44 Merge pull request #6036 from swordqiu/hotfix/qj-proxysetting-domain-privilege
fix: proxysetting attributes should be domain-settable
2020-04-26 19:58:42 +08:00
Zexi Li
1b15eb51b2 Merge pull request #6038 from wanyaoqi/bugfix/wyq/minor-fix200426
region misc bugfix:
2020-04-26 19:57:36 +08:00
tangbin
b62727ae05 huawei elb cookie timeout fix 2020-04-26 19:53:13 +08:00
yunion-ci-robot
853d3a6a7e Merge pull request #6008 from swordqiu/hotfix/qj-get-on-premise-underlay-network
fix: GetOnPremiseNetworkOfIP should return underlay networks
2020-04-26 19:48:33 +08:00
tangbin
8618be1fd2 ctyun subnet create bugfix 2020-04-26 19:04:37 +08:00
Yousong Zhou
06ea1b1706 guestnetworks: try allocation of mapped addr on sync 2020-04-26 18:52:58 +08:00
Yousong Zhou
25d1c36932 region: vpcs_mapped_address: fix locking 2020-04-26 18:52:58 +08:00
Yousong Zhou
138b596ec4 region: vpcs_mapped_address: alloc guestnic mapped addr backwards 2020-04-26 18:52:58 +08:00
Yousong Zhou
64f269ac2f guests: simplify code 2020-04-26 18:52:58 +08:00
Yousong Zhou
0e16bf8ff4 hostman: options: pack up a Parse() func 2020-04-26 18:52:58 +08:00
Yousong Zhou
16ced399a5 vpcagent: fend off non-onecloud-vpc guest nics 2020-04-26 18:52:58 +08:00
wanyaoqi
9a7c7623cd misc bugfix:
- fix get details hosts
- save image enable generate_name
- network auto set dns
- fix servers filter by disk
2020-04-26 18:31:55 +08:00
Zexi Li
c7d5c761ac Merge pull request #6028 from ioito/bugfix/qx-openstack-sync
fix: json unmarshal
2020-04-26 18:19:00 +08:00
Qiu Jian
6faa4d91a1 make DIRECT proxysettting default share to system 2020-04-26 17:33:39 +08:00
Qiu Jian
1e81c79adf fix: proxysetting attributes should be domain-settable 2020-04-26 16:50:51 +08:00
Zexi Li
b1db63dae2 Merge pull request #6006 from swordqiu/hotfix/qj-gcp-account-project-id-name-conflict
Hotfix/qj gcp account project id name conflict
2020-04-26 16:36:03 +08:00
Qu Xuan
b48dbbc5c8 fix: json unmarshal 2020-04-26 15:50:32 +08:00
Qiu Jian
d4600430a5 fix: resolve parameter name conflict in google cloud account create
input
2020-04-26 11:42:18 +08:00
zhaoxiangchun
fc05c2d0e9 lb 负载均衡优化建议
通过判断是否包含后端服务器组和后端服务实例进行判断
2020-04-26 11:38:11 +08:00
Qiu Jian
1882232b4c fix: opslog FetchOwnerId fail 2020-04-26 11:35:59 +08:00
Qiu Jian
68c03778a2 fix: network allocation according to sharing status 2020-04-26 00:36:30 +08:00
yunion-ci-robot
74eef22025 Merge pull request #6014 from zexi/hotfix/scheduler-free-port
scheduler: fix network predicate get wrong free port
2020-04-26 00:28:32 +08:00
Zexi Li
f39c829595 scheduler: fix network predicate get wrong free port 2020-04-25 23:23:43 +08:00
Qiu Jian
2498af7c38 fix: GetOnPremiseNetworkOfIP should return underlay networks 2020-04-25 16:27:53 +08:00
Zexi Li
e7550b781d Merge pull request #6004 from swordqiu/hotfix/qj-name-validator-revisited
fix: dns name pattern revisited
2020-04-25 10:44:27 +08:00
Zexi Li
1ca876b163 Merge pull request #6007 from swordqiu/hotfix/qj-update-api-docs-url
fix: update README api docs url to v2
2020-04-25 10:42:54 +08:00
Qiu Jian
5f4f11bee4 fix: update README api docs url to v2 2020-04-24 23:33:26 +08:00
Qiu Jian
61051b843f fix: dns name pattern revisited 2020-04-24 21:52:09 +08:00
yunion-ci-robot
b75dcf6107 Merge pull request #5911 from yousong/feature/yousong-vpc-distgw
Feature/yousong vpc distgw
2020-04-24 21:08:29 +08:00
Zexi Li
0d79d42e28 Merge pull request #6002 from swordqiu/hotfix/qj-fix-document-gen-codes
fix: code autogen issues
2020-04-24 20:33:10 +08:00
Zexi Li
a725b53641 Merge pull request #5978 from rainzm/fix/auto_scaling8
Fix/Auto Scaling
2020-04-24 20:30:19 +08:00
Qiu Jian
7ab3a06b46 fix: code autogen issues 2020-04-24 20:19:43 +08:00
Rain
16226becf7 fix/autoscaling: Add 'scaling_group_id' for server-list result 2020-04-24 19:33:59 +08:00
Rain
32280e2145 fix/autoscaling: Add status 'pending_remove' for ScalingGroup_Guest
The status 'pending_remove' means that the guest described by
ScalingGroup_Guest has been pendingdeleted or deleted.
2020-04-24 19:33:46 +08:00
Yousong Zhou
f05e16bd1b hostman: let sdnagent do port cleanup
ovsutils.CleanHiddenPorts() is buggy in that it has no regards for
patch ports
2020-04-24 18:32:09 +08:00
Yousong Zhou
279e68ae09 hostman: options: add ovn_mapped_bridge 2020-04-24 18:32:09 +08:00
Yousong Zhou
5acbec4529 hostman: options: add allow_xx_vms 2020-04-24 18:32:09 +08:00
Yousong Zhou
d2c0ba4d5a vpcagent: ovn: use network.GuestDns when available 2020-04-24 18:32:09 +08:00
Yousong Zhou
05c38c8130 vpcagent: ovn: manage static routes 2020-04-24 18:32:08 +08:00
Yousong Zhou
0578d6c498 vpcagent: ovn: guestnetwork: guard against empty dhcpopt 2020-04-24 18:32:08 +08:00
Yousong Zhou
1c50ffb216 vpcagent: ovn: rename subnet, guestnetwork ovn obj names 2020-04-24 18:32:08 +08:00
Yousong Zhou
38354229b8 vpcagent: ovn: use cmp() when claimVpc 2020-04-24 18:32:08 +08:00
Yousong Zhou
d8e419cfae vpcagent: ovn: use cmp() 2020-04-24 18:32:08 +08:00
Yousong Zhou
4d3eba9bac vpcagent: add cmp() for search and pre-cleanup 2020-04-24 18:32:08 +08:00
Yousong Zhou
e6bb3397d1 vpcagent: ovn: make host ls when claimVpc 2020-04-24 18:32:08 +08:00
Yousong Zhou
e4ad3f4194 vpcagent: models: include guest, host 2020-04-24 18:32:08 +08:00
Yousong Zhou
ff2686689c guests: always include host_id in desc 2020-04-24 18:32:08 +08:00
Yousong Zhou
9990ad3bcc guestnetworks: add vpc id and mapped ip addr info to nic desc 2020-04-24 18:32:08 +08:00
Yousong Zhou
3142957f5b guestnetworks,hosts: add alloc mapped ip addr for use in onecloud vpc 2020-04-24 18:32:08 +08:00
Yousong Zhou
12639e027b apis: add ovn distgw const definitions 2020-04-24 18:32:08 +08:00
Zexi Li
fd82d1ed0f Merge pull request #5995 from yousong/bugfix/yousong-lb
lblistener: fix updating lblistener without backend_group field
2020-04-24 18:17:10 +08:00
Zexi Li
5be072b7c9 Merge pull request #5993 from yousong/bugfix/yousong-misc
cloudcommon: allow create:"domain" tag
2020-04-24 14:45:34 +08:00
Yousong Zhou
1224cd819f lblistener: fix updating lblistener without backend_group field
Fixes dd01610931 ("lblistener: allow setting http/https listener
backendgroup to empty")
2020-04-24 14:21:25 +08:00
Yousong Zhou
14389667a4 cloudcommon: allow create:"domain" tag
Fixes panic: model manager hosts: column manager_uri has invalid tag
create:"domain", expecting [required optional domain_required
domain_optional admin_required admin_optional]
2020-04-24 14:13:30 +08:00
Zexi Li
7688a13453 Merge pull request #5985 from ioito/hotfix/qx-rds-optimized
fix: 避免rds任务交叉运行
2020-04-24 14:10:48 +08:00
Qu Xuan
5754fe90c5 fix: 避免rds任务交叉运行 2020-04-24 11:27:38 +08:00
Zexi Li
69ae7cab65 Merge pull request #5971 from rainzm/fix/guest_disk
feat(region): Structured diskinfo and add 'Id', 'Name' field
2020-04-24 11:22:01 +08:00
Zexi Li
30bbae6979 Merge pull request #5982 from swordqiu/hotfix/qj-domain-resource-fields-use-domain-tags
fix: domain resources' field tags should changed to domain tags
2020-04-24 11:15:07 +08:00
Zexi Li
681cc963b2 Merge pull request #5984 from zexi/feature/climc-zsh-completion
climc: support zsh completion
2020-04-24 11:14:20 +08:00
Zexi Li
e884f4b6f0 climc: support zsh completion 2020-04-24 01:48:00 +08:00
Zexi Li
1ff15c33b9 Merge pull request #5960 from swordqiu/hotfix/qj-opslog-create-fail
Hotfix/qj opslog create fail
2020-04-24 01:37:18 +08:00
Zexi Li
0493932f94 Merge pull request #5975 from ioito/hotfix/cloud-event-filter
fix: 添加cloudevent过滤参数
2020-04-24 01:36:10 +08:00
Zexi Li
fef17c5106 Merge pull request #5979 from ioito/hotfix/qx-cloudevent-sync-optimized
fix: cloudevent使用代理优化
2020-04-24 01:35:04 +08:00
Qiu Jian
ee42b9c014 fix: domain resources' field tags should changed to domain tags 2020-04-23 22:10:22 +08:00
yunion-ci-robot
7ff622b740 Merge pull request #5973 from tb365/bugfix/tb-bugfix-0423
aliyun create elb listener fix
2020-04-23 20:23:53 +08:00
Rain
8c4b025dc3 feat(region): Structured diskinfo and add 'Id', 'Name' field 2020-04-23 18:01:30 +08:00
Qu Xuan
cea9cf95b5 fix: cloudevent使用代理优化 2020-04-23 17:52:43 +08:00
Rain
39d5603af8 fix/autoscaling: Change ScalingPolicy as VirtualResource 2020-04-23 17:23:45 +08:00
Rain
acb4d1cabe fix/autoscaling: Use UserCred's session but AdminSession to request monitor 2020-04-23 17:21:21 +08:00
Qu Xuan
a5b6e894b4 fix: 添加cloudevent过滤参数 2020-04-23 17:11:44 +08:00
tangbin
a06f7e7b50 aliyun create elb listener fix 2020-04-23 16:29:36 +08:00
yunion-ci-robot
8cbae70a50 Merge pull request #5915 from ioito/hotfix/qx-project-sync
fix: 自动创建项目
2020-04-23 13:39:51 +08:00
Qiu Jian
1b861a41f9 fix: opslog create fail 2020-04-23 11:07:05 +08:00
Zexi Li
cbf5ef8547 Merge pull request #5966 from swordqiu/feature/qj-redfish-supermicro-support
supermicro redfish support
2020-04-23 09:52:59 +08:00
Qiu Jian
98cec09a63 supermicro redfish support 2020-04-23 09:25:19 +08:00
Zexi Li
c34b27a563 Merge pull request #5928 from yousong/bugfix/yousong-lbagent
lbagent: fend off unexpected resources just in case
2020-04-23 00:06:48 +08:00
Zexi Li
4bf9112c99 Merge pull request #5958 from wanyaoqi/bugfix/wyq/fix-check-ca-cert
fix check ca cert
2020-04-23 00:05:30 +08:00
Zexi Li
7b8a098a61 Merge pull request #5944 from rainzm/fix/auto_scaling7
fix(region): Add implements about owner for ScalingPolicy and ScalingActivity
2020-04-23 00:04:07 +08:00
Zexi Li
231ffc2a6d Merge pull request #5921 from swordqiu/hotfix/qj-find-anonymous-struct-needs-pointer
fix: FindAnonymousStructPoint needs input as a pointer to struct
2020-04-23 00:02:22 +08:00
Zexi Li
f74a74c35b Merge pull request #5918 from ioito/hotfix/qx-huawei-project
fix: 修复华为云eneterprise-project-list异常问题
2020-04-23 00:01:40 +08:00
Zexi Li
e5d6479b46 Merge pull request #5919 from ioito/hotfix/qx-public-region-sync-name
fix: 非私有云同步region name
2020-04-22 23:59:29 +08:00
Zexi Li
fb0ccca7b4 Merge pull request #5956 from wanyaoqi/feature/wyq/add-sync-disk-snapshot-status
support sync disk snapshot status
2020-04-22 23:58:27 +08:00
Zexi Li
6f01d26471 Merge pull request #5931 from ioito/hotfix/qx-azure-vm-disk-sync
fix: 转换非标准存储类型到lrs
2020-04-22 23:57:08 +08:00
Zexi Li
4d95879a26 Merge pull request #5945 from tb365/bugfix/tb-bugfix-042201
huawei elb sync vpc
2020-04-22 23:55:24 +08:00
Zexi Li
a1fa14e62e Merge pull request #5961 from swordqiu/hotfix/qj-clean-validate-create-data-pending-usage
fix: clean pending usage caused by pre-validate-create-data
2020-04-22 23:54:09 +08:00
Zexi Li
53814a93cf Merge pull request #5951 from zexi/hotfix/baremetal-ipmi-reboot
baremetal: ensure power up add retries
2020-04-22 23:50:30 +08:00
Qiu Jian
2297c6e963 fix: clean pending usage caused by pre-validate-create-data 2020-04-22 23:38:08 +08:00
Zexi Li
5693ae05da baremetal: ensure power up add retries 2020-04-22 22:05:49 +08:00
wanyaoqi
cf0cf484ae fix check ca cert 2020-04-22 21:59:43 +08:00
wanyaoqi
54596fc429 support sync disk snapshot status 2020-04-22 20:53:12 +08:00
tangbin
bd0a8f709b huawei elb sync vpc 2020-04-22 20:26:55 +08:00
Rain
6e9366f569 fix(region): Add implements about owner for ScalingPolicy and ScalingActivity 2020-04-22 20:23:56 +08:00
Qiu Jian
f82543e236 fix: lb FetchCustomizedColumes fixes 2020-04-22 20:19:39 +08:00
yunion-ci-robot
5d4f7eabee Merge pull request #5927 from tb365/bugfix/tb-bugfix-0422
remove aws invalid backendgroup
2020-04-22 19:50:51 +08:00
Qu Xuan
0f2e997f6d fix: 转换非标准存储类型到lrs 2020-04-22 18:52:35 +08:00
Yousong Zhou
7f982d5b29 lbagent: fend off unexpected resources just in case
As resource we do not know whether they are bad, but surely we know
they are not what we expect
2020-04-22 18:46:18 +08:00
Qiu Jian
b7b496676e fix: is_managed filter is not accurate 2020-04-22 18:35:07 +08:00
tangbin
674764208c remove aws invalid backendgroup 2020-04-22 18:29:26 +08:00
Qiu Jian
ead8825dc2 fix: FindAnonymousStructPoint needs input as a pointer to struct 2020-04-22 18:04:04 +08:00
Qu Xuan
86087b9acb fix: 非私有云同步region name 2020-04-22 17:58:20 +08:00
Zexi Li
e55bb827a1 Merge pull request #5916 from rainzm/fix/host_tag
fix(host): No tag when tag's value is empty
2020-04-22 17:41:01 +08:00
Zexi Li
941e16659f Merge pull request #5913 from rainzm/fix/auto_scaling6
fix(region): Fix problems for Auto Scaling
2020-04-22 17:38:12 +08:00
yunion-ci-robot
0ad74a1d8f Merge pull request #5879 from wanyaoqi/feature/wyq/keystone-store-service-cert
keystone store service cert
2020-04-22 17:36:52 +08:00
Qu Xuan
4d71f7e2a3 fix: 修复华为云eneterprise-project-list异常问题 2020-04-22 16:57:22 +08:00
Rain
72716b8d5b fix(host): No tag when tag's value is empty 2020-04-22 16:46:09 +08:00
wanyaoqi
b682e1b44e keystone store service cert 2020-04-22 16:37:42 +08:00
Qu Xuan
72fb9a58d0 fix: 自动创建项目 2020-04-22 16:33:44 +08:00
Rain
4f27908fff fix(region): Fix problems for Auto Scaling
1. ScalingPolicyManager and ScalingActivityManager override ResourceScope.
2. Change 'tenant' as 'project_id' before requesting to forcast.
2020-04-22 16:30:46 +08:00
Zexi Li
087a2a1ef3 Merge pull request #5900 from ioito/hotfix/qx-google-retry
fix: 尽量避免因代理问题导致google request异常
2020-04-22 15:11:54 +08:00
Zexi Li
c45279ddd9 Merge pull request #5903 from ioito/hotfix/qx-resouce-group
fix: esxi disk project sync
2020-04-22 15:10:54 +08:00
Zexi Li
d868de668e Merge pull request #5904 from swordqiu/hotfix/qj-not-share-project-resource-by-default
fix: do not share porject resource by default
2020-04-22 15:10:25 +08:00
Zexi Li
5838b7ecc6 Merge pull request #5906 from swordqiu/hotfix/qj-blacklist-keystone-reset-admin-pass-option
fix: blacklist keystone reset admin password
2020-04-22 15:06:40 +08:00
Qiu Jian
7655f8e2a2 fix: blacklist keystone reset admin password 2020-04-22 15:00:18 +08:00
Qiu Jian
ea254c8ed8 fix: do not share porject resource by default 2020-04-22 11:50:33 +08:00
Qu Xuan
039644e89f fix: esxi disk project sync 2020-04-22 11:02:39 +08:00
Qu Xuan
f7bf34ee18 fix: 尽量避免因代理问题导致google request异常 2020-04-22 10:47:27 +08:00
Zexi Li
5256c0f5d7 Merge pull request #5890 from swordqiu/hotfix/qj-policy-details-updated-created-time
fix: policy details should carry updated_at and created_at fields
2020-04-22 10:34:20 +08:00
Zexi Li
548e36a140 Merge pull request #5895 from swordqiu/hotfix/qj-delete-idp-clean-users
fix: delete idp also delete users/groups in target domain
2020-04-22 10:33:37 +08:00
Zexi Li
a952d7f8e5 Merge pull request #5884 from ioito/hotfix/qx-external-project-sync
fix: 仅当变更domainId时才需要更新projectId
2020-04-22 10:32:17 +08:00
Zexi Li
fe68b9598f Merge pull request #5882 from swordqiu/feature/qj-climc-support-auth-by-token
feature: climc support auth by token
2020-04-22 10:31:56 +08:00
Zexi Li
931edc6e79 Merge pull request #5881 from ioito/hotfix/qx-resouce-group
Hotfix/qx resouce group
2020-04-22 10:31:40 +08:00
Qiu Jian
3118a1020f fix: delete idp also delete users/groups in target domain 2020-04-21 23:47:42 +08:00
Qiu Jian
4c313f5a26 fix: policy details should carry updated_at and created_at fields 2020-04-21 22:37:06 +08:00
Qu Xuan
1ef9a481c3 VMware resource pool同步 2020-04-21 21:17:14 +08:00
Qu Xuan
bf57b829ae fix: 仅当变更domainId时才需要更新projectId 2020-04-21 21:12:56 +08:00
Qiu Jian
7de51b9d70 feature: climc support auth by token 2020-04-21 18:37:04 +08:00
Qu Xuan
3a0b5c5e21 fix: 华为企业项目映射同步 2020-04-21 18:34:51 +08:00
Qu Xuan
f5ed692171 fix: 阿里云资源组同步 2020-04-21 16:17:40 +08:00
Zexi Li
d9575b2078 Merge pull request #5875 from swordqiu/hotfix/qj-list-item-export-recode
fix: list item export recode
2020-04-21 13:03:29 +08:00
Qiu Jian
880b0ecf4d fix: list item export recode 2020-04-21 11:45:36 +08:00
Zexi Li
3d70163ee9 Merge pull request #5873 from swordqiu/hotfix/qj-misc-bugfix-20200420
fix: cloudaccount is created as system shared by default
2020-04-21 10:27:42 +08:00
Zexi Li
6419d39f87 Merge pull request #5872 from rainzm/feat/eip_autoDellocate
feat(region): Add 'EipAutoDellocate' option when creating vm
2020-04-21 10:26:58 +08:00
Zexi Li
6578038158 Merge pull request #5877 from swordqiu/hotfix/qj-rip-gpu-adjust-scope
fix: adjust scope of isolated_device and reservedips
2020-04-21 10:24:49 +08:00
Qiu Jian
1c78817aba fix: adjust scope of isolated_device and reservedips 2020-04-21 00:36:55 +08:00
Qiu Jian
e0fc57bea1 fix: cloudaccount is created as system shared by default 2020-04-20 22:42:17 +08:00
Rain
7271544618 feat(region): Add 'EipAutoDellocate' option when creating vm
This option specify whether the eip created with vm will be released when deleting vm.
2020-04-20 21:53:26 +08:00
Zexi Li
a0f1bd0c3a Merge pull request #5856 from ioito/hotfix/qx-err-show
fix: show sql connection error
2020-04-20 20:55:13 +08:00
Zexi Li
1e78dfb21b Merge pull request #5854 from rainzm/fix/snapshotpolicy_display
fix(region): Add CustomizeListFilter for snapshotpolicy
2020-04-20 20:54:28 +08:00
Zexi Li
a63757d343 Merge pull request #5870 from rainzm/fix/auto_scaling5
fix(region): Fix problems for Auto Scaling
2020-04-20 20:53:29 +08:00
Zexi Li
4d772ef4d7 Merge pull request #5863 from zhaoxiangchun/bugfix/zxc-monitor-mail
Bugfix/zxc monitor mail
2020-04-20 20:52:56 +08:00
Zexi Li
de7c9c48a7 Merge pull request #5865 from tb365/bugfix/tb-bugfix-0420
lblis & lbbg & lbr & lbb create add fetch owner id
2020-04-20 20:50:47 +08:00
zhaoxiangchun
6c3daec4ce 优化邮件格式
1.邮件主题中的报警级别和web页面进行对应
2.向onecloud发送邮件时,通过html/template进行格式化
2020-04-20 20:34:52 +08:00
Rain
7d52e5de80 fix(region): Fix problems for Auto Scaling
1. 支持 scaling group 根据 enable 过滤
2. 周期策略返回开始时间
3. scaling controller 在创建机器之前先调用 scheduler 的 forcast 接口
4. 修复健康状态检查的一个问题
2020-04-20 19:31:43 +08:00
tangbin
c977fd02ce lblis & lbbg & lbr & lbb create add fetch owner id 2020-04-20 18:51:05 +08:00
Rain
a9b7ca5202 fix(region): Add CustomizeListFilter for snapshotpolicy 2020-04-20 17:33:40 +08:00
Qu Xuan
9cb2727bf1 fix: show sql connection error 2020-04-20 16:47:36 +08:00
Zexi Li
76ee769eaf Merge pull request #5852 from rainzm/fix/auto_scaling4
fix(region): Fix some problem for Auto Scaling
2020-04-18 16:28:22 +08:00
Zexi Li
b48ee44462 Merge pull request #5850 from swordqiu/hotfix/qj-project-domain-name-revisit
fix: allow any character in project/domain name, giveup displayname
2020-04-18 16:27:35 +08:00
Qiu Jian
eef113b927 fix: allow any character in project/domain name, giveup displayname 2020-04-18 15:33:53 +08:00
Rain
03868d28b5 fix(region): Fix some problem for Auto Scaling
1. 主机组的 vpc 和 backendgroup 可以为空,修复了使用 brand
过滤出现的问题
2. ScalingPolicy 的执行,区分手动和非手动
3. 拒绝执行或者执行失败的 ScalingAvtivity 不刷新冷却时间
4. 告警策略增加 Cycle 的检查和默认值
5. 修复 monitor 的一个数组越界问题
2020-04-18 14:13:43 +08:00
Zexi Li
d4f2639eff Merge pull request #5845 from swordqiu/hotfix/qj-cloud-provider-sync-region-nopanic
fix: cloudproviderregion sync ignore panic
2020-04-18 12:01:36 +08:00
Zexi Li
bcb6ff032f Merge pull request #5844 from rainzm/fix/vmware_template
feat(esxi): Set MinRawSize as 0 for vmware template
2020-04-18 12:00:58 +08:00
Zexi Li
4830476680 Merge pull request #5840 from tb365/bugfix/tb-bugfix-0417
Bugfix/tb bugfix 0417
2020-04-18 11:59:24 +08:00
yunion-ci-robot
579ae25a38 Merge pull request #5839 from swordqiu/hotfix/qj-proxy-seting-minor-fix
fix: proxy setting input minor bugfix
2020-04-17 22:25:03 +08:00
Qiu Jian
242d59d7f5 fix: cloudproviderregion sync ignore panic 2020-04-17 21:59:43 +08:00
Rain
d73654aec3 feat(esxi): Set MinRawSize as 0 for vmware template 2020-04-17 20:47:55 +08:00
TangBin
3314b22390 huawei oss client bugfix 2020-04-17 20:33:21 +08:00
TangBin
b17fb2c94c huawei oss client fix & huawei client init fix 2020-04-17 19:50:46 +08:00
tangbin
ab59e425df aws elb create bugfix 2020-04-17 18:05:10 +08:00
Qiu Jian
2e45711ce2 fix: proxy setting input minor bugfix 2020-04-17 11:15:53 +08:00
Zexi Li
729f8f175f Merge pull request #5838 from swordqiu/hotfix/qj-decouple-climc-webconsole
fix: decouple climc and webconsole, make climc windows buildable
2020-04-17 10:28:35 +08:00
Qiu Jian
7eae94d0c1 fix: decouple climc and webconsole, make climc windows buildable 2020-04-17 01:15:29 +08:00
Zexi Li
470f7a3750 Merge pull request #5815 from ioito/hotfix/qx-cloudprovider-quota-details
fix: 订阅配额详情返回
2020-04-17 00:07:40 +08:00
Zexi Li
8f97c68063 Merge pull request #5832 from yousong/bugfix/yousong-vpcagent
cloudcommon: resourcebase: allow list fields "deleted"
2020-04-17 00:07:08 +08:00
Zexi Li
5212241fa3 Merge pull request #5817 from swordqiu/hotfix/qj-remove-notify-verify-email-url-path
fix: remove notify option VerifyEmailUrlPath
2020-04-17 00:06:43 +08:00
Zexi Li
adae2b8fe0 Merge pull request #5823 from ioito/hotfix/qx-rds-zone
fix: 添加rds zone name详情
2020-04-17 00:06:26 +08:00
Zexi Li
5a658a9bb8 Merge pull request #5818 from swordqiu/hotfix/qj-non-redfish-jnlp-console
fix: non-redfish baremetal might support jnlp console
2020-04-17 00:04:31 +08:00
Zexi Li
ce0e4ce0c6 Merge pull request #5825 from ioito/hotfix/qx-secgroup-dup-name
fix: 尽量避免secgroup重名问题
2020-04-17 00:02:25 +08:00
Zexi Li
743529edf9 Merge pull request #5831 from zhaoxiangchun/bugfix/zxc-mon-azure
修复azure获取不到监控数据的问题
2020-04-17 00:00:45 +08:00
Zexi Li
a533f0c1f9 Merge pull request #5836 from swordqiu/hotfix/qj-cas-project-name-regexp-issue
fix: cas auto create project fetch failure
2020-04-16 23:59:33 +08:00
Zexi Li
bafda507dd Merge pull request #5791 from swordqiu/hotfix/qj-server-list-provider-filter
Hotfix/qj server list provider filter
2020-04-16 23:58:53 +08:00
Qiu Jian
98fcd1df0f fix: deprecated-by => yunion:deprecated-by 2020-04-16 23:24:56 +08:00
Qiu Jian
5651805eb0 update vendor 2020-04-16 23:23:55 +08:00
Qiu Jian
cdd239eab5 fix: server-list filter by provider VMware returns no results and update
vendor
2020-04-16 23:23:24 +08:00
yunion-ci-robot
d0bf11a345 Merge pull request #5811 from yousong/bugfix/yousong-lbagent
region: lbagents: default to using public type endpoint of influxdb
2020-04-16 23:21:04 +08:00
Qiu Jian
d5b3ae9f98 fix: cas auto create project fetch failure 2020-04-16 22:19:10 +08:00
Yousong Zhou
fed8b386b8 cloudcommon: resourcebase: allow list fields "deleted"
Required for deriving deleted event

Fixes 3c9b368c43 ("feature: fix region list filters round 3")
2020-04-16 19:50:57 +08:00
zhaoxiangchun
8fe0865719 修复azure获取不到监控数据的问题 2020-04-16 18:47:48 +08:00
Zexi Li
b62f6feb74 Merge pull request #5805 from ioito/hotfix/qx-rds-sku-list-optimized
fix: 优化rds sku list查询速度
2020-04-16 18:01:05 +08:00
Zexi Li
8628c4113c Merge pull request #5711 from zhaoxiangchun/feature/zxc-suggest-mon
优化建议
2020-04-16 17:58:09 +08:00
Zexi Li
b16d545e84 Merge pull request #5824 from zexi/feature/add-swagger-site
makefile: add swagger-site
2020-04-16 16:41:30 +08:00
Qu Xuan
466e8ff8d7 fix: 尽量避免secgroup重名问题 2020-04-16 16:39:20 +08:00
Zexi Li
a7b7a97aac makefile: add swagger-site 2020-04-16 16:38:11 +08:00
zhaoxiangchun
89640938f0 新加diskunused的监控
1.suggestsys_const.go 中定义规则和资源列表中涉及到一些常量
2.suggestsysalart.go 1)新增一些列来匹配重用过滤;2)
进行删除相关操作时,通过task处理;
3.driverconfig.go 中包含目前driver中可以共用的函数
4.suggestsysruledrivers.go 调整driver interface 涉及的函数
2020-04-16 16:37:46 +08:00
Qu Xuan
db12cd0c3e fix: 添加rds zone name详情 2020-04-16 16:12:27 +08:00
Qiu Jian
309addc00a fix: non-redfish baremetal might support jnlp console 2020-04-15 23:35:12 +08:00
Qiu Jian
068ea26c8d fix: remove notify option VerifyEmailUrlPath 2020-04-15 23:02:59 +08:00
yunion-ci-robot
1284538005 Merge pull request #5804 from ioito/bugfix/qx-capability-storage-vcapability
fix: 修复vcapability计算错误
2020-04-15 20:33:01 +08:00
yunion-ci-robot
f7235c3316 Merge pull request #5810 from ioito/hotfix/qx-doc-joint-filter
fix: api文档描述更正
2020-04-15 20:26:02 +08:00
yunion-ci-robot
886b903407 Merge pull request #5816 from ioito/bugfix/qx-guest-auto-renew
fix: 设置自动续费任务异常
2020-04-15 20:21:57 +08:00
Qu Xuan
4cb3381c04 fix: 设置自动续费任务异常 2020-04-15 20:04:00 +08:00
Qu Xuan
bb87ac5771 fix: 订阅配额详情返回 2020-04-15 19:45:57 +08:00
yunion-ci-robot
16d179240d Merge pull request #5814 from tb365/feature/tb-add-host-node-sum-api
hosts add node count api
2020-04-15 19:24:54 +08:00
tangbin
673364ae48 hosts add node count api 2020-04-15 18:19:00 +08:00
Qu Xuan
cf533816b9 fix: 优化rds sku list查询速度 2020-04-15 18:01:18 +08:00
Yousong Zhou
6b0a97c6fb region: buckets: use identity_apis.EndpointInterfacePublic 2020-04-15 17:59:11 +08:00
Yousong Zhou
59b143f905 image: use identity_apis.EndpointInterfacePublic 2020-04-15 17:59:11 +08:00
Yousong Zhou
babb7ae742 region: lbagents: default to using public type endpoint of influxdb 2020-04-15 17:59:11 +08:00
Qu Xuan
345b8f3f9d fix: api文档描述更正 2020-04-15 17:35:08 +08:00
Qu Xuan
f0960b4b35 fix: 修复vcapability计算错误 2020-04-15 17:05:31 +08:00
yunion-ci-robot
78e24ccd25 Merge pull request #5799 from rainzm/fix/auto_scaling3
Fix & Feature: Auto Scaling
2020-04-15 11:02:54 +08:00
Zexi Li
54fb6fabc0 Merge pull request #5800 from swordqiu/hotfix/qj-share-misc-bugfixes-20200414
fix: misc bugs about resource sharing
2020-04-15 10:34:59 +08:00
Zexi Li
dee12f94be Merge pull request #5794 from rainzm/fix/disk_snapshotpolicies
fix(region): Fix the snapshotpolicy info in DiskDetails
2020-04-14 22:41:21 +08:00
Zexi Li
6ec5d96d8b Merge pull request #5798 from zexi/feature/k8s-3.2-cli
climc: support k8s service v3.2
2020-04-14 22:40:42 +08:00
Qiu Jian
021ef662bb fix: misc bugs about resource sharing 2020-04-14 22:23:23 +08:00
Rain
b75b636901 feat: Add tag 'vm_scaling_group_id' for vm's monitor record 2020-04-14 20:51:03 +08:00
Rain
fbfff507dd fix(region): Fix problems of AutoScaling
1. Add List dispaly Params 'brand' and List filter Params 'brand' for
GuestTemplate and ScalingGroup.
2. ScalingActivity's list elem should be sorted in order by StartTime and EndTime
3. HealthCheckCycle and HealthCheckGov in ScalingGroup work now
4. Detach all ScalingGroup when pending delete Guest
5. If the scaling behavior of the scaling group fails n(n is 3 for now) times consecutively,
the controller will automatically disablet this group
6. Timer will trigger ScalingPolicy throught request but func call
2020-04-14 20:50:07 +08:00
Zexi Li
0b62292cd4 climc: support k8s service v3.2 2020-04-14 17:26:29 +08:00
Rain
de329f4a80 fix(region): Fix the snapshotpolicy info in DiskDetails 2020-04-14 15:38:08 +08:00
zhaoxiangchun
a42e9c9462 优化建议功能-未使用的eip
1.通过cronman 调用eipUnused相关的driver,查询未使用的eip
2.依据对步骤1中的中的数据,对资源列表就行create、update、delete进行三种类型的操作

deal with comments

gencopyright

climc for SuggestSysRule and SuggestSysAlert

monitor: fix sysrule related models not generated

eip未使用的监控参数结构调整
2020-04-14 15:37:01 +08:00
Zexi Li
9ff7f481b7 Merge pull request #5793 from swordqiu/feature/qj-cas-user-join-project-revisited
feature: cas user auto join designated project
2020-04-14 15:14:19 +08:00
Qiu Jian
57898da085 fixes: idp driver validate config support 2020-04-14 14:51:28 +08:00
Qiu Jian
9c498b2924 feature: cas user auto join designated project 2020-04-14 11:04:47 +08:00
Zexi Li
dd1149ded3 Merge pull request #5789 from yousong/bugfix/yousong-proxysetting
proxysetting: fix validating delete condition
2020-04-14 10:45:38 +08:00
Zexi Li
65553b03d3 Merge pull request #5785 from ioito/hotfix/qx-aliyun-err-optimized
fix: 避免aliyun access key不可用时返回NotFoundError错误
2020-04-14 10:44:50 +08:00
Zexi Li
a93b52d86f Merge pull request #5792 from swordqiu/feature/qj-cas-user-join-project
feature: cas user auto join designated project
2020-04-14 10:44:07 +08:00
Qiu Jian
8300ac3c08 feature: cas user auto join designated project 2020-04-14 08:27:00 +08:00
Qu Xuan
18106dce3a fix: 避免aliyun access key不可用时返回NotFoundError错误 2020-04-13 18:47:30 +08:00
Yousong Zhou
51d633c956 proxysetting: fix validating delete condition 2020-04-13 16:29:12 +08:00
Zexi Li
266a3bd043 Merge pull request #5757 from swordqiu/hotfix/qj-sync-resource-share-state
fix: sync resource's share state
2020-04-13 15:44:57 +08:00
yunion-ci-robot
991dc11a56 Merge pull request #5756 from swordqiu/hotfix/qj-proxy-setting-fixes
fix: 1. allow share proxysetting 2. claim proxsetting as domain resource
2020-04-13 15:33:52 +08:00
Qiu Jian
0a9eb7bdbe fix: 1. allow share proxysetting 2. claim proxsetting as domain resources 2020-04-13 15:13:15 +08:00
Zexi Li
ed3a51084d Merge pull request #5769 from wanyaoqi/bugfix/wyq/fix-generate-network-config
fix host init generate network config
2020-04-13 11:28:43 +08:00
Zexi Li
a3f3a43a81 Merge pull request #5759 from tb365/bugfix/tb-bugfix-0409
aws elb bugfix
2020-04-13 11:27:18 +08:00
Zexi Li
7523c7445c Merge pull request #5784 from rainzm/fix/auto_scaling2
fix: Fix problems about health check in auto scaling
2020-04-13 11:18:40 +08:00
Zexi Li
7a4da75323 Merge pull request #5773 from rainzm/feat/send_feishu
feat(notify): Add TNotifyChannel 'feishu'
2020-04-13 11:18:16 +08:00
Rain
1266fb5a16 fix: Fix problems about health check in auto scaling
1. Detach Guest with ScalingGroup
2. Health Check
2020-04-13 10:35:56 +08:00
tangbin
5faf0b53ac aws elb bugfix 2020-04-13 10:25:14 +08:00
Zexi Li
3da821172e Merge pull request #5749 from ioito/feautre/qx-policy
fix: support azure policy
2020-04-13 09:50:13 +08:00
Zexi Li
961ce14436 Merge pull request #5758 from ioito/hotfix/qx-network-delete-optimized
fix: 允许删除有预留ip的network
2020-04-13 09:49:59 +08:00
Zexi Li
5c77d047a2 Merge pull request #5780 from swordqiu/hotfix/qj-host-jnlp-request
fix: host jnlp request fail for idrac9
2020-04-13 09:49:01 +08:00
Qiu Jian
c8ff16471d fix: host jnlp request fail for idrac9 2020-04-12 23:17:59 +08:00
yunion-ci-robot
e0b9daa51a Merge pull request #5774 from ioito/hotfix/qx-azure-rebuild-root
fix: azure重装系统删除不必要的参数
2020-04-12 00:32:45 +08:00
Qu Xuan
3ebcee07eb fix: 允许删除有预留ip的network 2020-04-11 15:49:27 +08:00
Qu Xuan
c6a474e036 fix: support azure policy 2020-04-11 15:43:06 +08:00
Qu Xuan
9aec3a2769 fix: azure重装系统删除不必要的参数 2020-04-11 15:08:45 +08:00
Zexi Li
ae05100dd9 Merge pull request #5745 from swordqiu/feature/qj-idrac9-support
feature: redfish support IDRAC9 baremetal
2020-04-11 13:12:01 +08:00
Zexi Li
379cf65e89 Merge pull request #5746 from yousong/bugfix/yousong-proxysetting
proxysetting: add class level test action
2020-04-11 13:07:02 +08:00
Zexi Li
4945867f6c Merge pull request #5765 from yousong/bugfix/yousong-lbagent
region: lbagent: vrrp.advert_int must be the same inside cluster
2020-04-11 13:04:25 +08:00
Qiu Jian
f6f1917e1f feature: redfish support IDRAC9 baremetal 2020-04-11 12:59:55 +08:00
Qiu Jian
b9a239bd65 fix: sync sharing state 2020-04-11 06:50:48 +08:00
Qiu Jian
7bfdc0dce4 fix: cascading sharing problems 2020-04-11 06:49:55 +08:00
Qiu Jian
8e0bfac771 Makefile do not complain describe no tags 2020-04-11 06:49:13 +08:00
Qiu Jian
60a3de9d73 feature: make bucket sharable virtual resource 2020-04-11 06:49:13 +08:00
Qiu Jian
7a6cdc6e02 fix: sync resource's share state 2020-04-11 06:49:13 +08:00
Rain
2a72f35138 feat(notify): Add TNotifyChannel 'feishu' 2020-04-10 20:14:48 +08:00
Zexi Li
524ccc5c5f Merge pull request #5772 from swordqiu/hotfix/qj-conflict-username-error
fix: keystone username duplicate error should return 409
2020-04-10 17:46:13 +08:00
Zexi Li
22a8e3065c Merge pull request #5722 from ioito/hotfix/qx-metadata-deleted-count
fix: 不再统计已删除资源的标签数量
2020-04-10 17:45:43 +08:00
Yousong Zhou
74ceaa70e4 region: lbagent: vrrp.advert_int must be the same inside cluster 2020-04-10 15:53:19 +08:00
Qiu Jian
2eb748fb02 fix: keystone username duplicate error should return 409 2020-04-10 15:51:24 +08:00
wanyaoqi
df7c2ae84e fix host init generate network config 2020-04-10 15:48:26 +08:00
Zexi Li
14accd7731 Merge pull request #5764 from zexi/hotfix/swagger-for-monitor
codegen: add monitor
2020-04-10 15:48:00 +08:00
Zexi Li
b4ebd80d4c codegen: add monitor 2020-04-10 15:45:30 +08:00
Zexi Li
4c85b2e77e Merge pull request #5748 from ioito/hotfix/qx-storage-list
fix: storage-list 返回关联的host信息
2020-04-10 14:10:29 +08:00
Zexi Li
a850d070d5 Merge pull request #5750 from ioito/hotfix/qx-region-capability-optimized
fix: 优化region-capability速度
2020-04-10 14:09:53 +08:00
Zexi Li
204dbcad10 Merge pull request #5752 from rainzm/fix/auto_scaling1
fix(region): Fix some problem about auto scaling
2020-04-10 14:05:49 +08:00
yunion-ci-robot
2f993f664f Merge pull request #5760 from wanyaoqi/bugfix/wyq/is-public-add-create-optional-tah
is public add create optional tag
2020-04-10 14:01:42 +08:00
wanyaoqi
3c588b8be5 is public add create optional tag 2020-04-10 13:45:07 +08:00
yunion-ci-robot
e05e167e9d Merge pull request #5751 from rainzm/fix/guest_image
fix(glance): Fix the return value after creating guest image
2020-04-10 11:44:41 +08:00
Qu Xuan
9c5b27ce45 fix: 优化region-capability速度 2020-04-10 11:05:08 +08:00
yunion-ci-robot
bdb2705ea6 Merge pull request #5740 from yousong/bugfix/yousong-misc
region: lbagents: fix returning error when glob has no match
2020-04-10 09:51:41 +08:00
Rain
45865571c9 fix(region): Fix some problem about auto scaling
1. Add status 'creating' for ScalingPolicy.
2. Do nothing when call ScalingGroup.Scale when ScalingGroup is disable.
3. Change the obj about GuestDetachScalingGroupTask from Guest to
ScalingGroup.
4. Fix some problem about ScalingTimer and add test for its Update func.
5. Fix problem when ScalingTimer work in controller.
2020-04-09 21:43:21 +08:00
Rain
99bb00948b fix(glance): Fix the return value after creating guest image 2020-04-09 21:10:59 +08:00
Yousong Zhou
80f2fb3f99 proxysetting: add class level test action 2020-04-09 17:33:24 +08:00
Qu Xuan
de48dfd6c1 fix: storage-list 返回关联的host信息 2020-04-09 16:23:01 +08:00
yunion-ci-robot
de4ef97fd6 Merge pull request #5744 from ioito/hotfix/qx-capabilit-optimized
fix: 简化公有云存储信息返回
2020-04-09 14:51:43 +08:00
Qu Xuan
e7ef75bb5d fix: 简化公有云存储信息返回 2020-04-09 11:30:52 +08:00
Yousong Zhou
20e9b050bf region: lbagents: fix returning error when glob has no match 2020-04-09 11:06:11 +08:00
yunion-ci-robot
81fcf57570 Merge pull request #5720 from rainzm/fix/display_server_template
fix(region): Fix some display params about guest template
2020-04-09 10:56:41 +08:00
Zexi Li
a232321c18 Merge pull request #5729 from ioito/hotfix/qx-typo
fix: typo
2020-04-09 10:21:20 +08:00
Zexi Li
1b89dc07a4 Merge pull request #5739 from wanyaoqi/bugfix/wyq/fix-deployer-sigtrap-function
deployer: os.exit replace return on sigtrap
2020-04-09 10:21:02 +08:00
Zexi Li
fbdafd4ae2 Merge pull request #5737 from rainzm/fix/auto_scaling
fix(region): Fix problems about Auto Scaling
2020-04-09 10:20:20 +08:00
wanyaoqi
92940dae11 os.exit replace return on sigtrap 2020-04-08 23:01:54 +08:00
yunion-ci-robot
b3eb5fdb5c Merge pull request #5738 from wanyaoqi/bugfix/wyq/fix-deployer-sigtrap-function
fix deployer sigtrap funciton
2020-04-08 22:16:40 +08:00
Rain
e0cc7bf04f fix(region): Check and update ScalingActivities when controller init 2020-04-08 22:11:34 +08:00
wanyaoqi
a20daa1c11 fix deployer sigtrap funciton 2020-04-08 22:05:57 +08:00
Zexi Li
5c156297c7 Merge pull request #5726 from tb365/bugfix/tb-bugfix-0408
huawei&qcloud&huawei elb bugfix
2020-04-08 21:53:39 +08:00
Zexi Li
19c72ec786 Merge pull request #5731 from wanyaoqi/feature/wyq/optimize-capabilities
optimize capabilities
2020-04-08 21:52:34 +08:00
Zexi Li
b274871f7c Merge pull request #5733 from swordqiu/hotfix/qj-idp-log-event
fix: idp log connected/disconnected event
2020-04-08 21:51:36 +08:00
Zexi Li
62d1c0729b Merge pull request #5732 from swordqiu/hotfix/qj-service-config-show-self-config
fix: service-config-show shows service's own config
2020-04-08 21:49:06 +08:00
Rain
09797e3abe fix(region): Fix problems about Auto Scaling
1. Alarm 的创建统一使用 AdminSession
2. ScalingTimer 的更新有些问题
3. 创建的主机名称不应该包含大写字母
4. ScalingTimer 的描述有些问题
5. 绑定LB的时候少传递了一个参数
2020-04-08 21:47:56 +08:00
Qiu Jian
528decfa90 fix: idp log connected/disconnected event 2020-04-08 21:23:55 +08:00
Qiu Jian
1a9c0efc2d fix: service-config-show shows service's own config 2020-04-08 20:39:25 +08:00
wanyaoqi
d80f0baf04 optimize capabilities 2020-04-08 20:30:03 +08:00
Qu Xuan
fe5f3a0ed5 fix: typo 2020-04-08 20:12:21 +08:00
Zexi Li
3860e635e6 Merge pull request #5723 from swordqiu/hotfix/qj-list-details-missing-shared-attributes
fix: shared resource list details missing shared projects/domains attributes
2020-04-08 19:46:19 +08:00
Zexi Li
0b6eda9bb1 Merge pull request #5724 from yousong/bugfix/yousong-misc
db_dispatcher: default action log for create & update
2020-04-08 19:45:21 +08:00
Zexi Li
e012f21d00 Merge pull request #5721 from swordqiu/hotfix/qj-update-model-api-gen-20200408
model api gen
2020-04-08 19:44:14 +08:00
tangbin
0c0980d3f9 huawei&qcloud&huawei elb bugfix 2020-04-08 19:32:51 +08:00
Yousong Zhou
2bc16d6f05 climc: networks: remove stale dns related commands 2020-04-08 18:04:57 +08:00
Qiu Jian
fbf9d635c7 fix: shared resource list details missing shared projects/domains
attributes
2020-04-08 18:02:27 +08:00
Yousong Zhou
a10443975a climc: fix router-route-xx command description 2020-04-08 18:02:00 +08:00
Yousong Zhou
cd17d74933 climc: add command proxysetting-test 2020-04-08 18:00:39 +08:00
Yousong Zhou
805b1e189f proxysetting: add test api 2020-04-08 18:00:37 +08:00
Yousong Zhou
d2aae60bd1 apis: proxy: fix sanitizing empty proxy string 2020-04-08 17:08:27 +08:00
Yousong Zhou
2afb0f1854 climc: proxysetting-update: fix update option 2020-04-08 17:05:10 +08:00
Yousong Zhou
884a052070 db_dispatcher: default action log for create & update 2020-04-08 17:00:28 +08:00
Qiu Jian
88e3bb6e87 model api gen 2020-04-08 16:44:02 +08:00
Yousong Zhou
7366815163 lbagents: deploy: deploy public type auth_url 2020-04-08 16:36:02 +08:00
Qu Xuan
86383b5a5d fix: 不再统计已删除资源的标签数量 2020-04-08 16:28:16 +08:00
Rain
cbe9f84b6b fix(region): Fix some display params about guest template
1. GuestTemplate's brand is from its hypervisor.
2. GuestTemplate's secgroups is a array which from input.secgroups.
2020-04-08 14:54:07 +08:00
Zexi Li
8b9688a711 Merge pull request #5718 from swordqiu/hotfix/qj-role-policy-filter-by-owner-missing
fix: role/policy missing FilterByOwner implementation
2020-04-08 12:12:13 +08:00
Qiu Jian
4a3749d3f9 fix: role/policy missing FilterByOwner implementation 2020-04-08 02:32:05 +08:00
Zexi Li
b4aa398cf6 Merge pull request #5714 from swordqiu/hotfix/qj-decouple-apigateway-userinfo-from-capabilities
fix: decouple getUserInfo at apigateway from capabilities call
2020-04-08 02:25:49 +08:00
Qiu Jian
f11a978209 fix: decouple getUserInfo at apigateway from capabilities call 2020-04-08 00:02:14 +08:00
Zexi Li
ec21477786 Merge pull request #5710 from yousong/bugfix/yousong-build
build: fix "mod" target on darwin
2020-04-07 21:47:28 +08:00
Zexi Li
e6b9eaea79 Merge pull request #5709 from swordqiu/feature/qj-change-owner-candiate-domains
feature: add API to retrieve resource's change owner candidate domains
2020-04-07 21:46:50 +08:00
Zexi Li
7df56bade8 Merge pull request #5713 from swordqiu/hotfix/qj-parameter-duplicate-error
fix: 1. parameter duplicate error due to missing name filter 2.infras_quota setKeys error
2020-04-07 21:46:23 +08:00
Qiu Jian
8fad5086f0 fix: 1. parameter duplicate error due to missing name filter 2.
infras_quota setKeys error
2020-04-07 20:54:18 +08:00
Yousong Zhou
81334744e8 build: fix "mod" target on darwin
We do not need to build and install binaries when updating modules

	go get: cannot install cross-compiled binaries when GOBIN is set
2020-04-07 18:29:50 +08:00
Qiu Jian
d99c4776e9 feature: add API to retrieve resource's change owner candidate domains 2020-04-07 16:22:51 +08:00
Zexi Li
9472050e20 Merge pull request #5708 from swordqiu/hotfix/qj-is-domain-field-default-value-not-consistent
fix: default value of is_domain field is not consistent between projects and domains
2020-04-07 14:34:04 +08:00
Qiu Jian
c758167e86 fix: default value of is_domain field is not consistent between
projects and domains
2020-04-07 14:14:54 +08:00
Zexi Li
dd0a52a696 Merge pull request #5698 from swordqiu/hotfix/qj-service-config-change-not-effective
fix: service config changes not effective
2020-04-07 10:38:04 +08:00
Zexi Li
ea629a53ae Merge pull request #5702 from swordqiu/hotfix/qj-remove-obsolete-policy-definitons
fix: remove obsolete policy definitions
2020-04-07 10:37:58 +08:00
Zexi Li
6b32911980 Merge pull request #5703 from swordqiu/hotfix/qj-domain-resource-usage
fix: add domain-level compute resource usage
2020-04-07 10:37:52 +08:00
Zexi Li
879e0229e9 Merge pull request #5704 from wanyaoqi/bugfix/wyq/fix-migrate-cache-cdrom
fix migrate cache cdrom
2020-04-07 10:37:04 +08:00
wanyaoqi
d44fa08ac3 fix migrate cache cdrom 2020-04-06 23:15:12 +08:00
Qiu Jian
5536dda530 fix: add domain-level compute resource usage 2020-04-06 18:07:14 +08:00
Qiu Jian
cada2d607c fix: remove obsolete policy definitions 2020-04-06 16:37:38 +08:00
Qiu Jian
adeda57082 fix: service config changes not effective 2020-04-06 15:43:29 +08:00
Zexi Li
1f1e6240f9 Merge pull request #5666 from rainzm/feature/auto_scaling
Feature/auto scaling
2020-04-05 13:54:11 +08:00
Zexi Li
c3ecbe04b6 Merge pull request #5694 from swordqiu/hotfix/qj-usage-misc-bugfix-20200404
fix: misc bugs in usage data
2020-04-05 13:51:45 +08:00
Qiu Jian
9b0e464c1f fix: misc bugs in usage data 2020-04-04 23:11:09 +08:00
Rain
d595a6a61f fix: fix based on reviewer's and tester's suggestions
1. ScalingPolicy's CoolingTime will limit ScalingPolicy with 'alarm' TriggerType
2. Health Check will remove instance that has been shut down for 3 minutes.
3. If TargetNumer > SG.MaxInstanceNumber or TargetNumber < SG.MinInstanceNumber,
ScalingActivity's status will be set to 'part_success'.
4. When you want to increase the DesireInstanceNumber that has reached the maximum value,
or decrease the this that has reached the minimum value, the ScalingActivity is rejected.
5. ScalingPolicy.PostCreate and PostDelete asynchronous execution.
2020-04-04 21:45:12 +08:00
Rain
d1c92c689a fix: fmt's format string 2020-04-04 21:10:57 +08:00
Rain
7eb38704d1 feature: Add instance health check 2020-04-04 21:10:57 +08:00
Rain
6d77bb11f6 update generated model 2020-04-04 21:10:57 +08:00
Rain
690fb0c95d Add copyright and format code 2020-04-04 21:10:57 +08:00
Rain
b9ed3c1bc2 feature: scaling_group support alert 2020-04-04 21:10:51 +08:00
Rain
01999fafa0 update generated model for compute 2020-04-04 21:03:36 +08:00
Rain
f0a8d60dbd feature: autoscaling controller finished 2020-04-04 21:03:28 +08:00
Zexi Li
c776ec6907 Merge pull request #5691 from rainzm/fix/esxi-cache-image
fix(region): Fix some question of CheckAndSetCacheImage.
2020-04-03 19:45:36 +08:00
Zexi Li
9e9dcac496 Merge pull request #5684 from swordqiu/feature/qj-domain-level-quotas
feature: domain resource quota
2020-04-03 19:44:56 +08:00
Zexi Li
4777636133 Merge pull request #5686 from ioito/hotfix/qx-rebuild-root-fix
fix: 修复重装系统时未能更换指定image问题
2020-04-03 19:43:11 +08:00
Zexi Li
b838aafef5 Merge pull request #5671 from ioito/hotfix/qx-huawei-rds-fix
fix: 华为云rds使用自身的存储类型
2020-04-03 19:41:33 +08:00
Zexi Li
4c381c2130 Merge pull request #5586 from wanyaoqi/feature/wyq/esxi2kvm-migration
feature: copy esxi guest to kvm
2020-04-03 19:41:03 +08:00
Rain
3e10786e0c fix(esxi): Fix some question of CheckAndSetCacheImage.
1. If there is storagecachedimage in this host's storagecache, use is
instead of another host's one.
2. SrcStorage should be found from srcHost instead host.
2020-04-03 14:30:31 +08:00
Zexi Li
86addd6e59 Merge pull request #5685 from swordqiu/feature/qj-idp-config-update
feature: identity provider improvements
2020-04-03 11:38:52 +08:00
Zexi Li
b6ae386c2f Merge pull request #5682 from ioito/hotfix/qx-zone-info
fix: typo
2020-04-03 11:36:05 +08:00
Qu Xuan
93ffbd47d9 fix: 修复重装系统时未能更换指定image问题 2020-04-03 11:31:06 +08:00
Qiu Jian
d1346771aa feature: domain resource quota 2020-04-03 02:03:55 +08:00
Qiu Jian
c1c9aa300d feature: identity provider improvements 2020-04-03 01:54:07 +08:00
Rain
e8eadc24ce feature: Controller and some api 2020-04-02 20:42:47 +08:00
Qu Xuan
cc28924fb5 fix: typo 2020-04-02 20:21:23 +08:00
Zexi Li
193d014034 Merge pull request #5676 from wanyaoqi/feature/wyq/host-set-hostname
host do not set hostname
2020-04-02 19:06:53 +08:00
yunion-ci-robot
1b333cd3e2 Merge pull request #5679 from ioito/hotfix/qx-typo
fix: typo
2020-04-02 18:54:51 +08:00
yunion-ci-robot
796ca2db8e Merge pull request #5667 from ioito/hotfix/qx-qcloud-sdk
fix: 修复更新qcloud sdk引出的不兼容问题
2020-04-02 18:51:50 +08:00
Qu Xuan
92604fca04 fix: typo 2020-04-02 18:25:23 +08:00
wanyaoqi
cf58fefea1 host do not set hostname 2020-04-02 18:09:55 +08:00
yunion-ci-robot
66de34794a Merge pull request #5669 from zexi/hotfix/k8s-remove-registrysecret
climc: k8s remove registrysecret create command
2020-04-02 18:07:50 +08:00
wanyaoqi
cc3a2da1a8 fix host-deployer base 2020-04-02 18:02:32 +08:00
wanyaoqi
92e88f2a97 - copy esxi guest to kvm 2020-04-02 17:56:50 +08:00
Qu Xuan
9e1693e443 fix: 华为云rds使用自身的存储类型 2020-04-02 17:28:22 +08:00
Zexi Li
5c55c98021 climc: k8s remove registrysecret create command 2020-04-02 16:29:29 +08:00
Qu Xuan
16b4ed0bda fix: 修复更新qcloud sdk引出的不兼容问题 2020-04-02 15:56:16 +08:00
Rain
a776f21762 feat(scaling): Auto scaling group 2020-04-02 14:57:37 +08:00
Zexi Li
8adc5ed0d9 Merge pull request #5631 from tb365/bugfix/tb-bugfix-0331
elb bugfix
2020-04-02 12:47:11 +08:00
Zexi Li
1a6d5975f8 Merge pull request #5662 from swordqiu/hotfix/qj-disk-nics-usage-exclude-pending-delete
fix: disk/nics usage should exclude those pending_deleted
2020-04-02 12:45:27 +08:00
Zexi Li
0fc5cd5a84 Merge pull request #5658 from swordqiu/feature/qj-keystone-too-many-failed-attempts
feature: keystone lock user returns ErrTooManyAttempts
2020-04-02 12:44:46 +08:00
Zexi Li
b68feeb8af Merge pull request #5652 from yousong/bugfix/yousong-multicloud-proxyfunc
Bugfix/yousong multicloud proxyfunc
2020-04-02 12:43:53 +08:00
Zexi Li
b32ddfa504 Merge pull request #5659 from wanyaoqi/bugfix/wyq/host-use-internal-endpoint
host session use internal endpoint
2020-04-02 12:43:06 +08:00
Qiu Jian
02671840b5 fix: disk/nics usage should exclude those pending_deleted 2020-04-02 01:40:38 +08:00
tangbin
0fa0e9b7f4 elb bugfix 2020-04-01 20:16:52 +08:00
wanyaoqi
f9490b5c56 host session use internal endpoint 2020-04-01 19:59:58 +08:00
Qiu Jian
faa507b3ad feature: keystone lock user returns ErrTooManyAttempts 2020-04-01 19:50:25 +08:00
Zexi Li
ff73856573 Merge pull request #5653 from swordqiu/hotfix/qj-allow-list-cloudprovider-by-default
fix: allow list cloudprovider by default
2020-04-01 18:13:30 +08:00
Yousong Zhou
e27638f8c2 proxysetting: validate create/update data 2020-04-01 18:11:54 +08:00
Yousong Zhou
54e2aee119 apis: proxy: add input validation 2020-04-01 18:11:54 +08:00
Yousong Zhou
43acd28952 cloudproviders: provide proxysetting id, name 2020-04-01 18:11:54 +08:00
Yousong Zhou
73fca07287 cloudaccount: provide proxysetting details 2020-04-01 18:11:53 +08:00
Yousong Zhou
aa36903031 proxysetting: forbid deletion of DIRECT setting 2020-04-01 18:11:53 +08:00
Zexi Li
ffdaa413f3 Merge pull request #5648 from swordqiu/hotfix/qj-cancel-quota-no-save-usage
fix: cancel pending usage might not need to update usage
2020-04-01 18:05:41 +08:00
Qiu Jian
ae7cf00283 fix: allow list cloudprovider by default 2020-04-01 17:28:07 +08:00
Qiu Jian
fbb5b9f07f fix: cancel pending usage might not need to update usage 2020-04-01 16:42:32 +08:00
Zexi Li
b074f4f121 Merge pull request #5646 from ioito/hotfix/qx-bucket-status
修复: 默认存在的bucket状态为ready
2020-04-01 16:41:19 +08:00
Qu Xuan
8a6c8b9d5f 修复: 默认存在的bucket状态为ready 2020-04-01 15:17:06 +08:00
Zexi Li
96615f6eaa Merge pull request #5644 from zexi/feature/alert-pause
monitor: add paused api
2020-04-01 13:45:39 +08:00
Zexi Li
395f2af41d monitor: add paused api 2020-04-01 13:18:37 +08:00
Zexi Li
edd328d4ac Merge pull request #5634 from yousong/bugfix/yousong-multicloud-proxyfunc
cloudcommon: proxysetting: make it infra resource
2020-04-01 10:24:13 +08:00
Zexi Li
a7a18b74e5 Merge pull request #5640 from swordqiu/hotfix/qj-apigateway-upgrade-cause-restart
fix: changes to request_work_count cause apigateway restart
2020-04-01 10:23:18 +08:00
Qiu Jian
81242c1025 fix: changes to request_work_count cause apigateway restart 2020-04-01 10:16:03 +08:00
Zexi Li
d877e4d09b Merge pull request #5632 from zexi/feature/monitor-alert-params
monitor: support support extra params in alertnotification joint object
2020-03-31 18:36:01 +08:00
Yousong Zhou
b22e77b1f4 cloudcommon: proxysetting: make it infra resource 2020-03-31 18:22:18 +08:00
Zexi Li
1db65092ef monitor: support support extra params in alertnotification joint object 2020-03-31 17:54:44 +08:00
Zexi Li
4a796f066a Merge pull request #5629 from zexi/feature/monitor-config-helper
monitor: add alert config helper
2020-03-31 16:45:38 +08:00
Zexi Li
6016eee0c6 Merge pull request #5624 from wanyaoqi/feature/wyq/guest-detach-networks
misc bugfix
2020-03-31 16:24:36 +08:00
Zexi Li
56976a8b0d monitor: add alert config helper 2020-03-31 16:17:12 +08:00
yunion-ci-robot
967203d7cb Merge pull request #5623 from swordqiu/hotfix/qj-worker-channel-blocking
fix: worker may block by worker_chan
2020-03-31 10:01:14 +08:00
wanyaoqi
4c63739221 vm online detach network 2020-03-30 21:26:10 +08:00
wanyaoqi
5f3b4e6198 - add check disk is enable delete
- vm enable detach network on running state
- add menu on boot from iso
- misc fix
2020-03-30 21:17:18 +08:00
Zexi Li
1f5bf13ba1 Merge pull request #5590 from ioito/feature/qx-public-cloud-quota
fix: 支持同步云平台配额信息
2020-03-30 20:02:54 +08:00
Zexi Li
88ffe53ce8 Merge pull request #5615 from swordqiu/hotfix/qj-service-config-change-detection
fix: refine service-config change detection
2020-03-30 20:02:26 +08:00
Zexi Li
7f54e1f04b Merge pull request #5614 from swordqiu/feature/qj-reorgnize-cloudcommon-policy
feature: recode cloudcommon policy default/resource codes
2020-03-30 20:00:59 +08:00
Qiu Jian
09bc348c66 feature: recode cloudcommon policy default/resource codes 2020-03-30 19:35:55 +08:00
Qiu Jian
c29f4011e6 fix: worker may block by worker_chan 2020-03-30 19:25:00 +08:00
Zexi Li
6d31c95b71 Merge pull request #5616 from swordqiu/hotfix/qj-increase-apigateway-default-worker-count
fix: increase apigateway default worker count to 32
2020-03-30 19:22:33 +08:00
yunion-ci-robot
39e9bec655 Merge pull request #5619 from swordqiu/hotfix/qj-webconsole-api-server-option-common
feature: make webconsole's api_server option common
2020-03-30 17:08:44 +08:00
Qiu Jian
3b5d34ccd8 fix: refine service-config change detection 2020-03-30 16:03:21 +08:00
Qiu Jian
5e6070d809 feature: make webconsole's api_server option common 2020-03-30 15:29:58 +08:00
yunion-ci-robot
d8ca68b35e Merge pull request #5617 from zexi/feature/docker-image-region-dns
action: add region dns image
2020-03-30 15:09:42 +08:00
Zexi Li
14c1f1e5bd action: add region dns image 2020-03-30 14:49:03 +08:00
Qu Xuan
8723164a1d fix: 支持同步云平台配额信息 2020-03-30 10:24:05 +08:00
Qiu Jian
26bd5a2487 fix: increase apigateway default worker count to 32 2020-03-30 09:39:29 +08:00
Zexi Li
b5455ece19 Merge pull request #5613 from swordqiu/hotfix/qj-capability-domain-filter-update
fix: capability domain filter should be updated for domainized system resources
2020-03-29 12:35:21 +08:00
Qiu Jian
904ce90586 fix: capability domain filter should be updated for domainized system
resources
2020-03-28 11:05:51 +08:00
yunion-ci-robot
d239f99282 Merge pull request #5600 from ioito/hotfix/qx-guest-enhance
fix: 支持publicip to eip转换
2020-03-28 10:35:38 +08:00
Zexi Li
f5a2f5458b Merge pull request #5606 from yousong/bugfix/yousong-lbagent-systemd
region: lbagent: move systemd service unit file to system dir
2020-03-28 10:29:10 +08:00
yunion-ci-robot
ab9b32e734 Merge pull request #5605 from ioito/hotfix/qx-capability-optimized
fix: 简化capability 接口中storage数据
2020-03-28 09:49:39 +08:00
yunion-ci-robot
acaa70c7e8 Merge pull request #5608 from swordqiu/hotfix/qj-add-loadbalancer-cluster-default-list
fix: allow list loadbalancer cluster by default
2020-03-28 09:09:38 +08:00
Qiu Jian
944c90fcff fix: allow list loadbalancer cluster by default 2020-03-28 08:53:59 +08:00
Qu Xuan
7f47e88267 fix: 实现设置自动续费功能 2020-03-27 19:30:06 +08:00
Yousong Zhou
5c2b91b9fa region: lbagent: move systemd service unit file to system dir 2020-03-27 15:30:42 +08:00
Qu Xuan
c7c52041a5 fix: 支持publicip to eip转换 2020-03-27 15:22:40 +08:00
yunion-ci-robot
39b5dadab4 Merge pull request #5587 from swordqiu/feature/qj-system-resource-domainize
Feature/qj system resource domainize
2020-03-27 14:50:36 +08:00
Qu Xuan
d742b25de9 fix: 简化capability 接口中storage数据 2020-03-27 11:20:00 +08:00
Qiu Jian
d663fcea78 fix: auto gen api error 2020-03-27 01:20:31 +08:00
Qiu Jian
2536686a95 fix: update generated model api 2020-03-27 01:20:31 +08:00
Qiu Jian
859177c85e fix: replace deprecated fields 2020-03-27 01:20:30 +08:00
Qiu Jian
329edbae22 minor fixes 2020-03-27 01:20:30 +08:00
Qiu Jian
d0e4cec332 update vendor 2020-03-27 01:20:30 +08:00
Qiu Jian
8b1b6b94f9 fix: update cloudaccount update proxy setting 2020-03-27 01:20:30 +08:00
Qiu Jian
a687d49181 fix: add scheduler support 2020-03-27 01:20:30 +08:00
Qiu Jian
193ca8e4ac fix: hide host prepare fail reason 2020-03-27 01:20:30 +08:00
Qiu Jian
258db2cb48 fix updates 2020-03-27 01:20:29 +08:00
Qiu Jian
7072f80442 fix: account share_mode bugs 2020-03-27 01:20:29 +08:00
Qiu Jian
732dcdcb61 feature: system resource domainize 2020-03-27 01:20:29 +08:00
yunion-ci-robot
50ea3b8eda Merge pull request #5599 from ioito/hotfix/qx-account-detail
fix: 避免cloud-provider-show brand返回异常
2020-03-26 22:46:36 +08:00
Zexi Li
545d021ce7 Merge pull request #5601 from ioito/hotfix/qx-gcp-prepaid-not-support
fix: 修正gcp不支持预付费资源
2020-03-26 20:32:59 +08:00
Qu Xuan
8a87f86199 fix: 修正gcp不支持预付费资源 2020-03-26 20:00:02 +08:00
Zexi Li
77280b0810 Merge pull request #5575 from ioito/hotfix/qx-rds-sku-filter
fix: rds sku 支持zone过滤
2020-03-26 17:37:25 +08:00
Qu Xuan
f96605f7a9 fix: 避免cloud-provider-show brand返回异常 2020-03-26 16:34:18 +08:00
Zexi Li
29238189a1 Merge pull request #5589 from bistuzx/feature/bill_tasks
add bill tasks
2020-03-26 10:40:49 +08:00
Zexi Li
8188200aec Merge pull request #5588 from yousong/bugfix/yousong-multicloud-proxyfunc
Bugfix/yousong multicloud proxyfunc
2020-03-26 10:34:26 +08:00
张旭
476144f346 add bill task example 2020-03-25 17:15:32 +08:00
张旭
8663387be5 add bill tasks 2020-03-25 15:54:16 +08:00
Yousong Zhou
df25370799 climc: add cloud-account-update-google 2020-03-25 12:30:11 +08:00
Yousong Zhou
a378c94b27 cloudaccounts: fix checking update data 2020-03-25 12:01:04 +08:00
Yousong Zhou
a39bc093ba mcclient: cloudaccounts: allow updating proxysetting 2020-03-25 11:59:05 +08:00
Zexi Li
84083c300b Merge pull request #5554 from yousong/feature/yousong-multicloud-proxyfunc
Feature/yousong multicloud proxyfunc
2020-03-25 11:12:05 +08:00
yunion-ci-robot
af929fe349 Merge pull request #5585 from ioito/hotfix/qx-lb-manager-id
fxi: 修复lb 有些有vpc_id为空的问题
2020-03-24 22:59:33 +08:00
yunion-ci-robot
e0b1b19d6b Merge pull request #5560 from ioito/hotfix/qx-metdata-update
fix: 避免update标签失效问题
2020-03-24 21:14:33 +08:00
Qu Xuan
b0537773cd fxi: 修复lb 有些有vpc_id为空的问题 2020-03-24 20:53:52 +08:00
Qu Xuan
391018c8b4 fix: 避免update标签失效问题 2020-03-24 10:28:45 +08:00
Zexi Li
20810d4fab Merge pull request #5581 from yousong/bugfix/yousong-httperrors
httperrors: fix passing "params" argument
2020-03-23 21:13:59 +08:00
Yousong Zhou
a6b8477785 httperrors: fix passing "params" argument 2020-03-23 16:40:31 +08:00
Yousong Zhou
1d5d2276d6 webconsole: typo fix accessable -> accessible 2020-03-23 16:35:04 +08:00
Zexi Li
f7a5dd2032 Merge pull request #5561 from ioito/hotfix/qx-sync-status
fix: 统一后端同步状态字段-> sync_status
2020-03-23 11:26:57 +08:00
Qu Xuan
8f3d0cee00 fix: 统一后端同步状态字段-> sync_status 2020-03-23 10:59:54 +08:00
Zexi Li
2b6dc9d4ff Merge pull request #5569 from yousong/bugfix/yousong-build
build: cache-aware docker-xxx-build
2020-03-23 10:52:22 +08:00
Zexi Li
979407decd Merge pull request #5577 from zexi/feature/k8s-csi-storageclass
climc: k8s storageclass support
2020-03-23 10:48:10 +08:00
Zexi Li
77b11af608 climc: k8s storageclass support 2020-03-23 10:36:31 +08:00
Zexi Li
d3746bb6ca Merge pull request #5576 from yousong/bugfix/yousong-pr-template
.github: 添加pr检查点checklist
2020-03-23 10:24:28 +08:00
Yousong Zhou
7cf7960b4a .github: 添加pr检查点checklist 2020-03-23 10:23:00 +08:00
Zexi Li
3c81f6749a Merge pull request #5564 from ioito/hotfix/qx-metadata-list-optimized
fix: 优化标签列表查询速度
2020-03-23 09:42:51 +08:00
Zexi Li
031b3caa7e Merge pull request #5553 from ioito/hotfix/qx-storage-capability
fix: capability接口返回storage详情
2020-03-23 09:42:13 +08:00
Yousong Zhou
64001045c3 mcclient: add proxysettings manager 2020-03-22 19:36:46 +08:00
Yousong Zhou
d7d16a1f37 cloudevent: use cloudprovider proxysetting 2020-03-22 19:36:46 +08:00
Yousong Zhou
67fc22fc13 cloudproviders: show proxysettings in details 2020-03-22 19:36:46 +08:00
Yousong Zhou
342dfdcfba region: refer to proxySetting 2020-03-22 19:36:46 +08:00
Yousong Zhou
19b46891f0 cloudcommon: proxysetting: referrerMen 2020-03-22 19:36:45 +08:00
Yousong Zhou
881f0fb6dd cloudevent: add proxy.ProxySettingManager 2020-03-22 19:36:45 +08:00
Yousong Zhou
a310005f16 s3gateway: use cpcfg.ProxyFunc 2020-03-22 19:36:45 +08:00
Yousong Zhou
7d9cc08f40 region: add cloudaccount.ProxySettingId 2020-03-22 19:36:45 +08:00
Yousong Zhou
6ac9e64ebb cloudprovider: add TestProxyFunc 2020-03-22 19:36:45 +08:00
Yousong Zhou
e30840dd42 objectstore: use cpcfg.ProxyFunc 2020-03-22 19:36:45 +08:00
Yousong Zhou
03987e8f78 objectstore: use ObjectStoreClientConfig 2020-03-22 19:36:45 +08:00
Yousong Zhou
4dca8bf4c9 esxi: use cpcfg.ProxyFunc 2020-03-22 19:36:45 +08:00
Yousong Zhou
10e08c1c46 esxi: use ESXiClientConfig 2020-03-22 19:36:45 +08:00
Yousong Zhou
ac5847a992 openstack: use cpcfg.ProxyFunc 2020-03-22 19:36:45 +08:00
Yousong Zhou
583f770fcd mcclient: add SetHttpTransportProxyFunc() 2020-03-22 19:36:45 +08:00
Yousong Zhou
0ff96ace44 openstack: use OpenstackClientConfig 2020-03-22 19:36:45 +08:00
Yousong Zhou
a3f9e185ac zstack: use cpcfg.ProxyFunc 2020-03-22 19:36:44 +08:00
Yousong Zhou
fb54124eff zstack: use ZstackClientConfig 2020-03-22 19:36:44 +08:00
Yousong Zhou
c496092faa zstack: remove sessionID field 2020-03-22 19:36:44 +08:00
Yousong Zhou
ce34f4b370 ucloud: use cpcfg.ProxyFunc 2020-03-22 19:36:44 +08:00
Yousong Zhou
bd228b2e5b ucloud: use UcloudClientConfig 2020-03-22 19:36:44 +08:00
Yousong Zhou
e277ed65ad qcloud: use cpcfg.ProxyFunc 2020-03-22 19:36:44 +08:00
Yousong Zhou
cd24b380ae qcloud: use QcloudClientConfig 2020-03-22 19:36:44 +08:00
Yousong Zhou
c6e90f32ff vendor: update github.com/tencentcloud/tencentcloud-sdk-go 2020-03-22 19:36:44 +08:00
Yousong Zhou
d5e664edf5 huawei: use cpcfg.ProxyFunc 2020-03-22 19:36:44 +08:00
Yousong Zhou
b59208b24e huawei: client: add SBaseManager.SetHttpClient() 2020-03-22 19:36:44 +08:00
Yousong Zhou
604b58204e huawei: use HuaweiClientConfig 2020-03-22 19:36:44 +08:00
Yousong Zhou
41deb33849 azure: use cpcfg.ProxyFunc 2020-03-22 19:36:44 +08:00
Yousong Zhou
56b707b669 azure: use AzureClientConfig 2020-03-22 19:36:44 +08:00
Yousong Zhou
da0b043317 aws: use cpcfg.ProxyFunc 2020-03-22 19:36:44 +08:00
Yousong Zhou
e96cebbd71 aws: use AwsClientConfig 2020-03-22 19:36:44 +08:00
Yousong Zhou
97cce7ca04 ctyun: use cpcfg.ProxyFunc 2020-03-22 19:36:43 +08:00
Yousong Zhou
9ab4043088 ctyun: use CtyunClientConfig 2020-03-22 19:36:43 +08:00
Yousong Zhou
b3bd866239 google: use cpcfg.ProxyFunc 2020-03-22 19:36:43 +08:00
Yousong Zhou
554e2e88dc google: use GoogleClientConfig 2020-03-22 19:36:43 +08:00
Yousong Zhou
ce0e9dd689 aliyun: use cpcfg.ProxyFunc 2020-03-22 19:36:43 +08:00
Yousong Zhou
361cbd7454 aliyun clientcfg 2020-03-22 19:36:43 +08:00
Yousong Zhou
55eb57fd60 httputils: add SetClientProxyFunc(client, proxyFunc) 2020-03-22 19:36:43 +08:00
Yousong Zhou
944e57e572 cloudprovider: use ProviderConfig 2020-03-22 19:36:43 +08:00
Yousong Zhou
1e08ef5441 cloudcommon: add ProxySetting 2020-03-22 19:36:43 +08:00
Yousong Zhou
b425cd7194 cloudproviders: fix getting account details 2020-03-22 18:12:24 +08:00
Qu Xuan
21f7e66bb9 fix: rds sku 支持zone过滤 2020-03-20 20:56:18 +08:00
Zexi Li
6ef40ae0b1 Merge pull request #5567 from tb365/bugfix/tb-ctyun-bugfix-0318
ctyun bugfix
2020-03-20 19:39:45 +08:00
Zexi Li
f24f4864f1 Merge pull request #5571 from wanyaoqi/hotfix/wyq/guest-add-metadata-cpu-mode
guest add metadata cpu mode
2020-03-20 19:38:24 +08:00
yunion-ci-robot
4ccc2d5564 Merge pull request #5478 from ioito/feature/qx-gcp-rds
feature: gcp rds sync
2020-03-20 18:31:21 +08:00
Qu Xuan
3b0a437a12 feature: gcp rds sync 2020-03-20 18:05:57 +08:00
wanyaoqi
f4d86b4fb2 guest add metadata cpu mode
- live migrate if guest cpu mode is qemu, do not check host cpu mode
- disk name generation replace '_' to '-'
2020-03-20 15:04:46 +08:00
Zexi Li
2bb601f3ce Merge pull request #5563 from rainzm/fix/list_notification
fix & feat(notify): Notification and template
2020-03-20 14:44:44 +08:00
Yousong Zhou
68861d9711 scripts: remove host_find_libraries.sh
Not needed after we switch to using native alpine image
2020-03-20 14:40:59 +08:00
Yousong Zhou
8a4c20c088 build: cache-aware docker-xxx-build 2020-03-20 14:40:59 +08:00
tangbin
afcfdce7dc ctyun bugfix 2020-03-20 10:26:26 +08:00
yunion-ci-robot
64698288ec Merge pull request #5565 from ioito/bugfix/qx-secgroup-rule-list
fix: 修复secgrouprule-list 500错误
2020-03-19 20:04:19 +08:00
Qu Xuan
28b838e00f fix: 优化标签列表查询速度 2020-03-19 19:50:44 +08:00
Qu Xuan
4ea96848cb fix: 修复secgrouprule-list 500错误 2020-03-19 19:11:52 +08:00
Rain
5fdf9846f7 feat: Unified template 2020-03-19 15:57:48 +08:00
Rain
006ac48d6e fix(notify): Compatible with changes about list in schema 2020-03-19 14:23:58 +08:00
Zexi Li
78688a8ba2 Merge pull request #5550 from tb365/feature/tb-policy-AppendDefaultPolicies
auth policy append default policies
2020-03-19 10:08:49 +08:00
Zexi Li
bb3f66065a Merge pull request #5555 from rainzm/feat/notify_v1.0.0
feat(notify): Compatibility and repair
2020-03-19 10:03:34 +08:00
yunion-ci-robot
d982b2d2f5 Merge pull request #5490 from ioito/hotfix/qx-check-create-data
fix: class action 统一使用keywords包裹
2020-03-19 08:44:20 +08:00
Rain
0cb0ba6f1b feat(notify): Compatibility and repair 2020-03-18 20:51:20 +08:00
Zexi Li
0c995ce925 Merge pull request #5535 from ioito/hotfix/qx-unified-syncstatus
unified syncstatus action
2020-03-18 20:12:50 +08:00
Qu Xuan
4fbb12b527 fix: capability接口返回storage详情 2020-03-18 20:01:51 +08:00
Qu Xuan
691ecc3a9a unified syncstatus action 2020-03-18 16:30:20 +08:00
TangBin
a93358a932 get spec return jsonclient err 2020-03-18 15:46:58 +08:00
Zexi Li
f03993286c Merge pull request #5552 from swordqiu/hotfix/qj-order-by-not-effective
fix: list order by not effective
2020-03-18 13:48:44 +08:00
TangBin
a1e3ea9095 auth policy append default policies 2020-03-18 12:02:31 +08:00
Qiu Jian
300f399f43 fix: list order by not effective 2020-03-18 11:21:44 +08:00
Zexi Li
98af93bea3 Merge pull request #5545 from swordqiu/hotfix/qj-policy-fetch-not-retry
fix: policy fetcher not retry after initial failure
2020-03-18 10:52:44 +08:00
Qu Xuan
8b468e3ad3 fix: class action 统一使用keywords包裹 2020-03-17 18:43:11 +08:00
yunion-ci-robot
0d7ad9e175 Merge pull request #5540 from ioito/hotfix/qx-account-delete
fix: 修复删除账号失败问题
2020-03-17 18:39:15 +08:00
Qiu Jian
e915d7d55b fix: policy fetcher not retry after initial failure 2020-03-17 18:27:17 +08:00
yunion-ci-robot
f82a4d20c1 Merge pull request #5543 from ioito/hotfix/qx-extra-detail
fix: 避免dbinstance_sku.get 异常
2020-03-17 17:20:20 +08:00
Qu Xuan
4f5d78b392 fix: 避免dbinstance_sku.get 异常 2020-03-17 16:22:59 +08:00
Zexi Li
783c3cd09f Merge pull request #5541 from zexi/hotfix/monitor-alert-disable
monitor: fix meteralert update status
2020-03-17 14:59:11 +08:00
Zexi Li
1db89913cf monitor: fix meteralert update status 2020-03-17 14:43:59 +08:00
Qu Xuan
aad83ec565 fix: 修复删除账号失败问题 2020-03-17 11:58:05 +08:00
yunion-ci-robot
ae1557626d Merge pull request #5529 from ioito/hotfix/qx-guest-rebuild-root
fix: 避免重装系统失败后imageId依然发生改变
2020-03-17 08:19:14 +08:00
yunion-ci-robot
4dd4a0391d Merge pull request #5536 from ioito/hotfix/qx-gcp-storage-info
fix: 修复谷歌云 cloud-provider-clirc 显示错误问题
2020-03-17 08:11:14 +08:00
Qu Xuan
824d50d1b0 fix: 修复谷歌云 cloud-provider-clirc 显示错误问题 2020-03-16 20:08:27 +08:00
yunion-ci-robot
12a29acb7b Merge pull request #5452 from ioito/hotfix/qx-rds-sku-sync-optimized
fix: 优化rds sku同步逻辑
2020-03-16 15:18:14 +08:00
yunion-ci-robot
99cbd18b81 Merge pull request #5534 from swordqiu/hotfix/qj-list-get-field-filter-not-working
fix: list/get field filter not working properly
2020-03-16 13:46:14 +08:00
Qiu Jian
284f68b48f fix: list/get field filter not working properly 2020-03-16 13:29:34 +08:00
Zexi Li
eff67b5e27 Merge pull request #5517 from swordqiu/hotfix/qj-storage-details-missing-capacity
fix: storage details missing capacity fields since 3.1
2020-03-16 13:00:47 +08:00
Zexi Li
4d06232da1 Merge pull request #5506 from swordqiu/hotfix/qj-cloud-provider-usable-filter-recode
fix: recode cloudprovider usable filter
2020-03-16 12:59:50 +08:00
Zexi Li
a31d4fc266 Merge pull request #5483 from yousong/feature/yousong-multi-instances
cloudcommon: elect support
2020-03-16 12:59:20 +08:00
Zexi Li
8488f50e65 Merge pull request #5496 from zhaoxiangchun/feature/zxc-all
vmware 宿主机监控信息获取
2020-03-16 12:57:21 +08:00
Zexi Li
b9fea28dad Merge pull request #5505 from swordqiu/feature/qj-cloud-provider-region-capability
feature: capability of a cloudprovider in a region
2020-03-16 12:57:09 +08:00
Qu Xuan
36b2c2267b fix: 避免重装系统失败后imageId依然发生改变 2020-03-16 11:26:37 +08:00
yunion-ci-robot
e032ebfe52 Merge pull request #5528 from yousong/bugfix/yousong-log-go1.14
gomod: update yunion.io/x/log and refresh vendor
2020-03-16 11:11:12 +08:00
Yousong Zhou
f5f3f4f916 gomod: update yunion.io/x/log and refresh vendor
The code change for yunion.io/x/{pkg.sqlchemy} is a remedy for
yunionio/onecloud#5402
2020-03-16 10:49:44 +08:00
yunion-ci-robot
70c0bdd044 Merge pull request #5519 from ioito/bugfix/qx-secgroup-rule-update
fix: 避免未传递prority参数导致校验未通过
2020-03-16 01:10:08 +08:00
Qu Xuan
effa0ac4e7 fix: 避免未传递prority参数导致校验未通过 2020-03-15 13:11:11 +08:00
Qiu Jian
e1ad22ec3a fix: storage details missing capacity fields since 3.1 2020-03-14 22:24:37 +08:00
Zexi Li
bce6ad8e9a Merge pull request #5516 from rainzm/feat/feishu_webhook
feat: Add SendWebhookRobotMessage for feishu driver
2020-03-14 20:45:27 +08:00
Rain
8918664f2e feat: Add SendWebhookRobotMessage for feishu driver 2020-03-14 19:21:42 +08:00
yunion-ci-robot
fc55cfb96f Merge pull request #5511 from zexi/bugfix/scheduler-disk-assign
scheduler: fix disk allocated not balanced
2020-03-14 17:50:05 +08:00
Zexi Li
ae557d217d Merge pull request #5498 from swordqiu/hotfix/qj-keystone-file-list-support-array
fix: keystone resources list filter should support array
2020-03-14 16:52:59 +08:00
Zexi Li
4f3d7c2c32 scheduler: fix disk allocated not balanced 2020-03-14 16:39:26 +08:00
Qiu Jian
866f5ef4ae fix: recode cloudprovider usable filter 2020-03-14 09:00:56 +08:00
Qiu Jian
ea73f5a9a4 feature: capability of a cloudprovider in a region 2020-03-14 01:35:27 +08:00
Zexi Li
9a3edfc6bf Merge pull request #5501 from zexi/hotfix/check-is-authed
auth: check isAuthed if nil
2020-03-13 19:18:05 +08:00
Zexi Li
c6be259900 auth: check isAuthed if nil 2020-03-13 19:03:53 +08:00
Qiu Jian
569f1b204d fix: keystone resources list filter should support array 2020-03-13 17:19:16 +08:00
yunion-ci-robot
e5ed2aaf10 Merge pull request #5454 from rainzm/fix/subimage_createdat
fix(glance): Structured subimage info and add 'created_at' field
2020-03-13 15:33:01 +08:00
Yousong Zhou
be5322d530 region: start cronman with electObj 2020-03-13 15:15:36 +08:00
Yousong Zhou
0f7ff65a46 cronman: add Start2() for working with electObj 2020-03-13 15:15:36 +08:00
Yousong Zhou
1d8fa1a1f2 cronman: use context for start, stop 2020-03-13 15:15:36 +08:00
zhaoxiangchun
b0981354de vmware 宿主机监控信息获取 2020-03-13 15:02:13 +08:00
Zexi Li
35f750705f Merge pull request #5402 from swordqiu/feature/qj-metadata-cleanup
Feature/qj metadata cleanup
2020-03-13 13:41:21 +08:00
yunion-ci-robot
0d1e41a99d Merge pull request #5484 from wanyaoqi/bugfix/wyq/downloadhandler-not-set-timeout
bugfix:download handler set no timeout
2020-03-13 13:22:17 +08:00
Qiu Jian
e11ceb4c4b feature: allow list/export/sort/distict metadata 2020-03-13 13:12:45 +08:00
Zexi Li
4fa1001792 Merge pull request #5479 from rainzm/fix/scheduler_provider
fix(scheduler): Candidater's CloudProvider maybe nil
2020-03-13 11:28:25 +08:00
Zexi Li
6fb6a1faa4 Merge pull request #5480 from rainzm/fix/vmware_vlan_range
fix(esxi): VlanID '1' is default value
2020-03-13 11:11:05 +08:00
wanyaoqi
8ca4ecada3 download handler set no timeout 2020-03-13 11:01:30 +08:00
Zexi Li
fc94e90e58 Merge pull request #5472 from zhaoxiangchun/bugfix/zxc-meteralart
修复meteralartbug
2020-03-13 00:43:57 +08:00
Yousong Zhou
48a0bb420b cloudcommon: elect support 2020-03-13 00:20:16 +08:00
yunion-ci-robot
05d7efa5b6 Merge pull request #5463 from swordqiu/hotfix/qj-fix-region-list-filters3
feature: fix region list filters
2020-03-12 21:11:17 +08:00
Qiu Jian
3c9b368c43 feature: fix region list filters round 3 2020-03-12 20:55:22 +08:00
Rain
258a03e138 fix(esxi): VlanID '1' is default value 2020-03-12 20:55:12 +08:00
Rain
84f3798322 fix(scheduler): Candidater's CloudProvider maybe nil
Candidater(Host) in Provider Onecloud doesn't have CloudProvider.
2020-03-12 20:17:46 +08:00
yunion-ci-robot
b8df371c17 Merge pull request #5458 from zexi/feature/k8s-baremetal-host-convert
region: baremetal convert host join as k8s node
2020-03-12 19:47:15 +08:00
Rain
e185bf9d7e fix(glance): Structured subimage info and add 'created_at' field 2020-03-12 19:25:28 +08:00
Yousong Zhou
20f3c775d7 cloudcommon: reword help text for IsSlaveNode 2020-03-12 18:55:58 +08:00
Yousong Zhou
411bff8301 cloudcommon: remove default value for etcd lock prefix 2020-03-12 18:55:58 +08:00
Yousong Zhou
487b7e189b cloudcommon: options: add constants for lock method 2020-03-12 18:55:58 +08:00
yunion-ci-robot
79cf558a13 Merge pull request #5457 from ioito/hotfix/qx-cloudaccount-test-connectivity
hotfix: 支持更新云账号密码时测试账号连通性
2020-03-12 18:08:16 +08:00
yunion-ci-robot
12c6576ef6 Merge pull request #5470 from wanyaoqi/wyq/bugfix/region-misc-fix200311
region misc fix
2020-03-12 17:31:18 +08:00
zhaoxiangchun
10d0066a61 修复meteralartbug
1.设置消费日提醒时,提示名称重复。
2.查询信息时MeterAlertDetails的一些字段没有回显。
2020-03-12 16:50:29 +08:00
wanyaoqi
72f165985d region misc fix 2020-03-12 16:46:37 +08:00
Zexi Li
643a3c7e4b Merge pull request #5459 from bistuzx/master
add bucket connection test
2020-03-12 16:17:54 +08:00
Zexi Li
cf61b1eb41 region: baremetal convert host join as k8s node 2020-03-12 16:14:43 +08:00
Zexi Li
e88a520aa5 Merge pull request #5464 from rainzm/feat/vendor_update
feat: Update Vendor
2020-03-12 11:49:49 +08:00
Rain
dfdfe1e872 feat: Update Vendor 2020-03-12 11:38:25 +08:00
张旭
8f69e245b2 change climc bucket options import 2020-03-12 10:44:23 +08:00
yunion-ci-robot
eed8441013 Merge pull request #5444 from rainzm/fix/esxi_disk
fix(esxi): UnitNumber 7 is unavailable for scsi controller
2020-03-12 02:51:03 +08:00
yunion-ci-robot
f2b312e83a Merge pull request #5439 from rainzm/fix/esxi_network_vlan
fix(esxi): Fix bugs when using network with vlanID
2020-03-12 02:46:02 +08:00
yunion-ci-robot
5a0769f83d Merge pull request #5455 from wanyaoqi/bugfix/wyq/fix-host-storage-outpu
bugfix :fix structure host storage output: storagecache_id
2020-03-12 02:44:00 +08:00
张旭
677737215e add bucket connection test 2020-03-11 21:04:20 +08:00
Qu Xuan
b47ee82112 hotfix: 支持更新云账号密码时测试账号连通性 2020-03-11 18:38:16 +08:00
wanyaoqi
41ddd6c452 fix structure host storage output: storagecache_id 2020-03-11 18:03:36 +08:00
Rain
31f623dd30 fix(esxi): UnitNumber 7 is unavailable for scsi controller
By default, the virtual SCSI controller is assigned to virtual device node (z:7),
so that device node is unavailable for hard disks or other devices.
https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.vm_admin.doc/GUID-5872D173-A076-42FE-8D0B-9DB0EB0E7362.html
2020-03-11 17:33:35 +08:00
yunion-ci-robot
0a4171bd6a Merge pull request #5453 from rainzm/fix/format_5433
fix: Resolve format issues caused by pr#5443
2020-03-11 17:26:01 +08:00
Rain
6dda9d8a3f fix: Resolve format issues caused by pr#5433 2020-03-11 17:09:26 +08:00
Qu Xuan
d5a691ffe3 fix: 优化rds sku同步逻辑 2020-03-11 16:49:18 +08:00
Zexi Li
f7be83aa23 Merge pull request #5447 from zexi/hotfix/host-storage-update-enabled
region: host update storage set enabled
2020-03-11 15:58:58 +08:00
Zexi Li
fd6ea93cb0 region: host update storage set enabled 2020-03-11 15:56:38 +08:00
Zexi Li
4ba4e636f6 Merge pull request #5442 from zexi/hotfix/baremetal-zone-not-updated
baremetal: zone_id not been updated
2020-03-11 14:37:23 +08:00
Zexi Li
eb8ccf66f7 Merge pull request #5443 from swordqiu/hotfix/qj-fix-region-list-filters2
fix region list filters round 2
2020-03-11 14:37:03 +08:00
Zexi Li
854dd25aaa baremetal: zone_id not been updated 2020-03-11 14:28:47 +08:00
Rain
7db5ae4d16 fix(esxi): Fix bugs when using network with vlanID 2020-03-11 10:56:50 +08:00
Zexi Li
2a2c0a558f Merge pull request #5435 from yousong/bugfix/yousong-build
build: github: build region, host, host-deployer images first
2020-03-10 18:51:43 +08:00
yunion-ci-robot
c1ef2fdc4d Merge pull request #5437 from zexi/feature/climc-ssh-terminal
climc: add server and host ssh terminal util
2020-03-10 18:50:58 +08:00
yunion-ci-robot
0b742b9b11 Merge pull request #5436 from swordqiu/hotfix/qj-remove-manager-cloudregion-id
fix: sql query errors for missing manager_id and cloudregion_id
2020-03-10 18:25:58 +08:00
Qiu Jian
1169dfe24c fix region list filters round 2 2020-03-10 18:23:45 +08:00
Zexi Li
49725a3af2 climc: add server and host ssh terminal util 2020-03-10 18:19:09 +08:00
Qiu Jian
79b6def3c3 fix: sql query errors for missing manager_id and cloudregion_id 2020-03-10 18:01:58 +08:00
Yousong Zhou
3e8e20dc5f build: github: build region, host, host-deployer images first 2020-03-10 16:38:52 +08:00
yunion-ci-robot
a9e9666989 Merge pull request #5434 from swordqiu/hotfix/qj-get-details-zero-numbers
fix: resource details contains zero numbers
2020-03-10 16:00:58 +08:00
Qiu Jian
550a1674ca fix: resource details contains zero numbers 2020-03-10 15:40:56 +08:00
yunion-ci-robot
3d37f3e5d9 Merge pull request #5433 from swordqiu/hotfix/qj-fix-region-list-filters
fix: fix region list fitlers, round 1
2020-03-10 14:45:59 +08:00
Zexi Li
1786c02e82 Merge pull request #5419 from swordqiu/hotfix/qj-fail-to-find-esxi-host-access-ip
fix: fail to find esxi admin vnic, use vnic with default IPv4 route
2020-03-10 14:44:53 +08:00
yunion-ci-robot
d777f510f6 Merge pull request #5429 from ioito/bugfix/qx-cloud-sku-sync
fix: typo for sku sync
2020-03-10 11:13:59 +08:00
yunion-ci-robot
df8200a400 Merge pull request #5424 from rainzm/fix/esxi_account
fix(esxi): Add two account with same account name
2020-03-10 11:02:00 +08:00
yunion-ci-robot
0868741842 Merge pull request #5413 from ioito/hotfix/qx-rds-sku-detail
fix: rds sku 返回region name
2020-03-10 10:42:57 +08:00
yunion-ci-robot
d5e1c6ff3a Merge pull request #5281 from ioito/hotfix/qx-gcp-os-sync
Hotfix/qx gcp os sync
2020-03-10 10:31:57 +08:00
Qiu Jian
da4dd2333a fix format 2020-03-10 09:44:43 +08:00
Qiu Jian
f127e258b4 fix: fix region list fitlers, round 1 2020-03-10 03:26:01 +08:00
Qu Xuan
0a47c90d89 fix: typo for sku sync 2020-03-09 19:57:37 +08:00
Rain
396f997cf4 fix(esxi): Add two account with same account name 2020-03-09 17:51:24 +08:00
Qiu Jian
fe93b90745 fix: fail to find esxi admin vnic, use vnic with default IPv4 route 2020-03-09 15:44:19 +08:00
Zexi Li
f0481b747c Merge pull request #5414 from zexi/feature/opslog-notes-text
opslog: notes use text column
2020-03-09 12:36:10 +08:00
Zexi Li
947fb13acc Merge pull request #5403 from swordqiu/hotfix/qj-cloud-provider-perform-enable-should-enable-account
fix: cloudprovider performEnable should also enable its cloudaccount
2020-03-09 12:30:15 +08:00
Zexi Li
e5106a9db1 opslog: notes use text column 2020-03-09 12:29:47 +08:00
Qu Xuan
ddbaba6f1a fix: rds sku 返回region name 2020-03-09 12:07:43 +08:00
Zexi Li
284c777db4 Merge pull request #5412 from swordqiu/hotfix/qj-adjust-two-options-default
fix: two default option changes: 1. do not convert vhd by default 2.sync purge server by default
2020-03-09 09:30:58 +08:00
Zexi Li
6ec5304436 Merge pull request #5398 from swordqiu/hotfix/qj-not-check-domain-quota-if-non-default-domain-project-off
fix: not check domain quota if non_default_domain_project is off
2020-03-09 09:29:55 +08:00
Zexi Li
af6d44aead Merge pull request #5411 from swordqiu/hotfix/qj-missing-keystone-glance-list-filter
fix: complete keystone/glance list filter
2020-03-09 09:29:20 +08:00
Zexi Li
ab4947d687 Merge pull request #5408 from swordqiu/feature/qj-climc-image-add-vim
feature: climc docker image add vim
2020-03-09 09:27:41 +08:00
Qiu Jian
fa9349c191 fix import group format error 2020-03-09 01:38:25 +08:00
Qiu Jian
63f5d40208 fix: two default option changes: 1. do not convert vhd by default 2.
sync purge server by default
2020-03-09 01:32:27 +08:00
Qiu Jian
57933d2497 fix: complete keystone/glance list filter 2020-03-09 01:20:25 +08:00
Qiu Jian
e0aae90d58 feature: climc docker image add vim 2020-03-08 22:44:25 +08:00
Qiu Jian
9bfca626b7 fix: cloudprovider performEnable should also enable its cloudaccount 2020-03-08 15:50:06 +08:00
Qiu Jian
3a34543e4f fix: not check domain quota if non_default_domain_project is off 2020-03-07 18:08:38 +08:00
Zexi Li
ecc0679eb1 Merge pull request #5365 from swordqiu/hotfix/qj-monitor-details
fix: implements details and list for monitor service
2020-03-07 15:52:09 +08:00
Zexi Li
ff4d99012d Merge pull request #5392 from swordqiu/hotfix/qj-scoped-resource-miss-fetch-owner
fix: scoped resource should override FetchOwnerId
2020-03-07 15:50:55 +08:00
Qiu Jian
6b183bac94 fix: scoped resource should override FetchOwnerId 2020-03-07 15:35:35 +08:00
Zexi Li
27027b498d Merge pull request #5388 from swordqiu/hotfix/qj-keystone-prefer-internal-endpoint-type
fix: keystone prefers internal endpoint type
2020-03-06 22:22:41 +08:00
Zexi Li
af9bcd23ac Merge pull request #5387 from swordqiu/hotfix/qj-service-filter-by-type
fix: add keystone service type filter
2020-03-06 22:22:10 +08:00
Qiu Jian
1b5456944b fix: keystone prefers internal endpoint type 2020-03-06 21:41:52 +08:00
Qiu Jian
e68bbf6fb9 fix: add keystone service type filter 2020-03-06 21:37:03 +08:00
Zexi Li
cf4d2e3374 Merge pull request #5335 from swordqiu/hotfix/qj-fix-details-list-recode-bugs
fix: 1. image header details should skip "properties" field 2.cloudprovider details nil pointer panic
2020-03-06 19:57:36 +08:00
Zexi Li
4917f11bfd Merge pull request #5358 from swordqiu/hotfix/qj-update-status-eventlog
fix: corrent update status logclient event type
2020-03-06 19:57:16 +08:00
yunion-ci-robot
60b74247a3 Merge pull request #5378 from rainzm/fix/usercache
fix: Add 'scope=system' and 'system' for Caches when querying from Keystone.
2020-03-06 18:42:50 +08:00
Zexi Li
fad6cbcb30 Merge pull request #5372 from swordqiu/hotfix/qj-no-scope-schedtag-visible-to-all
fix: no scope shcedtag should be visible to all
2020-03-06 18:32:14 +08:00
yunion-ci-robot
f387c6c37b Merge pull request #5379 from tb365/bugfix/tb-bugfix-0306
Bugfix/tb bugfix 0306
2020-03-06 18:10:50 +08:00
Rain
f8642421de fix: Add 'scope=system' and 'system' for Caches when querying from Keystone.
1. Query 'scope=system' and 'system=true' is neccessary when fetching all users
   or groups from Keystone.
   Without these, users and groups in other domains (non-caller domains),
   as well as system-level users, cannot be detected.
2. Query 'scope=system' is neccessary when fetching all project from Keystone.
2020-03-06 17:10:58 +08:00
TangBin
b7b2807fbd ctyun region name fix 2020-03-06 16:46:03 +08:00
TangBin
1096edad61 huawei reset password bugfix 2020-03-06 16:20:22 +08:00
Zexi Li
6fe428832a Merge pull request #5361 from swordqiu/hotfix/qj-adjust-user-list-privilege-level
fix: allow project do user-list, group-list, returns current project user and group
2020-03-06 13:03:18 +08:00
Zexi Li
ab83c71cdb Merge pull request #5366 from rainzm/fix/notify_resend
fix/notify: Fix the resend mechanism
2020-03-06 12:45:55 +08:00
yunion-ci-robot
061e974503 Merge pull request #5363 from wanyaoqi/bugfix/wyq/fix-postpaid-disk
bugfix: fix disk billing type on guest is postpaid
2020-03-06 12:29:50 +08:00
Rain
22bf66642d fix/notify: Fix the resend mechanism 2020-03-06 11:09:41 +08:00
Qiu Jian
4b311a8264 fix: implements details and list for monitor service 2020-03-06 00:53:20 +08:00
wanyaoqi
0631ad51f8 fix disk billing type on guest is postpaid 2020-03-05 20:32:03 +08:00
Qiu Jian
a9ed2da099 fix: allow project do user-list, group-list, returns current
project user and group
2020-03-05 20:06:38 +08:00
yunion-ci-robot
b2975c8bb4 Merge pull request #5359 from wanyaoqi/bugfix/wyq/network-list-filter-by-host
bugfix: enable network list filter by host show vpc networks
2020-03-05 20:00:49 +08:00
wanyaoqi
dfe1dc4324 enable network list filter by host show vpc networks 2020-03-05 19:31:26 +08:00
yunion-ci-robot
5eab1ce5ef Merge pull request #5353 from rainzm/feature/notify_feishu
feature(notify): Add query and return value for contact UPDATE interface
2020-03-05 19:03:51 +08:00
Qiu Jian
e344b1cc52 fix: corrent update status logclient event type 2020-03-05 17:53:15 +08:00
Qiu Jian
2fcf30109d fix: no scope shcedtag should be visible to all 2020-03-05 17:43:26 +08:00
Rain
f876aed69f feature(notify): Add query and return value for contact UPDATE interface
1. Add same return value with contact GET interface when updating
2. Add pull params for query to pull subcontact by mobile number.
   For example, pull user_id from dingtalk throught user's mobile
   number.
3. Add corresponding feature based on above for climc.
4. UserCache will try FetchByName if there is no id matched user when
   fetching users from KeyStone.
2020-03-05 17:01:29 +08:00
Zexi Li
9ed9de4f91 Merge pull request #5330 from rainzm/feature/feishu_single_user
feat: Add useridByMobile and accessToken cache for feishu
2020-03-05 14:17:41 +08:00
yunion-ci-robot
29658849d3 Merge pull request #5351 from swordqiu/hotfix/qj-turn-on-default-column-filter
fix: turn on default column filter ONLY if query variable starts with @
2020-03-05 14:11:16 +08:00
Rain
3dd84620c3 feat: Add useridByMobile and accessToken cache for feishu 2020-03-05 14:10:22 +08:00
Zexi Li
f283ad3d02 Merge pull request #5342 from swordqiu/hotfix/qj-update-auto-gen-api-struct
fix: update auto-gent struct field json name
2020-03-05 14:07:33 +08:00
Qiu Jian
a32afca7df fix: turn on default column filter ONLY if query variable starts with @ 2020-03-05 12:18:55 +08:00
yunion-ci-robot
1b407cc0c0 Merge pull request #5349 from zexi/feature/monitor-service
monitor: fix alert update not work
2020-03-04 22:49:14 +08:00
Zexi Li
9d7b47aca1 monitor: fix alert update not work 2020-03-04 21:16:19 +08:00
Qiu Jian
748641ec83 autogen structs add commentlines 2020-03-04 21:15:12 +08:00
yunion-ci-robot
af85309c80 Merge pull request #5343 from ioito/hotfix/qx-aws-rds-sync
fix: 支持aws rds sync
2020-03-04 20:49:13 +08:00
Qiu Jian
9b5f0b02e9 fix: update auto-gent struct field json name 2020-03-04 20:47:00 +08:00
yunion-ci-robot
0e50ec7bb2 Merge pull request #5333 from yousong/bugfix/yousong-host
hostman: default ovn options from environment
2020-03-04 20:17:08 +08:00
Qu Xuan
aac2b83945 fix: 支持aws rds sync 2020-03-04 20:09:19 +08:00
yunion-ci-robot
ece5524fb0 Merge pull request #5340 from zexi/feature/monitor-service
alert notification use joint model
2020-03-04 19:58:08 +08:00
Zexi Li
36e1f387dc Merge pull request #5331 from yousong/bugfix/yousong-build
build: docker-centos-build: run as root
2020-03-04 19:16:50 +08:00
Zexi Li
e9b0d828d7 Merge pull request #5336 from swordqiu/hotfix/qj-keystone-history-check-skip-system-account
fix: keystone user password history check should skip system account
2020-03-04 19:16:11 +08:00
Zexi Li
1b54766c9c alert notification use joint model 2020-03-04 19:12:48 +08:00
Qiu Jian
75a8981bf1 fix: 1. image header details should skip "properties" field 2.
cloudprovider details nil pointer panic
2020-03-04 18:58:07 +08:00
Qiu Jian
0ca6b0175a fix: keystone user password history check should skip system account 2020-03-04 18:34:46 +08:00
Yousong Zhou
1b5672fde7 hostman: default ovn options from environment 2020-03-04 16:42:06 +08:00
Yousong Zhou
67f0da7534 build: docker-centos-build: run as root
so that output file ownership can be properly changed

The Dockerfile was moved to a separate repo for maintenance
2020-03-04 15:04:12 +08:00
yunion-ci-robot
1401cfd032 Merge pull request #5289 from swordqiu/feature/qj-recode-details-list-struct
Feature/qj recode details list struct
2020-03-04 14:52:04 +08:00
Qiu Jian
cf5498ac24 feature: recode structuralized GetExtraDetails and ListItemFilter 2020-03-04 14:01:25 +08:00
Zexi Li
c81a004878 Merge pull request #5328 from zexi/hotfix/uncomment-docker-push
fix: docker_push uncomment build bin
2020-03-03 16:15:37 +08:00
Zexi Li
37691e616d fix: docker_push uncomment build bin 2020-03-03 16:14:57 +08:00
Qu Xuan
c2a65ba1f5 add uploadpart for google 2020-03-03 14:36:11 +08:00
Qu Xuan
9287468153 fix: 谷歌云对象存储支持 2020-03-03 14:36:11 +08:00
Zexi Li
76059e8d51 Merge pull request #5324 from swordqiu/hotfix/qj-clean-upload-object-region-quota
fix: clean up pending usage no matter whether object upload is success
2020-03-03 13:14:08 +08:00
yunion-ci-robot
4668ce625a Merge pull request #5315 from ioito/hotfix/qx-rds-sync
fix: 避免旧套餐下架zone信息未知,导致同步rds异常
2020-03-03 02:18:43 +08:00
Qiu Jian
90620503da fix: clean up pending usage no matter whether object upload is success 2020-03-03 02:08:55 +08:00
yunion-ci-robot
e42b4588a6 Merge pull request #5322 from zexi/feature/monitor-service
add monitor service
2020-03-02 20:50:43 +08:00
Zexi Li
5645e4e15a add monitor service 2020-03-02 20:00:08 +08:00
yunion-ci-robot
bbf23e2a55 Merge pull request #5320 from yousong/bugfix/yousong-build
build: docker: chown _output dir to current user:group
2020-03-02 17:47:38 +08:00
Yousong Zhou
7ef61f0b93 build: docker: chown _output dir to current user:group 2020-03-02 17:33:57 +08:00
Qu Xuan
0ee6febfe8 fix: 避免旧套餐下架zone信息未知,导致同步rds异常 2020-03-02 17:07:46 +08:00
Zexi Li
37d991be4b Merge pull request #5297 from swordqiu/hotfix/qj-fix-approve-all-linux
fix: approve_all fail to pull all cherry-pick PRs
2020-03-02 09:37:46 +08:00
Zexi Li
9fe96537ed Merge pull request #5312 from wanyaoqi/bugfix/wyq/fix-bm-register
fix bm register get remote address
2020-02-28 23:57:10 +08:00
wanyaoqi
aea493c29a fix get remote address because of request is proxyed by k8s 2020-02-28 22:16:52 +08:00
yunion-ci-robot
fcda35dc71 Merge pull request #5268 from zhaoxiangchun/feature/zxc-gcpMon
谷歌云multicloud监控
2020-02-28 22:10:30 +08:00
yunion-ci-robot
7b63c63722 Merge pull request #5307 from ioito/hotfix/qx-aliyun-permission
修复aliyun没有权限获取余额问题
2020-02-28 21:57:22 +08:00
yunion-ci-robot
150ecff786 Merge pull request #5305 from yousong/feature/yousong-vpcagent
build: github: build vpcagent image
2020-02-28 21:47:20 +08:00
yunion-ci-robot
c6d6a725eb Merge pull request #5286 from wanyaoqi/bugfix/wyq/host-register-use-default-vpc
host register use default vpc
2020-02-28 21:32:20 +08:00
yunion-ci-robot
c2fba0a8b3 Merge pull request #5255 from wanyaoqi/bugfix/wyq/fix-nic-get-addr
fix nic get addr on attach multi isolated device
2020-02-28 21:03:19 +08:00
Qu Xuan
1eac67abce 修复aliyun没有权限获取余额问题 2020-02-28 19:54:33 +08:00
wanyaoqi
87f7ca81d7 host register use default vpc 2020-02-28 18:36:21 +08:00
Yousong Zhou
c41cd012ff hostman: disable services on host system when running in container 2020-02-28 18:17:45 +08:00
Yousong Zhou
472e4a1602 build: github: build vpcagent image 2020-02-28 17:28:44 +08:00
Zexi Li
0ab02b6446 Merge pull request #5303 from yousong/feature/yousong-vpcagent
build: github: add back ceph devel deps for baremetal-agent
2020-02-28 16:13:10 +08:00
Yousong Zhou
0b06e970b1 build: github: add back ceph devel deps for baremetal-agent 2020-02-28 16:09:01 +08:00
yunion-ci-robot
3fefcea828 Merge pull request #5301 from yousong/feature/yousong-vpcagent
build: github: build host with docker-alpine-build
2020-02-28 15:51:20 +08:00
Yousong Zhou
5670e2401b build: github: build host with docker-alpine-build 2020-02-28 15:26:30 +08:00
Yousong Zhou
6ef4eb9954 build: add docker-alpine-build 2020-02-28 15:26:30 +08:00
Yousong Zhou
f6d172da46 build: rename docker-build to docker-centos-build 2020-02-28 15:23:27 +08:00
zhaoxiangchun
d25a6443c2 谷歌云multicloud监控
monitor.go文件中GetMonitorData函数:
 1)首先组装参数信息
 2)通过external_id获取相关id信息,根据restAPI文档中的resource格式拼装完成monitoring相关的resource信息
 3)然后通过monitorList函数获取相关的监控信息

更新go.mod google.golang.org所依赖的google.golang.org/api版本
2020-02-28 15:01:06 +08:00
yunion-ci-robot
a5dc5b0e90 Merge pull request #5295 from tb365/bugfix/tb-bugfix-0228
vpc list add param vpc_usable
2020-02-28 14:17:21 +08:00
yunion-ci-robot
eac4dcdba4 Merge pull request #5290 from ioito/hotfix/qx-azure-region-city
添加azure region city信息
2020-02-28 13:11:19 +08:00
Zexi Li
d734da1988 Merge pull request #5266 from yousong/feature/yousong-vpcagent
vpcagent: as k8s container
2020-02-28 11:57:34 +08:00
Qu Xuan
f9def6c196 添加azure region city信息 2020-02-28 11:35:46 +08:00
TangBin
48a28a6adb vpc list add param vpc_usable 2020-02-28 11:34:49 +08:00
yunion-ci-robot
b2317f07d0 Merge pull request #5275 from ioito/hotfix/qx-gcp-change-config
fix: 谷歌云建议关机下调整配置,部分linux开机也调整不了配置
2020-02-28 09:33:19 +08:00
Qiu Jian
bb8107c129 fix: approve_all fail to pull all cherry-pick PRs 2020-02-27 22:30:20 +08:00
wanyaoqi
ae84c339d9 fix nic get pci address 2020-02-27 22:19:42 +08:00
yunion-ci-robot
0a25dfef7a Merge pull request #5277 from ioito/hotfix/qx-gcp-region-trans
fix: 新加gcp region 翻译
2020-02-27 22:05:17 +08:00
yunion-ci-robot
98854ed37b Merge pull request #5269 from tb365/bugfix/tb-bugfix-0227
huawei secgroup default vpc id fix
2020-02-27 20:52:16 +08:00
yunion-ci-robot
dcf3709b42 Merge pull request #5282 from yousong/bugfix/yousong-winbuild
vendor: bump pkg, executor module version
2020-02-27 20:08:17 +08:00
Yousong Zhou
c4397e572d build: host: adjust build method
- new host-base for native alpine utilities
 - build host with native alpine toolchain
2020-02-27 20:00:00 +08:00
Yousong Zhou
a9c4a10ac2 build: build vpcagent container 2020-02-27 20:00:00 +08:00
Yousong Zhou
bc89e8ab67 hostman: use "uname -m" for for fetch processor type
"uname -p" command from native busybox, coreutils may return "unknown".
CentOS coreutils has a patch fallback to using uts.machine if sysinfo
syscall is not available

Use "uname -m" for maximum compatibility
2020-02-27 20:00:00 +08:00
Yousong Zhou
694dab1e75 hostman: work with ovn-controller already in container 2020-02-27 20:00:00 +08:00
Yousong Zhou
7b41ac0fb2 sysutils: use remote executor for hostnamectl as far as possible
So that hostnamectl can be omitted in host-base container image
2020-02-27 20:00:00 +08:00
Yousong Zhou
7506f3f1ed vpcagent: resolve ovn db address at args validation time
Until we find a reliable way to get k8s svc dns name
2020-02-27 20:00:00 +08:00
Yousong Zhou
d6dca0d846 hostman: resolve ovn db address before setting it into ovsdb 2020-02-27 19:59:43 +08:00
Yousong Zhou
095a6b3f8b ovsutils: add NormalizeDbHost 2020-02-27 19:59:43 +08:00
Yousong Zhou
4d1e1ed6a4 vendor: bump pkg, executor module version 2020-02-27 19:39:38 +08:00
Qu Xuan
25ebd367d4 fix: 新加gcp region 翻译 2020-02-27 18:53:32 +08:00
TangBin
439d2a316e huawei secgroup default vpc id fix 2020-02-27 17:49:21 +08:00
Qu Xuan
e46609bebc fix: 谷歌云建议关机下调整配置,部分linux开机也调整不了配置 2020-02-27 16:51:35 +08:00
yunion-ci-robot
d4417f8027 Merge pull request #5261 from tb365/bugfix/tb-bugfix-0226
ctyun get vm by id fix
2020-02-27 07:18:13 +08:00
yunion-ci-robot
a2aa1c84f5 Merge pull request #5263 from rainzm/bugfix/esxi_publickey
fix(esxiagent): SSHKey was not unmarshalled correctly
2020-02-27 07:11:14 +08:00
yunion-ci-robot
d9b0f2b1e9 Merge pull request #5260 from yousong/bugfix/yousong-winbuild
[RFC] Bugfix/yousong winbuild
2020-02-27 01:13:16 +08:00
yunion-ci-robot
562f6b6e8a Merge pull request #5238 from wanyaoqi/bugfix/wyq/fix-host-init-set-reserve-memory
miscfix : host init set reserve memory
2020-02-26 23:00:15 +08:00
yunion-ci-robot
86fd8959ca Merge pull request #5236 from tb365/bugfix/tb-bugfix-0224
huawei & ctyun security group sync fix
2020-02-26 21:03:18 +08:00
wanyaoqi
4eceefdb04 makesure /etc/ceph created before connect 2020-02-26 20:42:04 +08:00
Rain
769143ca26 fix(esxiagent): SSHKey was not unmarshalled correctly 2020-02-26 20:09:38 +08:00
TangBin
bce284a4c4 ctyun vpc create fix 2020-02-26 17:36:52 +08:00
TangBin
5140a0f7a6 ctyun eip charge type fix 2020-02-26 16:31:29 +08:00
yunion-ci-robot
50b846ef5a Merge pull request #5231 from ioito/hotfix/qx-disk-reset-log
fix: 添加磁盘回滚snapshot日志
2020-02-26 15:55:14 +08:00
TangBin
5c3ba45f4d ctyun attach disk fix 2020-02-26 14:41:03 +08:00
Yousong Zhou
1fd6db15d6 build: set GOOS=linux by default 2020-02-26 11:36:48 +08:00
Yousong Zhou
f3558f7b91 appsrv: use signalutils.SetDumpStackSignal() 2020-02-26 11:36:48 +08:00
Yousong Zhou
1e283efa78 fileutils: platform specific Writable() 2020-02-26 11:36:48 +08:00
Yousong Zhou
0127b3872e procutils: exec.Cmd setsid only for linux 2020-02-26 11:36:48 +08:00
Yousong Zhou
02de12ae5b vendor: executor: add platform specific constructor for WaitStatus 2020-02-26 11:36:48 +08:00
Yousong Zhou
c41bf6f104 vendor: pkg: signalutils: add platform specific SetDumpStackSignal() 2020-02-26 11:36:48 +08:00
TangBin
c08f35b9f8 ctyun get vm by id fix 2020-02-26 11:16:42 +08:00
Zexi Li
7d2e410503 Merge pull request #5252 from swordqiu/hotfix/qj-global-endpoint-type
fix: use globalEndpointType as default endpoint type
2020-02-26 10:37:25 +08:00
yunion-ci-robot
c779ca3fd9 Merge pull request #5242 from ioito/bugfix/qx-openstack-flavor-sync
fix: 避免根磁盘小于镜像大小导致创建失败
2020-02-25 21:12:10 +08:00
yunion-ci-robot
e13a47ade7 Merge pull request #5247 from ioito/hotfix/qx-azure-change-config-error
fix: 返回azure api 错误信息
2020-02-25 20:57:12 +08:00
Qiu Jian
abfac074c3 fix: use globalEndpointType as default endpoint type 2020-02-25 20:27:59 +08:00
Qu Xuan
6e1b5ceae7 fix: 返回azure api 错误信息 2020-02-25 19:30:37 +08:00
Qu Xuan
336819c802 fix: 避免根磁盘小于镜像大小导致创建失败 2020-02-25 15:36:19 +08:00
TangBin
667a9985de huawei & ctyun security group sync fix 2020-02-24 20:07:03 +08:00
wanyaoqi
7863fc7f8a fix host register get network filter: add server_type baremetal 2020-02-24 16:36:44 +08:00
wanyaoqi
f5a0aaa8f0 fix guest network get desc 2020-02-24 16:00:55 +08:00
Qu Xuan
6b1e929a49 fix: 添加磁盘回滚snapshot日志 2020-02-24 15:58:07 +08:00
yunion-ci-robot
28249f615c Merge pull request #5186 from rainzm/feature/notify_validate
feature(notify): Validate config
2020-02-24 14:37:07 +08:00
yunion-ci-robot
8824457ab8 Merge pull request #5226 from yousong/bugfix/yousong-lbbackend-details
lbbackend: fix nil ref when getting details
2020-02-24 14:33:08 +08:00
Rain
a81004254f feature(notify): Validate config 2020-02-24 14:09:18 +08:00
wanyaoqi
914062d765 fix host init set reserve memory 2020-02-24 13:02:50 +08:00
Yousong Zhou
aad7dddabb lbbackend: fix nil ref when getting details
Return arguments of lbbackend.getVpc() can be both nil

	[E 200224 10:13:18 httperrors.HTTPError(httperrors.go:53)] Send error {"fields":["runtime error: invalid memory address or nil pointer dereference"],"id":"Internal server error: {0}"}
	...
	panic(0x27da0c0, 0x57f4ff0)
		/usr/local/go/src/runtime/panic.go:522 +0x1b5
	yunion.io/x/onecloud/pkg/compute/models.(*SLoadbalancerBackend).GetExtraDetails(0xc0002af680, 0x33cde20, 0xc0010e61e0, 0x34246c0, 0xc008893de0, 0x341d940, 0xc012fe69d0, 0x1, 0x0, 0x0, ...)
		/data/git/yunion-build/work/go/src/yunion.io/x/onecloud/pkg/compute/models/loadbalancerbackends.go:314 +0x37c
	reflect.Value.call(0x2d87a00, 0xc0002af680, 0x8a13, 0x2db0aa8, 0x4, 0xc0044ad680, 0x4, 0x4, 0x2bd5d60, 0xc002a29cf0, ...)
		/usr/local/go/src/reflect/value.go:447 +0x461
	reflect.Value.Call(0x2d87a00, 0xc0002af680, 0x8a13, 0xc0044ad680, 0x4, 0x4, 0x2d87a00, 0xc0002af680, 0x16)
		/usr/local/go/src/reflect/value.go:308 +0xa4
	yunion.io/x/onecloud/pkg/cloudcommon/db.callFunc(0x2d87a00, 0xc0002af680, 0x8a13, 0xc000951688, 0x4, 0x4, 0xc0002af680, 0x8a13, 0x2dc0527, 0xb, ...)
		/data/git/yunion-build/work/go/src/yunion.io/x/onecloud/pkg/cloudcommon/db/caller.go:78 +0x397
	...
	[I 200224 10:13:18 appsrv.(*Application).ServeHTTP(appsrv.go:237)] MfQCvNyik-obRBzFjFZy5ARfXcE= 500 5c1d82 GET /loadbalancerbackends?backend_group=Yunion-Tools&details=true&limit=20&offset=0 (10.40.156.64:57606) 57.90ms

Fixes 76d974f6d ("feature: api -> response struct")
2020-02-24 10:22:56 +08:00
yunion-ci-robot
c056778290 Merge pull request #5224 from tb365/bugfix/tb-bugfix-0221
network query by ip fix
2020-02-23 18:51:02 +08:00
yunion-ci-robot
f769129780 Merge pull request #5222 from wanyaoqi/bugfix/wyq/misc-20200220
region misc fix:
2020-02-21 23:36:59 +08:00
TangBin
1b72c387d1 network query by ip fix 2020-02-21 18:53:20 +08:00
wanyaoqi
981222867f region misc fix:
- guest postpaid expire support set expire time
- list instance snapshot sub snapshot return size
2020-02-21 17:17:30 +08:00
Zexi Li
dac8452cc9 Merge pull request #5217 from rainzm/bugfix/host_storage_size
fix: Storage filter not work for Esxi
2020-02-21 16:44:13 +08:00
yunion-ci-robot
0f6ccc126c Merge pull request #5199 from tb365/bugfix/tb-bugfix-0220
Bugfix/tb bugfix 0220
2020-02-21 15:52:35 +08:00
yunion-ci-robot
6a5bc9fbdf Merge pull request #5196 from ioito/hotfix/qx-gcp-win-change-config
fix: gcp win os not support change config when vm running
2020-02-21 15:44:33 +08:00
Rain
2262cb0123 fix: Storage filter not work for Esxi
1. SESXiGuestDriver.DoScheduleStorageFilter should return true.
2. ESXi's SHost.GetStorageSizeMB should return the capacity of all the
storage belonging to it.
2020-02-21 15:03:08 +08:00
yunion-ci-robot
9a623e2d93 Merge pull request #5213 from ioito/hotfix/qx-gcp-trans
fix: 添加gcp region中文翻译
2020-02-20 21:13:32 +08:00
yunion-ci-robot
909bc80d37 Merge pull request #5198 from ioito/hotfix/qx-azure-longitude-fix
fix: 修复azure坐标问题,添加新的azure region城市信息
2020-02-20 20:57:32 +08:00
yunion-ci-robot
26d1b8a9f1 Merge pull request #5208 from swordqiu/hotfix/qj-reset-limit-default-2048
fix: reset paging limit to 2048 from 20
2020-02-20 20:01:28 +08:00
Qu Xuan
1829b87c33 fix: 添加gcp region中文翻译 2020-02-20 17:37:00 +08:00
yunion-ci-robot
7c16abcc8b Merge pull request #5191 from ioito/hotfix/qx-aliyun-new-region
fix: add aliyun new region info
2020-02-20 16:14:29 +08:00
yunion-ci-robot
d66469a4ca Merge pull request #5187 from ioito/hotfix/qx-gcp-disk-format
fix: 填充gcp disk_format字段
2020-02-20 15:26:28 +08:00
Qiu Jian
b8b1740366 fix: reset paging limit to 2048 from 20 2020-02-20 15:16:01 +08:00
Qu Xuan
53c976ae11 fix: 修复azure坐标问题,添加新的azure region城市信息 2020-02-20 14:54:05 +08:00
TangBin
e022bf52c1 huawei cloud create bugfix 2020-02-20 14:47:15 +08:00
TangBin
b2a0fba5ac cloud region city list add default limit 2048 2020-02-20 14:14:32 +08:00
Qu Xuan
2015dc4764 fix: gcp win os not support change config when vm running 2020-02-20 11:57:03 +08:00
Qu Xuan
d8460a321f fix: add aliyun new region info 2020-02-20 11:04:22 +08:00
Qu Xuan
f026980f96 fix: 填充gcp disk_format字段 2020-02-20 10:44:26 +08:00
yunion-ci-robot
d64a36c96a Merge pull request #5181 from tb365/bugfix/tb-bugfix-0219
Bugfix/tb bugfix 0219
2020-02-19 19:17:26 +08:00
tangbin
b24c48a8c2 huawei http listener sync fix 2020-02-19 18:45:03 +08:00
tangbin
619cc17dd4 aws rebuild root fix 2020-02-19 18:18:19 +08:00
yunion-ci-robot
eefe71add4 Merge pull request #5178 from rainzm/bugfix/create_disk_for_vmware
fix(esxi): No distinction between ordinary scsi and pvscsi when creating disks
2020-02-19 17:49:26 +08:00
tangbin
1b86d6300a aws listener sync fix 2020-02-19 17:09:53 +08:00
Rain
df3b77b764 fix(esxi): No distinction between ordinary scsi and pvscsi when creating disks
parascsi 是 vmware 中一种高性能的 scsi 控制器。

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

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

此外,在 CloneVM 的时候,如果支持,优先使用 parascsi。
2020-02-19 16:35:15 +08:00
yunion-ci-robot
c0eb4d1e29 Merge pull request #5145 from tb365/bugfix/tb-elb-bugfix-0114
qcloud elb sync
2020-02-19 16:03:27 +08:00
Yousong Zhou
893f336a55 Merge pull request #5173 from swordqiu/hotfix/qj-sync-provider-with-account-status-change
fix: sync cloud provider should change its cloud account's sync_status
2020-02-19 16:02:30 +08:00
yunion-ci-robot
231c124caf Merge pull request #5097 from rainzm/feature/create_vm_by_provider
feature: Specify cloud provider when creating vm
2020-02-19 14:49:26 +08:00
yunion-ci-robot
17f8e2a69a Merge pull request #5162 from tb365/bugfix/tb-bugfix-0218
huawei elb backend vpc validate fix
2020-02-19 13:34:26 +08:00
yunion-ci-robot
d82bd40601 Merge pull request #5167 from ioito/hotfix/qx-openstack-port-sync
fix: 避免将虚拟机ip同步到弹性网卡
2020-02-19 12:34:28 +08:00
yunion-ci-robot
692a4481e1 Merge pull request #5159 from yousong/bugfix/yousong-lbagent
region: lbagent: deploy: use 'public' endpoint type
2020-02-19 12:03:26 +08:00
Qiu Jian
aafec107fb fix: sync cloud provider should change its cloud account's sync_status 2020-02-19 11:44:24 +08:00
yunion-ci-robot
1e328ab028 Merge pull request #5156 from swordqiu/hotfix/qj-add-climc-helper-scripts
fix: add climc helper scripts into docker images
2020-02-19 02:40:26 +08:00
Zexi Li
8b17168154 Merge pull request #5151 from swordqiu/hotfix/qj-adjust-some-default
fix: 1. adjust default response header timer to 30 seconds 2. set default paging limit to 20
2020-02-19 02:29:30 +08:00
Yousong Zhou
65a99551c2 lbagent: fix config for sticky session cookie
- account for user specific cookie name for insert mode
 - dont tamper cache instructions from backend server for server mode
2020-02-18 20:54:12 +08:00
Yousong Zhou
8090a3fab4 region: lbagent: deploy: use 'public' endpoint type 2020-02-18 20:54:12 +08:00
Qu Xuan
082fe1e764 fix: 避免将虚拟机ip同步到弹性网卡 2020-02-18 15:36:20 +08:00
yunion-ci-robot
b621135c35 Merge pull request #5138 from ioito/hotfix/qx-guest-filter
fix: 避免未过滤掉同一个network底下的guest
2020-02-18 14:38:40 +08:00
tangbin
4d79b9612e huawei elb backend vpc validate fix 2020-02-18 14:11:37 +08:00
yunion-ci-robot
86cc07162c Merge pull request #5132 from zhaoxiangchun/feature/zxc-zstackMon
zstack监控功能
2020-02-18 12:05:40 +08:00
Rain
5170778767 feature: Specify cloud provider when creating vm
Specifying the eip is equivalent to specifying the cloudprovider when
creating vm.
2020-02-18 11:33:13 +08:00
zhaoxiangchun
6a54c88d29 gencopyright信息 2020-02-18 11:32:21 +08:00
zhaoxiangchun
288670c1b7 zstack监控功能
monitor.go中GetMonitorData函数通过传入的参数拼装请求参数,然后调用zstack.go中的getMonitor(),通过GET请求,获取相应的指标监控数据
2020-02-18 11:32:21 +08:00
Qiu Jian
d4c557b64d fix: add climc helper scripts into docker images 2020-02-18 10:14:51 +08:00
yunion-ci-robot
ee65ebd77d Merge pull request #5136 from yousong/bugfix/yousong-ocvpc-del
regiondrivers: kvm: dummy impl for RequestDeleteVpc
2020-02-18 09:44:39 +08:00
yunion-ci-robot
7eafebd63b Merge pull request #5143 from wanyaoqi/bugfix/wyq/misc-fix-200217
misc bugfix: check scsi driver on add disk
2020-02-18 09:39:38 +08:00
Qiu Jian
e9ce04699b fix: 1. adjust default response header timer to 30 seconds 2. set
default paging limit to 20
2020-02-18 08:52:23 +08:00
yunion-ci-robot
5035ff7338 Merge pull request #5130 from tb365/bugfix/tb-bugfix-021501
Bugfix/tb bugfix 021501
2020-02-18 08:14:38 +08:00
TangBin
18cad47a00 qcloud elb sync 2020-02-17 22:15:08 +08:00
wanyaoqi
9daf86778d check scsi driver on add disk 2020-02-17 21:57:15 +08:00
yunion-ci-robot
dfaadc0999 Merge pull request #5128 from tb365/bugfix/tb-bugfix-0215
huawei userdata fix
2020-02-17 21:52:37 +08:00
Qu Xuan
cb0ff34740 fix: 避免未过滤掉同一个network底下的guest 2020-02-17 20:50:02 +08:00
Yousong Zhou
4dbea204a8 regiondrivers: kvm: dummy impl for RequestDeleteVpc
Regression since 4a6a4c594a ("feature:
google云操作支持")

	Feb 17 15:53:12 titan-10-168-222-196 region[20940]: [I 200217 15:53:12 appsrv.(*Application).ServeHTTP(appsrv.go:237)] Ao9tyX8XY4DXa3tBiUyXgPm_ipc= 200 f7a73c DELETE /vpcs/vpc1 (10.168.222.196:46354) 723.91ms
	Feb 17 15:53:13 titan-10-168-222-196 region[20940]: [E 200217 15:53:13 tasks.(*VpcDeleteTask).taskFailed(vpc_delete_task.go:41)] vpc delete task fail: RequestDeleteVpc: Not implement RequestDeleteVpc
	Feb 17 15:53:13 titan-10-168-222-196 region[20940]: [I 200217 15:53:13 taskman.(*STask).SetStageFailed(tasks.go:636)] XXX TASK VpcDeleteTask failed: RequestDeleteVpc: Not implement RequestDeleteVpc on stage OnDeleteVpcComplete
	Feb 17 15:53:13 titan-10-168-222-196 region[20940]: [I 200217 15:53:13 taskman.(*STask).NotifyParentTaskComplete(tasks.go:648)] notify_parent_task_complete: VpcDeleteTask params {"__failed_reason":"RequestDeleteVpc: Not implement RequestDeleteVpc","__request_context":{"request_id":"f7a73c","service_name":"compute_v2","trace":{"debug":true,"duration":0,"id":"0","kind":"SERVER","local_endpoint":{"port":0,"service_name":"compute_v2"},"name":"delete","remote_endpoint":{"addr":"10.168.222.196","port":46354,"service_name":"(unknown_service)"},"shared":false,"tags":{"resource":"vpcs"},"timestamp":"2020-02-17T07:53:12.052219Z","trace_id":"5cf3e014"}},"__stages":[{"complete_at":"2020-02-17T15:53:12Z","name":"on_init"},{"complete_at":"2020-02-17T15:53:13Z","name":"OnDeleteVpcComplete"}]}
2020-02-17 16:18:59 +08:00
tangbin
137712ffa3 ctyun custom image create bugfix 2020-02-15 17:29:48 +08:00
tangbin
5f2beae099 ctyun sync fix 2020-02-15 16:55:30 +08:00
tangbin
8174145cd2 huawei sync fix 2020-02-15 15:51:08 +08:00
tangbin
b7737c41d1 huawei userdata fix 2020-02-15 12:55:53 +08:00
yunion-ci-robot
22745cfbf5 Merge pull request #5126 from ioito/hotfix/qx-metdata-detail
fix: 添加host标签返回值
2020-02-15 07:57:05 +08:00
yunion-ci-robot
28a5c76611 Merge pull request #5115 from tb365/bugfix/tb-bugfix-0213
aws userdata bugfix
2020-02-15 00:01:07 +08:00
Qu Xuan
f8694ea0c0 fix: 添加host标签返回值 2020-02-14 20:45:30 +08:00
tangbin
9b489c260f aws userdata bugfix 2020-02-14 19:34:55 +08:00
yunion-ci-robot
a117f1d748 Merge pull request #5124 from ioito/bugfix/qx-guest-detail
fix: disks_info typo
2020-02-14 18:21:06 +08:00
Qu Xuan
6bd97ef144 fix: disks_info typo 2020-02-14 17:50:25 +08:00
yunion-ci-robot
b3628c78fd Merge pull request #5121 from rainzm/bugfix/vmware_save_image
fix(esxiagent): Delete image backup file after saving to glance instead of before
2020-02-14 17:41:07 +08:00
Rain
df737c5559 fix(esxiagent): Delete image backup file after saving to glance instead of before 2020-02-14 17:15:32 +08:00
yunion-ci-robot
e862f1fb6a Merge pull request #5117 from ioito/hotfix/qx-gcp-region
fix: 谷歌新加region翻译
2020-02-14 15:39:04 +08:00
Qu Xuan
e1e21608b1 fix: 谷歌新加region翻译 2020-02-14 14:42:54 +08:00
yunion-ci-robot
e8c445f567 Merge pull request #5106 from rainzm/bugfix/template_init
fix(notify): Set some default template
2020-02-14 12:19:03 +08:00
yunion-ci-robot
27f65c37ab Merge pull request #5111 from zexi/feature/server-list-by-sn
region: server list by host sn
2020-02-14 12:06:04 +08:00
Zexi Li
53184acbce region: server list by host sn 2020-02-13 21:06:49 +08:00
Rain
0fe4f5ca1c fix(notify): Set some default template 2020-02-13 16:50:10 +08:00
yunion-ci-robot
1ee2038cc5 Merge pull request #5087 from rainzm/bugfix/esxi_storage_cache
fix(esxi): Create one if no suitable driver exists when creating disk
2020-02-13 14:36:04 +08:00
yunion-ci-robot
059c535c04 Merge pull request #5083 from tb365/bugfix/tb-bugfix-0211
Bugfix/tb bugfix 0211
2020-02-13 12:16:03 +08:00
tangbin
3642f9360d ctyun vm create fix 2020-02-13 11:43:28 +08:00
yunion-ci-robot
746c43e8d7 Merge pull request #5092 from bistuzx/master
update account bucket options
2020-02-13 03:47:01 +08:00
yunion-ci-robot
080b44229a Merge pull request #5085 from zexi/feature/webconsole-b64-encode
webconsole: use base64 encode connect_params
2020-02-12 22:13:01 +08:00
张旭
71f87ba109 update account bucket options 2020-02-12 18:03:23 +08:00
Rain
57f9dd38e6 fix(esxi): Create one if no suitable driver when creating disk 2020-02-12 15:23:03 +08:00
yunion-ci-robot
141bcc4d91 Merge pull request #5061 from zhaoxiangchun/feature/zxc-esxiMon
multicloud的vmware监控功能
2020-02-12 15:21:01 +08:00
Zexi Li
0b3ef91083 webconsole: use base64 encode connect_params 2020-02-12 11:42:52 +08:00
tangbin
e2ca8e4188 add more log 2020-02-11 20:09:36 +08:00
tangbin
cdba3af5e8 eip dissociate bugfixC 2020-02-11 19:23:19 +08:00
tangbin
73b4f028e0 fix create sys disk snapshot 2020-02-11 19:22:25 +08:00
yunion-ci-robot
c83becd67b Merge pull request #5081 from rainzm/bugfix/for_pr_4921
fix: Fix the bug introduced by pr #4921
2020-02-11 19:14:58 +08:00
yunion-ci-robot
0714781338 Merge pull request #5077 from ioito/bugfix/qx-gcp-rule-sync
fix: 修复gcp出方向规则同步问题
2020-02-11 17:38:02 +08:00
yunion-ci-robot
c848bae7c5 Merge pull request #5072 from ioito/hotfix/qx-metadata-rbac-check
fix: 忽略无权限的资源标签
2020-02-11 17:19:58 +08:00
Rain
762fcd90cf fix: Fix the bug introduced by pr #4921
1. The display problem of contact and notification in notify.
2. The display problem of snat's network info.
2020-02-11 16:49:36 +08:00
tangbin
bbc855c85e fix ctyun os version 2020-02-11 16:40:48 +08:00
zhaoxiangchun
07adad86ca multicloud的vmware监控功能
monitor.go中GetMonitorData()函数获取监控数据
2020-02-11 00:38:42 +08:00
Qu Xuan
1fb8a20a61 fix: 修复gcp出方向规则同步问题 2020-02-10 18:43:47 +08:00
Qu Xuan
685b27c020 fix: 忽略无权限的资源标签 2020-02-10 16:43:43 +08:00
Zexi Li
b463203902 Merge pull request #5050 from ioito/hotfix/qx-model-detail
统一 details -> isList
2020-02-10 11:12:21 +08:00
yunion-ci-robot
dcb89df2f8 Merge pull request #5052 from swordqiu/hotfix/qj-progressive-update-image-size
fix: progressively update image size while uploading
2020-02-10 10:33:59 +08:00
yunion-ci-robot
8974d4a742 Merge pull request #5065 from swordqiu/hotfix/qj-host-deployer-windows-empty-domain
fix: allow empty domain for windows deployment
2020-02-10 10:31:56 +08:00
Qiu Jian
4e474e9482 fix: progressively update image size while uploading 2020-02-10 09:28:45 +08:00
Qiu Jian
4cfc2da970 fix: allow empty domain for windows deployment 2020-02-10 09:19:10 +08:00
yunion-ci-robot
bc099768c9 Merge pull request #5054 from swordqiu/hotfix/qj-no-sync-created-at-for-servers
fix: createdAt should not be synced when update
2020-02-09 22:08:58 +08:00
Qiu Jian
558d4c2019 fix: createdAt should not be synced when update 2020-02-08 21:04:38 +08:00
Qu Xuan
366cbd4e36 统一 details -> isList 2020-02-07 17:54:48 +08:00
yunion-ci-robot
1aa17be179 Merge pull request #5048 from ioito/hotfix/qx-google-validate-create
fix: google e2不支持本地盘
2020-02-07 16:42:51 +08:00
Qu Xuan
9bd5f3a424 fix: google e2不支持本地盘 2020-02-07 16:05:40 +08:00
yunion-ci-robot
1d8990f7fa Merge pull request #5044 from ioito/hotfix/qx-guest-keypair
fix: guest创建兼容keypair参数
2020-02-07 15:59:52 +08:00
Qu Xuan
c93d16db59 fix: guest创建兼容keypair参数 2020-02-07 15:08:20 +08:00
Zexi Li
091e116c53 Merge pull request #5007 from swordqiu/feature/qj-customize-api-docs-auth-quota
feature: fix customized API documents for authenticate and quota
2020-02-07 13:11:09 +08:00
Zexi Li
3bba4a11e8 Merge pull request #5042 from wanyaoqi/feature/wyq/baremetal-register-add-update
bm register support update baremetal
2020-02-07 13:04:07 +08:00
Zexi Li
805d0bf18d Merge pull request #5026 from swordqiu/hotfix/qj-api-rpc-redundant-response
fix: api gateway rpc handler redundant response
2020-02-07 13:03:11 +08:00
yunion-ci-robot
978e1439d9 Merge pull request #5038 from ioito/hotfix/qx-cloud-account-create-check
fix: 避免因tenantcache未缓存tenant导致创建云账号失败
2020-02-07 04:53:51 +08:00
yunion-ci-robot
d064882903 Merge pull request #5032 from tb365/bugfix/tb-bugfix-0206
aws create with eip fix
2020-02-07 04:49:50 +08:00
wanyaoqi
49b9557d23 bm register support update baremetal 2020-02-06 22:22:38 +08:00
Qu Xuan
3d68e95a9f fix: 避免因tenantcache未缓存tenant导致创建云账号失败 2020-02-06 18:27:14 +08:00
yunion-ci-robot
fe49fcb016 Merge pull request #5029 from ioito/bugfix/qx-gcp-secgrp-sync
fix: 修复gcp安全组同步问题
2020-02-06 17:51:50 +08:00
tangbin
4dfeb6cb30 aws create with eip fix 2020-02-06 17:47:01 +08:00
Qu Xuan
5ec366f5fd fix: 修复gcp安全组同步问题 2020-02-06 17:01:45 +08:00
Qiu Jian
03f1d3cf33 fix: api gateway rpc handler redudant response 2020-02-06 16:57:47 +08:00
yunion-ci-robot
3bb24c8173 Merge pull request #5021 from ioito/upstream/qx-linux-userdata
fix: 避免因大小写导致linux未注入默认用户
2020-02-06 13:48:51 +08:00
Qu Xuan
8937347bc9 fix: 避免因大小写导致linux未注入默认用户 2020-02-06 12:00:14 +08:00
yunion-ci-robot
95cf064d44 Merge pull request #5014 from swordqiu/hotfix/qj-support-empty-dns-domain
fix: support empty dns domain
2020-02-06 09:38:48 +08:00
yunion-ci-robot
53c2fab0c1 Merge pull request #5012 from swordqiu/hotfix/qj-network-update-fix
fix: network update error caused by vpc feature
2020-02-06 09:33:48 +08:00
Qiu Jian
a30e0d4586 fix: support empty dns domain 2020-02-06 03:23:28 +08:00
Qiu Jian
679845080b fix: network update error caused by vpc feature 2020-02-06 03:07:52 +08:00
yunion-ci-robot
a79b0d81df Merge pull request #5010 from yousong/bugfix/yousong-vpc
vpcagent: ignore external stub guestnetworks
2020-02-06 01:49:53 +08:00
Qiu Jian
91711a1321 feature: fix customized API documents for authenticate and quota 2020-02-06 01:45:15 +08:00
Yousong Zhou
a18e246363 vpcagent: ignore external stub guestnetworks 2020-02-05 11:27:41 +08:00
yunion-ci-robot
98df377b4d Merge pull request #5008 from yousong/bugfix/yousong-vpc
hostman: fix hostinfo init interrupted by ovn chassis setup
2020-02-05 10:22:47 +08:00
Yousong Zhou
b40e0d9de7 hostman: fix hostinfo init interrupted by ovn chassis setup
Causing sysinfo.SSystemInfo not initialized

[E 200205 09:45:49 timeutils2.AddTimeout.func1.1(timeutils.go:31)] runtime error: invalid memory address or nil pointer dereference
goroutine 405 [running]:
runtime/debug.Stack(0x551210, 0xc0000de1c0, 0x0)
        /opt/hostedtoolcache/go/1.12.16/x64/src/runtime/debug/stack.go:24 +0x9d
runtime/debug.PrintStack()
        /opt/hostedtoolcache/go/1.12.16/x64/src/runtime/debug/stack.go:16 +0x22
yunion.io/x/onecloud/pkg/util/timeutils2.AddTimeout.func1.1()
        /home/runner/work/onecloud/onecloud/pkg/util/timeutils2/timeutils.go:32 +0x96
panic(0x1b208e0, 0x3bd1880)
        /opt/hostedtoolcache/go/1.12.16/x64/src/runtime/panic.go:522 +0x1b5
yunion.io/x/onecloud/pkg/hostman/hostinfo.(*SHostInfo).updateHostRecord(0xc0009a8a80, 0xc000aff3b0, 0x24)
        /home/runner/work/onecloud/onecloud/pkg/hostman/hostinfo/hostinfo.go:866 +0xbba
yunion.io/x/onecloud/pkg/hostman/hostinfo.(*SHostInfo).getHostInfo(0xc0009a8a80, 0xc00099a510, 0x24)
        /home/runner/work/onecloud/onecloud/pkg/hostman/hostinfo/hostinfo.go:782 +0x37d
yunion.io/x/onecloud/pkg/hostman/hostinfo.(*SHostInfo).getZoneInfo(0xc0009a8a80, 0xc00099a4b0, 0x24, 0x0)
        /home/runner/work/onecloud/onecloud/pkg/hostman/hostinfo/hostinfo.go:760 +0x55c
yunion.io/x/onecloud/pkg/hostman/hostinfo.(*SHostInfo).onGetWireId(0xc0009a8a80, 0xc000aff2f0, 0x24)
        /home/runner/work/onecloud/onecloud/pkg/hostman/hostinfo/hostinfo.go:734 +0x16a
yunion.io/x/onecloud/pkg/hostman/hostinfo.(*SHostInfo).fetchAccessNetworkInfo(0xc0009a8a80)
        /home/runner/work/onecloud/onecloud/pkg/hostman/hostinfo/hostinfo.go:719 +0x3ee
yunion.io/x/onecloud/pkg/hostman/hostinfo.(*SHostInfo).register(...)
        /home/runner/work/onecloud/onecloud/pkg/hostman/hostinfo/hostinfo.go:662
yunion.io/x/onecloud/pkg/util/timeutils2.AddTimeout.func1(0x77359400, 0xc000925520)
        /home/runner/work/onecloud/onecloud/pkg/util/timeutils2/timeutils.go:37 +0x6b
created by yunion.io/x/onecloud/pkg/util/timeutils2.AddTimeout
        /home/runner/work/onecloud/onecloud/pkg/util/timeutils2/timeutils.go:28 +0x49
2020-02-05 10:06:33 +08:00
yunion-ci-robot
d6f6ce5251 Merge pull request #5005 from yousong/bugfix/yousong-vpc
hostman: skip setting up ovn chassis when env support is not ready
2020-02-05 02:14:45 +08:00
yunion-ci-robot
26fe4abe85 Merge pull request #4996 from zhaoxiangchun/feature/zxc-azureMon
azure的主机监控信息的获取
2020-02-05 01:50:49 +08:00
Yousong Zhou
0c258408e1 hostman: skip setting up ovn chassis when env support is not ready 2020-02-04 17:12:25 +08:00
Yousong Zhou
985326a7ad hostman: fix detection of ovn controller version 2020-02-04 17:12:25 +08:00
Zexi Li
7a0ea299b8 Merge pull request #4921 from ioito/feature/qx-extra-detail
Feature/qx extra detail
2020-02-04 15:55:44 +08:00
zhaoxiangchun
b474ee30de modify files by github comments 2020-02-04 10:23:09 +08:00
zhaoxiangchun
7adcab4c63 azure的主机监控信息的获取
monitor.go中的GetMonitorData函数完成参数的组装,查询获取监控信息
2020-02-03 21:18:03 +08:00
Qu Xuan
76d974f6d8 feature: api -> response struct 2020-02-03 10:22:44 +08:00
6717 changed files with 952300 additions and 316046 deletions

View File

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

View File

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

View File

@@ -1,4 +1,7 @@
/.git
/vendor
/cmd
/pkg
_output/alpine-build/_cache
pkg
vendor
cmd
locales
docs
scripts

View File

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

View File

@@ -17,10 +17,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.12
- name: Set up Go 1.14
uses: actions/setup-go@v1
with:
go-version: 1.12
go-version: 1.14
id: go
- name: Check out code into the Go module directory
@@ -29,17 +29,38 @@ jobs:
- name: Build
run: |
sudo apt-get update
sudo apt-get install librados-dev librbd-dev
make cmd/apigateway cmd/climc cmd/keystone
make cmd/logger cmd/region cmd/scheduler cmd/webconsole
make cmd/yunionconf cmd/glance cmd/torrent cmd/s3gateway
make cmd/ansibleserver cmd/cloudnet cmd/notify
make cmd/host && ./scripts/bundle_libraries.sh _output/bin/bundles/host _output/bin/host && ./scripts/host_find_libraries.sh _output/bin/bundles/host
make cmd/host-deployer && ./scripts/bundle_libraries.sh _output/bin/bundles/host-deployer _output/bin/host-deployer
sudo apt-get install librados-dev librbd-dev # baremetal-agent needs this
make cmd/baremetal-agent && ./scripts/bundle_libraries.sh _output/bin/bundles/baremetal-agent _output/bin/baremetal-agent
make cmd/cloudevent cmd/devtool
make cmd/*cli
make cmd/esxi-agent
make docker-alpine-build F='-j4 cmd/host cmd/vpcagent cmd/region-dns make cmd/apigateway cmd/climc cmd/keystone make cmd/logger cmd/region cmd/scheduler cmd/webconsole make cmd/yunionconf cmd/glance cmd/torrent cmd/s3gateway make cmd/ansibleserver cmd/cloudnet cmd/notify make cmd/host-deployer make cmd/cloudevent cmd/devtool cmd/cloudid make cmd/*cli make cmd/esxi-agent'
- name: Image region
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/region
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.region
- name: Image host
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/host
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.host
- name: Image host-deployer
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/host-deployer
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.host-deployer
- name: Image baremetal-agent
uses: elgohr/Publish-Docker-Github-Action@master
@@ -61,6 +82,16 @@ jobs:
snapshot: true
dockerfile: build/docker/Dockerfile.esxi-agent
- name: Image vpcagent
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/vpcagent
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.vpcagent
- name: Image climc
uses: elgohr/Publish-Docker-Github-Action@master
with:
@@ -91,16 +122,6 @@ jobs:
snapshot: true
dockerfile: build/docker/Dockerfile.logger
- name: Image region
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/region
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.region
- name: Image scheduler
uses: elgohr/Publish-Docker-Github-Action@master
with:
@@ -171,26 +192,6 @@ jobs:
snapshot: true
dockerfile: build/docker/Dockerfile.notify
- name: Image host
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/host
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.host
- name: Image host-deployer
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/host-deployer
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.host-deployer
- name: Image cloudevent
uses: elgohr/Publish-Docker-Github-Action@master
with:
@@ -201,6 +202,16 @@ jobs:
snapshot: true
dockerfile: build/docker/Dockerfile.cloudevent
- name: Image cloudid
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/cloudid
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.cloudid
- name: Image devtool
uses: elgohr/Publish-Docker-Github-Action@master
with:
@@ -210,3 +221,13 @@ jobs:
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.devtool
- name: Image region DNS
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/region-dns
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.region-dns

7
.gitignore vendored
View File

@@ -30,7 +30,14 @@ _output
/relay
/structargtest
.idea
.vscode
intellij.yaml
GPATH
GRTAGS
GTAGS
pkg/generated
*.orig
# gotext extracted
out.gotext.json

View File

@@ -15,7 +15,7 @@ addons:
language: go
go:
- 1.12.x
- 1.14.x
go_import_path: yunion.io/x/onecloud
cache:
directories:

View File

@@ -9,8 +9,8 @@ BUILD_SCRIPT := $(ROOT_DIR)/build/build.sh
ifeq ($(ONECLOUD_CI_BUILD),)
GIT_COMMIT := $(shell git rev-parse --short HEAD)
GIT_BRANCH := $(shell git name-rev --name-only HEAD)
GIT_VERSION := $(shell git describe --tags --abbrev=14 $(GIT_COMMIT)^{commit})
GIT_BRANCH := $(shell git branch -r --contains | head -1 | sed -E -e "s%(HEAD ->|origin|upstream)/?%%g" | xargs)
GIT_VERSION := $(shell git describe --always --tags --abbrev=14 $(GIT_COMMIT)^{commit})
GIT_TREE_STATE := $(shell s=`git status --porcelain 2>/dev/null`; if [ -z "$$s" ]; then echo "clean"; else echo "dirty"; fi)
BUILD_DATE := $(shell date -u +'%Y-%m-%dT%H:%M:%SZ')
else
@@ -51,6 +51,7 @@ ifdef LIBQEMUIO_PATH
X_CGO_LDFLAGS := ${CGO_LDFLAGS_ENV} -laio -lqemuio -lpthread -L ${LIBQEMUIO_PATH}/src
endif
export GOOS ?= linux
export GO111MODULE:=on
export CGO_CFLAGS = ${X_CGO_CFLAGS}
export CGO_LDFLAGS = ${X_CGO_LDFLAGS}
@@ -75,7 +76,7 @@ install: prepare_dir
gencopyright:
@sh scripts/gencopyright.sh pkg cmd
@bash scripts/gencopyright.sh pkg cmd
test:
@go test $(GO_BUILD_FLAGS) $(shell go list ./... | egrep -v 'host-image|hostimage')
@@ -162,9 +163,15 @@ goimports-check:
fi
.PHONY: goimports-check
vet-check:
./scripts/vet.sh gen
./scripts/vet.sh chk
.PHONY: vet-check
check: fmt-check
check: gendocgo-check
check: goimports-check
check: vet-check
.PHONY: check
@@ -187,48 +194,84 @@ dep:
@$(MAKE) mod
mod:
go get $(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'))
go mod tidy
go mod vendor -v
DOCKER_BUILD_IMAGE_VERSION?=latest
DOCKER_CENTOS_BUILD_IMAGE?=registry.cn-beijing.aliyuncs.com/yunionio/centos-build:1.1-3
define dockerBuildCmd
define dockerCentOSBuildCmd
set -o xtrace
set -o errexit
set -o pipefail
cd /home/build/onecloud
cd /root/onecloud
export GOFLAGS=-mod=vendor
make $(1)
chown -R $(shell id -u):$(shell id -g) _output
endef
docker-build: export dockerBuildCmd:=$(call dockerBuildCmd,$(F))
docker-build:
echo "$$dockerBuildCmd"
docker-centos-build: export dockerCentOSBuildCmd:=$(call dockerCentOSBuildCmd,$(F))
docker-centos-build:
docker rm --force onecloud-ci-build &>/dev/null || true
docker run \
--name onecloud-ci-build \
--name onecloud-docker-centos-build \
--rm \
--volume $(CURDIR):/home/build/onecloud \
yunionio/onecloud-ci:$(DOCKER_BUILD_IMAGE_VERSION) \
/bin/bash -c "$$dockerBuildCmd"
--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-build-stop:
docker stop --time 0 onecloud-ci-build || true
docker-centos-build-stop:
docker stop --time 0 onecloud-docker-centos-build || true
.PHONY: docker-build
.PHONY: docker-build-stop
.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
make docker-build F='-j4'
make docker-build F='-j4 cmd/region cmd/climc'
make docker-build-stop
make docker-centos-build F='-j4'
make docker-centos-build F='-j4 cmd/region cmd/climc'
make docker-centos-build-stop
make docker-alpine-build F='-j4'
make docker-alpine-build F='-j4 cmd/host cmd/host-deployer'
make docker-alpine-build-stop
Tidy up go modules and vendor directory
@@ -256,17 +299,23 @@ gen-swagger: gen-swagger-check
$(ROOT_DIR)/scripts/codegen.py swagger-code
$(ROOT_DIR)/scripts/codegen.py swagger-yaml
swagger-serve: gen-swagger
swagger-serve-only:
$(ROOT_DIR)/scripts/codegen.py swagger-serve
.PHONY: gen-model-api-check gen-model-api gen-swagger-check gen-swagger swagger-serve
swagger-serve: gen-model-api gen-swagger swagger-serve-only
swagger-site: gen-model-api gen-swagger
$(ROOT_DIR)/scripts/codegen.py swagger-site
.PHONY: gen-model-api-check gen-model-api gen-swagger-check gen-swagger swagger-serve swagger-site
REGISTRY ?= "registry.cn-beijing.aliyuncs.com/yunionio"
VERSION ?= $(shell git describe --exact-match 2> /dev/null || \
git describe --match=$(git rev-parse --short=8 HEAD) --always --dirty --abbrev=8)
image:
TAG=$(VERSION) REGISTRY=$(REGISTRY) $(ROOT_DIR)/scripts/docker_push.sh $(filter-out $@,$(MAKECMDGOALS))
mkdir -p $(ROOT_DIR)/_output
DEBUG=$(DEBUG) ARCH=$(ARCH) TAG=$(VERSION) REGISTRY=$(REGISTRY) $(ROOT_DIR)/scripts/docker_push.sh $(filter-out $@,$(MAKECMDGOALS))
.PHONY: image

View File

@@ -41,7 +41,7 @@
## 架构
![architecture](./docs/architecture.png)
![architecture](https://www.yunion.cn/static/frame.png)
## 贡献

View File

@@ -1,7 +1,7 @@
# Yunion OneCloud
[![CircleCI](https://circleci.com/gh/yunionio/onecloud.svg?style=svg)](https://circleci.com/gh/yunionio/onecloud)
[![Build Status](https://travis-ci.com/yunionio/onecloud.svg?branch=master)](https://travis-ci.org/yunionio/onecloud)
[![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)
### [README in Chinese](./README-CN.md)
@@ -40,11 +40,11 @@ Please refers to [install & deployment](https://docs.yunion.io/docs/setup/) (cur
- [Yunion OneCloud Documents](https://docs.yunion.io/)
- [Swagger API](https://docs.yunion.cn/api/)
- [Swagger API](https://docs.yunion.cn/apiv2/)
## Architecture
![architecture](./docs/architecture.png)
![architecture](https://www.yunion.cn/static/frame.png)
## Contribution

View File

@@ -13,6 +13,7 @@ SRC_BUILD=$ROOT_DIR/build
OUTPUT_DIR=$ROOT_DIR/_output/rpms
PKG=$1
BIN_PATH=${2:-/opt/yunion/bin}
if [ -z "$PKG" ]; then
echo "Usage: $0 <package>"
@@ -90,9 +91,9 @@ $DESCRIPTION
%build
%install
install -D -m 0755 $BIN \$RPM_BUILD_ROOT/opt/yunion/bin/$PKG
install -D -m 0755 $BIN \$RPM_BUILD_ROOT$BIN_PATH/$PKG
for bin in $EXTRA_BINS; do
install -D -m 0755 $SRC_BIN/\$bin \$RPM_BUILD_ROOT/opt/yunion/bin/\$bin
install -D -m 0755 $SRC_BIN/\$bin \$RPM_BUILD_ROOT$BIN_PATH/\$bin
done
if [ -d $ROOT/root ]; then
rsync -a $ROOT/root/ \$RPM_BUILD_ROOT
@@ -124,8 +125,8 @@ getent passwd %{owner} >/dev/null || /usr/sbin/useradd -r -s /sbin/nologin -d %{
%files
%doc
/opt/yunion/bin/$PKG
$(for b in $EXTRA_BINS; do echo /opt/yunion/bin/$b; done)
$BIN_PATH/$PKG
$(for b in $EXTRA_BINS; do echo $BIN_PATH/$b; done)
" > $SPEC_FILE
if [ -d $ROOT/root/ ]; then

View File

@@ -0,0 +1,10 @@
policy:
'*':
'*':
'*': allow
create: deny
delete: deny
perform:
purge: deny
clone: deny
'*': allow

View File

@@ -0,0 +1,2 @@
policy:
'*': allow

View File

@@ -0,0 +1,6 @@
policy:
'*':
'*':
get: allow
list: allow
'*': deny

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,6 @@
公有云子账号创建成功
主账号:{{ .account }}<br>
名称:{{ .name }}<br>
密码:{{ .password }}<br>
登录地址: {{ .iam_login_url }}<br>
资源ID: {{ .id }}<br>

View File

@@ -0,0 +1,6 @@
Clouduser has been created successfully
Root Account: {{ .account }}<br>
Name{{ .name }}<br>
Password{{ .password }}<br>
IAM Login URL: {{ .iam_login_url }}<br>
Resource ID: {{ .id }}<br>

View File

@@ -0,0 +1 @@
公有云子账号 {{ .name }} 创建成功

View File

@@ -0,0 +1 @@
The clouduser {{ .name }} created successfully

View File

@@ -0,0 +1,47 @@
<?xml version="1.0"?>
<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" entityID="urn:alibaba:cloudcomputing">
<SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol" WantAssertionsSigned="true">
<KeyDescriptor use="signing">
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:X509Data>
<ds:X509Certificate>MIIDXjCCAkagAwIBAgIEXHToLjANBgkqhkiG9w0BAQsFADBwMQswCQYDVQQGEwJDTjERMA8GA1UE
CBMISGFuZ3pob3UxKTAnBgNVBAsTIEFsaWJhYmEgQ2xvdWQgQ29tcHV0aW5nIENvLiBMdGQuMSMw
IQYDVQQDExp1cm46YWxpYmFiYTpjbG91ZGNvbXB1dGluZzAgFw0xOTAyMjYwNzE4MDZaGA8yMTE5
MDIwMjA3MTgwNlowcDELMAkGA1UEBhMCQ04xETAPBgNVBAgTCEhhbmd6aG91MSkwJwYDVQQLEyBB
bGliYWJhIENsb3VkIENvbXB1dGluZyBDby4gTHRkLjEjMCEGA1UEAxMadXJuOmFsaWJhYmE6Y2xv
dWRjb21wdXRpbmcwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDDjD53ZENEHoYNXAOf
OIbVBJhj7SCWKmdjnbnxq8WAFWEeZtS6hZLPpWh1z7b0NjJkvCf5oFVqBJYbbW5kEKV+9CpV6VHZ
qOXmsIRlkvZB+Wnc3SduwiiiUR9JojSPxVQvSf4WLT+HDASlrBztuRV2vHj9utLbvy+6bgVBqF8g
emL9Pcif1robDH8HlqUcADXLAt18E4MbToldVoHjpFc6fAKUXujWH5feAL8g0CKlmf/JVlHLEtu4
vKPxBQ8sgkysk6EnrjXl6Q4a4t+vbPG5uczA1ouTkDupMCRlaWHIHaJL/AoDGabn8sVXdaVJUKC5
54FNkRznBhRQll+Nuc2rAgMBAAEwDQYJKoZIhvcNAQELBQADggEBAE8k4S4HvOglthJwF3aMQXGi
LKW6Becs9SljA0/5VtZQDrDf2By/1BIMvWfZ/dFnO+MylDLVdS6XWvWat/DW0fOGxU4s1WNfshX7
DJDGR2G1XgtGoDZEYIDahUp5katAPypCkY57fGZlI0d3nq46/2qT/Zpne+pFE3DI/x8klZMniniw
YjNXbG96y/M4DYi1J7RR8mLIfVvz5o1SMGT4Ta2p/USE2M9F6O7/zc2j62dQgXiYa9OONo31RiXR
TmvGEUNuQoBZhVrFIvOnNjIfFT7Xd3CUowwJKP1floserrx4B5jScRAi9yK3x2a2lhfc+PksXfTs
aqIr5TQL4OorLEE=</ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
</KeyDescriptor>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:persistent</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:entity</NameIDFormat>
<AssertionConsumerService index="1" isDefault="true" Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://signin.aliyun.com/saml-role/sso"/>
<AttributeConsumingService index="1">
<ServiceName xml:lang="en">Alibaba Cloud Console Single Sign-On</ServiceName>
<RequestedAttribute isRequired="true" Name="https://www.aliyun.com/SAML-Role/Attributes/Role" FriendlyName="RoleEntitlement"/>
<RequestedAttribute isRequired="true" Name="https://www.aliyun.com/SAML-Role/Attributes/RoleSessionName" FriendlyName="RoleSessionName"/>
<RequestedAttribute isRequired="false" Name="https://www.aliyun.com/SAML-Role/Attributes/SessionDuration" FriendlyName="SessionDuration"/>
</AttributeConsumingService>
</SPSSODescriptor>
<Organization>
<OrganizationName xml:lang="en">Alibaba Cloud Computing Co. Ltd.</OrganizationName>
<OrganizationDisplayName xml:lang="en">AlibabaCloud</OrganizationDisplayName>
<OrganizationURL xml:lang="en">https://www.aliyun.com</OrganizationURL>
</Organization>
</EntityDescriptor>

View File

@@ -0,0 +1,67 @@
<?xml version="1.0"?>
<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" entityID="urn:amazon:webservices" validUntil="2021-06-02T00:00:00Z">
<SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol" WantAssertionsSigned="true">
<KeyDescriptor use="signing">
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:X509Data>
<ds:X509Certificate>MIIDbTCCAlWgAwIBAgIEFWIThjANBgkqhkiG9w0BAQsFADBnMR8wHQYDVQQDExZ1
cm46YW1hem9uOndlYnNlcnZpY2VzMSIwIAYDVQQKExlBbWF6b24gV2ViIFNlcnZp
Y2VzLCBJbmMuMRMwEQYDVQQIEwpXYXNoaW5ndG9uMQswCQYDVQQGEwJVUzAeFw0y
MDA2MDIwMDAwMDBaFw0yMTA2MDIwMDAwMDBaMGcxHzAdBgNVBAMTFnVybjphbWF6
b246d2Vic2VydmljZXMxIjAgBgNVBAoTGUFtYXpvbiBXZWIgU2VydmljZXMsIElu
Yy4xEzARBgNVBAgTCldhc2hpbmd0b24xCzAJBgNVBAYTAlVTMIIBIjANBgkqhkiG
9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwKA4yDh4wAjlkhjJoXARGX9DQWsGTgp9GzoX
NebntY+DjB8H6hIkYRR3++yEDY90qldbZzOaOKRm2jyL7i+MgNt+ktx6wYGD7HBg
e8Z0Zh6eHRIwKbvu4/heMLdqqu+hlXkrC15T4N/LqiwT5JhPTrO4V1KG3ljR1ONG
7aLblVH2aRENV+X9la/AVAPesUpCnoUcTkuCJrcwHrv6hqWmadW8pJy/ISCCM4Fe
JuOAJD0whxg0qRFvE6xcdnKBTWjR03VHqJnyYQGVUKXOlgj8HiKO0JaJkoUAs5ox
WCRBZwSQW+qbP1VKSUfFeBtTMx/TSg4nBRYHinego/e8O1mu6wIDAQABoyEwHzAd
BgNVHQ4EFgQUz1SuekLVxYNvvLpUDRXc/gp2WdAwDQYJKoZIhvcNAQELBQADggEB
AIkUzM9MXr11vp9gBOOXyqyj7sBgoUQHW3mEfKD3DkEOZWUPW5UI7NM9ZHvhdOwd
C1noUK/QMjLkTHp0QB2bxCIpgThXSNFDYNRxf1/aUqTfxQ8a+i0q7l/utRiWyY3p
kLOFx0n81a2bSNz+B0nPS338xNaBtuNjHedXjxN6BjUCUfFHFsQmg/y6ZbBRN/9P
+i2yy3CjLduh0yeD0Of3vAoIh19MuNgnIy1pMsK/H59E8bAaCFvND9fnsqAfH29W
ppmt9c8QaiAya5R7akl/C0Rx8khQrba+wMcSultqLU+6YVIAAEKZ/S/ZfN74wn5X
RXwSXp4MSmOKYqRWshvRegQ=</ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
</KeyDescriptor>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:persistent</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:entity</NameIDFormat>
<AssertionConsumerService index="1" isDefault="true" Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://signin.aws.amazon.com/saml"/>
<AttributeConsumingService index="1">
<ServiceName xml:lang="en">AWS Management Console Single Sign-On</ServiceName>
<RequestedAttribute isRequired="true" Name="https://aws.amazon.com/SAML/Attributes/Role" FriendlyName="RoleEntitlement"/>
<RequestedAttribute isRequired="true" Name="https://aws.amazon.com/SAML/Attributes/RoleSessionName" FriendlyName="RoleSessionName"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.1" FriendlyName="eduPersonAffiliation"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.2" FriendlyName="eduPersonNickname"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.3" FriendlyName="eduPersonOrgDN"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.4" FriendlyName="eduPersonOrgUnitDN"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.5" FriendlyName="eduPersonPrimaryAffiliation"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.6" FriendlyName="eduPersonPrincipalName"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.7" FriendlyName="eduPersonEntitlement"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.8" FriendlyName="eduPersonPrimaryOrgUnitDN"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.9" FriendlyName="eduPersonScopedAffiliation"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.10" FriendlyName="eduPersonTargetedID"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.11" FriendlyName="eduPersonAssurance"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.2.1.2" FriendlyName="eduOrgHomePageURI"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.2.1.3" FriendlyName="eduOrgIdentityAuthNPolicyURI"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.2.1.4" FriendlyName="eduOrgLegalName"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.2.1.5" FriendlyName="eduOrgSuperiorURI"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.2.1.6" FriendlyName="eduOrgWhitePagesURI"/>
<RequestedAttribute isRequired="false" Name="urn:oid:2.5.4.3" FriendlyName="cn"/>
</AttributeConsumingService>
</SPSSODescriptor>
<Organization>
<OrganizationName xml:lang="en">Amazon Web Services, Inc.</OrganizationName>
<OrganizationDisplayName xml:lang="en">AWS</OrganizationDisplayName>
<OrganizationURL xml:lang="en">https://aws.amazon.com</OrganizationURL>
</Organization>
</EntityDescriptor>

View File

@@ -0,0 +1,67 @@
<?xml version="1.0"?>
<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" entityID="urn:amazon:webservices:cn-north-1" validUntil="2021-05-13T00:00:00Z">
<SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol" WantAssertionsSigned="true">
<KeyDescriptor use="signing">
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:X509Data>
<ds:X509Certificate>MIIDfzCCAmegAwIBAgIEY1tz5jANBgkqhkiG9w0BAQsFADBwMSgwJgYDVQQDEx91
cm46YW1hem9uOndlYnNlcnZpY2VzOmNuLW5vcnRoMSIwIAYDVQQKExlBbWF6b24g
V2ViIFNlcnZpY2VzLCBJbmMuMRMwEQYDVQQIEwpXYXNoaW5ndG9uMQswCQYDVQQG
EwJVUzAeFw0yMDA1MTMwMDAwMDBaFw0yMTA1MTMwMDAwMDBaMHAxKDAmBgNVBAMT
H3VybjphbWF6b246d2Vic2VydmljZXM6Y24tbm9ydGgxIjAgBgNVBAoTGUFtYXpv
biBXZWIgU2VydmljZXMsIEluYy4xEzARBgNVBAgTCldhc2hpbmd0b24xCzAJBgNV
BAYTAlVTMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAm2HLuzEnEGVT
C5W215HWuwFLM54v3oHoNy52GGN79VLn7sxm2Z0K+AVijV/rxCbPaNxO6tm/MmN6
XJkU8g8p7ghT6p+EN/61WG+KgoXIHcl/aZBbkoNTKKPXRvR9EEcyAPdLDBJVJHF5
lgCkSMHBL3VcCcrpVxFCtUhW+vT3pie2KHLEVb5Ocpq9pO8dNvY2iM7TSIvRu0kL
IZWUbRF0bP4cpDIVoMEsSJ3gFBCD3yf53UfU2dxjp2mnMjphPucHwml3AcsXN3XT
Y5j2qksO5xXgFrCZz76l3P7emj5eHIvkxuieU/7u+cYu0HppP+4xszzqvUcoHFRA
1fC/eFFRAwIDAQABoyEwHzAdBgNVHQ4EFgQUZkQfgy0NWq7kAO8mTQPeSDayJ3Ew
DQYJKoZIhvcNAQELBQADggEBACmLLD2qBA+KCxv7CiCfznT8XWOLAVf9xP3YMk0N
WCnugpd30d0YzxtI2PA29cNB2pyuGbaVg+zGqpsfAznaBHvnnEx1fJHNyfXxhAry
0MdabmbvhMfJPUYRFx/7r6Km8d52e+nv28pP/WrbWs4I0Swm+Rwaj3t32EgCBxQS
8WWEkG+L00slRgSPkfY8OgOM4QkBThHjGgw0TKFTEvQNVqXOJKQREq0MejyarUSC
4am+OJeRcWKtPcRo1jUlGWG6eun0ybuw232ZEZHUv33B247aRMuvTgcRTz3s6tUE
7RoeaMpl3/Y1MKtB2qURiu0Cib27Rl1mckhmfdA+awl3s4s=</ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
</KeyDescriptor>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:persistent</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:entity</NameIDFormat>
<AssertionConsumerService index="1" isDefault="true" Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://signin.amazonaws.cn/saml"/>
<AttributeConsumingService index="1">
<ServiceName xml:lang="en">AWS Management Console Single Sign-On</ServiceName>
<RequestedAttribute isRequired="true" Name="https://aws.amazon.com/SAML/Attributes/Role" FriendlyName="RoleEntitlement"/>
<RequestedAttribute isRequired="true" Name="https://aws.amazon.com/SAML/Attributes/RoleSessionName" FriendlyName="RoleSessionName"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.1" FriendlyName="eduPersonAffiliation"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.2" FriendlyName="eduPersonNickname"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.3" FriendlyName="eduPersonOrgDN"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.4" FriendlyName="eduPersonOrgUnitDN"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.5" FriendlyName="eduPersonPrimaryAffiliation"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.6" FriendlyName="eduPersonPrincipalName"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.7" FriendlyName="eduPersonEntitlement"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.8" FriendlyName="eduPersonPrimaryOrgUnitDN"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.9" FriendlyName="eduPersonScopedAffiliation"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.10" FriendlyName="eduPersonTargetedID"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.11" FriendlyName="eduPersonAssurance"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.2.1.2" FriendlyName="eduOrgHomePageURI"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.2.1.3" FriendlyName="eduOrgIdentityAuthNPolicyURI"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.2.1.4" FriendlyName="eduOrgLegalName"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.2.1.5" FriendlyName="eduOrgSuperiorURI"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.2.1.6" FriendlyName="eduOrgWhitePagesURI"/>
<RequestedAttribute isRequired="false" Name="urn:oid:2.5.4.3" FriendlyName="cn"/>
</AttributeConsumingService>
</SPSSODescriptor>
<Organization>
<OrganizationName xml:lang="en">Amazon Web Services, Inc.</OrganizationName>
<OrganizationDisplayName xml:lang="en">AWS</OrganizationDisplayName>
<OrganizationURL xml:lang="en">https://aws.amazon.com</OrganizationURL>
</Organization>
</EntityDescriptor>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0"?>
<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" entityID="google.com" validUntil="2021-06-02T00:00:00Z">
<SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol" WantAssertionsSigned="true">
<KeyDescriptor use="signing">
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:X509Data>
<ds:X509Certificate>
</ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
</KeyDescriptor>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:persistent</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:entity</NameIDFormat>
<AssertionConsumerService index="1" isDefault="true" Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://www.google.com/a/yunion-hk.com/acs"/>
<AttributeConsumingService index="1">
<RequestedAttribute isRequired="false" Name="user.email" FriendlyName="user.email"/>
</AttributeConsumingService>
</SPSSODescriptor>
</EntityDescriptor>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0"?>
<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" entityID="google.com/a/yunion-hk.com" validUntil="2021-06-02T00:00:00Z">
<SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol" WantAssertionsSigned="true">
<KeyDescriptor use="signing">
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:X509Data>
<ds:X509Certificate>
</ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
</KeyDescriptor>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:persistent</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:entity</NameIDFormat>
<AssertionConsumerService index="1" isDefault="true" Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://www.google.com/a/yunion-hk.com/acs"/>
<AttributeConsumingService index="1">
<RequestedAttribute isRequired="false" Name="user.email" FriendlyName="user.email"/>
</AttributeConsumingService>
</SPSSODescriptor>
</EntityDescriptor>

View File

@@ -0,0 +1,79 @@
<?xml version="1.0" encoding="UTF-8"?><md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" ID="M349b8f2417d474387360e922ef39baa" entityID="https://auth.huaweicloud.com/"><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/><ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/><ds:Reference URI="#M349b8f2417d474387360e922ef39baa"><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><ds:DigestValue>diBMwyuN633Q/kBf0M+SQZ4fNCI=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>k6+6QX8T5+S5wEIWlxwvd5a48xLWmp4Jd0bcs33vNaQVQ93YiztGcroUUqnLYK8uqAsmk2ZP4NtKFL/MyqoznrStglSi7uycwX6X3fswMwvkHJ9UVhH6Gp2Txl2JQ9/0vXy/tlXjQNFbfqzLhqxKC/K/PmKd684XkPYXlkiEJa6nGibu0gse9rvP2hE0G9bDMfdiyQnanfBvN+oNRte3xyI3DWh2P/jDTAPJMYzGM76JIneS8jLPa4gKDz5KcumG/8JV7GUWTDTZZ4ftujsjEuUFdPzKqwMYogMXOnTt8wbisSF8ZlLSMH/TIj6xAO9aSkEAo8HtlHJbekYlVA5Tz5IamLLzfaPpf7+NghLSuATIwY8/pvBZ8qhY8PVOjzRCeoEZJUrlFOcZ2CvO9zVKYdkEa1JC3mUW7CgeQc7G2/9niub7Vu00eyp9AAd9nkPfLoiWam8/yg2TBPRRJ9VKsv2UMFuITWrcFJayjezlTzY3dI3tI8lfoIMEVRaEP1v1D8XbxnxiaiKZXsGQHtpTSLc1ZL441jeZDLa661raUJDlGA6mBc1QukJklEocGg+Q+FeU33MJCaN/rIZCGvrjIZNng3yKFw1+R7/CqeJJlFWw0hPJQGiy6wfrDYSmhwuXJ2vQn3dTHjlT3kWsniiZtuOUi2TjHbq8gVHqlxmPxSs=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIIF6TCCA9GgAwIBAgIEPHSCijANBgkqhkiG9w0BAQsFADCBpDELMAkGA1UEBhMCQ04xEjAQBgNV
BAgTCUd1YW5nRG9uZzERMA8GA1UEBxMIU2hlblpoZW4xJTAjBgNVBAoTHEh1YXdlaSBUZWNobm9s
b2dpZXMgQ28uLCBMdGQxKDAmBgNVBAsTH1NlcnZpY2UgUHJvdmlkZXIgT3BlcmF0aW9uIERlcHQx
HTAbBgNVBAMTFGF1dGguaHVhd2VpY2xvdWQuY29tMB4XDTE4MDYyMTEzMjUwMFoXDTI4MDYxODEz
MjUwMFowgaQxCzAJBgNVBAYTAkNOMRIwEAYDVQQIEwlHdWFuZ0RvbmcxETAPBgNVBAcTCFNoZW5a
aGVuMSUwIwYDVQQKExxIdWF3ZWkgVGVjaG5vbG9naWVzIENvLiwgTHRkMSgwJgYDVQQLEx9TZXJ2
aWNlIFByb3ZpZGVyIE9wZXJhdGlvbiBEZXB0MR0wGwYDVQQDExRhdXRoLmh1YXdlaWNsb3VkLmNv
bTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAJisHObeLOPs2mJ4eJBcruMZl9FjvRQe
DmofxgOcIcmybt6qlDqAv7275JMMQfQFcEoxH3GqcCTYqvSaSnHPaJB1xljPIKAWtd7p1ymevcSy
F2HdCZ8gPJKg3Q6+ZjwTipKS/nZr7xmpUQ0WvwRkgZ7zfslAW+y5PCgkDrgmEjG92rLArj8iPhmu
jajXaTPQKVHuZMxBzS735uo4yjVwYE3+0mE4HTZjK+6n6Ffu+JhLzhcKGulmrT/6qHisMbIXAZyE
egBDavomb+5zu/CUQwii5IAPrRTwwegYpG4+uYJ2cHfrUdHqw9lSCSbQzu1yW1AS4zB16sjoHZdV
rxYyktlswNmJ1/MyRH5bO90e2kvVwV4l34Hi5HEFvFFjL8TAsbN4mGvA9fgohXp30x97UdPVV8Ji
NNAKZjdZSEdG9xqrTRfe4+LQg/hzLNSwsko3nDnH8qhCgtb8qIipQ3s7niCa53AQWYR82lEViols
/dbWU9qYeldVvGNAgJSqHLB7qLwcQW78+2V1446KhQqzqPeLI4ANGaLFKw8fGzgh85RKOjrIetb4
wAOZmhrrUJrRg47DYQQjNv3glDg53ijLPFunzRqUoqLphrZ1XpEA4y21OtTP6OMYAM0lSOj1gjvb
ubTDo8XOQs5YGtTOyHn4CQ4GR8NNo7UrwVEmoZHA+AKbAgMBAAGjITAfMB0GA1UdDgQWBBTt05QW
9dyXi7eMekKOH0bn4xKrkDANBgkqhkiG9w0BAQsFAAOCAgEACv9zgzUgxxQ8t9ldOXmirxzSOrHx
MCL8SKsu+c+Y4hoHma5LFjylv6x76NWTAFSE6GgqfuNI/gPj/2AWqObAvsHd8lsPjJ96ZoSaTmS8
NrtU6HuT1Lc+CmVfeGd3/G+KspQECjg2JeBrfyEw9B8KUAQV20DQukGfAHtKKQPOZmKm0Qm3ExWC
eXz1TR2KP+Lrhny/yG43g4iVUKq65HFHs5cRzRk0iR0/NLpggl5+Op0rxMxBn+bCrnJBi0n9/PIM
fWNhkEBl+B++EifPUQxQaOEsnxTgFo1O4ksK9hDFcLbr+1qCDgVIMkyC1xMBBikCgLvIdzy3SXBN
ndIEUq+QgOORxLlq1WqrfLFO22TxZm8XaB5g36UMk5PGoVHGnjALReAHjC0C5sIiKMJSgQOPd71X
mQSsw3G9NsMKf/H3xJXkq/b672ls/l1JBslm52DAk2k5UlLkf/1p4I7WHOfm5ZNpDjj1rTP6SiAc
tWLtqXIU28fLa2sA+zHXA5acDGOm6eIrMme5HpsV/KoUOW1MXGugK59zofeueCFDGRfbyoS2lj0S
W+CbJVa72CLf3xPh2nWH0cK9de+wyCx8uI0KGPyV4I9/XBLHhvkb3XPaUfnkzYkcrG/39cOaxuPF
z+haXwI1lvI964zvmTgwdDjdf/0asA09S7EEK2KyzXUREM4=</ds:X509Certificate></ds:X509Data></ds:KeyInfo></ds:Signature><md:SPSSODescriptor AuthnRequestsSigned="true" WantAssertionsSigned="true" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol"><md:KeyDescriptor use="signing"><ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><ds:X509Data><ds:X509Certificate>MIIF6TCCA9GgAwIBAgIEPHSCijANBgkqhkiG9w0BAQsFADCBpDELMAkGA1UEBhMCQ04xEjAQBgNV
BAgTCUd1YW5nRG9uZzERMA8GA1UEBxMIU2hlblpoZW4xJTAjBgNVBAoTHEh1YXdlaSBUZWNobm9s
b2dpZXMgQ28uLCBMdGQxKDAmBgNVBAsTH1NlcnZpY2UgUHJvdmlkZXIgT3BlcmF0aW9uIERlcHQx
HTAbBgNVBAMTFGF1dGguaHVhd2VpY2xvdWQuY29tMB4XDTE4MDYyMTEzMjUwMFoXDTI4MDYxODEz
MjUwMFowgaQxCzAJBgNVBAYTAkNOMRIwEAYDVQQIEwlHdWFuZ0RvbmcxETAPBgNVBAcTCFNoZW5a
aGVuMSUwIwYDVQQKExxIdWF3ZWkgVGVjaG5vbG9naWVzIENvLiwgTHRkMSgwJgYDVQQLEx9TZXJ2
aWNlIFByb3ZpZGVyIE9wZXJhdGlvbiBEZXB0MR0wGwYDVQQDExRhdXRoLmh1YXdlaWNsb3VkLmNv
bTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAJisHObeLOPs2mJ4eJBcruMZl9FjvRQe
DmofxgOcIcmybt6qlDqAv7275JMMQfQFcEoxH3GqcCTYqvSaSnHPaJB1xljPIKAWtd7p1ymevcSy
F2HdCZ8gPJKg3Q6+ZjwTipKS/nZr7xmpUQ0WvwRkgZ7zfslAW+y5PCgkDrgmEjG92rLArj8iPhmu
jajXaTPQKVHuZMxBzS735uo4yjVwYE3+0mE4HTZjK+6n6Ffu+JhLzhcKGulmrT/6qHisMbIXAZyE
egBDavomb+5zu/CUQwii5IAPrRTwwegYpG4+uYJ2cHfrUdHqw9lSCSbQzu1yW1AS4zB16sjoHZdV
rxYyktlswNmJ1/MyRH5bO90e2kvVwV4l34Hi5HEFvFFjL8TAsbN4mGvA9fgohXp30x97UdPVV8Ji
NNAKZjdZSEdG9xqrTRfe4+LQg/hzLNSwsko3nDnH8qhCgtb8qIipQ3s7niCa53AQWYR82lEViols
/dbWU9qYeldVvGNAgJSqHLB7qLwcQW78+2V1446KhQqzqPeLI4ANGaLFKw8fGzgh85RKOjrIetb4
wAOZmhrrUJrRg47DYQQjNv3glDg53ijLPFunzRqUoqLphrZ1XpEA4y21OtTP6OMYAM0lSOj1gjvb
ubTDo8XOQs5YGtTOyHn4CQ4GR8NNo7UrwVEmoZHA+AKbAgMBAAGjITAfMB0GA1UdDgQWBBTt05QW
9dyXi7eMekKOH0bn4xKrkDANBgkqhkiG9w0BAQsFAAOCAgEACv9zgzUgxxQ8t9ldOXmirxzSOrHx
MCL8SKsu+c+Y4hoHma5LFjylv6x76NWTAFSE6GgqfuNI/gPj/2AWqObAvsHd8lsPjJ96ZoSaTmS8
NrtU6HuT1Lc+CmVfeGd3/G+KspQECjg2JeBrfyEw9B8KUAQV20DQukGfAHtKKQPOZmKm0Qm3ExWC
eXz1TR2KP+Lrhny/yG43g4iVUKq65HFHs5cRzRk0iR0/NLpggl5+Op0rxMxBn+bCrnJBi0n9/PIM
fWNhkEBl+B++EifPUQxQaOEsnxTgFo1O4ksK9hDFcLbr+1qCDgVIMkyC1xMBBikCgLvIdzy3SXBN
ndIEUq+QgOORxLlq1WqrfLFO22TxZm8XaB5g36UMk5PGoVHGnjALReAHjC0C5sIiKMJSgQOPd71X
mQSsw3G9NsMKf/H3xJXkq/b672ls/l1JBslm52DAk2k5UlLkf/1p4I7WHOfm5ZNpDjj1rTP6SiAc
tWLtqXIU28fLa2sA+zHXA5acDGOm6eIrMme5HpsV/KoUOW1MXGugK59zofeueCFDGRfbyoS2lj0S
W+CbJVa72CLf3xPh2nWH0cK9de+wyCx8uI0KGPyV4I9/XBLHhvkb3XPaUfnkzYkcrG/39cOaxuPF
z+haXwI1lvI964zvmTgwdDjdf/0asA09S7EEK2KyzXUREM4=</ds:X509Certificate></ds:X509Data></ds:KeyInfo></md:KeyDescriptor><md:KeyDescriptor use="encryption"><ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><ds:X509Data><ds:X509Certificate>MIIF6TCCA9GgAwIBAgIEPHSCijANBgkqhkiG9w0BAQsFADCBpDELMAkGA1UEBhMCQ04xEjAQBgNV
BAgTCUd1YW5nRG9uZzERMA8GA1UEBxMIU2hlblpoZW4xJTAjBgNVBAoTHEh1YXdlaSBUZWNobm9s
b2dpZXMgQ28uLCBMdGQxKDAmBgNVBAsTH1NlcnZpY2UgUHJvdmlkZXIgT3BlcmF0aW9uIERlcHQx
HTAbBgNVBAMTFGF1dGguaHVhd2VpY2xvdWQuY29tMB4XDTE4MDYyMTEzMjUwMFoXDTI4MDYxODEz
MjUwMFowgaQxCzAJBgNVBAYTAkNOMRIwEAYDVQQIEwlHdWFuZ0RvbmcxETAPBgNVBAcTCFNoZW5a
aGVuMSUwIwYDVQQKExxIdWF3ZWkgVGVjaG5vbG9naWVzIENvLiwgTHRkMSgwJgYDVQQLEx9TZXJ2
aWNlIFByb3ZpZGVyIE9wZXJhdGlvbiBEZXB0MR0wGwYDVQQDExRhdXRoLmh1YXdlaWNsb3VkLmNv
bTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAJisHObeLOPs2mJ4eJBcruMZl9FjvRQe
DmofxgOcIcmybt6qlDqAv7275JMMQfQFcEoxH3GqcCTYqvSaSnHPaJB1xljPIKAWtd7p1ymevcSy
F2HdCZ8gPJKg3Q6+ZjwTipKS/nZr7xmpUQ0WvwRkgZ7zfslAW+y5PCgkDrgmEjG92rLArj8iPhmu
jajXaTPQKVHuZMxBzS735uo4yjVwYE3+0mE4HTZjK+6n6Ffu+JhLzhcKGulmrT/6qHisMbIXAZyE
egBDavomb+5zu/CUQwii5IAPrRTwwegYpG4+uYJ2cHfrUdHqw9lSCSbQzu1yW1AS4zB16sjoHZdV
rxYyktlswNmJ1/MyRH5bO90e2kvVwV4l34Hi5HEFvFFjL8TAsbN4mGvA9fgohXp30x97UdPVV8Ji
NNAKZjdZSEdG9xqrTRfe4+LQg/hzLNSwsko3nDnH8qhCgtb8qIipQ3s7niCa53AQWYR82lEViols
/dbWU9qYeldVvGNAgJSqHLB7qLwcQW78+2V1446KhQqzqPeLI4ANGaLFKw8fGzgh85RKOjrIetb4
wAOZmhrrUJrRg47DYQQjNv3glDg53ijLPFunzRqUoqLphrZ1XpEA4y21OtTP6OMYAM0lSOj1gjvb
ubTDo8XOQs5YGtTOyHn4CQ4GR8NNo7UrwVEmoZHA+AKbAgMBAAGjITAfMB0GA1UdDgQWBBTt05QW
9dyXi7eMekKOH0bn4xKrkDANBgkqhkiG9w0BAQsFAAOCAgEACv9zgzUgxxQ8t9ldOXmirxzSOrHx
MCL8SKsu+c+Y4hoHma5LFjylv6x76NWTAFSE6GgqfuNI/gPj/2AWqObAvsHd8lsPjJ96ZoSaTmS8
NrtU6HuT1Lc+CmVfeGd3/G+KspQECjg2JeBrfyEw9B8KUAQV20DQukGfAHtKKQPOZmKm0Qm3ExWC
eXz1TR2KP+Lrhny/yG43g4iVUKq65HFHs5cRzRk0iR0/NLpggl5+Op0rxMxBn+bCrnJBi0n9/PIM
fWNhkEBl+B++EifPUQxQaOEsnxTgFo1O4ksK9hDFcLbr+1qCDgVIMkyC1xMBBikCgLvIdzy3SXBN
ndIEUq+QgOORxLlq1WqrfLFO22TxZm8XaB5g36UMk5PGoVHGnjALReAHjC0C5sIiKMJSgQOPd71X
mQSsw3G9NsMKf/H3xJXkq/b672ls/l1JBslm52DAk2k5UlLkf/1p4I7WHOfm5ZNpDjj1rTP6SiAc
tWLtqXIU28fLa2sA+zHXA5acDGOm6eIrMme5HpsV/KoUOW1MXGugK59zofeueCFDGRfbyoS2lj0S
W+CbJVa72CLf3xPh2nWH0cK9de+wyCx8uI0KGPyV4I9/XBLHhvkb3XPaUfnkzYkcrG/39cOaxuPF
z+haXwI1lvI964zvmTgwdDjdf/0asA09S7EEK2KyzXUREM4=</ds:X509Certificate></ds:X509Data></ds:KeyInfo></md:KeyDescriptor><md:ArtifactResolutionService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact" Location="https://auth.huaweicloud.com/authui/saml/SAMLAssertionConsumer" index="0" isDefault="true" xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"/><md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://auth.huaweicloud.com/authui/saml/LogoutServiceHTTPRedirect" ResponseLocation="https://auth.huaweicloud.com/authui/saml/LogoutServiceHTTPRedirectResponse" xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"/><md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://auth.huaweicloud.com/authui/saml/LogoutServiceHTTPPost" ResponseLocation="https://auth.huaweicloud.com/authui/saml/LogoutServiceHTTPPostResponse" xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"/><md:ManageNameIDService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://auth.huaweicloud.com/authui/saml/ManageNameIDServiceHTTPPost" ResponseLocation="https://auth.huaweicloud.com/authui/saml/ManageNameIDServiceHTTPPostResponse"/><md:ManageNameIDService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://auth.huaweicloud.com/authui/saml/ManageNameIDServiceHTTPRedirect" ResponseLocation="https://auth.huaweicloud.com/authui/saml/ManageNameIDServiceHTTPRedirectResponse"/><md:ManageNameIDService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" Location="https://auth.huaweicloud.com/authui/saml/ManageNameIDServiceSOAP" xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"/><md:NameIDFormat xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata">urn:oasis:names:tc:SAML:2.0:nameid-format:transient</md:NameIDFormat><md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://auth.huaweicloud.com/authui/saml/SAMLAssertionConsumer" index="0" isDefault="true" xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"/></md:SPSSODescriptor></md:EntityDescriptor>

View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:saml="urn:oasis:names:tc:SAML:2.0:AssertionConsumerService" entityID="cloud.tencent.com" validUntil="2059-08-15T06:24:31Z">
<SPSSODescriptor WantAssertionsSigned="true" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
<KeyDescriptor use="signing">
<ds:KeyInfo>
<ds:X509Data>
<ds:X509Certificate>MIIEWzCCA0OgAwIBAgIJAP2Wa/iz6Zn+MA0GCSqGSIb3DQEBBQUAMIHDMQswCQYDVQQGEwJDTjESMBAGA1UECAwJZ3Vhbmdkb25nMREwDwYDVQQHDAhzaGVuemhlbjE2MDQGA1UECgwtVGVuY2VudCBUZWNobm9sb2d5IChTaGVuemhlbikgQ29tcGFueSBMaW1pdGVkMRYwFAYDVQQLDA1UZW5jZW50IENsb3VkMRowGAYDVQQDDBFjbG91ZC50ZW5jZW50LmNvbTEhMB8GCSqGSIb3DQEJARYScWNsb3VkQHRlbmNlbnQuY29tMB4XDTE4MDgxNTA2MjQzMVoXDTE5MDgxNTA2MjQzMVowgcMxCzAJBgNVBAYTAkNOMRIwEAYDVQQIDAlndWFuZ2RvbmcxETAPBgNVBAcMCHNoZW56aGVuMTYwNAYDVQQKDC1UZW5jZW50IFRlY2hub2xvZ3kgKFNoZW56aGVuKSBDb21wYW55IExpbWl0ZWQxFjAUBgNVBAsMDVRlbmNlbnQgQ2xvdWQxGjAYBgNVBAMMEWNsb3VkLnRlbmNlbnQuY29tMSEwHwYJKoZIhvcNAQkBFhJxY2xvdWRAdGVuY2VudC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC7z2KMtR6GS4IzwfFYLSULCrKrr6iUVRlxUhn0y/CjpWXGg31nwvXYmJZaCwjUlorTd3pYDmStmd4xoL3xrGFnqX0xqKw7S+vbB9wo5tSHww15vkiYPanjsgeaiXihBBB6jvsV8+4iuVk8JA3x990/0wic/ZuKIhCI4mLCaQYLXbsYopUPQ5p+dwkCY9pYxP+zjOQathA0cjzKyzp9io2pcH2vtj7RzM+j4sLTsTC+OGfh7k9LQO5/fswQTQKr1B4tmtI8Cq7pUP0Fud1YLjMpod/NRVv1/xIF6cJFP8QARfmC45FPjHToORiXVUV8hii8l4EkXw2bAQO+wqodXJaZAgMBAAGjUDBOMB0GA1UdDgQWBBQ6e8nFUT7oKF+LbOYFH200WR5I0zAfBgNVHSMEGDAWgBQ6e8nFUT7oKF+LbOYFH200WR5I0zAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4IBAQBAIaZDjgCLkWq6fFpp/ViwdEBtLbKNNx2K28z91kTZNE+lepYagqWQIPpTGo69GmO9Qdf/mkspY3Y80Q3MpUO09V3gsiqXQBHD5ZfyRHwmqDjDudLA1SGzMjMT+48XuMq4fdonO1o5fyDh/My9w1LuRZzWw5ZE0JEpKgXq1ynQYz0uEip7KrUVUNoAS2n9jT8APfs16M4p5VRpIYlugnBwR9P2bZba+9fR/SPTa7FX4S8sU649wGPR+49uvic2kwc8FP6AXGurJZhd7mZ44j58q0M/LXm/6wiyUslZ/I0uGhxmRav0cTQz4T1dXKdh2pJZBwz8yMv2P6fuxcFlUeR6</ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
</KeyDescriptor>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:entity</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName</NameIDFormat>
<AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://cloud.tencent.com/login/saml" index="1" isDefault="true"/>
<AttributeConsumingService index="1">
<ServiceName xml:lang="en"/>
<RequestedAttribute FriendlyName="RoleEntitlement" Name="https://cloud.tencent.com/SAML/Attributes/Role" isRequired="true"/>
<RequestedAttribute FriendlyName="RoleSessionName" Name="https://cloud.tencent.com/SAML/Attributes/RoleSessionName" isRequired="true"/>
</AttributeConsumingService>
</SPSSODescriptor>
<Organization>
<OrganizationName xml:lang="en">Tencent Cloud Services, Inc.</OrganizationName>
<OrganizationDisplayName xml:lang="en">Tencent Cloud</OrganizationDisplayName>
<OrganizationURL xml:lang="en">https://cloud.tencent.com</OrganizationURL>
</Organization>
</EntityDescriptor>

1
build/cloudid/vars Normal file
View File

@@ -0,0 +1 @@
DESCRIPTION="Yunion CloudId"

View File

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

View File

@@ -1,13 +1,12 @@
FROM frolvlad/alpine-glibc:glibc-2.28
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
MAINTAINER "Yousong Zhou <zhouyousong@yunionyun.com>"
ENV TZ Asia/Shanghai
RUN mkdir -p /opt/yunion/bin
RUN apk update && \
apk add --no-cache tzdata ansible ca-certificates && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
# openssh-client, for ansible ssh connection
# git, ca-certificates, for fetching ansible roles
RUN set -x \
&& apk update \
&& apk add openssh-client \
&& 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:latest
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
ADD ./_output/bin/apigateway /opt/yunion/bin/apigateway
ADD ./_output/alpine-build/bin/apigateway /opt/yunion/bin/apigateway

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/baremetal-base:v0.0.1
FROM registry.cn-beijing.aliyuncs.com/yunionio/baremetal-base:v0.2
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"

View File

@@ -5,13 +5,16 @@ MAINTAINER "Yaoqi Wan <wanyaoqi@yunionyun.com>"
RUN mkdir -p /opt/yunion/bin
RUN apk update && \
apk add --no-cache ipmitool ethtool tzdata ca-certificates && \
apk add --no-cache ipmitool ethtool tzdata ca-certificates cdrkit coreutils && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN mkdir -p /opt/cloud/yunion/baremetal
# udpate latest pci.ids
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
@@ -27,13 +30,3 @@ COPY ./opt/cloud/yunion/baremetal/libutil.c32 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/lpxelinux.0 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/menu.c32 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/pxelinux.0 /opt/cloud/yunion/baremetal
# add mkisofs with bundles libraries
ADD ./mkisofs /bin/mkisofs
ADD ./.mkisofs.bin /bin/.mkisofs.bin
ADD ./bundles/mkisofs /bin/bundles/mkisofs
# use GNU timeout command replace busybox timeout command
RUN rm /usr/bin/timeout
ADD ./timeout /bin/timeout
ADD ./.timeout.bin /bin/.timeout.bin
ADD ./bundles/timeout /bin/bundles/timeout

View File

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

View File

@@ -1,4 +1,4 @@
FROM frolvlad/alpine-glibc:glibc-2.28
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
@@ -6,7 +6,7 @@ ENV TZ Asia/Shanghai
RUN mkdir -p /opt/yunion/bin
RUN apk add --no-cache bash bash-completion tzdata ca-certificates && \
RUN apk add --no-cache bash bash-completion tzdata ca-certificates vim && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,4 @@
FROM alpine:3.11
RUN echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >>/etc/apk/repositories
RUN apk update && apk add kubectl && rm -rf /var/cache/apk/*

View File

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

View File

@@ -0,0 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
COPY ./build/monitor/root/opt/ /opt/
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:latest
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
COPY ./build/notify/root/opt/ /opt/
ADD ./_output/bin/notify /opt/yunion/bin/notify
ADD ./_output/alpine-build/bin/notify /opt/yunion/bin/notify

View File

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

View File

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

View File

@@ -1,3 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:latest
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
ADD ./_output/bin/region-dns /opt/yunion/bin/region-dns
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:latest
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
ADD ./_output/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:latest
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
ADD ./_output/bin/scheduler /opt/yunion/bin/scheduler
ADD ./_output/alpine-build/bin/scheduler /opt/yunion/bin/scheduler

View File

@@ -0,0 +1,3 @@
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,16 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
MAINTAINER "Yaoqi Wan <wanyaoqi@yunionyun.com>"
RUN apk update && \
apk add --no-cache tzdata ca-certificates qemu-img && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
ENV TZ Asia/Shanghai
# add executable file torrent
# make cmd/torrent
RUN mkdir -p /opt/yunion/bin
ADD ./_output/alpine-build/bin/torrent /opt/yunion/bin/torrent

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
FROM yunion/kubectl:1.14.3
FROM registry.cn-beijing.aliyuncs.com/yunionio/kubectl:1.18.6
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"

View File

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

View File

@@ -0,0 +1,18 @@
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
WORKDIR /root/go/src/yunion.io/x/onecloud
RUN make cmd/host
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-base:v0.3
MAINTAINER "Yaoqi Wan wanyaoqi@yunionyun.com"
ENV TZ Asia/Shanghai
RUN apk add librados librbd
RUN mkdir -p /opt/yunion/bin
COPY --from=build /root/go/src/yunion.io/x/onecloud/_output/bin/host /opt/yunion/bin/host

View File

@@ -0,0 +1,25 @@
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
WORKDIR /root/go/src/yunion.io/x/onecloud
RUN make cmd/torrent
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
MAINTAINER "Yaoqi Wan <wanyaoqi@yunionyun.com>"
RUN apk update && \
apk add --no-cache tzdata ca-certificates qemu-img && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
ENV TZ Asia/Shanghai
# add executable file torrent
# make cmd/torrent
RUN mkdir -p /opt/yunion/bin
COPY --from=build /root/go/src/yunion.io/x/onecloud/_output/bin/torrent /opt/yunion/bin/torrent

1
build/fetcherfs/vars Normal file
View File

@@ -0,0 +1 @@
DESCRIPTION="Fetcherfs Utility"

View File

@@ -0,0 +1,9 @@
{{.title}}
策略名称: {{.name}}
触发时间: {{.start_time}}
报警级别: {{.level}}
触发条件: {{.description | unescaped}}
资源数量:{{len .matches}}
资源名称:{{.resource_name}}
详情地址: {{.web_url}}

View File

@@ -0,0 +1,138 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>{{.Title}}</title>
</head>
<style>
.title {
height: 40px;
line-height: 40px;
width: 960px;
background-color: #4da1ff;
color: #fff;
font-size: 16px;
text-align: center;
margin: 0 auto;
}
.table {
width: 960px;
margin: 0 auto;
padding: 10px 30px 0px 30px;
font-family:'微软雅黑',Helvetica,Arial,sans-serif;
font-size:14px;
background-color: #fbfbfb;
}
.tr-title {
height: 10px;
border-left: 5px solid #4da1ff;
margin-left: 10px;
padding: 3px 8px;
font-weight: bold;
}
.td {
width: 80px;
padding-left: 20px;
height: 35px;
font-weight: 400;
}
.link {
text-decoration: none;
color: #3591FF;
}
.thead-tr td {
border-left: 1px solid #d7d7d7;
border-top: 1px solid #d7d7d7;
height: 32px;
font-size: 14px;
background-color: #d7d7d7;
text-align: center;
}
.tbody-tr td {
border-left: 1px solid #d7d7d7;
border-top: 1px solid #d7d7d7;
height: 32px;
font-size: 14px;
font-weight: 400;
text-align: center;
}
.pb-3 {
padding-bottom: 30px;
}
.resouce-table {
width: 98%;
color: #717171;
border-right: 1px solid #d7d7d7;
border-bottom: 1px solid #d7d7d7;
}
</style>
<body>
<h3 class="title">报警提醒</h3>
<table border="0" cellspacing="0" cellpadding="0" class="table">
<tr><td colspan="4" class="tr-title">报警信息</td></tr>
<tr><td style="height: 10px;"></td></tr>
<tr>
<td class="td">报警策略:</td>
<td>{{.name}}</td>
</tr>
<tr>
<td class="td">报警级别:</td>
<td>{{.level}}</td>
</tr>
<tr>
<td class="td">报警时间:</td>
<td>{{.start_time}}</td>
</tr>
<tr>
<td class="td">策略详情:</td>
<td>{{.description}}</td>
</tr>
</table>
<table class="table" style="padding-top: 6px; padding-bottom: 10px;">
<tr>
<td style="padding-left: 20px; font-size: 14px;">若要查看详情信息,<a class="link" target="_blank" href="{{.web_url}}
">请登录平台进行查看</a></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" class="table pb-3">
<tr><td colspan="4" class="tr-title">报警资源</td></tr>
<tr><td style="height: 10px;"></td></tr>
<tr>
<td colspan="4" style="padding: 10px 0 0 20px;">
<table cellspacing="0" cellpadding="0" class="resouce-table">
<thead>
<tr class="thead-tr">
<td>名称</td>
<td>IP</td>
<td>平台</td>
<td>触发值</td>
</tr>
</thead>
<tbody>
{{- range $i, $Matche := .matches}}
<tr class="tbody-tr">
<td>
{{- index .tags "name"}}
</td>
<td>
{{ index .tags "ip" }}
</td>
<td>
{{ index .tags "brand" }}
</td>
<td>{{$Matche.value_str}}</td>
</tr>
{{end}}
</tbody>
</table>
</td>
</tr>
<tr><td style="height: 10px;"></td></tr>
</table>
<p style="width: 960px; height: 40px; line-height: 40px; margin: 0 auto; background-color: #4da1ff; color: #fff; font-size: 12px; text-align: center; ">本邮件由系统自动发送,请勿直接回复!</p>
</body>
</html>

View File

@@ -0,0 +1,9 @@
{{.title}}
AlertName: {{.name}}
Time: {{.start_time}}
Level: {{.level}}
TriggerCondition: {{.description | unescaped}}
ResourceCount: {{len .matches}}
ResourceName: {{.resource_name}}
WebUrl: {{.web_url}}

View File

@@ -0,0 +1,145 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>{{.Title}}</title>
</head>
<style>
.title {
height: 40px;
line-height: 40px;
width: 960px;
background-color: #4da1ff;
color: #fff;
font-size: 16px;
text-align: center;
margin: 0 auto;
}
.table {
width: 960px;
margin: 0 auto;
padding: 10px 30px 0px 30px;
font-family:'微软雅黑',Helvetica,Arial,sans-serif;
font-size:14px;
background-color: #fbfbfb;
}
.tr-title {
height: 10px;
border-left: 5px solid #4da1ff;
margin-left: 10px;
padding: 3px 8px;
font-weight: bold;
}
.td {
width: 120px;
padding-left: 20px;
height: 35px;
font-weight: 400;
}
.link {
text-decoration: none;
color: #3591FF;
}
.thead-tr td {
border-left: 1px solid #d7d7d7;
border-top: 1px solid #d7d7d7;
height: 32px;
font-size: 14px;
background-color: #d7d7d7;
text-align: center;
}
.tbody-tr td {
border-left: 1px solid #d7d7d7;
border-top: 1px solid #d7d7d7;
height: 32px;
font-size: 14px;
font-weight: 400;
text-align: center;
}
.pb-3 {
padding-bottom: 30px;
}
.resouce-table {
width: 98%;
color: #717171;
border-right: 1px solid #d7d7d7;
border-bottom: 1px solid #d7d7d7;
}
</style>
<body>
<h3 class="title">Alert</h3>
<table border="0" cellspacing="0" cellpadding="0" class="table">
<tr><td colspan="4" class="tr-title">Alert info</td></tr>
<tr><td style="height: 10px;"></td></tr>
<tr>
<td class="td">Alarm strategy</td>
<td>{{.name}}</td>
</tr>
<tr>
<td class="td">Alarm level</td>
<td>{{.level}}</td>
</tr>
<tr>
<td class="td">Alarm time</td>
<td>{{.start_time}}</td>
</tr>
<tr>
<td class="td">Strategy details</td>
<td>{{.description}}</td>
</tr>
</table>
<table class="table" style="padding-top: 6px; padding-bottom: 10px;">
<tr>
<td style="padding-left: 20px; font-size: 14px;">To view details<a class="link" target="_blank" href="{{.web_url}}
">Please login to the platform to view</a></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" class="table pb-3">
<tr><td colspan="4" class="tr-title">Alarm resources</td></tr>
<tr><td style="height: 10px;"></td></tr>
<tr>
<td colspan="4" style="padding: 10px 0 0 20px;">
<table cellspacing="0" cellpadding="0" class="resouce-table">
<thead>
<tr class="thead-tr">
<td>Name</td>
<td>IP</td>
<td>Brand</td>
<td>Trigger value</td>
</tr>
</thead>
<tbody>
{{- range $i, $Matche := .matches}}
<tr class="tbody-tr">
<td>
{{- index .tags "name"}}
</td>
<td>
{{ index .tags "ip" }}
</td>
<td>
{{ index .tags "brand" }}
</td>
<td>{{$Matche.value_str}}</td>
</tr>
{{end}}
</tbody>
</table>
</td>
</tr>
<tr><td style="height: 10px;"></td></tr>
</table>
<p style="width: 960px; height: 40px; line-height: 40px; margin: 0 auto; background-color: #4da1ff; color: #fff; font-size: 12px; text-align: center; ">This email is sent automatically by the system. Please do not reply directly</p>
</body>
</html>

View File

@@ -0,0 +1 @@
{{.title}}

View File

@@ -0,0 +1 @@
{{.title}}

File diff suppressed because one or more lines are too long

View File

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

View File

@@ -0,0 +1,63 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<table style="width: 650px; margin-bottom: 20px;" border="0" cellpadding="0" cellspacing="0" align="center">
<tr style="height: 50px; background: #333; overflow: hidden;">
<td>
<table style="margin-left: 20px;">
<tr>
<td>
<img src="data:{{.login_logo_format}};base64,{{.login_logo}}" alt="" style="color: #fff; height: 32px; vertical-align: middle;">
</td>
</tr>
</table>
</td>
<td>
<table style="float: right;">
<tr>
<td style="padding-left: 20px; padding-right: 20px;">
<a href="" style="text-decoration: none; color: #20A0FF; font-size: 12px; display: none;">产品</a>
</td>
<td style="padding-left: 20px; padding-right: 20px;">
<a href="" style="text-decoration: none; color: #20A0FF; font-size: 12px; display: none;">解决方案</a>
</td>
<td style="padding-left: 20px; padding-right: 20px;">
<a href="" style="text-decoration: none; color: #20A0FF; font-size: 12px; display: none;">服务</a>
</td>
<td style="padding-left: 20px; padding-right: 20px;">
<a href="" style="text-decoration: none; color: #20A0FF; font-size: 12px; display: none;">帮助与文档</a>
</td>
<td style="padding-left: 20px; padding-right: 20px;">
<a href="" style="text-decoration: none; color: #20A0FF; font-size: 12px; display: none;">关于我们</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="width: 100%;" colspan="2">
<table style="padding: 20px 10px; width: 100%;">
<tr>
<td style="padding-bottom: 20px;">
尊敬的{{.name}},您好:
</td>
</tr>
<tr>
<td style="padding-bottom: 10px;">您正在验证邮箱,请在验证码输入框中输入:{{.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>
</tr>
<tr>
<td colspan="2" style="background: #333; text-align: right; padding-right: 20px; font-size: 12px; color: #fff; height: 50px;">版权所有 © {{.copyright}} 保留一切权利</td>
</tr>
</table>
</body>
</html>

View File

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

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: #333; overflow: hidden;">
<td>
<table style="margin-left: 20px;">
<tr>
<td>
<img src="data:{{.login_logo_format}};base64,{{.login_logo}}" alt="" style="color: #fff; height: 32px; vertical-align: middle;">
</td>
</tr>
</table>
</td>
<td>
<table style="float: right;">
<tr>
<td style="padding-left: 20px; padding-right: 20px;">
<a href="" style="text-decoration: none; color: #20A0FF; font-size: 12px; display: none;">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 {{.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;">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: #333; text-align: right; padding-right: 20px; font-size: 12px; color: #fff; height: 50px;">Copyrights © {{.copyright}}. All rights reserved.</td>
</tr>
</table>
</body>
</html>

View File

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

View File

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

View File

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

View File

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

View File

@@ -1 +0,0 @@
您的{{ .brand }}主机{{ .name }}的套餐类型已经更改为 CPU:{{ index .flavor_info "cpu" }}核,内存:{{ index .flavor_info "memory" }}M数据盘:{{ index .flavor_info "datadisk" }}G带宽: {{ index .flavor_info "ebw" }}M。

View File

@@ -1 +0,0 @@
您的{{ .brand }}主机{{ .name }}已经创建成功服务器IP地址为{{ .ips }}{{ if .account }}初始帐号为{{ .account }}{{ end }}{{ if .keypair }}访问ssh密钥为{{ .keypair }}{{ end }}{{ if .password }}初始密码为{{ .password }}{{ end }}请使用{{ if .windows }}远程桌面连接器(RDC){{ else }}SSH{{ end }}或控制面板控制台访问云主机。

View File

@@ -1 +0,0 @@
项目{{ .tenant }}的{{ .brand }}主机{{ .name }}已经创建成功。

View File

@@ -1 +0,0 @@
您的{{ .brand }}主机{{ .name }}已经删除。

View File

@@ -1 +0,0 @@
项目{{ .tenant }}的{{ .brand }}主机{{ .name }}已经删除。

View File

@@ -1 +0,0 @@
您的{{ .brand }}主机{{ .name }}系统崩溃了: {{ .reason }}

View File

@@ -1 +0,0 @@
您的{{ .brand }}主机{{ .name }}重装系统成功,{{ if .account }}初始帐号为{{ .account }}{{ end }}{{ if .keypair }}访问密钥为{{ .keypair }}{{ end }}{{ if .password }}初始密码为{{ .password }}{{ end }}请使用{{ if .windows }}远程桌面连接器(RDC){{ else }}SSH{{ end }}或控制面板控制台访问云主机。

View File

@@ -0,0 +1 @@
您的{{ .brand }}虚拟机{{ .name }}的套餐类型已经更改为 CPU:{{ index .flavor_info "cpu" }}核,内存:{{ index .flavor_info "memory" }}M数据盘:{{ index .flavor_info "datadisk" }}G带宽: {{ index .flavor_info "ebw" }}M。

View File

@@ -0,0 +1 @@
您的{{ .brand }}虚拟机{{ .name }}已经创建成功虚拟机IP地址为{{ .ips }}{{ if .account }}初始帐号为{{ .account }}{{ end }}{{ if .keypair }}访问ssh密钥为{{ .keypair }}{{ end }}{{ if .password }}初始密码为{{ .password }}{{ end }}请使用{{ if .windows }}远程桌面连接器(RDC){{ else }}SSH{{ end }}或控制面板控制台访问虚拟机。

View File

@@ -0,0 +1 @@
项目{{ .tenant }}的{{ .brand }}虚拟机{{ .name }}已经创建成功。

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