Compare commits

...

4168 Commits

Author SHA1 Message Date
yunion-ci-robot
4334ccf537 Merge pull request #7908 from wanyaoqi/automated-cherry-pick-of-#7905-upstream-release-3.2
Automated cherry pick of #7905: webconsole: fix defer order to release zombie process
2020-09-15 10:26:10 +08:00
wanyaoqi
285c696e6d webconsole: fix defer order to release zombie process 2020-09-14 18:22:13 +08:00
Zexi Li
ce6e7542a5 Merge pull request #7898 from wanyaoqi/automated-cherry-pick-of-#7895-upstream-release-3.2
Automated cherry pick of #7895: disk: check disk is need renew on guest set renew
2020-09-14 13:02:17 +08:00
wanyaoqi
5ec462bc8e disk: check disk is need renew on guest set renew 2020-09-14 12:08:52 +08:00
Zexi Li
4868674fee Merge pull request #7882 from ioito/automated-cherry-pick-of-#7879-upstream-release-3.2
Automated cherry pick of #7879: fix: avoid sync natgateway eip panic
2020-09-11 21:03:57 +08:00
Zexi Li
2e560c1f04 Merge pull request #7873 from rainzm/automated-cherry-pick-of-#7870-upstream-release-3.2
Automated cherry pick of #7870: fix(esxiagent): add HostDelayTaskWorkerCount
2020-09-11 20:55:47 +08:00
Zexi Li
71b1244846 Merge pull request #7865 from wanyaoqi/automated-cherry-pick-of-#7836-upstream-release-3.2
Automated cherry pick of #7836: host: fix rbd storage cache iso image
2020-09-11 20:54:07 +08:00
Qu Xuan
545f9eebf1 fix: avoid sync natgateway eip panic 2020-09-11 19:18:15 +08:00
rainzm
e6ce176233 fix(esxiagent): add HostDelayTaskWorkerCount
之前,HostDelayWorker 是通过 hostutils.InitWorkerManager 来初始化,
worker的数量依赖于options.HostOptions.DefaultRequestWorkerCount, 因为
这个options没有经过初始化,所以就是0,导致worker count的数量变为1。

现在增加了 HostDelayTaskWorkerCount 来管理这个count,默认值为8。
2020-09-11 17:23:13 +08:00
wanyaoqi
f59d56e796 host: fix rbd storage cache iso image 2020-09-10 23:20:29 +08:00
yunion-ci-robot
37e36f5a08 Merge pull request #7848 from rainzm/automated-cherry-pick-of-#7845-upstream-release-3.2
Automated cherry pick of #7845: Feat & Fix & Refactor for ESXi
2020-09-10 09:41:57 +08:00
rainzm
05abebeea5 fix(region): add RequestSyncstatusOnHost for SESXiGuestDriver
esxi 平台 Guest 进行 syncstatus 和其他平台有所区别,Vcenter 可能会更改
 VM 所在的 Host,所以在 Host 上寻找 VM 可能会出现 ErrNotFound。此时,应该
主动去整个 datacenter 中寻找 VM,然后更改 Host,进行同步。
2020-09-09 21:58:48 +08:00
rainzm
747d70a747 fix(esxi): fetch templatevm from datacenter before clone vm
这里应该和image_cache那里保持一直,对template的获取应该从datacenter
中获取,而不是host。
2020-09-09 21:58:17 +08:00
rainzm
ebf3692ba0 refactor(esxi): replace GetTemplateVMById with FetchTemplateVMById
FetchTemplateVMById 更好,因为它更轻量,更快。
2020-09-09 21:58:16 +08:00
rainzm
7dfe68322a feat(esxicli): better vm operator
现在,可以通过Datacenter来获取vm,不一定要指定HostIp,
Datacenter和HostIp必须指定一个。
2020-09-09 21:58:16 +08:00
rainzm
59861adabc feat(esxi): support fetchVM form datacenter 2020-09-09 21:58:16 +08:00
rainzm
40b3e8e382 refactor(esxi): fetchVms and fetchHardwareInfo
1. fetchHardwareInfo 只有一种error,原因是moVM的某些字段为nil,这种情况下,完全可以打印日志直接返回。
2. fetchVms 现在只返回[]*SVirtualMachine, 进一步的过滤(是不是template)交给调用者。
2020-09-09 21:58:16 +08:00
Zexi Li
c81563b03d Merge pull request #7825 from rainzm/automated-cherry-pick-of-#7821-upstream-release-3.2
Automated cherry pick of #7821: fix(esxiagent): return image extid not id
2020-09-08 20:25:59 +08:00
rainzm
a18b34c365 fix(esxiagent): return image extid not id
调用 disk/image_cache 接口的Task StorageCacheImageTask 会根据回调
回来数据中的 image_id,来设置 storagecachedimage 中的 externalid,
所以这里的 image_id 应该是 externalid。
2020-09-08 15:34:35 +08:00
yunion-ci-robot
f64267897e Merge pull request #7801 from wanyaoqi/automated-cherry-pick-of-#7798-upstream-release-3.2
Automated cherry pick of #7798: guest short desc add backup host id
2020-09-07 21:01:51 +08:00
yunion-ci-robot
ad8d6e76b5 Merge pull request #7792 from wanyaoqi/automated-cherry-pick-of-#7789-upstream-release-3.2
Automated cherry pick of #7789: fix get ubuntu version
2020-09-07 20:59:44 +08:00
wanyaoqi
c266722c31 guest short desc add backup host id 2020-09-07 17:06:36 +08:00
wanyaoqi
4d0cb2b150 fix get ubuntu version 2020-09-07 16:01:59 +08:00
yunion-ci-robot
2171de57ee Merge pull request #7785 from rainzm/automated-cherry-pick-of-#7782-upstream-release-3.2
Automated cherry pick of #7782: fix(notify): Replace String() with GetString()
2020-09-07 15:26:42 +08:00
rainzm
021b4a1ae2 fix(notify): Replace String() with GetString()
The String() of jsonutils.JSONObject will add a pair of
double quotes around the content. The GetString() will
get a clean content.
2020-09-07 15:12:07 +08:00
yunion-ci-robot
b108fe81d2 Merge pull request #7775 from swordqiu/automated-cherry-pick-of-#7772-upstream-release-3.2
Automated cherry pick of #7772: fix: skup syncing lb, rds, redis instances in tasks
2020-09-05 15:47:42 +08:00
Qiu Jian
9f854385e5 fix: skup syncing lb, rds, redis instances in tasks 2020-09-05 14:31:06 +08:00
Zexi Li
b319be6d0a Merge pull request #7747 from wanyaoqi/automated-cherry-pick-of-#7744-upstream-release-3.2
Automated cherry pick of #7744: glance: check min disk size on update
2020-09-04 10:30:01 +08:00
wanyaoqi
fa28094906 glance: check min disk size on update 2020-09-03 20:02:17 +08:00
yunion-ci-robot
f797ec2fb9 Merge pull request #7726 from tb365/automated-cherry-pick-of-#7725-upstream-release-3.2
Automated cherry pick of #7725: create classic vpc fix
2020-09-03 10:32:41 +08:00
TangBin
5ca7179ce1 create classic vpc fix 2020-09-02 18:24:56 +08:00
wanyaoqi
c2b81cf638 hostinfo: try create network add is_on_premise (#7709) 2020-09-01 20:01:41 +08:00
wanyaoqi
ddb7981922 fix host get guests (#7685) 2020-09-01 01:08:36 +08:00
wanyaoqi
8020d70bab fix get storage capacity on init' (#7689) 2020-09-01 01:02:37 +08:00
Zexi Li
d78c549b4a Merge pull request #7625 from wanyaoqi/automated-cherry-pick-of-#7623-upstream-release-3.2
Automated cherry pick of #7623: fix gpfs check mountpoint
2020-08-25 17:41:23 +08:00
wanyaoqi
849a74c0a6 fix gpfs check mountpoint 2020-08-25 15:52:27 +08:00
屈轩
e016109d6e fix: avoid storage=nil, dis can not delete (#7610)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-22 12:33:36 +08:00
Jian Qiu
c67aa4991d fix: opslog filter by owner_project_ids and owner_domain_ids (#7602)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-21 10:57:23 +08:00
Jian Qiu
f71b787abb fix: dns record create ignore is_public field (#7589)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-18 10:51:57 +08:00
Zexi Li
780dea24d1 Merge pull request #7581 from swordqiu/automated-cherry-pick-of-#7580-upstream-release-3.2
Automated cherry pick of #7580: fix: allow delete shared role and policy
2020-08-16 23:43:24 +08:00
Zexi Li
a8c65cbeed Merge pull request #7577 from rainzm/automated-cherry-pick-of-#7575-upstream-release-3.2
Automated cherry pick of #7575: fix: GetIImages correctly without 'image_cache' dir
2020-08-16 23:41:56 +08:00
Qiu Jian
b41bd4066c fix: allow delete shared role and policy 2020-08-15 21:04:48 +08:00
rainzm
c5a731daa9 fix: GetIImages correctly without 'image_cache' dir
After creating vms, there is no dir named 'image_cache' exists in
storage of esxi. So handle this case to not affecte the synchronization of the
VMware Template.
2020-08-14 20:36:58 +08:00
屈轩
3bc1381c36 fix: aovid duplicate sku name (#7574)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-14 20:35:49 +08:00
Zexi Li
ff880efe8c Merge pull request #7571 from zexi/hotfix/jsontag-syntax-v32
fix: json TAG_PREFIX invalid syntax
2020-08-14 17:42:04 +08:00
Jian Qiu
813a8c2021 fix: init wire domain_id for local vpc (#7569)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-14 17:29:51 +08:00
Zexi Li
4f9b8a29da fix: json TAG_PREFIX invalid syntax 2020-08-14 17:02:54 +08:00
屈轩
db7621081a fix: avoid virtual resource project id is empty when cloudaccount with no project (#7562)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-14 10:37:49 +08:00
Jian Qiu
3032f7e26b fix: network port count stat recode (#7556)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-14 10:33:48 +08:00
Zexi Li
44c0d0ce47 Merge pull request #7549 from wanyaoqi/automated-cherry-pick-of-#7547-upstream-release-3.2
Automated cherry pick of #7547: support diable usb kbd
2020-08-11 18:41:34 +08:00
Zexi Li
5eb4b549ba Merge pull request #7543 from ioito/automated-cherry-pick-of-#7541-upstream-release-3.2
Automated cherry pick of #7541: fix: separete enabled and status field
2020-08-11 18:39:24 +08:00
wanyaoqi
3b6662f7fa support diable usb kbd 2020-08-11 15:33:16 +08:00
Qu Xuan
551ea72afb fix: separete enabled and status field 2020-08-11 14:55:09 +08:00
Zexi Li
2c9378cc9a Merge pull request #7537 from wanyaoqi/automated-cherry-pick-of-#7530-upstream-release-3.2
Automated cherry pick of #7530: fix mount xfs
2020-08-11 11:16:39 +08:00
wanyaoqi
be3244d0b5 fix usage get storage capbility (#7529) 2020-08-10 20:07:56 +08:00
wanyaoqi
9c756c1cc9 fix mount xfs 2020-08-10 20:05:09 +08:00
屈轩
fa47f50e32 fix: optimized huawei security group get and create operation (#7522)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-10 15:38:44 +08:00
wanyaoqi
40b3074acb set disk status on disk detached (#7519) 2020-08-10 12:05:46 +08:00
Zexi Li
035dcaa08b Merge pull request #7510 from ioito/automated-cherry-pick-of-#7508-upstream-release-3.2
Automated cherry pick of #7508: fix: avoid nil pointer
2020-08-10 10:24:58 +08:00
Qu Xuan
efd888ab45 fix: avoid nil pointer 2020-08-07 11:16:24 +08:00
Zexi Li
3dd36fbc46 Merge pull request #7500 from ioito/automated-cherry-pick-of-#7498-upstream-release-3.2
Automated cherry pick of #7498: fix: 隐藏auzre经典类型存储
2020-08-07 11:06:14 +08:00
Zexi Li
d3f1c3c202 Merge pull request #7503 from ioito/automated-cherry-pick-of-#7501-upstream-release-3.2
Automated cherry pick of #7501: fix: 提高zstack认证兼容性
2020-08-07 11:05:19 +08:00
Qu Xuan
0d301c554c fix: 提高zstack认证兼容性 2020-08-06 19:25:25 +08:00
Qu Xuan
19fc35afa5 fix: 隐藏auzre经典类型存储 2020-08-06 18:01:37 +08:00
屈轩
ed7576f2ac fix: 增加openstack兼容性 (#7494)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-06 11:56:18 +08:00
Zexi Li
5bcc5f1e34 Merge pull request #7486 from wanyaoqi/automated-cherry-pick-of-#7484-upstream-release-3.2
Automated cherry pick of #7484: fix host info get sshkey
2020-08-04 13:51:21 +08:00
wanyaoqi
93a8856c2a fix host info get sshkey 2020-08-04 10:37:16 +08:00
Zexi Li
44dabd9af7 Merge pull request #7480 from swordqiu/automated-cherry-pick-of-#7479-upstream-release-3.2
Automated cherry pick of #7479: fix: typo running_geusts => running_guests
2020-08-03 16:58:32 +08:00
Zexi Li
67c1324feb Merge pull request #7476 from ioito/automated-cherry-pick-of-#7474-upstream-release-3.2
Automated cherry pick of #7474: fix: typo
2020-08-03 16:57:54 +08:00
Qiu Jian
9af38305d7 fix: typo running_geusts => running_guests 2020-08-03 16:32:19 +08:00
Qu Xuan
0fd6e1c460 fix: typo 2020-08-03 10:57:19 +08:00
Zexi Li
03b1be05f9 Merge pull request #7471 from swordqiu/automated-cherry-pick-of-#7470-upstream-release-3.2
Automated cherry pick of #7470: fix: ignore bucket-set-acl not implemented error
2020-08-03 09:24:54 +08:00
Qiu Jian
938264a1aa fix: ignore bucket-set-acl not implemented error 2020-08-03 02:24:47 +08:00
Zexi Li
731d86439a Merge pull request #7449 from tb365/automated-cherry-pick-of-#7447-upstream-release-3.2
Automated cherry pick of #7447: aws elb listener&rule name too long fix
2020-08-02 10:08:42 +08:00
屈轩
53bf3d7740 fix: avoid host globalid change (#7467)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-02 03:03:03 +08:00
wanyaoqi
be18d0a34f fix reauth condition on influxdb not found (#7458) 2020-08-01 21:27:04 +08:00
wanyaoqi
9687884ac5 fix cache non lvm disks (#7461) 2020-08-01 21:14:03 +08:00
tangbin
ccb2cbce41 aws elb listener&rule name too long fix 2020-08-01 11:13:00 +08:00
Zexi Li
f232c4cd4f Merge pull request #7421 from rainzm/automated-cherry-pick-of-#7416-upstream-release-3.2
Automated cherry pick of #7416: fix(region): Don't allow address conflicts under vpc
2020-08-01 11:05:00 +08:00
Zexi Li
4661370b37 Merge pull request #7436 from tb365/automated-cherry-pick-of-#7435-upstream-release-3.2
Automated cherry pick of #7435: loadblancer listener modify name fix
2020-08-01 10:57:53 +08:00
tangbin
ee8166352a fix redis reset account password action log 2020-08-01 10:53:59 +08:00
tangbin
9f3684a1f6 loadblancer listener modify name fix 2020-08-01 10:53:34 +08:00
rainzm
2e3a4abca3 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:52:27 +08:00
Zexi Li
a14da344c0 Merge pull request #7439 from swordqiu/automated-cherry-pick-of-#7438-upstream-release-3.2
Automated cherry pick of #7438: fix: sync share mode between vpc and wire
2020-08-01 10:39:28 +08:00
Zexi Li
a3f71e8959 Merge pull request #7443 from wanyaoqi/automated-cherry-pick-of-#7441-upstream-release-3.2
Automated cherry pick of #7441: fix deploy admin auth key
2020-08-01 00:06:33 +08:00
wanyaoqi
d925cb080d fix deploy admin auth key 2020-07-31 23:24:46 +08:00
Zexi Li
3ca28cfcc7 baremetal: fix hpssactl split last LV size out of limit (#7428) 2020-07-31 22:40:02 +08:00
Qiu Jian
8c33cc9445 fix: sync share mode between vpc and wire 2020-07-31 22:30:16 +08:00
Zexi Li
37b9a960ef Merge pull request #7420 from ioito/automated-cherry-pick-of-#7417-upstream-release-3.2
Automated cherry pick of #7417: fix: avoid lost backend params
2020-07-31 18:07:59 +08:00
Zexi Li
f69370c4db Merge pull request #7415 from ioito/automated-cherry-pick-of-#7413-upstream-release-3.2
Automated cherry pick of #7413: fix: openstack win image user data need encode
2020-07-31 18:06:48 +08:00
Zexi Li
fb8f8847d0 Merge pull request #7407 from ioito/automated-cherry-pick-of-#7405-upstream-release-3.2
Automated cherry pick of #7405: fix: avoid account sync deadlock
2020-07-31 18:05:31 +08:00
Zexi Li
fc7de4722b Merge pull request #7408 from swordqiu/automated-cherry-pick-of-#7400-upstream-release-3.2
Automated cherry pick of #7400: fix: ignore general s3 set acl not implemented error
2020-07-31 18:04:05 +08:00
屈轩
f43af31195 fix: 避免glance metadata-list project scope无权限 (#7404)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-31 18:01:48 +08:00
屈轩
0b13608d90 fix: 优化openstack项目认证 (#7399)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-31 18:00:17 +08:00
屈轩
04e1a25c60 fix: 避免在仅调整虚拟机磁盘时opslog日志记录mem cpu异常 (#7394)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-31 17:57:02 +08:00
Qu Xuan
b09dbdd69f fix: avoid lost backend params 2020-07-31 17:19:49 +08:00
Qu Xuan
ae26dc1214 fix: openstack win image user data need encode 2020-07-31 16:55:43 +08:00
Qu Xuan
cbc4739b1a fix: avoid account sync deadlock 2020-07-31 16:32:57 +08:00
Qiu Jian
5cfe521a23 fix: ignore general s3 set acl not implemented error 2020-07-31 16:31:52 +08:00
Zexi Li
1dd8a0c066 Merge pull request #7389 from rainzm/automated-cherry-pick-of-#7387-upstream-release-3.2
Automated cherry pick of #7387: fix(region): zone from guesttemplate's preferzone maybe nil
2020-07-30 17:41:49 +08:00
rainzm
661611f338 fix(region): zone from guesttemplate's preferzone maybe nil 2020-07-30 16:12:36 +08:00
Zexi Li
5bfd7f3494 Merge pull request #7353 from ioito/automated-cherry-pick-of-#7318-upstream-release-3.2
Automated cherry pick of #7318: fix: openstack多项目问题
2020-07-30 15:53:40 +08:00
Zexi Li
4553879a1a Merge pull request #7386 from ioito/automated-cherry-pick-of-#7384-upstream-release-3.2
Automated cherry pick of #7384: fix: avoid parse json err nil pointer
2020-07-30 15:15:38 +08:00
Qu Xuan
fb25efa0cf fix: openstack多项目问题 2020-07-30 14:48:16 +08:00
Qu Xuan
7c2268417b fix: avoid parse json err nil pointer 2020-07-30 11:32:31 +08:00
Zexi Li
97be89b9f6 Merge pull request #7380 from ioito/automated-cherry-pick-of-#7378-upstream-release-3.2
Automated cherry pick of #7378: fix: 添加阿里云rds备份恢复限制条件
2020-07-29 21:38:48 +08:00
Zexi Li
4e31734f0e Merge pull request #7376 from swordqiu/automated-cherry-pick-of-#7375-upstream-release-3.2
Automated cherry pick of #7375: fix: change owner should check required domain list
2020-07-29 17:31:44 +08:00
Qu Xuan
6d0b4f37f7 fix: 添加阿里云rds备份恢复限制条件 2020-07-29 16:56:24 +08:00
Qiu Jian
244e83b8ae fix: change owner should check required domain list 2020-07-29 13:01:14 +08:00
Zexi Li
dd42c55d1e Merge pull request #7374 from ioito/automated-cherry-pick-of-#7358-upstream-release-3.2
Automated cherry pick of #7358: fix: 普通视图下,安全组仅统计可看到的vm count
2020-07-29 10:27:18 +08:00
Zexi Li
c9f61ca7d5 Merge pull request #7361 from ioito/automated-cherry-pick-of-#7359-upstream-release-3.2
Automated cherry pick of #7359: fix: 修复vm绑定重复安全组
2020-07-28 20:56:06 +08:00
Qu Xuan
439cf1948e fix: 普通视图下,安全组仅统计可看到的vm count 2020-07-28 20:53:32 +08:00
Zexi Li
d2916c079f Merge pull request #7370 from ioito/automated-cherry-pick-of-#7368-upstream-release-3.2
Automated cherry pick of #7368: fix: 同步sku与磁盘类型关系
2020-07-28 20:48:10 +08:00
Qu Xuan
cf294a1f58 fix: 同步sku与磁盘类型关系 2020-07-28 19:47:50 +08:00
Zexi Li
63bff57a05 Merge pull request #7366 from zexi/automated-cherry-pick-of-#7364-upstream-release-3.2
Automated cherry pick of #7364: adjust schedule resource condition width
2020-07-28 18:50:29 +08:00
Zexi Li
620b31e0f3 Merge pull request #7356 from ioito/automated-cherry-pick-of-#7354-upstream-release-3.2
Automated cherry pick of #7354: fix: 避免创建rds备份时对rds进行一些操作
2020-07-28 18:49:47 +08:00
Zexi Li
95b21d541d adjust schedule resource condition width 2020-07-28 18:37:23 +08:00
Qu Xuan
d6782d5324 fix: 修复vm绑定重复安全组 2020-07-28 18:15:45 +08:00
Qu Xuan
fd233a6869 fix: 避免创建rds备份时对rds进行一些操作 2020-07-28 16:03:06 +08:00
Zexi Li
92a7fad56c Merge pull request #7340 from rainzm/automated-cherry-pick-of-#7338-upstream-release-3.2
Automated cherry pick of #7338: fix(region): Remove default secgroup for esxi guest
2020-07-27 19:49:24 +08:00
Zexi Li
788c845ca3 Merge pull request #7345 from rainzm/automated-cherry-pick-of-#7343-upstream-release-3.2
Automated cherry pick of #7343: fix: modify list details for guesttemplate
2020-07-27 19:48:28 +08:00
Zexi Li
7554cd5268 Merge pull request #7322 from swordqiu/automated-cherry-pick-of-#7321-upstream-release-3.2
Automated cherry pick of #7321: fix: choose candidate list from the list returned from backend
2020-07-27 15:53:56 +08:00
Zexi Li
15fe440911 Merge pull request #7325 from swordqiu/automated-cherry-pick-of-#7324-upstream-release-3.2
Automated cherry pick of #7324: fix: schedtag should be system resource
2020-07-27 15:49:59 +08:00
Zexi Li
7a4d0cf507 Merge pull request #7328 from tb365/automated-cherry-pick-of-#7327-upstream-release-3.2
Automated cherry pick of #7327: huawei fetch regions&projects fix
2020-07-27 15:21:51 +08:00
rainzm
0824b5445e Add metadata for GuestTempalte details 2020-07-27 15:18:40 +08:00
rainzm
951f53a96b Add network info when list scalingGroup details 2020-07-27 15:18:40 +08:00
rainzm
260d259392 fix: modify list details for guesttemplate 2020-07-27 15:18:40 +08:00
Zexi Li
54b16d94c7 Merge pull request #7333 from swordqiu/automated-cherry-pick-of-#7332-upstream-release-3.2
Automated cherry pick of #7332: fix: cloud account delete may fail due to inconsistent status
2020-07-27 15:13:01 +08:00
rainzm
52008bace0 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:54:19 +08:00
屈轩
5df48d5b76 fix: 避免status_code>=400并且resp为空时err为nil (#7266)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-27 04:43:24 +08:00
yunion-ci-robot
88f46fc0c2 Merge pull request #7313 from ioito/automated-cherry-pick-of-#7310-upstream-release-3.2
Automated cherry pick of #7310: fix: 支持多项目安全组规则过滤
2020-07-25 23:56:45 +08:00
Qiu Jian
44f3226061 fix: cloud account delete may fail due to inconsistent status 2020-07-25 23:08:17 +08:00
yunion-ci-robot
d997501c64 Merge pull request #7305 from wanyaoqi/automated-cherry-pick-of-#7302-upstream-release-3.2
Automated cherry pick of #7302: fix clone clean pending usage
2020-07-24 22:52:44 +08:00
tangbin
8f7e75772c go fmt 2020-07-24 18:31:04 +08:00
tangbin
c723def4b7 go fmt 2020-07-24 18:31:04 +08:00
tangbin
31a9373b7b host upload template check 2020-07-24 18:31:03 +08:00
tangbin
a85af97bef huawei fetch regions&projects fix 2020-07-24 18:31:02 +08:00
Qiu Jian
143fa7a896 fix: schedtag should be system resource 2020-07-24 17:03:38 +08:00
Qiu Jian
7e68b1c6a2 fix: choose candidate list from the list returned from backend 2020-07-24 16:41:43 +08:00
Qu Xuan
ec16b2abbd fix: 支持多项目安全组规则过滤 2020-07-23 20:36:59 +08:00
wanyaoqi
a8a2f07742 fix clone clean pending usage 2020-07-23 18:39:02 +08:00
Zexi Li
b627985733 Merge pull request #7296 from wanyaoqi/automated-cherry-pick-of-#7294-upstream-release-3.2
Automated cherry pick of #7294: fix snapshot clean pending usage
2020-07-23 13:48:08 +08:00
wanyaoqi
89a355132c fix snapshot clean pending usage 2020-07-23 11:36:46 +08:00
Zexi Li
0e9d0052e9 Merge pull request #7288 from tb365/automated-cherry-pick-of-#7286-upstream-release-3.2
Automated cherry pick of #7286: apigateway host imports data validate
2020-07-22 21:44:07 +08:00
tangbin
2b67f052b7 format fix 2020-07-22 17:50:46 +08:00
tangbin
6280ea485d fix empty else 2020-07-22 17:50:46 +08:00
tangbin
0b7ab48836 fix host import 2020-07-22 17:50:46 +08:00
tangbin
88d67e0f36 fix huawei delete resource 2020-07-22 17:50:46 +08:00
tangbin
faffc39a34 fix huawei elb disable healthcheck 2020-07-22 17:50:46 +08:00
tangbin
9ce1527d35 lb sync project fix 2020-07-22 17:50:45 +08:00
tangbin
1b480af798 add more log 2020-07-22 17:50:45 +08:00
tangbin
dfbd0af963 apigateway host imports data validate 2020-07-22 17:50:45 +08:00
Zexi Li
83e67c50c3 Merge pull request #7278 from ioito/automated-cherry-pick-of-#7276-upstream-release-3.2
Automated cherry pick of #7276: fix: 避免未能导出共享安全组规则
2020-07-22 13:55:50 +08:00
Zexi Li
27fa4752a2 Merge pull request #7275 from swordqiu/automated-cherry-pick-of-#7273-upstream-release-3.2
Automated cherry pick of #7273: fix: image upload not clean pending usage
2020-07-22 13:54:45 +08:00
Zexi Li
4281636f42 Merge pull request #7283 from rainzm/automated-cherry-pick-of-#7281-upstream-release-3.2
Automated cherry pick of #7281: fix(esxi): Select correct unitNumber for ide control when creating disk
2020-07-22 13:52:26 +08:00
Rain Zheng
d670f37156 fix(esxi): Select correct unitNumber for ide control when creating disk 2020-07-21 20:49:18 +08:00
Qu Xuan
9fef6dfb46 fix: 避免未能导出共享安全组规则 2020-07-21 17:14:54 +08:00
yunion-ci-robot
1f6762b4a0 Merge pull request #7272 from zexi/automated-cherry-pick-of-#7270-upstream-release-3.2
Automated cherry pick of #7270: baremetal: set zone when enable netif
2020-07-21 11:49:25 +08:00
Qiu Jian
2a892fd845 fix: image upload not clean pending usage 2020-07-21 01:43:40 +08:00
yunion-ci-robot
1d1674faf9 Merge pull request #7269 from tb365/automated-cherry-pick-of-#7267-upstream-release-3.2
Automated cherry pick of #7267: fix GetOrCreateVpcForClassicNetwork
2020-07-20 20:49:27 +08:00
Zexi Li
ae1acc891c Merge pull request #7262 from tb365/automated-cherry-pick-of-#7237-upstream-release-3.2
Automated cherry pick of #7237: huawei eip delete fix
2020-07-20 20:47:34 +08:00
Zexi Li
9fd48cee3c baremetal: set zone when enable netif 2020-07-20 20:45:30 +08:00
tangbin
ea14aaa52e fix GetOrCreateVpcForClassicNetwork 2020-07-20 18:52:08 +08:00
tangbin
38440ed276 huawei eip delete fix 2020-07-20 10:51:56 +08:00
Zexi Li
2910eeb89b Merge pull request #7241 from ioito/automated-cherry-pick-of-#7225-upstream-release-3.2
Automated cherry pick of #7225: fix: rds备份恢复优化
2020-07-20 02:07:57 +08:00
Zexi Li
53d0d4c4e7 Merge pull request #7230 from wanyaoqi/automated-cherry-pick-of-#7228-upstream-release-3.2
Automated cherry pick of #7228: fix server sync status
2020-07-20 02:06:41 +08:00
Zexi Li
e3270c90e6 Merge pull request #7236 from ioito/automated-cherry-pick-of-#7234-upstream-release-3.2
Automated cherry pick of #7234: fix: globalvpc跟随云账号共享
2020-07-20 02:05:46 +08:00
Zexi Li
31883f5984 Merge pull request #7232 from tb365/automated-cherry-pick-of-#7231-upstream-release-3.2
Automated cherry pick of #7231: acl delete condition fix
2020-07-20 02:02:25 +08:00
Zexi Li
1e7b5e2e2c Merge pull request #7250 from wanyaoqi/automated-cherry-pick-of-#7248-upstream-release-3.2
Automated cherry pick of #7248: fix error output
2020-07-19 20:53:59 +08:00
Zexi Li
c939399546 Merge pull request #7252 from swordqiu/automated-cherry-pick-of-#7251-upstream-release-3.2
Automated cherry pick of #7251: fix: quota usage not updated after disk resizing
2020-07-19 20:25:07 +08:00
Qiu Jian
f2e4a9af63 fix: quota usage not updated after disk resizing 2020-07-19 13:24:31 +08:00
wanyaoqi
e4c24c436c fix error output 2020-07-19 12:35:25 +08:00
Qu Xuan
144f40b472 fix: rds备份恢复优化 2020-07-18 20:48:28 +08:00
Qu Xuan
0af8c519be fix: globalvpc跟随云账号共享 2020-07-17 20:47:10 +08:00
tangbin
e1665416f1 acl delete condition fix 2020-07-17 20:41:34 +08:00
wanyaoqi
050d019f7f fix server sync status 2020-07-17 20:25:56 +08:00
Zexi Li
4e7af6e2e7 Merge pull request #7227 from ioito/automated-cherry-pick-of-#7224-upstream-release-3.2
Automated cherry pick of #7224: fix: 过滤可用eip
2020-07-17 20:25:04 +08:00
Zexi Li
df8982747a Merge pull request #7223 from ioito/automated-cherry-pick-of-#7221-upstream-release-3.2
Automated cherry pick of #7221: fix: 避免乌兰察布区域拉取资源异常
2020-07-17 20:24:05 +08:00
Qu Xuan
08c836ad1c fix: 过滤可用eip 2020-07-17 20:16:54 +08:00
Qu Xuan
5a47ca5da4 fix: 避免乌兰察布区域拉取资源异常 2020-07-17 18:53:20 +08:00
Zexi Li
1e992cc145 Merge pull request #7218 from rainzm/automated-cherry-pick-of-#7216-upstream-release-3.2
Automated cherry pick of #7216: fix: prefetch image error when create guest with vmware template
2020-07-17 10:16:43 +08:00
Zexi Li
1c45f1c6a4 Merge pull request #7215 from tb365/automated-cherry-pick-of-#7213-upstream-release-3.2
Automated cherry pick of #7213: sync classic redis fix
2020-07-17 10:15:54 +08:00
Zexi Li
128bf89ba8 Merge pull request #7205 from yousong/automated-cherry-pick-of-#7202-upstream-release-3.2
Automated cherry pick of #7202: mcclient: options: loadbalanceragents: yum as the default deploy method
2020-07-17 10:15:17 +08:00
Zexi Li
7055459cc0 Merge pull request #7200 from yousong/automated-cherry-pick-of-#7198-upstream-release-3.2
Automated cherry pick of #7198: ansibleserver: register metadata manager
2020-07-17 10:12:02 +08:00
Zexi Li
f0a65e5b5f Merge pull request #7197 from ioito/automated-cherry-pick-of-#7195-upstream-release-3.2
Automated cherry pick of #7195: fix: sec rule export missing fields
2020-07-17 10:10:42 +08:00
Zexi Li
34c865ce22 Merge pull request #7191 from ioito/automated-cherry-pick-of-#7077-upstream-release-3.2
Automated cherry pick of #7077: fix: 修复elastic cache sku zone_id异常问题
2020-07-17 10:09:57 +08:00
Zexi Li
51911362ab Merge pull request #7194 from wanyaoqi/automated-cherry-pick-of-#7192-upstream-release-3.2
Automated cherry pick of #7192: add params auto_migrate_on_host_down
2020-07-17 10:09:14 +08:00
Zexi Li
28c6abd0e8 Merge pull request #7212 from ioito/automated-cherry-pick-of-#7210-upstream-release-3.2
Automated cherry pick of #7210: fix: not work for network-list --zones
2020-07-17 10:08:22 +08:00
rainzm
d3c1bfd21d 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:44:26 +08:00
tangbin
df2deb61c4 update vendor 2020-07-16 20:39:35 +08:00
tangbin
38be2488be sync classic redis fix 2020-07-16 20:34:09 +08:00
yunion-ci-robot
c781346225 Merge pull request #7206 from zexi/automated-cherry-pick-of-#7201-upstream-release-3.2
Automated cherry pick of #7201: webconsole: fix old session make new session closed
2020-07-16 20:21:20 +08:00
Qu Xuan
60ba1ffc20 fix: not work for network-list --zones 2020-07-16 19:06:37 +08:00
Yousong Zhou
87bba5ae4f region: lbagents: turn off guest src check 2020-07-16 18:50:36 +08:00
Yousong Zhou
836ac8e00e region: loadbalanceragents: yum as the default method 2020-07-16 18:50:36 +08:00
Yousong Zhou
4bdf62cb81 mcclient: options: loadbalanceragents: yum as the default deploy method 2020-07-16 18:50:36 +08:00
Zexi Li
1d2b64d62e webconsole: fix old session make new session closed 2020-07-16 18:50:29 +08:00
Yousong Zhou
67230151a0 build: ansibleserver: use native alpine, include openssh 2020-07-16 18:12:41 +08:00
Yousong Zhou
08b60b4c6f 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:10:38 +08:00
Qu Xuan
9e81cae902 fix: sec rule export missing fields 2020-07-16 17:14:44 +08:00
Qu Xuan
020f3dee57 fix: 修复elastic cache sku zone_id异常问题 2020-07-16 16:32:08 +08:00
wanyaoqi
4ab5051c04 add params auto_migrate_on_host_down 2020-07-16 15:08:33 +08:00
Zexi Li
e39ce07331 Merge pull request #7176 from ioito/automated-cherry-pick-of-#7174-upstream-release-3.2
Automated cherry pick of #7174: fix: 添加secgroup rule过滤参数
2020-07-16 11:18:55 +08:00
Zexi Li
3259b1b2c4 Merge pull request #7190 from ioito/automated-cherry-pick-of-#7188-upstream-release-3.2
Automated cherry pick of #7188: fix: check azure image format when rebuild root
2020-07-16 11:09:51 +08:00
Zexi Li
2934f6c15b Merge pull request #7179 from ioito/automated-cherry-pick-of-#7177-upstream-release-3.2
Automated cherry pick of #7177: fix: 避免华为云安全组规则删除失败
2020-07-16 10:16:35 +08:00
Qu Xuan
84c7341b7f fix: check azure image format when rebuild root 2020-07-15 18:48:25 +08:00
Zexi Li
5cff334188 Merge pull request #7183 from wanyaoqi/automated-cherry-pick-of-#7181-upstream-release-3.2
Automated cherry pick of #7181: misc ha guest fix
2020-07-15 17:42:40 +08:00
Qu Xuan
987ba6079b fix: 避免华为云安全组规则删除失败 2020-07-15 17:14:21 +08:00
wanyaoqi
60df899d5d misc ha guest fix 2020-07-15 17:06:43 +08:00
Qu Xuan
39c033e0c5 fix: 添加secgroup rule过滤参数 2020-07-15 14:32:24 +08:00
Zexi Li
01908aebdb Merge pull request #7170 from wanyaoqi/automated-cherry-pick-of-#7168-upstream-release-3.2
Automated cherry pick of #7168: fix list guests on host
2020-07-15 10:46:03 +08:00
Zexi Li
472a2f9ebb Merge pull request #7154 from yousong/bugfix/yousong-vpcagent-mtu3.2
vpcagent: ovn: set underlay mtu size in config file
2020-07-15 10:35:28 +08:00
Zexi Li
4919226d0d Merge pull request #7160 from yousong/automated-cherry-pick-of-#7158-upstream-release-3.2
Automated cherry pick of #7158: iproute2: address: make Exact idempotent
2020-07-15 10:34:41 +08:00
Zexi Li
769dd28a51 Merge pull request #7164 from tb365/automated-cherry-pick-of-#7163-upstream-release-3.2
Automated cherry pick of #7163: cloudprovider usable filter with zone
2020-07-15 10:34:03 +08:00
wanyaoqi
2b7373608d fix list guests on host 2020-07-14 22:36:55 +08:00
tangbin
6a81f78a4d cloudprovider usable filter with zone 2020-07-14 19:55:05 +08:00
Zexi Li
05d5bd6c9f Merge pull request #7157 from ioito/automated-cherry-pick-of-#7155-upstream-release-3.2
Automated cherry pick of #7155: fix: 优化webconsole代码&bugfix
2020-07-14 17:53:08 +08:00
Yousong Zhou
48000786cc 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:42:18 +08:00
Qu Xuan
fae1c3d542 fix: 优化webconsole代码&bugfix 2020-07-14 15:09:35 +08:00
Yousong Zhou
ba87528561 vpcagent: ovn: set underlay mtu size in config file
(cherry picked from commit 2841e245e2)
2020-07-14 11:38:21 +08:00
Zexi Li
03d393cca4 Merge pull request #7149 from rainzm/automated-cherry-pick-of-#7147-upstream-release-3.2
Automated cherry pick of #7147: fix: mo.VirtualMachine's Config maybe nil
2020-07-14 11:34:47 +08:00
rainzm
51131f9c75 fix: mo.VirtualMachine's Config maybe nil 2020-07-13 23:11:02 +08:00
Zexi Li
b7b5e5666e Merge pull request #7136 from tb365/automated-cherry-pick-of-#7135-upstream-release-3.2
Automated cherry pick of #7135: user batch register bugfix
2020-07-13 21:28:58 +08:00
Zexi Li
3c9ca461d9 Merge pull request #7142 from ioito/automated-cherry-pick-of-#7140-upstream-release-3.2
Automated cherry pick of #7140: fix: 修复阿里云同步安全组规则异常问题
2020-07-13 21:24:36 +08:00
Qu Xuan
f874a02c05 fix: 修复阿里云同步安全组规则异常问题 2020-07-13 20:48:18 +08:00
tangbin
f7b31c08cb user batch register bugfix 2020-07-13 14:49:20 +08:00
Zexi Li
08c2864b71 Merge pull request #7127 from wanyaoqi/automated-cherry-pick-of-#7125-upstream-release-3.2
Automated cherry pick of #7125: - fix local storage init local man
2020-07-10 20:15:49 +08:00
wanyaoqi
b25e4dfb31 - fix local storage init local man
- fix rbd set storage info
2020-07-10 14:49:35 +08:00
Zexi Li
35cdcbe0ff Merge pull request #7118 from ioito/automated-cherry-pick-of-#7116-upstream-release-3.2
Automated cherry pick of #7116: fix: 修复vpc同步异常问题
2020-07-09 21:23:17 +08:00
Zexi Li
8e440f9390 Merge pull request #7115 from ioito/automated-cherry-pick-of-#7113-upstream-release-3.2
Automated cherry pick of #7113: fix: 避免越界访问
2020-07-09 21:21:24 +08:00
Zexi Li
40a903a56f Merge pull request #7108 from wanyaoqi/automated-cherry-pick-of-#7106-upstream-release-3.2
Automated cherry pick of #7106: fix set storage info bind mount
2020-07-09 21:19:39 +08:00
Qu Xuan
2d4d76cdd6 fix: 修复vpc同步异常问题 2020-07-09 21:13:36 +08:00
Qu Xuan
3e2eeb9e6e fix: 避免越界访问 2020-07-09 20:25:11 +08:00
wanyaoqi
447f41a40f fix set storage info bind mount 2020-07-09 14:55:44 +08:00
Zexi Li
95f59d0a59 Merge pull request #7104 from swordqiu/automated-cherry-pick-of-#7102-upstream-release-3.2
Automated cherry pick of #7102: fix: opslog show the owners operation logs only
2020-07-09 14:24:13 +08:00
Qiu Jian
40ee6d6d44 fix: opslog show the owners operation logs only 2020-07-09 11:27:01 +08:00
Zexi Li
f978973c7e Merge pull request #7095 from ioito/automated-cherry-pick-of-#7093-upstream-release-3.2
Automated cherry pick of #7093: fix: 修复资源组云上同步异常问题
2020-07-08 21:24:30 +08:00
Qu Xuan
8f5634eafc fix: 修复资源组云上同步异常问题 2020-07-08 16:26:26 +08:00
Zexi Li
eda171ced0 Merge pull request #7081 from ioito/automated-cherry-pick-of-#7079-upstream-release-3.2
Automated cherry pick of #7079: fix: 修复腾讯云操作日志时间异常问题
2020-07-08 14:09:39 +08:00
Zexi Li
c3a81ca793 Merge pull request #7090 from ioito/automated-cherry-pick-of-#7088-upstream-release-3.2
Automated cherry pick of #7088: fix: 修复azure 项目同步问题
2020-07-08 01:38:24 +08:00
Qu Xuan
abfa4a5a4d fix: 修复azure 项目同步问题 2020-07-07 18:48:31 +08:00
Qu Xuan
e77eb6e8ba fix: 修复腾讯云操作日志时间异常问题 2020-07-07 14:59:19 +08:00
Zexi Li
9d35818660 Merge pull request #7070 from swordqiu/automated-cherry-pick-of-#6880-upstream-release-3.2
Automated cherry pick of #6880: feature: 1. allow enable/disable idp-synced-users 2. turn off user's MFA by default
2020-07-07 14:51:45 +08:00
Zexi Li
fe28b8d6c6 Merge pull request #7073 from ioito/automated-cherry-pick-of-#7066-upstream-release-3.2
Automated cherry pick of #7066: fix: json request 支持自定义匹配err
2020-07-07 14:46:56 +08:00
Zexi Li
bccc16c4c5 Merge pull request #7053 from ioito/automated-cherry-pick-of-#7050-upstream-release-3.2
Automated cherry pick of #7050: fix: google rds regional and zonal
2020-07-07 14:45:51 +08:00
Zexi Li
8f3a9fe611 Merge pull request #7076 from ioito/automated-cherry-pick-of-#7074-upstream-release-3.2
Automated cherry pick of #7074: fix: 分开统计安全组关联虚拟机数量
2020-07-07 14:43:39 +08:00
Qu Xuan
dce47bbb22 fix: 分开统计安全组关联虚拟机数量 2020-07-07 11:49:52 +08:00
Qu Xuan
15a809e744 fix: json request 支持自定义匹配err 2020-07-07 11:18:32 +08:00
Zexi Li
ba7af63d59 Merge pull request #7063 from rainzm/automated-cherry-pick-of-#7061-upstream-release-3.2
Automated cherry pick of #7061: Update docker image onecloud-base and its references
2020-07-07 11:12:51 +08:00
Qiu Jian
c808ca89e6 remove mfa/totp modification on 3.2 2020-07-07 01:21:22 +08:00
Qiu Jian
d2b28e04c9 feature: 1. allow enable/disable idp-synced-users 2. turn off user's MFA by default 2020-07-07 01:19:14 +08:00
rainzm
b9908acaae Update docker image onecloud-base and its references 2020-07-06 21:04:45 +08:00
Qu Xuan
fec72492b7 fix: google rds regional and zonal 2020-07-06 11:18:52 +08:00
Zexi Li
1a0974ae83 Merge pull request #7044 from swordqiu/automated-cherry-pick-of-#7042-upstream-release-3.2
Automated cherry pick of #7042: feature: project filter that list jointable projects for user or group
2020-07-04 12:11:45 +08:00
Zexi Li
51197b837f Merge pull request #7033 from ioito/automated-cherry-pick-of-#7031-upstream-release-3.2
Automated cherry pick of #7031: fix: 避免azure同步资源组异常
2020-07-04 12:10:50 +08:00
Zexi Li
dcfa17492b Merge pull request #7038 from swordqiu/automated-cherry-pick-of-#7036-upstream-release-3.2
Automated cherry pick of #7036: fix: cloud account sync may block
2020-07-04 12:09:28 +08:00
Qiu Jian
b982ff47f3 feature: project filter that list jointable projects for user or group 2020-07-04 11:35:47 +08:00
Qiu Jian
d9035e9cba fix: cloud account sync may block 2020-07-04 10:24:24 +08:00
Qu Xuan
c4f14c7f42 fix: 避免azure同步资源组异常 2020-07-03 20:57:52 +08:00
Zexi Li
60bcb757fb Merge pull request #7011 from ioito/automated-cherry-pick-of-#7009-upstream-release-3.2
Automated cherry pick of #7009: fix: 取消aliyun lb scheduler创建限制
2020-07-03 19:24:49 +08:00
Zexi Li
40bffa5d12 Merge pull request #7022 from ioito/automated-cherry-pick-of-#7020-upstream-release-3.2
Automated cherry pick of #7020: fix: 优化安全组list速度,并发挥rule规则信息
2020-07-03 17:39:40 +08:00
Qu Xuan
22e7aa2f79 fix: 优化安全组list速度,并发挥rule规则信息 2020-07-03 15:53:26 +08:00
yunion-ci-robot
b34f6dbd8c Merge pull request #7001 from tb365/automated-cherry-pick-of-#7000-upstream-release-3.2
Automated cherry pick of #7000: cluster_d required->optional
2020-07-02 20:29:27 +08:00
Zexi Li
fdc918a0ee Merge pull request #7005 from ioito/automated-cherry-pick-of-#6998-upstream-release-3.2
Automated cherry pick of #6998: fix: manager_id资源隔离获取
2020-07-02 20:20:23 +08:00
Zexi Li
7609ef53df Merge pull request #7008 from wanyaoqi/automated-cherry-pick-of-#7006-upstream-release-3.2
Automated cherry pick of #7006: bind mount nfs storage path
2020-07-02 17:35:30 +08:00
Qu Xuan
ee173b3397 fix: 取消aliyun lb scheduler创建限制 2020-07-02 15:44:42 +08:00
wanyaoqi
4e22ff4805 bind mount nfs storage path 2020-07-02 14:35:13 +08:00
Qu Xuan
aaa3d498a5 fix: manager_id资源隔离获取 2020-07-02 14:30:18 +08:00
tangbin
a2bcbb83cd cluster_d required->optional 2020-07-02 11:54:39 +08:00
Zexi Li
068662e36e Merge pull request #6992 from rainzm/automated-cherry-pick-of-#6990-upstream-release-3.2
Automated cherry pick of #6990: fix the bug introduced in #6643
2020-07-01 19:26:32 +08:00
rainzm
9c141930c2 fix the bug introduced in #6643 2020-07-01 16:54:28 +08:00
Zexi Li
d27574e832 Merge pull request #6969 from ioito/automated-cherry-pick-of-#6903-upstream-release-3.2
Automated cherry pick of #6903: fix: 修正项目映射同步
2020-07-01 16:30:02 +08:00
Zexi Li
8641803302 Merge pull request #6977 from wanyaoqi/automated-cherry-pick-of-#6975-upstream-release-3.2
Automated cherry pick of #6975: fix deploy backup server order
2020-06-30 23:09:03 +08:00
wanyaoqi
6feeff2009 fix deploy backup server order 2020-06-30 22:03:51 +08:00
Qu Xuan
60cdc3fdda fix: 支持同步project标签到本地资源 2020-06-30 14:08:49 +08:00
Qu Xuan
6bed7639b0 fix: 修正项目映射同步 2020-06-30 11:52:41 +08:00
Zexi Li
aa9a5896c8 Merge pull request #6949 from swordqiu/automated-cherry-pick-of-#6947-upstream-release-3.2
Automated cherry pick of #6947: fix: disable domain sharing if non_default_domain_projects turned off
2020-06-30 10:48:22 +08:00
Qiu Jian
24f4b91955 fix: disable domain sharing if non_default_domain_projects turned off 2020-06-28 13:26:31 +08:00
Zexi Li
185c780faf Merge pull request #6945 from yousong/automated-cherry-pick-of-#6943-upstream-release-3.2
Automated cherry pick of #6943: lb: include cluster name info in details
2020-06-28 09:01:44 +08:00
Yousong Zhou
b3588b48a2 lb: include cluster name info in details 2020-06-24 18:55:51 +08:00
Zexi Li
98a0d39a0a Merge pull request #6935 from wanyaoqi/automated-cherry-pick-of-#6933-upstream-release-3.2
Automated cherry pick of #6933: server name enable upper case
2020-06-24 17:42:27 +08:00
Zexi Li
f7fde18f46 Merge pull request #6920 from ioito/automated-cherry-pick-of-#6918-upstream-release-3.2
Automated cherry pick of #6918: fix: 避免azure同步项目失败
2020-06-24 12:58:40 +08:00
Zexi Li
0cb69b7fb6 Merge pull request #6928 from ioito/automated-cherry-pick-of-#6926-upstream-release-3.2
Automated cherry pick of #6926: fix: google资源名称兼容处理
2020-06-23 23:29:39 +08:00
Zexi Li
8637b1fa04 Merge pull request #6938 from swordqiu/automated-cherry-pick-of-#6936-upstream-release-3.2
Automated cherry pick of #6936: fix: sort quota list result by usage rate
2020-06-23 23:28:02 +08:00
Qiu Jian
9a6362cd6b fix: sort quota list result by usage rate 2020-06-23 22:24:00 +08:00
Zexi Li
e0b523ba65 Merge pull request #6923 from swordqiu/automated-cherry-pick-of-#6921-upstream-release-3.2
Automated cherry pick of #6921: fix: simplify forbidden user login message
2020-06-23 21:26:03 +08:00
wanyaoqi
74037b56ca server name enable upper case 2020-06-23 21:07:16 +08:00
Qu Xuan
a898351061 fix: google资源名称兼容处理 2020-06-23 20:30:54 +08:00
Qiu Jian
21f1486001 fix: simplify forbidden user login message 2020-06-23 17:47:49 +08:00
Qu Xuan
8ec7fd93dc fix: 避免azure同步项目失败 2020-06-23 17:32:49 +08:00
Zexi Li
f3b2f3d93e Merge pull request #6905 from wanyaoqi/automated-cherry-pick-of-#6904-upstream-release-3.2
Automated cherry pick of #6904: fix get storage capabilities with null field
2020-06-23 11:53:31 +08:00
Zexi Li
a75554ed40 Merge pull request #6916 from ioito/automated-cherry-pick-of-#6912-upstream-release-3.2
Automated cherry pick of #6912: optimized: 支持ip和端口过滤安全组
2020-06-23 11:52:32 +08:00
Qu Xuan
3452b85d69 optimized: 支持ip和端口过滤安全组 2020-06-23 11:26:37 +08:00
yunion-ci-robot
ef47ad9807 Merge pull request #6908 from wanyaoqi/automated-cherry-pick-of-#6906-upstream-release-3.2
Automated cherry pick of #6906: disable dhclient
2020-06-22 23:42:03 +08:00
wanyaoqi
063ac404f0 disable dhclient 2020-06-22 21:30:53 +08:00
wanyaoqi
1425da2ccd fix get storage capabilities with null field 2020-06-22 20:00:15 +08:00
Zexi Li
c857ca4410 Merge pull request #6895 from yousong/automated-cherry-pick-of-#6893-upstream-release-3.2
Automated cherry pick of #6893: cloudcommon: app: cosmetic change
2020-06-22 09:15:33 +08:00
Yousong Zhou
8bb60ea439 cloudcommon: policy: fix interval and oneshot sync
Reduce CPU utilization caused by queued time.AfterFunc calls
2020-06-21 18:34:00 +08:00
Yousong Zhou
f59f5cb4bf cloudcommon: app: cosmetic change 2020-06-21 18:34:00 +08:00
yunion-ci-robot
c8e986d077 Merge pull request #6870 from rainzm/automated-cherry-pick-of-#6869-upstream-release-3.2
Automated cherry pick of #6869: Notify/email fix
2020-06-19 10:09:22 +08:00
yunion-ci-robot
2878cc81e8 Merge pull request #6884 from swordqiu/automated-cherry-pick-of-#6883-upstream-release-3.2
Automated cherry pick of #6883: fix: network created by sysadmin should be shared by default
2020-06-19 09:50:14 +08:00
yunion-ci-robot
b3b26475cc Merge pull request #6886 from swordqiu/automated-cherry-pick-of-#6885-upstream-release-3.2
Automated cherry pick of #6885: fix: wrong cloud provider status when sync disconnected cloud account
2020-06-19 09:49:08 +08:00
Qiu Jian
bd2a4e2832 fix: wrong cloud provider status when sync disconnected cloud account 2020-06-19 01:21:00 +08:00
yunion-ci-robot
cacd42ee15 Merge pull request #6860 from yousong/automated-cherry-pick-of-#6859-upstream-release-3.2
Automated cherry pick of #6859: cloudaccounts: one sync task in queue per cloudaccount
2020-06-18 23:20:03 +08:00
yunion-ci-robot
a90e6eac8c Merge pull request #6882 from wanyaoqi/automated-cherry-pick-of-#6881-upstream-release-3.2
Automated cherry pick of #6881: fix reserved ip export keys
2020-06-18 22:52:04 +08:00
Qiu Jian
95413e8a02 fix: network created by sysadmin should be shared by default 2020-06-18 22:48:26 +08:00
wanyaoqi
639e4fb87f fix reserved ip export keys 2020-06-18 21:45:56 +08:00
rainzm
7ffb1c969f fix: Fix problems about sending verify email 2020-06-18 19:05:58 +08:00
rainzm
a1a96f35fe fix: Fix the url of 'notify-template-delete' in climc 2020-06-18 19:05:58 +08:00
Zexi Li
a06b9c7884 Merge pull request #6872 from ioito/automated-cherry-pick-of-#6871-upstream-release-3.2
Automated cherry pick of #6871: fix: 避免同步删除失败
2020-06-18 19:05:31 +08:00
Qu Xuan
fd788b15b3 fix: 避免同步删除失败 2020-06-18 17:20:11 +08:00
Yousong Zhou
2ccc45df92 cloudaccounts: one sync task in queue per cloudaccount 2020-06-18 17:12:09 +08:00
yunion-ci-robot
4abbfd9932 Merge pull request #6877 from tb365/automated-cherry-pick-of-#6875-upstream-release-3.2
Automated cherry pick of #6875: replace err with errors.cause
2020-06-18 15:13:06 +08:00
tangbin
8fd53d0db5 replace err with errors.cause 2020-06-18 14:30:52 +08:00
Zexi Li
5775c13fbf Merge pull request #6862 from tb365/automated-cherry-pick-of-#6861-upstream-release-3.2
Automated cherry pick of #6861: shuzhou to suzhou
2020-06-17 18:50:50 +08:00
Zexi Li
c9998c8b47 Merge pull request #6841 from zexi/automated-cherry-pick-of-#6839-upstream-release-3.2
Automated cherry pick of #6839: scheduler: fix memory over committed
2020-06-17 18:49:35 +08:00
tangbin
43000c7d77 shuzhou to suzhou 2020-06-17 15:53:42 +08:00
Zexi Li
bce22f04d4 Merge pull request #6855 from yousong/automated-cherry-pick-of-#6837-upstream-release-3.2
Automated cherry pick of #6837: appsrv: ring: release ring content on pop
2020-06-17 11:24:35 +08:00
Yousong Zhou
7f98ec2a30 appsrv: rework TestRing 2020-06-17 10:53:15 +08:00
Yousong Zhou
4e735f8972 appsrv: ring: release ring content on pop 2020-06-17 10:53:15 +08:00
Zexi Li
21650e61f9 Merge pull request #6850 from swordqiu/automated-cherry-pick-of-#6849-upstream-release-3.2
Automated cherry pick of #6849: fix: disable policy rule compaction
2020-06-17 10:29:01 +08:00
Qiu Jian
406cc01b7c fix: policy allow if one of the matching rules is allow 2020-06-16 23:11:01 +08:00
Qiu Jian
d8d8256b0a fix: disable policy rule compaction 2020-06-16 23:11:01 +08:00
Zexi Li
75576e17dc Merge pull request #6845 from wanyaoqi/automated-cherry-pick-of-#6844-upstream-release-3.2
Automated cherry pick of #6844: fix cpu usage metrics
2020-06-16 21:00:44 +08:00
wanyaoqi
479b309160 fix cpu usage metrics 2020-06-16 20:44:00 +08:00
Zexi Li
d3ecbd98f8 Merge pull request #6825 from wanyaoqi/automated-cherry-pick-of-#6824-upstream-release-3.2
Automated cherry pick of #6824: fix windows install regedit record
2020-06-16 20:13:02 +08:00
Zexi Li
a957815041 scheduler: fix memory over committed 2020-06-16 19:12:47 +08:00
Zexi Li
bf2d727933 Merge pull request #6829 from yousong/bugfix/yousong-lblistener-cert-32
[3.2] Bugfix/yousong lblistener cert 32
2020-06-15 17:37:11 +08:00
Zexi Li
231a3a9fdd Merge pull request #6831 from ioito/automated-cherry-pick-of-#6830-upstream-release-3.2
Automated cherry pick of #6830: fix: 优化标签列表version问题
2020-06-15 14:11:16 +08:00
Qu Xuan
ada6d9e00c fix: 优化标签列表version问题 2020-06-15 14:06:18 +08:00
Yousong Zhou
6a10d8a66a 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:26:07 +08:00
Yousong Zhou
9fd612c5ac lblisteners: list: filter with certificate ids 2020-06-15 11:25:53 +08:00
wanyaoqi
18cb393ba3 fix windows install regedit record 2020-06-15 10:58:07 +08:00
Zexi Li
4e6bb13c52 Merge pull request #6818 from yousong/automated-cherry-pick-of-#6817-upstream-release-3.2
Automated cherry pick of #6817: guestnetworks: use math/rand instead of crypto/rand
2020-06-12 10:10:01 +08:00
Yousong Zhou
2989ecfe8a guestnetworks: reduce odds of collision seeded by epoch seconds 2020-06-11 21:22:16 +08:00
Yousong Zhou
a91e8230f3 guestnetworks: use math/rand instead of crypto/rand 2020-06-11 21:22:16 +08:00
Zexi Li
e8592d9158 Merge pull request #6809 from ioito/automated-cherry-pick-of-#6808-upstream-release-3.2
Automated cherry pick of #6808: fix: 避免sql erorr
2020-06-11 17:52:40 +08:00
Zexi Li
a765271c55 Merge pull request #6812 from ioito/automated-cherry-pick-of-#6810-upstream-release-3.2
Automated cherry pick of #6810: fix: 避免openstack磁盘和存储窜位
2020-06-11 17:52:14 +08:00
Zexi Li
6181ce84b3 Merge pull request #6804 from zexi/automated-cherry-pick-of-#6803-upstream-release-3.2
Automated cherry pick of #6803: webconsole: fix version and others handler not handle
2020-06-11 17:50:03 +08:00
Qu Xuan
51c4a420ae fix: 避免openstack磁盘和存储窜位 2020-06-11 14:13:25 +08:00
Qu Xuan
735461541e fix: 避免sql erorr 2020-06-11 10:42:37 +08:00
Zexi Li
804d987dc0 Merge pull request #6798 from wanyaoqi/automated-cherry-pick-of-#6797-upstream-release-3.2
Automated cherry pick of #6797: fix host list servers filter
2020-06-10 17:05:37 +08:00
Zexi Li
f44f6532dd webconsole: fix version and others handler not handle 2020-06-10 17:00:16 +08:00
wanyaoqi
a4968259e7 fix host list servers filter 2020-06-10 14:07:46 +08:00
Zexi Li
97b6bcd9f0 Merge pull request #6787 from rainzm/automated-cherry-pick-of-#6786-upstream-release-3.2
Automated cherry pick of #6786: fix: Hanle the error of vdisk.GetIStorage in syncCloudDisk
2020-06-10 11:28:01 +08:00
Zexi Li
48326f46dc Merge pull request #6731 from ioito/automated-cherry-pick-of-#6663-upstream-release-3.2
Automated cherry pick of #6663: fix: 优化安全组同步逻辑
2020-06-10 11:19:30 +08:00
Zexi Li
1fb12fe81f Merge pull request #6780 from ioito/automated-cherry-pick-of-#6779-upstream-release-3.2
Automated cherry pick of #6779: fix: 更正华为云操作成功判断
2020-06-10 10:46:02 +08:00
Zexi Li
8c6db4e81a Merge pull request #6776 from yousong/automated-cherry-pick-of-#6775-upstream-release-3.2
Automated cherry pick of #6775: networks: sep check of masklen only for start,end type creation
2020-06-10 10:20:34 +08:00
Zexi Li
18edd50fe3 Merge pull request #6783 from rainzm/automated-cherry-pick-of-#6782-upstream-release-3.2
Automated cherry pick of #6782: fix: Add '/version' handler for notify
2020-06-10 10:19:19 +08:00
Zexi Li
50338788c8 Merge pull request #6792 from swordqiu/automated-cherry-pick-of-#6791-upstream-release-3.2
Automated cherry pick of #6791: fix: policy-explain not working properly
2020-06-10 09:52:57 +08:00
Qiu Jian
447616f779 fix: policy-explain not working properly 2020-06-09 22:28:40 +08:00
rainzm
3e0344dc0d fix: Hanle the error of vdisk.GetIStorage in syncCloudDisk 2020-06-09 19:50:00 +08:00
rainzm
df44eb8082 fix: Add '/version' handler for notify 2020-06-09 18:55:06 +08:00
Qu Xuan
9443fe7b42 fix: 更正华为云操作成功判断 2020-06-09 18:21:03 +08:00
Yousong Zhou
d196db034f networks: validate that start, end, gateway ip are in the same subnet 2020-06-09 16:14:01 +08:00
Yousong Zhou
90e3bcd5d0 networks: validateUpdateData: eliminate intermediate vars 2020-06-09 16:14:01 +08:00
Yousong Zhou
7f052c0a79 networks: decrease indent 2020-06-09 16:14:01 +08:00
Yousong Zhou
3022a121ef networks: sep check of masklen only for start,end type creation 2020-06-09 16:14:01 +08:00
Zexi Li
a3cda0ca59 Merge pull request #6768 from yousong/bugfix/yousong-climc-lb-create-cluster
mcclient: options: lb: arg rename cluster{,_id}
2020-06-09 00:12:40 +08:00
Zexi Li
3d8ef5d442 Merge pull request #6773 from swordqiu/automated-cherry-pick-of-#6772-upstream-release-3.2
Automated cherry pick of #6772: fix: disable updating zone_id for host, storage, wire
2020-06-09 00:12:05 +08:00
Qiu Jian
ce64a499bb fix: disable updating zone_id for host, storage, wire 2020-06-08 22:02:57 +08:00
yunion-ci-robot
191f0dcb88 Merge pull request #6770 from zexi/automated-cherry-pick-of-#6769-upstream-release-3.2
Automated cherry pick of #6769: region: retry set influxdb policy until completed
2020-06-08 21:12:07 +08:00
Zexi Li
fb20a846f8 region: retry set influxdb policy until completed 2020-06-08 19:08:22 +08:00
Yousong Zhou
7f8549cd4b mcclient: options: lb: arg rename cluster{,_id}
Ref b0537773cd ("fxi: 修复lb 有些有vpc_id为空的问题")
2020-06-08 17:36:53 +08:00
Zexi Li
14716b64da Merge pull request #6761 from wanyaoqi/automated-cherry-pick-of-#6760-upstream-release-3.2
Automated cherry pick of #6760: image support generate name
2020-06-08 16:11:42 +08:00
Qu Xuan
42fe1cbfe2 fix: 优化安全组同步逻辑 2020-06-08 14:11:16 +08:00
wanyaoqi
57df58aa43 image support generate name 2020-06-08 11:27:10 +08:00
Zexi Li
8149573a80 Merge pull request #6751 from swordqiu/automated-cherry-pick-of-#6750-upstream-release-3.2
Automated cherry pick of #6750: fix: base64 decode 12-bytes plain text password return nil
2020-06-08 09:13:18 +08:00
yunion-ci-robot
daa0621bcd Merge pull request #6758 from swordqiu/automated-cherry-pick-of-#6757-upstream-release-3.2
Automated cherry pick of #6757: fix: remove spaces in name
2020-06-06 12:22:45 +08:00
Qiu Jian
18e8d68c9d fix: base64 decode 12-bytes plain text password return nil 2020-06-06 11:08:04 +08:00
Qiu Jian
3712a3a077 fix: remove spaces in name 2020-06-06 11:01:59 +08:00
yunion-ci-robot
388b152517 Merge pull request #6693 from ioito/automated-cherry-pick-of-#6692-upstream-release-3.2
Automated cherry pick of #6692: fix: 返回object默认acl
2020-06-06 11:00:45 +08:00
Qu Xuan
e70d7f4357 fix: 返回object默认acl 2020-06-05 11:00:34 +08:00
Zexi Li
97b5bd2006 Merge pull request #6741 from swordqiu/automated-cherry-pick-of-#6740-upstream-release-3.2
Automated cherry pick of #6740: fix: xsky recode using endpoint as accesskey key
2020-06-04 21:40:58 +08:00
Zexi Li
9c100c8a92 Merge pull request #6739 from tb365/automated-cherry-pick-of-#6737-upstream-release-3.2
Automated cherry pick of #6737: ctyun sync host wire fix
2020-06-04 21:39:57 +08:00
Zexi Li
8683501e69 Merge pull request #6745 from wanyaoqi/automated-cherry-pick-of-#6744-upstream-release-3.2
Automated cherry pick of #6744: bind mount local image path to container path
2020-06-04 21:24:14 +08:00
Zexi Li
ac47a29a8c Merge pull request #6748 from wanyaoqi/automated-cherry-pick-of-#6173-upstream-release-3.2
Automated cherry pick of #6173: support custom service url
2020-06-04 21:19:53 +08:00
wanyaoqi
b903a2aecb support custom service url 2020-06-04 20:27:44 +08:00
wanyaoqi
4cebf604ab bind mount local image path to container path 2020-06-04 20:21:14 +08:00
Qiu Jian
5da84f7a51 fix: xsky recode using endpoint as accesskey key 2020-06-04 19:22:54 +08:00
tangbin
4ba3437006 ctyun sync host wire fix 2020-06-04 18:53:45 +08:00
Zexi Li
f7dde179d8 Merge pull request #6729 from ioito/automated-cherry-pick-of-#6728-upstream-release-3.2
Automated cherry pick of #6728: fix: 避免openstack session==nil
2020-06-04 15:04:29 +08:00
Qu Xuan
7d505c6dc1 fix: 避免openstack session==nil 2020-06-04 11:24:13 +08:00
Zexi Li
bdbb08c15d Merge pull request #6723 from ioito/automated-cherry-pick-of-#6722-upstream-release-3.2
Automated cherry pick of #6722: fix: 添加region翻译
2020-06-04 10:28:59 +08:00
Zexi Li
b24ec284f7 Merge pull request #6727 from swordqiu/automated-cherry-pick-of-#6726-upstream-release-3.2
Automated cherry pick of #6726: fix: keystone event list fail to find user
2020-06-04 10:26:57 +08:00
Qiu Jian
635827794d fix: keystone event list fail to find user 2020-06-04 08:01:15 +08:00
Qu Xuan
c0ad0c495a fix: 添加region翻译 2020-06-03 20:40:10 +08:00
Zexi Li
728494b9e3 Merge pull request #6721 from ioito/automated-cherry-pick-of-#6720-upstream-release-3.2
Automated cherry pick of #6720: fix: 修复gcp object编码问题
2020-06-03 20:07:46 +08:00
Zexi Li
0585a83a0c Merge pull request #6712 from ioito/automated-cherry-pick-of-#6711-upstream-release-3.2
Automated cherry pick of #6711: fix: 移除默认调度策略
2020-06-03 17:27:30 +08:00
Zexi Li
60b11e8f50 Merge pull request #6719 from tb365/automated-cherry-pick-of-#6696-upstream-release-3.2
Automated cherry pick of #6696: add-enterprise-info-update-climc
2020-06-03 17:26:25 +08:00
Zexi Li
7ec7598037 Merge pull request #6714 from wanyaoqi/automated-cherry-pick-of-#6713-upstream-release-3.2
Automated cherry pick of #6713: isolated device manager:
2020-06-03 17:25:12 +08:00
Qu Xuan
fe8c2c6d51 fix: 修复gcp object编码问题 2020-06-03 16:36:42 +08:00
tangbin
2fb4254d83 add-enterprise-info-update-climc 2020-06-03 16:27:10 +08:00
wanyaoqi
cbbbd29830 isolated device manager:
- fix find boot_vga got No such file or dirtory
2020-06-03 15:50:03 +08:00
Qu Xuan
f70ca13563 fix: 移除默认调度策略 2020-06-03 15:23:08 +08:00
Zexi Li
9f4a4028b8 Merge pull request #6709 from ioito/automated-cherry-pick-of-#6708-upstream-release-3.2
Automated cherry pick of #6708: fix: 转换gcp错误
2020-06-03 13:03:25 +08:00
Qu Xuan
7bbc8afc51 fix: 转换gcp错误 2020-06-03 11:57:28 +08:00
Zexi Li
afdc49d0b5 Merge pull request #6700 from rainzm/automated-cherry-pick-of-#6699-upstream-release-3.2
Automated cherry pick of #6699: feat: Logo and copyright in verify email are same with these in company info
2020-06-03 10:23:57 +08:00
Zexi Li
bea0d7b978 Merge pull request #6703 from ioito/automated-cherry-pick-of-#6702-upstream-release-3.2
Automated cherry pick of #6702: fix: gcp默认创建允许所有地址访问的用户
2020-06-03 10:17:12 +08:00
Zexi Li
562e15c97d Merge pull request #6705 from ioito/automated-cherry-pick-of-#6704-upstream-release-3.2
Automated cherry pick of #6704: fix: 允许gcp创建vpc时不指定cidr
2020-06-03 10:16:50 +08:00
Zexi Li
7211580cfe Merge pull request #6707 from ioito/automated-cherry-pick-of-#6706-upstream-release-3.2
Automated cherry pick of #6706: fix: 避免越过tenantcache过期检查
2020-06-03 10:16:08 +08:00
Qu Xuan
7451ae9f90 fix: 避免越过tenantcache过期检查 2020-06-02 22:18:43 +08:00
Qu Xuan
766d5cf803 fix: 允许gcp创建vpc时不指定cidr 2020-06-02 22:03:17 +08:00
Qu Xuan
040a90587b fix: gcp默认创建允许所有地址访问的用户 2020-06-02 21:47:02 +08:00
Zexi Li
d3f8c71050 Merge pull request #6698 from swordqiu/automated-cherry-pick-of-#6697-upstream-release-3.2
Automated cherry pick of #6697: fix: apigateway expose esxiagent service avaiability
2020-06-02 21:20:24 +08:00
rainzm
3630164960 feat: Logo and copyright in verify email are same with these in company info 2020-06-02 20:55:56 +08:00
Qiu Jian
38b8e24eb0 fix: apigateway expose esxiagent service avaiability 2020-06-02 20:32:30 +08:00
yunion-ci-robot
847c296b64 Merge pull request #6687 from ioito/automated-cherry-pick-of-#6686-upstream-release-3.2
Automated cherry pick of #6686: fix: 避免锁超时
2020-06-02 13:59:44 +08:00
Qu Xuan
2521ec8f91 fix: 避免锁超时 2020-06-02 11:14:33 +08:00
Zexi Li
15f0e8c72c Merge pull request #6681 from ioito/automated-cherry-pick-of-#6680-upstream-release-3.2
Automated cherry pick of #6680: fix: sync s3 bucket status
2020-06-02 10:05:04 +08:00
Zexi Li
6013c0e0d8 Merge pull request #6685 from ioito/automated-cherry-pick-of-#6684-upstream-release-3.2
Automated cherry pick of #6684: fix: gcp path escape for object
2020-06-02 10:04:40 +08:00
Zexi Li
f072ef65fd Merge pull request #6667 from ioito/automated-cherry-pick-of-#6666-upstream-release-3.2
Automated cherry pick of #6666: fix: 安全组规则返回项目id信息
2020-06-02 10:03:24 +08:00
Zexi Li
b3b6a0cf59 Merge pull request #6665 from zhaoxiangchun/automated-cherry-pick-of-#6664-upstream-release-3.2
Automated cherry pick of #6664: 在优化建议资源列表中增加费用信息
2020-06-02 10:02:37 +08:00
Zexi Li
c47f6a77b9 Merge pull request #6676 from ioito/automated-cherry-pick-of-#6675-upstream-release-3.2
Automated cherry pick of #6675: fix: add us-west4 for google region
2020-06-02 09:59:50 +08:00
Zexi Li
b1704b0039 Merge pull request #6671 from wanyaoqi/automated-cherry-pick-of-#6670-upstream-release-3.2
Automated cherry pick of #6670: get snapshots order by created at asc
2020-06-02 09:58:31 +08:00
Qu Xuan
a98ce67684 fix: gcp path escape for object 2020-06-01 19:58:44 +08:00
Qu Xuan
fcc8db69a8 fix: sync s3 bucket status 2020-06-01 18:56:04 +08:00
Qu Xuan
43748db2e2 fix: add us-west4 for google region 2020-06-01 18:26:51 +08:00
wanyaoqi
41673a54c0 get snapshots order by created at asc 2020-06-01 15:09:15 +08:00
Qu Xuan
bd63447bae fix: 安全组规则返回项目id信息 2020-05-29 20:49:52 +08:00
zhaoxiangchun
5ca2c6fcdf 在优化建议资源列表中增加费用信息
另外,在资源进行处理时记录对应的status信息
2020-05-29 19:45:47 +08:00
Zexi Li
f330d01791 Merge pull request #6662 from rainzm/automated-cherry-pick-of-#6661-upstream-release-3.2
Automated cherry pick of #6661: fix(notify): Remove default mobile template
2020-05-29 19:32:24 +08:00
Zexi Li
8fb744be58 Merge pull request #6659 from ioito/automated-cherry-pick-of-#6658-upstream-release-3.2
Automated cherry pick of #6658: fix: byte size fix
2020-05-29 19:14:33 +08:00
rainzm
ec2087f3f0 fix(notify): Remove default mobile template 2020-05-29 18:50:11 +08:00
Qu Xuan
f67011b143 fix: byte size fix 2020-05-29 17:00:01 +08:00
Zexi Li
bb0b831b72 Merge pull request #6649 from swordqiu/automated-cherry-pick-of-#6636-upstream-release-3.2
Automated cherry pick of #6636: fix: ignore match weights when searching matched policysets
2020-05-29 14:20:29 +08:00
Zexi Li
74a1ccec9d Merge pull request #6651 from wanyaoqi/automated-cherry-pick-of-#6650-upstream-release-3.2
Automated cherry pick of #6650: fix migrate with multi local storage
2020-05-29 14:18:54 +08:00
wanyaoqi
c74b41ef1f fix migrate with multi local storage 2020-05-29 11:52:28 +08:00
Qiu Jian
54d3173c15 fix: ignore match weights when searching matched policysets 2020-05-29 11:20:17 +08:00
yunion-ci-robot
dbee0d0eef Merge pull request #6644 from rainzm/automated-cherry-pick-of-#6643-upstream-release-3.2
Automated cherry pick of #6643: feat(notify): Support 'socpe:domain' when list contacts
2020-05-28 19:11:01 +08:00
yunion-ci-robot
6e22bea1cc Merge pull request #6634 from swordqiu/automated-cherry-pick-of-#6631-upstream-release-3.2
Automated cherry pick of #6631: fix: sysadmin cannot convert host in non-default domain
2020-05-28 19:04:01 +08:00
yunion-ci-robot
6fa35f9c7c Merge pull request #6617 from ioito/automated-cherry-pick-of-#6592-upstream-release-3.2
Automated cherry pick of #6592: fix: 通用指定项目到云上创建资源
2020-05-28 19:02:01 +08:00
yunion-ci-robot
62b4fd8240 Merge pull request #6556 from zhaoxiangchun/automated-cherry-pick-of-#6544-upstream-release-3.2
Automated cherry pick of #6544: 类型是onecloud的notifier增加webconsole的alert
2020-05-28 18:59:00 +08:00
rainzm
c3d0ff9e6f feat(notify): Support 'socpe:domain' when list contacts
This is a temporary solution.
2020-05-28 18:57:10 +08:00
Zexi Li
f727fb6d6d Merge pull request #6633 from zhaoxiangchun/automated-cherry-pick-of-#6632-upstream-release-3.2
Automated cherry pick of #6632: 修复优化建议资源列表cloudenv过滤失效的问题
2020-05-28 18:07:08 +08:00
Zexi Li
3198cccd6d Merge pull request #6638 from ioito/automated-cherry-pick-of-#6637-upstream-release-3.2
Automated cherry pick of #6637: fix: 避免因磁盘数量导致创建机器失败
2020-05-28 17:13:55 +08:00
Qu Xuan
62607fb9d2 fix: tmp update 2020-05-28 14:39:42 +08:00
Qu Xuan
11cae0b675 fix: 避免因磁盘数量导致创建机器失败 2020-05-28 12:08:32 +08:00
Qiu Jian
f32538d92d fix: sysadmin cannot convert host in non-default domain 2020-05-27 22:34:08 +08:00
zhaoxiangchun
0afe110088 修复优化建议资源列表cloudenv过滤失效的问题 2020-05-27 22:14:30 +08:00
Zexi Li
158f70613d Merge pull request #6623 from wanyaoqi/automated-cherry-pick-of-#6621-upstream-release-3.2
Automated cherry pick of #6621: host storage misc fix:
2020-05-27 18:04:14 +08:00
Zexi Li
04ee98c6dc Merge pull request #6627 from swordqiu/automated-cherry-pick-of-#6618-upstream-release-3.2
Automated cherry pick of #6618: fix: domain user no previleges to convert host
2020-05-27 18:03:54 +08:00
Zexi Li
913879c95f Merge pull request #6612 from wanyaoqi/automated-cherry-pick-of-#6609-upstream-release-3.2
Automated cherry pick of #6609: fix host name validator
2020-05-27 18:01:21 +08:00
Zexi Li
baa575953b Merge pull request #6581 from yousong/automated-cherry-pick-of-#6580-upstream-release-3.2
Automated cherry pick of #6580: hostman: deprecate k8s_cluster_cidr
2020-05-27 18:00:51 +08:00
Zexi Li
2b62f8d8e2 Merge pull request #6606 from ioito/automated-cherry-pick-of-#6605-upstream-release-3.2
Automated cherry pick of #6605: fix: 移除azure policy sync部分
2020-05-27 17:56:31 +08:00
Zexi Li
f1683f3d03 Merge pull request #6614 from swordqiu/automated-cherry-pick-of-#6613-upstream-release-3.2
Automated cherry pick of #6613: fix: scheduler test ignore quota limit
2020-05-27 17:54:54 +08:00
Zexi Li
eb4780fd78 Merge pull request #6620 from ioito/automated-cherry-pick-of-#6619-upstream-release-3.2
Automated cherry pick of #6619: fix: 避免azure卸载磁盘失败
2020-05-27 17:51:57 +08:00
wanyaoqi
03592086a4 host storage misc fix:
- add accessible timeout
- add force detach host storage
2020-05-27 15:57:07 +08:00
Qu Xuan
abd5c9a03a fix: 避免azure卸载磁盘失败 2020-05-27 15:55:21 +08:00
Qiu Jian
96ea180573 fix: domain user no previleges to convert host 2020-05-27 15:49:34 +08:00
Qu Xuan
9208a70518 fix: 通用指定项目到云上创建资源 2020-05-27 15:31:54 +08:00
Qiu Jian
8feafc1bf4 fix: scheduler test ignore quota limit 2020-05-27 14:48:08 +08:00
Zexi Li
7f7ce94c57 Merge pull request #6608 from yousong/automated-cherry-pick-of-#6607-upstream-release-3.2
Automated cherry pick of #6607: vpcagent: apihelper: use its own options
2020-05-27 14:36:10 +08:00
Zexi Li
0b18d55068 Merge pull request #6590 from swordqiu/automated-cherry-pick-of-#6589-upstream-release-3.2
Automated cherry pick of #6589: fix: retry ipmi probe if redfish-api-probe fails
2020-05-27 14:35:11 +08:00
wanyaoqi
6a5f97f626 fix host name validator 2020-05-26 23:17:52 +08:00
Zexi Li
2e8749eb97 Merge pull request #6604 from ioito/automated-cherry-pick-of-#6603-upstream-release-3.2
Automated cherry pick of #6603: fix: sku status filter
2020-05-26 18:23:51 +08:00
Yousong Zhou
7298c4bf67 hostman: options: remove k8s_cluster_cidr
Remove instead of deprecation.  No user of this option anymore
2020-05-26 17:56:53 +08:00
Qu Xuan
920db3bb60 fix: 移除azure policy sync部分 2020-05-26 17:55:56 +08:00
Yousong Zhou
a91bef28c4 hostman: options: fix default value spec 2020-05-26 17:54:22 +08:00
Yousong Zhou
94d14b1863 vpcagent: models: separate Copy() and CopyJoined() 2020-05-26 17:54:21 +08:00
Yousong Zhou
dd288441b1 vpcagent: apihelper: use CopyJoined() 2020-05-26 17:54:21 +08:00
Yousong Zhou
f86cdbbdad vpcagent: models: add CopyJoined() 2020-05-26 17:54:21 +08:00
Yousong Zhou
c7468440f0 vpcagent: remove unused code 2020-05-26 17:54:21 +08:00
Yousong Zhou
16c4663e7b vpcagent: apihelper: use its own options 2020-05-26 17:54:21 +08:00
Zexi Li
7b5053e77f Merge pull request #6599 from wanyaoqi/automated-cherry-pick-of-#6598-upstream-release-3.2
Automated cherry pick of #6598: fix remotefile fetch image propertites
2020-05-26 17:15:20 +08:00
Zexi Li
13b43caf91 Merge pull request #6595 from ioito/automated-cherry-pick-of-#6594-upstream-release-3.2
Automated cherry pick of #6594: fix: bucket信息修正
2020-05-26 17:14:06 +08:00
Qu Xuan
8201433166 fix: sku status filter 2020-05-26 17:10:02 +08:00
wanyaoqi
fd4830859e fix remotefile fetch image propertites 2020-05-26 15:54:09 +08:00
Qu Xuan
e775515b59 fix: bucket信息修正 2020-05-26 15:09:58 +08:00
Zexi Li
752f9763c1 Merge pull request #6588 from swordqiu/automated-cherry-pick-of-#6587-upstream-release-3.2
Automated cherry pick of #6587: fix: identity_provider details missing fields
2020-05-25 18:34:20 +08:00
Zexi Li
015d7a213d Merge pull request #6583 from zexi/hotfix/k8s-repo-privilege
fix k8s repo privilege
2020-05-25 18:28:53 +08:00
Qiu Jian
216d6cbc89 fix: retry ipmi probe if redfish-api-probe fails 2020-05-25 17:55:08 +08:00
Qiu Jian
01d7c16f84 fix: identity_provider details missing fields 2020-05-25 17:45:22 +08:00
Zexi Li
95db384c6c fix k8s repo privilege 2020-05-25 16:51:57 +08:00
yunion-ci-robot
383ead3988 Merge pull request #6579 from zexi/automated-cherry-pick-of-#6578-upstream-release-3.2
Automated cherry pick of #6578: baremetal: fix forget init lockman pkg
2020-05-25 12:49:55 +08:00
Zexi Li
99cf71401c Merge pull request #6577 from zhaoxiangchun/automated-cherry-pick-of-#6573-upstream-release-3.2
Automated cherry pick of #6573: zstack宿主机监控中增加参数信息进行Unmarshal
2020-05-25 12:18:15 +08:00
Zexi Li
bffdf0cd64 baremetal: fix forget init lockman pkg 2020-05-25 12:17:26 +08:00
zhaoxiangchun
21888984b9 zstack宿主机监控中增加参数信息进行Unmarshal 2020-05-24 17:20:08 +08:00
Zexi Li
a85171ddf1 Merge pull request #6568 from swordqiu/automated-cherry-pick-of-#6567-upstream-release-3.2
Automated cherry pick of #6567: fix: default policy not effective
2020-05-22 22:48:21 +08:00
Zexi Li
3bd9c756db Merge pull request #6566 from rainzm/automated-cherry-pick-of-#6565-upstream-release-3.2
Automated cherry pick of #6565: fix: Support filtering notification with contactType
2020-05-22 22:47:08 +08:00
Zexi Li
e117dd46ed Merge pull request #6559 from ioito/automated-cherry-pick-of-#6558-upstream-release-3.2
Automated cherry pick of #6558: fix: 避免openstack以镜像做系统盘创建失败
2020-05-22 22:45:20 +08:00
Qiu Jian
8d6911a8cb fix: default policy not effective 2020-05-22 22:36:33 +08:00
rainzm
c303d8eafd feat: Supports disabling of feishu and dingtalk notification 2020-05-22 20:54:04 +08:00
rainzm
841224b402 fix: Support filtering notification with contactType 2020-05-22 20:54:04 +08:00
Qu Xuan
e1238af669 fix: 避免openstack以镜像做系统盘创建失败 2020-05-22 20:16:54 +08:00
zhaoxiangchun
909e92040c 类型是onecloud的notifier增加webconsole的alert 2020-05-22 20:04:22 +08:00
Zexi Li
3908877d3b Merge pull request #6547 from ioito/automated-cherry-pick-of-#6534-upstream-release-3.2
Automated cherry pick of #6534: fix: 避免azure uefi重装系统失败
2020-05-22 19:39:09 +08:00
Zexi Li
b8c287b1ad Merge pull request #6546 from rainzm/automated-cherry-pick-of-#6545-upstream-release-3.2
Automated cherry pick of #6545: Fix the problem of field duplication when exporting fields
2020-05-22 19:34:58 +08:00
Zexi Li
8b67811739 Merge pull request #6550 from ioito/automated-cherry-pick-of-#6549-upstream-release-3.2
Automated cherry pick of #6549: fix: 返回项目信息
2020-05-22 19:33:56 +08:00
Zexi Li
cc9e94dbbe Merge pull request #6552 from swordqiu/automated-cherry-pick-of-#6551-upstream-release-3.2
Automated cherry pick of #6551: fix: empty matched policies list for roles
2020-05-22 19:32:18 +08:00
Qiu Jian
1afbe0e44d fix: empty matched policies list for roles 2020-05-22 18:50:18 +08:00
Qu Xuan
6ba2ddf0d7 fix: 返回项目信息 2020-05-22 17:32:24 +08:00
Qu Xuan
d52062137c fix: 加入Azure套餐和镜像的检查 2020-05-22 16:12:52 +08:00
Qu Xuan
cc1e19b025 fix: 避免azure uefi重装系统失败 2020-05-22 16:12:52 +08:00
rainzm
71a7922ca0 Fix the problem of field duplication when exporting fields 2020-05-22 15:54:11 +08:00
Zexi Li
699fa4c458 Merge pull request #6541 from ioito/automated-cherry-pick-of-#6540-upstream-release-3.2
Automated cherry pick of #6540: fix: 避免因io问题导致同步镜像列表为空
2020-05-22 14:43:44 +08:00
Qu Xuan
c8652e7997 fix: 避免因io问题导致同步镜像列表为空 2020-05-22 13:47:09 +08:00
Zexi Li
37f30aca20 Merge pull request #6537 from ioito/automated-cherry-pick-of-#6530-upstream-release-3.2
Automated cherry pick of #6530: fix: aliyun rds backup create fix
2020-05-22 12:36:43 +08:00
Qu Xuan
793a02598a fix: aliyun rds backup create fix 2020-05-22 10:31:15 +08:00
Zexi Li
ff4c3616cf Merge pull request #6512 from ioito/automated-cherry-pick-of-#6511-upstream-release-3.2
Automated cherry pick of #6511: fix: 避免忽略本地allow any云上deny any安全组规则同步
2020-05-22 10:26:59 +08:00
Zexi Li
d282ea5480 Merge pull request #6532 from ioito/automated-cherry-pick-of-#6531-upstream-release-3.2
Automated cherry pick of #6531: fix: gcp bucket文件夹默认设为private
2020-05-22 10:26:06 +08:00
Zexi Li
1d516505e3 Merge pull request #6526 from tb365/automated-cherry-pick-of-#6525-upstream-release-3.2
Automated cherry pick of #6525: aws lbbg cache bugfix
2020-05-22 10:24:45 +08:00
Zexi Li
f3158a09c9 Merge pull request #6510 from wanyaoqi/automated-cherry-pick-of-#6509-upstream-release-3.2
Automated cherry pick of #6509: fix list disk attachable servers
2020-05-22 10:20:31 +08:00
Zexi Li
db4e94d455 Merge pull request #6536 from swordqiu/automated-cherry-pick-of-#6535-upstream-release-3.2
Automated cherry pick of #6535: fix: usage for schetag not accurate
2020-05-22 10:19:27 +08:00
Zexi Li
4d547c5d84 Merge pull request #6529 from ioito/automated-cherry-pick-of-#6528-upstream-release-3.2
Automated cherry pick of #6528: fix: 避免regional network-list --zone导致返回结果为空
2020-05-22 10:18:06 +08:00
Zexi Li
07359651d5 Merge pull request #6519 from swordqiu/automated-cherry-pick-of-#6516-upstream-release-3.2
Automated cherry pick of #6516: fix: system privileges user cannot access system console
2020-05-22 10:15:15 +08:00
yunion-ci-robot
ebf2e84de6 Merge pull request #6506 from ioito/automated-cherry-pick-of-#6505-upstream-release-3.2
Automated cherry pick of #6505: fix: 上传镜像为转换列表之外时,subformat状态异常
2020-05-21 23:09:53 +08:00
Qiu Jian
c9998c2176 fix: usage for schetag not accurate 2020-05-21 22:37:57 +08:00
Qu Xuan
95ded99428 fix: gcp bucket文件夹默认设为private 2020-05-21 20:54:03 +08:00
Qu Xuan
9cdd63299d fix: 避免regional network-list --zone导致返回结果为空 2020-05-21 20:15:47 +08:00
tangbin
e2db897856 aws lbbg cache bugfix 2020-05-21 19:08:23 +08:00
Qiu Jian
41db54737e fix: system privileges user cannot access system console 2020-05-21 18:44:03 +08:00
Qu Xuan
d567916e06 fix: 避免忽略本地allow any云上deny any安全组规则同步 2020-05-21 18:29:54 +08:00
wanyaoqi
60107e5dd1 fix list disk attachable servers 2020-05-21 18:02:39 +08:00
Qu Xuan
ab72632ece fix: 上传镜像为转换列表之外时,subformat状态异常 2020-05-21 17:41:33 +08:00
Zexi Li
df8a942d38 Merge pull request #6502 from zhaoxiangchun/automated-cherry-pick-of-#6500-upstream-release-3.2
Automated cherry pick of #6500: 修复当prestate=alerting,newstate=alerting的情况无法触发notify的问题
2020-05-21 16:38:04 +08:00
Zexi Li
e638c7dfca Merge pull request #6496 from zhaoxiangchun/automated-cherry-pick-of-#6472-upstream-release-3.2
Automated cherry pick of #6472: suggestions  increase time screening range
2020-05-21 16:34:26 +08:00
yunion-ci-robot
e030d683f0 Merge pull request #6498 from wanyaoqi/automated-cherry-pick-of-#6497-upstream-release-3.2
Automated cherry pick of #6497: image cache use lockman
2020-05-21 16:33:45 +08:00
Zexi Li
8e28f9f72d Merge pull request #6490 from rainzm/automated-cherry-pick-of-#6487-upstream-release-3.2
Automated cherry pick of #6487: Fix/esxi
2020-05-21 16:33:27 +08:00
zhaoxiangchun
041a1b2cdc bugfix-优化建议
在删除资源列表的信息时,增加对应的状态值。如果删除失败记录相关日志
2020-05-21 15:18:52 +08:00
zhaoxiangchun
094a3115df 优化建议增加时间筛选范围
1.在时间范围内查询未使用的资源,对于存在解绑的操作,通过查询对应的日志来确定最近的使用时间
2.基于监控的优化建议,增加新的reducer,当有足够多的points时,再进行其他逻辑
2020-05-21 15:18:52 +08:00
zhaoxiangchun
0fb24d91e3 修复当prestate=alerting,newstate=alerting的情况无法触发notify的问题 2020-05-21 13:58:37 +08:00
wanyaoqi
5131057cd8 image cache use lockman 2020-05-21 11:47:32 +08:00
rainzm
9735881e55 fix(esxi): Modify the disk size correctly when creating vm 2020-05-21 10:51:10 +08:00
rainzm
a465548e5e fix(esxi): Detach all disk first when deleting vm 2020-05-21 10:51:10 +08:00
rainzm
5b0b346f12 Kill processes in time & Add debug info 2020-05-21 10:51:10 +08:00
rainzm
caffe7f96f fix(esxi): Remove 'Destory' operation that is unnecessary for VirtualDiskManager 2020-05-21 10:51:10 +08:00
rainzm
1ea7937cdd 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-21 10:51:10 +08:00
Zexi Li
a3c48265fe Merge pull request #6486 from wanyaoqi/automated-cherry-pick-of-#6485-upstream-release-3.2
Automated cherry pick of #6485: add sys usage
2020-05-21 10:02:33 +08:00
Zexi Li
6caa3be510 Merge pull request #6495 from yousong/automated-cherry-pick-of-#6494-upstream-release-3.2
Automated cherry pick of #6494: guests: include vpc, network info in guest nics list
2020-05-21 10:00:33 +08:00
Yousong Zhou
b9543dd565 guests: include vpc, network info in guest nics list 2020-05-20 22:49:28 +08:00
Zexi Li
1efba08bf2 Merge pull request #6492 from zexi/automated-cherry-pick-of-#6491-upstream-release-3.2
Automated cherry pick of #6491: keystone: fix db not sync
2020-05-20 17:32:20 +08:00
Zexi Li
b19c7cfdcf keystone: fix db not sync 2020-05-20 17:22:13 +08:00
wanyaoqi
4e1acfc028 add sys usage 2020-05-20 15:03:24 +08:00
Zexi Li
d81d99394f Merge pull request #6483 from zexi/automated-cherry-pick-of-#6481-upstream-release-3.2
Automated cherry pick of #6481: region: fix get resource details panic
2020-05-20 14:00:17 +08:00
Zexi Li
6dbd344c10 region: fix get resource details panic 2020-05-20 13:30:56 +08:00
Zexi Li
3b99ebfd03 Merge pull request #6475 from yousong/automated-cherry-pick-of-#6474-upstream-release-3.2
Automated cherry pick of #6474: cloudcommon: rbac: fix typo
2020-05-20 12:54:38 +08:00
Zexi Li
e1f43e29a3 Merge pull request #6470 from zexi/automated-cherry-pick-of-#6463-upstream-release-3.2
Automated cherry pick of #6463: add fuzzy ip matching
2020-05-20 11:09:44 +08:00
Zexi Li
f428ad2abe Merge pull request #6457 from swordqiu/automated-cherry-pick-of-#6456-upstream-release-3.2
Automated cherry pick of #6456: fix: cloudprovider list support filter by zone and cloudregion
2020-05-20 11:09:11 +08:00
Zexi Li
3e9fab0ca0 Merge pull request #6454 from ioito/automated-cherry-pick-of-#6453-upstream-release-3.2
Automated cherry pick of #6453: fix: 优化azure image同步逻辑
2020-05-20 11:08:23 +08:00
Zexi Li
11463ce683 Merge pull request #6435 from ioito/automated-cherry-pick-of-#6434-upstream-release-3.2
Automated cherry pick of #6434: fix: 加入azure镜像vhd检查
2020-05-20 11:07:46 +08:00
Zexi Li
7d1b6a98eb Merge pull request #6448 from ioito/automated-cherry-pick-of-#6427-upstream-release-3.2
Automated cherry pick of #6427: fix: 避免大范围安全组共享
2020-05-20 11:07:23 +08:00
Yousong Zhou
2180e2e361 networks: return HTTP 404 for sql.ErrNoRows 2020-05-20 11:04:50 +08:00
Yousong Zhou
94433b590d 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:04:50 +08:00
Yousong Zhou
e5eed9ef2a networks: eliminate a variable 2020-05-20 11:04:50 +08:00
Yousong Zhou
7cd01cf535 guestdrivers: managed: use const api.EIP_STATUS_ASSOCIATE 2020-05-20 11:04:50 +08:00
Yousong Zhou
5d284b392b cloudprovider: fix typo 2020-05-20 11:04:50 +08:00
Yousong Zhou
306f8eabf2 cloudcommon: rbac: fix typo 2020-05-20 11:04:50 +08:00
Zexi Li
b5604f4767 Merge pull request #6469 from zexi/automated-cherry-pick-of-#6468-upstream-release-3.2
Automated cherry pick of #6468: host convert inject dockerd config
2020-05-20 10:44:31 +08:00
tangbin
fd13237ff3 add fuzzy ip matching 2020-05-19 19:15:55 +08:00
Zexi Li
36bef6db5a Merge pull request #6459 from ioito/automated-cherry-pick-of-#6458-upstream-release-3.2
Automated cherry pick of #6458: fix: 修复zstack使用win镜像时userdata base64加密问题
2020-05-19 19:13:49 +08:00
Zexi Li
926ab1e41a Merge pull request #6464 from zexi/automated-cherry-pick-of-#6462-upstream-release-3.2
Automated cherry pick of #6462: region: fix server create params not include specified resource
2020-05-19 19:08:45 +08:00
Zexi Li
ccef3b6aba host convert inject dockerd config 2020-05-19 19:08:11 +08:00
Zexi Li
c95f397ecf region: fix server create params not include specified resource 2020-05-19 17:38:23 +08:00
Qu Xuan
9455c75098 fix: 修复zstack使用win镜像时userdata base64加密问题 2020-05-19 16:46:31 +08:00
Qiu Jian
498aea4d18 fix: cloudprovider list support filter by zone and cloudregion 2020-05-19 16:44:44 +08:00
Qu Xuan
78be10c0a4 fix: 优化azure image同步逻辑 2020-05-19 16:24:23 +08:00
Zexi Li
fdbecf5365 Merge pull request #6452 from swordqiu/automated-cherry-pick-of-#6451-upstream-release-3.2
Automated cherry pick of #6451: fix: policy create fail on initialization phrase
2020-05-19 15:49:13 +08:00
Qiu Jian
d23b1fb08a fix: policy create fail on initialization phrase 2020-05-19 15:25:37 +08:00
Qu Xuan
fa287db5d6 fix: 避免大范围安全组共享 2020-05-19 14:03:24 +08:00
Zexi Li
379877189a Merge pull request #6422 from ioito/automated-cherry-pick-of-#6421-upstream-release-3.2
Automated cherry pick of #6421: fix: 优化标签列表过滤参数
2020-05-19 10:21:44 +08:00
Zexi Li
93179d30a7 Merge pull request #6442 from swordqiu/automated-cherry-pick-of-#6441-upstream-release-3.2
Automated cherry pick of #6441: update lisDescendent scope params
2020-05-19 10:20:24 +08:00
Zexi Li
a5436f2ba0 Merge pull request #6444 from swordqiu/automated-cherry-pick-of-#6443-upstream-release-3.2
Automated cherry pick of #6443: fix: anonymous user may list resources
2020-05-19 10:17:53 +08:00
Zexi Li
4576bb1728 Merge pull request #6440 from zexi/automated-cherry-pick-of-#6436-upstream-release-3.2
Automated cherry pick of #6436: baremetal: fix ssh put empty content file not created
2020-05-19 10:16:16 +08:00
Qiu Jian
f964b93bf8 fix: anonymous user may list resources 2020-05-19 01:13:52 +08:00
Qiu Jian
3cdf2da320 sync storage shared info when syncing local storage 2020-05-18 23:19:58 +08:00
Qiu Jian
7123de13ed update lisDescendent scope params 2020-05-18 23:19:58 +08:00
Zexi Li
9b0dc429c6 Merge pull request #6419 from ioito/automated-cherry-pick-of-#6418-upstream-release-3.2
Automated cherry pick of #6418: 可根据代理过滤云账号
2020-05-18 21:51:20 +08:00
Zexi Li
45f88c907d Merge pull request #6424 from ioito/automated-cherry-pick-of-#6423-upstream-release-3.2
Automated cherry pick of #6423: fix: 避免仅同步一个region时,其余region状态变为准备中
2020-05-18 21:49:10 +08:00
Zexi Li
534e7b4eda Merge pull request #6429 from ioito/automated-cherry-pick-of-#6428-upstream-release-3.2
Automated cherry pick of #6428: fix: 避免设置自动释放后磁盘的expired_at失效
2020-05-18 21:47:53 +08:00
Zexi Li
97cb68397b Merge pull request #6433 from swordqiu/automated-cherry-pick-of-#6432-upstream-release-3.2
Automated cherry pick of #6432: fix: update fields permission tags
2020-05-18 21:47:22 +08:00
Zexi Li
e8b90a9617 baremetal: fix ssh put empty content file not created 2020-05-18 21:46:26 +08:00
Qu Xuan
6281c56333 fix: image-list --sub-format support 2020-05-18 21:22:19 +08:00
Qu Xuan
1fa6b53a34 fix: 加入azure镜像vhd检查 2020-05-18 21:22:18 +08:00
Qiu Jian
5471bd9acf fix: update fields permission tags 2020-05-18 21:01:10 +08:00
Qu Xuan
2f84801b18 fix: 避免设置自动释放后磁盘的expired_at失效 2020-05-18 20:07:03 +08:00
Qu Xuan
963aaf0c33 fix: 避免仅同步一个region时,其余region状态变为准备中 2020-05-18 19:37:14 +08:00
Qu Xuan
168a4c7e9a fix: 优化标签列表过滤参数 2020-05-18 15:31:15 +08:00
Qu Xuan
be7adbea40 根据调度标签过滤网络和存储资源 2020-05-18 12:05:47 +08:00
Qu Xuan
2cdccfcf65 可根据代理过滤云账号 2020-05-18 12:05:46 +08:00
Zexi Li
eb56db7b00 Merge pull request #6404 from swordqiu/automated-cherry-pick-of-#6401-upstream-release-3.2
Automated cherry pick of #6401: fix: fail to explain permission for disabled policy
2020-05-17 14:22:45 +08:00
Zexi Li
8277ae48a6 Merge pull request #6415 from zhaoxiangchun/automated-cherry-pick-of-#6410-upstream-release-3.2
Automated cherry pick of #6410: 修复无法获取vmware宿主机监控数据的问题
2020-05-17 14:17:17 +08:00
Zexi Li
b91f4a2fde Merge pull request #6403 from swordqiu/automated-cherry-pick-of-#6402-upstream-release-3.2
Automated cherry pick of #6402: fix: disable delete standard image
2020-05-17 14:15:27 +08:00
yunion-ci-robot
121f538690 Merge pull request #6409 from rainzm/release/3.2
update vendor for release/3.2
2020-05-17 09:43:37 +08:00
zhaoxiangchun
f8fb9eddc8 修复无法获取vmware宿主机监控数据的问题 2020-05-16 21:23:51 +08:00
rainzm
66e42f2dba update vendor 2020-05-16 21:14:52 +08:00
Zexi Li
411c264890 Merge pull request #6400 from swordqiu/automated-cherry-pick-of-#6394-upstream-release-3.2
Automated cherry pick of #6394: fix: xxx-agent should generally use scope=system to list resources
2020-05-16 17:46:26 +08:00
Zexi Li
4696a51e92 Merge pull request #6396 from swordqiu/automated-cherry-pick-of-#6395-upstream-release-3.2
Automated cherry pick of #6395: fix: server-sync-fix-nics should return errors if vnics ip is not reachable on host
2020-05-16 17:45:25 +08:00
Zexi Li
928ceff800 Merge pull request #6376 from rainzm/automated-cherry-pick-of-#6375-upstream-release-3.2
Automated cherry pick of #6375: Fix/esxi
2020-05-16 17:42:42 +08:00
yunion-ci-robot
f5f83d3b3f Merge pull request #6389 from zexi/automated-cherry-pick-of-#6388-upstream-release-3.2
Automated cherry pick of #6388: region: fix baremetal can't enable public baremetal type network
2020-05-16 17:31:07 +08:00
Qiu Jian
74e784a84d fix: bugfixes 2020-05-16 01:05:40 +08:00
Qiu Jian
6ad68788e5 fix: fail to explain permission for disabled policy 2020-05-16 01:05:40 +08:00
Qiu Jian
4b6723d8fe fix: disable delete standard image 2020-05-16 00:37:04 +08:00
Qiu Jian
b12c644494 fix: xxx-agent should generally use scope=system to list resources 2020-05-15 22:33:03 +08:00
Qiu Jian
16b6186cab fix: server-sync-fix-nics should return errors if vnics ip is not reachable on host 2020-05-15 22:16:54 +08:00
rainzm
e9d0764be9 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:36:19 +08:00
rainzm
3e8b854dbe fix(esxi): Add usb to support mouse in vnc viewer 2020-05-15 21:36:19 +08:00
rainzm
cdabc68a71 fix(esxi): Fix GetDriver and add driver log for vdisk.
In GetDriver, return 'name' directly if driverMap is empty.
2020-05-15 21:36:19 +08:00
rainzm
4873635dd8 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 21:36:19 +08:00
rainzm
7d1270c968 fix(region): Set default value if rootdisk's driver is empty. 2020-05-15 21:36:19 +08:00
rainzm
4b9f1a409b fix(esxi): Disable automatically add host to the dvs 2020-05-15 21:36:19 +08:00
rainzm
23a03bb24c 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 21:36:19 +08:00
Zexi Li
62fe9cee88 region: fix baremetal can't enable public baremetal type network 2020-05-15 20:00:09 +08:00
Zexi Li
61a707bd57 Merge pull request #6387 from yousong/automated-cherry-pick-of-#6386-upstream-release-3.2
Automated cherry pick of #6386: vpcagent: ovn: cmp: generate clean args in a single batch
2020-05-15 19:59:27 +08:00
Yousong Zhou
188a0ea9e3 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:34:51 +08:00
Yousong Zhou
fea1e2166e vpcagent: ovn: cmp: generate clean args in a single batch 2020-05-15 16:31:18 +08:00
Zexi Li
3864156c5f Merge pull request #6380 from ioito/automated-cherry-pick-of-#6379-upstream-release-3.2
Automated cherry pick of #6379: fix: 避免backup list未能正常显示rds信息
2020-05-15 15:29:43 +08:00
Zexi Li
6301776f72 Merge pull request #6385 from zexi/automated-cherry-pick-of-#6381-upstream-release-3.2
Automated cherry pick of #6381: scheduler: fix min counter get count not correct
2020-05-15 15:28:34 +08:00
Zexi Li
0f6297aea8 scheduler: fix min counter get count not correct 2020-05-15 15:12:02 +08:00
Qu Xuan
c29528ac54 fix: 避免backup list未能正常显示rds信息 2020-05-15 14:30:19 +08:00
Zexi Li
0a3f041bf7 Merge pull request #6374 from zhaoxiangchun/automated-cherry-pick-of-#6358-upstream-release-3.2
Automated cherry pick of #6358: modify the logic of queryCondition save the  evalMatch
2020-05-15 11:11:15 +08:00
Zexi Li
4b8e100916 Merge pull request #6361 from ioito/automated-cherry-pick-of-#6346-upstream-release-3.2
Automated cherry pick of #6346: fix: 优化windows powershell userdata
2020-05-15 11:09:51 +08:00
Zexi Li
5ad8cb051f Merge pull request #6373 from swordqiu/automated-cherry-pick-of-#6363-upstream-release-3.2
Automated cherry pick of #6363: fix: set public_scope to system for image with is_public=true
2020-05-15 11:08:22 +08:00
zhaoxiangchun
23380f2a00 modify the logic of queryCondition save the evalMatch 2020-05-15 11:07:23 +08:00
Zexi Li
e45ef0a8e1 Merge pull request #6359 from ioito/automated-cherry-pick-of-#6352-upstream-release-3.2
Automated cherry pick of #6352: fix: 优化rds zone同步逻辑
2020-05-15 11:05:46 +08:00
Qiu Jian
e6d240ac79 fix: set public_scope to system for image with is_public=true 2020-05-15 00:34:29 +08:00
Qu Xuan
1cc5eee870 fix: 优化windows powershell userdata 2020-05-14 20:42:47 +08:00
Qu Xuan
9f99f1466b fix: 优化rds zone同步逻辑 2020-05-14 20:24:15 +08:00
Zexi Li
519cbec486 Merge pull request #6357 from zexi/automated-cherry-pick-of-#6353-upstream-release-3.2
Automated cherry pick of #6353: scheduler: filter disabled cloudprovider
2020-05-14 18:59:34 +08:00
Zexi Li
5ed76cd0cf Merge pull request #6345 from tb365/automated-cherry-pick-of-#6344-upstream-release-3.2
Automated cherry pick of #6344: allow delete paramter config
2020-05-14 18:20:50 +08:00
Zexi Li
408a4e33c4 Merge pull request #6339 from swordqiu/automated-cherry-pick-of-#6338-upstream-release-3.2
Automated cherry pick of #6338: fix: avoid using background context
2020-05-14 18:18:58 +08:00
Zexi Li
9104f101eb Merge pull request #6337 from zhaoxiangchun/automated-cherry-pick-of-#6336-upstream-release-3.2
Automated cherry pick of #6336: Modify the logic of rule change execution time
2020-05-14 18:17:53 +08:00
Zexi Li
019d72a694 scheduler: filter disabled cloudprovider 2020-05-14 18:15:53 +08:00
Zexi Li
c23ee27c9f Merge pull request #6348 from zexi/automated-cherry-pick-of-#6347-upstream-release-3.2
Automated cherry pick of #6347: scheduler: set schedtag default strategy if input empty
2020-05-14 17:49:20 +08:00
Zexi Li
fa5f9351d2 scheduler: set schedtag default strategy if input empty 2020-05-14 17:25:50 +08:00
Qiu Jian
db111a8da4 fix: avoid using background context 2020-05-14 16:51:26 +08:00
tangbin
de4c354c7d allow delete paramter config 2020-05-14 15:20:37 +08:00
zhaoxiangchun
acd7fceb91 修改规则执行时间
在将资源数据取到后更新执行时间
2020-05-14 15:00:36 +08:00
Zexi Li
8a7f37dcd1 Merge pull request #6330 from zhaoxiangchun/automated-cherry-pick-of-#6164-upstream-release-3.2
Automated cherry pick of #6164: bugfix mem paginate
2020-05-14 13:02:45 +08:00
Zexi Li
1f8c1f4d13 Merge pull request #6332 from tb365/automated-cherry-pick-of-#6331-upstream-release-3.2
Automated cherry pick of #6331: clear yunionauth cookie
2020-05-14 13:02:20 +08:00
Zexi Li
fd3fb7ba89 Merge pull request #6335 from wanyaoqi/automated-cherry-pick-of-#6333-upstream-release-3.2
Automated cherry pick of #6333: remove statefile in start script
2020-05-14 13:01:45 +08:00
wanyaoqi
6b63ac0af5 fix esxi disk disconnect 2020-05-14 12:28:27 +08:00
wanyaoqi
f50dfaef4c remove statefile in start script 2020-05-14 12:28:27 +08:00
tangbin
346a325e7e clear yunionauth cookie 2020-05-14 11:46:03 +08:00
zhaoxiangchun
9b1aa45a15 修复规则无法禁用的问题 2020-05-14 10:38:39 +08:00
Zexi Li
9e2874caaa Merge pull request #6329 from swordqiu/automated-cherry-pick-of-#6328-upstream-release-3.2
Automated cherry pick of #6328: fix: status-base resource's action log missing owner project/domain
2020-05-14 09:52:32 +08:00
Zexi Li
e0a8fe38d0 Merge pull request #6327 from zexi/automated-cherry-pick-of-#6326-upstream-release-3.2
Automated cherry pick of #6326: region: server create prefer resource fetch by name or id
2020-05-14 09:51:46 +08:00
Qiu Jian
6453e7fa82 fix: status-base resource's action log missing owner project/domain 2020-05-14 01:17:09 +08:00
Zexi Li
ad4d25e0cd Merge pull request #6197 from zhaoxiangchun/automated-cherry-pick-of-#6164-upstream-release-3.2
Automated cherry pick of #6164 bugfix-suggestrule cannot disable
2020-05-14 01:02:08 +08:00
Zexi Li
a3d962894c region: server create prefer resource fetch by name or id 2020-05-14 01:00:18 +08:00
zhaoxiangchun
c1384f29cf merge 2020-05-14 00:29:11 +08:00
zhaoxiangchun
829c6c65fc 修复规则无法禁用的问题 2020-05-14 00:27:34 +08:00
Zexi Li
c106bdc24c Merge pull request #6088 from zhaoxiangchun/automated-cherry-pick-of-#6087-upstream-release-3.2
Automated cherry pick of #6087: 在monitor的package中新增influxdb相关的功能
2020-05-13 23:00:04 +08:00
zhaoxiangchun
d9509a0cf5 基于监控数据的优化建议 2020-05-13 22:45:41 +08:00
zhaoxiangchun
22dccbbb20 在monitor的package中新增influxdb相关的功能
1.可以获取influxdb实例中的databases
2.可以获取指定database中的measurements
3.通过指定measurement获取其中的tags和fileds
2020-05-13 22:45:41 +08:00
Zexi Li
442e95a2c1 Merge pull request #6325 from swordqiu/automated-cherry-pick-of-#6324-upstream-release-3.2
Automated cherry pick of #6324: fix: host agent list use baremetalagents model
2020-05-13 21:20:56 +08:00
Qiu Jian
2089c055f3 fix: host agent list use baremetalagents model 2020-05-13 21:15:38 +08:00
yunion-ci-robot
c52946c5ed Merge pull request #6320 from wanyaoqi/automated-cherry-pick-of-#6319-upstream-release-3.2
Automated cherry pick of #6319: do not close worker chan
2020-05-13 20:18:01 +08:00
wanyaoqi
3e2f5c7af1 do not close worker chan
don't close worker chan after put work, will cause dead loop
2020-05-13 18:58:18 +08:00
Zexi Li
061d31ae0d Merge pull request #6314 from swordqiu/automated-cherry-pick-of-#6305-upstream-release-3.2
Automated cherry pick of #6305: fix: change-owner-candidate-domains not implemented for some resources
2020-05-13 12:46:17 +08:00
Zexi Li
055d01d24e Merge pull request #6303 from yousong/automated-cherry-pick-of-#6302-upstream-release-3.2
Automated cherry pick of #6302: vpcagent: ignore possible external subnets
2020-05-13 12:45:30 +08:00
Zexi Li
b48647abbd Merge pull request #6301 from ioito/automated-cherry-pick-of-#6300-upstream-release-3.2
Automated cherry pick of #6300: fix: 避免provider错乱返回
2020-05-13 12:44:28 +08:00
Zexi Li
34f7a4e6d0 Merge pull request #6298 from ioito/automated-cherry-pick-of-#6297-upstream-release-3.2
Automated cherry pick of #6297: fix: cloud-provider-list support filter by cloudregion
2020-05-13 12:44:02 +08:00
Zexi Li
cb0810c7c2 Merge pull request #6279 from swordqiu/automated-cherry-pick-of-#6241-upstream-release-3.2
Automated cherry pick of #6241: feature: user login into project with highest privilege automatically
2020-05-13 12:43:33 +08:00
Zexi Li
ec9dcb05ee Merge pull request #6310 from ioito/automated-cherry-pick-of-#6306-upstream-release-3.2
Automated cherry pick of #6306: fix: openstack 安全组规则同步
2020-05-13 12:41:55 +08:00
Zexi Li
cfb3c4c184 Merge pull request #6316 from ioito/automated-cherry-pick-of-#6315-upstream-release-3.2
Automated cherry pick of #6315: fix: i-ps -> ips
2020-05-13 10:46:16 +08:00
Zexi Li
cd5d452e86 Merge pull request #6318 from swordqiu/automated-cherry-pick-of-#6317-upstream-release-3.2
Automated cherry pick of #6317: fix: reserved ip owner filter
2020-05-13 10:44:16 +08:00
Zexi Li
e725bdf0ca Merge pull request #6293 from ioito/automated-cherry-pick-of-#6292-upstream-release-3.2
Automated cherry pick of #6292: fix: 优化openstack错误处理
2020-05-13 10:42:45 +08:00
Qiu Jian
04ba1e8300 fix: reserved ip owner filter 2020-05-12 21:13:14 +08:00
Qu Xuan
93222c5827 fix: i-ps -> ips 2020-05-12 20:27:36 +08:00
Qiu Jian
014e159339 fix: change-owner-candidate-domains not implemented for some resources 2020-05-12 18:47:30 +08:00
Yousong Zhou
f7e1676a17 vpcagent: ignore possible external subnets 2020-05-12 18:06:27 +08:00
Qu Xuan
535e9a1861 fix: openstack 安全组规则同步 2020-05-12 17:57:25 +08:00
Qu Xuan
48e35019b3 fix: 避免provider错乱返回 2020-05-12 17:03:12 +08:00
Zexi Li
79f9d69125 Merge pull request #6281 from yousong/automated-cherry-pick-of-#6280-upstream-release-3.2
Automated cherry pick of #6280: cloudcommon: elect: notifyOne on subscribe
2020-05-12 14:22:37 +08:00
Zexi Li
7bec5cbdb8 Merge pull request #6278 from ioito/automated-cherry-pick-of-#6277-upstream-release-3.2
Automated cherry pick of #6277: fix: 支持访问其他服务的标签列表
2020-05-12 14:21:47 +08:00
Qu Xuan
b8104481ee fix: 优化openstack错误处理 2020-05-12 14:09:10 +08:00
Qu Xuan
ebe775338c fix: cloud-provider-list support filter by cloudregion 2020-05-12 14:06:53 +08:00
Zexi Li
fa54acf2c7 Merge pull request #6288 from yousong/automated-cherry-pick-of-#6287-upstream-release-3.2
Automated cherry pick of #6287: region: lbagent: undeploy: make it idempotent
2020-05-12 11:50:05 +08:00
Zexi Li
f01d45d7ed Merge pull request #6283 from yousong/automated-cherry-pick-of-#6282-upstream-release-3.2
Automated cherry pick of #6282: region: lbagents: fix deleting pending_deleted objects
2020-05-12 11:43:42 +08:00
Yousong Zhou
d2197aec70 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:56 +08:00
Yousong Zhou
51f50c1087 region: lbagents: fix deleting pending_deleted objects
This was broken since the introduction of virtual object
2020-05-12 10:11:01 +08:00
Yousong Zhou
a77aa72d47 cloudcommon: elect: notifyOne on subscribe 2020-05-11 23:27:19 +08:00
Qu Xuan
88af7f7f2f fix: 支持访问其他服务的标签列表 2020-05-11 21:39:59 +08:00
Qiu Jian
e95ea4a0fa detect bmagent and hostagent service 2020-05-11 21:21:15 +08:00
Qiu Jian
6e24efd176 feature: user login into project with highest privilege automatically 2020-05-11 21:21:15 +08:00
Zexi Li
9034bff3cb Merge pull request #6264 from ioito/automated-cherry-pick-of-#6263-upstream-release-3.2
Automated cherry pick of #6263: fix: globalvpc count vpc
2020-05-11 21:09:39 +08:00
Zexi Li
002ac64e8b Merge pull request #6266 from ioito/automated-cherry-pick-of-#6265-upstream-release-3.2
Automated cherry pick of #6265: fix: 避免卸载完已删除的磁盘后,磁盘状态为ready
2020-05-11 21:09:09 +08:00
Zexi Li
4e67c95561 Merge pull request #6271 from zexi/automated-cherry-pick-of-#6270-upstream-release-3.2
Automated cherry pick of #6270: scheduler: get region nil panic
2020-05-11 21:07:38 +08:00
Zexi Li
2d9cc6d99e Merge pull request #6276 from swordqiu/automated-cherry-pick-of-#6275-upstream-release-3.2
Automated cherry pick of #6275: fix: isolated_devices domain filter not working
2020-05-11 21:07:14 +08:00
Qiu Jian
05c206497a fix: isolated_devices domain filter not working 2020-05-11 20:47:58 +08:00
Zexi Li
a3955a36b9 Merge pull request #6269 from ioito/automated-cherry-pick-of-#6268-upstream-release-3.2
Automated cherry pick of #6268: fix: gcp rds 默认不使用vpc网络
2020-05-11 18:17:51 +08:00
Zexi Li
2e13690b5c Merge pull request #6259 from ioito/automated-cherry-pick-of-#6258-upstream-release-3.2
Automated cherry pick of #6258: fix: 避免aliyun磁盘计费类型多次转换
2020-05-11 18:17:04 +08:00
Zexi Li
e22bac2597 scheduler: get region nil panic 2020-05-11 14:58:09 +08:00
Qu Xuan
7840528040 fix: gcp rds 默认不使用vpc网络 2020-05-11 14:52:58 +08:00
Qu Xuan
e8070c171a fix: 避免卸载完已删除的磁盘后,磁盘状态为ready 2020-05-11 14:37:13 +08:00
Qu Xuan
73890e5adb fix: globalvpc count vpc 2020-05-11 14:18:22 +08:00
Qu Xuan
1868ab31eb fix: 避免aliyun磁盘计费类型多次转换 2020-05-11 14:06:03 +08:00
Zexi Li
52200db57b Merge pull request #6220 from swordqiu/automated-cherry-pick-of-#6219-upstream-release-3.2
Automated cherry pick of #6219: 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-11 12:37:21 +08:00
Zexi Li
4da9c3b427 Merge pull request #6256 from swordqiu/automated-cherry-pick-of-#6252-upstream-release-3.2
Automated cherry pick of #6252: fix: panic when disk has no valid storage_id
2020-05-11 10:01:20 +08:00
yunion-ci-robot
5ae4a4b2de Merge pull request #6231 from tb365/automated-cherry-pick-of-#6230-upstream-release-3.2
Automated cherry pick of #6230: lb acl cache add acl filter
2020-05-11 09:42:56 +08:00
Qiu Jian
dbd88e3288 fix: panic when disk has no valid storage_id 2020-05-11 02:58:43 +08:00
Zexi Li
83c186b616 Merge pull request #6248 from wanyaoqi/automated-cherry-pick-of-#6247-upstream-release-3.2
Automated cherry pick of #6247: fix import from libvirt
2020-05-10 21:35:04 +08:00
Zexi Li
77ac919edb Merge pull request #6236 from tb365/automated-cherry-pick-of-#6232-upstream-release-3.2
Automated cherry pick of #6232: huawei network id fix
2020-05-10 21:33:53 +08:00
wanyaoqi
e8a8416b77 fix import from libvirt 2020-05-10 20:43:24 +08:00
Zexi Li
558c477de1 Merge pull request #6218 from swordqiu/automated-cherry-pick-of-#6200-upstream-release-3.2
Automated cherry pick of #6200: fix: recode sync public_src of cloud resources
2020-05-10 19:50:21 +08:00
Zexi Li
d768fc33f1 Merge pull request #6243 from yousong/automated-cherry-pick-of-#6242-upstream-release-3.2
Automated cherry pick of #6242: disks: reword error message on bad DiskConfig struct
2020-05-10 11:29:03 +08:00
Yousong Zhou
ee13acba43 disks: reword error message on bad DiskConfig struct 2020-05-10 00:18:21 +08:00
yunion-ci-robot
c65a25fa80 Merge pull request #6240 from swordqiu/automated-cherry-pick-of-#6237-upstream-release-3.2
Automated cherry pick of #6237: fix: guestsecgroup-list panic
2020-05-10 00:17:50 +08:00
Qiu Jian
4599988771 fix: guestsecgroup-list panic 2020-05-09 23:06:06 +08:00
Qiu Jian
d85e9be656 fix: init sharing status of default vpc and default secgroup 2020-05-09 22:36:16 +08:00
Qiu Jian
9e06c3a52f fix: allow delete shared resource 2020-05-09 22:36:15 +08:00
Qiu Jian
a51f928af9 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-09 22:36:15 +08:00
Qiu Jian
117122c363 fix: recode sync public_src of cloud resources 2020-05-09 21:26:42 +08:00
tangbin
2d61f927a4 huawei network id fix 2020-05-09 20:12:17 +08:00
tangbin
b4b815a30f new local lb backend fix 2020-05-09 19:23:57 +08:00
tangbin
9c50414a0e lb acl cache add acl filter 2020-05-09 19:23:57 +08:00
Zexi Li
2714b6ceb0 Merge pull request #6222 from yousong/automated-cherry-pick-of-#6221-upstream-release-3.2
Automated cherry pick of #6221: cloudprovider: add methods for getting http client
2020-05-09 19:02:14 +08:00
Zexi Li
472c5b2622 Merge pull request #6210 from swordqiu/automated-cherry-pick-of-#6209-upstream-release-3.2
Automated cherry pick of #6209: fix: missing methods for SDomainRegionalCloudResourceKeys
2020-05-09 19:00:06 +08:00
Zexi Li
4ee4a9d872 Merge pull request #6217 from swordqiu/automated-cherry-pick-of-#6216-upstream-release-3.2
Automated cherry pick of #6216: fix: export missing keys && export panic
2020-05-09 18:58:58 +08:00
Zexi Li
89af0eeba1 Merge pull request #6214 from yousong/automated-cherry-pick-of-#6213-upstream-release-3.2
Automated cherry pick of #6213: vpcagent: ovn: explicitly include gateway route in classless routes
2020-05-09 18:57:13 +08:00
Zexi Li
ea7cd16ab3 Merge pull request #6212 from yousong/automated-cherry-pick-of-#6211-upstream-release-3.2
Automated cherry pick of #6211: vpcagent: models: ignore possible external guests
2020-05-09 18:55:39 +08:00
Zexi Li
f89276dd6a Merge pull request #6207 from wanyaoqi/automated-cherry-pick-of-#6206-upstream-release-3.2
Automated cherry pick of #6206: bm register use domain token
2020-05-09 18:54:38 +08:00
Zexi Li
a9bb0087b2 Merge pull request #6226 from yousong/automated-cherry-pick-of-#6225-upstream-release-3.2
Automated cherry pick of #6225: apigateway: handlers: register cloudnet modules
2020-05-09 18:47:42 +08:00
Zexi Li
00ca11f63c Merge pull request #6208 from zexi/automated-cherry-pick-of-#6193-upstream-release-3.2
Automated cherry pick of #6193: baremetal: find baremetal add scope system
2020-05-09 17:48:49 +08:00
Yousong Zhou
3e135e70ae apigateway: handlers: register cloudnet modules 2020-05-09 16:41:08 +08:00
Yousong Zhou
caf6726b12 multicloud: loader: guard against changing proxyFunc of default client 2020-05-09 12:56:29 +08:00
Yousong Zhou
f080a4ca9b multicloud: avoid changing transport of global default http client 2020-05-09 12:56:29 +08:00
Yousong Zhou
b187ca471f cloudprovider: add methods for getting http client
Prepare for following changes to avoid using and changing default
client settings
2020-05-09 12:56:29 +08:00
Qiu Jian
83f2defb24 fix: export missing keys && export panic 2020-05-08 17:44:30 +08:00
Yousong Zhou
daa591e99d vpcagent: ovn: explicitly include gateway route in classless routes 2020-05-08 16:35:52 +08:00
Yousong Zhou
88ac93510b vpcagent: models: ignore possible external guests 2020-05-08 15:46:46 +08:00
Qiu Jian
bf5d38d510 fix: missing methods for SDomainRegionalCloudResourceKeys 2020-05-08 14:16:34 +08:00
Zexi Li
79cecc5c7e baremetal: find baremetal add scope system 2020-05-08 13:46:38 +08:00
wanyaoqi
5fdd93fa2e bm register use domain token 2020-05-08 12:00:19 +08:00
Zexi Li
af9bf353f4 Merge pull request #6205 from tb365/automated-cherry-pick-of-#6204-upstream-release-3.2
Automated cherry pick of #6204: set cookie domain
2020-05-08 11:57:25 +08:00
tangbin
50146557ba set cookie domain 2020-05-08 11:56:17 +08:00
Zexi Li
cc52279ba2 Merge pull request #6201 from tb365/automated-cherry-pick-of-#6190-upstream-release-3.2
Automated cherry pick of #6190: apigateway-yunionauth-domain-setting
2020-05-08 10:29:21 +08:00
tangbin
6320fe1594 apigateway-yunionauth-domain-setting 2020-05-08 10:19:04 +08:00
Zexi Li
aa4cba8e6f Merge pull request #6199 from swordqiu/automated-cherry-pick-of-#6198-upstream-release-3.2
Automated cherry pick of #6198: fix: fail to sync share state for on-premise storages
2020-05-08 10:18:31 +08:00
Zexi Li
8d17139484 Merge pull request #6195 from wanyaoqi/automated-cherry-pick-of-#6194-upstream-release-3.2
Automated cherry pick of #6194: set host list scope system
2020-05-08 10:16:28 +08:00
Qiu Jian
7291e620a3 fix: fail to sync share state for on-premise storages 2020-05-07 20:47:12 +08:00
wanyaoqi
e8dc98ca8d set host list scope system 2020-05-07 20:04:31 +08:00
Zexi Li
012ee72fcb Merge pull request #6189 from zhaoxiangchun/automated-cherry-pick-of-#6185-upstream-release-3.2
Automated cherry pick of #6185: 修复谷歌监控无法获取的问题
2020-05-07 17:21:38 +08:00
yunion-ci-robot
84ea12f86d Merge pull request #6165 from zhaoxiangchun/automated-cherry-pick-of-#6164-upstream-release-3.2
Automated cherry pick of #6164: bugfix mem paginate
2020-05-07 16:51:45 +08:00
Zexi Li
67baa9be6e Merge pull request #6184 from swordqiu/automated-cherry-pick-of-#6183-upstream-release-3.2
Automated cherry pick of #6183: fix: missing perform public/private actionlog
2020-05-07 11:38:40 +08:00
zhaoxiangchun
1a800c99c7 修复谷歌监控无法获取的问题
直接返回调用RestAPI的json格式数据
2020-05-07 11:28:34 +08:00
Zexi Li
e9a4c0fe86 Merge pull request #6182 from swordqiu/automated-cherry-pick-of-#6181-upstream-release-3.2
Automated cherry pick of #6181: fix: shared cloudprovider not accessible
2020-05-07 11:28:26 +08:00
Zexi Li
8d9bddf6da Merge pull request #6180 from swordqiu/automated-cherry-pick-of-#6179-upstream-release-3.2
Automated cherry pick of #6179: fix: shared resource should not be deletable
2020-05-07 11:23:59 +08:00
Zexi Li
5eb616a30c Merge pull request #6169 from yousong/automated-cherry-pick-of-#6168-upstream-release-3.2
Automated cherry pick of #6168: dnsrecords: note that DnsRecordManager is a IAdminSharableVirtualModelManager
2020-05-07 11:23:14 +08:00
Zexi Li
8a9aef390d Merge pull request #6175 from swordqiu/automated-cherry-pick-of-#6174-upstream-release-3.2
Automated cherry pick of #6174: fix: fail to fetch real client ip from httprequest
2020-05-07 11:16:23 +08:00
Qiu Jian
c269437f36 fix: missing perform public/private actionlog 2020-05-07 02:14:49 +08:00
Qiu Jian
92232a5c45 fix: shared cloudprovider not accessible 2020-05-07 01:54:10 +08:00
Qiu Jian
fea14ed51e fix: shared resource should not be deletable 2020-05-07 01:40:23 +08:00
Qiu Jian
5c74ad427f fix: fail to fetch real client ip from httprequest 2020-05-06 22:27:08 +08:00
Yousong Zhou
40282fa5e6 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:42:29 +08:00
Yousong Zhou
356bea1915 dnsrecords: note that DnsRecordManager is a IAdminSharableVirtualModelManager 2020-05-06 18:42:29 +08:00
yunion-ci-robot
e3d062290a Merge pull request #6159 from zhaoxiangchun/automated-cherry-pick-of-#6158-upstream-release-3.2
Automated cherry pick of #6158: bugfix mem paginate
2020-05-06 15:45:44 +08:00
Zexi Li
1817cb1423 Merge pull request #6166 from wanyaoqi/automated-cherry-pick-of-#6150-upstream-release-3.2
Automated cherry pick of #6150: fix update input
2020-05-06 12:35:52 +08:00
wanyaoqi
eda2a39e5a fix update input 2020-05-06 11:55:22 +08:00
zhaoxiangchun
ee55aed03f bugfix mem paginate
通过totoal和offset 与limit比较确定最后返回数据
2020-05-06 11:06:27 +08:00
Zexi Li
70534106e6 Merge pull request #6154 from ioito/automated-cherry-pick-of-#6153-upstream-release-3.2
Automated cherry pick of #6153: fix: secgroupcache权限问题修复
2020-04-30 20:14:01 +08:00
zhaoxiangchun
b20d1ab7bd 修复规则无法禁用的问题 2020-04-30 20:13:30 +08:00
zhaoxiangchun
2ef877bd4d bugfix mem paginate
通过totoal和offset 与limit比较确定最后返回数据
2020-04-30 20:13:30 +08:00
Zexi Li
9103700f33 Merge pull request #6163 from wanyaoqi/automated-cherry-pick-of-#6151-upstream-release-3.2
Automated cherry pick of #6151: fix host details output
2020-04-30 19:08:24 +08:00
wanyaoqi
17676568d8 fix host init without etcd 2020-04-30 18:46:15 +08:00
wanyaoqi
341dda54ca fix host details output 2020-04-30 18:34:42 +08:00
Qu Xuan
0812fc2efe fix: secgroupcache权限问题修复 2020-04-30 15:42:32 +08:00
Zexi Li
7a97d5690b Merge pull request #6148 from rainzm/automated-cherry-pick-of-#6147-upstream-release-3.2
Automated cherry pick of #6147: fix/monitor: AutoScalingNotifier.ShouldNotify should call NotifierBase.ShouldNotify
2020-04-30 14:41:38 +08:00
Zexi Li
70db8a462e Merge pull request #6149 from wanyaoqi/automated-cherry-pick-of-#6145-upstream-release-3.2
Automated cherry pick of #6145: fix host health
2020-04-30 14:41:05 +08:00
wanyaoqi
9b22f51f25 fix host health 2020-04-30 11:32:53 +08:00
Rain
3a09de47b7 fix/monitor: AutoScalingNotifier.ShouldNotify should call NotifierBase.ShouldNotify 2020-04-30 11:31:28 +08:00
Zexi Li
b2c20dac86 Merge pull request #6138 from ioito/automated-cherry-pick-of-#6137-upstream-release-3.2
Automated cherry pick of #6137: fix: 云账号创建可以指定项目
2020-04-30 10:36:36 +08:00
Zexi Li
71be44a29b Merge pull request #6126 from ioito/automated-cherry-pick-of-#6123-upstream-release-3.2
Automated cherry pick of #6123: fix: usage-handler 不统计虚拟的vpc wire
2020-04-30 10:36:14 +08:00
Zexi Li
bab5b137ae Merge pull request #6142 from swordqiu/automated-cherry-pick-of-#6141-upstream-release-3.2
Automated cherry pick of #6141: fix: remove cloudaccount autosync randomness
2020-04-30 10:35:40 +08:00
Zexi Li
0fc6e1a29b Merge pull request #6144 from swordqiu/automated-cherry-pick-of-#6143-upstream-release-3.2
Automated cherry pick of #6143: fix: list lbbg panic
2020-04-30 10:35:07 +08:00
Qiu Jian
4b8ddca41b fix: list lbbg panic 2020-04-29 22:42:53 +08:00
Qiu Jian
2181019270 fix: remove cloudaccount autosync randomness 2020-04-29 22:34:37 +08:00
Zexi Li
fb3ae328c8 Merge pull request #6136 from wanyaoqi/automated-cherry-pick-of-#6034-upstream-release-3.2
Automated cherry pick of #6034: host health check
2020-04-29 21:17:12 +08:00
Zexi Li
60f3b1e6a2 Merge pull request #6128 from swordqiu/automated-cherry-pick-of-#6120-upstream-release-3.2
Automated cherry pick of #6120: fix: sysadmin can override policy violation check
2020-04-29 21:15:44 +08:00
Zexi Li
368a45069e Merge pull request #6125 from tb365/automated-cherry-pick-of-#6124-upstream-release-3.2
Automated cherry pick of #6124: add cookie domain setting option
2020-04-29 21:13:34 +08:00
Qu Xuan
a126f56bfb fix: 云账号创建可以指定项目 2020-04-29 20:06:26 +08:00
wanyaoqi
70fa719942 enable etcd lock 2020-04-29 20:03:06 +08:00
wanyaoqi
e024bdef1b host health check 2020-04-29 19:58:03 +08:00
Zexi Li
b18df612be Merge pull request #6122 from zhaoxiangchun/automated-cherry-pick-of-#6121-upstream-release-3.2
Automated cherry pick of #6121: monitor,对于监控数据nodata,默认不发送邮件
2020-04-29 19:36:05 +08:00
Qiu Jian
ae9838a38b fix: sysadmin can override policy violation check 2020-04-29 17:59:03 +08:00
Qu Xuan
599facb154 fix: usage-handler 不统计虚拟的vpc wire 2020-04-29 17:56:46 +08:00
tangbin
793412b813 add cookie domain setting option 2020-04-29 17:54:42 +08:00
zhaoxiangchun
27e075bfae monitor,对于监控数据nodata,默认不发送邮件 2020-04-29 15:18:23 +08:00
Zexi Li
ba6e8a1656 Merge pull request #6119 from swordqiu/automated-cherry-pick-of-#6118-upstream-release-3.2
Automated cherry pick of #6118: fix: cloud-account-usage vpc/storage not accurate
2020-04-29 13:11:41 +08:00
Zexi Li
e1840785c4 Merge pull request #6112 from swordqiu/automated-cherry-pick-of-#6111-upstream-release-3.2
Automated cherry pick of #6111: fix: prevent policy violation
2020-04-29 13:10:22 +08:00
Zexi Li
8767b92bc2 Merge pull request #6102 from rainzm/automated-cherry-pick-of-#6101-upstream-release-3.2
Automated cherry pick of #6101: fix/autoscaling: Chang the format of CoolingTime
2020-04-29 13:09:35 +08:00
Zexi Li
1fc3614d7c Merge pull request #6096 from ioito/automated-cherry-pick-of-#6095-upstream-release-3.2
Automated cherry pick of #6095: fix: 普通用户可获取rds账号密码
2020-04-29 13:08:07 +08:00
Zexi Li
3b94a82dc4 Merge pull request #6110 from ioito/automated-cherry-pick-of-#6109-upstream-release-3.2
Automated cherry pick of #6109: fix: 避免gcp创建创建文件夹失败
2020-04-29 13:07:32 +08:00
Zexi Li
7a4096c733 Merge pull request #6117 from swordqiu/automated-cherry-pick-of-#6116-upstream-release-3.2
Automated cherry pick of #6116: fix: export files complain duplicate field name error
2020-04-29 13:06:38 +08:00
Qiu Jian
eb67eb6346 fix: cloud-account-usage vpc/storage not accurate 2020-04-29 01:16:18 +08:00
Qiu Jian
ac4832ebf2 fix: export files complain duplicate field name error 2020-04-29 00:56:07 +08:00
yunion-ci-robot
4cdb7513a0 Merge pull request #6104 from ioito/automated-cherry-pick-of-#6103-upstream-release-3.2
Automated cherry pick of #6103: fix: 修复openstack存储同步问题
2020-04-28 23:41:35 +08:00
Qiu Jian
3713cfd967 fix: prevent policy violation 2020-04-28 23:37:26 +08:00
Qu Xuan
ff0e90a593 fix: 避免gcp创建创建文件夹失败 2020-04-28 20:50:31 +08:00
Zexi Li
e4f57eebe0 Merge pull request #6093 from wanyaoqi/automated-cherry-pick-of-#6092-upstream-release-3.2
Automated cherry pick of #6092: gpu host enable huge page
2020-04-28 16:05:23 +08:00
Qu Xuan
d6ae5042b0 fix: 修复openstack存储同步问题 2020-04-28 14:47:34 +08:00
Rain
76788bfa9d fix/as: Set ScalingPolicy's project as its ScalingGroup's project 2020-04-28 11:18:23 +08:00
Rain
f9fcb5e73f fix/autoscaling: Chang the format of CoolingTime 2020-04-28 11:18:23 +08:00
Qu Xuan
c3f13225cd fix: 普通用户可获取rds账号密码 2020-04-28 10:41:08 +08:00
Zexi Li
deac1a9ea4 Merge pull request #6086 from yousong/automated-cherry-pick-of-#6085-upstream-release-3.2
Automated cherry pick of #6085: region: cloudaccounts: re-validate only when proxysetting changed
2020-04-27 20:59:28 +08:00
Zexi Li
396f099098 Merge pull request #6091 from yousong/automated-cherry-pick-of-#6090-upstream-release-3.2
Automated cherry pick of #6090: vpcagent: tmp replacement for db.FindByIndex()
2020-04-27 20:52:19 +08:00
Yousong Zhou
6d9a5c2a70 vpcagent: ad-hoc replacement for db.FindByIndex() 2020-04-27 20:07:34 +08:00
wanyaoqi
41aceac04d gpu host enable huge page 2020-04-27 20:04:03 +08:00
Yousong Zhou
29dcd54f4a region: cloudaccounts: re-validate only when proxysetting changed 2020-04-27 17:36:29 +08:00
Zexi Li
f8a2f31373 Merge pull request #6076 from yousong/automated-cherry-pick-of-#6075-upstream-release-3.2
Automated cherry pick of #6075: vpcagent: work around nics of pending deleted guest
2020-04-27 17:19:02 +08:00
Zexi Li
95aa4a91fe Merge pull request #6080 from ioito/automated-cherry-pick-of-#6079-upstream-release-3.2
Automated cherry pick of #6079: fix: gcp fake region status
2020-04-27 17:17:46 +08:00
Zexi Li
1212dad5b3 Merge pull request #6078 from swordqiu/automated-cherry-pick-of-#6077-upstream-release-3.2
Automated cherry pick of #6077: fix: cloudaccount usage region/zone count not accurate
2020-04-27 17:17:06 +08:00
Zexi Li
36c64afcec Merge pull request #6026 from zhaoxiangchun/automated-cherry-pick-of-#6024-upstream-release-3.2
Automated cherry pick of #6024: lb 负载均衡优化建议
2020-04-27 17:16:18 +08:00
Zexi Li
f90bd32c61 Merge pull request #6082 from wanyaoqi/automated-cherry-pick-of-#6081-upstream-release-3.2
Automated cherry pick of #6081: fix exsi convert disk path
2020-04-27 17:14:34 +08:00
Yousong Zhou
12e9bcca0e vpcagent: models: allow guest to have multiple vpc nics 2020-04-27 17:13:44 +08:00
Yousong Zhou
95ada0fe55 vpcagent: work around nics of pending deleted guest 2020-04-27 17:13:44 +08:00
Zexi Li
933368b4b2 Merge pull request #6069 from ioito/automated-cherry-pick-of-#6068-upstream-release-3.2
Automated cherry pick of #6068: fix: gcp use project name for cloudprovider
2020-04-27 16:03:18 +08:00
wanyaoqi
16af1a4dc0 fix exsi convert disk path 2020-04-27 15:58:09 +08:00
Qu Xuan
06d47bba43 fix: gcp fake region status 2020-04-27 15:56:39 +08:00
Qiu Jian
eb401bd1f8 fix: cloudaccount usage region/zone count not accurate 2020-04-27 15:53:27 +08:00
yunion-ci-robot
81ea86885e Merge pull request #6074 from rainzm/automated-cherry-pick-of-#6073-upstream-release-3.2
Automated cherry pick of #6073: fix/notify: remove 'v2' from email verify url
2020-04-27 14:38:32 +08:00
Qu Xuan
fcb817033c fix: gcp use project name for cloudprovider 2020-04-27 14:16:25 +08:00
Zexi Li
dc43158b59 Merge pull request #6061 from wanyaoqi/automated-cherry-pick-of-#5853-upstream-release-3.2
Automated cherry pick of #5853: host health check
2020-04-27 12:55:14 +08:00
Zexi Li
ce1eef35bd Merge pull request #6063 from rainzm/automated-cherry-pick-of-#6062-upstream-release-3.2
Automated cherry pick of #6062: fix/notify: Add deadline for rpc client
2020-04-27 12:48:02 +08:00
yunion-ci-robot
a6e7042a09 Merge pull request #6045 from tb365/automated-cherry-pick-of-#6041-upstream-release-3.2
Automated cherry pick of #6041: yunionapi reset password fix
2020-04-27 12:12:32 +08:00
Rain
77d4a0ee77 fix/notify: remove 'v2' from email verify url 2020-04-27 11:33:41 +08:00
Zexi Li
5b00f25dc8 Merge pull request #6060 from swordqiu/automated-cherry-pick-of-#6059-upstream-release-3.2
Automated cherry pick of #6059: fix: cloud-account/provider usage not accurate
2020-04-27 10:55:16 +08:00
Zexi Li
587eade0a4 Merge pull request #6053 from wanyaoqi/automated-cherry-pick-of-#6052-upstream-release-3.2
Automated cherry pick of #6052: host fix cmt bound, minor fix
2020-04-27 10:54:55 +08:00
Zexi Li
dc8d122394 Merge pull request #6051 from swordqiu/automated-cherry-pick-of-#6050-upstream-release-3.2
Automated cherry pick of #6050: feature: make baremetal options managed by service config
2020-04-27 10:53:42 +08:00
Zexi Li
9bef06b319 Merge pull request #6055 from rainzm/automated-cherry-pick-of-#6054-upstream-release-3.2
Automated cherry pick of #6054: Fix/auto scaling & guest template
2020-04-27 10:52:12 +08:00
Rain
778b619a59 fix/notify: Add deadline for rpc client 2020-04-27 10:43:54 +08:00
wanyaoqi
342f963e6e host health check 2020-04-27 10:32:34 +08:00
Qiu Jian
1a61a8445f fix: cloud-account/provider usage not accurate 2020-04-27 02:13:18 +08:00
tangbin
3e722dd487 yunionapi reset password fix 2020-04-26 21:50:18 +08:00
Qiu Jian
6d263c3bd1 feature: make baremetal options managed by service config 2020-04-26 21:28:48 +08:00
Zexi Li
3d0e842825 Merge pull request #6046 from tb365/automated-cherry-pick-of-#6042-upstream-release-3.2
Automated cherry pick of #6042: huawei elb cookie timeout fix
2020-04-26 21:06:22 +08:00
Rain
5ed62e22d8 fix/autoscaling: Change Sunday as 7 from 0 2020-04-26 21:05:25 +08:00
Rain
a31c64e726 fix/guesttemplate: Change ResetPassword as true default 2020-04-26 21:05:25 +08:00
Rain
e6c9d50bf3 fix/autoscaling: fix some problem
1. ScalingGroupGuestManger.Query 默认添加 NotEqual(...)
2. ScalingGroup.Scale 扩大锁的粒度,更新冷却时间也挪到这里面
3. climc 中增加 scaling-group-show
2020-04-26 21:05:25 +08:00
Zexi Li
2116475c9f Merge pull request #6021 from swordqiu/automated-cherry-pick-of-#6020-upstream-release-3.2
Automated cherry pick of #6020: fix: opslog FetchOwnerId fail
2020-04-26 21:04:55 +08:00
Zexi Li
5f3009c157 Merge pull request #6023 from yousong/automated-cherry-pick-of-#6022-upstream-release-3.2
Automated cherry pick of #6022: vpcagent: fend off non-onecloud-vpc guest nics
2020-04-26 21:04:42 +08:00
wanyaoqi
6b4c215d66 host fix cmt bound, minor fix 2020-04-26 20:57:07 +08:00
Zexi Li
aab70ad1b8 Merge pull request #6044 from tb365/automated-cherry-pick-of-#6040-upstream-release-3.2
Automated cherry pick of #6040: ctyun subnet create bugfix
2020-04-26 20:31:29 +08:00
tangbin
d3d46e81b3 aws elb health check type fix 2020-04-26 20:09:51 +08:00
tangbin
3f7b410bc2 huawei elb cookie timeout fix 2020-04-26 20:09:51 +08:00
tangbin
ce25fc43d6 ctyun subnet create bugfix 2020-04-26 20:08:42 +08:00
Zexi Li
0b138da714 Merge pull request #6019 from swordqiu/automated-cherry-pick-of-#6013-upstream-release-3.2
Automated cherry pick of #6013: fix: network allocation according to sharing status
2020-04-26 19:59:18 +08:00
Zexi Li
bc44cce0e1 Merge pull request #6039 from wanyaoqi/automated-cherry-pick-of-#6038-upstream-release-3.2
Automated cherry pick of #6038: misc bugfix:
2020-04-26 19:57:46 +08:00
yunion-ci-robot
479665c3fe Merge pull request #6012 from swordqiu/automated-cherry-pick-of-#6008-upstream-release-3.2
Automated cherry pick of #6008: fix: GetOnPremiseNetworkOfIP should return underlay networks
2020-04-26 19:50:31 +08:00
yunion-ci-robot
cd25cc9b33 Merge pull request #6037 from swordqiu/automated-cherry-pick-of-#6036-upstream-release-3.2
Automated cherry pick of #6036: fix: proxysetting attributes should be domain-settable
2020-04-26 19:47:32 +08:00
Yousong Zhou
16815d078d guestnetworks: try allocation of mapped addr on sync 2020-04-26 19:03:24 +08:00
Yousong Zhou
78d39efde7 region: vpcs_mapped_address: fix locking 2020-04-26 19:03:24 +08:00
Yousong Zhou
f2a777c977 region: vpcs_mapped_address: alloc guestnic mapped addr backwards 2020-04-26 19:03:24 +08:00
Yousong Zhou
b8fcf37883 guests: simplify code 2020-04-26 19:03:24 +08:00
Yousong Zhou
47ad14ea4c hostman: options: pack up a Parse() func 2020-04-26 19:03:24 +08:00
Yousong Zhou
1234fb46c5 vpcagent: fend off non-onecloud-vpc guest nics 2020-04-26 19:03:24 +08:00
wanyaoqi
127ce54503 misc bugfix:
- fix get details hosts
- save image enable generate_name
- network auto set dns
- fix servers filter by disk
2020-04-26 18:35:33 +08:00
Zexi Li
82f4f070ab Merge pull request #6029 from ioito/automated-cherry-pick-of-#6028-upstream-release-3.2
Automated cherry pick of #6028: fix: json unmarshal
2020-04-26 18:19:18 +08:00
Qiu Jian
5c42d6eb88 make DIRECT proxysettting default share to system 2020-04-26 17:34:41 +08:00
Qiu Jian
fe213d8bf7 fix: proxysetting attributes should be domain-settable 2020-04-26 17:34:41 +08:00
Zexi Li
8e57a5af9c Merge pull request #6025 from swordqiu/automated-cherry-pick-of-#6006-upstream-release-3.2
Automated cherry pick of #6006: fix: resolve parameter name conflict in google cloud account create input
2020-04-26 16:36:16 +08:00
Qu Xuan
bbeda23bf9 fix: json unmarshal 2020-04-26 15:51:51 +08:00
zhaoxiangchun
383517c0df lb 负载均衡优化建议
通过判断是否包含后端服务器组和后端服务实例进行判断
2020-04-26 11:43:27 +08:00
Qiu Jian
f835b55e4f fix: resolve parameter name conflict in google cloud account create input 2020-04-26 11:43:01 +08:00
Qiu Jian
87b0e7f48a fix: opslog FetchOwnerId fail 2020-04-26 11:37:04 +08:00
Qiu Jian
ca13731a58 fix: network allocation according to sharing status 2020-04-26 00:37:38 +08:00
yunion-ci-robot
d9ec66362e Merge pull request #6015 from zexi/automated-cherry-pick-of-#6014-upstream-release-3.2
Automated cherry pick of #6014: scheduler: fix network predicate get wrong free port
2020-04-26 00:32:31 +08:00
Zexi Li
02ec462b5d scheduler: fix network predicate get wrong free port 2020-04-25 23:24:15 +08:00
Qiu Jian
92d1d1f3a8 fix: GetOnPremiseNetworkOfIP should return underlay networks 2020-04-25 16:31:29 +08:00
Zexi Li
822838035b Merge pull request #6005 from swordqiu/automated-cherry-pick-of-#6004-upstream-release-3.2
Automated cherry pick of #6004: fix: dns name pattern revisited
2020-04-25 10:44:45 +08:00
Qiu Jian
fa820b8740 fix: dns name pattern revisited 2020-04-24 21:55:43 +08:00
yunion-ci-robot
c573880cc7 Merge pull request #5912 from yousong/automated-cherry-pick-of-#5911-upstream-release-3.2
Automated cherry pick of #5911: apis: add ovn distgw const definitions
2020-04-24 21:08:30 +08:00
Zexi Li
6c0f61becd Merge pull request #6003 from swordqiu/automated-cherry-pick-of-#6002-upstream-release-3.2
Automated cherry pick of #6002: fix: code autogen issues
2020-04-24 20:33:22 +08:00
Zexi Li
44e8a0843a Merge pull request #6000 from rainzm/automated-cherry-pick-of-#5978-upstream-release-3.2
Automated cherry pick of #5978: fix/autoscaling: Use UserCred's session but AdminSession to request monitor
2020-04-24 20:30:26 +08:00
Qiu Jian
cbf1818e5c fix: code autogen issues 2020-04-24 20:20:48 +08:00
Rain
87506a8140 fix/autoscaling: Add 'scaling_group_id' for server-list result 2020-04-24 19:39:11 +08:00
Rain
e01292274d 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:39:11 +08:00
Rain
e6e95f31a7 fix/autoscaling: Change ScalingPolicy as VirtualResource 2020-04-24 19:39:11 +08:00
Rain
b28c1a0b63 fix/autoscaling: Use UserCred's session but AdminSession to request monitor 2020-04-24 19:39:11 +08:00
Yousong Zhou
96dcd83996 hostman: let sdnagent do port cleanup
ovsutils.CleanHiddenPorts() is buggy in that it has no regards for
patch ports
2020-04-24 18:32:40 +08:00
Yousong Zhou
8eb6c01ecd hostman: options: add ovn_mapped_bridge 2020-04-24 18:32:40 +08:00
Yousong Zhou
2588613598 hostman: options: add allow_xx_vms 2020-04-24 18:32:40 +08:00
Yousong Zhou
417cc017d9 vpcagent: ovn: use network.GuestDns when available 2020-04-24 18:32:40 +08:00
Yousong Zhou
96b58d0455 vpcagent: ovn: manage static routes 2020-04-24 18:32:40 +08:00
Yousong Zhou
5185e93413 vpcagent: ovn: guestnetwork: guard against empty dhcpopt 2020-04-24 18:32:40 +08:00
Yousong Zhou
8cad301846 vpcagent: ovn: rename subnet, guestnetwork ovn obj names 2020-04-24 18:32:40 +08:00
Yousong Zhou
4cb1fbbd8f vpcagent: ovn: use cmp() when claimVpc 2020-04-24 18:32:40 +08:00
Yousong Zhou
08ef2c5cf6 vpcagent: ovn: use cmp() 2020-04-24 18:32:40 +08:00
Yousong Zhou
09d6446d05 vpcagent: add cmp() for search and pre-cleanup 2020-04-24 18:32:40 +08:00
Yousong Zhou
12a79243e0 vpcagent: ovn: make host ls when claimVpc 2020-04-24 18:32:40 +08:00
Yousong Zhou
f9a4085a8f vpcagent: models: include guest, host 2020-04-24 18:32:40 +08:00
Yousong Zhou
6fcfd5a755 guests: always include host_id in desc 2020-04-24 18:32:40 +08:00
Yousong Zhou
012bdbce48 guestnetworks: add vpc id and mapped ip addr info to nic desc 2020-04-24 18:32:40 +08:00
Yousong Zhou
b772f95dbf guestnetworks,hosts: add alloc mapped ip addr for use in onecloud vpc 2020-04-24 18:32:40 +08:00
Yousong Zhou
38ccf7e056 apis: add ovn distgw const definitions 2020-04-24 18:32:40 +08:00
Zexi Li
da5e1e3bfe Merge pull request #5991 from ioito/automated-cherry-pick-of-#5918-upstream-release-3.2
Automated cherry pick of #5918: fix: 修复华为云eneterprise-project-list异常问题
2020-04-24 18:18:08 +08:00
Zexi Li
faf92ef201 Merge pull request #5996 from yousong/automated-cherry-pick-of-#5995-upstream-release-3.2
Automated cherry pick of #5995: lblistener: fix updating lblistener without backend_group field
2020-04-24 18:17:18 +08:00
Zexi Li
91fbb50060 Merge pull request #5994 from yousong/automated-cherry-pick-of-#5993-upstream-release-3.2
Automated cherry pick of #5993: cloudcommon: allow create:"domain" tag
2020-04-24 14:45:51 +08:00
Yousong Zhou
ba1a51c771 lblistener: fix updating lblistener without backend_group field
Fixes dd01610931 ("lblistener: allow setting http/https listener
backendgroup to empty")
2020-04-24 14:22:43 +08:00
Yousong Zhou
26b74b0873 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:20:13 +08:00
Qu Xuan
cbd3480309 fix: 修复华为云eneterprise-project-list异常问题 2020-04-24 14:11:25 +08:00
Zexi Li
9176aa3169 Merge pull request #5986 from ioito/automated-cherry-pick-of-#5985-upstream-release-3.2
Automated cherry pick of #5985: fix: 避免rds任务交叉运行
2020-04-24 14:11:02 +08:00
Zexi Li
bb571f40f6 Merge pull request #5987 from ioito/automated-cherry-pick-of-#5881-upstream-release-3.2
Automated cherry pick of #5881: fix: 阿里云资源组同步
2020-04-24 14:10:09 +08:00
Zexi Li
89507e2576 Merge pull request #5989 from ioito/automated-cherry-pick-of-#5903-upstream-release-3.2
Automated cherry pick of #5903: fix: esxi disk project sync
2020-04-24 14:09:47 +08:00
Qu Xuan
5411324d3b fix: esxi disk project sync 2020-04-24 11:34:46 +08:00
Qu Xuan
9e22edbc08 VMware resource pool同步 2020-04-24 11:32:05 +08:00
Qu Xuan
99353d2676 fix: 华为企业项目映射同步 2020-04-24 11:32:05 +08:00
Qu Xuan
8735d4c737 fix: 阿里云资源组同步 2020-04-24 11:32:05 +08:00
Qu Xuan
8c01ba2165 fix: 避免rds任务交叉运行 2020-04-24 11:29:13 +08:00
Zexi Li
afbd1359f2 Merge pull request #5983 from swordqiu/automated-cherry-pick-of-#5982-upstream-release-3.2
Automated cherry pick of #5982: fix: domain resources' field tags should changed to domain tags
2020-04-24 11:15:16 +08:00
Zexi Li
de3e335774 Merge pull request #5972 from swordqiu/automated-cherry-pick-of-#5960-upstream-release-3.2
Automated cherry pick of #5960: fix: opslog create fail
2020-04-24 01:37:38 +08:00
Zexi Li
6ad425e395 Merge pull request #5976 from ioito/automated-cherry-pick-of-#5975-upstream-release-3.2
Automated cherry pick of #5975: fix: 添加cloudevent过滤参数
2020-04-24 01:36:19 +08:00
Zexi Li
b46bf918be Merge pull request #5980 from ioito/automated-cherry-pick-of-#5979-upstream-release-3.2
Automated cherry pick of #5979: fix: cloudevent使用代理优化
2020-04-24 01:35:24 +08:00
Qiu Jian
01a2195c20 fix: domain resources' field tags should changed to domain tags 2020-04-23 22:13:47 +08:00
yunion-ci-robot
87995e2533 Merge pull request #5974 from tb365/automated-cherry-pick-of-#5973-upstream-release-3.2
Automated cherry pick of #5973: aliyun create elb listener fix
2020-04-23 20:24:52 +08:00
Qu Xuan
3363f091b0 fix: cloudevent使用代理优化 2020-04-23 17:53:44 +08:00
Qu Xuan
d071aa1408 fix: 添加cloudevent过滤参数 2020-04-23 17:13:02 +08:00
tangbin
ee392ac8f3 aliyun create elb listener fix 2020-04-23 16:35:08 +08:00
yunion-ci-robot
ab151f0f29 Merge pull request #5938 from ioito/automated-cherry-pick-of-#5915-upstream-release-3.2
Automated cherry pick of #5915: fix: 自动创建项目
2020-04-23 13:40:53 +08:00
Qiu Jian
96ac8267ab fix: opslog create fail 2020-04-23 11:17:51 +08:00
Zexi Li
b65dc463bc Merge pull request #5970 from swordqiu/automated-cherry-pick-of-#5966-upstream-release-3.2
Automated cherry pick of #5966: supermicro redfish support
2020-04-23 09:56:43 +08:00
Qiu Jian
6059e14fe1 supermicro redfish support 2020-04-23 09:32:37 +08:00
Zexi Li
1abed1f794 Merge pull request #5929 from yousong/automated-cherry-pick-of-#5928-upstream-release-3.2
Automated cherry pick of #5928: lbagent: fend off unexpected resources just in case
2020-04-23 00:07:05 +08:00
Zexi Li
3775608d93 Merge pull request #5959 from wanyaoqi/automated-cherry-pick-of-#5958-upstream-release-3.2
Automated cherry pick of #5958: fix check ca cert
2020-04-23 00:05:50 +08:00
Zexi Li
dfa1f7c0bc Merge pull request #5946 from rainzm/automated-cherry-pick-of-#5944-upstream-release-3.2
Automated cherry pick of #5944: fix(region): Add implements about owner for ScalingPolicy and ScalingActivity
2020-04-23 00:04:23 +08:00
Zexi Li
05e88b971a Merge pull request #5962 from swordqiu/automated-cherry-pick-of-#5961-upstream-release-3.2
Automated cherry pick of #5961: fix: clean pending usage caused by pre-validate-create-data
2020-04-23 00:03:06 +08:00
Zexi Li
e2499d23b8 Merge pull request #5925 from swordqiu/automated-cherry-pick-of-#5921-upstream-release-3.2
Automated cherry pick of #5921: fix: FindAnonymousStructPoint needs input as a pointer to struct
2020-04-23 00:02:33 +08:00
Zexi Li
f867795011 Merge pull request #5920 from ioito/automated-cherry-pick-of-#5919-upstream-release-3.2
Automated cherry pick of #5919: fix: 非私有云同步region name
2020-04-22 23:59:36 +08:00
Zexi Li
1e0594c3d5 Merge pull request #5957 from wanyaoqi/automated-cherry-pick-of-#5956-upstream-release-3.2
Automated cherry pick of #5956: support sync disk snapshot status
2020-04-22 23:58:35 +08:00
Zexi Li
6426b8a031 Merge pull request #5933 from ioito/automated-cherry-pick-of-#5931-upstream-release-3.2
Automated cherry pick of #5931: fix: 转换非标准存储类型到lrs
2020-04-22 23:57:25 +08:00
Zexi Li
28937f42e8 Merge pull request #5947 from tb365/automated-cherry-pick-of-#5945-upstream-release-3.2
Automated cherry pick of #5945: huawei elb sync vpc
2020-04-22 23:55:33 +08:00
Zexi Li
124edf9790 Merge pull request #5955 from zexi/automated-cherry-pick-of-#5951-upstream-release-3.2
Automated cherry pick of #5951: baremetal: ensure power up add retries
2020-04-22 23:51:28 +08:00
Qiu Jian
f145b360d6 fix: clean pending usage caused by pre-validate-create-data 2020-04-22 23:40:28 +08:00
yunion-ci-robot
ca7be6fa79 Merge pull request #5942 from tb365/automated-cherry-pick-of-#5927-upstream-release-3.2
Automated cherry pick of #5927: remove aws invalid backendgroup
2020-04-22 23:05:06 +08:00
wanyaoqi
4cf299b0fd fix check ca cert 2020-04-22 22:07:32 +08:00
yunion-ci-robot
6af24165fe Merge pull request #5883 from wanyaoqi/automated-cherry-pick-of-#5879-upstream-release-3.2
Automated cherry pick of #5879: keystone store service cert
2020-04-22 22:06:51 +08:00
wanyaoqi
034b546b16 support sync disk snapshot status 2020-04-22 20:53:47 +08:00
Zexi Li
3b01b23f79 baremetal: ensure power up add retries 2020-04-22 20:41:47 +08:00
tangbin
9f83fefc11 huawei elb sync vpc 2020-04-22 20:30:17 +08:00
Rain
fb1a399f09 fix(region): Add implements about owner for ScalingPolicy and ScalingActivity 2020-04-22 20:28:31 +08:00
Qiu Jian
7bc617fdcd fix: lb FetchCustomizedColumes fixes 2020-04-22 20:20:50 +08:00
Qiu Jian
dc69693c3d fix: is_managed filter is not accurate 2020-04-22 20:20:50 +08:00
Qiu Jian
70804c5cde fix: FindAnonymousStructPoint needs input as a pointer to struct 2020-04-22 20:20:50 +08:00
tangbin
5a2e7ef414 remove aws invalid backendgroup 2020-04-22 19:01:59 +08:00
Qu Xuan
e908f8114d fix: 自动创建项目 2020-04-22 18:56:36 +08:00
Qu Xuan
7dee2a1569 fix: 转换非标准存储类型到lrs 2020-04-22 18:54:05 +08:00
Yousong Zhou
b5183ca9ab 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:50:30 +08:00
Qu Xuan
12df8c099f fix: 非私有云同步region name 2020-04-22 17:59:40 +08:00
Zexi Li
af2abeec78 Merge pull request #5917 from rainzm/automated-cherry-pick-of-#5916-upstream-release-3.2
Automated cherry pick of #5916: fix(host): No tag when tag's value is empty
2020-04-22 17:41:12 +08:00
Zexi Li
7ad3c66a84 Merge pull request #5914 from rainzm/automated-cherry-pick-of-#5913-upstream-release-3.2
Automated cherry pick of #5913: fix(region): Fix problems for Auto Scaling
2020-04-22 17:38:22 +08:00
Rain
05c42c1081 fix(host): No tag when tag's value is empty 2020-04-22 16:48:53 +08:00
wanyaoqi
bffb8eec65 keystone store service cert 2020-04-22 16:37:02 +08:00
Rain
0bf450a384 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:32:01 +08:00
Zexi Li
20d36f97ef Merge pull request #5901 from ioito/automated-cherry-pick-of-#5900-upstream-release-3.2
Automated cherry pick of #5900: fix: 尽量避免因代理问题导致google request异常
2020-04-22 15:12:14 +08:00
Zexi Li
cf158ea2db Merge pull request #5905 from swordqiu/automated-cherry-pick-of-#5904-upstream-release-3.2
Automated cherry pick of #5904: fix: do not share porject resource by default
2020-04-22 15:10:06 +08:00
Zexi Li
f7a4164243 Merge pull request #5907 from swordqiu/automated-cherry-pick-of-#5906-upstream-release-3.2
Automated cherry pick of #5906: fix: blacklist keystone reset admin password
2020-04-22 15:06:53 +08:00
Qiu Jian
41eb37d64e fix: blacklist keystone reset admin password 2020-04-22 15:02:21 +08:00
Qiu Jian
9ee568b7b8 fix: do not share porject resource by default 2020-04-22 11:52:27 +08:00
Qu Xuan
b0b58648a6 fix: 尽量避免因代理问题导致google request异常 2020-04-22 10:48:26 +08:00
Zexi Li
04879cbc2f Merge pull request #5894 from swordqiu/automated-cherry-pick-of-#5890-upstream-release-3.2
Automated cherry pick of #5890: fix: policy details should carry updated_at and created_at fields
2020-04-22 10:39:32 +08:00
Zexi Li
058dd98a6c Merge pull request #5899 from swordqiu/automated-cherry-pick-of-#5895-upstream-release-3.2
Automated cherry pick of #5895: fix: delete idp also delete users/groups in target domain
2020-04-22 10:34:13 +08:00
Zexi Li
d3caf76dd1 Merge pull request #5885 from ioito/automated-cherry-pick-of-#5884-upstream-release-3.2
Automated cherry pick of #5884: fix: 仅当变更domainId时才需要更新projectId
2020-04-22 10:32:33 +08:00
Qiu Jian
895f161417 fix: delete idp also delete users/groups in target domain 2020-04-22 10:17:58 +08:00
Qiu Jian
f0ab47058f fix: policy details should carry updated_at and created_at fields 2020-04-21 22:44:07 +08:00
Qu Xuan
db8783a51b fix: 仅当变更domainId时才需要更新projectId 2020-04-21 21:14:12 +08:00
Zexi Li
fd67654377 Merge pull request #5876 from swordqiu/automated-cherry-pick-of-#5875-upstream-release-3.2
Automated cherry pick of #5875: fix: list item export recode
2020-04-21 13:03:57 +08:00
Qiu Jian
0edfe50985 fix: list item export recode 2020-04-21 11:46:47 +08:00
Zexi Li
ec78017902 Merge pull request #5874 from swordqiu/automated-cherry-pick-of-#5873-upstream-release-3.2
Automated cherry pick of #5873: fix: cloudaccount is created as system shared by default
2020-04-21 10:27:51 +08:00
Zexi Li
aa01f99ec2 Merge pull request #5878 from swordqiu/automated-cherry-pick-of-#5877-upstream-release-3.2
Automated cherry pick of #5877: fix: adjust scope of isolated_device and reservedips
2020-04-21 10:25:00 +08:00
Qiu Jian
0427445167 fix: adjust scope of isolated_device and reservedips 2020-04-21 00:37:27 +08:00
Qiu Jian
2f6798036f fix: cloudaccount is created as system shared by default 2020-04-20 22:48:50 +08:00
Zexi Li
59b209bec3 Merge pull request #5857 from ioito/automated-cherry-pick-of-#5856-upstream-release-3.2
Automated cherry pick of #5856: fix: show sql connection error
2020-04-20 20:55:32 +08:00
Zexi Li
972cbb15c7 Merge pull request #5855 from rainzm/automated-cherry-pick-of-#5854-upstream-release-3.2
Automated cherry pick of #5854: fix(region): Add CustomizeListFilter for snapshotpolicy
2020-04-20 20:54:41 +08:00
Zexi Li
fae2a304d5 Merge pull request #5871 from rainzm/automated-cherry-pick-of-#5870-upstream-release-3.2
Automated cherry pick of #5870: fix(region): Fix problems for Auto Scaling
2020-04-20 20:53:39 +08:00
Zexi Li
0c2dfa3027 Merge pull request #5864 from zhaoxiangchun/automated-cherry-pick-of-#5863-upstream-release-3.2
Automated cherry pick of #5863: 优化邮件格式
2020-04-20 20:53:07 +08:00
Zexi Li
5272cd132f Merge pull request #5869 from tb365/automated-cherry-pick-of-#5865-upstream-release-3.2
Automated cherry pick of #5865: lblis & lbbg & lbr & lbb create add fetch owner id
2020-04-20 20:51:28 +08:00
zhaoxiangchun
bcce808981 优化邮件格式
1.邮件主题中的报警级别和web页面进行对应
2.向onecloud发送邮件时,通过html/template进行格式化
2020-04-20 20:35:30 +08:00
Rain
bccb6d10eb fix(region): Fix problems for Auto Scaling
1. 支持 scaling group 根据 enable 过滤
2. 周期策略返回开始时间
3. scaling controller 在创建机器之前先调用 scheduler 的 forcast 接口
4. 修复健康状态检查的一个问题
2020-04-20 19:42:51 +08:00
tangbin
c59c4e314a lblis & lbbg & lbr & lbb create add fetch owner id 2020-04-20 19:31:42 +08:00
Rain
6506002703 fix(region): Add CustomizeListFilter for snapshotpolicy 2020-04-20 17:34:25 +08:00
Qu Xuan
58e2d71f15 fix: show sql connection error 2020-04-20 16:49:32 +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
6416 changed files with 939913 additions and 272781 deletions

View File

@@ -1,29 +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.12.6.linux-amd64.tar.gz \
&& tar xzf go1.12.6.linux-amd64.tar.gz \
&& rm -vf go1.12.6.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
ENV GOPATH="/home/build/go"
ENV PATH="${GOPATH}/bin:${PATH}"

View File

@@ -3,43 +3,81 @@
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2
jobs:
build:
check:
docker:
- image: yunionio/onecloud-ci:v1.0.2
- image: yunionio/centos-build:1.0-1
environment:
ONECLOUD_CI_BUILD: "1"
working_directory: /root/go/onecloud
steps:
- checkout
- run:
command: |
make check
build:
requires:
- check
docker:
- image: yunionio/centos-build:1.0-1
environment:
ONECLOUD_CI_BUILD: "1"
#### TEMPLATE_NOTE: go expects specific checkout path representing url
#### 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:
- /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
ls -lh _output/bin/
- save_cache:
key: onecloud-build-cache-{{ checksum "go.mod" }}-{{ checksum "Makefile" }}
paths:
- /root/.cache/go-build
- store_artifacts:
path: _output/
test:
requires:
- check
docker:
- image: yunionio/onecloud-ci:v1.0.2
working_directory: /home/build/go/src/yunion.io/x/onecloud
- image: yunionio/centos-build:1.0-1
environment:
GO111MODULE: "on"
working_directory: /root/go/onecloud
steps:
- checkout
- restore_cache:
key: onecloud-test-cache-{{ checksum "go.mod" }}-{{ checksum "Makefile" }}
paths:
- /root/.cache/go-build
- run:
name: unit_test
command: make test
- run:
name: generate_code_coverage
command: ./scripts/coverage.sh --codecov
command: |
./scripts/coverage.sh --codecov
- save_cache:
key: onecloud-test-cache-{{ checksum "go.mod" }}-{{ checksum "Makefile" }}
paths:
- /root/.cache/go-build
workflows:
version: 2
build_and_test:
jobs:
- build
- test
- check
- build:
requires:
- check
- test:
requires:
- check

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
-->

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

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

2
.gitignore vendored
View File

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

View File

@@ -1,22 +1,29 @@
# This is how to tell Travis to use the fast container-based test
# runner instead of the slow VM-based one.
sudo: false
dist: xenial
dist: bionic
services:
- docker
addons:
apt:
sources:
- sourceline: "deb https://download.ceph.com/debian-luminous/ bionic main"
key_url: "https://download.ceph.com/keys/release.asc"
packages:
- build-essential
- libcephfs-dev
- librbd-dev
- librados-dev
language: go
go_import_path: yunion.io/x/onecloud
go:
- "1.12.x"
- 1.12.x
go_import_path: yunion.io/x/onecloud
cache:
directories:
- $HOME/.cache/go-build
# Only clone the most recent commit.
git:
depth: 1
depth: 8
script:
- make docker_build
- make -j$(nproc) ONECLOUD_CI_BUILD=1
- ls -lh _output/bin

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

220
Makefile
View File

@@ -7,11 +7,19 @@ BUILD_DIR := $(ROOT_DIR)/_output
BIN_DIR := $(BUILD_DIR)/bin
BUILD_SCRIPT := $(ROOT_DIR)/build/build.sh
GIT_COMMIT := $(shell git rev-parse --short HEAD)
GIT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
GIT_VERSION := $(shell git describe --tags --abbrev=14 $(GIT_COMMIT)^{commit})
GIT_TREE_STATE := $(shell s=`git status --porcelain 2>/dev/null`; if [ -z "$$s" ]; then echo "clean"; else echo "dirty"; fi)
BUILD_DATE := $(shell date -u +'%Y-%m-%dT%H:%M:%SZ')
ifeq ($(ONECLOUD_CI_BUILD),)
GIT_COMMIT := $(shell git rev-parse --short HEAD)
GIT_BRANCH := $(shell git name-rev --name-only HEAD)
GIT_VERSION := $(shell git describe --always --tags --abbrev=14 $(GIT_COMMIT)^{commit})
GIT_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
GIT_COMMIT:=x
GIT_BRANCH:=x
GIT_VERSION:=x
BUILD_TREE_STATE:=clean
BUILD_DATE=2099-07-01T07:11:09Z
endif
LDFLAGS := "-w \
-X $(VERSION_PKG).gitVersion=$(GIT_VERSION) \
@@ -24,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
@@ -36,14 +47,24 @@ 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}
UNAME := $(shell uname)
ifeq ($(UNAME), Linux)
XARGS_FLAGS = --no-run-if-empty
endif
cmdTargets:=$(filter-out cmd/host-image,$(wildcard cmd/*))
rpmTargets:=$(foreach b,$(patsubst cmd/%,%,$(cmdTargets)),$(if $(shell [ -f "$(CURDIR)/build/$(b)/vars" ] && echo 1),rpm/$(b)))
all: build
@@ -54,14 +75,8 @@ install: prepare_dir
done
build: gendoc
$(MAKE) $(filter-out cmd/host-image, $(wildcard cmd/*))
gendoc:
@sh build/gendoc.sh
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')
@@ -69,18 +84,23 @@ test:
vet:
go vet ./...
cmd/%: prepare_dir fmt
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)/$@
rpm/%: cmd/%
$(BUILD_SCRIPT) $*
pkg/%: prepare_dir fmt
pkg/%: prepare_dir
$(GO_INSTALL) $(REPO_PREFIX)/$@
build:
$(MAKE) $(cmdTargets)
# a hack
rpm:
$(MAKE) $(patsubst %,cmd/%,$(filter-out $@,$(MAKECMDGOALS)))
$(foreach cmd,$(filter-out $@,$(MAKECMDGOALS)),$(BUILD_SCRIPT) $(cmd);)
$(MAKE) $(rpmTargets)
rpmclean:
rm -fr $(BUILD_DIR)/rpms
@@ -96,7 +116,7 @@ output_dir:
@mkdir -p $(BUILD_DIR)
.PHONY: all build prepare_dir clean fmt rpm
.PHONY: all build prepare_dir clean rpm
clean:
@@ -104,8 +124,50 @@ clean:
fmt:
@find . -type f -name "*.go" -not -path "./_output/*" \
-not -path "./vendor/*" | xargs gofmt -s -w
@git ls-files --exclude '*' '*.go' \
| grep -v '^vendor/' \
| xargs $(XARGS_FLAGS) gofmt -w
fmt-check: fmt
@if git status --short | grep -E '^.M .*/[^.]+.go'; then \
git diff | cat; \
echo "$@: working tree modified (possibly by gofmt)" >&2 ; \
false ; \
fi
.PHONY: fmt fmt-check
gendocgo:
@sh build/gendoc.sh
adddocgo:
@git ls-files --others '*/doc.go' | xargs $(XARGS_FLAGS) -- git add
gendocgo-check: gendocgo
@n="$$(git ls-files --others '*/doc.go' | wc -l)"; \
if test "$$n" -gt 0; then \
git ls-files --others '*/doc.go' | sed -e 's/^/ /'; \
echo "$@: untracked doc.go file(s) exist in working directory" >&2 ; \
false ; \
fi
.PHONY: gendocgo adddocgo gendocgo-check
goimports-check:
@goimports -w -local "yunion.io/x/:yunion.io/x/onecloud" pkg cmd; \
if git status --short | grep -E '^.M .*/[^.]+.go'; then \
git diff | cat; \
echo "$@: working tree modified (possibly by goimports)" >&2 ; \
echo "$@: " >&2 ; \
echo "$@: import spec should be grouped in order: std, 3rd-party, yunion.io/x, yunion.io/x/onecloud" >&2 ; \
echo "$@: see \"yun\" branch at https://github.com/yousong/tools" >&2 ; \
false ; \
fi
.PHONY: goimports-check
check: fmt-check
check: gendocgo-check
check: goimports-check
.PHONY: check
define depDeprecated
OneCloud now requires using go-mod for dependency management. dep target,
@@ -126,51 +188,82 @@ dep:
@$(MAKE) mod
mod:
go get $(patsubst %,%@master,$(shell GO111MODULE=on go mod edit -print | sed -n -r -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?=1.0-1
DOCKER_BUILD_IMAGE_VERSION?=latest
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
@@ -180,3 +273,42 @@ endef
help: export helpText:=$(helpText)
help:
@echo "$$helpText"
.PHONY: help
gen-model-api-check:
which model-api-gen || (GO111MODULE=off go get -u yunion.io/x/code-generator/cmd/model-api-gen)
gen-model-api: gen-model-api-check
$(ROOT_DIR)/scripts/codegen.py model-api
gen-swagger-check:
which swagger || (GO111MODULE=off go get -u github.com/go-swagger/go-swagger/cmd/swagger)
which swagger-gen || (GO111MODULE=off go get -u yunion.io/x/code-generator/cmd/swagger-gen)
which swagger-serve || (GO111MODULE=off go get -u yunion.io/x/code-generator/cmd/swagger-serve)
gen-swagger: gen-swagger-check
$(ROOT_DIR)/scripts/codegen.py swagger-code
$(ROOT_DIR)/scripts/codegen.py swagger-yaml
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

@@ -4,7 +4,52 @@
[![Build Status](https://travis-ci.com/yunionio/onecloud.svg?branch=master)](https://travis-ci.org/yunionio/onecloud)
[![Go Report Card](https://goreportcard.com/badge/github.com/yunionio/onecloud)](https://goreportcard.com/report/github.com/yunionio/onecloud)
# 文档
### [README in Chinese](./README-CN.md)
- 文档中心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/api/)
## Architecture
![architecture](./docs/architecture.png)
## Contribution
You are welcome to contribute to the project. Please refer to [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines.
## License
Apache License 2.0. See [LICENSE](./LICENSE) 。

View File

@@ -1 +1,6 @@
DESCRIPTION="Baremetal Agent Command Line Utility"
DESCRIPTION="Baremetal Agent Command Line Utility"
REQUIRES=(
ipmitool
mkisofs
)

View File

@@ -134,7 +134,11 @@ fi
rpmbuild --define "_topdir $BUILDROOT" -bb $SPEC_FILE
mkdir -p $OUTPUT_DIR
cp -fr $RPM_DIR/* $OUTPUT_DIR/
find $RPM_DIR -type f | while read f; do
d="$(dirname "$f")"
d="$OUTPUT_DIR/${d#$RPM_DIR}"
mkdir -p "$d"
cp $f $d
done
rm -fr $BUILDROOT

View File

@@ -3,6 +3,4 @@ roles:
- domain_admin
scope: domain
policy:
*:
*:
*: allow
'*': allow

View File

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

View File

@@ -3,6 +3,4 @@ roles:
- project_owner
scope: project
policy:
*:
*:
*: allow
'*': allow

View File

@@ -5,4 +5,4 @@ roles:
- admin
scope: system
policy:
*: allow
'*': allow

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/cloudevent/vars Normal file
View File

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

View File

@@ -0,0 +1,10 @@
region = 'Yunion'
address = '10.168.222.136'
port = 8891
auth_uri = 'http://10.168.222.136:35357/v3'
admin_user = 'cloudnetadmin'
admin_password = 'xxxxxxxxxxxxxxxx'
admin_tenant_name = 'system'
sql_connection = 'mysql+pymysql://yunionansible:9YuQL9KEZn1mppaK@localhost:3306/yunionansible?charset=utf8'
auto_sync_table = True

1
build/cloudnet/vars Normal file
View File

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

1
build/devtool/vars Normal file
View File

@@ -0,0 +1 @@
DESCRIPTION="Yunion DevTools Server"

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

View File

@@ -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/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.1.0
MAINTAINER "Yaoqi Wan wanyaoqi@yunionyun.com"
ENV TZ Asia/Shanghai
RUN apk add librados librbd
RUN mkdir -p /opt/yunion/bin
ADD ./_output/alpine-build/bin/host /opt/yunion/bin/host

View File

@@ -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.9.6-1
MAINTAINER "Yousong Zhou <zhouyousong@yunion.cn>"
RUN mkdir -p /opt/yunion/bin
ADD ./_output/alpine-build/bin/vpcagent /opt/yunion/bin/vpcagent

View File

@@ -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 Deploy Agent
Documentation=https://docs.yunion.cn
After=network.target httpd.service
[Service]
Type=simple
User=root
Group=root
ExecStart=/opt/yunion/bin/host-deployer --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-deployer/vars Normal file
View File

@@ -0,0 +1,2 @@
DESCRIPTION="Yunion Host Deploy Agent"
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"

View File

@@ -0,0 +1,21 @@
[Unit]
Description=Yunion Cloud Host Agent server
Documentation=https://docs.yunion.cn
After=network-online.target
Wants=network-online.target
After=network.target yunion-host-deployer.service
[Service]
Type=simple
User=root
Group=root
ExecStart=/opt/yunion/bin/host --config /etc/yunion/host.conf
WorkingDirectory=/opt/yunion/bin
KillMode=process
Restart=always
RestartSec=30
LimitNOFILE=500000
LimitNPROC=500000
[Install]
WantedBy=multi-user.target

View File

@@ -1 +1,2 @@
DESCRIPTION="Yunion Host Command Line Utility"
DESCRIPTION="Yunion Host Command Line Utility"
SERVICE="yes"

1
build/ldapcli/vars Normal file
View File

@@ -0,0 +1 @@
DESCRIPTION="LDAP Command Line Utility"

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

2
build/notify/vars Normal file
View File

@@ -0,0 +1,2 @@
DESCRIPTION="Yunion Cloud noitfy Service"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1 +1 @@
{{ .hypervisor }}主机{{ .Name }}创建成功
{{ .brand }}主机{{ .Name }}创建成功

View File

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

View File

@@ -1 +1 @@
{{ .hypervisor }}主机{{ .name }}删除通知
{{ .brand }}主机{{ .name }}删除通知

View File

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

View File

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

View File

@@ -1 +1 @@
{{ .hypervisor }}主机{{ .name }}重装系统成功
{{ .brand }}主机{{ .name }}重装系统成功

1
build/s3cli/vars Normal file
View File

@@ -0,0 +1 @@
DESCRIPTION="S3 Cli Command Line Utility"

1
build/s3gateway/vars Normal file
View File

@@ -0,0 +1 @@
DESCRIPTION="Yunion Cloud S3 Gateway Service"

1
build/zstackcli/vars Normal file
View File

@@ -0,0 +1 @@
DESCRIPTION="Zstack Command Line Utility"

View File

@@ -18,11 +18,10 @@ import (
"fmt"
"os"
"yunion.io/x/log"
"yunion.io/x/structarg"
"yunion.io/x/onecloud/pkg/util/aliyun"
_ "yunion.io/x/onecloud/pkg/util/aliyun/shell"
"yunion.io/x/onecloud/pkg/multicloud/aliyun"
_ "yunion.io/x/onecloud/pkg/multicloud/aliyun/shell"
"yunion.io/x/onecloud/pkg/util/shellutils"
)
@@ -71,7 +70,8 @@ func getSubcommandParser() (*structarg.ArgumentParser, error) {
}
func showErrorAndExit(e error) {
log.Errorf("%s", e)
fmt.Fprintf(os.Stderr, "%s", e)
fmt.Fprintln(os.Stderr)
os.Exit(1)
}
@@ -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
}

26
cmd/apigateway/main.go Normal file
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 main
import (
"yunion.io/x/onecloud/pkg/apigateway/service"
"yunion.io/x/onecloud/pkg/util/atexit"
)
func main() {
defer atexit.Handle()
service.StartService()
}

View File

@@ -18,16 +18,16 @@ import (
"fmt"
"os"
"yunion.io/x/log"
"yunion.io/x/structarg"
"yunion.io/x/onecloud/pkg/util/aws"
_ "yunion.io/x/onecloud/pkg/util/aws/shell"
"yunion.io/x/onecloud/pkg/multicloud/aws"
_ "yunion.io/x/onecloud/pkg/multicloud/aws/shell"
"yunion.io/x/onecloud/pkg/util/shellutils"
)
type BaseOptions struct {
Help bool `help:"Show help"`
Debug bool `help:"debug mode"`
AccessUrl string `help:"Access key" default:"$AWS_ACCESS_URL" choices:"ChinaCloud|InternationalCloud"`
AccessKey string `help:"Access key" default:"$AWS_ACCESS_KEY"`
Secret string `help:"Secret" default:"$AWS_SECRET"`
@@ -71,7 +71,8 @@ func getSubcommandParser() (*structarg.ArgumentParser, error) {
}
func showErrorAndExit(e error) {
log.Errorf("%s", e)
fmt.Fprintf(os.Stderr, "%s", e)
fmt.Fprintln(os.Stderr)
os.Exit(1)
}
@@ -84,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)
cli, err := aws.NewAwsClient(
aws.NewAwsClientConfig(
options.AccessUrl,
options.AccessKey,
options.Secret,
).Debug(options.Debug),
)
if err != nil {
return nil, err
}

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