Compare commits

..

411 Commits

Author SHA1 Message Date
Jian Qiu
99818a7c0f fix: opslog filter by owner_project_ids and owner_domain_ids (#7601)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-21 10:57:24 +08:00
屈轩
6cab61ecb8 fix: member user only can get user & domain resource (#7598)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-20 20:54:21 +08:00
Jian Qiu
01a8384071 fix: dns record create ignore is_public field (#7590)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-18 10:51:56 +08:00
Zexi Li
b5875e00d1 Merge pull request #7582 from swordqiu/automated-cherry-pick-of-#7580-upstream-release-3.3
Automated cherry pick of #7580: fix: allow delete shared role and policy
2020-08-16 23:43:31 +08:00
Yousong Zhou
d91f5fa87e Automated cherry pick of #7585: apis: vpcs_ovn: alloc for interconnects (#7586)
* 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:41:53 +08:00
Zexi Li
a346fd47fe Merge pull request #7576 from rainzm/automated-cherry-pick-of-#7575-upstream-release-3.3
Automated cherry pick of #7575: fix: GetIImages correctly without 'image_cache' dir
2020-08-16 23:41:50 +08:00
Qiu Jian
cedd4ccdfa fix: allow delete shared role and policy 2020-08-15 21:05:16 +08:00
rainzm
f5d1adcbd0 fix: GetIImages correctly without 'image_cache' dir
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-14 20:36:26 +08:00
屈轩
66a5410e7d fix: aovid duplicate sku name (#7573)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-14 20:35:49 +08:00
Zexi Li
3637b671ed Merge pull request #7570 from zexi/hotfix/jsontag-syntax-v33
fix: json TAG_PREFIX invalid syntax
2020-08-14 17:41:42 +08:00
Jian Qiu
7a58d9f197 fix: init wire domain_id for local vpc (#7567)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-14 17:29:49 +08:00
Zexi Li
5c8a7769e3 fix: json TAG_PREFIX invalid syntax 2020-08-14 16:54:44 +08:00
屈轩
ebe1eb603b fix: avoid virtual resource project id is empty when cloudaccount with no project (#7561)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-14 10:37:49 +08:00
Rain Zheng
eb67c681d3 fix: Merge the host network correctly when preparenet (#7558) 2020-08-14 10:36:51 +08:00
Jian Qiu
e099f006fa fix: network port count stat recode (#7555)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-14 10:33:48 +08:00
Zexi Li
c9b485b9f3 Merge pull request #7548 from wanyaoqi/automated-cherry-pick-of-#7547-upstream-release-3.3
Automated cherry pick of #7547: support diable usb kbd
2020-08-11 18:41:28 +08:00
Zexi Li
22231edba6 Merge pull request #7542 from ioito/automated-cherry-pick-of-#7541-upstream-release-3.3
Automated cherry pick of #7541: fix: separete enabled and status field
2020-08-11 18:39:18 +08:00
wanyaoqi
0742afb487 support diable usb kbd 2020-08-11 15:32:31 +08:00
Qu Xuan
3b036e6c30 fix: separete enabled and status field 2020-08-11 14:54:31 +08:00
Zexi Li
227fa57883 Merge pull request #7536 from wanyaoqi/automated-cherry-pick-of-#7530-upstream-release-3.3
Automated cherry pick of #7530: fix mount xfs
2020-08-11 11:16:20 +08:00
wanyaoqi
5439457bb4 fix usage get storage capbility (#7528) 2020-08-10 20:07:57 +08:00
wanyaoqi
57cd48354f fix mount xfs 2020-08-10 20:03:24 +08:00
屈轩
3c63af8de0 fix: optimized huawei security group get and create operation (#7521)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-10 15:37:44 +08:00
wanyaoqi
52488eeb50 set disk status on disk detached (#7518) 2020-08-10 12:05:45 +08:00
Zexi Li
9114556da3 Merge pull request #7516 from zhaoxiangchun/automated-cherry-pick-of-#7512-upstream-release-3.3
Automated cherry pick of #7512: nodealert bugfix:
2020-08-10 11:14:22 +08:00
zhaoxiangchun
abe44154ba nodealert bugfix:
1.重名判断:后端通过resType, nodeName, metric 限制前端可以创建相同metric的报警记录
2020-08-10 10:33:41 +08:00
Zexi Li
89de86a243 Merge pull request #7509 from ioito/automated-cherry-pick-of-#7508-upstream-release-3.3
Automated cherry pick of #7508: fix: avoid nil pointer
2020-08-10 10:24:53 +08:00
tb365
6cdbae22a4 add image upload& s3 upload api (#7515)
Co-authored-by: TangBin <tangbin@yunion.cn>
2020-08-10 10:21:44 +08:00
Qu Xuan
6f5be444c3 fix: avoid nil pointer 2020-08-07 11:16:00 +08:00
Zexi Li
13d165e3c1 Merge pull request #7504 from ioito/hotfix/qx-auto-create-project-fix
fix: backport fix
2020-08-07 11:06:57 +08:00
Zexi Li
d3d977a359 Merge pull request #7499 from ioito/automated-cherry-pick-of-#7498-upstream-release-3.3
Automated cherry pick of #7498: fix: 隐藏auzre经典类型存储
2020-08-07 11:06:07 +08:00
Zexi Li
0f37875b40 Merge pull request #7502 from ioito/automated-cherry-pick-of-#7501-upstream-release-3.3
Automated cherry pick of #7501: fix: 提高zstack认证兼容性
2020-08-07 11:05:14 +08:00
Qu Xuan
bb1752fb7b fix: backport fix 2020-08-06 20:48:49 +08:00
Qu Xuan
b152aa3337 fix: 提高zstack认证兼容性 2020-08-06 19:25:01 +08:00
Qu Xuan
bb01236942 fix: 隐藏auzre经典类型存储 2020-08-06 18:01:11 +08:00
屈轩
7a81820cd3 fix: 增加openstack兼容性 (#7493)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-06 11:56:18 +08:00
Zexi Li
525a18dde2 Merge pull request #7485 from wanyaoqi/automated-cherry-pick-of-#7484-upstream-release-3.3
Automated cherry pick of #7484: fix host info get sshkey
2020-08-04 13:51:17 +08:00
wanyaoqi
39bcc36c2d fix host info get sshkey 2020-08-04 10:36:40 +08:00
Zexi Li
138088027e Merge pull request #7481 from swordqiu/automated-cherry-pick-of-#7479-upstream-release-3.3
Automated cherry pick of #7479: fix: typo running_geusts => running_guests
2020-08-03 16:58:40 +08:00
Zexi Li
a023cf56e4 Merge pull request #7475 from ioito/automated-cherry-pick-of-#7474-upstream-release-3.3
Automated cherry pick of #7474: fix: typo
2020-08-03 16:57:44 +08:00
Zexi Li
a17e90ed3b Merge pull request #7478 from swordqiu/automated-cherry-pick-of-#7477-upstream-release-3.3
Automated cherry pick of #7477: fix: filter public network count by zone and region
2020-08-03 16:56:34 +08:00
Qiu Jian
2153a79dcb fix: typo running_geusts => running_guests 2020-08-03 16:33:23 +08:00
Qiu Jian
780cf826c7 fix: filter public network count by zone and region 2020-08-03 15:21:16 +08:00
Qu Xuan
62d2a732e2 fix: typo 2020-08-03 10:56:56 +08:00
Zexi Li
f6409e8511 Merge pull request #7472 from swordqiu/automated-cherry-pick-of-#7470-upstream-release-3.3
Automated cherry pick of #7470: fix: ignore bucket-set-acl not implemented error
2020-08-03 09:25:04 +08:00
Qiu Jian
4cbe29d0c5 fix: ignore bucket-set-acl not implemented error 2020-08-03 02:25:20 +08:00
Zexi Li
221fb3f527 Merge pull request #7469 from zexi/hotfix/update-apis
update apis generate model
2020-08-02 11:15:25 +08:00
Zexi Li
042cd597f6 update apis generate model 2020-08-02 11:13:29 +08:00
Zexi Li
aae065f06f Merge pull request #7468 from zexi/automated-cherry-pick-of-#7455-upstream-release-3.3
Automated cherry pick of #7455: fix: avoid generated codes having duplicate PerformSetScope methods
2020-08-02 10:53:12 +08:00
Qiu Jian
d834f3331e fix: avoid generated codes having duplicate PerformSetScope methods 2020-08-02 10:50:43 +08:00
Zexi Li
703f59760e Merge pull request #7448 from tb365/automated-cherry-pick-of-#7447-upstream-release-3.3
Automated cherry pick of #7447: aws elb listener&rule name too long fix
2020-08-02 10:07:56 +08:00
Zexi Li
5a1935bd54 Merge pull request #7454 from rainzm/automated-cherry-pick-of-#7453-upstream-release-3.3
Automated cherry pick of #7453: opt(scheduler): better sort for hosts when selectHost
2020-08-02 10:04:50 +08:00
屈轩
6e64fc4caa fix: avoid host globalid change (#7466)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-02 03:03:03 +08:00
wanyaoqi
8172a551bb fix reauth condition on influxdb not found (#7457) 2020-08-01 21:27:04 +08:00
wanyaoqi
381a2796ba fix cache non lvm disks (#7460) 2020-08-01 21:16:04 +08:00
rainzm
49b0a01b08 opt(scheduler): better sort for hosts when selectHost 2020-08-01 17:35:49 +08:00
Jian Qiu
88497da742 fix: elasticcache_account_reset_password_task.go cherry pick build fail (#7452)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-01 16:44:33 +08:00
tangbin
38e02db07f aws elb listener&rule name too long fix 2020-08-01 11:12:39 +08:00
Zexi Li
fbda89ce2a Merge pull request #7419 from rainzm/automated-cherry-pick-of-#7416-upstream-release-3.3
Automated cherry pick of #7416: fix(region): Don't allow address conflicts under vpc
2020-08-01 11:05:54 +08:00
Zexi Li
c11ee3ed56 Merge pull request #7437 from tb365/automated-cherry-pick-of-#7435-upstream-release-3.3
Automated cherry pick of #7435: loadblancer listener modify name fix
2020-08-01 10:58:00 +08:00
rainzm
18f5f9cb8c 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:52 +08:00
tangbin
bb500edc81 fix redis reset account password action log 2020-08-01 10:51:21 +08:00
tangbin
d9488f552e loadblancer listener modify name fix 2020-08-01 10:50:24 +08:00
Zexi Li
b39e4e37e3 Merge pull request #7440 from swordqiu/automated-cherry-pick-of-#7438-upstream-release-3.3
Automated cherry pick of #7438: fix: sync share mode between vpc and wire
2020-08-01 10:39:43 +08:00
Zexi Li
880f889d4a Merge pull request #7442 from wanyaoqi/automated-cherry-pick-of-#7441-upstream-release-3.3
Automated cherry pick of #7441: fix deploy admin auth key
2020-08-01 00:05:55 +08:00
wanyaoqi
7ad7774f80 fix deploy admin auth key 2020-07-31 23:23:06 +08:00
Zexi Li
e64f249453 baremetal: fix hpssactl split last LV size out of limit (#7427) 2020-07-31 22:49:03 +08:00
Qiu Jian
9dfed28459 fix: sync share mode between vpc and wire 2020-07-31 22:31:06 +08:00
Zexi Li
dd7967dd65 Merge pull request #7434 from zexi/automated-cherry-pick-of-#7433-upstream-release-3.3
Automated cherry pick of #7433: capability: public network count filter by default vpc
2020-07-31 20:42:35 +08:00
Zexi Li
80ae1b6cde capability: public network count filter by default vpc 2020-07-31 20:29:57 +08:00
Zexi Li
b513216421 Merge pull request #7418 from ioito/automated-cherry-pick-of-#7417-upstream-release-3.3
Automated cherry pick of #7417: fix: avoid lost backend params
2020-07-31 18:07:39 +08:00
Zexi Li
a0b464b8d6 Merge pull request #7414 from ioito/automated-cherry-pick-of-#7413-upstream-release-3.3
Automated cherry pick of #7413: fix: openstack win image user data need encode
2020-07-31 18:06:41 +08:00
Zexi Li
d29b105efc Merge pull request #7406 from ioito/automated-cherry-pick-of-#7405-upstream-release-3.3
Automated cherry pick of #7405: fix: avoid account sync deadlock
2020-07-31 18:05:24 +08:00
Zexi Li
1cf42ccfcc Merge pull request #7409 from swordqiu/automated-cherry-pick-of-#7400-upstream-release-3.3
Automated cherry pick of #7400: fix: ignore general s3 set acl not implemented error
2020-07-31 18:04:12 +08:00
Zexi Li
353384f32a Merge pull request #7396 from yousong/automated-cherry-pick-of-#7395-upstream-release-3.3
Automated cherry pick of #7395: apis: compute: move struct defs
2020-07-31 18:03:26 +08:00
屈轩
92d8437c45 fix: 避免glance metadata-list project scope无权限 (#7403)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-31 18:01:39 +08:00
屈轩
65cd074ffa fix: 优化openstack项目认证 (#7398)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-31 18:00:09 +08:00
屈轩
5dc8296332 fix: 避免在仅调整虚拟机磁盘时opslog日志记录mem cpu异常 (#7393)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-31 17:56:57 +08:00
Qu Xuan
46fa77b29b fix: avoid lost backend params 2020-07-31 17:19:20 +08:00
Qu Xuan
c39de392c3 fix: openstack win image user data need encode 2020-07-31 16:54:47 +08:00
wanyaoqi
a2d562ccaa fix panic on storage failed get host (#7391) 2020-07-31 16:43:33 +08:00
Qiu Jian
7e47d7aeb4 fix: ignore general s3 set acl not implemented error 2020-07-31 16:38:51 +08:00
Qu Xuan
01f384cf80 fix: avoid account sync deadlock 2020-07-31 16:32:31 +08:00
Yousong Zhou
5833f1a905 lblisteners: remove unused acl_name field 2020-07-30 20:51:54 +08:00
Yousong Zhou
04abe448f1 lblisteners: list: show acl name 2020-07-30 20:51:54 +08:00
Yousong Zhou
ab71f5e6c6 lblisteners: list: show certificate name 2020-07-30 20:51:54 +08:00
Yousong Zhou
8a79c0f708 apis: compute: move struct defs 2020-07-30 20:51:53 +08:00
Zexi Li
c3bab46d23 Merge pull request #7388 from rainzm/automated-cherry-pick-of-#7387-upstream-release-3.3
Automated cherry pick of #7387: fix(region): zone from guesttemplate's preferzone maybe nil
2020-07-30 17:41:39 +08:00
rainzm
5ee9698218 fix(region): zone from guesttemplate's preferzone maybe nil 2020-07-30 16:12:03 +08:00
Zexi Li
925caf9111 Merge pull request #7352 from ioito/automated-cherry-pick-of-#7318-upstream-release-3.3
Automated cherry pick of #7318: fix: openstack多项目问题
2020-07-30 15:53:36 +08:00
Zexi Li
cc6f22d9d7 Merge pull request #7385 from ioito/automated-cherry-pick-of-#7384-upstream-release-3.3
Automated cherry pick of #7384: fix: avoid parse json err nil pointer
2020-07-30 15:15:33 +08:00
Qu Xuan
816b29267c fix: openstack多项目问题 2020-07-30 14:43:55 +08:00
Qu Xuan
f9b51a9f54 fix: avoid parse json err nil pointer 2020-07-30 11:31:57 +08:00
Zexi Li
14ddc69b40 Merge pull request #7379 from ioito/automated-cherry-pick-of-#7378-upstream-release-3.3
Automated cherry pick of #7378: fix: 添加阿里云rds备份恢复限制条件
2020-07-29 21:38:42 +08:00
Zexi Li
d1a2fe39a7 Merge pull request #7377 from swordqiu/automated-cherry-pick-of-#7375-upstream-release-3.3
Automated cherry pick of #7375: fix: change owner should check required domain list
2020-07-29 17:31:52 +08:00
Qu Xuan
ba953f20ce fix: 添加阿里云rds备份恢复限制条件 2020-07-29 16:55:41 +08:00
Qiu Jian
04b4ab3760 fix: change owner should check required domain list 2020-07-29 13:01:54 +08:00
Zexi Li
8fa3e77995 Merge pull request #7373 from ioito/automated-cherry-pick-of-#7358-upstream-release-3.3
Automated cherry pick of #7358: fix: 普通视图下,安全组仅统计可看到的vm count
2020-07-29 10:27:14 +08:00
Zexi Li
583d783ce6 Merge pull request #7372 from zexi/automated-cherry-pick-of-#7371-upstream-release-3.3
Automated cherry pick of #7371: region: schedtag list support resource_types
2020-07-28 20:57:33 +08:00
Zexi Li
fecb127100 Merge pull request #7360 from ioito/automated-cherry-pick-of-#7359-upstream-release-3.3
Automated cherry pick of #7359: fix: 修复vm绑定重复安全组
2020-07-28 20:55:54 +08:00
Qu Xuan
6b2cb20f4c fix: 普通视图下,安全组仅统计可看到的vm count 2020-07-28 20:53:10 +08:00
Zexi Li
632aef4fab Merge pull request #7369 from ioito/automated-cherry-pick-of-#7368-upstream-release-3.3
Automated cherry pick of #7368: fix: 同步sku与磁盘类型关系
2020-07-28 20:48:04 +08:00
Zexi Li
65562c25f5 region: schedtag list support resource_types 2020-07-28 20:46:27 +08:00
Qu Xuan
28a80ac52e fix: 同步sku与磁盘类型关系 2020-07-28 19:47:26 +08:00
Zexi Li
843c52c221 Merge pull request #7365 from zexi/automated-cherry-pick-of-#7364-upstream-release-3.3
Automated cherry pick of #7364: adjust schedule resource condition width
2020-07-28 18:50:23 +08:00
屈轩
bd6b45aaef fix: 避免创建rds备份时对rds进行一些操作 (#7355)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-28 18:47:58 +08:00
Zexi Li
7103f4e716 adjust schedule resource condition width 2020-07-28 18:36:58 +08:00
Qu Xuan
f03d021aa5 fix: 修复vm绑定重复安全组 2020-07-28 18:12:55 +08:00
Zexi Li
0b8baeef6a Merge pull request #7349 from wanyaoqi/automated-cherry-pick-of-#7348-upstream-release-3.3
Automated cherry pick of #7348: fix schedtag list output
2020-07-27 20:26:55 +08:00
wanyaoqi
2ac39e704a fix schedtag list output 2020-07-27 20:24:40 +08:00
Zexi Li
df63c8ddde Merge pull request #7339 from rainzm/automated-cherry-pick-of-#7338-upstream-release-3.3
Automated cherry pick of #7338: fix(region): Remove default secgroup for esxi guest
2020-07-27 19:49:19 +08:00
Zexi Li
e0b9cec7e8 Merge pull request #7344 from rainzm/automated-cherry-pick-of-#7343-upstream-release-3.3
Automated cherry pick of #7343: fix: modify list details for guesttemplate
2020-07-27 19:48:22 +08:00
Zexi Li
4d96c8fc75 Merge pull request #7347 from swordqiu/automated-cherry-pick-of-#7346-upstream-release-3.3
Automated cherry pick of #7346: fix: add default perform allow policy to sysadmin
2020-07-27 19:47:24 +08:00
Qiu Jian
3f09d00198 fix: add default perform allow policy to sysadmin 2020-07-27 19:11:17 +08:00
Zexi Li
738425170b Merge pull request #7337 from yousong/automated-cherry-pick-of-#7336-upstream-release-3.3
Automated cherry pick of #7336: guests: guests with vpc nics are available for eip association
2020-07-27 15:54:58 +08:00
Zexi Li
27a4696a6d Merge pull request #7323 from swordqiu/automated-cherry-pick-of-#7321-upstream-release-3.3
Automated cherry pick of #7321: fix: choose candidate list from the list returned from backend
2020-07-27 15:54:03 +08:00
Zexi Li
ce13c0cbe9 Merge pull request #7320 from ioito/automated-cherry-pick-of-#7319-upstream-release-3.3
Automated cherry pick of #7319: fix: 单独添加更新账单文件日志
2020-07-27 15:52:53 +08:00
Zexi Li
3617855bcb Merge pull request #7317 from zhaoxiangchun/automated-cherry-pick-of-#7316-upstream-release-3.3
Automated cherry pick of #7316: 修复统一报警bug
2020-07-27 15:51:55 +08:00
Zexi Li
0d66aaa734 Merge pull request #7326 from swordqiu/automated-cherry-pick-of-#7324-upstream-release-3.3
Automated cherry pick of #7324: fix: schedtag should be system resource
2020-07-27 15:50:04 +08:00
Zexi Li
b68c40e5a5 Merge pull request #7331 from swordqiu/automated-cherry-pick-of-#7330-upstream-release-3.3
Automated cherry pick of #7330: fix: do accessibility check when dissociate eip from resource
2020-07-27 15:22:23 +08:00
Zexi Li
c40ececb34 Merge pull request #7329 from tb365/automated-cherry-pick-of-#7327-upstream-release-3.3
Automated cherry pick of #7327: huawei fetch regions&projects fix
2020-07-27 15:22:00 +08:00
rainzm
a66ba3f391 Add metadata for GuestTempalte details 2020-07-27 15:17:55 +08:00
rainzm
02b30326fd Add network info when list scalingGroup details 2020-07-27 15:17:55 +08:00
rainzm
d06d2026f4 fix: modify list details for guesttemplate 2020-07-27 15:17:55 +08:00
Zexi Li
35ddf5da65 Merge pull request #7334 from swordqiu/automated-cherry-pick-of-#7332-upstream-release-3.3
Automated cherry pick of #7332: fix: cloud account delete may fail due to inconsistent status
2020-07-27 15:13:09 +08:00
rainzm
cd01258555 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:53:45 +08:00
Yousong Zhou
2270704c4f guests: guests with vpc nics are available for eip association 2020-07-27 11:01:47 +08:00
屈轩
f2456d2364 fix: 避免status_code>=400并且resp为空时err为nil (#7265)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-27 04:42:52 +08:00
yunion-ci-robot
8d1d9ece01 Merge pull request #7312 from ioito/automated-cherry-pick-of-#7310-upstream-release-3.3
Automated cherry pick of #7310: fix: 支持多项目安全组规则过滤
2020-07-26 00:03:54 +08:00
Qiu Jian
f624ab1529 fix: cloud account delete may fail due to inconsistent status 2020-07-25 23:10:24 +08:00
Qiu Jian
ded8da0016 fix: do accessibility check when dissociate eip from resource 2020-07-24 22:54:41 +08:00
yunion-ci-robot
58ed07b4e3 Merge pull request #7304 from wanyaoqi/automated-cherry-pick-of-#7302-upstream-release-3.3
Automated cherry pick of #7302: fix clone clean pending usage
2020-07-24 22:52:43 +08:00
zhaoxiangchun
6193221764 修改报警消息模版:
1.模版中使用ftm.sprintf
  对float类型进行转换,避免消息中数值以十进制的指数次格式显示,提高可读性
2.增加text/tempalte,解决飞书等消息中消息内容被编码的问题
2020-07-24 22:41:11 +08:00
zhaoxiangchun
bb66e2d197 修复统一报警bug
1.对系统内置的规则的处理,可以进行正确判断推送消息
2.一些初始化,validate的判断逻辑的修改
2020-07-24 22:41:11 +08:00
tangbin
92fbc44b6d go fmt 2020-07-24 18:29:15 +08:00
tangbin
d93edbe427 go fmt 2020-07-24 18:29:14 +08:00
tangbin
a4d89b1f6c host upload template check 2020-07-24 18:29:14 +08:00
tangbin
5255df021e huawei fetch regions&projects fix 2020-07-24 18:29:14 +08:00
Qiu Jian
4d33d1a703 fix: schedtag should be system resource 2020-07-24 17:04:45 +08:00
Qiu Jian
c90c0944c1 fix: choose candidate list from the list returned from backend 2020-07-24 16:44:23 +08:00
Qu Xuan
e7fc9b94b0 fix: 单独添加更新账单文件日志 2020-07-24 14:31:36 +08:00
Zexi Li
7512e48236 Merge pull request #7292 from wanyaoqi/automated-cherry-pick-of-#7143-upstream-release-3.3
Automated cherry pick of #7143: - add precheck for perform action
2020-07-24 10:48:14 +08:00
Zexi Li
bb6e4b4610 Merge pull request #7315 from wanyaoqi/automated-cherry-pick-of-#7314-upstream-release-3.3
Automated cherry pick of #7314: rename vgname centos
2020-07-24 10:47:01 +08:00
wanyaoqi
7ef340fb68 rename vgname centos 2020-07-23 21:33:26 +08:00
Qu Xuan
fef5147ae4 fix: 支持多项目安全组规则过滤 2020-07-23 20:36:27 +08:00
Zexi Li
afed84a502 Merge pull request #7309 from swordqiu/automated-cherry-pick-of-#7303-upstream-release-3.3
Automated cherry pick of #7303: fix: domain resource domain share to system when non_default_domain_projects off
2020-07-23 20:34:08 +08:00
wanyaoqi
a329cd536b fix clone clean pending usage 2020-07-23 18:38:34 +08:00
wanyaoqi
32b36ee10e capabilites add available host count 2020-07-23 18:16:23 +08:00
Qiu Jian
671d202271 fix: domain resource domain share to system when non_default_domain_projects off 2020-07-23 17:57:59 +08:00
Zexi Li
7e629b3c80 Merge pull request #7295 from wanyaoqi/automated-cherry-pick-of-#7294-upstream-release-3.3
Automated cherry pick of #7294: fix snapshot clean pending usage
2020-07-23 13:48:03 +08:00
Zexi Li
3d3ff3f866 Merge pull request #7280 from rainzm/automated-cherry-pick-of-#7279-upstream-release-3.3
Automated cherry pick of #7279: feat(scheduler): Change the action for guests with backup and instanceGroup
2020-07-23 13:36:20 +08:00
wanyaoqi
2c27db42c2 fix snapshot clean pending usage 2020-07-23 11:35:39 +08:00
Zexi Li
18dd47c713 Merge pull request #7287 from tb365/automated-cherry-pick-of-#7286-upstream-release-3.3
Automated cherry pick of #7286: apigateway host imports data validate
2020-07-22 21:43:39 +08:00
wanyaoqi
ec933e4805 - 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 21:12:32 +08:00
tangbin
2ff5d2aaf4 format fix 2020-07-22 17:50:13 +08:00
tangbin
b5aceb67f9 fix empty else 2020-07-22 17:50:13 +08:00
tangbin
2794c84ac0 fix host import 2020-07-22 17:50:11 +08:00
tangbin
ce9646f9e9 fix huawei delete resource 2020-07-22 17:50:10 +08:00
tangbin
be8da39ce1 fix huawei elb disable healthcheck 2020-07-22 17:50:10 +08:00
tangbin
dacc8adce1 lb sync project fix 2020-07-22 17:50:10 +08:00
tangbin
b79c410b0e add more log 2020-07-22 17:50:09 +08:00
tangbin
b5754d2e3d apigateway host imports data validate 2020-07-22 17:50:09 +08:00
Zexi Li
8a6ee6c9ab Merge pull request #7277 from ioito/automated-cherry-pick-of-#7276-upstream-release-3.3
Automated cherry pick of #7276: fix: 避免未能导出共享安全组规则
2020-07-22 13:55:41 +08:00
Zexi Li
309c1ca3f1 Merge pull request #7274 from swordqiu/automated-cherry-pick-of-#7273-upstream-release-3.3
Automated cherry pick of #7273: fix: image upload not clean pending usage
2020-07-22 13:54:37 +08:00
Zexi Li
f3bc3ca51d Merge pull request #7282 from rainzm/automated-cherry-pick-of-#7281-upstream-release-3.3
Automated cherry pick of #7281: fix(esxi): Select correct unitNumber for ide control when creating disk
2020-07-22 13:52:22 +08:00
Rain Zheng
7c82002903 fix(esxi): Select correct unitNumber for ide control when creating disk 2020-07-21 20:48:39 +08:00
rainzm
2a0c16c6f3 feat(scheduler): Change the action for guests with backup and instanceGroup
1. 对于主机组的打散功能,放在调度的最后单独处理。
2. 主备机的调度,通过在主机和备机之间设置一个粒度为1的主机组来实现。
3. 虚拟机的调度默认打散,在打散的基础上,选择容量大的宿主机。
3. 主备机中,主机和备机的默认打散流程分散开,互不影响。
2020-07-21 20:34:36 +08:00
Qu Xuan
1c4e9e00a5 fix: 避免未能导出共享安全组规则 2020-07-21 17:14:18 +08:00
yunion-ci-robot
3599904eee Merge pull request #7271 from zexi/automated-cherry-pick-of-#7270-upstream-release-3.3
Automated cherry pick of #7270: baremetal: set zone when enable netif
2020-07-21 11:48:24 +08:00
Qiu Jian
ba983df32b fix: image upload not clean pending usage 2020-07-21 01:43:04 +08:00
yunion-ci-robot
194105f4d3 Merge pull request #7268 from tb365/automated-cherry-pick-of-#7267-upstream-release-3.3
Automated cherry pick of #7267: fix GetOrCreateVpcForClassicNetwork
2020-07-20 20:49:28 +08:00
Zexi Li
ea374ac0c0 Merge pull request #7263 from tb365/automated-cherry-pick-of-#7237-upstream-release-3.3
Automated cherry pick of #7237: huawei eip delete fix
2020-07-20 20:47:39 +08:00
Zexi Li
df4d88e195 baremetal: set zone when enable netif 2020-07-20 20:45:06 +08:00
tangbin
f9c4221125 fix GetOrCreateVpcForClassicNetwork 2020-07-20 18:28:48 +08:00
Zexi Li
f246c47a33 Merge pull request #7258 from yousong/bugfix/yousong-lbagent-create-influxdb
[3.3] region: lbagents: skip tls check for default influxdb endpoint url
2020-07-20 12:21:51 +08:00
tangbin
fdcaa1c8e7 huawei eip delete fix 2020-07-20 10:52:31 +08:00
Yousong Zhou
7f7aef031a region: lbagents: skip tls check for default influxdb endpoint url 2020-07-20 09:01:50 +08:00
Zexi Li
1451a75646 Merge pull request #7239 from rainzm/automated-cherry-pick-of-#7238-upstream-release-3.3
Automated cherry pick of #7238: fix: default vpc must be shared globally
2020-07-20 02:09:39 +08:00
Zexi Li
5c57493f5b Merge pull request #7240 from ioito/automated-cherry-pick-of-#7225-upstream-release-3.3
Automated cherry pick of #7225: fix: rds备份恢复优化
2020-07-20 02:07:41 +08:00
Zexi Li
af2bf4e8cd Merge pull request #7229 from wanyaoqi/automated-cherry-pick-of-#7228-upstream-release-3.3
Automated cherry pick of #7228: fix server sync status
2020-07-20 02:06:28 +08:00
Zexi Li
42fbf12d66 Merge pull request #7235 from ioito/automated-cherry-pick-of-#7234-upstream-release-3.3
Automated cherry pick of #7234: fix: globalvpc跟随云账号共享
2020-07-20 02:05:09 +08:00
Zexi Li
1ec53dbf7f Merge pull request #7257 from zhaoxiangchun/automated-cherry-pick-of-#7256-upstream-release-3.3
Automated cherry pick of #7256: 修复监控报警规则删除的问题
2020-07-20 02:03:50 +08:00
Zexi Li
37c2e004fb Merge pull request #7233 from tb365/automated-cherry-pick-of-#7231-upstream-release-3.3
Automated cherry pick of #7231: acl delete condition fix
2020-07-20 02:02:36 +08:00
zhaoxiangchun
c65fc0f1dc 修复监控报警规则删除的问题 2020-07-19 21:29:13 +08:00
Zexi Li
c371e04aaf Merge pull request #7249 from wanyaoqi/automated-cherry-pick-of-#7248-upstream-release-3.3
Automated cherry pick of #7248: fix error output
2020-07-19 20:53:47 +08:00
Zexi Li
9c61ce86cc Merge pull request #7255 from zexi/automated-cherry-pick-of-#7254-upstream-release-3.3
Automated cherry pick of #7254: scheduler: fix storage filter duplicate error message
2020-07-19 20:52:53 +08:00
Zexi Li
d6b1fa02d8 scheduler: fix storage filter duplicate error message 2020-07-19 20:26:56 +08:00
Zexi Li
e3cd4be117 Merge pull request #7253 from swordqiu/automated-cherry-pick-of-#7251-upstream-release-3.3
Automated cherry pick of #7251: fix: quota usage not updated after disk resizing
2020-07-19 20:25:12 +08:00
Qiu Jian
508f30901a fix: quota usage not updated after disk resizing 2020-07-19 13:25:04 +08:00
wanyaoqi
18bae18498 fix error output 2020-07-19 12:35:04 +08:00
Qu Xuan
ecb7249a1d fix: rds备份恢复优化 2020-07-18 20:47:47 +08:00
rainzm
fa67bd8312 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:42:19 +08:00
Qu Xuan
f8471832e9 fix: globalvpc跟随云账号共享 2020-07-17 20:46:32 +08:00
tangbin
3e5eceeefa acl delete condition fix 2020-07-17 20:44:52 +08:00
wanyaoqi
0e617ec137 fix server sync status 2020-07-17 20:25:16 +08:00
Zexi Li
9b1ea9f303 Merge pull request #7226 from ioito/automated-cherry-pick-of-#7224-upstream-release-3.3
Automated cherry pick of #7224: fix: 过滤可用eip
2020-07-17 20:25:09 +08:00
Zexi Li
94555e348c Merge pull request #7222 from ioito/automated-cherry-pick-of-#7221-upstream-release-3.3
Automated cherry pick of #7221: fix: 避免乌兰察布区域拉取资源异常
2020-07-17 20:24:01 +08:00
Qu Xuan
23e17fe0a1 fix: 过滤可用eip 2020-07-17 20:16:27 +08:00
Qu Xuan
a443975f7e fix: 避免乌兰察布区域拉取资源异常 2020-07-17 18:52:52 +08:00
Zexi Li
5cd0873ee8 Merge pull request #7217 from rainzm/automated-cherry-pick-of-#7216-upstream-release-3.3
Automated cherry pick of #7216: fix: prefetch image error when create guest with vmware template
2020-07-17 10:16:36 +08:00
Zexi Li
7e796affb3 Merge pull request #7214 from tb365/automated-cherry-pick-of-#7213-upstream-release-3.3
Automated cherry pick of #7213: sync classic redis fix
2020-07-17 10:15:48 +08:00
Zexi Li
4b2cb45b0c Merge pull request #7204 from yousong/automated-cherry-pick-of-#7202-upstream-release-3.3
Automated cherry pick of #7202: mcclient: options: loadbalanceragents: yum as the default deploy method
2020-07-17 10:15:10 +08:00
Zexi Li
dde94aa754 Merge pull request #7199 from yousong/automated-cherry-pick-of-#7198-upstream-release-3.3
Automated cherry pick of #7198: ansibleserver: register metadata manager
2020-07-17 10:11:56 +08:00
Zexi Li
771d8b42aa Merge pull request #7196 from ioito/automated-cherry-pick-of-#7195-upstream-release-3.3
Automated cherry pick of #7195: fix: sec rule export missing fields
2020-07-17 10:10:23 +08:00
Zexi Li
544b62c683 Merge pull request #7193 from wanyaoqi/automated-cherry-pick-of-#7192-upstream-release-3.3
Automated cherry pick of #7192: add params auto_migrate_on_host_down
2020-07-17 10:09:09 +08:00
Zexi Li
1c2c0c75f4 Merge pull request #7211 from ioito/automated-cherry-pick-of-#7210-upstream-release-3.3
Automated cherry pick of #7210: fix: not work for network-list --zones
2020-07-17 10:08:15 +08:00
rainzm
4ef5267a85 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:37:14 +08:00
tangbin
30aa75e047 sync classic redis fix 2020-07-16 20:29:20 +08:00
yunion-ci-robot
1b29a59d8f Merge pull request #7203 from zexi/automated-cherry-pick-of-#7201-upstream-release-3.3
Automated cherry pick of #7201: webconsole: fix old session make new session closed
2020-07-16 20:22:18 +08:00
Qu Xuan
d6b83fbbf8 fix: not work for network-list --zones 2020-07-16 19:06:04 +08:00
Yousong Zhou
f30b191d05 region: lbagents: turn off guest src check 2020-07-16 18:50:05 +08:00
Yousong Zhou
4a0d019b6e region: loadbalanceragents: yum as the default method 2020-07-16 18:50:05 +08:00
Yousong Zhou
5218f8aab3 mcclient: options: loadbalanceragents: yum as the default deploy method 2020-07-16 18:50:05 +08:00
Zexi Li
37ee6f8446 webconsole: fix old session make new session closed 2020-07-16 18:49:54 +08:00
Yousong Zhou
e5dd8efd7a build: ansibleserver: use native alpine, include openssh 2020-07-16 18:09:52 +08:00
Yousong Zhou
916943a7c2 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 18:09:52 +08:00
Qu Xuan
cee24b2a7d fix: sec rule export missing fields 2020-07-16 17:14:17 +08:00
wanyaoqi
b806e536f1 add params auto_migrate_on_host_down 2020-07-16 15:03:05 +08:00
Zexi Li
0bfba15dfc Merge pull request #7172 from ioito/automated-cherry-pick-of-#7171-upstream-release-3.3
Automated cherry pick of #7171: fix: 修复cloudid get权限问题
2020-07-16 11:19:23 +08:00
Zexi Li
a933d5d7a8 Merge pull request #7175 from ioito/automated-cherry-pick-of-#7174-upstream-release-3.3
Automated cherry pick of #7174: fix: 添加secgroup rule过滤参数
2020-07-16 11:18:49 +08:00
Zexi Li
c09174dd39 Merge pull request #7187 from ioito/automated-cherry-pick-of-#7186-upstream-release-3.3
Automated cherry pick of #7186: fix: clouduser's cloudgroups info
2020-07-16 11:18:09 +08:00
Zexi Li
1a36e3a512 Merge pull request #7189 from ioito/automated-cherry-pick-of-#7188-upstream-release-3.3
Automated cherry pick of #7188: fix: check azure image format when rebuild root
2020-07-16 11:09:31 +08:00
Zexi Li
cac1db5391 Merge pull request #7178 from ioito/automated-cherry-pick-of-#7177-upstream-release-3.3
Automated cherry pick of #7177: fix: 避免华为云安全组规则删除失败
2020-07-16 10:15:30 +08:00
Qu Xuan
1b5b8081f1 fix: check azure image format when rebuild root 2020-07-15 18:48:00 +08:00
Zexi Li
52e02d85b9 Merge pull request #7184 from wanyaoqi/automated-cherry-pick-of-#7151-upstream-release-3.3
Automated cherry pick of #7151: disable procutils print error info
2020-07-15 17:43:06 +08:00
Zexi Li
14f10307c1 Merge pull request #7182 from wanyaoqi/automated-cherry-pick-of-#7181-upstream-release-3.3
Automated cherry pick of #7181: misc ha guest fix
2020-07-15 17:42:44 +08:00
Qu Xuan
64599b4819 fix: 避免华为云安全组规则删除失败 2020-07-15 17:13:55 +08:00
Qu Xuan
fb229f6c79 fix: clouduser's cloudgroups info 2020-07-15 17:09:23 +08:00
wanyaoqi
65408519ae misc ha guest fix 2020-07-15 17:06:02 +08:00
wanyaoqi
4831aee2dc disable procutils print error info 2020-07-15 17:02:11 +08:00
Qu Xuan
a5fc7c807c fix: 添加secgroup rule过滤参数 2020-07-15 14:31:43 +08:00
Qu Xuan
09f2b2af26 fix: 修复cloudid get权限问题 2020-07-15 11:08:17 +08:00
Zexi Li
2b923eb5b7 Merge pull request #7169 from wanyaoqi/automated-cherry-pick-of-#7168-upstream-release-3.3
Automated cherry pick of #7168: fix list guests on host
2020-07-15 10:45:59 +08:00
Zexi Li
ebe81b9c51 Merge pull request #7167 from ioito/automated-cherry-pick-of-#7166-upstream-release-3.3
Automated cherry pick of #7166: fix: 修复cloudid用户列表权限问题
2020-07-15 10:35:58 +08:00
Zexi Li
b31f35ba26 Merge pull request #7159 from yousong/automated-cherry-pick-of-#7158-upstream-release-3.3
Automated cherry pick of #7158: iproute2: address: make Exact idempotent
2020-07-15 10:34:36 +08:00
Zexi Li
f9c6a23280 Merge pull request #7165 from tb365/automated-cherry-pick-of-#7163-upstream-release-3.3
Automated cherry pick of #7163: cloudprovider usable filter with zone
2020-07-15 10:33:59 +08:00
wanyaoqi
f09eb6690d fix list guests on host 2020-07-14 22:34:48 +08:00
Qu Xuan
c003f78f62 fix: azure 支持权限 2020-07-14 21:24:24 +08:00
Qu Xuan
26434683c4 fix: 修复cloudid用户列表权限问题 2020-07-14 21:10:59 +08:00
tangbin
26757cb8d8 cloudprovider usable filter with zone 2020-07-14 19:55:51 +08:00
Zexi Li
c90420b61f Merge pull request #7156 from ioito/automated-cherry-pick-of-#7155-upstream-release-3.3
Automated cherry pick of #7155: fix: 优化webconsole代码&bugfix
2020-07-14 17:53:04 +08:00
Yousong Zhou
4b6d385e1a 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:41:48 +08:00
Qu Xuan
ea3097240e fix: 优化webconsole代码&bugfix 2020-07-14 15:08:58 +08:00
Zexi Li
1881789981 Merge pull request #7153 from zexi/automated-cherry-pick-of-#7152-upstream-release-3.3
Automated cherry pick of #7152: climc: refactor k8s resource
2020-07-14 12:19:35 +08:00
Zexi Li
a6db3d353c climc: refactor k8s resource 2020-07-14 11:45:39 +08:00
Zexi Li
4882ead845 Merge pull request #7146 from rainzm/automated-cherry-pick-of-#7145-upstream-release-3.3
Automated cherry pick of #7145: fix guest template health check
2020-07-14 11:35:43 +08:00
Zexi Li
8a8d0e1cb3 Merge pull request #7148 from rainzm/automated-cherry-pick-of-#7147-upstream-release-3.3
Automated cherry pick of #7147: fix: mo.VirtualMachine's Config maybe nil
2020-07-14 11:34:43 +08:00
Zexi Li
bb2e014514 Merge pull request #7144 from zexi/hotfix/remove-informer-informer-3.3
remove informer code for release/3.3
2020-07-14 11:34:08 +08:00
rainzm
0420266b7d fix: mo.VirtualMachine's Config maybe nil 2020-07-13 23:09:57 +08:00
rainzm
550883197f fix guest template health check 2020-07-13 22:56:18 +08:00
Zexi Li
a365a0f459 remove informer code for release/3.3 2020-07-13 21:40:02 +08:00
Zexi Li
5d82212284 Merge pull request #7137 from tb365/automated-cherry-pick-of-#7135-upstream-release-3.3
Automated cherry pick of #7135: user batch register bugfix
2020-07-13 21:28:44 +08:00
Zexi Li
99caf7b142 Merge pull request #7141 from ioito/automated-cherry-pick-of-#7140-upstream-release-3.3
Automated cherry pick of #7140: fix: 修复阿里云同步安全组规则异常问题
2020-07-13 21:24:31 +08:00
Qu Xuan
2f42e9e5f4 fix: 修复阿里云同步安全组规则异常问题 2020-07-13 20:45:41 +08:00
tangbin
b52eb8491c user batch register bugfix 2020-07-13 14:58:26 +08:00
Zexi Li
32638ac3c0 Merge pull request #7131 from wanyaoqi/automated-cherry-pick-of-#7130-upstream-release-3.3
Automated cherry pick of #7130: vendor update: update jsonutils
2020-07-10 20:18:12 +08:00
Zexi Li
2bc5db8d20 Merge pull request #7126 from wanyaoqi/automated-cherry-pick-of-#7125-upstream-release-3.3
Automated cherry pick of #7125: - fix local storage init local man
2020-07-10 20:15:39 +08:00
wanyaoqi
d335c570c6 vendor update: update jsonutils 2020-07-10 16:18:54 +08:00
wanyaoqi
fe472cbf49 - fix local storage init local man
- fix rbd set storage info
2020-07-10 14:48:58 +08:00
Zexi Li
c17436cdb0 Merge pull request #7124 from swordqiu/automated-cherry-pick-of-#7123-upstream-release-3.3
Automated cherry pick of #7123: hotfix: vpc change owners with wire
2020-07-10 10:27:44 +08:00
Zexi Li
a2d7854fb7 Merge pull request #7122 from wanyaoqi/automated-cherry-pick-of-#7121-upstream-release-3.3
Automated cherry pick of #7121: misc fix
2020-07-10 10:27:15 +08:00
Zexi Li
39776f339a Merge pull request #7120 from ioito/automated-cherry-pick-of-#7119-upstream-release-3.3
Automated cherry pick of #7119: fix: 避免google clouduser同步权限异常
2020-07-10 10:26:51 +08:00
Qiu Jian
c97e2ab1c2 hotfix: vpc change owners with wire 2020-07-10 01:50:28 +08:00
wanyaoqi
5070775cd3 misc fix 2020-07-09 22:22:12 +08:00
Qu Xuan
7056fa01b4 fix: 避免google clouduser同步权限异常 2020-07-09 21:37:33 +08:00
Zexi Li
3f391649c6 Merge pull request #7117 from ioito/automated-cherry-pick-of-#7116-upstream-release-3.3
Automated cherry pick of #7116: fix: 修复vpc同步异常问题
2020-07-09 21:23:11 +08:00
Zexi Li
f73e11b0bd Merge pull request #7107 from wanyaoqi/automated-cherry-pick-of-#7106-upstream-release-3.3
Automated cherry pick of #7106: fix set storage info bind mount
2020-07-09 21:23:00 +08:00
Zexi Li
99cf724d2c Merge pull request #7114 from ioito/automated-cherry-pick-of-#7113-upstream-release-3.3
Automated cherry pick of #7113: fix: 避免越界访问
2020-07-09 21:21:17 +08:00
Qu Xuan
ef6d0c2adc fix: 修复vpc同步异常问题 2020-07-09 21:05:09 +08:00
Qu Xuan
09ccf107cb fix: 避免越界访问 2020-07-09 20:24:41 +08:00
yunion-ci-robot
cea59e8794 Merge pull request #7105 from tb365/automated-cherry-pick-of-#7096-upstream-release-3.3
Automated cherry pick of #7096: update vendor
2020-07-09 16:13:57 +08:00
wanyaoqi
18a023f2fb fix set storage info bind mount 2020-07-09 14:54:53 +08:00
Zexi Li
4c1d9e5e0f Merge pull request #7103 from swordqiu/automated-cherry-pick-of-#7102-upstream-release-3.3
Automated cherry pick of #7102: fix: opslog show the owners operation logs only
2020-07-09 14:18:55 +08:00
Zexi Li
db43b87568 Merge pull request #7101 from swordqiu/automated-cherry-pick-of-#7100-upstream-release-3.3
Automated cherry pick of #7100: fix: remove default allow policy for storages
2020-07-09 14:06:59 +08:00
Zexi Li
25d34f34b0 Merge pull request #7099 from ioito/automated-cherry-pick-of-#7098-upstream-release-3.3
Automated cherry pick of #7098: fix: cloudid 权限修复
2020-07-09 14:03:37 +08:00
tangbin
13f44debcd update vendor 2020-07-09 13:42:03 +08:00
Qiu Jian
a186f25871 fix: opslog show the owners operation logs only 2020-07-09 11:26:13 +08:00
Qiu Jian
8f7223b1d6 fix: remove default allow policy for storages 2020-07-09 11:15:19 +08:00
Qu Xuan
05c730acea fix: cloudid 权限修复 2020-07-09 10:46:50 +08:00
Zexi Li
b921d993ab Merge pull request #7097 from ioito/automated-cherry-pick-of-#7083-upstream-release-3.3
Automated cherry pick of #7083: fix: cloudid 异常修复
2020-07-08 21:26:09 +08:00
Zexi Li
434e0d8be2 Merge pull request #7094 from ioito/automated-cherry-pick-of-#7093-upstream-release-3.3
Automated cherry pick of #7093: fix: 修复资源组云上同步异常问题
2020-07-08 21:24:25 +08:00
Qu Xuan
b4ed259633 fix: cloudid 异常修复 2020-07-08 21:01:19 +08:00
Qu Xuan
89cb75bfeb fix: 修复资源组云上同步异常问题 2020-07-08 16:25:41 +08:00
Zexi Li
1ca0859d51 Merge pull request #7092 from ioito/automated-cherry-pick-of-#7091-upstream-release-3.3
Automated cherry pick of #7091: fix: 修复qcloud同步权限组异常问题
2020-07-08 14:10:42 +08:00
Zexi Li
f62bd8968e Merge pull request #7086 from ioito/automated-cherry-pick-of-#7085-upstream-release-3.3
Automated cherry pick of #7085: fix: 避免请求中国区iam异常
2020-07-08 14:10:19 +08:00
Zexi Li
136f2c547d Merge pull request #7080 from ioito/automated-cherry-pick-of-#7079-upstream-release-3.3
Automated cherry pick of #7079: fix: 修复腾讯云操作日志时间异常问题
2020-07-08 14:09:32 +08:00
Zexi Li
1caf8b6c0b Merge pull request #7089 from ioito/automated-cherry-pick-of-#7088-upstream-release-3.3
Automated cherry pick of #7088: fix: 修复azure 项目同步问题
2020-07-08 01:38:02 +08:00
Zexi Li
8f6b72bb82 Merge pull request #7084 from swordqiu/automated-cherry-pick-of-#7069-upstream-release-3.3
Automated cherry pick of #7069: fix: perform private on vpc will private all wires if no networks in wires
2020-07-07 22:37:45 +08:00
Qu Xuan
21178638f0 fix: 修复qcloud同步权限组异常问题 2020-07-07 19:48:53 +08:00
Qu Xuan
e8ff39a011 fix: 修复azure 项目同步问题 2020-07-07 18:44:09 +08:00
Qu Xuan
5f9b6622f0 fix: 避免请求中国区iam异常 2020-07-07 16:56:45 +08:00
Qiu Jian
2286ef19b4 fix: perform private on vpc will private all wires if no networks in wires 2020-07-07 16:14:28 +08:00
Qu Xuan
8a1d2d1eaf fix: 修复腾讯云操作日志时间异常问题 2020-07-07 14:58:49 +08:00
Zexi Li
adc50ec864 Merge pull request #7055 from ioito/automated-cherry-pick-of-#7054-upstream-release-3.3
Automated cherry pick of #7054: fix: 避免cloudprovider同步缺失
2020-07-07 14:49:03 +08:00
Zexi Li
4963d750fb Merge pull request #7060 from ioito/automated-cherry-pick-of-#7059-upstream-release-3.3
Automated cherry pick of #7059: fix: cloud poilcy count
2020-07-07 14:48:17 +08:00
Zexi Li
8bc891590d Merge pull request #7072 from ioito/automated-cherry-pick-of-#7066-upstream-release-3.3
Automated cherry pick of #7066: fix: json request 支持自定义匹配err
2020-07-07 14:46:44 +08:00
Zexi Li
efbf033c2d Merge pull request #7052 from ioito/automated-cherry-pick-of-#7050-upstream-release-3.3
Automated cherry pick of #7050: fix: google rds regional and zonal
2020-07-07 14:45:44 +08:00
Zexi Li
4fe7006920 Merge pull request #7078 from ioito/automated-cherry-pick-of-#7077-upstream-release-3.3
Automated cherry pick of #7077: fix: 修复elastic cache sku zone_id异常问题
2020-07-07 14:44:12 +08:00
Zexi Li
5e0d66d5df Merge pull request #7075 from ioito/automated-cherry-pick-of-#7074-upstream-release-3.3
Automated cherry pick of #7074: fix: 分开统计安全组关联虚拟机数量
2020-07-07 14:43:35 +08:00
Qu Xuan
76906efea2 fix: 修复elastic cache sku zone_id异常问题 2020-07-07 12:11:58 +08:00
Qu Xuan
a997cf4982 fix: 分开统计安全组关联虚拟机数量 2020-07-07 11:49:11 +08:00
Qu Xuan
6ac6768e36 fix: json request 支持自定义匹配err 2020-07-07 11:16:58 +08:00
Zexi Li
acdc1dafd3 Merge pull request #7068 from swordqiu/automated-cherry-pick-of-#7067-upstream-release-3.3
Automated cherry pick of #7067: fix: remove default host list policy
2020-07-07 11:14:44 +08:00
Zexi Li
b60c97822d Merge pull request #7057 from yousong/automated-cherry-pick-of-#7056-upstream-release-3.3
Automated cherry pick of #7056: vpcagent: ClaimVpcGuestDnsRecords: guard against pending_deleted guests
2020-07-07 11:13:53 +08:00
Zexi Li
279d1398cc Merge pull request #7062 from rainzm/automated-cherry-pick-of-#7061-upstream-release-3.3
Automated cherry pick of #7061: Update docker image onecloud-base and its references
2020-07-07 11:12:46 +08:00
Qiu Jian
eb342a70ab fix: remove default host list policy 2020-07-06 22:05:40 +08:00
rainzm
eb7b055ca2 Update docker image onecloud-base and its references 2020-07-06 21:00:22 +08:00
Qu Xuan
367d3f1470 fix: cloud poilcy count 2020-07-06 17:17:32 +08:00
Yousong Zhou
821283952d vpcagent: ClaimVpcGuestDnsRecords: guard against pending_deleted guests 2020-07-06 16:45:22 +08:00
Qu Xuan
e7cd84275e fix: 避免cloudprovider同步缺失 2020-07-06 16:27:06 +08:00
Zexi Li
4bd60ccd38 Merge pull request #7051 from zhaoxiangchun/automated-cherry-pick-of-#7046-upstream-release-3.3
Automated cherry pick of #7046: 增加influxdb的tag 的一些filter
2020-07-06 11:47:14 +08:00
Qu Xuan
79d0169855 fix: google rds regional and zonal 2020-07-06 11:18:25 +08:00
zhaoxiangchun
5db35871eb 增加influxdb的tag 的一些filter 2020-07-06 11:09:29 +08:00
Zexi Li
21d67a4297 Merge pull request #7043 from swordqiu/automated-cherry-pick-of-#7042-upstream-release-3.3
Automated cherry pick of #7042: feature: project filter that list jointable projects for user or group
2020-07-04 12:11:27 +08:00
Zexi Li
dcf4e3ebf2 Merge pull request #7032 from ioito/automated-cherry-pick-of-#7031-upstream-release-3.3
Automated cherry pick of #7031: fix: 避免azure同步资源组异常
2020-07-04 12:10:34 +08:00
Zexi Li
d15259cd5e Merge pull request #7037 from swordqiu/automated-cherry-pick-of-#7036-upstream-release-3.3
Automated cherry pick of #7036: fix: cloud account sync may block
2020-07-04 12:04:53 +08:00
Qiu Jian
b49272eb35 feature: project filter that list jointable projects for user or group 2020-07-04 11:35:13 +08:00
Qiu Jian
6133b1a5cc fix: cloud account sync may block 2020-07-04 10:23:39 +08:00
Qu Xuan
fcf1e193b9 fix: 避免azure同步资源组异常 2020-07-03 20:49:12 +08:00
Zexi Li
35f75db920 Merge pull request #7010 from ioito/automated-cherry-pick-of-#7009-upstream-release-3.3
Automated cherry pick of #7009: fix: 取消aliyun lb scheduler创建限制
2020-07-03 19:24:33 +08:00
Zexi Li
42ad035e56 Merge pull request #7030 from ioito/automated-cherry-pick-of-#7029-upstream-release-3.3
Automated cherry pick of #7029: fix: 避免slave zoneid异常
2020-07-03 19:23:55 +08:00
Qu Xuan
f303512a7c fix: 避免slave zoneid异常 2020-07-03 19:06:15 +08:00
Zexi Li
5ff0613ef3 Merge pull request #7026 from ioito/automated-cherry-pick-of-#7025-upstream-release-3.3
Automated cherry pick of #7025: fix: clouduser can_delete always be false
2020-07-03 18:43:37 +08:00
yunion-ci-robot
c5d448cbb3 Merge pull request #7028 from rainzm/automated-cherry-pick-of-#7027-upstream-release-3.3
Automated cherry pick of #7027: Update Dockerfile.ansibleserver
2020-07-03 18:33:44 +08:00
rainzm
69a4b12724 Update Dockerfile.ansibleserver 2020-07-03 18:22:59 +08:00
Zexi Li
b63dc0f91d Merge pull request #7021 from ioito/automated-cherry-pick-of-#7020-upstream-release-3.3
Automated cherry pick of #7020: fix: 优化安全组list速度,并发挥rule规则信息
2020-07-03 17:39:33 +08:00
Qu Xuan
acf641be26 fix: 同步不需要判断账号是否有iam权限 2020-07-03 17:38:09 +08:00
Qu Xuan
a54a9c05b1 fix: clouduser can_delete always be false 2020-07-03 17:18:58 +08:00
yunion-ci-robot
1ace096c5b Merge pull request #6987 from swordqiu/automated-cherry-pick-of-#6986-upstream-release-3.3
Automated cherry pick of #6986: fix: validate candiate ip for sync-fix-nics
2020-07-03 16:35:27 +08:00
Qu Xuan
dc3ef5c61e fix: 优化安全组list速度,并发挥rule规则信息 2020-07-03 15:53:02 +08:00
Zexi Li
5533d5131b Merge pull request #7003 from ioito/automated-cherry-pick-of-#6961-upstream-release-3.3
Automated cherry pick of #6961: fix: 优化sku同步逻辑
2020-07-03 11:40:19 +08:00
Zexi Li
31a4822aea Merge pull request #7019 from ioito/automated-cherry-pick-of-#7017-upstream-release-3.3
Automated cherry pick of #7017: fix: 修复cloudid同步问题
2020-07-03 11:39:12 +08:00
Qu Xuan
9c62343075 fix: 公有云子账号加域属性 2020-07-03 11:15:19 +08:00
Qu Xuan
544c19f3ce fix: 修复cloudid同步问题 2020-07-03 11:15:19 +08:00
yunion-ci-robot
7e30803175 Merge pull request #7002 from tb365/automated-cherry-pick-of-#7000-upstream-release-3.3
Automated cherry pick of #7000: cluster_d required->optional
2020-07-02 20:29:27 +08:00
Zexi Li
25c20ec6f8 Merge pull request #7004 from ioito/automated-cherry-pick-of-#6998-upstream-release-3.3
Automated cherry pick of #6998: fix: manager_id资源隔离获取
2020-07-02 20:20:35 +08:00
Zexi Li
4b2086e0b4 Merge pull request #7013 from zexi/automated-cherry-pick-of-#7012-upstream-release-3.3
Automated cherry pick of #7012: monitor: reduce subscription mysql usage
2020-07-02 20:19:25 +08:00
Zexi Li
220fc57201 Merge pull request #7007 from wanyaoqi/automated-cherry-pick-of-#7006-upstream-release-3.3
Automated cherry pick of #7006: bind mount nfs storage path
2020-07-02 17:35:25 +08:00
Zexi Li
de889ec6cc monitor: reduce subscription mysql usage 2020-07-02 17:34:26 +08:00
Qu Xuan
82d0f5c03f fix: 取消aliyun lb scheduler创建限制 2020-07-02 15:44:19 +08:00
wanyaoqi
5db73a6670 bind mount nfs storage path 2020-07-02 14:34:16 +08:00
Qu Xuan
66fc71cc81 fix: manager_id资源隔离获取 2020-07-02 14:27:53 +08:00
Qu Xuan
04427515fa fix: 优化sku同步逻辑 2020-07-02 14:26:46 +08:00
tangbin
87cf251d2d cluster_d required->optional 2020-07-02 11:55:15 +08:00
Zexi Li
029233a5a4 Merge pull request #6995 from rainzm/automated-cherry-pick-of-#6994-upstream-release-3.3
Automated cherry pick of #6994: fix: Override Master and Slave for scalinggroup_guest
2020-07-02 10:34:50 +08:00
Zexi Li
57ae145034 Merge pull request #6989 from rainzm/automated-cherry-pick-of-#6988-upstream-release-3.3
Automated cherry pick of #6988: update jsonutils
2020-07-02 10:34:20 +08:00
Zexi Li
6f72aadf39 Merge pull request #6997 from tb365/automated-cherry-pick-of-#6996-upstream-release-3.3
Automated cherry pick of #6996: copyright api update
2020-07-02 10:24:25 +08:00
tangbin
a3245195ab copyright api update 2020-07-01 20:02:25 +08:00
Zexi Li
eb6d0ed5f0 Merge pull request #6985 from lvyangyang/automated-cherry-pick-of-#6913-upstream-release-3.3
Automated cherry pick of #6913: add: region/openstack 迁移接入
2020-07-01 19:29:56 +08:00
Zexi Li
160a315d7b Merge pull request #6991 from rainzm/automated-cherry-pick-of-#6990-upstream-release-3.3
Automated cherry pick of #6990: fix the bug introduced in #6643
2020-07-01 19:26:28 +08:00
rainzm
23c76dc796 fix: Override Master and Slave for scalinggroup_guest 2020-07-01 17:23:59 +08:00
rainzm
9685684876 fix the bug introduced in #6643 2020-07-01 16:52:27 +08:00
rainzm
b4884e3dde update jsonutils 2020-07-01 16:32:03 +08:00
Zexi Li
22c915d617 Merge pull request #6968 from ioito/automated-cherry-pick-of-#6903-upstream-release-3.3
Automated cherry pick of #6903: fix: 修正项目映射同步
2020-07-01 16:29:55 +08:00
lvyangyang
386746365d add: region/openstack 迁移接入 2020-07-01 16:28:29 +08:00
Zexi Li
f97c397b13 Merge pull request #6983 from ioito/automated-cherry-pick-of-#6982-upstream-release-3.3
Automated cherry pick of #6982: fix: capability for cloudid
2020-07-01 14:36:54 +08:00
Qiu Jian
41a9d92421 fix: validate candiate ip for sync-fix-nics 2020-07-01 14:17:58 +08:00
Qu Xuan
781cc3ed6b fix: capability for cloudid 2020-07-01 11:21:10 +08:00
Zexi Li
f8938b819c Merge pull request #6973 from ioito/automated-cherry-pick-of-#6972-upstream-release-3.3
Automated cherry pick of #6972: fix: 修复cloudid问题
2020-06-30 23:08:10 +08:00
Zexi Li
87043ebb5c Merge pull request #6976 from wanyaoqi/automated-cherry-pick-of-#6975-upstream-release-3.3
Automated cherry pick of #6975: fix deploy backup server order
2020-06-30 23:07:28 +08:00
wanyaoqi
207cd93fe0 fix deploy backup server order 2020-06-30 22:02:40 +08:00
Qu Xuan
45819e6c12 fix: 避免未本地缓存usercache 2020-06-30 21:09:24 +08:00
Qu Xuan
223c9439b1 fix: 修复cloudid问题 2020-06-30 21:09:23 +08:00
Zexi Li
9fb62eb504 Merge pull request #6955 from wanyaoqi/automated-cherry-pick-of-#6954-upstream-release-3.3
Automated cherry pick of #6954: include system usage
2020-06-30 12:07:58 +08:00
Zexi Li
8842b97ca0 Merge pull request #6963 from ioito/automated-cherry-pick-of-#6962-upstream-release-3.3
Automated cherry pick of #6962: fix: 避免同步不到其他域的云账号
2020-06-30 12:06:42 +08:00
Zexi Li
5ecb97d532 Merge pull request #6967 from ioito/automated-cherry-pick-of-#6966-upstream-release-3.3
Automated cherry pick of #6966: fix: 修复权限组权限同步异常问题
2020-06-30 12:03:38 +08:00
Zexi Li
e20e308ac6 Merge pull request #6965 from swordqiu/automated-cherry-pick-of-#6964-upstream-release-3.3
Automated cherry pick of #6964: fix: reduce totp verification overhead
2020-06-30 12:01:39 +08:00
Zexi Li
10052eb330 Merge pull request #6971 from yousong/automated-cherry-pick-of-#6970-upstream-release-3.3
Automated cherry pick of #6970: cloudcommon: taskman: fix table insert
2020-06-30 11:59:57 +08:00
Yousong Zhou
986878289e 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:55:49 +08:00
Qu Xuan
e31334b471 fix: 支持同步project标签到本地资源 2020-06-30 11:51:26 +08:00
Qu Xuan
b25295bf03 fix: 修正项目映射同步 2020-06-30 11:51:26 +08:00
Qu Xuan
21a09d29d6 fix: 修复权限组权限同步异常问题 2020-06-30 10:55:23 +08:00
Zexi Li
5de04ebdf4 Merge pull request #6948 from swordqiu/automated-cherry-pick-of-#6947-upstream-release-3.3
Automated cherry pick of #6947: fix: disable domain sharing if non_default_domain_projects turned off
2020-06-30 10:48:18 +08:00
Qiu Jian
265bbc6e77 fix: reduce totp verification overhead 2020-06-30 02:32:25 +08:00
Qu Xuan
ef0242d15b fix: 避免同步不到其他域的云账号 2020-06-29 20:35:07 +08:00
Zexi Li
0d1826644b Merge pull request #6958 from yousong/automated-cherry-pick-of-#6957-upstream-release-3.3
Automated cherry pick of #6957: cloudcommon: taskman: SetModelManager
2020-06-29 19:36:59 +08:00
Zexi Li
77d1ac7056 Merge pull request #6956 from wanyaoqi/automated-cherry-pick-of-#6950-upstream-release-3.3
Automated cherry pick of #6950: - add server pending deleted for host details
2020-06-29 19:36:09 +08:00
Zexi Li
d20654575c Merge pull request #6953 from rainzm/automated-cherry-pick-of-#6952-upstream-release-3.3
Automated cherry pick of #6952: fix: Error occurs when suitableWire exists or all suitableNetwork exist.
2020-06-29 19:27:32 +08:00
Yousong Zhou
60293ef052 cloudcommon: tablespec: informer: use %#v to log bad obj
Fixes 145c88f79b ("cloudcommon: tablespec: informer: log obj type")
2020-06-29 14:47:14 +08:00
Yousong Zhou
db9789c868 cloudcommon: taskman: SetModelManager 2020-06-29 14:47:14 +08:00
wanyaoqi
8751082487 - add server pending deleted for host details
- host list by server networks

- guest networks return wire id
2020-06-29 11:41:00 +08:00
wanyaoqi
89ec83fec3 include system usage 2020-06-28 20:44:01 +08:00
rainzm
030a2edfb9 fix: Error occurs when suitableWire exists or all suitableNetwork exist. 2020-06-28 16:59:36 +08:00
Qiu Jian
a23f57da4d fix: disable domain sharing if non_default_domain_projects turned off 2020-06-28 13:25:38 +08:00
Zexi Li
561465e7e8 Merge pull request #6944 from yousong/automated-cherry-pick-of-#6943-upstream-release-3.3
Automated cherry pick of #6943: lb: include cluster name info in details
2020-06-28 09:01:37 +08:00
Yousong Zhou
5f49670e18 lb: include cluster name info in details 2020-06-24 18:54:10 +08:00
Zexi Li
fa521da2cd Merge pull request #6934 from wanyaoqi/automated-cherry-pick-of-#6933-upstream-release-3.3
Automated cherry pick of #6933: server name enable upper case
2020-06-24 17:42:22 +08:00
Zexi Li
fb0e4e093f Merge pull request #6919 from ioito/automated-cherry-pick-of-#6918-upstream-release-3.3
Automated cherry pick of #6918: fix: 避免azure同步项目失败
2020-06-24 12:59:34 +08:00
Zexi Li
6a64efb7e5 Merge pull request #6927 from ioito/automated-cherry-pick-of-#6926-upstream-release-3.3
Automated cherry pick of #6926: fix: google资源名称兼容处理
2020-06-23 23:29:32 +08:00
Zexi Li
2fa8e1b658 Merge pull request #6937 from swordqiu/automated-cherry-pick-of-#6936-upstream-release-3.3
Automated cherry pick of #6936: fix: sort quota list result by usage rate
2020-06-23 23:27:54 +08:00
Zexi Li
202f6b4be2 Merge pull request #6932 from swordqiu/automated-cherry-pick-of-#6931-upstream-release-3.3
Automated cherry pick of #6931: fix: keystone project resource count not accurate
2020-06-23 23:26:38 +08:00
Qiu Jian
9012180b60 fix: sort quota list result by usage rate 2020-06-23 22:23:34 +08:00
Zexi Li
33d9ef948a Merge pull request #6922 from swordqiu/automated-cherry-pick-of-#6921-upstream-release-3.3
Automated cherry pick of #6921: fix: simplify forbidden user login message
2020-06-23 21:25:58 +08:00
wanyaoqi
6f20638f8b server name enable upper case 2020-06-23 21:05:30 +08:00
Qiu Jian
161db6d95f fix: keystone project resource count not accurate 2020-06-23 21:03:30 +08:00
Qu Xuan
4f5a2ff433 fix: google资源名称兼容处理 2020-06-23 20:30:31 +08:00
Qiu Jian
611b9e9b5e fix: simplify forbidden user login message 2020-06-23 17:47:20 +08:00
Qu Xuan
f8cce28926 fix: 避免azure同步项目失败 2020-06-23 17:32:25 +08:00
Zexi Li
965b51c633 Merge pull request #6914 from wanyaoqi/automated-cherry-pick-of-#6904-upstream-release-3.3
Automated cherry pick of #6904: fix get storage capabilities with null field
2020-06-23 11:53:52 +08:00
Zexi Li
20443286f6 Merge pull request #6915 from ioito/automated-cherry-pick-of-#6912-upstream-release-3.3
Automated cherry pick of #6912: optimized: 支持ip和端口过滤安全组
2020-06-23 11:52:27 +08:00
Qu Xuan
f12192f1c4 optimized: 支持ip和端口过滤安全组 2020-06-23 11:26:09 +08:00
wanyaoqi
615fe1da8b fix get storage capabilities with null field 2020-06-23 10:54:27 +08:00
yunion-ci-robot
0ec55c87c1 Merge pull request #6907 from wanyaoqi/automated-cherry-pick-of-#6906-upstream-release-3.3
Automated cherry pick of #6906: disable dhclient
2020-06-22 23:42:03 +08:00
wanyaoqi
9a6c26de1c disable dhclient 2020-06-22 21:30:27 +08:00
Zexi Li
c44a8e0b77 Merge pull request #6894 from yousong/automated-cherry-pick-of-#6893-upstream-release-3.3
Automated cherry pick of #6893: cloudcommon: app: cosmetic change
2020-06-22 09:15:19 +08:00
Zexi Li
afaf9406e8 Merge pull request #6900 from yousong/automated-cherry-pick-of-#6899-upstream-release-3.3
Automated cherry pick of #6899: cloudcommon: tablespec: informer: log obj type
2020-06-22 09:10:18 +08:00
Yousong Zhou
f1dfcd5e06 keystone: passwords: SetModelManager
To quash avoid informer error "virtual object is nil"
2020-06-21 18:53:28 +08:00
Yousong Zhou
7d47ac4dd7 keystone: config: SetModelManager for whitelisted config
To quash avoid informer error "virtual object is nil"
2020-06-21 18:53:28 +08:00
Yousong Zhou
2f79c99dc7 cloudcommon: tablespec: informer: log obj type 2020-06-21 18:53:28 +08:00
Yousong Zhou
aeba29c4b3 cloudcommon: policy: fix interval and oneshot sync
Reduce CPU utilization caused by queued time.AfterFunc calls
2020-06-21 18:33:41 +08:00
Yousong Zhou
28e83a3125 cloudcommon: app: cosmetic change 2020-06-21 18:33:41 +08:00
4655 changed files with 227045 additions and 486977 deletions

View File

@@ -38,7 +38,7 @@ jobs:
command: |
targets="$(circleci tests glob "cmd/*" | grep -v cmd/host-image | circleci tests split)"
echo $targets | tr ' ' '\n'
make -j2 $targets
make -j3 $targets
ls -lh _output/bin/
- save_cache:
key: onecloud-build-cache-{{ checksum "go.mod" }}-{{ checksum "Makefile" }}

View File

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

View File

@@ -11,5 +11,5 @@
<!--
如果不需要,填写 "NONE".
如果需要,就以下面 item 的格式写 release 分支名,并提交对应的 cherry-pick PR:
- release/3.2
- release/3.1
-->

View File

@@ -17,10 +17,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.14
- name: Set up Go 1.12
uses: actions/setup-go@v1
with:
go-version: 1.14
go-version: 1.12
id: go
- name: Check out code into the Go module directory
@@ -30,8 +30,17 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install librados-dev librbd-dev # baremetal-agent needs this
make cmd/apigateway cmd/climc cmd/keystone
make cmd/logger cmd/region cmd/scheduler cmd/webconsole
make cmd/yunionconf cmd/glance cmd/torrent cmd/s3gateway
make cmd/ansibleserver cmd/cloudnet cmd/notify
make cmd/host-deployer && ./scripts/bundle_libraries.sh _output/bin/bundles/host-deployer _output/bin/host-deployer
make cmd/baremetal-agent && ./scripts/bundle_libraries.sh _output/bin/bundles/baremetal-agent _output/bin/baremetal-agent
make 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'
make cmd/cloudevent cmd/devtool cmd/cloudid
make cmd/*cli
make cmd/esxi-agent
make docker-alpine-build F='-j4 cmd/host cmd/vpcagent cmd/region-dns'
- name: Image region
uses: elgohr/Publish-Docker-Github-Action@master
with:

4
.gitignore vendored
View File

@@ -31,13 +31,9 @@ _output
/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.14.x
- 1.12.x
go_import_path: yunion.io/x/onecloud
cache:
directories:

View File

@@ -9,7 +9,7 @@ BUILD_SCRIPT := $(ROOT_DIR)/build/build.sh
ifeq ($(ONECLOUD_CI_BUILD),)
GIT_COMMIT := $(shell git rev-parse --short HEAD)
GIT_BRANCH := $(shell git branch -r --contains | head -1 | sed -E -e "s%(HEAD ->|origin|upstream)/?%%g" | xargs)
GIT_BRANCH := $(shell git name-rev --name-only HEAD)
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')
@@ -199,7 +199,7 @@ mod:
go mod vendor -v
DOCKER_CENTOS_BUILD_IMAGE?=registry.cn-beijing.aliyuncs.com/yunionio/centos-build:1.1-3
DOCKER_BUILD_IMAGE_VERSION?=1.0-1
define dockerCentOSBuildCmd
set -o xtrace
@@ -215,11 +215,11 @@ docker-centos-build: export dockerCentOSBuildCmd:=$(call dockerCentOSBuildCmd,$(
docker-centos-build:
docker rm --force onecloud-ci-build &>/dev/null || true
docker run \
--name onecloud-docker-centos-build \
--name onecloud-ci-build \
--rm \
--volume $(CURDIR):/root/onecloud \
--volume $(CURDIR)/_output/_cache:/root/.cache \
$(DOCKER_CENTOS_BUILD_IMAGE) \
registry.cn-beijing.aliyuncs.com/yunionio/centos-build:$(DOCKER_BUILD_IMAGE_VERSION) \
/bin/bash -c "$$dockerCentOSBuildCmd"
chown -R $$(id -u):$$(id -g) _output
ls -lh _output/bin
@@ -227,13 +227,11 @@ docker-centos-build:
# NOTE we need a way to stop and remove the container started by docker-build.
# No --tty, --stop-signal won't work
docker-centos-build-stop:
docker stop --time 0 onecloud-docker-centos-build || true
docker-centos stop --time 0 onecloud-ci-build || true
.PHONY: docker-centos-build
.PHONY: docker-centos-build-stop
DOCKER_ALPINE_BUILD_IMAGE?=registry.cn-beijing.aliyuncs.com/yunionio/alpine-build:1.0-5
define dockerAlpineBuildCmd
set -o xtrace
set -o errexit
@@ -252,7 +250,7 @@ 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) \
registry.cn-beijing.aliyuncs.com/yunionio/alpine-build:1.0-1 \
/bin/sh -c "$$dockerAlpineBuildCmd"
ls -lh _output/alpine-build/bin
@@ -314,8 +312,7 @@ VERSION ?= $(shell git describe --exact-match 2> /dev/null || \
git describe --match=$(git rev-parse --short=8 HEAD) --always --dirty --abbrev=8)
image:
mkdir -p $(ROOT_DIR)/_output
DEBUG=$(DEBUG) ARCH=$(ARCH) TAG=$(VERSION) REGISTRY=$(REGISTRY) $(ROOT_DIR)/scripts/docker_push.sh $(filter-out $@,$(MAKECMDGOALS))
TAG=$(VERSION) REGISTRY=$(REGISTRY) $(ROOT_DIR)/scripts/docker_push.sh $(filter-out $@,$(MAKECMDGOALS))
.PHONY: image

View File

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

View File

@@ -44,7 +44,7 @@ Please refers to [install & deployment](https://docs.yunion.io/docs/setup/) (cur
## Architecture
![architecture](https://www.yunion.cn/static/frame.png)
![architecture](./docs/architecture.png)
## Contribution

View File

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

View File

@@ -0,0 +1,6 @@
# rbac for project owner, not allow for delete
roles:
- domain_admin
scope: domain
policy:
'*': allow

View File

@@ -1,10 +1,9 @@
# rbac for normal user, not allow for delete
scope: project
policy:
'*':
'*':
'*': allow
create: deny
update: deny
delete: deny
perform:
purge: deny
clone: deny
'*': allow

View File

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

View File

@@ -0,0 +1,6 @@
# rbac for project owner, not allow for delete
roles:
- project_owner
scope: project
policy:
'*': allow

View File

@@ -0,0 +1,8 @@
# rbac for sysadmin
projects:
- system
roles:
- admin
scope: system
policy:
'*': allow

View File

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

View File

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

View File

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

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

View File

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

View File

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

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

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

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

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

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

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

View File

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

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM alpine:3.11.6
MAINTAINER "Yousong Zhou <zhouyousong@yunionyun.com>"

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM frolvlad/alpine-glibc:glibc-2.28
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
FROM alpine:3.11
FROM frolvlad/alpine-glibc:glibc-2.28
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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

View File

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

View File

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

View File

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

View File

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

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

View File

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

View File

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

View File

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

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

View File

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

@@ -47,13 +47,16 @@
</td>
</tr>
<tr>
<td style="padding-bottom: 10px;">您正在验证邮箱,请在验证码输入框中输入:{{.code}},已完成验证。</td>
<td style="padding-bottom: 10px;">请点击下面的链接,完成用户邮箱的激活:</td>
</tr>
<tr>
<td style="padding-bottom: 30px;"><a href="{{.link}}">{{.link}}</a></td>
</tr>
</table>
</td>
</tr>
<tr style="width: 96%;">
<td colspan="2" style="border-top: 1px dashed #ccc; color: #333; font-size: 12px; padding-bottom: 10px; font-weight: 100;">如非本人操作,请及时登录平台并修改密码以保证账户的安全</td>
<td colspan="2" style="border-top: 1px dashed #ccc; color: #333; font-size: 12px; padding-bottom: 10px; font-weight: 100;">*为了确保您的帐号安全该链接仅48小时内访问有效请勿直接回复此邮件。</td>
</tr>
<tr>
<td colspan="2" style="background: #333; text-align: right; padding-right: 20px; font-size: 12px; color: #fff; height: 50px;">版权所有 © {{.copyright}} 保留一切权利</td>

View File

@@ -1 +1 @@
{{.copyright}} Verify
Yunion Verify

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 }}已经创建成功。

View File

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

View File

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

View File

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

View File

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

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

@@ -1 +0,0 @@
The instance type of your {{ .brand }} virtual machine {{ .name }} has been changed to: {{ index .flavor_info "cpu" }}-core CPU, {{ index .flavor_info "memory" }}M memory, {{ index .flavor_info "datadisk" }}G data disk, {{ index .flavor_info "ebw" }}M bandwidth.

View File

@@ -1 +0,0 @@
Your {{ .brand }} virtual machine {{ .name }} has been created successfully. The VM's IP address is {{ .ips }}, {{ if .account }}initial account is {{ .account }}, {{ end }}{{ if .keypair }}the access ssh key is {{ .keypair }}, {{ end }}{{ if .password }}the initial password is {{ .password }}, {{ end }}and please use {{ if .windows }}Remote Desktop Connector (RDC){{ else }}SSH{{ end }} or the control panel console to access the VM.

View File

@@ -1 +0,0 @@
The {{ .brand }} virtual machine {{ .name }} of the project {{ .tenant }} has been created successfully.

View File

@@ -1 +0,0 @@
Your {{ .brand }} virtual machine {{ .name }} has been deleted.

View File

@@ -1 +0,0 @@
The {{ .brand }} virtual machine {{ .name }} of the project {{ .tenant }} has been deleted.

View File

@@ -1 +0,0 @@
Your {{ .brand }} virtual machine {{ .name }} system crashed: {{ .reason }}

View File

@@ -1 +0,0 @@
Your {{ .brand }} virtual machine {{ .name }} is successfully reinstalled. The VM's {{ if .account }}initial account is {{ .account }}, {{ end }}{{ if .keypair }}the access key is {{ .keypair }}, {{ end }}{{ if .password }}the initial password is {{ .password }}, {{ end }}and please use {{ if .windows }}remote desktop connection (RDC){{ else }}SSH{{ end }} or the control panel console to access the virtual machine.

View File

@@ -1,6 +0,0 @@
System error message
Resource: {{ .name}}
Resource ID: {{ .id }}
Event: {{ .event }}
Reason: {{ .reason }}
Time: {{ .created }}

View File

@@ -1,6 +0,0 @@
System warning message
Resource: {{ .name}}
Resource ID: {{ .id }}
Event: {{ .event }}
Reason: {{ .reason }}
Time: {{ .created }}

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 }}创建成功

View File

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

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