Compare commits

..

4517 Commits

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

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

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

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

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

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

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

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

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

deal with comments

gencopyright

climc for SuggestSysRule and SuggestSysAlert

monitor: fix sysrule related models not generated

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

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

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

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

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

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

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

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

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

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

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

[E 200205 09:45:49 timeutils2.AddTimeout.func1.1(timeutils.go:31)] runtime error: invalid memory address or nil pointer dereference
goroutine 405 [running]:
runtime/debug.Stack(0x551210, 0xc0000de1c0, 0x0)
        /opt/hostedtoolcache/go/1.12.16/x64/src/runtime/debug/stack.go:24 +0x9d
runtime/debug.PrintStack()
        /opt/hostedtoolcache/go/1.12.16/x64/src/runtime/debug/stack.go:16 +0x22
yunion.io/x/onecloud/pkg/util/timeutils2.AddTimeout.func1.1()
        /home/runner/work/onecloud/onecloud/pkg/util/timeutils2/timeutils.go:32 +0x96
panic(0x1b208e0, 0x3bd1880)
        /opt/hostedtoolcache/go/1.12.16/x64/src/runtime/panic.go:522 +0x1b5
yunion.io/x/onecloud/pkg/hostman/hostinfo.(*SHostInfo).updateHostRecord(0xc0009a8a80, 0xc000aff3b0, 0x24)
        /home/runner/work/onecloud/onecloud/pkg/hostman/hostinfo/hostinfo.go:866 +0xbba
yunion.io/x/onecloud/pkg/hostman/hostinfo.(*SHostInfo).getHostInfo(0xc0009a8a80, 0xc00099a510, 0x24)
        /home/runner/work/onecloud/onecloud/pkg/hostman/hostinfo/hostinfo.go:782 +0x37d
yunion.io/x/onecloud/pkg/hostman/hostinfo.(*SHostInfo).getZoneInfo(0xc0009a8a80, 0xc00099a4b0, 0x24, 0x0)
        /home/runner/work/onecloud/onecloud/pkg/hostman/hostinfo/hostinfo.go:760 +0x55c
yunion.io/x/onecloud/pkg/hostman/hostinfo.(*SHostInfo).onGetWireId(0xc0009a8a80, 0xc000aff2f0, 0x24)
        /home/runner/work/onecloud/onecloud/pkg/hostman/hostinfo/hostinfo.go:734 +0x16a
yunion.io/x/onecloud/pkg/hostman/hostinfo.(*SHostInfo).fetchAccessNetworkInfo(0xc0009a8a80)
        /home/runner/work/onecloud/onecloud/pkg/hostman/hostinfo/hostinfo.go:719 +0x3ee
yunion.io/x/onecloud/pkg/hostman/hostinfo.(*SHostInfo).register(...)
        /home/runner/work/onecloud/onecloud/pkg/hostman/hostinfo/hostinfo.go:662
yunion.io/x/onecloud/pkg/util/timeutils2.AddTimeout.func1(0x77359400, 0xc000925520)
        /home/runner/work/onecloud/onecloud/pkg/util/timeutils2/timeutils.go:37 +0x6b
created by yunion.io/x/onecloud/pkg/util/timeutils2.AddTimeout
        /home/runner/work/onecloud/onecloud/pkg/util/timeutils2/timeutils.go:28 +0x49
2020-02-05 10:06:33 +08:00
yunion-ci-robot
d6f6ce5251 Merge pull request #5005 from yousong/bugfix/yousong-vpc
hostman: skip setting up ovn chassis when env support is not ready
2020-02-05 02:14:45 +08:00
yunion-ci-robot
26fe4abe85 Merge pull request #4996 from zhaoxiangchun/feature/zxc-azureMon
azure的主机监控信息的获取
2020-02-05 01:50:49 +08:00
Yousong Zhou
0c258408e1 hostman: skip setting up ovn chassis when env support is not ready 2020-02-04 17:12:25 +08:00
Yousong Zhou
985326a7ad hostman: fix detection of ovn controller version 2020-02-04 17:12:25 +08:00
Zexi Li
7a0ea299b8 Merge pull request #4921 from ioito/feature/qx-extra-detail
Feature/qx extra detail
2020-02-04 15:55:44 +08:00
zhaoxiangchun
b474ee30de modify files by github comments 2020-02-04 10:23:09 +08:00
zhaoxiangchun
7adcab4c63 azure的主机监控信息的获取
monitor.go中的GetMonitorData函数完成参数的组装,查询获取监控信息
2020-02-03 21:18:03 +08:00
yunion-ci-robot
a5221d2b23 Merge pull request #4999 from ioito/hotfix/qx-private-cloud-change-config
fix: 避免私有云调整配置匹配不到sku
2020-02-03 16:15:43 +08:00
Qu Xuan
d2b6c4e90f fix: 避免私有云调整配置匹配不到sku 2020-02-03 12:18:28 +08:00
Qu Xuan
76d974f6d8 feature: api -> response struct 2020-02-03 10:22:44 +08:00
yunion-ci-robot
c16dc54112 Merge pull request #4994 from rainzm/bugfix/esxi_delete_disk
fix(esxiagent): Lead to vCenter server '503' when deleting vm's disk
2020-01-19 23:48:13 +08:00
Rain
bf717adcd5 fix(esxiagent): Lead to vCenter server '503' when deleting vm'disk 2020-01-19 17:55:08 +08:00
yunion-ci-robot
2f56b98778 Merge pull request #4893 from rainzm/feature/esxi_template
feature(esxiagent): Add Template VM as CachedImage
2020-01-19 17:45:12 +08:00
Zexi Li
d4593f1ac2 Merge pull request #4991 from swordqiu/hotfix/qj-fix-cloud-event-id-event-id
Hotfix/qj fix cloud event id event
2020-01-19 17:35:19 +08:00
Qiu Jian
ee9573c786 fix: increment paging list order by multiple columns 2020-01-19 17:03:42 +08:00
Qiu Jian
d6a708fc55 update vendor 2020-01-19 15:54:17 +08:00
yunion-ci-robot
a1526d07de Merge pull request #4901 from wanyaoqi/feature/wyq/sync-on-slave-start
backup guest fix
2020-01-19 15:43:12 +08:00
yunion-ci-robot
1073f9edd3 Merge pull request #4988 from swordqiu/hotfix/qj-cloud-event-new-primary-column
fix: cloudevent_tbl use new primary column event_id
2020-01-19 14:24:15 +08:00
Qiu Jian
9fc698b1c6 fix: cloudevent_tbl use new primary column event_id 2020-01-19 12:51:13 +08:00
yunion-ci-robot
682361acb8 Merge pull request #4256 from yousong/feature/yousong-vpc
Feature/yousong vpc
2020-01-19 11:47:11 +08:00
yunion-ci-robot
4a34ab9552 Merge pull request #4977 from tb365/bugfix/tb-bugfix-0118
get login-info add 404 return & elasticcache account reset password api
2020-01-19 11:42:11 +08:00
yunion-ci-robot
3b6142d874 Merge pull request #4972 from wanyaoqi/feature/wyq/guest-network-fix
hotplug network device
2020-01-19 11:40:11 +08:00
Rain
b301bb01b7 fix(esxiagent): Cancel devKeys's cache of vm 2020-01-19 11:03:13 +08:00
wanyaoqi
c0e2019acd backup guest fix 2020-01-19 10:46:24 +08:00
wanyaoqi
de34764cad support attach multi network 2020-01-19 10:39:12 +08:00
Zexi Li
c8eb7ee127 Merge pull request #4983 from swordqiu/hotfix/qj-allocate-host-access-ip-from-reserved-pool
fix: try allocate host access ip from reserved pool
2020-01-19 10:37:15 +08:00
yunion-ci-robot
14ea4c8d39 Merge pull request #4899 from yousong/bugfix/yousong-lb-updatebg
Bugfix/yousong lb updatebg
2020-01-19 10:28:11 +08:00
yunion-ci-robot
86d22fea9d Merge pull request #4885 from yousong/bugfix/yousong-lb
lb: support accessing backend with tls
2020-01-19 10:24:12 +08:00
yunion-ci-robot
25c0e8cefd Merge pull request #4938 from ioito/hotfix/qx-azure-image-update
fix: 避免/opt/yunion/tmp目录不存在导致自定义镜像创建azure服务器失败
2020-01-19 09:09:12 +08:00
Qiu Jian
bb8d93b371 fix: try allocate host access ip from reserved pool 2020-01-19 00:20:42 +08:00
Zexi Li
0d52727cab Merge pull request #4980 from wanyaoqi/bugfix/wyq/is-standard-domain-optional
bugfix: is standard domain optional
2020-01-18 19:16:24 +08:00
wanyaoqi
2e65633c4c is standard domain optional 2020-01-18 19:10:11 +08:00
TangBin
b97ef4a95a get login-info add 404 return & elasticcache account reset password api
add input params
2020-01-18 18:35:54 +08:00
Zexi Li
187d8e72fe Merge pull request #4976 from rainzm/fix/notify_message
feature(notify): Display id of notification from its ClusterID
2020-01-18 17:08:56 +08:00
Rain
7212ce84d1 feature(notify): Display id of notification from its ClusterID 2020-01-18 17:03:52 +08:00
yunion-ci-robot
f39301adc9 Merge pull request #4954 from ioito/hotfix/qx-keypair-schema
fix: 修复未赋予keypair scheme值问题
2020-01-18 16:28:10 +08:00
yunion-ci-robot
b6af0076c7 Merge pull request #4965 from ioito/hotfix/qx-cloudevent-brand
fix: 公有云日志添加brand字段
2020-01-18 16:25:14 +08:00
Zexi Li
9f6d971681 Merge pull request #4973 from swordqiu/hotfix/qj-bucket-missing-cloud-provider-info
fix: bucket get details missing cloudprovider info
2020-01-18 16:03:43 +08:00
Qu Xuan
83336a36d4 fix: 公有云日志添加brand字段 2020-01-18 16:03:19 +08:00
Qiu Jian
a2358f6aaf fix: bucket get details missing cloudprovider info 2020-01-18 15:26:31 +08:00
wanyaoqi
c74d8ca0c7 hotplug network device 2020-01-18 15:01:08 +08:00
Zexi Li
9b14311965 Merge pull request #4968 from swordqiu/hotfix/qj-ignore-expired-reserved-ip
fix: network-reserve-ip ignores expired reserved ips
2020-01-18 14:24:32 +08:00
Qiu Jian
c114ef9411 fix: network-reserve-ip ignores expired reserved ips 2020-01-18 11:05:45 +08:00
Zexi Li
fd94dc7839 Merge pull request #4962 from wanyaoqi/bugfix/wyq/fix-renew
bugfix: fix models renew
2020-01-17 21:55:12 +08:00
yunion-ci-robot
9fcb011c77 Merge pull request #4960 from yousong/bugfix/yousong-iproute2
hostman: linux_bridge: flush addr on member iface down
2020-01-17 21:49:11 +08:00
wanyaoqi
f0a606a687 fix models renew 2020-01-17 21:47:09 +08:00
yunion-ci-robot
ade64ab485 Merge pull request #4946 from ioito/hotfix/qx-qcloud-eip-bandwidth
fix: 腾讯云主机带宽跟随eip带宽变化而变化
2020-01-17 19:42:09 +08:00
yunion-ci-robot
cafc0d2476 Merge pull request #4775 from zhaoxiangchun/feature/zxc-awsMon
Feature/zxc aws mon
2020-01-17 19:24:09 +08:00
yunion-ci-robot
c91a7818b8 Merge pull request #4957 from wanyaoqi/bugfix/wyq/postpaid-expire
fix postpaid expire
2020-01-17 18:57:09 +08:00
Yousong Zhou
6eeeb27378 hostman: linux_bridge: flush addr on member iface down
Previously it was done by "ifconfig xx 0.0.0.0 down"

Fixes 4d8d20f ("hostman: use package iproute2")
2020-01-17 18:11:08 +08:00
yunion-ci-robot
44dcbb6061 Merge pull request #4955 from yousong/bugfix/yousong-iproute2
esxi: dont import hostman pkgs
2020-01-17 18:03:08 +08:00
wanyaoqi
96862a2560 fix postpaid expire 2020-01-17 17:51:29 +08:00
Yousong Zhou
bc999888a2 vpcagent: a vpc agent with ovn driver 2020-01-17 17:48:04 +08:00
Yousong Zhou
7c29b06669 scheduler: network_predicate: allow onecloud vpc networks 2020-01-17 17:48:04 +08:00
Yousong Zhou
d17452240b scheduler: simplify MinCounters 2020-01-17 17:48:04 +08:00
Yousong Zhou
da68e7fccf scheduler: simplify findCandidatesThatFit() 2020-01-17 17:48:03 +08:00
Yousong Zhou
99e2a1a948 hostman: add OvnHelper 2020-01-17 17:48:03 +08:00
Yousong Zhou
2a6f76539c hostman: drop flow mods in ifup/ifdown script
For classic network iface, these are to be handled by sdnagent.  However
these can cause problem for ovn-controller
2020-01-17 17:48:01 +08:00
Yousong Zhou
496bbbf5c0 hostman: hostbridge: const values for driver types 2020-01-17 17:47:00 +08:00
Yousong Zhou
9173e8aa0b hostman: fix wording: detective -> detect 2020-01-17 17:46:58 +08:00
Yousong Zhou
5226deb366 mcclient: options: list all including deleted resource with --delete-all 2020-01-17 17:46:08 +08:00
Yousong Zhou
3cd8049222 cloudcommon: db: allow sysadmin to list deleted resources
The query arg name cannot be "deleted" to avoid collide with resource
field name.
2020-01-17 17:46:08 +08:00
Yousong Zhou
770a6d194d cloudcommon: extend interface for fetching metadata 2020-01-17 17:46:07 +08:00
Yousong Zhou
4221e214f0 guestnetworks: nic desc for onecloud vpc 2020-01-17 17:45:07 +08:00
Yousong Zhou
54783f601a hosts: Add OvnVersion field 2020-01-17 17:44:31 +08:00
Yousong Zhou
2fbe4a30b7 hosts: GetNetworkWithId: take into account onecloud vpc subnet 2020-01-17 17:44:31 +08:00
Yousong Zhou
5f623cb892 hosts: simplify GetNetworkWithIdAndCredential
By removing unused arg
2020-01-17 17:44:31 +08:00
Yousong Zhou
282da02f9f networks: forbid updating onecloud vpc network 2020-01-17 17:44:31 +08:00
Yousong Zhou
d9d343822f networks: validate onecloud vpc subnet
Also rewrite for more readability, especially the part on finding wire,
vpc, region, etc.
2020-01-17 17:44:31 +08:00
Yousong Zhou
f194ad7183 vpcs: add method containsIPV4Range() 2020-01-17 17:44:31 +08:00
Yousong Zhou
93c2192b77 vpcs: 自动删除wire 2020-01-17 17:44:29 +08:00
Yousong Zhou
81dc7fd91e networks: auto-create zone wire 2020-01-17 17:41:06 +08:00
Yousong Zhou
0a3c8acbd4 vpcs: 允许为私有云创建vpc 2020-01-17 17:41:06 +08:00
Yousong Zhou
e9e8cd1519 models: guard against nil memory access 2020-01-17 17:41:06 +08:00
Yousong Zhou
fb682c8e2b mcclient: rename BaseManagerInterface to IBaseManager 2020-01-17 17:41:06 +08:00
Yousong Zhou
5b0f36dbcb mcclient: models: map to db models 2020-01-17 17:41:06 +08:00
Yousong Zhou
b5a9625575 esxi: dont import hostman pkgs
Fix building region on darwin
2020-01-17 16:52:11 +08:00
Zexi Li
fca1a6d795 Merge pull request #4950 from wanyaoqi/bugfix/wyq/host-deployer-version-up
host deployer base version up
2020-01-17 14:45:34 +08:00
wanyaoqi
72a4c8244d host deployer base version up 2020-01-17 14:42:52 +08:00
Rain
7524141e49 feature(esxiagent): Add Template VM as CachedImage 2020-01-17 14:16:08 +08:00
Qu Xuan
75c22ea603 fix: 修复未赋予keypair scheme值问题 2020-01-17 14:11:08 +08:00
yunion-ci-robot
b896ae5ca7 Merge pull request #4935 from yousong/bugfix/yousong-iproute2
netutils2: guard against possible nil members
2020-01-17 13:48:10 +08:00
Qu Xuan
24591ecfab fix: 腾讯云主机带宽跟随eip带宽变化而变化 2020-01-17 13:32:23 +08:00
yunion-ci-robot
a4495dd731 Merge pull request #4943 from wanyaoqi/bugfix/wyq/fix-snapshot-filter-by-disk-type
region: fix snapshot list filter by disk type
2020-01-17 12:58:08 +08:00
wanyaoqi
fd698314be fix snapshot list filter by disk type 2020-01-17 11:57:04 +08:00
yunion-ci-robot
1c44b51913 Merge pull request #4880 from tb365/bugfix/tb-elb-bugfix-0108
Bugfix/tb elb bugfix 0108
2020-01-17 11:00:09 +08:00
yunion-ci-robot
050c4173a0 Merge pull request #4922 from wanyaoqi/bugfix/wyq/host-misc-fix-0116
host: fix detect host info
2020-01-17 10:55:08 +08:00
yunion-ci-robot
ea27a3c029 Merge pull request #4931 from rainzm/bugfix/esxi_copy_image
bugfix(esxiagent): PrefetchImageCacheByCopy & SHost.FileUrlPathToDsPath
2020-01-17 10:54:09 +08:00
Qu Xuan
c4f9e47a1b fix: 避免/opt/yunion/tmp目录不存在导致自定义镜像创建azure服务器失败 2020-01-17 10:50:03 +08:00
Rain
5b1c97af58 bugfix(esxiagent): PrefetchImageCacheByCopy & SHost.FileUrlPathToDsPath
1. Fix the bug when preparing remote image by copy
2. SHost.FileUrlPathToDsPath will not work when shost has multiple storage.
2020-01-17 10:39:41 +08:00
zhaoxiangchun
139d2cacee add License Head 2020-01-17 10:28:00 +08:00
yunion-ci-robot
e7a3905669 Merge pull request #4926 from ioito/hotfix/qx-cloudevent-list-filter
cloudevent 支持since until参数过滤
2020-01-17 09:20:08 +08:00
yunion-ci-robot
0fa2e68627 Merge pull request #4924 from tb365/bugfix/tb-bugfix-011601
server sku filter by city bugfix
2020-01-17 08:46:07 +08:00
yunion-ci-robot
4aee13b813 Merge pull request #4925 from ioito/feature/qx-batch-perform-uncache-image
fix: 支持批量释放镜像缓存
2020-01-17 08:45:07 +08:00
yunion-ci-robot
cd3899eb15 Merge pull request #4428 from tb365/feature/tb-ctyun-operations
ctyun operations
2020-01-16 22:54:08 +08:00
Yousong Zhou
975728bb31 netutils2: guard against possible nil members 2020-01-16 22:48:26 +08:00
Yousong Zhou
bd1efb1716 netutils: DefaultSrcIpDev: use iproute2.RouteGetByDst 2020-01-16 22:48:26 +08:00
Yousong Zhou
6f49ceade3 iproute2: add RouteGetByDst() 2020-01-16 22:48:26 +08:00
Yousong Zhou
5d1905aa3c iproute2: test against non-nil dst of routes returned by List4() 2020-01-16 22:48:26 +08:00
Rain
bc83e2940a bugfix(esxiagent): PrefetchImageCacheByCopy & SHost.FileUrlPathToDsPath
1. Fix the bug when preparing remote image by copy
2. SHost.FileUrlPathToDsPath will not work when shost has multiple storage.
2020-01-16 22:00:07 +08:00
yunion-ci-robot
5a698a76bd Merge pull request #4933 from rainzm/bugfix/host-deployer_vddk
fix(hostdeployer): Umount VDDKDisk when IRootFsDriver is nil
2020-01-16 21:48:11 +08:00
yunion-ci-robot
cab9960d6c Merge pull request #4929 from yousong/bugfix/yousong-iproute2
hostman: replace route command dep with netlink call
2020-01-16 21:24:11 +08:00
Rain
ea1e9c75fa fix(hostdeployer): Umount VDDKDisk when IRootFsDriver is nil 2020-01-16 21:19:16 +08:00
Yousong Zhou
167bca1931 hostman: replace route command dep with netlink call 2020-01-16 20:47:50 +08:00
Yousong Zhou
5cd60db1b4 netutils2: replace GetRoutes with netlink call 2020-01-16 20:47:50 +08:00
Yousong Zhou
1a5f6ee0f6 iproute2: route operations 2020-01-16 20:27:55 +08:00
Yousong Zhou
8b5b6bc591 hostman: add secondary addresses with one iproute2 call 2020-01-16 20:27:39 +08:00
Yousong Zhou
697c441acf hostman: up bridge interface in SetupAddresses
Previously it was done implicitly by ifconfig addr config command
2020-01-16 20:27:39 +08:00
Qu Xuan
495214e4c2 cloudevent 支持since until参数过滤 2020-01-16 19:37:55 +08:00
Qu Xuan
ad57f66781 fix: 支持批量释放镜像缓存 2020-01-16 19:09:32 +08:00
Yousong Zhou
c952693b82 hostman: fix removing addresses on slave ifaces
Previously it was done with "ifconfig xxx 0 up"

Fixes 4d8d20f ("hostman: use package iproute2")
2020-01-16 18:33:03 +08:00
TangBin
9956a04e22 server sku filter by city bugfix 2020-01-16 17:35:19 +08:00
TangBin
8b0f4b6576 ctyun operations 2020-01-16 17:05:20 +08:00
yunion-ci-robot
3e9915523f Merge pull request #4919 from yousong/bugfix/yousong-iproute2
netutils: isolate linux dependent parts
2020-01-16 16:52:08 +08:00
wanyaoqi
ea123270b3 fix detect host info 2020-01-16 16:48:15 +08:00
Yousong Zhou
5efeb6fe50 netutils: isolate linux dependent parts 2020-01-16 16:34:49 +08:00
Yousong Zhou
c3191c9c83 iproute2: skip setting addrs on parse error 2020-01-16 16:34:49 +08:00
Yousong Zhou
33010e2d93 hostman: fix setting address
Fixes 4d8d20f ("hostman: use package iproute2")
2020-01-16 16:34:49 +08:00
Zexi Li
25c2165b81 Merge pull request #4914 from wanyaoqi/bugfix/wyq/fix-deploy-iso-failed
bugfix: fix deploy iso failed
2020-01-16 15:32:44 +08:00
yunion-ci-robot
eb670de2b4 Merge pull request #4916 from tb365/bugfix/tb-bugfix-0116
ctyun bugfix
2020-01-16 14:42:07 +08:00
TangBin
276bfe40ab comment fix 2020-01-16 14:05:13 +08:00
TangBin
14b58d8c6d ctyun bugfix 2020-01-16 11:36:40 +08:00
yunion-ci-robot
f6cb85592d Merge pull request #4253 from ioito/feature/qx-google-operation
Feature/qx google operation
2020-01-16 11:02:05 +08:00
yunion-ci-robot
c71b20c748 Merge pull request #4836 from yousong/bugfix/yousong-iproute2
Bugfix/yousong iproute2
2020-01-16 09:58:06 +08:00
yunion-ci-robot
abbc8cbc63 Merge pull request #4911 from tb365/bugfix/tb-bugfix-011501
server get login info 404 not found
2020-01-16 09:52:06 +08:00
yunion-ci-robot
eef972ea05 Merge pull request #4904 from ioito/bugfix/qx-azure-vm-create-sys-storage
fix: 避免创建azure时指定高级ssd失效
2020-01-16 09:48:06 +08:00
wanyaoqi
52ad575184 fix deploy iso failed 2020-01-15 20:56:07 +08:00
yunion-ci-robot
edc6711d96 Merge pull request #4887 from wanyaoqi/feature/wyq/glance-fix
glance: validate image share on delete, update pulibc scope on mark standard
2020-01-15 20:31:10 +08:00
Qu Xuan
4a6a4c594a feature: google云操作支持 2020-01-15 20:23:31 +08:00
TangBin
4d6921285e server get login info 404 not found 2020-01-15 19:16:24 +08:00
Qu Xuan
129ed08a5c fix: 避免创建azure时指定高级ssd失效 2020-01-15 17:56:57 +08:00
Zexi Li
5e4155061f Merge pull request #4902 from wanyaoqi/bugfix/wyq/probe-mod-use-executor
host: use executor probe kernel mods
2020-01-15 17:30:09 +08:00
wanyaoqi
fec7ecbee7 use executor probe kernel mods 2020-01-15 16:59:25 +08:00
Yousong Zhou
c1dacdda12 lbagent: tunable tune.http.maxhdr 2020-01-15 12:14:27 +08:00
Yousong Zhou
5f16a5fae8 lbagent: fix not logging https listener 2020-01-15 12:14:27 +08:00
Yousong Zhou
a468ffedbf lbagent: support accessing backend with tls 2020-01-15 12:14:27 +08:00
Yousong Zhou
12c4664d85 climc: lbbackend: support ssl related options 2020-01-15 12:14:27 +08:00
Yousong Zhou
a363221e68 lb: support accessing backend with tls 2020-01-15 12:14:27 +08:00
Yousong Zhou
96f972877a lb: regiondrivers: remove unneeded Optional(true) call 2020-01-15 12:14:27 +08:00
Yousong Zhou
2f7f26e640 climc: lblistener: allow setting backendgroup to empty 2020-01-14 21:36:50 +08:00
Yousong Zhou
3f684ef94c mcclient: options: test marshal string ptr 2020-01-14 21:36:50 +08:00
Yousong Zhou
dd01610931 lblistener: allow setting http/https listener backendgroup to empty 2020-01-14 21:36:50 +08:00
Yousong Zhou
dcb4366e6d validators: ValidatorModelIdOrName: allow empty 2020-01-14 21:36:50 +08:00
Yousong Zhou
4d8d20fe95 hostman: use package iproute2 2020-01-14 18:41:04 +08:00
Yousong Zhou
480ed8ebc6 hostman: fix setting mtu for tunnel padding 2020-01-14 18:41:04 +08:00
Yousong Zhou
212af8b864 hostman: hostinfo: use netutils2.DefaultSrcIpDev() 2020-01-14 18:41:04 +08:00
Yousong Zhou
0987655e03 vendor: add github.com/vishvananda/netlink 2020-01-14 18:41:04 +08:00
Yousong Zhou
1f21fafb65 netutils2: use netlink to GetAddresses() 2020-01-14 18:41:04 +08:00
Yousong Zhou
58b03973a5 netutils2: add DefaultSrcIpDev() 2020-01-14 18:41:04 +08:00
Yousong Zhou
fc4189694b iproute2: initial version 2020-01-14 18:41:04 +08:00
Zexi Li
358ce8e6e6 Merge pull request #4895 from rainzm/bugfix/notify_template_fetch
fix(notify): Update template
2020-01-14 18:23:39 +08:00
Rain
da3797275f fix(notify): Update template 2020-01-14 17:52:42 +08:00
Zexi Li
5b907fc3e9 Merge pull request #4888 from wanyaoqi/bugfix/wyq/host-misc0114
host fix env path
2020-01-14 17:26:56 +08:00
wanyaoqi
b113c0599f host fix env path 2020-01-14 17:19:18 +08:00
wanyaoqi
bb82d30331 validate share on delete, update pulibc scope on mark standard 2020-01-14 17:08:29 +08:00
TangBin
5e599b180e aliyun backendgroup bugfix 2020-01-14 15:40:05 +08:00
TangBin
90a541b9bf aws backendgroup delete bugfix 2020-01-14 15:25:54 +08:00
TangBin
aa55b51106 aws sync routetable 2020-01-14 15:25:54 +08:00
TangBin
f51ca4201d huawei remove backend group bugfix 2020-01-14 15:25:54 +08:00
Zexi Li
7d7fd841b4 Merge pull request #4874 from yousong/bugfix/yousong-vendor
vendor: update sqlchemy
2020-01-14 13:57:46 +08:00
Zexi Li
82184636a2 Merge pull request #4878 from yousong/bugfix/yousong-lb
lb: fix setting default redirect type
2020-01-14 13:57:11 +08:00
Yousong Zhou
2c57279e83 lb: fix setting default redirect type 2020-01-14 13:28:06 +08:00
Yousong Zhou
a520e04aa8 vendor: update sqlchemy 2020-01-14 13:24:16 +08:00
Zexi Li
bbc2770045 Merge pull request #4873 from swordqiu/hotfix/qj-list-doc-improvements
fix: list documentation improvements
2020-01-14 12:02:24 +08:00
Zexi Li
4a07f1984c Merge pull request #4869 from swordqiu/hotfix/qj-service-config-first-change-not-effective
fix: first load of service config not effective
2020-01-14 10:23:32 +08:00
Qiu Jian
45849355e6 fix: list documentation improvements 2020-01-14 04:17:15 +08:00
Qiu Jian
2cf9785881 fix: first load of service config not effective 2020-01-14 03:02:27 +08:00
yunion-ci-robot
6cd9e9670c Merge pull request #4862 from ioito/hotfix/qx-openstack-change-config
fix: 仅kvm需要去判断是否需要关机调整配置,公有云私有云默认不需要
2020-01-14 02:59:01 +08:00
yunion-ci-robot
0320134cea Merge pull request #4837 from ioito/hotfix/qx-disk-log
fix: 添加磁盘创建失败日志
2020-01-14 02:56:03 +08:00
yunion-ci-robot
a28e914782 Merge pull request #4858 from ioito/hotfix/qx-cloudevent-fix
fix: 恢复公有云日志name
2020-01-14 02:50:02 +08:00
yunion-ci-robot
b32f534b50 Merge pull request #4829 from ioito/hotfix/qx-cloudevent-systemc-resource
fix: 公有云日志权限列表
2020-01-14 02:29:02 +08:00
yunion-ci-robot
3659899881 Merge pull request #4849 from ioito/hotfix/qx-aliyun-secgrouprule-sync
fix: aliyun rule fix
2020-01-14 02:19:02 +08:00
yunion-ci-robot
eb32cf7cac Merge pull request #4799 from yousong/bugfix/yousong-lb
lb: support redirect type listener & rule
2020-01-14 02:03:01 +08:00
Zexi Li
953cd5f143 Merge pull request #4842 from ioito/hotfix/qx-secgroup-log
fix: 添加安全组操作日志
2020-01-13 20:50:25 +08:00
Zexi Li
6d407e7fbd Merge pull request #4856 from rainzm/bugfix/esxi-agent_build
fix(esxi-agent): Export CGO_ENABLED=0 when building esxi-agent
2020-01-13 20:49:18 +08:00
Rain
a1627c4e24 fix(esxi-agent): Export CGO_ENABLED=0 when building esxi-agent 2020-01-13 20:42:37 +08:00
zhaoxiangchun
f2dbd426cb vendor: update 2020-01-13 19:18:30 +08:00
zhaoxiangchun
e81c5e03c9 新增aws监控代码,GetMonitorData函数,获取监控信息
首先通过monitor.go文件中的GetMonitorData函数组装查询参数,然后通过SRegion中cloudWatchRequest函数组装request信息,
进行查询返回
2020-01-13 19:17:00 +08:00
Qu Xuan
26d2913a95 fix: 仅kvm需要去判断是否需要关机调整配置,公有云私有云默认不需要 2020-01-13 18:07:19 +08:00
Qu Xuan
86e0d5f68f fix: 恢复公有云日志name 2020-01-13 17:54:33 +08:00
Qu Xuan
8d96105c8f fix: aliyun rule fix 2020-01-13 17:30:48 +08:00
Zexi Li
76ed60d6c0 Merge pull request #4713 from swordqiu/feature/qj-cloud-provider-capability-and-list-input-struct
feature: cloudprovider capability filter and listinput recode
2020-01-13 17:03:28 +08:00
Qiu Jian
7cf59a1fc1 update vendor 2020-01-13 15:57:43 +08:00
Qiu Jian
8154999c05 update server listinput comments 2020-01-13 15:42:10 +08:00
Qu Xuan
63eeafea27 fix: 添加安全组操作日志 2020-01-13 15:25:48 +08:00
Qu Xuan
ee67c84af1 fix: 添加磁盘创建失败日志 2020-01-13 14:53:30 +08:00
yunion-ci-robot
136423fdf8 Merge pull request #4834 from zexi/docker/add-esxi-agent
action: add esxi agent
2020-01-13 13:28:02 +08:00
Zexi Li
86db85bddf action: add esxi agent 2020-01-13 13:23:43 +08:00
Qiu Jian
7fba2df0f2 fix: skus filters 2020-01-13 13:19:48 +08:00
Qiu Jian
750cd9d4dc fix: ServerCreateInput add deprecated sku field for backward
compatibility
2020-01-13 13:19:48 +08:00
Qiu Jian
877fdf90d9 fix: resolve compilation errors after merge 2020-01-13 13:19:48 +08:00
Qiu Jian
f526acc5bf update vendor 2020-01-13 13:19:48 +08:00
Qiu Jian
b9be567ebf use deprecated-by tag to describe deprecated fields 2020-01-13 13:19:47 +08:00
Qiu Jian
29c9d05b5f refine auto-gen swagger documentation 2020-01-13 13:19:47 +08:00
Qiu Jian
14c1ddaccb feature: cloudprovider capability filter and listinput recode 2020-01-13 13:19:47 +08:00
Zexi Li
49b8d52634 Merge pull request #4833 from zexi/docs/swagger-serve-fix-port
swagger serve use fixed port
2020-01-13 13:13:39 +08:00
Zexi Li
3f265d8b8b swagger serve use fixed port 2020-01-13 13:12:35 +08:00
Qu Xuan
12fe979952 fix: 公有云日志权限列表 2020-01-13 11:20:00 +08:00
Zexi Li
2db8cca6cd Merge pull request #4817 from swordqiu/hotfix/qj-service-config-change-non-default-domain-projects
fix: non-default-domain-projects changes not take effects after changing
2020-01-13 10:56:29 +08:00
Zexi Li
d8ff92b39c Merge pull request #4813 from swordqiu/hotfix/qj-default-read-policy-for-quotas
fix: set default read privileges for reading all quotas
2020-01-13 10:54:53 +08:00
Zexi Li
d828d1a43f Merge pull request #4828 from wanyaoqi/bugfix/wyq/baremetal-setup
fix baremetal base dockerfile
2020-01-13 10:53:24 +08:00
wanyaoqi
cda5608d2f fix baremetal base dockerfile 2020-01-13 10:43:09 +08:00
yunion-ci-robot
4592928398 Merge pull request #4821 from ioito/bugfix/qx-dbinstance-create-input
fix: 修复rds struct input 错误
2020-01-13 09:29:01 +08:00
yunion-ci-robot
8a936fc339 Merge pull request #4823 from tb365/bugfix/tb-bugfix-0111
sku domain filter bugfix
2020-01-13 09:24:00 +08:00
TangBin
9700dbcc49 sku domain filter bugfix 2020-01-12 12:01:58 +08:00
Qu Xuan
dc45c21e4a fix: 修复rds struct input 错误 2020-01-12 00:23:43 +08:00
Qiu Jian
6104dd28bb fix: non-default-domain-projects changes not take effects after changing
through service-config
2020-01-12 00:01:19 +08:00
yunion-ci-robot
64252402a3 Merge pull request #4809 from tb365/bugfix/tb-bugfix-0111
sku domain filter bugfix
2020-01-11 23:22:00 +08:00
TangBin
53eed495c1 sku domain filter bugfix 2020-01-11 21:23:24 +08:00
yunion-ci-robot
9d37deddcb Merge pull request #4773 from wanyaoqi/feature/wyq/structure-isolated-device-info-on-guest-query
region: structure isolated device info on guest query
2020-01-11 18:26:58 +08:00
Qiu Jian
5fb17ce3f2 fix: set default read privileges for reading all quotas 2020-01-11 17:57:28 +08:00
Jian Qiu
df81d7a9fe fix: mising sku in server creat (#4807) 2020-01-11 09:35:33 +08:00
Yousong Zhou
1e285a0043 climc: lb: allow setting redirect parameters 2020-01-10 21:33:12 +08:00
Yousong Zhou
de0983a6f7 climc: lblistenerrule: allow setting request rate 2020-01-10 21:33:12 +08:00
Yousong Zhou
dfee0713e9 lbagent: support http redirect 2020-01-10 21:33:12 +08:00
Yousong Zhou
d41805f513 lb: support redirect type listener & rule 2020-01-10 21:33:12 +08:00
Yousong Zhou
87d2a5da13 lblistenerrule: validate domain and path on creation 2020-01-10 21:33:12 +08:00
Yousong Zhou
b41d2f7248 validators: add ValidatorHostPort 2020-01-10 21:33:12 +08:00
Yousong Zhou
0c00b3ac98 validators: add ValidatorIntChoices 2020-01-10 21:33:12 +08:00
Yousong Zhou
60eb3bcbb2 validators: remove unused defaultVal member 2020-01-10 21:33:12 +08:00
yunion-ci-robot
f90b4cd9e1 Merge pull request #4795 from tb365/bugfix/tb-bugfix-0110
Bugfix/tb bugfix 0110
2020-01-10 20:20:01 +08:00
yunion-ci-robot
0eec98d1f8 Merge pull request #4712 from tb365/feature/tb-support-update-skus-manually
cloud account support manually sync skus
2020-01-10 20:05:58 +08:00
yunion-ci-robot
6f093f0473 Merge pull request #4801 from tb365/bugfix/tb-bugfix-011001
kvm elb listener update bugfix
2020-01-10 19:49:58 +08:00
yunion-ci-robot
8a2641c8ea Merge pull request #4766 from tb365/bugfix/tb-apigateway-getmodule-fix
_getModule fix
2020-01-10 19:21:58 +08:00
TangBin
5ac63fceb0 kvm elb listener update bugfix 2020-01-10 18:24:08 +08:00
TangBin
a3c7d765c8 spelling mistakes fix 2020-01-10 17:15:57 +08:00
TangBin
77ca9f5fe1 user register ingore blank row 2020-01-10 17:10:49 +08:00
TangBin
3174adde04 add filter skus by domain id 2020-01-10 17:07:11 +08:00
Zexi Li
8cb5bcce15 Merge pull request #4779 from rainzm/bugfix/esxi_workspace
fix(esxi-agent): Avoid redundant agent & Adjust workspace path
2020-01-10 11:51:45 +08:00
yunion-ci-robot
4703567fe1 Merge pull request #4754 from rainzm/bugfix/storage_sync
fix(region): Sync HostStorage in syncOnPremiseCloudProviderInfo
2020-01-10 10:33:57 +08:00
yunion-ci-robot
3b36f67c53 Merge pull request #4761 from wanyaoqi/bugfix/wyq/fix-image-disable-delete
image: image-properties-add-disable-delete
2020-01-10 10:27:58 +08:00
wanyaoqi
51f9ef4ee6 structure isolated device info on guest query 2020-01-10 10:27:41 +08:00
yunion-ci-robot
7ac8fc8026 Merge pull request #4768 from wanyaoqi/bugfix/wyq/fix-guest-start-no-task-complete
bugfix: fix guest start no task complete
2020-01-10 10:22:58 +08:00
yunion-ci-robot
2adc3e03fc Merge pull request #4780 from swordqiu/hotfix/qj-initialize-service-config
fix: initialize service config on keystone when service boot
2020-01-10 10:17:59 +08:00
yunion-ci-robot
0d738d06d3 Merge pull request #4784 from yousong/bugfix/yousong-cname
Bugfix/yousong cname
2020-01-10 10:13:58 +08:00
Yousong Zhou
fb9e3c9522 dns: chain load records for cname 2020-01-09 23:19:59 +08:00
Yousong Zhou
1c84754373 dns: prepare for responding with A record of cname value 2020-01-09 23:19:59 +08:00
Yousong Zhou
b904b58de0 dnsrecords: add helper methods 2020-01-09 23:19:59 +08:00
Qiu Jian
74af253254 fix: initialize service config on keystone when service boot 2020-01-09 22:04:27 +08:00
Rain
891a018bef fix(esxi-agent): Avoid redundant agent & Adjust workspace path
1. There is only one esxi agent needed in OneCloud.
2. Workspace path shoule be EsxiAgentPath not the parent directory of this.
3. The VM name is too long for vcenter when importing VM so that shrink
it.
2020-01-09 21:07:41 +08:00
Rain
5dc98f2645 fix(region): Sync HostStorage in syncOnPremiseCloudProviderInfo
情景:绕过OneCloud,删除 storage 上的所有 vm 并且删除 storage 然后新建 storage。

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

修改:如果因为以上原因删除失败的 storage 的 storage_type 为 local
那么就把这个 storage 置为 offline,并且不再阻止 storage cache 的同步。
2020-01-09 21:00:08 +08:00
wanyaoqi
ddb4d72527 fix guest start no task complete 2020-01-09 17:11:41 +08:00
TangBin
1b7acb4eee _getModule fix 2020-01-09 16:34:14 +08:00
wanyaoqi
ab8f96ee67 image-properties-add-disable-delete 2020-01-09 15:40:33 +08:00
TangBin
5fd512cf11 cloud account support manually sync skus 2020-01-09 11:07:33 +08:00
yunion-ci-robot
7c31d1a7da Merge pull request #4755 from rainzm/bugfix/esxi_vm_path
fix(esxi-agent): Adjust the VM Path in Datastore
2020-01-09 10:27:57 +08:00
Zexi Li
adcfaaa555 Merge pull request #4757 from swordqiu/hotfix/qj-fix-quota-brand-key
fix: brand of compute quota key should be fixed
2020-01-09 09:58:33 +08:00
yunion-ci-robot
7c51a354e7 Merge pull request #4709 from wanyaoqi/bugfix/wyq/host-misc-20200108
host misc fix
2020-01-09 00:03:58 +08:00
yunion-ci-robot
8cbf8caf79 Merge pull request #4724 from yousong/bugfix/yousong-wire-name
wires: lift name length, charset constraint
2020-01-08 23:39:57 +08:00
yunion-ci-robot
112dd56081 Merge pull request #4750 from ioito/bugfix/qx-qcloud-cloudevent-success
fix: cloudevent 成功条件补充
2020-01-08 23:31:01 +08:00
Qiu Jian
90c301ca01 fix: brand of compute quota key should be fixed 2020-01-08 23:16:44 +08:00
Rain
883871d551 fix(esxi-agent): Adjust the VM Path in Datastore 2020-01-08 21:05:22 +08:00
Qu Xuan
a0d48290af fix: cloudevent 成功条件补充 2020-01-08 20:43:07 +08:00
Zexi Li
2021c2095a Merge pull request #4735 from swordqiu/hotfix/qj-quota-misc-bugfix-20200108
fix: misc quota bugs
2020-01-08 19:17:24 +08:00
yunion-ci-robot
4baa85932c Merge pull request #4728 from ioito/hotfix/qx-eip-generate-name
Hotfix/qx eip generate name
2020-01-08 18:59:01 +08:00
Qiu Jian
3f148f78e7 fix: misc quota bugs
1. snapshot pending usage not cleaned after created
2. server-attach-network error
3. loadbalancer fail to set cloudregion_id
2020-01-08 18:44:07 +08:00
Qu Xuan
3c9d6b929a fix: eip duplicate name 2020-01-08 17:41:22 +08:00
Yousong Zhou
8d3434cdab wires: lift name length, charset constraint 2020-01-08 17:21:30 +08:00
yunion-ci-robot
6c7b477956 Merge pull request #4695 from rainzm/bugfix/guest_image_quota
fix(glance): Cancel pending usage of image quota correctly
2020-01-08 16:10:58 +08:00
yunion-ci-robot
4a9a72d530 Merge pull request #4657 from ioito/hotfix/qx-api-docs
Hotfix/qx api docs
2020-01-08 15:54:57 +08:00
yunion-ci-robot
9e62b4dace Merge pull request #4701 from tb365/bugfix/tb-bugfix-0107
Bugfix/tb bugfix 0107
2020-01-08 15:51:57 +08:00
Zexi Li
899f90f60b Merge pull request #4714 from wanyaoqi/bugfix/wyq/subimage-field-nullable
bugfix: glance set subimage some field nullable
2020-01-08 15:42:33 +08:00
wanyaoqi
00237495b9 set subimage some field nullable 2020-01-08 15:35:26 +08:00
yunion-ci-robot
77ca8b147b Merge pull request #4655 from ioito/hotfix/qx-cloudevent-query-optimized
optimized: 优化公有云日志查询
2020-01-08 14:53:57 +08:00
wanyaoqi
eb16796db1 host misc fix 2020-01-08 14:19:26 +08:00
yunion-ci-robot
0c0e414b7b Merge pull request #4683 from yousong/bugfix/yousong-owrt
Bugfix/yousong owrt
2020-01-08 12:53:57 +08:00
Qu Xuan
1d6cf71cfc fix: add api docs 2020-01-08 11:54:57 +08:00
Qu Xuan
92e4dc7cd6 optimized: 优化公有云日志查询 2020-01-08 11:44:07 +08:00
yunion-ci-robot
356b021cd3 Merge pull request #4650 from ioito/hotfix/qx-rds-account-fix
fix: 避免创建rds account, database后未设置exteranl_id
2020-01-08 11:39:57 +08:00
yunion-ci-robot
d1db323c77 Merge pull request #4636 from ioito/hotfix/qx-huawei-rds-password-check
fix: 加强密码校验
2020-01-08 11:36:58 +08:00
Rain
1560fb53a9 fix(glance): Cancel pending usage of image quota correctly
ImageNumber always be zero because the 'image_number' in data was
removed so that canceling pending usage not work.
2020-01-08 11:27:02 +08:00
yunion-ci-robot
0b84c1f97e Merge pull request #4634 from tb365/bugfix/tb-bugfix-0106
huawei image delete bugfix
2020-01-08 11:25:57 +08:00
TangBin
3e9c68abad huawei redis sync fix 2020-01-08 11:04:58 +08:00
TangBin
7b8d617b5b ctyun default gateway fix 2020-01-08 10:57:31 +08:00
TangBin
61f72fbbfd huawei network default gateway fix 2020-01-08 10:56:32 +08:00
TangBin
8607d25035 network create GuestIpPrefix fix 2020-01-08 10:46:34 +08:00
yunion-ci-robot
2d2384df19 Merge pull request #4685 from ioito/hotfix/qx-next-marker
fix: next marker format
2020-01-08 10:07:57 +08:00
TangBin
3982f7fb19 azure skus sync fix 2020-01-07 20:03:27 +08:00
Zexi Li
49603570ec Merge pull request #4676 from swordqiu/hotfix/qj-guest-network-default-share-scope
fix: guest network default share scope should be system if non-default-domain-projects is off
2020-01-07 19:30:03 +08:00
Zexi Li
0a0386f76f Merge pull request #4666 from swordqiu/hotfix/qj-guest-brand-on-guest-create
fix: guess brand on guest create
2020-01-07 19:28:15 +08:00
yunion-ci-robot
8d7808b3fb Merge pull request #4656 from ioito/hotfix/qx-qcloud-bandwidth-user
fix: 避免拥有带宽包的腾讯云创建机器失败
2020-01-07 18:02:57 +08:00
Qu Xuan
1514c4ace7 fix: next marker format 2020-01-07 17:55:47 +08:00
Yousong Zhou
b90a1e8013 hostman: openwrt: deploy public key for root 2020-01-07 17:17:00 +08:00
yunion-ci-robot
96c48ca30b Merge pull request #4658 from ioito/hotfix/qx-guest-sync-log
fix: 避免同步安全组失败后,没有任何日志记录
2020-01-07 17:05:56 +08:00
Yousong Zhou
8964b9a406 hostman: split DeployAuthorizedKeys() 2020-01-07 17:01:52 +08:00
Yousong Zhou
79f1d1d85e hostman: openwrt: support deploy networking scripts 2020-01-07 16:40:10 +08:00
Yousong Zhou
50a5cc2570 hostman: openwrt: deploy hostname with board config 2020-01-07 16:40:10 +08:00
Qiu Jian
b93cde73b5 fix: guest network default share scope should be system if
non-default-domain-projects is off
2020-01-07 16:30:29 +08:00
Qiu Jian
a6ecd32f35 fix: guess brand on guest create 2020-01-07 15:05:10 +08:00
Yousong Zhou
2066adbd81 hostman: distro name OpenWrt instead of OpenWRT 2020-01-07 14:54:57 +08:00
Qu Xuan
fd479d8f77 fix: 避免同步安全组失败后,没有任何日志记录 2020-01-07 11:47:19 +08:00
Qu Xuan
3359254efa fix: 避免拥有带宽包的腾讯云创建机器失败 2020-01-07 11:09:00 +08:00
yunion-ci-robot
bcf3407110 Merge pull request #4645 from swordqiu/hotfix/qj-comment-test-dial-timeout-test
fix: comment out TestDialTimeout
2020-01-06 15:12:59 +08:00
yunion-ci-robot
6c6da5ff2c Merge pull request #4635 from rainzm/bugfix/delaytaskwithoutreqctx
fix: Workmanager delayTaskWithoutReqctx
2020-01-06 14:50:57 +08:00
Qu Xuan
8dd88ecae1 fix: 避免创建rds account, database后未设置exteranl_id 2020-01-06 13:36:11 +08:00
Qiu Jian
5be08d9cdd fix: comment out TestDialTimeout 2020-01-06 12:51:27 +08:00
Qu Xuan
2c4d3f5215 fix: 加强密码校验 2020-01-06 11:44:32 +08:00
Rain
02d2c69d39 fix: Workmanager delayTaskWithoutReqctx
The context of delayTaskWithoutReqctx should have 'taskid' value.
2020-01-06 11:40:50 +08:00
TangBin
715ac1adf5 huawei image delete bugfix 2020-01-06 10:45:16 +08:00
yunion-ci-robot
ef1ad52bae Merge pull request #4632 from wanyaoqi/bugfix/wyq/host-image-fix
host image support container deploy
2020-01-05 19:10:42 +08:00
yunion-ci-robot
e3d51bacb3 Merge pull request #4631 from zexi/feature/add-host-image-service
host-image: add build systemd unit
2020-01-05 19:09:37 +08:00
wanyaoqi
b386e98ddd host image support container deploy: 2020-01-05 18:25:43 +08:00
Zexi Li
06ddb4d069 host-image: add build systemd unit 2020-01-05 15:24:10 +08:00
Zexi Li
656a9c74b9 Merge pull request #4627 from swordqiu/hotfix/qj-increase-default-sync-worker-count
fix: increase default sync worker count from 2 to 5
2020-01-05 12:22:50 +08:00
Qiu Jian
a2f71e936a fix: increase default sync worker count from 2 to 5 2020-01-05 12:17:55 +08:00
Zexi Li
ae1d7b8184 Merge pull request #4601 from swordqiu/hotfix/qj-remove-bw-quota-limit
fix: remove bw/ebw quota limit
2020-01-04 23:59:16 +08:00
Qiu Jian
d048c3ac69 remove bw/ebw quota from scheduler 2020-01-04 23:30:52 +08:00
Qiu Jian
008ac4c2ab fix: remove bw/ebw quota limit 2020-01-04 23:30:52 +08:00
Zexi Li
6810401fe1 Merge pull request #4621 from zexi/hotfix/fmt-error
fix: fmt error
2020-01-04 23:20:49 +08:00
Zexi Li
1459f1420c Merge pull request #4616 from swordqiu/hotfix/qj-huawei-uncache-image-not-found
fix: huawei uncache image fail
2020-01-04 23:20:04 +08:00
Zexi Li
a54e5d2a80 Merge pull request #4609 from ioito/hotfix/qx-metadata-opslog
fix: 避免仅删除value时,行为演变为删除标签
2020-01-04 23:17:43 +08:00
Zexi Li
5d29e1ca6d fix: fmt error 2020-01-04 23:11:21 +08:00
Qiu Jian
f1afe696e2 fix: huawei uncache image fail 2020-01-04 22:40:51 +08:00
Zexi Li
6e5b560192 Merge pull request #4602 from rainzm/bugfix/notify_filter_contact
fix(notify): Fix the error of filter about contact
2020-01-04 22:28:40 +08:00
Rain
8498343481 fix(notify): Fix the error of filter about contacts 2020-01-04 22:21:05 +08:00
Qu Xuan
2b6c95d690 fix: 避免仅删除value时,行为演变为删除标签 2020-01-04 22:14:15 +08:00
Zexi Li
165e2f5693 Merge pull request #4597 from rainzm/bugfix/guest_template_password
Bugfix/guest template password
2020-01-04 22:03:12 +08:00
Rain
b17d299a47 fix(region): Cancel the check about project when creating service catlog 2020-01-04 21:34:17 +08:00
Rain
d9f4134f7f fix(region): Add reset_password in guest template's ConfigInfo 2020-01-04 21:33:33 +08:00
Zexi Li
9d8933b030 Merge pull request #4592 from rainzm/bugfix/guest_group_delete
fix(region): Fix that 'Can_delete' disappears due to parameter structuring
2020-01-04 21:09:48 +08:00
Zexi Li
e660135d85 Merge pull request #4588 from rainzm/bugfix/snapshotpolicys
Bugfix & Feature: SnapshotPolicy
2020-01-04 21:09:26 +08:00
yunion-ci-robot
359ed35e7d Merge pull request #4419 from rainzm/feature/esxi_agent_bb
Feature(esxi-agent): Esxi Agent Go Version
2020-01-04 21:07:37 +08:00
Rain
babc05b772 feature(esxi-agent): Esxi Agent Golang
1. 修改了host-deployer 使其支持 vmware vddk 的 deploy guest fs 操作。
2. esxi agent python ==> Go

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

fix(esxi-agent): Partial parameter structure

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

fix(esxi-agent): Format Code

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

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

fix: DelayTask should have a new Context

fix(esxi-agent): call hostutils.DelayTask

change '_interface' package to 'iagent' package

fix(esxi-agent): Fix some irregular code
2020-01-04 20:57:13 +08:00
Rain
e36cea3b05 fix(region): Fix that 'Can_delete' disappears due to parameter structuring 2020-01-04 20:52:23 +08:00
Jian Qiu
325ff3af61 fix: httpclient timeout value cleanup, use notimeout client for oss (#4527)
* fix: httpclient timeout value cleanup, use notimeout client for oss

* Adaptive timeout client

* more test cases

* remove resolve timeout test case

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

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

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

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

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

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

To use ClientOption oss.HTTPClient

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

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

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

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

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

docs

auto sync

add performCache for snapshotpolicy

detach snapshotpolicy after detach disk and guest

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

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

pull dingtalk auto

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

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

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

check sourcecidr is available when creating snat

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

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

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

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

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

fix some imprefection

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

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

Ref

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

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

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

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

	/func init()/ {
		next
	}

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

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

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

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

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

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

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

- gpfs snapshot

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

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

View File

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

View File

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

4
.dockerignore Normal file
View File

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

View File

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

View File

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

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

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

3
.gitignore vendored
View File

@@ -30,7 +30,10 @@ _output
/relay
/structargtest
.idea
.vscode
GPATH
GRTAGS
GTAGS
pkg/generated
*.orig

3
CONTRIBUTING.md Normal file
View File

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

View File

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

124
Makefile
View File

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

8
OWNERS
View File

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

54
README-CN.md Normal file
View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

1
build/cloudid/vars Normal file
View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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

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

View File

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

View File

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

View File

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

2
build/host-image/vars Normal file
View File

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

File diff suppressed because one or more lines are too long

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package main
package entry
import (
"context"
@@ -32,9 +32,6 @@ import (
"yunion.io/x/onecloud/cmd/climc/promputils"
"yunion.io/x/onecloud/cmd/climc/shell"
_ "yunion.io/x/onecloud/cmd/climc/shell/cloudnet"
_ "yunion.io/x/onecloud/cmd/climc/shell/etcd"
_ "yunion.io/x/onecloud/cmd/climc/shell/k8s"
"yunion.io/x/onecloud/pkg/mcclient"
)
@@ -48,7 +45,7 @@ type BaseOptions struct {
CertFile string `default:"$YUNION_CERT_FILE" help:"certificate file"`
KeyFile string `default:"$YUNION_KEY_FILE" help:"private key file"`
Completion string `default:"" help:"Generate climc auto complete script" choices:"bash"`
Completion string `default:"" help:"Generate climc auto complete script" choices:"bash|zsh"`
UseCachedToken bool `default:"$YUNION_USE_CACHED_TOKEN|false" help:"Use cached token"`
OsUsername string `default:"$OS_USERNAME" help:"Username, defaults to env[OS_USERNAME]"`
@@ -61,6 +58,8 @@ type BaseOptions struct {
OsAccessKey string `default:"$OS_ACCESS_KEY" help:"ak/sk access key, defaults to env[OS_ACCESS_KEY]"`
OsSecretKey string `default:"$OS_SECRET_KEY" help:"ak/s secret, defaults to env[OS_SECRET_KEY]"`
OsAuthToken string `default:"$OS_AUTH_TOKEN" help:"token authenticate, defaults to env[OS_AUTH_TOKEN]"`
OsAuthURL string `default:"$OS_AUTH_URL" help:"Defaults to env[OS_AUTH_URL]"`
OsRegionName string `default:"$OS_REGION_NAME" help:"Defaults to env[OS_REGION_NAME]"`
@@ -72,9 +71,13 @@ type BaseOptions struct {
}
func getSubcommandsParser() (*structarg.ArgumentParser, error) {
var (
prog = "climc"
desc = `Command-line interface to the API server.`
)
parse, e := structarg.NewArgumentParser(&BaseOptions{},
"climc",
`Command-line interface to the API server.`,
prog,
desc,
`See "climc help COMMAND" for help on a specific command.`)
if e != nil {
return nil, e
@@ -95,26 +98,28 @@ func getSubcommandsParser() (*structarg.ArgumentParser, error) {
return nil
}
})
promptRootCmd := promputils.InitRootCmd(prog, desc, parse.GetOptArgs(), parse.GetPosArgs())
for _, v := range shell.CommandTable {
_par, e := subcmd.AddSubParser(v.Options, v.Command, v.Desc, v.Callback)
if e != nil {
return nil, e
}
promputils.AppendCommand(v.Command, v.Desc)
promputils.AppendCommand(promptRootCmd, v.Command, v.Desc)
cmd := v.Command
for _, v := range _par.GetOptArgs() {
text := v.String()
text = strings.TrimLeft(text, "[<")
text = strings.TrimRight(text, "]>")
promputils.AppendOpt(cmd, text, v.HelpString(""))
promputils.AppendOpt(cmd, text, v.HelpString(""), v)
}
for _, v := range _par.GetPosArgs() {
text := v.String()
text = strings.TrimLeft(text, "[<")
text = strings.TrimRight(text, "]>")
promputils.AppendPos(cmd, text, v.HelpString(""))
promputils.AppendPos(cmd, text, v.HelpString(""), v)
}
}
return parse, nil
@@ -130,8 +135,8 @@ func newClientSession(options *BaseOptions) (*mcclient.ClientSession, error) {
if len(options.OsAuthURL) == 0 {
return nil, fmt.Errorf("Missing OS_AUTH_URL")
}
if len(options.OsUsername) == 0 && len(options.OsAccessKey) == 0 {
return nil, fmt.Errorf("Missing OS_USERNAME or OS_ACCESS_KEY")
if len(options.OsUsername) == 0 && len(options.OsAccessKey) == 0 && len(options.OsAuthToken) == 0 {
return nil, fmt.Errorf("Missing OS_USERNAME or OS_ACCESS_KEY or OS_AUTH_TOKEN")
}
if len(options.OsUsername) > 0 && len(options.OsPassword) == 0 {
return nil, fmt.Errorf("Missing OS_PASSWORD")
@@ -139,9 +144,6 @@ func newClientSession(options *BaseOptions) (*mcclient.ClientSession, error) {
if len(options.OsAccessKey) > 0 && len(options.OsSecretKey) == 0 {
return nil, fmt.Errorf("Missing OS_SECRET_KEY")
}
if len(options.OsRegionName) == 0 {
return nil, fmt.Errorf("Missing OS_REGION_NAME")
}
logLevel := "info"
if options.Debug {
@@ -184,7 +186,11 @@ func newClientSession(options *BaseOptions) (*mcclient.ClientSession, error) {
if cacheToken == nil {
var token mcclient.TokenCredential
var err error
if len(options.OsAccessKey) > 0 {
if len(options.OsAuthToken) > 0 {
token, err = client.AuthenticateToken(options.OsAuthToken, options.OsProjectName,
options.OsProjectDomain,
mcclient.AuthSourceCli)
} else if len(options.OsAccessKey) > 0 {
token, err = client.AuthenticateByAccessKey(options.OsAccessKey,
options.OsSecretKey, mcclient.AuthSourceCli)
} else {
@@ -260,7 +266,7 @@ func executeSubcommand(
}
}
func main() {
func ClimcMain() {
parser, e := getSubcommandsParser()
if e != nil {
showErrorAndExit(e)
@@ -269,7 +275,7 @@ func main() {
options := parser.Options().(*BaseOptions)
if len(options.Completion) > 0 {
completeScript := promputils.GenerateAutoCompleteCmds(options.Completion)
completeScript := promputils.GenerateAutoCompleteCmds(promputils.GetRootCmd(), options.Completion)
if len(completeScript) > 0 {
fmt.Printf("%s", completeScript)
}

View File

@@ -1,4 +1,4 @@
// Copyright 2017, OpenCensus Authors
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -12,8 +12,4 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// Package ocgrpc contains OpenCensus stats and trace
// integrations for gRPC.
//
// Use ServerHandler for servers and ClientHandler for clients.
package ocgrpc // import "go.opencensus.io/plugin/ocgrpc"
package entry // import "yunion.io/x/onecloud/cmd/climc/entry"

42
cmd/climc/main.go Normal file
View File

@@ -0,0 +1,42 @@
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package main
import (
"yunion.io/x/onecloud/cmd/climc/entry"
_ "yunion.io/x/onecloud/cmd/climc/shell"
_ "yunion.io/x/onecloud/cmd/climc/shell/ansible"
_ "yunion.io/x/onecloud/cmd/climc/shell/cloudevent"
_ "yunion.io/x/onecloud/cmd/climc/shell/cloudid"
_ "yunion.io/x/onecloud/cmd/climc/shell/cloudnet"
_ "yunion.io/x/onecloud/cmd/climc/shell/compute"
_ "yunion.io/x/onecloud/cmd/climc/shell/etcd"
_ "yunion.io/x/onecloud/cmd/climc/shell/events"
_ "yunion.io/x/onecloud/cmd/climc/shell/identity"
_ "yunion.io/x/onecloud/cmd/climc/shell/image"
_ "yunion.io/x/onecloud/cmd/climc/shell/itsm"
_ "yunion.io/x/onecloud/cmd/climc/shell/k8s"
_ "yunion.io/x/onecloud/cmd/climc/shell/logger"
_ "yunion.io/x/onecloud/cmd/climc/shell/meter"
_ "yunion.io/x/onecloud/cmd/climc/shell/misc"
_ "yunion.io/x/onecloud/cmd/climc/shell/monitor"
_ "yunion.io/x/onecloud/cmd/climc/shell/notify"
_ "yunion.io/x/onecloud/cmd/climc/shell/servicetree"
_ "yunion.io/x/onecloud/cmd/climc/shell/yunionconf"
)
func main() {
entry.ClimcMain()
}

View File

@@ -0,0 +1,178 @@
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package promputils
import (
"fmt"
"io"
"strings"
"text/template"
"yunion.io/x/structarg"
)
// ref: https://github.com/spf13/cobra/blob/master/zsh_completions.go
var (
zshCompFuncMap = template.FuncMap{
"genZshFuncName": zshCompGenFuncName,
"extractFlags": zshCompExtractFlag,
"genFlagEntryForZshArguments": zshCompGenFlagEntryForArguments,
"extractArgsCompletions": zshCompExtractArgumentCompletionHintsForRendering,
}
zshCompletionText = `
{{/* should accept Command (that contains subcommands) as parameter */}}
{{define "argumentsC" -}}
{{ $cmdPath := genZshFuncName .}}
function {{$cmdPath}} {
local -a commands
_arguments -C \{{- range extractFlags .}}
{{genFlagEntryForZshArguments .}} \{{- end}}
"1: :->cmnds" \
"*::arg:->args"
case $state in
cmnds)
commands=({{range .SubCmds}}
"{{.Name}}:{{.Desc}}"{{end}}
)
_describe "command" commands
;;
esac
case "$words[1]" in {{- range .SubCmds}}
{{.Name}})
{{$cmdPath}}_{{.Name}}
;;{{end}}
esac
}
{{range .SubCmds}}
{{template "selectCmdTemplate" .}}
{{- end}}
{{- end}}
{{/* should accept Command without subcommands as parameter */}}
{{define "arguments" -}}
function {{genZshFuncName .}} {
{{" _arguments"}}{{range extractFlags .}} \
{{genFlagEntryForZshArguments . -}}
{{end}}{{range extractArgsCompletions .}} \
{{.}}{{end}}
}
{{end}}
{{/* dispatcher for commands with or without subcommands */}}
{{define "selectCmdTemplate" -}}
{{if .SubCmds}}{{template "argumentsC" .}}{{else}}{{template "arguments" .}}{{end}}
{{- end}}
{{/* template entry point */}}
{{define "Main" -}}
#compdef _{{.Name}} {{.Name}}
{{template "selectCmdTemplate" .}}
compdef _{{.Name}} {{.Name}}
{{end}}
`
)
func zshCompGenFuncName(c *Cmd) string {
if c.ParentCmd != nil {
return zshCompGenFuncName(c.ParentCmd) + "_" + c.Name
}
return "_" + c.Name
}
func zshCompExtractFlag(c *Cmd) []structarg.Argument {
return c.GetArguments()
}
func zshCompGenFlagEntryForArguments(f structarg.Argument) string {
// not process positional argument and single command
if f.IsPositional() {
return ""
}
if f.ShortToken() == "" {
return zshCompGenFlagEntryForSingleOptionFlag(f)
}
return zshCompGenFlagEntryForMultiOptionFlag(f)
}
func zshCompGenFlagEntryForSingleOptionFlag(f structarg.Argument) string {
var option, multiMark, extras string
if f.IsMulti() {
multiMark = "*"
}
option = "--" + f.Token()
extras = zshCompGenFlagEntryExtras(f)
return fmt.Sprintf(`'%s%s[%s]%s'`, multiMark, option, zshCompQuoteFlagDescription(f.HelpString("")), extras)
}
func zshCompGenFlagEntryForMultiOptionFlag(f structarg.Argument) string {
var options, parenMultiMark, curlyMultiMark, extras string
if f.IsMulti() {
parenMultiMark = "*"
curlyMultiMark = "\\*"
}
options = fmt.Sprintf(`'(%s-%s %s--%s)'{%s-%s,%s--%s}`,
parenMultiMark, f.ShortToken(), parenMultiMark, f.Token(), curlyMultiMark, f.ShortToken(), curlyMultiMark, f.Token())
extras = zshCompGenFlagEntryExtras(f)
return fmt.Sprintf(`%s'[%s]%s'`, options, zshCompQuoteFlagDescription(f.HelpString("")), extras)
}
func zshCompGenFlagEntryExtras(f structarg.Argument) string {
if !f.NeedData() {
return ""
}
// allow options for flag
extras := ":"
type iChoices interface {
Choices() []string
}
if hasChoices, ok := f.(iChoices); ok {
// process choices
var words []string
for _, w := range hasChoices.Choices() {
words = append(words, fmt.Sprintf("%q", w))
}
if len(words) != 0 {
extras = fmt.Sprintf("%s :(%s)", extras, strings.Join(words, " "))
}
}
return extras
}
func zshCompQuoteFlagDescription(s string) string {
s = strings.Replace(s, "'", `'\''`, -1)
s = strings.Replace(s, "[", `\[`, -1)
s = strings.Replace(s, "]", `\]`, -1)
return s
}
func zshCompExtractArgumentCompletionHintsForRendering(c *Cmd) []string {
return nil
}
func (c *Cmd) GenZshCompletion(w io.Writer) error {
tmpl, err := template.New("Main").Funcs(zshCompFuncMap).Parse(zshCompletionText)
if err != nil {
return fmt.Errorf("error creating zsh completion template: %v", err)
}
return tmpl.Execute(w, c.Root())
}

View File

@@ -75,33 +75,3 @@ _climc(){
do
line="${arr[$i]}"
allopts[count]=${line%s`
const ZSH_COMPLETE_SCRIPT_2 = `%"#"*}
subopts[count]=${line#*"#"}
((count++))
done
_arguments \
'1: :->commands'\
'*: :->options'
case $state in
commands)
_arguments '1:Comm:(${allopts[*]})'
;;
*)
item=1
for key in ${allopts[*]}
do
case $words[2] in
$key)
compadd "$@"` + "`echo $subopts[item]`" + `
;;
*)
;;
esac
((item++))
done
esac
}
_climc "$@"
`

View File

@@ -15,26 +15,118 @@
package promputils
import (
"bytes"
"fmt"
"regexp"
"strings"
prompt "github.com/c-bata/go-prompt"
"yunion.io/x/structarg"
)
type Cmd struct {
desc string
optArgs []prompt.Suggest
posArgs []prompt.Suggest
}
var cmds = make(map[string]*Cmd)
var (
subcmds = make(map[string]*Cmd)
rootCmd *Cmd
)
var optionHelp = []prompt.Suggest{
{Text: "-h"},
{Text: "--help"},
}
type Cmd struct {
Name string
Desc string
optArgs []CmdArgument
posArgs []CmdArgument
ParentCmd *Cmd
SubCmds []*Cmd
}
func InitRootCmd(name, desc string, optArgs, posArgs []structarg.Argument) *Cmd {
rootCmd = NewCmd(name, desc)
for _, optA := range optArgs {
rootCmd.AddOptArgument(optA, optA.Token(), optA.HelpString(""))
}
for _, posA := range posArgs {
rootCmd.AddPosArgument(posA, posA.Token(), posA.HelpString(""))
}
return rootCmd
}
func GetRootCmd() *Cmd {
return rootCmd
}
func NewCmd(name, desc string) *Cmd {
return &Cmd{
Name: name,
Desc: desc,
optArgs: make([]CmdArgument, 0),
posArgs: make([]CmdArgument, 0),
SubCmds: make([]*Cmd, 0),
}
}
func (c Cmd) getPromptSuggests(args []CmdArgument) []prompt.Suggest {
ret := make([]prompt.Suggest, 0)
for _, arg := range args {
ret = append(ret, arg.Suggest)
}
return ret
}
func (c *Cmd) Root() *Cmd {
if c.ParentCmd == nil {
return c
}
return c.ParentCmd.Root()
}
func (c Cmd) GetName() string {
return c.Name
}
func (c *Cmd) AddCmd(cmd *Cmd) {
c.SubCmds = append(c.SubCmds, cmd)
}
func (c Cmd) GetPromptOptSuggests() []prompt.Suggest {
return c.getPromptSuggests(c.optArgs)
}
func (c Cmd) GetPromptPosSuggests() []prompt.Suggest {
return c.getPromptSuggests(c.posArgs)
}
func (c Cmd) GetOptArguments() []structarg.Argument {
return c.getArguments(c.optArgs)
}
func (c Cmd) GetArguments() []structarg.Argument {
ret := c.GetOptArguments()
ret = append(ret, c.GetPosArguments()...)
return ret
}
func (c Cmd) GetPosArguments() []structarg.Argument {
return c.getArguments(c.posArgs)
}
func (c Cmd) getArguments(args []CmdArgument) []structarg.Argument {
ret := make([]structarg.Argument, 0)
for _, a := range args {
ret = append(ret, a.Argument)
}
return ret
}
type CmdArgument struct {
Suggest prompt.Suggest
Argument structarg.Argument
}
func optionCompleter(args []string, long bool) []prompt.Suggest {
l := len(args)
if l == 0 {
@@ -47,11 +139,11 @@ func optionCompleter(args []string, long bool) []prompt.Suggest {
return optionHelp
}
if cmds[args[0]] == nil {
if subcmds[args[0]] == nil {
return []prompt.Suggest{}
}
_cmd := cmds[args[0]].optArgs
_cmd := subcmds[args[0]].GetPromptOptSuggests()
return prompt.FilterContains(_cmd, strings.TrimLeft(args[l-1], "-"), true)
}
@@ -100,7 +192,7 @@ func argumentsCompleter(args []string) []prompt.Suggest {
if len(args) == 1 {
return prompt.FilterHasPrefix(commands, args[0], true)
}
_cmd, ok := cmds[args[0]]
_cmd, ok := subcmds[args[0]]
if !ok {
return []prompt.Suggest{}
}
@@ -111,48 +203,75 @@ func argumentsCompleter(args []string) []prompt.Suggest {
prm := _cmd.posArgs[len(args)-2]
subcommands := []prompt.Suggest{
prm,
prm.Suggest,
}
return prompt.FilterHasPrefix(subcommands, args[len(args)-1], true)
}
func AppendCommand(text, desc string) {
func AppendCommand(parentCmd *Cmd, text, desc string) {
commands = append(commands, prompt.Suggest{Text: text, Description: desc})
cmds[text] = &Cmd{}
cmds[text].desc = desc
cmds[text].posArgs = []prompt.Suggest{}
cmds[text].optArgs = []prompt.Suggest{}
cmd := &Cmd{
Name: text,
Desc: desc,
posArgs: make([]CmdArgument, 0),
optArgs: make([]CmdArgument, 0),
ParentCmd: parentCmd,
}
subcmds[text] = cmd
parentCmd.AddCmd(cmd)
}
func AppendPos(text, cmd, desc string) {
var v = []prompt.Suggest{{Text: cmd, Description: desc}}
cmds[text].posArgs = append(cmds[text].posArgs, v...)
func (c *Cmd) addArgument(target *[]CmdArgument, arg structarg.Argument, argStr string, desc string) {
*target = append(*target, CmdArgument{
Suggest: prompt.Suggest{
Text: argStr,
Description: desc,
},
Argument: arg,
})
}
func AppendOpt(text, cmd, desc string) {
var v = []prompt.Suggest{{Text: cmd, Description: desc}}
cmds[text].optArgs = append(cmds[text].optArgs, v...)
func (c *Cmd) AddPosArgument(arg structarg.Argument, argStr string, desc string) {
c.addArgument(&c.posArgs, arg, argStr, desc)
}
func GenerateAutoCompleteCmds(shell string) string {
func (c *Cmd) AddOptArgument(arg structarg.Argument, argStr string, desc string) {
c.addArgument(&c.optArgs, arg, argStr, desc)
}
func AppendPos(text, cmd, desc string, arg structarg.Argument) {
cmdObj := subcmds[text]
cmdObj.AddPosArgument(arg, cmd, desc)
}
func AppendOpt(text, cmd, desc string, arg structarg.Argument) {
cmdObj := subcmds[text]
cmdObj.AddOptArgument(arg, cmd, desc)
}
func GenerateAutoCompleteCmds(rootCmd *Cmd, shell string) string {
var ret = []string{}
var i = 0
if strings.ToLower(shell) == "zsh" {
i = 1
out := bytes.NewBufferString("")
if err := rootCmd.GenZshCompletion(out); err != nil {
panic(err)
}
return out.String()
}
for cmd, options := range cmds {
for _, cmd := range subcmds {
var (
strPosArgs = []string{}
strOptArgs = []string{}
)
for _, posArg := range options.posArgs {
for _, posArg := range cmd.GetPromptPosSuggests() {
strPosArgs = append(strPosArgs, posArg.Text)
}
for _, optArg := range options.optArgs {
for _, optArg := range cmd.GetPromptOptSuggests() {
strOptArgs = append(strOptArgs, strings.Split(optArg.Text, " ")[0])
}
ret = append(ret, fmt.Sprintf(`arr[%d]="%s# %s %s"`, i, cmd,
ret = append(ret, fmt.Sprintf(`arr[%d]="%s# %s %s"`, i, cmd.Name,
strings.Join(strPosArgs, " "), strings.Join(strOptArgs, " ")))
i += 1
}

View File

@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package shell
package ansible
import (
"fmt"

View File

@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package shell
package ansible
import (
"yunion.io/x/jsonutils"

View File

@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package shell
package ansible
import (
"yunion.io/x/onecloud/pkg/mcclient"
@@ -49,4 +49,34 @@ func init() {
printList(apbs, modules.AnsiblePlaybooksV2.GetColumns(s))
return nil
})
R(&AnsiblePlaybookV2IdOptions{}, "ansibleplaybookv2-run", "Run ansible playbook",
func(s *mcclient.ClientSession, opts *AnsiblePlaybookV2IdOptions) error {
apb, err := modules.AnsiblePlaybooksV2.PerformAction(s, opts.ID, "run", nil)
if err != nil {
return err
}
printObject(apb)
return nil
},
)
R(&AnsiblePlaybookV2IdOptions{}, "ansibleplaybookv2-stop", "Stop ansible playbook",
func(s *mcclient.ClientSession, opts *AnsiblePlaybookV2IdOptions) error {
apb, err := modules.AnsiblePlaybooksV2.PerformAction(s, opts.ID, "stop", nil)
if err != nil {
return err
}
printObject(apb)
return nil
},
)
R(&AnsiblePlaybookV2IdOptions{}, "ansibleplaybookv2-delete", "Delete ansible playbook",
func(s *mcclient.ClientSession, opts *AnsiblePlaybookV2IdOptions) error {
apb, err := modules.AnsiblePlaybooksV2.Delete(s, opts.ID, nil)
if err != nil {
return err
}
printObject(apb)
return nil
},
)
}

View File

@@ -0,0 +1,32 @@
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package ansible
import (
"yunion.io/x/onecloud/cmd/climc/shell"
"yunion.io/x/onecloud/pkg/util/printutils"
)
var (
R = shell.R
printList = printutils.PrintJSONList
printObject = printutils.PrintJSONObject
printBatchResults = printutils.PrintJSONBatchResults
InvalidUpdateError = shell.InvalidUpdateError
printObjectRecursive = printutils.PrintJSONObjectRecursive
exportList = shell.ExportList
)

View File

@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package shell
package ansible
import (
"fmt"

View File

@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package shell
package ansible
import (
"yunion.io/x/jsonutils"
@@ -107,7 +107,7 @@ func init() {
R(
&options.DevtoolTemplateBindingOptions{},
"devtooltemplate-unbind",
"Binding devtool template to a host/vm",
"UnBinding devtool template to a host/vm",
func(s *mcclient.ClientSession, opts *options.DevtoolTemplateBindingOptions) error {
params := jsonutils.NewDict()
params.Set("server_id", jsonutils.NewString(opts.ServerID))

View File

@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package shell
package cloudevent
import (
"yunion.io/x/onecloud/pkg/mcclient"

View File

@@ -0,0 +1,25 @@
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package cloudevent
import (
"yunion.io/x/onecloud/cmd/climc/shell"
"yunion.io/x/onecloud/pkg/util/printutils"
)
var (
R = shell.R
printList = printutils.PrintJSONList
)

View File

@@ -0,0 +1,168 @@
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package cloudid
import (
"yunion.io/x/jsonutils"
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modules"
"yunion.io/x/onecloud/pkg/mcclient/options"
)
func init() {
type CloudgroupListOptions struct {
options.BaseListOptions
ClouduserId string `json:"clouduser_id"`
CloudpolicyId string `json:"cloudpolicy_id"`
Usable bool `json:"usable"`
}
R(&CloudgroupListOptions{}, "cloud-group-list", "List cloud groups", func(s *mcclient.ClientSession, opts *CloudgroupListOptions) error {
params, err := options.ListStructToParams(opts)
if err != nil {
return err
}
result, err := modules.Cloudgroups.List(s, params)
if err != nil {
return err
}
printList(result, modules.Cloudgroups.GetColumns(s))
return nil
})
type CloudgroupCreateOptions struct {
NAME string `json:"name"`
PROVIDER string `json:"provider" choices:"Google|Aliyun|Aws|Huawei|Qcloud"`
CloudpolicyIds []string `json:"cloudpolicy_ids"`
Desc string `json:"description"`
}
R(&CloudgroupCreateOptions{}, "cloud-group-create", "Create cloud group", func(s *mcclient.ClientSession, opts *CloudgroupCreateOptions) error {
params := jsonutils.Marshal(opts)
result, err := modules.Cloudgroups.Create(s, params)
if err != nil {
return err
}
printObject(result)
return nil
})
type CloudgroupIdOptions struct {
ID string `help:"Cloudgroup Id"`
}
R(&CloudgroupIdOptions{}, "cloud-group-delete", "Delete cloud group", func(s *mcclient.ClientSession, opts *CloudgroupIdOptions) error {
result, err := modules.Cloudgroups.Delete(s, opts.ID, nil)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&CloudgroupIdOptions{}, "cloud-group-show", "Show cloud group", func(s *mcclient.ClientSession, opts *CloudgroupIdOptions) error {
result, err := modules.Cloudgroups.Get(s, opts.ID, nil)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&CloudgroupIdOptions{}, "cloud-group-syncstatus", "Sync cloud group status", func(s *mcclient.ClientSession, opts *CloudgroupIdOptions) error {
result, err := modules.Cloudgroups.PerformAction(s, opts.ID, "syncstatus", nil)
if err != nil {
return err
}
printObject(result)
return nil
})
type CloudgroupPolicyOptions struct {
ID string `help:"Cloudgroup Id"`
CLOUDPOLICY_ID string `help:"Cloudpolicy Id"`
}
R(&CloudgroupPolicyOptions{}, "cloud-group-attach-policy", "Attach policy for cloud group", func(s *mcclient.ClientSession, opts *CloudgroupPolicyOptions) error {
result, err := modules.Cloudgroups.PerformAction(s, opts.ID, "attach-policy", jsonutils.Marshal(opts))
if err != nil {
return err
}
printObject(result)
return nil
})
R(&CloudgroupPolicyOptions{}, "cloud-group-detach-policy", "Detach policy from cloud group", func(s *mcclient.ClientSession, opts *CloudgroupPolicyOptions) error {
result, err := modules.Cloudgroups.PerformAction(s, opts.ID, "detach-policy", jsonutils.Marshal(opts))
if err != nil {
return err
}
printObject(result)
return nil
})
type CloudgroupUserOptions struct {
ID string `help:"Cloudgroup Id"`
CLOUDUSER_ID string `help:"Clouduser Id"`
}
R(&CloudgroupUserOptions{}, "cloud-group-add-user", "Add user to cloud group", func(s *mcclient.ClientSession, opts *CloudgroupUserOptions) error {
result, err := modules.Cloudgroups.PerformAction(s, opts.ID, "add-user", jsonutils.Marshal(opts))
if err != nil {
return err
}
printObject(result)
return nil
})
R(&CloudgroupUserOptions{}, "cloud-group-remove-user", "Remove user from cloud group", func(s *mcclient.ClientSession, opts *CloudgroupUserOptions) error {
result, err := modules.Cloudgroups.PerformAction(s, opts.ID, "remove-user", jsonutils.Marshal(opts))
if err != nil {
return err
}
printObject(result)
return nil
})
type CloudgroupPoliciesOptions struct {
ID string `help:"Cloudgroup Id"`
CloudpolicyIds []string `json:"cloudpolicy_ids"`
}
R(&CloudgroupPoliciesOptions{}, "cloud-group-set-policies", "Set cloudpolicies for cloud group", func(s *mcclient.ClientSession, opts *CloudgroupPoliciesOptions) error {
result, err := modules.Cloudgroups.PerformAction(s, opts.ID, "set-policies", jsonutils.Marshal(opts))
if err != nil {
return err
}
printObject(result)
return nil
})
type CloudgroupUsersOptions struct {
ID string `help:"Cloudgroup Id"`
ClouduserIds []string `json:"clouduser_ids"`
}
R(&CloudgroupUsersOptions{}, "cloud-group-set-users", "Set users for cloud group", func(s *mcclient.ClientSession, opts *CloudgroupUsersOptions) error {
result, err := modules.Cloudgroups.PerformAction(s, opts.ID, "set-users", jsonutils.Marshal(opts))
if err != nil {
return err
}
printObject(result)
return nil
})
}

View File

@@ -0,0 +1,73 @@
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package cloudid
import (
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modules"
"yunion.io/x/onecloud/pkg/mcclient/options"
)
func init() {
type CloudgroupcacheListOptions struct {
options.BaseListOptions
CloudgroupId string `json:"cloudgroup_id"`
}
R(&CloudgroupcacheListOptions{}, "cloud-group-cache-list", "List cloud group caches", func(s *mcclient.ClientSession, opts *CloudgroupcacheListOptions) error {
params, err := options.ListStructToParams(opts)
if err != nil {
return err
}
result, err := modules.Cloudgroupcaches.List(s, params)
if err != nil {
return err
}
printList(result, modules.Cloudgroupcaches.GetColumns(s))
return nil
})
type CloudgroupcacheIdOption struct {
ID string `help:"Cloudgroup Id"`
}
R(&CloudgroupcacheIdOption{}, "cloud-group-cache-show", "Show cloud groupcache details", func(s *mcclient.ClientSession, opts *CloudgroupcacheIdOption) error {
result, err := modules.Cloudgroupcaches.Get(s, opts.ID, nil)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&CloudgroupcacheIdOption{}, "cloud-group-cache-syncstatus", "Sync cloudgroupcache", func(s *mcclient.ClientSession, opts *CloudgroupcacheIdOption) error {
result, err := modules.Cloudgroupcaches.PerformAction(s, opts.ID, "syncstatus", nil)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&CloudgroupcacheIdOption{}, "cloud-group-cache-delete", "Delete cloudgroupcache", func(s *mcclient.ClientSession, opts *CloudgroupcacheIdOption) error {
result, err := modules.Cloudgroupcaches.Delete(s, opts.ID, nil)
if err != nil {
return err
}
printObject(result)
return nil
})
}

View File

@@ -0,0 +1,72 @@
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package cloudid
import (
"yunion.io/x/jsonutils"
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modulebase"
"yunion.io/x/onecloud/pkg/mcclient/modules"
"yunion.io/x/onecloud/pkg/mcclient/options"
)
func init() {
type CloudgroupPolicyListOptions struct {
options.BaseListOptions
Cloudgroup string `help:"ID or Name of Cloudgroup"`
Cloudpolicy string `help:"Policy ID or name"`
}
R(&CloudgroupPolicyListOptions{}, "cloud-group-policy-list", "List cloudgroup cloudpolicy pairs", func(s *mcclient.ClientSession, args *CloudgroupPolicyListOptions) error {
var params *jsonutils.JSONDict
{
var err error
params, err = args.BaseListOptions.Params()
if err != nil {
return err
}
}
var result *modulebase.ListResult
var err error
if len(args.Cloudgroup) > 0 {
result, err = modules.Cloudgrouppolicies.ListDescendent(s, args.Cloudgroup, params)
} else if len(args.Cloudpolicy) > 0 {
result, err = modules.Cloudgrouppolicies.ListDescendent2(s, args.Cloudpolicy, params)
} else {
result, err = modules.Cloudgrouppolicies.List(s, params)
}
if err != nil {
return err
}
printList(result, modules.Cloudgrouppolicies.GetColumns(s))
return nil
})
type CloudgroupPolicyDetailOptions struct {
CLOUDUSER string `help:"ID or Name of Cloudgroup"`
CLOUDPOLICY string `help:"ID or Name of Cloudpolicy"`
}
R(&CloudgroupPolicyDetailOptions{}, "cloud-group-policy-show", "Show cloudgrouppolicy details", func(s *mcclient.ClientSession, args *CloudgroupPolicyDetailOptions) error {
query := jsonutils.NewDict()
result, err := modules.Cloudgrouppolicies.Get(s, args.CLOUDUSER, args.CLOUDPOLICY, query)
if err != nil {
return err
}
printObject(result)
return nil
})
}

View File

@@ -0,0 +1,72 @@
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package cloudid
import (
"yunion.io/x/jsonutils"
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modulebase"
"yunion.io/x/onecloud/pkg/mcclient/modules"
"yunion.io/x/onecloud/pkg/mcclient/options"
)
func init() {
type CloudgroupUserListOptions struct {
options.BaseListOptions
Cloudgroup string `help:"ID or Name of Cloudgroup"`
Clouduser string `help:"User ID or name"`
}
R(&CloudgroupUserListOptions{}, "cloud-group-user-list", "List cloudgroup clouduser pairs", func(s *mcclient.ClientSession, args *CloudgroupUserListOptions) error {
var params *jsonutils.JSONDict
{
var err error
params, err = args.BaseListOptions.Params()
if err != nil {
return err
}
}
var result *modulebase.ListResult
var err error
if len(args.Cloudgroup) > 0 {
result, err = modules.Cloudgroupusers.ListDescendent(s, args.Cloudgroup, params)
} else if len(args.Clouduser) > 0 {
result, err = modules.Cloudgroupusers.ListDescendent2(s, args.Clouduser, params)
} else {
result, err = modules.Cloudgroupusers.List(s, params)
}
if err != nil {
return err
}
printList(result, modules.Cloudgroupusers.GetColumns(s))
return nil
})
type CloudgroupUserDetailOptions struct {
CLOUDUSER string `help:"ID or Name of Cloudgroup"`
CLOUDPOLICY string `help:"ID or Name of Clouduser"`
}
R(&CloudgroupUserDetailOptions{}, "cloud-group-user-show", "Show cloudgroupuser details", func(s *mcclient.ClientSession, args *CloudgroupUserDetailOptions) error {
query := jsonutils.NewDict()
result, err := modules.Cloudgroupusers.Get(s, args.CLOUDUSER, args.CLOUDPOLICY, query)
if err != nil {
return err
}
printObject(result)
return nil
})
}

View File

@@ -0,0 +1,81 @@
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package cloudid
import (
"yunion.io/x/jsonutils"
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modules"
"yunion.io/x/onecloud/pkg/mcclient/options"
)
func init() {
type CloudpolicyListOptions struct {
options.BaseListOptions
ClouduserId string `json:"clouduser_id"`
CloudgroupId string `json:"cloudgroup_id"`
}
R(&CloudpolicyListOptions{}, "cloud-policy-list", "List cloud policies", func(s *mcclient.ClientSession, opts *CloudpolicyListOptions) error {
params, err := options.ListStructToParams(opts)
if err != nil {
return err
}
result, err := modules.Cloudpolicies.List(s, params)
if err != nil {
return err
}
printList(result, modules.Cloudpolicies.GetColumns(s))
return nil
})
type CloudpolicyIdOptions struct {
ID string `help:"Cloudpolicy Id"`
}
R(&CloudpolicyIdOptions{}, "cloud-policy-show", "Sow cloud policiy details", func(s *mcclient.ClientSession, opts *CloudpolicyIdOptions) error {
result, err := modules.Cloudpolicies.Get(s, opts.ID, nil)
if err != nil {
return err
}
printObject(result)
return nil
})
type CloudpolicyGroupOptions struct {
ID string `help:"Cloudpolicy Id"`
CLOUDGROUP_ID string `help:"Cloudgroup Id" json:"cloudgroup_id"`
}
R(&CloudpolicyGroupOptions{}, "cloud-policy-assign-group", "Assign cloud policiy to group", func(s *mcclient.ClientSession, opts *CloudpolicyGroupOptions) error {
result, err := modules.Cloudpolicies.PerformAction(s, opts.ID, "assign-group", jsonutils.Marshal(opts))
if err != nil {
return err
}
printObject(result)
return nil
})
R(&CloudpolicyGroupOptions{}, "cloud-policy-revoke-group", "Revoke cloud policiy from group", func(s *mcclient.ClientSession, opts *CloudpolicyGroupOptions) error {
result, err := modules.Cloudpolicies.PerformAction(s, opts.ID, "revoke-group", jsonutils.Marshal(opts))
if err != nil {
return err
}
printObject(result)
return nil
})
}

View File

@@ -0,0 +1,72 @@
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package cloudid
import (
"yunion.io/x/jsonutils"
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modulebase"
"yunion.io/x/onecloud/pkg/mcclient/modules"
"yunion.io/x/onecloud/pkg/mcclient/options"
)
func init() {
type ClouduserPolicyListOptions struct {
options.BaseListOptions
Clouduser string `help:"ID or Name of Clouduser"`
Cloudpolicy string `help:"Policy ID or name"`
}
R(&ClouduserPolicyListOptions{}, "cloud-user-policy-list", "List clouduser cloudpolicy pairs", func(s *mcclient.ClientSession, args *ClouduserPolicyListOptions) error {
var params *jsonutils.JSONDict
{
var err error
params, err = args.BaseListOptions.Params()
if err != nil {
return err
}
}
var result *modulebase.ListResult
var err error
if len(args.Clouduser) > 0 {
result, err = modules.Clouduserpolicies.ListDescendent(s, args.Clouduser, params)
} else if len(args.Cloudpolicy) > 0 {
result, err = modules.Clouduserpolicies.ListDescendent2(s, args.Cloudpolicy, params)
} else {
result, err = modules.Clouduserpolicies.List(s, params)
}
if err != nil {
return err
}
printList(result, modules.Clouduserpolicies.GetColumns(s))
return nil
})
type ClouduserPolicyDetailOptions struct {
CLOUDUSER string `help:"ID or Name of Clouduser"`
CLOUDPOLICY string `help:"ID or Name of Cloudpolicy"`
}
R(&ClouduserPolicyDetailOptions{}, "cloud-user-policy-show", "Show clouduserpolicy details", func(s *mcclient.ClientSession, args *ClouduserPolicyDetailOptions) error {
query := jsonutils.NewDict()
result, err := modules.Clouduserpolicies.Get(s, args.CLOUDUSER, args.CLOUDPOLICY, query)
if err != nil {
return err
}
printObject(result)
return nil
})
}

View File

@@ -0,0 +1,197 @@
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package cloudid
import (
"yunion.io/x/jsonutils"
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modules"
"yunion.io/x/onecloud/pkg/mcclient/options"
)
func init() {
type ClouduserListOptions struct {
options.BaseListOptions
CloudaccountId string `help:"Cloudaccount Id"`
CloudproviderId string `help:"Cloudprovider Id"`
CloudpolicyId string `help:"filter cloudusers by cloudpolicy"`
CloudgroupId string `help:"filter cloudusers by cloudgroup"`
}
R(&ClouduserListOptions{}, "cloud-user-list", "List cloud users", func(s *mcclient.ClientSession, opts *ClouduserListOptions) error {
params, err := options.ListStructToParams(opts)
if err != nil {
return err
}
result, err := modules.Cloudusers.List(s, params)
if err != nil {
return err
}
printList(result, modules.Cloudusers.GetColumns(s))
return nil
})
type ClouduserCreateOptions struct {
Name string
CloudaccountId string `help:"Cloudaccount Id"`
CloudproviderId string `help:"Cloudprovider Id"`
OwnerId string `help:"Owner Id"`
CloudpolicyIds []string `help:"cloudpolicy ids"`
CloudgroupIds []string `help:"cloudgroup ids"`
Email string `help:"email address"`
MobilePhone string `help:"phone number"`
IsConsoleLogin *bool `help:"is console login"`
Password string `help:"clouduser password"`
}
R(&ClouduserCreateOptions{}, "cloud-user-create", "Create cloud user", func(s *mcclient.ClientSession, opts *ClouduserCreateOptions) error {
params := jsonutils.Marshal(opts)
result, err := modules.Cloudusers.Create(s, params)
if err != nil {
return err
}
printObject(result)
return nil
})
type ClouduserIdOptions struct {
ID string `help:"Clouduser Id"`
}
R(&ClouduserIdOptions{}, "cloud-user-delete", "Delete cloud user", func(s *mcclient.ClientSession, opts *ClouduserIdOptions) error {
result, err := modules.Cloudusers.Delete(s, opts.ID, nil)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&ClouduserIdOptions{}, "cloud-user-logininfo", "Show cloud user login info", func(s *mcclient.ClientSession, opts *ClouduserIdOptions) error {
result, err := modules.Cloudusers.GetLoginInfo(s, opts.ID, nil)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&ClouduserIdOptions{}, "cloud-user-show", "Show cloud user", func(s *mcclient.ClientSession, opts *ClouduserIdOptions) error {
result, err := modules.Cloudusers.Get(s, opts.ID, nil)
if err != nil {
return err
}
printObject(result)
return nil
})
type ClouduserSyncOptions struct {
ID string `help:"Clouduser Id"`
PolicyOnly bool `help:"Ony sync clouduser policies for cloud"`
}
R(&ClouduserSyncOptions{}, "cloud-user-sync", "Sync cloud user policies", func(s *mcclient.ClientSession, opts *ClouduserSyncOptions) error {
result, err := modules.Cloudusers.PerformAction(s, opts.ID, "sync", jsonutils.Marshal(opts))
if err != nil {
return err
}
printObject(result)
return nil
})
R(&ClouduserIdOptions{}, "cloud-user-syncstatus", "Sync cloud user status", func(s *mcclient.ClientSession, opts *ClouduserIdOptions) error {
result, err := modules.Cloudusers.PerformAction(s, opts.ID, "syncstatus", nil)
if err != nil {
return err
}
printObject(result)
return nil
})
type ClouduserPolicyOptions struct {
ID string `help:"Clouduser Id"`
CLOUDPOLICY_ID string `help:"cloudpolicy Id"`
}
R(&ClouduserPolicyOptions{}, "cloud-user-attach-policy", "Attach policy for cloud user", func(s *mcclient.ClientSession, opts *ClouduserPolicyOptions) error {
result, err := modules.Cloudusers.PerformAction(s, opts.ID, "attach-policy", jsonutils.Marshal(opts))
if err != nil {
return err
}
printObject(result)
return nil
})
R(&ClouduserPolicyOptions{}, "cloud-user-detach-policy", "Detach policy from cloud user", func(s *mcclient.ClientSession, opts *ClouduserPolicyOptions) error {
result, err := modules.Cloudusers.PerformAction(s, opts.ID, "detach-policy", jsonutils.Marshal(opts))
if err != nil {
return err
}
printObject(result)
return nil
})
type ClouduserPasswordOptions struct {
ID string `help:"Clouduser Id"`
Password string `help:"clouduser password"`
}
R(&ClouduserPasswordOptions{}, "cloud-user-reset-password", "Reset clouduser password", func(s *mcclient.ClientSession, opts *ClouduserPasswordOptions) error {
result, err := modules.Cloudusers.PerformAction(s, opts.ID, "reset-password", jsonutils.Marshal(opts))
if err != nil {
return err
}
printObject(result)
return nil
})
type ClouduserChangeOwnerOptions struct {
ID string `help:"clouduser id"`
USER_ID string `help:"local user id"`
}
R(&ClouduserChangeOwnerOptions{}, "cloud-user-change-owner", "Change clouduser owner", func(s *mcclient.ClientSession, opts *ClouduserChangeOwnerOptions) error {
result, err := modules.Cloudusers.PerformAction(s, opts.ID, "change-owner", jsonutils.Marshal(opts))
if err != nil {
return err
}
printObject(result)
return nil
})
type ClouduserGroupOptions struct {
ID string `help:"clouduser id"`
CLOUDGROUP_ID string `help:"cloudgroup id" json:"cloudgroup_id"`
}
R(&ClouduserGroupOptions{}, "cloud-user-join-group", "Join user to cloudgroup", func(s *mcclient.ClientSession, opts *ClouduserGroupOptions) error {
result, err := modules.Cloudusers.PerformAction(s, opts.ID, "join-group", jsonutils.Marshal(opts))
if err != nil {
return err
}
printObject(result)
return nil
})
R(&ClouduserGroupOptions{}, "cloud-user-leave-group", "Leave from cloudgroup", func(s *mcclient.ClientSession, opts *ClouduserGroupOptions) error {
result, err := modules.Cloudusers.PerformAction(s, opts.ID, "leave-group", jsonutils.Marshal(opts))
if err != nil {
return err
}
printObject(result)
return nil
})
}

View File

@@ -0,0 +1,26 @@
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package cloudid
import (
"yunion.io/x/onecloud/cmd/climc/shell"
"yunion.io/x/onecloud/pkg/util/printutils"
)
var (
R = shell.R
printList = printutils.PrintJSONList
printObject = printutils.PrintJSONObject
)

View File

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

View File

@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package shell
package compute
import (
"yunion.io/x/jsonutils"

View File

@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package shell
package compute
import (
"yunion.io/x/jsonutils"

View File

@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package shell
package compute
import (
"yunion.io/x/jsonutils"

View File

@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package shell
package compute
import (
"fmt"
@@ -26,18 +26,28 @@ import (
"yunion.io/x/onecloud/pkg/mcclient/modulebase"
"yunion.io/x/onecloud/pkg/mcclient/modules"
"yunion.io/x/onecloud/pkg/mcclient/options"
objectshell "yunion.io/x/onecloud/pkg/multicloud/objectstore"
"yunion.io/x/onecloud/pkg/multicloud/objectstore"
)
func init() {
type BucketListOptions struct {
options.BaseListOptions
DistinctField string `help:"query specified distinct field"`
}
R(&BucketListOptions{}, "bucket-list", "List all buckets", func(s *mcclient.ClientSession, args *BucketListOptions) error {
params, err := options.ListStructToParams(args)
if err != nil {
return err
}
if len(args.DistinctField) > 0 {
params.Add(jsonutils.NewString(args.DistinctField), "extra_field")
result, err := modules.Buckets.Get(s, "distinct-field", params)
if err != nil {
return err
}
fmt.Println(result)
return nil
}
result, err := modules.Buckets.List(s, params)
if err != nil {
return err
@@ -46,10 +56,10 @@ func init() {
return nil
})
type BucketShowOptions struct {
type BucketIdOptions struct {
ID string `help:"ID or name of bucket"`
}
R(&BucketShowOptions{}, "bucket-show", "Show details of bucket", func(s *mcclient.ClientSession, args *BucketShowOptions) error {
R(&BucketIdOptions{}, "bucket-show", "Id details of bucket", func(s *mcclient.ClientSession, args *BucketIdOptions) error {
result, err := modules.Buckets.Get(s, args.ID, nil)
if err != nil {
return err
@@ -58,6 +68,15 @@ func init() {
return nil
})
R(&BucketIdOptions{}, "bucket-syncstatus", "Sync bucket statust", func(s *mcclient.ClientSession, args *BucketIdOptions) error {
result, err := modules.Buckets.PerformAction(s, args.ID, "syncstatus", nil)
if err != nil {
return err
}
printObject(result)
return nil
})
type BucketUpdateOptions struct {
ID string `help:"ID or name of bucket" json:"-"`
Name string `help:"new name of bucket" json:"name"`
@@ -169,7 +188,7 @@ func init() {
StorageClass string `help:"storage CLass"`
Acl string `help:"object acl." choices:"private|public-read|public-read-write"`
objectshell.ObjectHeaderOptions
objectstore.ObjectHeaderOptions
}
R(&BucketUploadObjectsOptions{}, "bucket-object-upload", "Upload an object into a bucket", func(s *mcclient.ClientSession, args *BucketUploadObjectsOptions) error {
var body io.Reader
@@ -306,7 +325,7 @@ func init() {
Key []string `help:"Optional object key" json:"key"`
objectshell.ObjectHeaderOptions
objectstore.ObjectHeaderOptions
}
R(&BucketSetMetadataOptions{}, "bucket-set-metadata", "Set metadata of object", func(s *mcclient.ClientSession, args *BucketSetMetadataOptions) error {
input := api.BucketMetadataInput{}

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