Compare commits

...

3041 Commits

Author SHA1 Message Date
Zexi Li
70be65707a Merge pull request #6626 from ioito/automated-cherry-pick-of-#6619-upstream-release-2.12
Automated cherry pick of #6619: fix: 避免azure卸载磁盘失败
2020-05-27 17:52:28 +08:00
Qu Xuan
e67ded4478 fix: 避免azure卸载磁盘失败 2020-05-27 15:58:23 +08:00
Zexi Li
ef28c00820 Merge pull request #6563 from ioito/automated-cherry-pick-of-#6558-upstream-release-2.12
Automated cherry pick of #6558: fix: 避免openstack以镜像做系统盘创建失败
2020-05-22 22:45:57 +08:00
Qu Xuan
ea846d06b9 fix: 避免openstack以镜像做系统盘创建失败 2020-05-22 20:19:30 +08:00
Zexi Li
cbd7d4f652 Merge pull request #6343 from swordqiu/automated-cherry-pick-of-#6338-upstream-release-2.12
Automated cherry pick of #6338: fix: avoid using background context
2020-05-14 18:19:13 +08:00
Qiu Jian
90d90eac2d fix: avoid using background context 2020-05-14 17:07:05 +08:00
Zexi Li
95d196b465 Merge pull request #6313 from ioito/automated-cherry-pick-of-#6306-upstream-release-2.12
Automated cherry pick of #6306: fix: openstack 安全组规则同步
2020-05-13 12:42:11 +08:00
Qu Xuan
f6c16dd0b3 fix: openstack 安全组规则同步 2020-05-12 17:58:34 +08:00
Zexi Li
c7faaa18b8 Merge pull request #6100 from ioito/automated-cherry-pick-of-#6095-upstream-release-2.12
Automated cherry pick of #6095: fix: 普通用户可获取rds账号密码
2020-04-29 13:08:31 +08:00
yunion-ci-robot
20eedc000d Merge pull request #6108 from ioito/automated-cherry-pick-of-#6103-upstream-release-2.12
Automated cherry pick of #6103: fix: 修复openstack存储同步问题
2020-04-28 23:36:36 +08:00
Qu Xuan
95ff50e23b fix: 修复openstack存储同步问题 2020-04-28 14:49:11 +08:00
Qu Xuan
4f22331673 fix: 普通用户可获取rds账号密码 2020-04-28 10:45:47 +08:00
Zexi Li
03ca3febfe Merge pull request #6067 from rainzm/automated-cherry-pick-of-#6062-upstream-release-2.12
Automated cherry pick of #6062: fix/notify: Add deadline for rpc client
2020-04-27 12:48:20 +08:00
Rain
4aa53ae8fe fix/notify: Add deadline for rpc client 2020-04-27 10:45:54 +08:00
Zexi Li
a4cabafcfb Merge pull request #6033 from ioito/automated-cherry-pick-of-#6028-upstream-release-2.12
Automated cherry pick of #6028: fix: json unmarshal
2020-04-26 18:19:13 +08:00
Qu Xuan
25d4f102df fix: json unmarshal 2020-04-26 15:54:10 +08:00
Zexi Li
a5ce661648 Merge pull request #5926 from ioito/automated-cherry-pick-of-#5919-upstream-release-2.12
Automated cherry pick of #5919: fix: 非私有云同步region name
2020-04-23 00:04:43 +08:00
Zexi Li
9816ed5878 Merge pull request #5936 from ioito/automated-cherry-pick-of-#5931-upstream-release-2.12
Automated cherry pick of #5931: fix: 转换非标准存储类型到lrs
2020-04-22 23:57:51 +08:00
Qu Xuan
bcae0c1d81 fix: 转换非标准存储类型到lrs 2020-04-22 18:55:12 +08:00
Qu Xuan
0579fc4bb9 fix: 非私有云同步region name 2020-04-22 18:01:17 +08:00
Zexi Li
d2868a7af2 Merge pull request #5889 from ioito/automated-cherry-pick-of-#5884-upstream-release-2.12
Automated cherry pick of #5884: fix: 仅当变更domainId时才需要更新projectId
2020-04-22 10:32:50 +08:00
Qu Xuan
0055a08350 fix: 仅当变更domainId时才需要更新projectId 2020-04-21 21:15:45 +08:00
Zexi Li
10e902a837 Merge pull request #5829 from ioito/automated-cherry-pick-of-#5825-upstream-release-2.12
Automated cherry pick of #5825: fix: 尽量避免secgroup重名问题
2020-04-17 00:03:23 +08:00
Zexi Li
b704a0b067 Merge pull request #5809 from ioito/automated-cherry-pick-of-#5805-upstream-release-2.12
Automated cherry pick of #5805: fix: 优化rds sku list查询速度
2020-04-16 18:01:22 +08:00
Qu Xuan
29fd7507f1 fix: 尽量避免secgroup重名问题 2020-04-16 16:42:34 +08:00
Qu Xuan
7bbbccee47 fix: 优化rds sku list查询速度 2020-04-15 18:03:06 +08:00
yunion-ci-robot
b02f01c969 Merge pull request #5778 from ioito/automated-cherry-pick-of-#5774-upstream-release-2.12
Automated cherry pick of #5774: fix: azure重装系统删除不必要的参数
2020-04-12 00:33:44 +08:00
Qu Xuan
9aa90a3b06 fix: azure重装系统删除不必要的参数 2020-04-11 15:13:45 +08:00
Zexi Li
52f33b0420 Merge pull request #5690 from ioito/automated-cherry-pick-of-#5686-upstream-release-2.12
Automated cherry pick of #5686: fix: 修复重装系统时未能更换指定image问题
2020-04-03 19:43:41 +08:00
Zexi Li
023b8c6de0 Merge pull request #5675 from ioito/automated-cherry-pick-of-#5671-upstream-release-2.12
Automated cherry pick of #5671: fix: 华为云rds使用自身的存储类型
2020-04-03 19:41:58 +08:00
Qu Xuan
b3a603bcc8 fix: 修复重装系统时未能更换指定image问题 2020-04-03 11:36:52 +08:00
Qu Xuan
36e0ce4f87 fix: 华为云rds使用自身的存储类型 2020-04-02 17:30:56 +08:00
yunion-ci-robot
799bb49451 Merge pull request #5610 from swordqiu/automated-cherry-pick-of-#5608-upstream-release-2.12
Automated cherry pick of #5608: fix: allow list loadbalancer cluster by default
2020-03-28 09:47:41 +08:00
Qiu Jian
93f79bec1b fix: allow list loadbalancer cluster by default 2020-03-28 09:04:21 +08:00
Zexi Li
fe6b0e38e6 Merge pull request #5598 from ioito/automated-cherry-pick-of-#5596-upstream-release-2.12
Automated cherry pick of #5596: fix: 避免onecloud lb未返回provider及brand信息
2020-03-26 10:41:55 +08:00
Qu Xuan
eae3b06b96 fix: 避免onecloud lb未返回provider及brand信息 2020-03-25 18:28:37 +08:00
Zexi Li
d91086def8 Merge pull request #5559 from rainzm/automated-cherry-pick-of-#5555-upstream-release-2.12
Automated cherry pick of #5555: feat(notify): Compatibility and repair
2020-03-19 10:06:47 +08:00
yunion-ci-robot
2b94a9062d Merge pull request #5494 from ioito/automated-cherry-pick-of-#5490-upstream-release-2.12
Automated cherry pick of #5490: fix: class action 统一使用keywords包裹
2020-03-19 08:47:20 +08:00
Rain
e42dc01341 feat(notify): Compatibility and repair 2020-03-18 21:22:47 +08:00
Zexi Li
399844eef2 Merge pull request #5549 from swordqiu/automated-cherry-pick-of-#5545-upstream-release-2.12
Automated cherry pick of #5545: fix: policy fetcher not retry after initial failure
2020-03-18 10:52:58 +08:00
Qu Xuan
e440019097 fix: class action 统一使用keywords包裹 2020-03-17 18:45:15 +08:00
Qiu Jian
f3f13e18cb fix: policy fetcher not retry after initial failure 2020-03-17 18:31:58 +08:00
yunion-ci-robot
91ed14d40e Merge pull request #5533 from ioito/automated-cherry-pick-of-#5529-upstream-release-2.12
Automated cherry pick of #5529: fix: 避免重装系统失败后imageId依然发生改变
2020-03-17 08:20:15 +08:00
yunion-ci-robot
33ac4a6edf Merge pull request #5527 from ioito/automated-cherry-pick-of-#5452-upstream-release-2.12
Automated cherry pick of #5452: fix: 优化rds sku同步逻辑
2020-03-16 15:19:13 +08:00
Zexi Li
ab6260d8bc Merge pull request #5510 from swordqiu/automated-cherry-pick-of-#5506-upstream-release-2.12
Automated cherry pick of #5506: fix: recode cloudprovider usable filter
2020-03-16 13:00:08 +08:00
Zexi Li
bf2589d4fd Merge pull request #5523 from ioito/automated-cherry-pick-of-#5519-upstream-release-2.12
Automated cherry pick of #5519: fix: 避免未传递prority参数导致校验未通过
2020-03-16 12:56:25 +08:00
Qu Xuan
42138c82a9 fix: 避免重装系统失败后imageId依然发生改变 2020-03-16 11:31:08 +08:00
Qu Xuan
ce72c82bea fix: 优化rds sku同步逻辑 2020-03-16 10:43:04 +08:00
Qu Xuan
543f83c1c1 fix: 避免未传递prority参数导致校验未通过 2020-03-15 13:14:47 +08:00
yunion-ci-robot
d5d6ed39c6 Merge pull request #5512 from zexi/automated-cherry-pick-of-#5511-upstream-release-2.12
Automated cherry pick of #5511: scheduler: fix disk allocated not balanced
2020-03-14 17:51:05 +08:00
Zexi Li
7716881286 scheduler: fix disk allocated not balanced 2020-03-14 16:44:55 +08:00
Qiu Jian
cdcf3b6ebf fix: recode cloudprovider usable filter 2020-03-14 09:13:44 +08:00
yunion-ci-robot
017f8adf36 Merge pull request #5489 from wanyaoqi/automated-cherry-pick-of-#5484-upstream-release-2.12
Automated cherry pick of #5484: download handler set no timeout
2020-03-13 13:32:50 +08:00
wanyaoqi
70e859ad67 download handler set no timeout 2020-03-13 12:03:29 +08:00
Zexi Li
dca8d06739 Merge pull request #5468 from rainzm/feat/vendor_2.12
feat: Update Vendor for release/2.12
2020-03-12 12:07:38 +08:00
Rain
c5335acf5c feat: Update Vendor for release/2.12 2020-03-12 11:59:49 +08:00
Zexi Li
31abdc46a2 Merge pull request #5451 from zexi/automated-cherry-pick-of-#5447-upstream-release-2.12
Automated cherry pick of #5447: region: host update storage set enabled
2020-03-11 15:58:36 +08:00
Zexi Li
d779fc0528 region: host update storage set enabled 2020-03-11 15:59:51 +08:00
Zexi Li
16880022d6 Merge pull request #5423 from swordqiu/automated-cherry-pick-of-#5419-upstream-release-2.12
Automated cherry pick of #5419: fix: fail to find esxi admin vnic, use vnic with default IPv4 route
2020-03-10 14:45:50 +08:00
yunion-ci-robot
ae97d9fa90 Merge pull request #5425 from rainzm/automated-cherry-pick-of-#5424-upstream-release-2.12
Automated cherry pick of #5424: fix(esxi): Add two account with same account name
2020-03-10 11:03:59 +08:00
Rain
0b3d80e359 fix(esxi): Add two account with same account name 2020-03-09 17:56:23 +08:00
Qiu Jian
3a8aae5a55 fix: fail to find esxi admin vnic, use vnic with default IPv4 route 2020-03-09 16:07:41 +08:00
Zexi Li
950aae9895 Merge pull request #5418 from zexi/automated-cherry-pick-of-#5414-upstream-release-2.12
Automated cherry pick of #5414: opslog: notes use text column
2020-03-09 12:36:52 +08:00
Zexi Li
8d002a8e78 opslog: notes use text column 2020-03-09 12:32:10 +08:00
Zexi Li
94b5c8f6df Merge pull request #5407 from swordqiu/automated-cherry-pick-of-#5403-upstream-release-2.12
Automated cherry pick of #5403: fix: cloudprovider performEnable should also enable its cloudaccount
2020-03-09 12:30:45 +08:00
Qiu Jian
946d3232c7 fix: cloudprovider performEnable should also enable its cloudaccount 2020-03-08 18:31:55 +08:00
Zexi Li
e95c7165c4 Merge pull request #5396 from swordqiu/automated-cherry-pick-of-#5392-upstream-release-2.12
Automated cherry pick of #5392: fix: scoped resource should override FetchOwnerId
2020-03-07 15:51:30 +08:00
Qiu Jian
58d5bc0f89 fix: scoped resource should override FetchOwnerId 2020-03-07 15:47:46 +08:00
yunion-ci-robot
25e8ce027a Merge pull request #5386 from rainzm/automated-cherry-pick-of-#5378-upstream-release-2.12
Automated cherry pick of #5378: fix: Add 'scope=system' and 'system' for Caches when querying from Keystone.
2020-03-06 19:16:50 +08:00
Zexi Li
841c59e8c3 Merge pull request #5376 from swordqiu/automated-cherry-pick-of-#5372-upstream-release-2.12
Automated cherry pick of #5372: fix: no scope shcedtag should be visible to all
2020-03-06 18:32:43 +08:00
Rain
6869846840 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:18:24 +08:00
Qiu Jian
ee196529f6 fix: no scope shcedtag should be visible to all 2020-03-06 15:24:51 +08:00
Zexi Li
249db7d9d5 Merge pull request #5370 from rainzm/automated-cherry-pick-of-#5366-upstream-release-2.12
Automated cherry pick of #5366: fix/notify: Fix the resend mechanism
2020-03-06 12:46:19 +08:00
Rain
8508032c60 fix/notify: Fix the resend mechanism 2020-03-06 11:13:49 +08:00
yunion-ci-robot
55fb6930f7 Merge pull request #5354 from rainzm/automated-cherry-pick-of-#5353-upstream-release-2.12
Automated cherry pick of #5353: feature(notify): Add query and return value for contact UPDATE interface
2020-03-05 19:05:50 +08:00
Rain
f4b7e4c93f fix the conflict 2020-03-05 17:17:26 +08:00
Rain
fe2add1563 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:11:41 +08:00
yunion-ci-robot
fe2eeaf97c Merge pull request #5319 from ioito/automated-cherry-pick-of-#5315-upstream-release-2.12
Automated cherry pick of #5315: fix: 避免旧套餐下架zone信息未知,导致同步rds异常
2020-03-03 02:19:46 +08:00
Qu Xuan
d156d2a648 fix: 避免旧套餐下架zone信息未知,导致同步rds异常 2020-03-02 17:10:23 +08:00
yunion-ci-robot
5283c09784 Merge pull request #5311 from ioito/automated-cherry-pick-of-#5307-upstream-release-2.12
Automated cherry pick of #5307: 修复aliyun没有权限获取余额问题
2020-02-28 21:59:25 +08:00
yunion-ci-robot
b38a17bbc1 Merge pull request #5298 from tb365/bugfix/tb-bugfix-022801
vpc list add param vpc_usable
2020-02-28 21:15:21 +08:00
yunion-ci-robot
f951a08008 Merge pull request #5285 from wanyaoqi/automated-cherry-pick-of-#5255-upstream-release-2.12
Automated cherry pick of #5255: fix nic get pci address
2020-02-28 21:06:20 +08:00
Qu Xuan
a9043c3423 修复aliyun没有权限获取余额问题 2020-02-28 19:56:37 +08:00
TangBin
971ed7aee5 vpc list add param vpc_usable 2020-02-28 14:35:50 +08:00
yunion-ci-robot
e8d6024b65 Merge pull request #5294 from ioito/automated-cherry-pick-of-#5290-upstream-release-2.12
Automated cherry pick of #5290: 添加azure region city信息
2020-02-28 13:15:20 +08:00
Qu Xuan
2702fd9419 添加azure region city信息 2020-02-28 11:38:09 +08:00
wanyaoqi
f876e3ec66 fix nic get pci address 2020-02-27 23:06:20 +08:00
yunion-ci-robot
13972ead36 Merge pull request #5235 from ioito/automated-cherry-pick-of-#5231-upstream-release-2.12
Automated cherry pick of #5231: fix: 添加磁盘回滚snapshot日志
2020-02-26 15:56:13 +08:00
yunion-ci-robot
64bf28f065 Merge pull request #5246 from ioito/automated-cherry-pick-of-#5242-upstream-release-2.12
Automated cherry pick of #5242: fix: 避免根磁盘小于镜像大小导致创建失败
2020-02-26 10:15:11 +08:00
yunion-ci-robot
6afb54f2ff Merge pull request #5251 from ioito/automated-cherry-pick-of-#5247-upstream-release-2.12
Automated cherry pick of #5247: fix: 返回azure api 错误信息
2020-02-25 21:05:12 +08:00
Qu Xuan
fd556c8cb3 fix: 返回azure api 错误信息 2020-02-25 19:32:09 +08:00
Qu Xuan
26657d8213 fix: 避免根磁盘小于镜像大小导致创建失败 2020-02-25 15:41:28 +08:00
Qu Xuan
a2ab3e2e37 fix: 添加磁盘回滚snapshot日志 2020-02-24 16:11:19 +08:00
yunion-ci-robot
f7b7c2ca79 Merge pull request #5230 from rainzm/automated-cherry-pick-of-#5186-upstream-release-2.12
Automated cherry pick of #5186: feature(notify): Validate config
2020-02-24 15:23:08 +08:00
Rain
7e4b8c2f54 feature(notify): Validate config 2020-02-24 14:13:00 +08:00
Zexi Li
ae5199417b Merge pull request #5209 from swordqiu/automated-cherry-pick-of-#5208-upstream-release-2.12
Automated cherry pick of #5208: fix: reset paging limit to 2048 from 20
2020-02-21 16:46:18 +08:00
Zexi Li
84d9282f61 Merge pull request #5221 from rainzm/automated-cherry-pick-of-#5217-upstream-release-2.12
Automated cherry pick of #5217: fix: Storage filter not work for Esxi
2020-02-21 16:44:56 +08:00
yunion-ci-robot
c8642a5055 Merge pull request #5204 from tb365/automated-cherry-pick-of-#5199-upstream-release-2.12
Automated cherry pick of #5199: cloud region city list add default limit 2048
2020-02-21 16:06:40 +08:00
Rain
0001287411 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:14:55 +08:00
yunion-ci-robot
8bbbe29d74 Merge pull request #5203 from ioito/automated-cherry-pick-of-#5198-upstream-release-2.12
Automated cherry pick of #5198: fix: 修复azure坐标问题,添加新的azure region城市信息
2020-02-20 20:58:29 +08:00
yunion-ci-robot
33efca986e Merge pull request #5195 from ioito/automated-cherry-pick-of-#5191-upstream-release-2.12
Automated cherry pick of #5191: fix: add aliyun new region info
2020-02-20 16:14:30 +08:00
TangBin
9463d2647a huawei cloud create bugfix 2020-02-20 15:34:06 +08:00
TangBin
4c9a53e119 huawei cloud create bugfix 2020-02-20 15:33:08 +08:00
TangBin
055edec299 cloud region city list add default limit 2048 2020-02-20 15:33:08 +08:00
Qiu Jian
9e8a0ec8c4 fix: reset paging limit to 2048 from 20 2020-02-20 15:19:41 +08:00
Qu Xuan
96ba08a0be fix: 修复azure坐标问题,添加新的azure region城市信息 2020-02-20 14:59:09 +08:00
Qu Xuan
c0d220b0be fix: add aliyun new region info 2020-02-20 11:08:26 +08:00
yunion-ci-robot
1c6e52e23b Merge pull request #5182 from tb365/automated-cherry-pick-of-#5181-upstream-release-2.12
Automated cherry pick of #5181: aws listener sync fix
2020-02-19 19:19:27 +08:00
tangbin
6482f61358 huawei http listener sync fix 2020-02-19 18:46:27 +08:00
tangbin
2cb5c91d3f aws rebuild root fix 2020-02-19 18:46:27 +08:00
tangbin
efce8fcce2 aws listener sync fix 2020-02-19 18:46:27 +08:00
yunion-ci-robot
4c9789a3cf Merge pull request #5147 from tb365/automated-cherry-pick-of-#5145-upstream-release-2.12
Automated cherry pick of #5145: qcloud elb sync
2020-02-19 16:07:29 +08:00
Yousong Zhou
39d6ec3f99 Merge pull request #5174 from swordqiu/automated-cherry-pick-of-#5173-upstream-release-2.12
Automated cherry pick of #5173: fix: sync cloud provider should change its cloud account's sync_status
2020-02-19 16:02:36 +08:00
yunion-ci-robot
d6ea55819a Merge pull request #5163 from tb365/automated-cherry-pick-of-#5162-upstream-release-2.12
Automated cherry pick of #5162: huawei elb backend vpc validate fix
2020-02-19 13:48:28 +08:00
yunion-ci-robot
ea2cbcb9dd Merge pull request #5171 from ioito/automated-cherry-pick-of-#5167-upstream-release-2.12
Automated cherry pick of #5167: fix: 避免将虚拟机ip同步到弹性网卡
2020-02-19 12:34:28 +08:00
Qiu Jian
6630b2b616 fix: sync cloud provider should change its cloud account's sync_status 2020-02-19 11:54:29 +08:00
Zexi Li
fc81a230d8 Merge pull request #5152 from swordqiu/automated-cherry-pick-of-#5151-upstream-release-2.12
Automated cherry pick of #5151: fix: 1. adjust default response header timer to 30 seconds 2. set default paging limit to 20
2020-02-19 02:29:49 +08:00
Qu Xuan
c187b8815d fix: 避免将虚拟机ip同步到弹性网卡 2020-02-18 15:40:13 +08:00
yunion-ci-robot
ac8deb50c9 Merge pull request #5142 from ioito/automated-cherry-pick-of-#5138-upstream-release-2.12
Automated cherry pick of #5138: fix: 避免未过滤掉同一个network底下的guest
2020-02-18 14:41:40 +08:00
tangbin
3910867270 huawei elb backend vpc validate fix 2020-02-18 14:18:32 +08:00
Qiu Jian
f3e172f9cf fix: 1. adjust default response header timer to 30 seconds 2. set default paging limit to 20 2020-02-18 08:53:59 +08:00
TangBin
9ec6f25468 qcloud elb sync 2020-02-17 22:29:29 +08:00
Qu Xuan
9de5c4b12e fix: 避免未过滤掉同一个network底下的guest 2020-02-17 20:53:42 +08:00
yunion-ci-robot
e2e456f71c Merge pull request #5107 from rainzm/automated-cherry-pick-of-#5106-upstream-release-2.12
Automated cherry pick of #5106: fix(notify): Set some default template
2020-02-14 12:24:04 +08:00
Rain
41ec0eef0c fix(notify): Set some default template 2020-02-13 16:51:33 +08:00
yunion-ci-robot
5d52afc364 Merge pull request #5093 from bistuzx/automated-cherry-pick-of-#5092-upstream-release-2.12
Automated cherry pick of #5092: update account bucket options
2020-02-13 03:49:04 +08:00
张旭
ea34a7eaf8 update account bucket options 2020-02-12 18:27:00 +08:00
yunion-ci-robot
bd81f14238 Merge pull request #5076 from ioito/automated-cherry-pick-of-#5072-upstream-release-2.12
Automated cherry pick of #5072: fix: 忽略无权限的资源标签
2020-02-11 17:20:58 +08:00
Qu Xuan
425ee89d02 fix: 忽略无权限的资源标签 2020-02-10 16:41:40 +08:00
yunion-ci-robot
93146a9906 Merge pull request #5068 from swordqiu/automated-cherry-pick-of-#5065-upstream-release-2.12
Automated cherry pick of #5065: fix: allow empty domain for windows deployment
2020-02-10 10:34:56 +08:00
Qiu Jian
a8ade5bcec fix: allow empty domain for windows deployment 2020-02-10 09:23:30 +08:00
yunion-ci-robot
4dfc5ea305 Merge pull request #5058 from swordqiu/automated-cherry-pick-of-#5054-upstream-release-2.12
Automated cherry pick of #5054: fix: createdAt should not be synced when update
2020-02-09 22:09:57 +08:00
Qiu Jian
ba1c114ef8 fix: createdAt should not be synced when update 2020-02-08 21:30:36 +08:00
yunion-ci-robot
1ba74bed22 Merge pull request #5034 from tb365/automated-cherry-pick-of-#5032-upstream-release-2.12
Automated cherry pick of #5032: aws create with eip fix
2020-02-07 04:50:52 +08:00
tangbin
4e9c24192f aws create with eip fix 2020-02-06 17:57:06 +08:00
yunion-ci-robot
32066e5273 Merge pull request #5025 from ioito/automated-cherry-pick-of-#5021-upstream-release-2.12
Automated cherry pick of #5021: fix: 避免因大小写导致linux未注入默认用户
2020-02-06 13:48:52 +08:00
Qu Xuan
aab846429a fix: 避免因大小写导致linux未注入默认用户 2020-02-06 12:06:17 +08:00
yunion-ci-robot
f44a20ca9b Merge pull request #5017 from swordqiu/automated-cherry-pick-of-#5014-upstream-release-2.12
Automated cherry pick of #5014: fix: support empty dns domain
2020-02-06 09:47:48 +08:00
Qiu Jian
3cddd57f3f fix: support empty dns domain 2020-02-06 03:27:04 +08:00
yunion-ci-robot
cf4f9b5dc2 Merge pull request #5002 from ioito/automated-cherry-pick-of-#4999-upstream-release-2.12
Automated cherry pick of #4999: fix: 避免私有云调整配置匹配不到sku
2020-02-03 16:16:44 +08:00
Qu Xuan
4e34329c79 fix: 避免私有云调整配置匹配不到sku 2020-02-03 12:42:30 +08:00
Zexi Li
220b061ebb Merge pull request #4984 from swordqiu/automated-cherry-pick-of-#4983-upstream-release-2.12
Automated cherry pick of #4983: fix: try allocate host access ip from reserved pool
2020-01-19 10:37:28 +08:00
Qiu Jian
4eecb6ec9b fix: try allocate host access ip from reserved pool 2020-01-19 00:25:52 +08:00
Zexi Li
2a47a4497e Merge pull request #4969 from swordqiu/automated-cherry-pick-of-#4968-upstream-release-2.12
Automated cherry pick of #4968: fix: network-reserve-ip ignores expired reserved ips
2020-01-18 16:04:26 +08:00
Qiu Jian
a28b075517 fix: resolve backport compilation error 2020-01-18 14:38:17 +08:00
Qiu Jian
f50b15c4ef fix: network-reserve-ip ignores expired reserved ips 2020-01-18 14:26:44 +08:00
yunion-ci-robot
155d7c0d21 Merge pull request #4949 from ioito/automated-cherry-pick-of-#4946-upstream-release-2.12
Automated cherry pick of #4946: fix: 腾讯云主机带宽跟随eip带宽变化而变化
2020-01-17 19:44:10 +08:00
Qu Xuan
b7f15ba70a fix: 腾讯云主机带宽跟随eip带宽变化而变化 2020-01-17 13:37:47 +08:00
yunion-ci-robot
2c73e172ce Merge pull request #4882 from tb365/automated-cherry-pick-of-#4880-upstream-release-2.12
Automated cherry pick of #4880: huawei remove backend group bugfix
2020-01-17 11:01:10 +08:00
yunion-ci-robot
302556814a Merge pull request #4908 from ioito/automated-cherry-pick-of-#4904-upstream-release-2.12
Automated cherry pick of #4904: fix: 避免创建azure时指定高级ssd失效
2020-01-16 09:49:07 +08:00
Qu Xuan
08c24e78c3 fix: 避免创建azure时指定高级ssd失效 2020-01-15 18:03:01 +08:00
Zexi Li
3b812a74ce Merge pull request #4896 from rainzm/automated-cherry-pick-of-#4895-upstream-release-2.12
Automated cherry pick of #4895: fix(notify): Update template
2020-01-14 18:23:41 +08:00
Rain
ddfbaefe15 fix(notify): Update template 2020-01-14 18:11:51 +08:00
TangBin
e69130e2d3 aliyun backendgroup bugfix 2020-01-14 15:52:28 +08:00
TangBin
60fa2466d0 aws backendgroup delete bugfix 2020-01-14 15:52:28 +08:00
TangBin
33a1c9ad9f aws sync routetable 2020-01-14 15:52:28 +08:00
TangBin
0b4bf4ad75 huawei remove backend group bugfix 2020-01-14 15:52:28 +08:00
yunion-ci-robot
40633d71b2 Merge pull request #4867 from ioito/automated-cherry-pick-of-#4862-upstream-release-2.12
Automated cherry pick of #4862: fix: 仅kvm需要去判断是否需要关机调整配置,公有云私有云默认不需要
2020-01-14 03:00:03 +08:00
yunion-ci-robot
ed4880dedd Merge pull request #4841 from ioito/automated-cherry-pick-of-#4837-upstream-release-2.12
Automated cherry pick of #4837: fix: 添加磁盘创建失败日志
2020-01-14 02:56:03 +08:00
yunion-ci-robot
a7b33d0763 Merge pull request #4853 from ioito/automated-cherry-pick-of-#4849-upstream-release-2.12
Automated cherry pick of #4849: fix: aliyun rule fix
2020-01-14 02:22:02 +08:00
Zexi Li
06ef8007de Merge pull request #4846 from ioito/automated-cherry-pick-of-#4842-upstream-release-2.12
Automated cherry pick of #4842: fix: 添加安全组操作日志
2020-01-13 20:50:31 +08:00
Qu Xuan
dd4f1f5e2b fix: 仅kvm需要去判断是否需要关机调整配置,公有云私有云默认不需要 2020-01-13 19:17:35 +08:00
Qu Xuan
5ef620eda6 fix: aliyun rule fix 2020-01-13 17:45:32 +08:00
Qu Xuan
8af74bde26 fix: 添加安全组操作日志 2020-01-13 15:28:20 +08:00
Qu Xuan
10970b5293 fix: 添加磁盘创建失败日志 2020-01-13 14:56:09 +08:00
yunion-ci-robot
0dc76d6fce Merge pull request #4803 from tb365/automated-cherry-pick-of-#4801-upstream-release-2.12
Automated cherry pick of #4801: kvm elb listener update bugfix
2020-01-10 19:53:01 +08:00
TangBin
713274cb76 kvm elb listener update bugfix 2020-01-10 18:49:36 +08:00
yunion-ci-robot
3c442a2ceb Merge pull request #4772 from wanyaoqi/automated-cherry-pick-of-#4768-upstream-release-2.12
Automated cherry pick of #4768: fix guest start no task complete
2020-01-10 10:24:59 +08:00
yunion-ci-robot
59f44aa283 Merge pull request #4788 from yousong/automated-cherry-pick-of-#4784-upstream-release-2.12
Automated cherry pick of #4784: dnsrecords: add helper methods
2020-01-10 10:16:59 +08:00
Yousong Zhou
2bc6f73bf3 dns: chain load records for cname 2020-01-09 23:24:26 +08:00
Yousong Zhou
c47aa60243 dns: prepare for responding with A record of cname value 2020-01-09 23:24:26 +08:00
Yousong Zhou
d7e1879274 dnsrecords: add helper methods 2020-01-09 23:24:25 +08:00
wanyaoqi
b10450232b fix guest start no task complete 2020-01-09 17:14:39 +08:00
yunion-ci-robot
fd30e1f7d6 Merge pull request #4747 from yousong/automated-cherry-pick-of-#4724-upstream-release-2.12
Automated cherry pick of #4724: wires: lift name length, charset constraint
2020-01-08 23:43:00 +08:00
Yousong Zhou
2c4b5d83ba wires: lift name length, charset constraint 2020-01-08 19:15:56 +08:00
yunion-ci-robot
b822543513 Merge pull request #4732 from ioito/automated-cherry-pick-of-#4728-upstream-release-2.12
Automated cherry pick of #4728: fix: eip duplicate name
2020-01-08 19:03:59 +08:00
Qu Xuan
c5ad5c4fd5 fix: eip duplicate name 2020-01-08 18:12:37 +08:00
yunion-ci-robot
24c3b516ba Merge pull request #4696 from rainzm/automated-cherry-pick-of-#4695-upstream-release-2.12
Automated cherry pick of #4695: fix(glance): Cancel pending usage of image quota correctly
2020-01-08 16:13:57 +08:00
yunion-ci-robot
ea0f474128 Merge pull request #4702 from tb365/automated-cherry-pick-of-#4701-upstream-release-2.12
Automated cherry pick of #4701: azure skus sync fix
2020-01-08 15:58:57 +08:00
Zexi Li
6f70d31f6e Merge pull request #4718 from wanyaoqi/automated-cherry-pick-of-#4714-upstream-release-2.12
Automated cherry pick of #4714: set subimage some field nullable
2020-01-08 15:43:03 +08:00
wanyaoqi
5e67253bcc set subimage some field nullable 2020-01-08 15:38:21 +08:00
yunion-ci-robot
650888c10f Merge pull request #4688 from yousong/automated-cherry-pick-of-#4683-upstream-release-2.12
Automated cherry pick of #4683: hostman: distro name OpenWrt instead of OpenWRT
2020-01-08 12:55:57 +08:00
yunion-ci-robot
24c645025f Merge pull request #4654 from ioito/automated-cherry-pick-of-#4650-upstream-release-2.12
Automated cherry pick of #4650: fix: 避免创建rds account, database后未设置exteranl_id
2020-01-08 11:40:59 +08:00
yunion-ci-robot
5faa172bda Merge pull request #4641 from ioito/automated-cherry-pick-of-#4636-upstream-release-2.12
Automated cherry pick of #4636: fix: 加强密码校验
2020-01-08 11:36:58 +08:00
TangBin
481599ec59 huawei redis sync fix 2020-01-08 11:31:51 +08:00
TangBin
f73152496f huawei network default gateway fix 2020-01-08 11:31:39 +08:00
TangBin
51ccda9d6e network create GuestIpPrefix fix 2020-01-08 11:31:39 +08:00
Rain
72bc05401f 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:48 +08:00
yunion-ci-robot
574b3fe93d Merge pull request #4693 from ioito/automated-cherry-pick-of-#4685-upstream-release-2.12
Automated cherry pick of #4685: fix: next marker format
2020-01-08 10:07:58 +08:00
Zexi Li
e1fc0dac25 Merge pull request #4679 from swordqiu/automated-cherry-pick-of-#4676-upstream-release-2.12
Automated cherry pick of #4676: fix: guest network default share scope should be system if non-default-domain-projects is off
2020-01-07 19:30:24 +08:00
yunion-ci-robot
d1b60cb99f Merge pull request #4670 from ioito/automated-cherry-pick-of-#4656-upstream-release-2.12
Automated cherry pick of #4656: fix: 避免拥有带宽包的腾讯云创建机器失败
2020-01-07 18:05:57 +08:00
Qu Xuan
7939127ce1 fix: next marker format 2020-01-07 18:05:18 +08:00
Yousong Zhou
674c1a278c hostman: openwrt: deploy public key for root 2020-01-07 18:01:57 +08:00
Yousong Zhou
cffa941453 hostman: split DeployAuthorizedKeys() 2020-01-07 18:01:57 +08:00
Yousong Zhou
4e7ca3eddb hostman: openwrt: support deploy networking scripts 2020-01-07 18:01:57 +08:00
Yousong Zhou
6e2a684330 hostman: openwrt: deploy hostname with board config 2020-01-07 18:01:57 +08:00
Yousong Zhou
d19a14ec78 hostman: distro name OpenWrt instead of OpenWRT 2020-01-07 18:01:57 +08:00
yunion-ci-robot
cb2f1aa4b1 Merge pull request #4662 from ioito/automated-cherry-pick-of-#4658-upstream-release-2.12
Automated cherry pick of #4658: fix: 避免同步安全组失败后,没有任何日志记录
2020-01-07 17:07:56 +08:00
Qiu Jian
ce8c31c84a fix: guest network default share scope should be system if non-default-domain-projects is off 2020-01-07 16:53:02 +08:00
Qu Xuan
4f5f4a60e2 fix: 避免拥有带宽包的腾讯云创建机器失败 2020-01-07 15:05:49 +08:00
Qu Xuan
7e040d7aff fix: 避免同步安全组失败后,没有任何日志记录 2020-01-07 11:50:19 +08:00
yunion-ci-robot
91af65ca94 Merge pull request #4646 from swordqiu/automated-cherry-pick-of-#4645-upstream-release-2.12
Automated cherry pick of #4645: fix: comment out TestDialTimeout
2020-01-06 15:12:59 +08:00
Qu Xuan
0eadd02531 fix: 避免创建rds account, database后未设置exteranl_id 2020-01-06 13:39:56 +08:00
Qiu Jian
eb9b413e43 fix: comment out TestDialTimeout 2020-01-06 13:09:48 +08:00
Qu Xuan
4bb58627e3 fix: 加强密码校验 2020-01-06 11:52:21 +08:00
Zexi Li
c15e23d96d Merge pull request #4626 from swordqiu/automated-cherry-pick-of-#4557-upstream-release-2.12
Automated cherry pick of #4557: add cloud account create&update options
2020-01-05 11:09:59 +08:00
Qiu Jian
cf4241894e fix: fail to compile climc 2020-01-05 09:39:18 +08:00
张旭
0c367976e0 add cloud account create&update options 2020-01-05 09:34:50 +08:00
Zexi Li
6cb171533d Merge pull request #4613 from ioito/automated-cherry-pick-of-#4609-upstream-release-2.12
Automated cherry pick of #4609: fix: 避免仅删除value时,行为演变为删除标签
2020-01-04 23:18:13 +08:00
Zexi Li
b1984e6634 Merge pull request #4605 from rainzm/automated-cherry-pick-of-#4602-upstream-release-2.12
Automated cherry pick of #4602: fix(notify): Fix the error of filter about contacts
2020-01-04 22:29:38 +08:00
Rain
aff70fedc1 fix(notify): Fix the error of filter about contacts 2020-01-04 22:23:54 +08:00
Qu Xuan
7f37e300ef fix: 避免仅删除value时,行为演变为删除标签 2020-01-04 22:17:32 +08:00
Zexi Li
be2491a89b Merge pull request #4573 from bistuzx/automated-cherry-pick-of-#4557-upstream-release-2.12
Automated cherry pick of #4557: add cloud account create&update options
2020-01-04 21:10:42 +08:00
Jian Qiu
6960dbbf54 Automated cherry pick of #4527: fix: httpclient timeout value cleanup, use notimeout client for oss (#4528)
* 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

* add GetFreePort methods
2020-01-04 20:51:36 +08:00
yunion-ci-robot
a1963e5837 Merge pull request #4578 from ioito/automated-cherry-pick-of-#4574-upstream-release-2.12
Automated cherry pick of #4574: fix: 子网删除忽略弹性网卡
2020-01-04 20:31:40 +08:00
张旭
f5a40c3e02 add cloud account create&update options 2020-01-04 20:25:42 +08:00
yunion-ci-robot
bccf1dc67f Merge pull request #4585 from ioito/automated-cherry-pick-of-#4581-upstream-release-2.12
Automated cherry pick of #4581: fix: 修复zstack安全组创建失败问题
2020-01-04 20:13:37 +08:00
Qu Xuan
fd05116707 fix: 修复zstack安全组创建失败问题 2020-01-04 20:02:32 +08:00
yunion-ci-robot
30e451afa7 Merge pull request #4562 from ioito/automated-cherry-pick-of-#4558-upstream-release-2.12
Automated cherry pick of #4558: fix: openstack eip dissociate optimized
2020-01-04 19:59:36 +08:00
Zexi Li
c808bfc47d Merge pull request #4565 from swordqiu/automated-cherry-pick-of-#4564-upstream-release-2.12
Automated cherry pick of #4564: fix: minio fail to set object metadata
2020-01-04 19:52:25 +08:00
Qu Xuan
ebd9c788aa fix: 子网删除忽略弹性网卡 2020-01-04 19:25:10 +08:00
Qu Xuan
6b0d54f9c2 fix: openstack eip dissociate optimized 2020-01-04 18:44:35 +08:00
Qiu Jian
164de8a9cd fix: minio fail to set object metadata 2020-01-04 18:36:43 +08:00
Zexi Li
74865802ba Merge pull request #4524 from zexi/automated-cherry-pick-of-#4520-upstream-release-2.12
Automated cherry pick of #4520: baremetal: fix megaraid check jbod always disabled
2020-01-03 21:52:14 +08:00
yunion-ci-robot
0b2eb093af Merge pull request #4517 from ioito/automated-cherry-pick-of-#4513-upstream-release-2.12
Automated cherry pick of #4513: fix: 腾讯云不支持描述字段参数
2020-01-03 21:31:41 +08:00
Zexi Li
02982f7850 baremetal: fix megaraid check jbod always disabled 2020-01-03 21:23:05 +08:00
Qu Xuan
1db48ed31f fix: 腾讯云不支持描述字段参数 2020-01-03 20:46:29 +08:00
Zexi Li
4422faf411 Merge pull request #4499 from swordqiu/automated-cherry-pick-of-#4498-upstream-release-2.12
Automated cherry pick of #4498: fix: allow delete cloudaccount with auto-sync enabled
2020-01-03 19:06:29 +08:00
yunion-ci-robot
a907289d0f Merge pull request #4503 from rainzm/automated-cherry-pick-of-#4497-upstream-release-2.12
Automated cherry pick of #4497: fix(huawei): Add 'X-Project-ID' header for huawei nat reuqest
2020-01-03 19:05:35 +08:00
yunion-ci-robot
3d40f4dd9d Merge pull request #4496 from ioito/automated-cherry-pick-of-#4492-upstream-release-2.12
Automated cherry pick of #4492: fix: 修复provider为空的套餐
2020-01-03 18:36:35 +08:00
Rain
194f8f9916 fix(huawei): Add 'X-Project-ID' header for huawei nat reuqest 2020-01-03 17:19:59 +08:00
Qiu Jian
f912464b49 fix: allow delete cloudaccount with auto-sync enabled 2020-01-03 17:13:35 +08:00
Qu Xuan
d8f148f791 fix: 修复provider为空的套餐 2020-01-03 15:55:39 +08:00
Zexi Li
58a4a5cc29 Merge pull request #4484 from rainzm/automated-cherry-pick-of-#4483-upstream-release-2.12
Automated cherry pick of #4483: fix(notify): Always update websocket config
2020-01-03 11:22:29 +08:00
Zexi Li
1acaac1241 Merge pull request #4482 from swordqiu/automated-cherry-pick-of-#4478-upstream-release-2.12
Automated cherry pick of #4478: fix: bucket list object may skip first matched object
2020-01-03 11:01:37 +08:00
Rain
58645ae956 fix(notify): Always update websocket config 2020-01-02 18:17:09 +08:00
Qiu Jian
d718738084 fix: sort objects and directories 2020-01-02 17:48:58 +08:00
Qiu Jian
9944c0d655 fix: bucket list object may skip first matched object 2020-01-02 17:48:58 +08:00
yunion-ci-robot
de741bd1e3 Merge pull request #4466 from yousong/automated-cherry-pick-of-#4464-upstream-release-2.12
Automated cherry pick of #4464: networks: 确保外部network也有ifname_hint
2020-01-01 15:31:34 +08:00
Yousong Zhou
19a1f90a54 networks: 确保外部network也有ifname_hint 2020-01-01 10:52:37 +08:00
yunion-ci-robot
123b7de76e Merge pull request #4461 from ioito/automated-cherry-pick-of-#4459-upstream-release-2.12
Automated cherry pick of #4459: fix: openstack image: vmdk -> qcow2
2020-01-01 09:30:33 +08:00
yunion-ci-robot
4c83dc9e21 Merge pull request #4458 from ioito/automated-cherry-pick-of-#4455-upstream-release-2.12
Automated cherry pick of #4455: fix: 避免nova external_id duplicate
2019-12-31 23:29:33 +08:00
Qu Xuan
c8878ca5a5 fix: openstack image: vmdk -> qcow2 2019-12-31 19:55:54 +08:00
Qu Xuan
ae8d10e18e fix: 避免nova external_id duplicate 2019-12-31 18:47:44 +08:00
yunion-ci-robot
710e27ea40 Merge pull request #4447 from wanyaoqi/automated-cherry-pick-of-#4445-upstream-release-2.12
Automated cherry pick of #4445: not return on recv packet failed
2019-12-31 17:29:32 +08:00
yunion-ci-robot
b8bd0afeeb Merge pull request #4437 from yousong/automated-cherry-pick-of-#4435-upstream-release-2.12
Automated cherry pick of #4435: networks: newIfnameHint: 可读性改善
2019-12-31 17:13:33 +08:00
wanyaoqi
49eb90b3d2 not return on recv packet failed 2019-12-31 17:04:27 +08:00
Yousong Zhou
4ddf168402 guestnetworks: 加强ifname内容判断 2019-12-31 14:24:39 +08:00
Yousong Zhou
cafdab7d61 networks: newIfnameHint: 可读性改善 2019-12-31 14:24:39 +08:00
yunion-ci-robot
71d38f4b88 Merge pull request #4425 from wanyaoqi/automated-cherry-pick-of-#4423-upstream-release-2.12
Automated cherry pick of #4423: region MakeCloudProviderInfo instance snapshots
2019-12-31 01:28:32 +08:00
yunion-ci-robot
ba6045f875 Merge pull request #4400 from ioito/automated-cherry-pick-of-#4398-upstream-release-2.12
Automated cherry pick of #4398: fix: 避免创建时localstorage为空导致校验失败
2019-12-31 01:21:33 +08:00
yunion-ci-robot
a96d820651 Merge pull request #4382 from ioito/automated-cherry-pick-of-#4380-upstream-release-2.12
Automated cherry pick of #4380: fix: 支持过滤有admin_secgrp的虚拟机
2019-12-31 01:03:32 +08:00
yunion-ci-robot
529a01df4f Merge pull request #4389 from ioito/automated-cherry-pick-of-#4387-upstream-release-2.12
Automated cherry pick of #4387: fix: 避免私有云找不到对应的套餐
2019-12-31 00:53:36 +08:00
yunion-ci-robot
39b8b501fe Merge pull request #4396 from ioito/automated-cherry-pick-of-#4394-upstream-release-2.12
Automated cherry pick of #4394: fix: 避免同步将eip同步到弹性网卡里面
2019-12-31 00:48:33 +08:00
Zexi Li
2fc2ff8721 Merge pull request #4407 from wanyaoqi/automated-cherry-pick-of-#4405-upstream-release-2.12
Automated cherry pick of #4405: fix panic on fstab no content
2019-12-31 00:43:14 +08:00
yunion-ci-robot
2d923f2dcf Merge pull request #4422 from tb365/automated-cherry-pick-of-#4420-upstream-release-2.12
Automated cherry pick of #4420: update rbac default policy
2019-12-31 00:22:32 +08:00
wanyaoqi
e662b4a750 region MakeCloudProviderInfo instance snapshots
- MakeCloudProviderInfo: fix panic on account is nil
- GetSnapshotsNotInInstanceSnapshot: add filter disk_id
2019-12-30 21:20:17 +08:00
TangBin
bf945704b6 update rbac default policy 2019-12-30 19:14:45 +08:00
yunion-ci-robot
20468aab12 Merge pull request #4414 from yousong/automated-cherry-pick-of-#4412-upstream-release-2.12
Automated cherry pick of #4412: networks: make ifname hint also valid qemu identifier
2019-12-30 18:54:33 +08:00
Yousong Zhou
e4fad874ac networks: make ifname hint also valid qemu identifier 2019-12-30 18:14:37 +08:00
Zexi Li
11facb6d01 Merge pull request #4403 from swordqiu/automated-cherry-pick-of-#4401-upstream-release-2.12
Automated cherry pick of #4401: fix: host-update ipmi and host-sync-config support
2019-12-30 17:59:03 +08:00
wanyaoqi
238ba18829 fix panic on fstab no content 2019-12-30 16:27:03 +08:00
Qiu Jian
081f6de5f7 fix: host-update ipmi and host-sync-config support 2019-12-30 16:14:22 +08:00
Qu Xuan
dd23fabbd4 fix: 避免创建时localstorage为空导致校验失败 2019-12-30 15:34:44 +08:00
Qu Xuan
065cd2a5a6 fix: 避免同步将eip同步到弹性网卡里面 2019-12-30 14:55:12 +08:00
Qu Xuan
8d953b6937 fix: 支持过滤有admin_secgrp的虚拟机 2019-12-30 10:51:56 +08:00
Qu Xuan
71ad4a7baf fix: 避免私有云找不到对应的套餐 2019-12-30 10:42:36 +08:00
yunion-ci-robot
6c0a2b94fb Merge pull request #4349 from ioito/automated-cherry-pick-of-#4347-upstream-release-2.12
Automated cherry pick of #4347: fix: 支持同步经典网络ip地址
2019-12-30 09:18:31 +08:00
yunion-ci-robot
e02b675ee1 Merge pull request #4365 from ioito/automated-cherry-pick-of-#4362-upstream-release-2.12
Automated cherry pick of #4362: fix: 更正腾讯云磁盘创建时间
2019-12-29 22:04:39 +08:00
yunion-ci-robot
ae0df7f083 Merge pull request #4385 from ioito/automated-cherry-pick-of-#4383-upstream-release-2.12
Automated cherry pick of #4383: fix: 修复接收参数异常问题
2019-12-28 14:18:33 +08:00
Qu Xuan
6c51584720 fix: 支持同步经典网络ip地址 2019-12-28 13:18:37 +08:00
Qu Xuan
7ee8d72fe3 fix: 更正腾讯云磁盘创建时间 2019-12-28 13:07:28 +08:00
yunion-ci-robot
4491605dad Merge pull request #4377 from ioito/automated-cherry-pick-of-#4375-upstream-release-2.12
Automated cherry pick of #4375: fix: 避免因太多锁导致删除安全组task失败
2019-12-28 09:53:35 +08:00
Qu Xuan
7555e13ed6 fix: 修复接收参数异常问题 2019-12-27 20:35:12 +08:00
Qu Xuan
8518ce8ab5 fix: 避免因太多锁导致删除安全组task失败 2019-12-27 16:24:01 +08:00
Zexi Li
3a48f06c6e Merge pull request #4370 from swordqiu/automated-cherry-pick-of-#4368-upstream-release-2.12
Automated cherry pick of #4368: fix: alter user email charset to utf8
2019-12-27 14:28:59 +08:00
Qiu Jian
7f4f49e05b fix: alter user email charset to utf8 2019-12-27 14:12:55 +08:00
yunion-ci-robot
fd2843b2aa Merge pull request #4356 from swordqiu/automated-cherry-pick-of-#4354-upstream-release-2.12
Automated cherry pick of #4354: fix: cloudaccount try get info of empty project
2019-12-27 11:28:31 +08:00
yunion-ci-robot
338a00de6d Merge pull request #4351 from ioito/automated-cherry-pick-of-#4336-upstream-release-2.12
Automated cherry pick of #4336: fix: 优化支持openstack重装系统
2019-12-27 01:14:30 +08:00
yunion-ci-robot
1e182fdf78 Merge pull request #4298 from wanyaoqi/automated-cherry-pick-of-#4296-upstream-release-2.12
Automated cherry pick of #4296: snapshot misc bugfix
2019-12-27 01:10:30 +08:00
yunion-ci-robot
a720cd7a4d Merge pull request #4335 from wanyaoqi/automated-cherry-pick-of-#4333-upstream-release-2.12
Automated cherry pick of #4333: eip add distinct account
2019-12-27 01:02:35 +08:00
Qiu Jian
c7f3b5014e fix: cloudaccount try get info of empty project 2019-12-26 22:43:12 +08:00
Qu Xuan
447c1149b3 fix: 优化支持openstack重装系统 2019-12-26 21:53:27 +08:00
Zexi Li
c6b9908536 Merge pull request #4328 from swordqiu/automated-cherry-pick-of-#4326-upstream-release-2.12
Automated cherry pick of #4326: fix: baremetal diskconfig empty adaptor index
2019-12-26 21:15:59 +08:00
Zexi Li
047492e6ea Merge pull request #4346 from swordqiu/automated-cherry-pick-of-#4344-upstream-release-2.12
Automated cherry pick of #4344: fix: reduce action log for keystone authentication event
2019-12-26 21:12:21 +08:00
Qiu Jian
74b9311d33 fix: reduce action log for keystone authentication event 2019-12-26 20:55:31 +08:00
yunion-ci-robot
555178c3eb Merge pull request #4324 from swordqiu/automated-cherry-pick-of-#4322-upstream-release-2.12
Automated cherry pick of #4322: fix: SyncEip时同步项目应该在同步主机信息之前
2019-12-26 15:53:34 +08:00
Zexi Li
48bd78fd68 Merge pull request #4321 from swordqiu/automated-cherry-pick-of-#4319-upstream-release-2.12
Automated cherry pick of #4319: fix: bucket list objects with marker and limit
2019-12-26 15:46:41 +08:00
wanyaoqi
a7269ed6e1 eip add distinct account 2019-12-26 14:46:50 +08:00
yunion-ci-robot
080dc22420 Merge pull request #4301 from yousong/automated-cherry-pick-of-#4299-upstream-release-2.12
Automated cherry pick of #4299: hostman: different error message for different error reason
2019-12-26 11:05:32 +08:00
yunion-ci-robot
44daad6372 Merge pull request #4315 from ioito/automated-cherry-pick-of-#4313-upstream-release-2.12
Automated cherry pick of #4313: fix: 避免在域管理后台rules不可见
2019-12-26 01:55:15 +08:00
yunion-ci-robot
08cb53823f Merge pull request #4309 from ioito/automated-cherry-pick-of-#4307-upstream-release-2.12
Automated cherry pick of #4307: fix: 同步openstack宿主机关闭服务后状态
2019-12-26 01:51:14 +08:00
Qiu Jian
481b8cf1a2 fix: baremetal diskconfig empty adaptor index 2019-12-26 01:13:16 +08:00
Qiu Jian
d46f1a6f4c fix: SyncEip时同步项目应该在同步主机信息之前 2019-12-26 01:02:09 +08:00
Qiu Jian
ace9f6e2d4 remove httperrors 2019-12-26 00:51:40 +08:00
Qiu Jian
4cc6f3e999 fix fmt issue 2019-12-26 00:50:40 +08:00
Qiu Jian
d6f9eed05a fix: minor fix 2019-12-26 00:50:40 +08:00
Qiu Jian
8827d2b15c fix: bucket list objects with marker and limit 2019-12-26 00:50:40 +08:00
Qu Xuan
9e4efab13c fix: 避免在域管理后台rules不可见 2019-12-25 17:15:01 +08:00
yunion-ci-robot
2835fed7dc Merge pull request #4306 from ioito/automated-cherry-pick-of-#4304-upstream-release-2.12
Automated cherry pick of #4304: fix: 支持忽略cloudaccount健康检查
2019-12-25 17:11:13 +08:00
Qu Xuan
39753f5a76 fix: 同步openstack宿主机关闭服务后状态 2019-12-25 16:27:51 +08:00
Qu Xuan
c7f577e08e fix: 支持忽略cloudaccount健康检查 2019-12-25 16:10:03 +08:00
yunion-ci-robot
22239cb5ab Merge pull request #4295 from ioito/automated-cherry-pick-of-#4293-upstream-release-2.12
Automated cherry pick of #4293: fix: 避免未接收到tenant参数
2019-12-25 16:03:15 +08:00
Yousong Zhou
bd80c3a399 hostman: fsdriver: fix hostname deployment for openwrt
We will need to add native uci support later
2019-12-25 16:02:23 +08:00
Yousong Zhou
7c5cd59d90 hostman: add default values for host config 2019-12-25 16:02:23 +08:00
Yousong Zhou
ac6a97fea6 networks: different indent level for asymmetric branches 2019-12-25 16:02:23 +08:00
Yousong Zhou
a81d7c749a hostman: different error message for different error reason 2019-12-25 16:02:23 +08:00
wanyaoqi
265e3f6732 snapshot misc bugfix 2019-12-25 15:53:27 +08:00
Qu Xuan
c17b058baa fix: 避免未接收到tenant参数 2019-12-25 14:41:15 +08:00
yunion-ci-robot
ea12386358 Merge pull request #4275 from rainzm/automated-cherry-pick-of-#4274-upstream-release-2.12
Automated cherry pick of #4274: fix(notify): Fix for user cache and list contacts
2019-12-23 21:11:15 +08:00
Rain
72a787da9a fix(notify): Fix for user cache and list contacts 2019-12-23 20:49:25 +08:00
yunion-ci-robot
f0b166a302 Merge pull request #4279 from tb365/automated-cherry-pick-of-#4277-upstream-release-2.12
Automated cherry pick of #4277: add services query permission
2019-12-23 18:35:12 +08:00
TangBin
68fadf1c18 add services query permission 2019-12-23 18:14:52 +08:00
yunion-ci-robot
a448a6f3b9 Merge pull request #4271 from swordqiu/automated-cherry-pick-of-#4270-upstream-release-2.12
Automated cherry pick of #4270: feature: support centos 8 deployment. centos 8 requiest NetworkManager
2019-12-23 10:43:14 +08:00
Qiu Jian
f6a3a487d8 feature: support centos 8 deployment. centos 8 requiest NetworkManager 2019-12-21 18:43:42 +08:00
yunion-ci-robot
372e52b638 Merge pull request #4230 from yousong/automated-cherry-pick-of-#4228-upstream-release-2.12
Automated cherry pick of #4228: mcclient: proxy setting aware by using httputils' transport
2019-12-20 21:28:06 +08:00
yunion-ci-robot
37460bddb9 Merge pull request #4243 from rainzm/automated-cherry-pick-of-#4232-upstream-release-2.12
Automated cherry pick of #4232: Fix(notify): Unified the api params and fix some bug.
2019-12-20 16:04:07 +08:00
Rain
c968eb3fe1 feat(notify): Add default email tempalte with topic IMAGE_ACTIVED 2019-12-20 11:41:59 +08:00
Rain
3e3a1381a7 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:41:59 +08:00
yunion-ci-robot
e4666ffb85 Merge pull request #4234 from tb365/automated-cherry-pick-of-#4184-upstream-release-2.12
Automated cherry pick of #4184: elastic skus query bugfix
2019-12-20 11:27:04 +08:00
yunion-ci-robot
bd0f6b9771 Merge pull request #4240 from zexi/automated-cherry-pick-of-#4238-upstream-release-2.12
Automated cherry pick of #4238: baremetal: fix register input params lost
2019-12-20 00:16:06 +08:00
Zexi Li
90bf94ad5e baremetal: fix register input params lost 2019-12-19 21:12:48 +08:00
TangBin
aedb61c647 add cache skus query params 2019-12-19 18:17:40 +08:00
TangBin
fd4434d7af add zone service filter 2019-12-19 18:17:40 +08:00
TangBin
7045af048c zone customize columns add region_external_id 2019-12-19 18:17:40 +08:00
TangBin
aa93908f6d get elasitc cache account password api 2019-12-19 18:17:40 +08:00
TangBin
ec63cb5d05 elastic skus query bugfix 2019-12-19 18:17:40 +08:00
Yousong Zhou
8999868e5f httputils: unset DisableCompression=true 2019-12-19 15:04:04 +08:00
Yousong Zhou
ae2a798926 mcclient: proxy setting aware by using httputils' transport 2019-12-19 15:04:04 +08:00
yunion-ci-robot
e4d2d67cd2 Merge pull request #4222 from rainzm/automated-cherry-pick-of-#4221-upstream-release-2.12
Automated cherry pick of #4221: fix(region): Fix the bug of snapshotpolicy's list with details
2019-12-19 11:10:05 +08:00
Rain
72e5e95a0a 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-19 10:50:37 +08:00
Zexi Li
211653ea5f Merge pull request #4218 from rainzm/automated-cherry-pick-of-#4217-upstream-release-2.12
Automated cherry pick of #4217: bugfix(notify): Fix the bug of notify config and verify
2019-12-18 20:49:40 +08:00
Rain
6895168a6c 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:52 +08:00
yunion-ci-robot
6b659bec11 Merge pull request #4214 from yousong/automated-cherry-pick-of-#4212-upstream-release-2.12
Automated cherry pick of #4212: guestnetworks: ignore empty preferIfname
2019-12-18 19:01:07 +08:00
Yousong Zhou
2771bd990e guestnetworks: ignore empty preferIfname
Fixes cc02ac74 ("guestnetworks: check ifname uniqueness across different
networks")
2019-12-18 09:17:25 +00:00
yunion-ci-robot
86002e3c33 Merge pull request #4209 from swordqiu/automated-cherry-pick-of-#4207-upstream-release-2.12
Automated cherry pick of #4207: fix: ESXi fakeDC ID should matches any datacenter
2019-12-17 22:38:04 +08:00
Qiu Jian
29597ae0b5 fix: ESXi fakeDC ID should matches any datacenter 2019-12-17 18:50:52 +08:00
yunion-ci-robot
f8813618a2 Merge pull request #4205 from rainzm/automated-cherry-pick-of-#4204-upstream-release-2.12
Automated cherry pick of #4204: fix(notify): Fix the bugs of user cache and some api's params
2019-12-17 17:27:10 +08:00
Rain
f4811f3509 fix(notify): Fix the bugs of user cache and some api's params 2019-12-17 17:20:27 +08:00
yunion-ci-robot
ef14598cea Merge pull request #4179 from ioito/automated-cherry-pick-of-#4177-upstream-release-2.12
Automated cherry pick of #4177: fix: 增强host-list --usable限制
2019-12-17 17:03:03 +08:00
yunion-ci-robot
b686f609f8 Merge pull request #4197 from ioito/automated-cherry-pick-of-#4194-upstream-release-2.12
Automated cherry pick of #4194: fix: 标签过滤和框架保持一致
2019-12-17 16:35:05 +08:00
yunion-ci-robot
504d0e3bdf Merge pull request #4195 from swordqiu/automated-cherry-pick-of-#4193-upstream-release-2.12
Automated cherry pick of #4193: fix: fetch hosts if no permission to access datacenter
2019-12-17 16:23:02 +08:00
Qu Xuan
bfadc7b6e7 fix: 标签过滤和框架保持一致 2019-12-17 15:57:29 +08:00
Qiu Jian
4ea2d318e0 fix: fetch hosts if no permission to access datacenter 2019-12-17 15:56:33 +08:00
Qu Xuan
db98eee265 fix: 增强host-list --usable限制 2019-12-17 14:49:12 +08:00
yunion-ci-robot
dd54ff6c6c Merge pull request #4190 from swordqiu/automated-cherry-pick-of-#4188-upstream-release-2.12
Automated cherry pick of #4188: fix: disabling cloud account should not turn off auto sync switch
2019-12-17 14:02:04 +08:00
yunion-ci-robot
518b05216f Merge pull request #4187 from swordqiu/automated-cherry-pick-of-#4128-upstream-release-2.12
Automated cherry pick of #4128: feaute: object storage support set/get http headers
2019-12-17 14:01:03 +08:00
yunion-ci-robot
e1fe28ab95 Merge pull request #4191 from wanyaoqi/bugfix/wyq/make-mod
release/2.12: make mod
2019-12-17 13:50:03 +08:00
wanyaoqi
6610e57293 make mod 2019-12-17 13:19:00 +08:00
Qiu Jian
5c77969718 fix: disabling cloud account should not turn off auto sync switch 2019-12-17 01:20:23 +08:00
yunion-ci-robot
bc607d8f68 Merge pull request #4169 from ioito/automated-cherry-pick-of-#4168-upstream-release-2.12
Automated cherry pick of #4168: fix: 避免创建安全组规则时未能接收到安全组参数
2019-12-16 23:54:01 +08:00
Qiu Jian
59bed062f8 fix: minor fixes 2019-12-16 23:46:03 +08:00
Qiu Jian
26826e3218 fix: bucket-object-upload not work 2019-12-16 23:13:21 +08:00
Qiu Jian
61e5f5eb74 misc imporvements 2019-12-16 23:09:36 +08:00
Qiu Jian
23096b9164 feaute: object storage support set/get http headers 2019-12-16 21:44:31 +08:00
yunion-ci-robot
7e39c89c4a Merge pull request #4173 from rainzm/automated-cherry-pick-of-#4103-upstream-release-2.12
Automated cherry pick of #4103: feat(notify): Available uname in api & Unified template management
2019-12-16 11:44:01 +08:00
yunion-ci-robot
9867fb7dba Merge pull request #4171 from ioito/automated-cherry-pick-of-#4170-upstream-release-2.12
Automated cherry pick of #4170: fix: 避免频繁同步rds sku信息
2019-12-16 11:26:00 +08:00
Rain
f5cf95fa8b 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-16 11:05:45 +08:00
Qu Xuan
08cb039c98 fix: 避免频繁同步rds sku信息 2019-12-16 11:03:21 +08:00
Qu Xuan
0dbd655c17 fix: 避免创建安全组规则时未能接收到安全组参数 2019-12-16 10:22:53 +08:00
yunion-ci-robot
59ec24d13a Merge pull request #4154 from ioito/automated-cherry-pick-of-#4152-upstream-release-2.12
Automated cherry pick of #4152: fix: 私有云同步的sku归属于default region
2019-12-14 11:31:01 +08:00
yunion-ci-robot
d0edfcb351 Merge pull request #4144 from tb365/automated-cherry-pick-of-#4141-upstream-release-2.12
Automated cherry pick of #4141: huawei sync instance offset bugfix
2019-12-14 11:08:00 +08:00
yunion-ci-robot
6d5e1ccab3 Merge pull request #4161 from ioito/automated-cherry-pick-of-#4159-upstream-release-2.12
Automated cherry pick of #4159: fix: 增强host-list --usable限制
2019-12-14 10:53:00 +08:00
Qu Xuan
e12943ea8f fix: 增强host-list --usable限制 2019-12-13 20:29:55 +08:00
Qu Xuan
3d1bd111fb fix: 私有云同步的sku归属于default region 2019-12-13 17:39:33 +08:00
TangBin
fe688862f0 huawei sync instance offset bugfix 2019-12-13 15:46:12 +08:00
yunion-ci-robot
651ded2b8f Merge pull request #4136 from swordqiu/automated-cherry-pick-of-#4134-upstream-release-2.12
Automated cherry pick of #4134: fix: misc bugfix for esxi 20191213
2019-12-13 12:59:00 +08:00
yunion-ci-robot
b10f4d839d Merge pull request #4125 from yousong/automated-cherry-pick-of-#4123-upstream-release-2.12
Automated cherry pick of #4123: guestnetworks: check ifname uniqueness across different networks
2019-12-13 12:57:01 +08:00
Qiu Jian
872a217b5a fix: misc bugfix for esxi 20191213 2019-12-13 12:35:26 +08:00
yunion-ci-robot
2718f39c67 Merge pull request #4131 from ioito/automated-cherry-pick-of-#4129-upstream-release-2.12
Automated cherry pick of #4129: fix: 避免插入时出现duplicate primary key error
2019-12-13 11:38:59 +08:00
Qu Xuan
ab692d05fd fix: 避免插入时出现duplicate primary key error 2019-12-13 10:46:01 +08:00
Yousong Zhou
ca578b4848 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:47:13 +00:00
yunion-ci-robot
40b52e027c Merge pull request #4114 from bistuzx/automated-cherry-pick-of-#4113-upstream-release-2.12
Automated cherry pick of #4113: delete duplicate param brand
2019-12-12 15:35:59 +08:00
张旭
ac5584caae delete duplicate param brand 2019-12-12 15:26:47 +08:00
yunion-ci-robot
2bf1ef40b2 Merge pull request #4110 from bistuzx/automated-cherry-pick-of-#4109-upstream-release-2.12
Automated cherry pick of #4109: add associated_bills & modify meter version
2019-12-12 12:41:01 +08:00
张旭
6886e20ba3 add associated_bills & modify meter version 2019-12-12 11:59:58 +08:00
yunion-ci-robot
54ced32814 Merge pull request #4099 from ioito/automated-cherry-pick-of-#4097-upstream-release-2.12
Automated cherry pick of #4097: fix: 避免zstack参数含有中文,未编码导致请求失败
2019-12-12 11:02:38 +08:00
Qu Xuan
f295ac0066 fix: 避免zstack参数含有中文,未编码导致请求失败 2019-12-11 23:20:56 +08:00
yunion-ci-robot
33924e56cc Merge pull request #4106 from wanyaoqi/automated-cherry-pick-of-#4104-upstream-release-2.12
Automated cherry pick of #4104: fix image upload log event
2019-12-11 22:30:45 +08:00
wanyaoqi
7af90dc0a5 fix image upload log event 2019-12-11 20:41:01 +08:00
yunion-ci-robot
11cc8c7891 Merge pull request #4094 from yousong/automated-cherry-pick-of-#4092-upstream-release-2.12
Automated cherry pick of #4092: loadbalancerbackends: janitor: move to InitializeData
2019-12-11 20:14:43 +08:00
Yousong Zhou
c7c11a6d5a loadbalancerbackends: janitor: move to InitializeData
The janitor only makes sense when inside region service
2019-12-11 08:24:01 +00:00
yunion-ci-robot
c83aeefc09 Merge pull request #4074 from ioito/automated-cherry-pick-of-#4072-upstream-release-2.12
Automated cherry pick of #4072: fix: 导出用户标签不加user:前缀
2019-12-11 15:07:39 +08:00
Yousong Zhou
f40cbe41b6 Automated cherry pick of #4084: httputils: use http.ProxyFromEnvironment by default (#4086)
* 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:47 +08:00
屈轩
345f008916 fix: 子订阅更改项目时也同步更新external project项目信息 (#4070) 2019-12-10 21:12:41 +08:00
Qu Xuan
7be54fefee fix: 导出用户标签不加user:前缀 2019-12-09 21:45:48 +08:00
yunion-ci-robot
0a4d5b63a0 Merge pull request #4059 from ioito/automated-cherry-pick-of-#4057-upstream-release-2.12
Automated cherry pick of #4057: fix: 避免在初始化model时设置rds skuhandler
2019-12-09 10:45:37 +08:00
屈轩
7ce699990a fix: 避免在初始化model时设置rds skuhandler 2019-12-08 12:43:18 +08:00
yunion-ci-robot
a51f74e2d8 Merge pull request #4043 from ioito/automated-cherry-pick-of-#4040-upstream-release-2.12
Automated cherry pick of #4040: fix: 返回region external_id
2019-12-07 17:42:36 +08:00
yunion-ci-robot
1fe3213b6e Merge pull request #4049 from wanyaoqi/automated-cherry-pick-of-#4047-upstream-release-2.12
Automated cherry pick of #4047: region misc bugfix
2019-12-07 17:16:37 +08:00
yunion-ci-robot
cd094ebb32 Merge pull request #4037 from ioito/automated-cherry-pick-of-#4035-upstream-release-2.12
Automated cherry pick of #4035: fix: 避免普通用户添加规则到系统安全组
2019-12-06 23:23:38 +08:00
Qu Xuan
f11f3298d7 fix: 返回region external_id 2019-12-06 20:36:22 +08:00
yunion-ci-robot
41c9dd1c5a Merge pull request #4034 from tb365/automated-cherry-pick-of-#4032-upstream-release-2.12
Automated cherry pick of #4032: image upload bugfix
2019-12-06 18:26:35 +08:00
wanyaoqi
df49302e12 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:10:47 +08:00
yunion-ci-robot
1668e2eba0 Merge pull request #4029 from tb365/automated-cherry-pick-of-#4028-upstream-release-2.12
Automated cherry pick of #4028: huawei reset password bugfix
2019-12-06 15:50:34 +08:00
Qu Xuan
f175a3eb4e fix: 避免普通用户添加规则到系统安全组 2019-12-06 14:47:01 +08:00
TangBin
8a1ee68c05 image upload bugfix 2019-12-06 10:06:34 +08:00
yunion-ci-robot
210b8c7349 Merge pull request #4023 from wanyaoqi/automated-cherry-pick-of-#4021-upstream-release-2.12
Automated cherry pick of #4021: add socket used check of deploy server
2019-12-05 14:36:35 +08:00
TangBin
264ffc5cc8 add elastic cache skus capability api 2019-12-05 11:21:48 +08:00
TangBin
235dabdfae elastic cache task bugfix 2019-12-05 11:21:48 +08:00
TangBin
7e04910c9c huawei reset password bugfix 2019-12-05 11:21:48 +08:00
yunion-ci-robot
a40cf5e478 Merge pull request #4001 from tb365/automated-cherry-pick-of-#3999-upstream-release-2.12
Automated cherry pick of #3999: cloudregion cities filter
2019-12-04 16:12:35 +08:00
TangBin
81baf01309 yunionmeta offline data using gzip files disk billing type error fix 2019-12-04 14:50:00 +08:00
TangBin
95e7368f2e cloudregion cities filter 2019-12-04 14:50:00 +08:00
wanyaoqi
d1049ca209 add socket used check of deploy server 2019-12-04 11:41:47 +08:00
yunion-ci-robot
c10748991b Merge pull request #4018 from yousong/automated-cherry-pick-of-#4016-upstream-release-2.12
Automated cherry pick of #4016: hostman: hostinfo: turn off report_ignored_msrs
2019-12-04 11:04:34 +08:00
yunion-ci-robot
ee1dd15bf6 Merge pull request #4014 from swordqiu/automated-cherry-pick-of-#4013-upstream-release-2.12
Automated cherry pick of #4013: fix: network-addresses add created_at column
2019-12-04 10:46:33 +08:00
yunion-ci-robot
cf9f709f9a Merge pull request #3996 from ioito/automated-cherry-pick-of-#3994-upstream-release-2.12
Automated cherry pick of #3994: fix: 避免每次重启region同步rds sku, 避免新加公有云账号未能及时同步sku问题
2019-12-04 10:34:36 +08:00
Yousong Zhou
b1f1ed5048 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:23:10 +00:00
yunion-ci-robot
a0d2d1961a Merge pull request #4011 from ioito/automated-cherry-pick-of-#4009-upstream-release-2.12
Automated cherry pick of #4009: fix: 未设置密码时,使用随机密码
2019-12-04 10:16:33 +08:00
yunion-ci-robot
bed7635ff1 Merge pull request #4006 from ioito/automated-cherry-pick-of-#4004-upstream-release-2.12
Automated cherry pick of #4004: fix: 忽略名称条件,只要cpu,mem一致就不再同步
2019-12-04 10:14:34 +08:00
Qiu Jian
40af1680ed fix: network-addresses add created_at column 2019-12-04 10:04:37 +08:00
Qu Xuan
8b067089e1 fix: 未设置密码时,使用随机密码 2019-12-03 19:19:16 +08:00
Qu Xuan
76db8ff957 fix: 忽略名称条件,只要cpu,mem一致就不再同步 2019-12-03 16:29:51 +08:00
yunion-ci-robot
834963ec18 Merge pull request #3984 from yousong/automated-cherry-pick-of-#3978-upstream-release-2.12
Automated cherry pick of #3978: cloudnet: fix validating "action"
2019-12-03 00:40:33 +08:00
Qu Xuan
21bc1ccd42 fix: 避免每次重启region同步rds sku, 避免新加公有云账号未能及时同步sku问题 2019-12-02 17:54:55 +08:00
yunion-ci-robot
6bf4b4f168 Merge pull request #3991 from ioito/automated-cherry-pick-of-#3989-upstream-release-2.12
Automated cherry pick of #3989: fix: avoid index out of range
2019-12-02 17:40:35 +08:00
Zexi Li
37d19a591f Merge pull request #3981 from rainzm/automated-cherry-pick-of-#3979-upstream-release-2.12
Automated cherry pick of #3979: feat(region): Add suspend feature for vmware guest
2019-12-02 10:35:19 +08:00
Qu Xuan
74c8d17700 fix: avoid index out of range 2019-12-02 10:24:32 +08:00
郑雨
c5dfc0dbe8 feat(region): Add suspend feature for vmware guest 2019-11-29 16:10:31 +08:00
Yousong Zhou
f33f1cb540 cloudnet: return non-nil data on validata create data pass 2019-11-29 08:03:07 +00:00
Yousong Zhou
52c8c32d3b climc: cloudnet: fix passing invalid port on creating rules 2019-11-29 08:03:07 +00:00
Yousong Zhou
7c9659225d cloudnet: fix validating "action" 2019-11-29 08:03:07 +00:00
yunion-ci-robot
75b71f6c30 Merge pull request #3971 from rainzm/automated-cherry-pick-of-#3932-upstream-release-2.12
Automated cherry pick of #3932: fix(notify): Check input parameters and return when error occury
2019-11-29 11:49:30 +08:00
郑雨
165a83adfb fix(notify): Check input parameters and return when error occury 2019-11-29 11:16:00 +08:00
yunion-ci-robot
cf50b302a9 Merge pull request #3965 from ioito/automated-cherry-pick-of-#3957-upstream-release-2.12
Automated cherry pick of #3957: fix: 修复rds普通后台下账号权限问题
2019-11-28 18:21:30 +08:00
Qu Xuan
8c238edba6 fix: 修复rds普通后台下账号权限问题 2019-11-28 17:38:14 +08:00
yunion-ci-robot
2a49903ec4 Merge pull request #3960 from wanyaoqi/automated-cherry-pick-of-#3958-upstream-release-2.12
Automated cherry pick of #3958: add lock on host detected offline
2019-11-28 14:15:31 +08:00
wanyaoqi
9cfa0baee4 add lock on host detected offline 2019-11-28 11:22:42 +08:00
yunion-ci-robot
9f5bae0848 Merge pull request #3956 from ioito/automated-cherry-pick-of-#3939-upstream-release-2.12
Automated cherry pick of #3939: fix: 避免解绑eip后可以立即syncstatus操作导致同步eip出现问题
2019-11-27 22:08:29 +08:00
屈轩
f929b7d04c Merge branch 'release/2.12' into automated-cherry-pick-of-#3939-upstream-release-2.12 2019-11-27 21:40:04 +08:00
Qu Xuan
57c21a2eb7 fix: 避免解绑eip后可以立即syncstatus操作导致同步eip出现问题 2019-11-27 21:30:40 +08:00
yunion-ci-robot
3312592a6e Merge pull request #3953 from ioito/automated-cherry-pick-of-#3943-upstream-release-2.12
Automated cherry pick of #3943: fix: remove rds accout,database tenant attr
2019-11-27 21:26:28 +08:00
yunion-ci-robot
115fbc9f6c Merge pull request #3935 from ioito/automated-cherry-pick-of-#3933-upstream-release-2.12
Automated cherry pick of #3933: fix: 抽离disable delete,避免删除账号失败
2019-11-27 21:05:28 +08:00
yunion-ci-robot
1bd2cc7c2a Merge pull request #3949 from wanyaoqi/automated-cherry-pick-of-#3922-upstream-release-2.12
Automated cherry pick of #3922: snapshot show storage type
2019-11-27 20:58:31 +08:00
yunion-ci-robot
d20b7cd8d1 Merge pull request #3942 from tb365/automated-cherry-pick-of-#3940-upstream-release-2.12
Automated cherry pick of #3940: 修复不支持redis的公有云账号会频繁读取oss数据的问题
2019-11-27 20:54:29 +08:00
Zexi Li
2c3e420c9e Merge pull request #3951 from swordqiu/automated-cherry-pick-of-#3950-upstream-release-2.12
Automated cherry pick of #3950: fix: 1. service-config not support key=value pair 2. sync_purge_removed_resources not working
2019-11-27 20:51:58 +08:00
Qu Xuan
fedbcb7e62 fix: remove rds accout,database tenant attr 2019-11-27 20:50:34 +08:00
yunion-ci-robot
2c56e3c0ea Merge pull request #3946 from wanyaoqi/automated-cherry-pick-of-#3944-upstream-release-2.12
Automated cherry pick of #3944: fix image set chksum
2019-11-27 20:48:33 +08:00
Qiu Jian
940626f02b fix: 1. service-config not support key=value pair 2. sync_purge_removed_resources not working 2019-11-27 20:43:53 +08:00
Qu Xuan
6279046908 fix: 抽离disable delete,避免删除账号失败 2019-11-27 20:32:21 +08:00
Zexi Li
ae4ac10a9d Merge pull request #3937 from swordqiu/automated-cherry-pick-of-#3936-upstream-release-2.12
Automated cherry pick of #3936: fix: cloud account may not be visible temporarily after create
2019-11-27 20:25:51 +08:00
TangBin
603deb46b2 elastic cache owner 2019-11-27 19:33:09 +08:00
TangBin
9b338f1ac1 validate prepaid resource delete condition 2019-11-27 19:33:09 +08:00
TangBin
7b95e9ffcb 修复不支持redis的公有云账号会频繁读取oss数据的问题 2019-11-27 19:33:09 +08:00
wanyaoqi
dd932abdea snapshot show storage type 2019-11-27 19:17:10 +08:00
wanyaoqi
4442ec9ef5 fix image set chksum 2019-11-27 18:27:45 +08:00
Qiu Jian
04118849ca fix: cloud account may not be visible temporarily after create 2019-11-27 16:23:26 +08:00
yunion-ci-robot
fb93c05e8c Merge pull request #3909 from ioito/automated-cherry-pick-of-#3907-upstream-release-2.12
Automated cherry pick of #3907: fix: rds创建账号所属项目跟随rds实例
2019-11-27 09:09:27 +08:00
yunion-ci-robot
4c7962d4f9 Merge pull request #3900 from tb365/automated-cherry-pick-of-#3897-upstream-release-2.12
Automated cherry pick of #3897: huawei disk detach bugfix
2019-11-27 09:06:28 +08:00
yunion-ci-robot
cc0ad1bf6c Merge pull request #3912 from ioito/automated-cherry-pick-of-#3910-upstream-release-2.12
Automated cherry pick of #3910: fix: 避免有,Azure更新安全组规则出错
2019-11-27 08:57:28 +08:00
yunion-ci-robot
9d6cf8c9bb Merge pull request #3904 from ioito/automated-cherry-pick-of-#3902-upstream-release-2.12
Automated cherry pick of #3902: fix: 普通后台也返回cloudregion_id信息
2019-11-27 08:54:28 +08:00
Qu Xuan
5e9ca17c0e fix: 避免有,Azure更新安全组规则出错 2019-11-26 20:51:27 +08:00
Qu Xuan
3efd386239 fix: rds创建账号所属项目跟随rds实例 2019-11-26 20:39:03 +08:00
Qu Xuan
d11deb726e fix: 普通后台也返回cloudregion_id信息 2019-11-26 19:12:51 +08:00
Zexi Li
00409a5afd Merge pull request #3893 from swordqiu/automated-cherry-pick-of-#3892-upstream-release-2.12
Automated cherry pick of #3892: fix: baremetal restart fail after deployment
2019-11-26 17:46:02 +08:00
Zexi Li
20895d9d3a Merge pull request #3885 from swordqiu/automated-cherry-pick-of-#3884-upstream-release-2.12
Automated cherry pick of #3884: fix: error in service config format cause service halt
2019-11-26 15:45:39 +08:00
yunion-ci-robot
6858c0bf42 Merge pull request #3878 from wanyaoqi/automated-cherry-pick-of-#3876-upstream-release-2.12
Automated cherry pick of #3876: misc fix
2019-11-26 13:38:27 +08:00
yunion-ci-robot
016812079e Merge pull request #3875 from ioito/automated-cherry-pick-of-#3873-upstream-release-2.12
Automated cherry pick of #3873: fix: 修复rds重置密码未正确接收参数问题
2019-11-26 13:32:28 +08:00
TangBin
98b74e228e huawei disk detach bugfix 2019-11-26 11:41:55 +08:00
Qiu Jian
9e2bf1d7e9 fix: error in service config format cause service halt 2019-11-26 02:55:19 +08:00
Qiu Jian
f91a3d75e1 fix: baremetal restart fail after deployment 2019-11-26 02:42:47 +08:00
Zexi Li
7c5f0144e2 Merge pull request #3890 from swordqiu/automated-cherry-pick-of-#3887-upstream-release-2.12
Automated cherry pick of #3887: fix: host-add-netif requires index
2019-11-26 00:44:31 +08:00
Zexi Li
303c250b5c Merge pull request #3880 from swordqiu/automated-cherry-pick-of-#3879-upstream-release-2.12
Automated cherry pick of #3879: fix: keystone project resource count not set set to zero
2019-11-26 00:41:15 +08:00
Qiu Jian
af4e49da15 fix: host-add-netif requires index 2019-11-25 23:47:49 +08:00
Qiu Jian
39c7b262cd fix: keystone project resource count not set set to zero 2019-11-25 22:26:49 +08:00
wanyaoqi
b99e734ee7 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:27:18 +08:00
Qu Xuan
a5eb231c7b fix: 修复rds重置密码未正确接收参数问题 2019-11-25 19:19:36 +08:00
yunion-ci-robot
a322c4eccb Merge pull request #3870 from ioito/automated-cherry-pick-of-#3868-upstream-release-2.12
Automated cherry pick of #3868: fix: 避免openstack重装系统,过不了镜像系统盘大小校验
2019-11-25 17:19:28 +08:00
Qu Xuan
392ae25406 fix: 避免openstack重装系统,过不了镜像系统盘大小校验 2019-11-25 15:04:16 +08:00
yunion-ci-robot
ab27e69059 Merge pull request #3865 from zexi/automated-cherry-pick-of-#3863-upstream-release-2.12
Automated cherry pick of #3863: baremetal: fix init baremetals fatal exit
2019-11-25 10:22:27 +08:00
Zexi Li
482f91b598 baremetal: fix init baremetals fatal exit 2019-11-25 09:40:13 +08:00
yunion-ci-robot
24b9d520af Merge pull request #3838 from tb365/automated-cherry-pick-of-#3837-upstream-release-2.12
Automated cherry pick of #3837: redis prepaid instance create bugfix
2019-11-22 22:18:27 +08:00
yunion-ci-robot
fea8acee9c Merge pull request #3859 from ioito/automated-cherry-pick-of-#3857-upstream-release-2.12
Automated cherry pick of #3857: fix: 避免旧密码覆盖新重置的密码
2019-11-22 21:53:26 +08:00
Qu Xuan
6c486bea93 fix: 避免旧密码覆盖新重置的密码 2019-11-22 20:46:29 +08:00
TangBin
f3cab30db7 redis prepaid instance create bugfix 2019-11-22 19:03:53 +08:00
yunion-ci-robot
5faa9d37ad Merge pull request #3842 from wanyaoqi/automated-cherry-pick-of-#3840-upstream-release-2.12
Automated cherry pick of #3840: instance snapshot bugfix
2019-11-22 18:57:25 +08:00
Zexi Li
6c2dfb0d95 Merge pull request #3855 from swordqiu/automated-cherry-pick-of-#3854-upstream-release-2.12
Automated cherry pick of #3854: fix: cloud-region filter by domain not support share_mode
2019-11-22 18:05:31 +08:00
Zexi Li
1deec8fff8 Merge pull request #3849 from swordqiu/automated-cherry-pick-of-#3848-upstream-release-2.12
Automated cherry pick of #3848: fix: user join read-only group response timeout
2019-11-22 18:04:25 +08:00
Qiu Jian
8b8f133bd6 fix: cloud-region filter by domain not support share_mode 2019-11-22 17:44:41 +08:00
Qiu Jian
3c969c5b44 fix: user join read-only group response timeout 2019-11-22 16:19:01 +08:00
Zexi Li
ede5310326 Merge pull request #3845 from rainzm/automated-cherry-pick-of-#3844-upstream-release-2.12
Automated cherry pick of #3844: fix(region): Fix the panic of nil map when syncing snapshotpolicy
2019-11-22 11:38:53 +08:00
郑雨
10b0bdc458 fix(region): Fix the panic of nil map when syncing snapshotpolicy 2019-11-22 10:29:39 +08:00
wanyaoqi
9acd1caf31 instance snapshot bugfix 2019-11-21 20:47:37 +08:00
yunion-ci-robot
98a834ea97 Merge pull request #3835 from wanyaoqi/automated-cherry-pick-of-#3833-upstream-release-2.12
Automated cherry pick of #3833: host complie error
2019-11-21 18:50:26 +08:00
wanyaoqi
6f575a0c36 host complie error 2019-11-21 18:42:03 +08:00
Zexi Li
5ca79012a2 Merge pull request #3826 from wanyaoqi/automated-cherry-pick-of-#3824-upstream-release-2.12
Automated cherry pick of #3824: fix resize disk
2019-11-21 18:22:19 +08:00
yunion-ci-robot
42f788cf60 Merge pull request #3831 from ioito/automated-cherry-pick-of-#3829-upstream-release-2.12
Automated cherry pick of #3829: fix: 清理aliyun rds多余的包年包月参数转换
2019-11-21 16:23:24 +08:00
yunion-ci-robot
f55e44a94c Merge pull request #3817 from tb365/automated-cherry-pick-of-#3813-upstream-release-2.12
Automated cherry pick of #3813: aws upload image bugfix & huawei change default disk type to SAS
2019-11-21 15:37:25 +08:00
Qu Xuan
0b74750d07 fix: 清理aliyun rds多余的包年包月参数转换 2019-11-21 14:59:54 +08:00
wanyaoqi
46d01a63ad fix host register 2019-11-21 10:49:45 +08:00
Zexi Li
3bd0e0578d Merge pull request #3811 from wanyaoqi/automated-cherry-pick-of-#3749-upstream-release-2.12
Automated cherry pick of #3749: hugepage fix
2019-11-21 00:23:09 +08:00
Zexi Li
51f13cb6f1 Merge pull request #3815 from swordqiu/automated-cherry-pick-of-#3809-upstream-release-2.12
Automated cherry pick of #3809: feature: add network-status methods to change status of on-premise network
2019-11-21 00:22:07 +08:00
yunion-ci-robot
ae4a5f73fe Merge pull request #3823 from wanyaoqi/automated-cherry-pick-of-#3798-upstream-release-2.12
Automated cherry pick of #3798: instance snapshot save secgrps
2019-11-21 00:16:23 +08:00
yunion-ci-robot
19db4ea583 Merge pull request #3819 from rainzm/automated-cherry-pick-of-#3786-upstream-release-2.12
Automated cherry pick of #3786: fix(region): Add public/private feature for Guest Image
2019-11-21 00:05:24 +08:00
yunion-ci-robot
a03084b80e Merge pull request #3794 from yousong/automated-cherry-pick-of-#3787-upstream-release-2.12
Automated cherry pick of #3787: networks: 改进创建错误处理
2019-11-20 22:24:24 +08:00
wanyaoqi
2e4c8bdc90 fix resize disk 2019-11-20 22:03:38 +08:00
yunion-ci-robot
16b66b0043 Merge pull request #3807 from tb365/automated-cherry-pick-of-#3806-upstream-release-2.12
Automated cherry pick of #3806: redis acl update bugfix
2019-11-20 21:22:23 +08:00
wanyaoqi
c41df78db9 instance snapshot save secgrps 2019-11-20 21:21:06 +08:00
TangBin
078f7f87d3 add elastic cache extra details 2019-11-20 20:03:20 +08:00
TangBin
724c82c2b1 vm create bugfix 2019-11-20 20:03:20 +08:00
TangBin
11cd177576 eip associate bugfix 2019-11-20 20:03:20 +08:00
TangBin
441e533a43 redis backup restore bugfix 2019-11-20 20:03:20 +08:00
TangBin
26d22319cd redis acl update bugfix 2019-11-20 20:03:20 +08:00
郑雨
0d82b55f79 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-20 19:10:35 +08:00
TangBin
49062aa3f9 aws upload image bugfix & huawei change default disk type to SAS 2019-11-20 19:07:33 +08:00
Qiu Jian
b9c89511a1 feature: add network-status methods to change status of on-premise network 2019-11-20 19:03:37 +08:00
wanyaoqi
cdb676ef90 hugepage fix 2019-11-20 18:44:54 +08:00
Zexi Li
36e853e275 Merge pull request #3803 from rainzm/automated-cherry-pick-of-#3802-upstream-release-2.12
Automated cherry pick of #3802: feat(notify): Add interface contacts/users for Notify
2019-11-20 17:55:26 +08:00
Rain
0218b6ca00 feat(notify): Add interface contacts/users for Notify
The interface "contacts/users" return the users who has contacts or not.
2019-11-20 17:00:19 +08:00
yunion-ci-robot
780d5022d3 Merge pull request #3799 from rainzm/automated-cherry-pick-of-#3772-upstream-release-2.12
Automated cherry pick of #3772: refactor(region): Optimization for snapshotpolicy sync
2019-11-20 16:13:24 +08:00
郑雨
2e06d2ab46 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:10:47 +08:00
Zexi Li
6bb97acb1e Merge pull request #3796 from swordqiu/automated-cherry-pick-of-#3795-upstream-release-2.12
Automated cherry pick of #3795: fix: recover baremetal status after cdrom operations
2019-11-20 14:35:22 +08:00
Qiu Jian
228fae2d73 fix: recover baremetal status after cdrom operations 2019-11-20 10:13:23 +08:00
Yousong Zhou
7f6435a48a cloudregions: 统一"OneCloud" provider过滤条件 2019-11-20 01:56:16 +00:00
Yousong Zhou
96372ac317 networks: 改进创建错误处理 2019-11-20 01:56:16 +00:00
yunion-ci-robot
ceccc16d86 Merge pull request #3790 from yousong/automated-cherry-pick-of-#3788-upstream-release-2.12
Automated cherry pick of #3788: lbagent: pidfile: add PidFile
2019-11-19 23:23:23 +08:00
yunion-ci-robot
e3582e9bd4 Merge pull request #3783 from yousong/automated-cherry-pick-of-#3778-upstream-release-2.12
Automated cherry pick of #3778: treewide: 避免使用fmt.Print记录日志
2019-11-19 23:16:25 +08:00
Yousong Zhou
26ea46bac2 lbagent: pidfile: remove ReadPidFile() 2019-11-19 12:27:44 +00:00
Yousong Zhou
062cc32f7b lbagent: stop daemons: use agentutils.PidFile 2019-11-19 12:27:44 +00:00
Yousong Zhou
13795ae495 lbagent: haproxy: use agentutils.PidFile 2019-11-19 12:27:44 +00:00
Yousong Zhou
3180fab209 lbagent: gobetween: use agentutils.PidFile 2019-11-19 12:27:44 +00:00
Yousong Zhou
467756521c lbagent: telegraf: use agentutils.PidFile 2019-11-19 12:27:44 +00:00
Yousong Zhou
7a1c1b1daa lbagent: keepalived: use agentutils.PidFile 2019-11-19 12:27:44 +00:00
Yousong Zhou
a648ef13e4 lbagent: pidfile: add PidFile 2019-11-19 12:27:44 +00:00
yunion-ci-robot
bf34e20c3e Merge pull request #3780 from tb365/automated-cherry-pick-of-#3779-upstream-release-2.12
Automated cherry pick of #3779: redis create bugfix & redis acl create bugfix
2019-11-19 19:42:25 +08:00
Yousong Zhou
3834490cca vendor: update sqlchemy 2019-11-19 11:24:57 +00:00
Yousong Zhou
9fb52fd57d treewide: 避免使用fmt.Print记录日志 2019-11-19 11:24:57 +00:00
TangBin
6ea039d2a4 redis create bugfix & redis acl create bugfix 2019-11-19 17:58:07 +08:00
Zexi Li
9506c4a914 Merge pull request #3775 from ioito/automated-cherry-pick-of-#3773-upstream-release-2.12
Automated cherry pick of #3773: fix: 调整存储容量后刷新调度缓存
2019-11-19 16:10:00 +08:00
Qu Xuan
9aa0a87ce8 fix: 调整存储容量后刷新调度缓存 2019-11-19 14:34:34 +08:00
yunion-ci-robot
24c1f2f3ff Merge pull request #3771 from tb365/automated-cherry-pick-of-#3769-upstream-release-2.12
Automated cherry pick of #3769: elastic cache auth_mode status & password reset bugfix
2019-11-19 12:53:25 +08:00
TangBin
894f54bd30 elastic cache auth_mode status & password reset bugfix 2019-11-19 11:48:37 +08:00
Zexi Li
cbcc0f1137 Merge pull request #3764 from swordqiu/automated-cherry-pick-of-#3763-upstream-release-2.12
Automated cherry pick of #3763: fix: cloudaccount list duplicate entries due to join with cloudproviders
2019-11-19 10:49:23 +08:00
Zexi Li
ee1e9cf07f Merge pull request #3733 from yousong/automated-cherry-pick-of-#3731-upstream-release-2.12
Automated cherry pick of #3731: build: 避免并发构建rpm时触发file exists错误
2019-11-19 10:48:08 +08:00
yunion-ci-robot
6b229bec67 Merge pull request #3767 from zexi/automated-cherry-pick-of-#3766-upstream-release-2.12
Automated cherry pick of #3766: region: host list filter by cdrom_boot
2019-11-19 10:13:22 +08:00
Zexi Li
918c2e2fdf region: host list filter by cdrom_boot 2019-11-19 01:45:00 +08:00
yunion-ci-robot
b10e34f90a Merge pull request #3762 from wanyaoqi/automated-cherry-pick-of-#3760-upstream-release-2.12
Automated cherry pick of #3760: allow delete standard and shared image
2019-11-18 21:52:26 +08:00
Qiu Jian
af98bc824b fix: cloudaccount list duplicate entries due to join with cloudproviders 2019-11-18 21:51:26 +08:00
wanyaoqi
f5b871f9a9 allow delete standard and shared image 2019-11-18 21:17:06 +08:00
yunion-ci-robot
5ee81acd38 Merge pull request #3758 from rainzm/automated-cherry-pick-of-#3757-upstream-release-2.12
Automated cherry pick of #3757: fix(region): Cluster automatically when syncing snapshotpolicy
2019-11-18 21:10:23 +08:00
郑雨
07b8db5bd1 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:54:11 +08:00
yunion-ci-robot
38950466e2 Merge pull request #3756 from wanyaoqi/automated-cherry-pick-of-#3754-upstream-release-2.12
Automated cherry pick of #3754: fix login key on clone
2019-11-18 19:44:23 +08:00
yunion-ci-robot
f7767adc4d Merge pull request #3722 from tb365/automated-cherry-pick-of-#3721-upstream-release-2.12
Automated cherry pick of #3721: add elastic cache sku default policy
2019-11-18 19:43:24 +08:00
yunion-ci-robot
2bbaf4e81a Merge pull request #3751 from swordqiu/automated-cherry-pick-of-#3750-upstream-release-2.12
Automated cherry pick of #3750: fix: quick fix user password verification failure
2019-11-18 19:41:25 +08:00
yunion-ci-robot
391dabc4f9 Merge pull request #3716 from tb365/automated-cherry-pick-of-#3711-upstream-release-2.12
Automated cherry pick of #3711: create vm attach eip fix
2019-11-18 19:32:24 +08:00
wanyaoqi
0fd5ff9ecb fix login key on clone 2019-11-18 19:24:17 +08:00
yunion-ci-robot
17dfc3d34d Merge pull request #3691 from tb365/automated-cherry-pick-of-#3690-upstream-release-2.12
Automated cherry pick of #3690: remove useless aws instance type config
2019-11-18 19:22:22 +08:00
yunion-ci-robot
40acdc8c3f Merge pull request #3714 from ioito/automated-cherry-pick-of-#3712-upstream-release-2.12
Automated cherry pick of #3712: fix: 避免匹配到售罄的套餐
2019-11-18 19:14:24 +08:00
Zexi Li
ce73403de9 Merge pull request #3753 from swordqiu/automated-cherry-pick-of-#3679-upstream-release-2.12
Automated cherry pick of #3679: feature: cloud account share_mode support
2019-11-18 17:48:34 +08:00
Qiu Jian
83769d4d58 feature: cloud account share_mode support 2019-11-18 17:45:51 +08:00
TangBin
33a3dbeaaa create vm attach eip fix 2019-11-18 17:44:03 +08:00
TangBin
451de216a0 huawei elastic change spec bugfix 2019-11-18 17:33:14 +08:00
TangBin
13ca3a82b8 add elastic cache sku default policy 2019-11-18 17:33:14 +08:00
Qiu Jian
b6d7e9f238 fix: quick fix user password verification failure 2019-11-18 16:58:36 +08:00
yunion-ci-robot
d5a9e68a71 Merge pull request #3747 from rainzm/automated-cherry-pick-of-#3746-upstream-release-2.12
Automated cherry pick of #3746: fix(region): Set name and status when creating and syncing snapshotpolicycache
2019-11-18 16:15:23 +08:00
郑雨
49cf5caec0 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:38:43 +08:00
yunion-ci-robot
dee8c2d705 Merge pull request #3744 from swordqiu/automated-cherry-pick-of-#3743-upstream-release-2.12
Automated cherry pick of #3743: fix: filter out expire user passwords
2019-11-18 14:50:23 +08:00
yunion-ci-robot
24216d97ca Merge pull request #3729 from swordqiu/automated-cherry-pick-of-#3728-upstream-release-2.12
Automated cherry pick of #3728: fix: always lock login-failed user when PasswordErrorLockCount not initialized
2019-11-18 14:49:22 +08:00
Qiu Jian
7d1d6469d9 fix: filter out expire user passwords 2019-11-18 14:33:24 +08:00
yunion-ci-robot
7754887614 Merge pull request #3741 from rainzm/automated-cherry-pick-of-#3739-upstream-release-2.12
Automated cherry pick of #3739: fix(region): Fix the return value when sycning snapshotpolicy
2019-11-18 14:31:26 +08:00
郑雨
a6dccf3fb6 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:50:58 +08:00
yunion-ci-robot
7c4d703271 Merge pull request #3737 from rainzm/automated-cherry-pick-of-#3736-upstream-release-2.12
Automated cherry pick of #3736: fix(region): Add snapshotpolicycache module for yunionapi
2019-11-18 12:46:24 +08:00
郑雨
96d89e4ec7 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 11:40:16 +08:00
Yousong Zhou
92e492e00e build: 避免并发构建rpm时触发file exists错误 2019-11-18 02:44:08 +00:00
yunion-ci-robot
6b9a50eb5b Merge pull request #3702 from ioito/automated-cherry-pick-of-#3700-upstream-release-2.12
Automated cherry pick of #3700: fix: 避免仅返回一个zone信息
2019-11-18 09:18:22 +08:00
Qiu Jian
94e3217702 fix: always lock login-failed user when PasswordErrorLockCount not initialized 2019-11-18 08:53:29 +08:00
Zexi Li
db9ce1114e Merge pull request #3726 from swordqiu/automated-cherry-pick-of-#3724-upstream-release-2.12
Automated cherry pick of #3724: update vendor for qcloud cos-go-sdk
2019-11-18 00:36:11 +08:00
Qiu Jian
5f586ec8cd update vendor for qcloud cos-go-sdk 2019-11-16 15:20:25 +08:00
yunion-ci-robot
ee5559801f Merge pull request #3718 from ioito/automated-cherry-pick-of-#3699-upstream-release-2.12
Automated cherry pick of #3699: fix: cpuCmtbound sync for zstack
2019-11-15 20:22:21 +08:00
Qu Xuan
b4c4a14af0 fix: cpuCmtbound sync for zstack 2019-11-15 19:08:01 +08:00
Zexi Li
ec8d401cf1 Merge pull request #3697 from swordqiu/automated-cherry-pick-of-#3696-upstream-release-2.12
Automated cherry pick of #3696: fix: network-delete may fail immidiately after deleting vm
2019-11-15 18:41:07 +08:00
Qu Xuan
48c754b194 fix: 避免匹配到售罄的套餐 2019-11-15 17:52:35 +08:00
yunion-ci-robot
2b2b99a950 Merge pull request #3708 from ioito/automated-cherry-pick-of-#3593-upstream-release-2.12
Automated cherry pick of #3593: fix: 避免公有云绑定秘钥后解密密码为空
2019-11-15 17:18:21 +08:00
yunion-ci-robot
54eed99893 Merge pull request #3671 from tb365/automated-cherry-pick-of-#3670-upstream-release-2.12
Automated cherry pick of #3670: * 修复redis新建无密码及公网访问地址未同步的问题
2019-11-15 16:54:21 +08:00
Qu Xuan
01b6ff6516 fix: 避免公有云绑定秘钥后解密密码为空 2019-11-15 16:15:05 +08:00
Zexi Li
6631b2cc65 Merge pull request #3695 from wanyaoqi/automated-cherry-pick-of-#3693-upstream-release-2.12
Automated cherry pick of #3693: bm register find network
2019-11-15 16:03:07 +08:00
yunion-ci-robot
ea7aaa640a Merge pull request #3689 from tb365/automated-cherry-pick-of-#3687-upstream-release-2.12
Automated cherry pick of #3687: elastic cache purge bugfix
2019-11-15 15:56:21 +08:00
Zexi Li
addfe349f1 Merge pull request #3705 from zexi/automated-cherry-pick-of-#3703-upstream-release-2.12
Automated cherry pick of #3703: webconsole: skip spice access interval check
2019-11-15 15:06:49 +08:00
Zexi Li
36468628cb webconsole: skip spice access interval check 2019-11-15 15:06:45 +08:00
Qu Xuan
d86171f906 fix: 避免仅返回一个zone信息 2019-11-15 14:36:56 +08:00
Qiu Jian
8361b96ef8 fix: network-delete may fail immidiately after deleting vm 2019-11-15 12:40:44 +08:00
wanyaoqi
45177492a5 bm register find network 2019-11-15 12:08:47 +08:00
TangBin
ba2da6707f huawei config vm config fix 2019-11-15 11:45:07 +08:00
TangBin
6efd09592f remove useless aws instance type config 2019-11-15 11:45:06 +08:00
TangBin
4141bd2b7d elastic cache purge bugfix 2019-11-15 11:38:28 +08:00
TangBin
5adeeb145a * 修复redis新建无密码及公网访问地址未同步的问题 2019-11-15 11:34:02 +08:00
yunion-ci-robot
02a8de8993 Merge pull request #3686 from ioito/automated-cherry-pick-of-#3684-upstream-release-2.12
Automated cherry pick of #3684: fix: 避免有些云不能创建default名称安全组
2019-11-15 10:59:20 +08:00
yunion-ci-robot
353e7658dc Merge pull request #3682 from swordqiu/automated-cherry-pick-of-#3681-upstream-release-2.12
Automated cherry pick of #3681: fix: baremetal server rebuild root fail to cache image
2019-11-15 10:32:21 +08:00
Qu Xuan
b4e712fe7d fix: 避免有些云不能创建default名称安全组 2019-11-15 10:31:28 +08:00
yunion-ci-robot
8b9d903098 Merge pull request #3659 from tb365/automated-cherry-pick-of-#3657-upstream-release-2.12
Automated cherry pick of #3657: user-project create api bugfix
2019-11-15 09:35:22 +08:00
Qiu Jian
95dd972ff2 fix: baremetal server rebuild root fail to cache image 2019-11-15 02:35:02 +08:00
yunion-ci-robot
4fcfbf8c08 Merge pull request #3668 from wanyaoqi/automated-cherry-pick-of-#3666-upstream-release-2.12
Automated cherry pick of #3666: gpu add export keys
2019-11-14 23:56:22 +08:00
yunion-ci-robot
fd0eb3e12c Merge pull request #3675 from ioito/automated-cherry-pick-of-#3673-upstream-release-2.12
Automated cherry pick of #3673: fix: 避免region同名问题
2019-11-14 22:07:21 +08:00
yunion-ci-robot
d76f9635f0 Merge pull request #3665 from ioito/automated-cherry-pick-of-#3663-upstream-release-2.12
Automated cherry pick of #3663: fix: aws 安全组desc为必传字段
2019-11-14 21:59:21 +08:00
Qu Xuan
26bc4b10ad fix: 避免region同名问题 2019-11-14 18:31:01 +08:00
wanyaoqi
f9e57aad03 gpu add export keys 2019-11-14 16:23:45 +08:00
Qu Xuan
e6f12a7d35 fix: aws 安全组desc为必传字段 2019-11-14 14:37:19 +08:00
yunion-ci-robot
50fc75aab6 Merge pull request #3661 from swordqiu/automated-cherry-pick-of-#3660-upstream-release-2.12
Automated cherry pick of #3660: fix: check password complexity even if password length is zero
2019-11-14 13:11:20 +08:00
Qiu Jian
5aab6a4672 fix: check password complexity even if password length is zero 2019-11-14 12:55:55 +08:00
yunion-ci-robot
004f7f78ba Merge pull request #3655 from swordqiu/automated-cherry-pick-of-#3654-upstream-release-2.12
Automated cherry pick of #3654: fix: send full reason body for *_fail_reason
2019-11-14 12:41:19 +08:00
yunion-ci-robot
eb92a59297 Merge pull request #3652 from swordqiu/automated-cherry-pick-of-#3649-upstream-release-2.12
Automated cherry pick of #3649: fix: agent-list show zone info
2019-11-14 12:39:20 +08:00
yunion-ci-robot
8ddc46a09f Merge pull request #3647 from wanyaoqi/automated-cherry-pick-of-#3645-upstream-release-2.12
Automated cherry pick of #3645: baremetal register optimize
2019-11-14 12:37:20 +08:00
TangBin
4a3088e23e user-project create api bugfix 2019-11-14 11:56:21 +08:00
Qiu Jian
4b1ae7ee6a fix: send full reason body for *_fail_reason 2019-11-14 11:35:10 +08:00
yunion-ci-robot
6155e6b83e Merge pull request #3608 from yousong/automated-cherry-pick-of-#3606-upstream-release-2.12
Automated cherry pick of #3606: influxdb: 记录结果中的tags
2019-11-14 00:25:20 +08:00
yunion-ci-robot
52542c4797 Merge pull request #3638 from ioito/automated-cherry-pick-of-#3636-upstream-release-2.12
Automated cherry pick of #3636: fix: 避免associationtype异常
2019-11-14 00:10:20 +08:00
Qiu Jian
23288535f0 fix: agent-list show zone info 2019-11-13 23:33:45 +08:00
yunion-ci-robot
d94401c81f Merge pull request #3580 from ioito/automated-cherry-pick-of-#3578-upstream-release-2.12
Automated cherry pick of #3578: fix: 创建数据库时指定账号权限时,避免数据库出现中间状态
2019-11-13 20:31:21 +08:00
wanyaoqi
0a91b14974 baremetal register optimize 2019-11-13 20:24:38 +08:00
Qu Xuan
a349f18ac8 fix: 避免associationtype异常 2019-11-13 19:57:17 +08:00
yunion-ci-robot
0122a10d13 Merge pull request #3596 from tb365/automated-cherry-pick-of-#3595-upstream-release-2.12
Automated cherry pick of #3595: elastic cache sync bugfix
2019-11-13 19:50:19 +08:00
yunion-ci-robot
608a81f23d Merge pull request #3633 from ioito/automated-cherry-pick-of-#3631-upstream-release-2.12
Automated cherry pick of #3631: fix: 避免匹配到64导致version是6
2019-11-13 19:46:19 +08:00
yunion-ci-robot
13e9e0bac2 Merge pull request #3623 from swordqiu/automated-cherry-pick-of-#3621-upstream-release-2.12
Automated cherry pick of #3621: fix: nic teaming/bonding not working properly
2019-11-13 17:49:19 +08:00
Zexi Li
1967734321 Merge pull request #3643 from zexi/automated-cherry-pick-of-#3641-upstream-release-2.12
Automated cherry pick of #3641: climc: fix k8s sa not register
2019-11-13 16:49:53 +08:00
Zexi Li
0472ad2099 climc: fix k8s sa not register 2019-11-13 16:49:01 +08:00
Qu Xuan
1b86e01fa0 fix: 避免匹配到64导致version是6 2019-11-13 14:50:20 +08:00
yunion-ci-robot
a10dbb815a Merge pull request #3629 from rainzm/automated-cherry-pick-of-#3628-upstream-release-2.12
Automated cherry pick of #3628: fix(region): Init database table 'guestgroup_tbl'
2019-11-13 11:37:19 +08:00
郑雨
fb667b4fa1 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:34:11 +08:00
TangBin
9731377ad7 elastic cache sync bugfix 2019-11-13 11:09:15 +08:00
Yousong Zhou
16d4459c87 climc: 添加lblistener{,rule}-backend-status命令 2019-11-13 02:42:09 +00:00
Yousong Zhou
df785375cd lblis, lbr: 增加查询后端状态接口 2019-11-13 02:42:09 +00:00
Yousong Zhou
064ee8cba5 lbbackends: 使用yunion.io/pkg/errors 2019-11-13 02:42:09 +00:00
Yousong Zhou
82ba269249 influxdb: 记录结果中的tags 2019-11-13 02:42:09 +00:00
Qu Xuan
90bfc06ddc fix: 创建数据库时指定账号权限时,避免数据库出现中间状态 2019-11-13 10:23:07 +08:00
yunion-ci-robot
14697aea1f Merge pull request #3613 from wanyaoqi/automated-cherry-pick-of-#3611-upstream-release-2.12
Automated cherry pick of #3611: fix resie fs
2019-11-13 01:40:19 +08:00
yunion-ci-robot
4f42e496d1 Merge pull request #3600 from ioito/automated-cherry-pick-of-#3598-upstream-release-2.12
Automated cherry pick of #3598: fix: 支持创建时指定多个安全组
2019-11-13 01:30:19 +08:00
yunion-ci-robot
8c8c2220ca Merge pull request #3592 from wanyaoqi/automated-cherry-pick-of-#3577-upstream-release-2.12
Automated cherry pick of #3577: postpaid expire support premise
2019-11-13 01:18:20 +08:00
yunion-ci-robot
504442e11e Merge pull request #3617 from yousong/automated-cherry-pick-of-#3523-upstream-release-2.12
Automated cherry pick of #3523: lockman: log bug with Errorf
2019-11-13 00:50:19 +08:00
yunion-ci-robot
c8add2b3e4 Merge pull request #3574 from ioito/automated-cherry-pick-of-#3569-upstream-release-2.12
Automated cherry pick of #3569: fix: avolid duplicate secgroup name error when create secgroup
2019-11-13 00:41:20 +08:00
Qiu Jian
e577937dc7 fix: nic teaming/bonding not working properly 2019-11-13 00:10:01 +08:00
Yousong Zhou
1912ba138b vendor: restore a few files to locally managed version 2019-11-12 15:24:40 +00:00
Yousong Zhou
6b4cb1d1b2 vendor: update 2019-11-12 15:24:40 +00:00
yunion-ci-robot
7b8ddc12d3 Merge pull request #3604 from swordqiu/automated-cherry-pick-of-#3603-upstream-release-2.12
Automated cherry pick of #3603: fix: create baremetal server with iso, baremetal register support redfish
2019-11-12 21:44:26 +08:00
yunion-ci-robot
fe5cf5c175 Merge pull request #3584 from ioito/automated-cherry-pick-of-#3582-upstream-release-2.12
Automated cherry pick of #3582: fix: 避免Openstack越过存储检查
2019-11-12 21:43:33 +08:00
Yousong Zhou
d9c6cc2dc4 lockman: test multiple lockman 2019-11-12 13:26:09 +00:00
Yousong Zhou
4348939bcd cloudcommon: options: new options for etcd lockman 2019-11-12 13:26:09 +00:00
Yousong Zhou
2e5cc6bb85 lockman: distributed lockman with etcd 2019-11-12 13:26:09 +00:00
Yousong Zhou
789b09d092 lockman: log bug with Errorf 2019-11-12 13:26:09 +00:00
wanyaoqi
20fb6991c9 fix resie fs 2019-11-12 21:07:35 +08:00
Qiu Jian
30e3c6ac14 fix: create baremetal server with iso, baremetal register support redfish 2019-11-12 20:16:36 +08:00
Qu Xuan
da3122840e fix: 支持创建时指定多个安全组 2019-11-12 20:02:21 +08:00
Zexi Li
5dfdb10a93 Merge pull request #3587 from rainzm/automated-cherry-pick-of-#3576-upstream-release-2.12
Automated cherry pick of #3576: fix(region): Check if group and guest belong to same project
2019-11-12 17:48:02 +08:00
wanyaoqi
1d90829e3a postpaid expire support premise 2019-11-12 17:25:42 +08:00
郑雨
f38a4ec148 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:41:45 +08:00
Qu Xuan
fa649cf1c4 fix: 避免Openstack越过存储检查 2019-11-12 15:17:24 +08:00
Qu Xuan
f9639714e4 fix: avolid duplicate secgroup name error when create secgroup 2019-11-12 10:13:08 +08:00
yunion-ci-robot
e4d6d88f99 Merge pull request #3538 from ioito/automated-cherry-pick-of-#3537-upstream-release-2.12
Automated cherry pick of #3537: fix: 添加rds zone返回信息
2019-11-12 01:02:18 +08:00
yunion-ci-robot
44845c2992 Merge pull request #3572 from ioito/automated-cherry-pick-of-#3571-upstream-release-2.12
Automated cherry pick of #3571: fix: 赋予rds账号权限失败后进行重试
2019-11-12 00:57:20 +08:00
yunion-ci-robot
334ffc4134 Merge pull request #3568 from wanyaoqi/automated-cherry-pick-of-#3566-upstream-release-2.12
Automated cherry pick of #3566: fix instance-snapshot create
2019-11-12 00:55:17 +08:00
yunion-ci-robot
2573715ca5 Merge pull request #3563 from tb365/automated-cherry-pick-of-#3558-upstream-release-2.12
Automated cherry pick of #3558: huawei disk attach bugfix
2019-11-12 00:31:18 +08:00
Qu Xuan
28367a8043 fix: 赋予rds账号权限失败后进行重试 2019-11-11 21:38:19 +08:00
yunion-ci-robot
6b33fa643c Merge pull request #3544 from ioito/automated-cherry-pick-of-#3535-upstream-release-2.12
Automated cherry pick of #3535: fix: remove private cloud server sku brand and provider attribute
2019-11-11 21:05:19 +08:00
wanyaoqi
cb79971c1e fix instance-snapshot create 2019-11-11 19:36:45 +08:00
yunion-ci-robot
81051293b3 Merge pull request #3560 from tb365/automated-cherry-pick-of-#3557-upstream-release-2.12
Automated cherry pick of #3557: redis sync fix
2019-11-11 17:41:17 +08:00
Qu Xuan
2047cf53e2 fix: 添加rds zone返回信息 2019-11-11 16:04:43 +08:00
yunion-ci-robot
82e8e9edcb Merge pull request #3556 from swordqiu/automated-cherry-pick-of-#3555-upstream-release-2.12
Automated cherry pick of #3555: feature: keystone add service config API and allow config services by API
2019-11-11 15:53:17 +08:00
tangbin
42cef92b51 add elastic cache delete protect 2019-11-11 14:18:37 +08:00
tangbin
93a99771ea redis sync fix 2019-11-11 14:18:37 +08:00
yunion-ci-robot
ca8c93212f Merge pull request #3567 from rainzm/automated-cherry-pick-of-#3545-upstream-release-2.12
Automated cherry pick of #3545: fix(image): Change the update process of guest image
2019-11-11 12:08:19 +08:00
郑雨
2dabbb575f 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:56:39 +08:00
yunion-ci-robot
9827b3ded5 Merge pull request #3565 from swordqiu/automated-cherry-pick-of-#3564-upstream-release-2.12
Automated cherry pick of #3564: fix: cleanup host/baremetal status code
2019-11-11 11:23:20 +08:00
Qiu Jian
375a18b4ca fix: cleanup host/baremetal status code 2019-11-11 11:17:11 +08:00
tangbin
48b121398c huawei disk attach bugfix 2019-11-11 10:38:59 +08:00
yunion-ci-robot
132b1076a8 Merge pull request #3551 from swordqiu/automated-cherry-pick-of-#3550-upstream-release-2.12
Automated cherry pick of #3550: fix: simplify object delete-fail-reason message
2019-11-11 10:00:17 +08:00
yunion-ci-robot
aa012568c7 Merge pull request #3549 from swordqiu/automated-cherry-pick-of-#3548-upstream-release-2.12
Automated cherry pick of #3548: fix: normalize baremetal sysinfo manufacture
2019-11-11 09:58:18 +08:00
yunion-ci-robot
d1c8b0317d Merge pull request #3547 from swordqiu/automated-cherry-pick-of-#3546-upstream-release-2.12
Automated cherry pick of #3546: fix: unify network used address query
2019-11-11 09:57:19 +08:00
yunion-ci-robot
774f004077 Merge pull request #3543 from swordqiu/automated-cherry-pick-of-#3542-upstream-release-2.12
Automated cherry pick of #3542: fix: server-list details report nil pointer panic
2019-11-11 09:53:18 +08:00
Qiu Jian
e6e71b0072 fix: normalize baremetal sysinfo manufacture 2019-11-10 03:52:14 +08:00
Qiu Jian
38f7cea4de feature: keystone add service config API and allow config services by API 2019-11-10 03:37:28 +08:00
Qiu Jian
bb149a364d fix: simplify object delete-fail-reason message 2019-11-08 22:56:05 +08:00
Qiu Jian
eb0e0abfd8 fix: unify network used address query 2019-11-08 21:04:21 +08:00
Qu Xuan
2979327e03 fix: remove private cloud server sku brand and provider attribute 2019-11-08 18:20:22 +08:00
Qiu Jian
3d94db7057 fix: server-list details report nil pointer panic 2019-11-08 18:13:50 +08:00
Zexi Li
020fcae072 Merge pull request #3540 from zexi/automated-cherry-pick-of-#3539-upstream-release-2.12
Automated cherry pick of #3539: climc: k8s api update
2019-11-08 18:04:34 +08:00
Zexi Li
cc3697b5fc climc: k8s api update 2019-11-08 17:54:54 +08:00
yunion-ci-robot
8982e3726a Merge pull request #3533 from tb365/automated-cherry-pick-of-#3524-upstream-release-2.12
Automated cherry pick of #3524: 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 17:46:15 +08:00
yunion-ci-robot
596b453e6f Merge pull request #3503 from tb365/automated-cherry-pick-of-#3423-upstream-release-2.12
Automated cherry pick of #3423: add rpc createuser & createproject
2019-11-08 17:15:16 +08:00
TangBin
c47a9db2a6 add rpc createuser & createproject 2019-11-08 16:21:53 +08:00
yunion-ci-robot
f2a14d0191 Merge pull request #3520 from ioito/automated-cherry-pick-of-#3486-upstream-release-2.12
Automated cherry pick of #3486: fix: 从aliyun对象存储上面同步dbinstance sku信息
2019-11-08 16:14:16 +08:00
Zexi Li
5469b661c3 Merge pull request #3499 from swordqiu/automated-cherry-pick-of-#3498-upstream-release-2.12
Automated cherry pick of #3498: fix: reserve probed ipaddr
2019-11-08 14:55:01 +08:00
yunion-ci-robot
466264f375 Merge pull request #3529 from zexi/automated-cherry-pick-of-#3528-upstream-release-2.12
Automated cherry pick of #3528: webconsole: fix baremetal ipmitool sol payload active on another session
2019-11-08 13:35:15 +08:00
TangBin
7a14386505 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:49:16 +08:00
yunion-ci-robot
ea77dd581e Merge pull request #3525 from ioito/automated-cherry-pick-of-#3518-upstream-release-2.12
Automated cherry pick of #3518: fix: 虚拟机漂移后设置新的hostId
2019-11-08 11:46:17 +08:00
Zexi Li
dd5a16b0d0 webconsole: fix baremetal ipmitool sol payload active on another session 2019-11-08 11:37:01 +08:00
Qu Xuan
8cbfd26419 fix: 从aliyun对象存储上面同步dbinstance sku信息 2019-11-08 11:15:00 +08:00
yunion-ci-robot
6a2b3a06eb Merge pull request #3519 from ioito/automated-cherry-pick-of-#3505-upstream-release-2.12
Automated cherry pick of #3505: fix: 避免因backup删除失败导致删除rds无限失败
2019-11-08 11:07:16 +08:00
Qu Xuan
e5bb7abf9f fix: 虚拟机漂移后设置新的hostId 2019-11-08 10:46:24 +08:00
yunion-ci-robot
839112e721 Merge pull request #3522 from swordqiu/automated-cherry-pick-of-#3521-upstream-release-2.12
Automated cherry pick of #3521: fix: baremetal failed to register due to duplicate storagecache
2019-11-08 10:30:15 +08:00
yunion-ci-robot
ac71a92f45 Merge pull request #3515 from ioito/automated-cherry-pick-of-#3492-upstream-release-2.12
Automated cherry pick of #3492: fix: 避免version输出不正确
2019-11-08 00:55:15 +08:00
Qiu Jian
ae00ae0afa fix: reserve probed ipaddr 2019-11-08 00:46:22 +08:00
Qiu Jian
848f8046a0 fix: baremetal failed to register due to duplicate storagecache 2019-11-07 22:45:20 +08:00
Qu Xuan
6c32814d2b fix: 避免因backup删除失败导致删除rds无限失败 2019-11-07 21:34:19 +08:00
yunion-ci-robot
14f8f39007 Merge pull request #3514 from ioito/automated-cherry-pick-of-#3500-upstream-release-2.12
Automated cherry pick of #3500: fix: 避免dbinstance created_at为空
2019-11-07 17:55:17 +08:00
Qu Xuan
0d410b0fa2 fix: 避免version输出不正确 2019-11-07 17:42:40 +08:00
Qu Xuan
8cf6328830 fix: 避免dbinstance created_at为空 2019-11-07 17:39:58 +08:00
yunion-ci-robot
17b3c83719 Merge pull request #3511 from ioito/automated-cherry-pick-of-#3510-upstream-release-2.12
Automated cherry pick of #3510: fix: 避免删除安全组失败
2019-11-07 17:22:15 +08:00
Zexi Li
4a6294bf32 Merge pull request #3506 from rainzm/automated-cherry-pick-of-#3502-upstream-release-2.12
Automated cherry pick of #3502: fix: Fix that fail to create vm with unforced instance group
2019-11-07 17:09:38 +08:00
Zexi Li
df26f2b35d Merge pull request #3509 from wanyaoqi/automated-cherry-pick-of-#3493-upstream-release-2.12
Automated cherry pick of #3493: fix isolated device attach
2019-11-07 17:08:34 +08:00
Qu Xuan
425deaeff3 fix: 避免删除安全组失败 2019-11-07 17:00:51 +08:00
yunion-ci-robot
db9b415dca Merge pull request #3504 from rainzm/automated-cherry-pick-of-#3491-upstream-release-2.12
Automated cherry pick of #3491: feat(region): Add list and delelte apis for snapshot policy cache
2019-11-07 16:56:16 +08:00
wanyaoqi
738f41ef26 add auto_start after detach or attach isolated device 2019-11-07 16:54:40 +08:00
wanyaoqi
fe7927d834 instance snapshot fix 2019-11-07 16:54:40 +08:00
wanyaoqi
63545e9012 fix isolated device attach 2019-11-07 16:54:40 +08:00
yunion-ci-robot
2119345bc8 Merge pull request #3508 from rainzm/automated-cherry-pick-of-#3507-upstream-release-2.12
Automated cherry pick of #3507: fix(region): Pass 'auto_start' parameter to GuestSaveGuestImageTask if have
2019-11-07 16:54:17 +08:00
郑雨
80f36e4bbc 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:41:30 +08:00
郑雨
8d7305953a modify import package order 2019-11-07 16:16:11 +08:00
郑雨
5f68ccd930 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 16:16:11 +08:00
郑雨
b930bf7775 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 15:28:31 +08:00
Zexi Li
6e1a684ca0 Merge pull request #3497 from swordqiu/automated-cherry-pick-of-#3494-upstream-release-2.12
Automated cherry pick of #3494: fix: skip esxi vm with nil config
2019-11-07 15:14:22 +08:00
yunion-ci-robot
4038238163 Merge pull request #3485 from tb365/automated-cherry-pick-of-#3478-upstream-release-2.12
Automated cherry pick of #3478: region sync fix
2019-11-07 15:08:18 +08:00
yunion-ci-robot
23a4807319 Merge pull request #3490 from swordqiu/automated-cherry-pick-of-#3487-upstream-release-2.12
Automated cherry pick of #3487: fix: nil pointer panic when auth decode body failed
2019-11-07 10:18:17 +08:00
Qiu Jian
6622036058 fix: skip esxi vm with nil config 2019-11-06 22:15:54 +08:00
Qiu Jian
d106f9f155 fix: nil pointer panic when auth decode body failed 2019-11-06 19:43:56 +08:00
yunion-ci-robot
b1dbb1c39e Merge pull request #3482 from rainzm/automated-cherry-pick-of-#3472-upstream-release-2.12
Automated cherry pick of #3472: fix: Add operational restrictions and fix some bugs for guest image
2019-11-06 14:36:15 +08:00
TangBin
c59e5827fb region sync fix 2019-11-06 14:33:55 +08:00
yunion-ci-robot
08f1d538f3 Merge pull request #3481 from Mjoycarry/automated-cherry-pick-of-#3431-upstream-release-2.12
Automated cherry pick of #3431: feat & fix: Add batch operator and fix some bugs for instance group
2019-11-06 13:20:15 +08:00
郑雨
7c938846c3 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:17:54 +08:00
Rain
a6f27d1883 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:15:48 +08:00
yunion-ci-robot
4d2fb41a51 Merge pull request #3477 from swordqiu/automated-cherry-pick-of-#3476-upstream-release-2.12
Automated cherry pick of #3476: fix: baremetal-event-list support since/until filter
2019-11-06 12:50:14 +08:00
yunion-ci-robot
989d292e9d Merge pull request #3474 from swordqiu/automated-cherry-pick-of-#3473-upstream-release-2.12
Automated cherry pick of #3473: fix: baremetal-prepare report admin ip using ssh client host
2019-11-06 12:46:14 +08:00
yunion-ci-robot
b57aa0e685 Merge pull request #3469 from yousong/automated-cherry-pick-of-#3468-upstream-release-2.12
Automated cherry pick of #3468: azure: fix tmp image file handling
2019-11-06 12:44:15 +08:00
yunion-ci-robot
26f17ffc1f Merge pull request #3467 from tb365/automated-cherry-pick-of-#3466-upstream-release-2.12
Automated cherry pick of #3466: redis sku sync
2019-11-06 11:03:14 +08:00
yunion-ci-robot
215dca1ab9 Merge pull request #3465 from tb365/automated-cherry-pick-of-#3463-upstream-release-2.12
Automated cherry pick of #3463: elb sync fix
2019-11-06 10:28:13 +08:00
Qiu Jian
30b460d1b7 fix: baremetal-event-list support since/until filter 2019-11-05 22:35:04 +08:00
Qiu Jian
50dde5db4b fix: baremetal-prepare report admin ip using ssh client host 2019-11-05 20:15:06 +08:00
Yousong Zhou
fc58ea1e23 azure: storagecache: fix writing sparse image file 2019-11-05 09:10:02 +00:00
Yousong Zhou
63518b29cc fileutils: add SparseFileWriter 2019-11-05 09:10:02 +00:00
Yousong Zhou
aab6c7ad00 webconsole: always do session close on pty stop 2019-11-05 09:10:02 +00:00
Yousong Zhou
6221fb8a4d fileutils: SReadSeeker: fix closing tmpfile fd 2019-11-05 09:10:02 +00:00
Yousong Zhou
2a953da906 seclib2: add doc describing the protocol on removal of tmpfile 2019-11-05 09:10:02 +00:00
Yousong Zhou
44c9fc1d1e aliyun: fix tmp image file handling 2019-11-05 09:10:02 +00:00
Yousong Zhou
e8b8a287f5 azure: fix tmp image file handling 2019-11-05 09:10:02 +00:00
TangBin
5615429875 elb sync fix 2019-11-05 16:30:58 +08:00
TangBin
4dc5989257 redis sku sync 2019-11-05 16:23:59 +08:00
yunion-ci-robot
31ed1f3f88 Merge pull request #3444 from ioito/automated-cherry-pick-of-#3428-upstream-release-2.12
Automated cherry pick of #3428: fix: 避免创建vmware磁盘快照
2019-11-04 23:04:15 +08:00
yunion-ci-robot
8df1b5a690 Merge pull request #3456 from swordqiu/automated-cherry-pick-of-#3454-upstream-release-2.12
Automated cherry pick of #3454: fix: aliyun eip associate instance ignores IncorrectInstanceStatus error
2019-11-04 22:47:14 +08:00
yunion-ci-robot
e2221d18ab Merge pull request #3433 from swordqiu/automated-cherry-pick-of-#3432-upstream-release-2.12
Automated cherry pick of #3432: fix: user details add password expiration info
2019-11-04 22:44:17 +08:00
yunion-ci-robot
561108903c Merge pull request #3424 from ioito/automated-cherry-pick-of-#3422-upstream-release-2.12
Automated cherry pick of #3422: fix: 添加华为云Rds privilege校验
2019-11-04 22:14:14 +08:00
yunion-ci-robot
958ffb23e5 Merge pull request #3453 from Mjoycarry/automated-cherry-pick-of-#3413-upstream-release-2.12
Automated cherry pick of #3413: fix: cancel the merge in service level and resource level of Keystone Policy.
2019-11-04 22:09:14 +08:00
yunion-ci-robot
e1057ad381 Merge pull request #3458 from yousong/automated-cherry-pick-of-#3457-upstream-release-2.12
Automated cherry pick of #3457: build: show diffs made by checks
2019-11-04 22:02:14 +08:00
Qu Xuan
0f7c166c53 fix: 避免创建vmware磁盘快照 2019-11-04 21:54:40 +08:00
yunion-ci-robot
9dc04ebd11 Merge pull request #3450 from ioito/automated-cherry-pick-of-#3430-upstream-release-2.12
Automated cherry pick of #3430: fix: 标准镜像version
2019-11-04 21:39:15 +08:00
yunion-ci-robot
8d6f8699dd Merge pull request #3447 from ioito/automated-cherry-pick-of-#3429-upstream-release-2.12
Automated cherry pick of #3429: fix: 梳理磁盘reset条件
2019-11-04 21:24:15 +08:00
yunion-ci-robot
b42ceada76 Merge pull request #3443 from tb365/automated-cherry-pick-of-#3439-upstream-release-2.12
Automated cherry pick of #3439: elb bugfix & aws client init bugfix
2019-11-04 17:12:14 +08:00
Yousong Zhou
9d080e9f37 build: show diffs made by checks 2019-11-04 07:19:37 +00:00
Qiu Jian
8d6f7dbaa6 fix: aliyun eip associate instance ignores IncorrectInstanceStatus error 2019-11-04 14:41:30 +08:00
郑雨
57af89ab29 fix: cancel the merge in service level and resource level of Keystone Policy. 2019-11-04 12:35:52 +08:00
TangBin
14fa2fc258 elb bugfix & aws client init bugfix 2019-11-04 10:59:09 +08:00
yunion-ci-robot
515e293648 Merge pull request #3436 from swordqiu/automated-cherry-pick-of-#3434-upstream-release-2.12
Automated cherry pick of #3434: fix: bucket invalid status due to disabled cloud provider
2019-11-04 10:33:14 +08:00
Qu Xuan
be9a3b5882 fix: 标准镜像version 2019-11-04 10:21:02 +08:00
yunion-ci-robot
d6568c4c37 Merge pull request #3441 from swordqiu/automated-cherry-pick-of-#3440-upstream-release-2.12
Automated cherry pick of #3440: feature: add api to get all allocated addresses of a network
2019-11-04 10:19:13 +08:00
yunion-ci-robot
8cfd1b4d7d Merge pull request #3438 from swordqiu/automated-cherry-pick-of-#3437-upstream-release-2.12
Automated cherry pick of #3437: fix: missing action log for baremetal create and prepare events
2019-11-04 10:16:14 +08:00
Qu Xuan
ce364c72bf fix: 梳理磁盘reset条件 2019-11-04 10:15:05 +08:00
屈轩
7fc5251077 Merge branch 'release/2.12' into automated-cherry-pick-of-#3422-upstream-release-2.12 2019-11-04 10:10:34 +08:00
Qiu Jian
9f0aedf129 feature: add api to get all allocated addresses of a network 2019-11-04 09:45:40 +08:00
Qiu Jian
787c277486 fix: missing action log for baremetal create and prepare events 2019-11-02 19:53:11 +08:00
Qiu Jian
e168467767 fix: bucket invalid status due to disabled cloud provider 2019-11-01 22:13:57 +08:00
Qiu Jian
44f7166ba0 fix: user details add password expiration info 2019-11-01 20:13:20 +08:00
yunion-ci-robot
588a7e412b Merge pull request #3427 from Mjoycarry/automated-cherry-pick-of-#3426-upstream-release-2.12
Automated cherry pick of #3426: feature: add support for rpm build of notify
2019-11-01 13:41:12 +08:00
郑雨
beecc6faf2 feature: add support for rpm build of notify 2019-11-01 13:37:50 +08:00
yunion-ci-robot
d70e229933 Merge pull request #3425 from tb365/automated-cherry-pick-of-#3421-upstream-release-2.12
Automated cherry pick of #3421: redis support 2
2019-11-01 11:33:11 +08:00
Qu Xuan
12334d7dc4 fix: 添加华为云Rds privilege校验 2019-11-01 10:42:57 +08:00
TangBin
72fe3ac8f5 redis support 2 2019-11-01 09:52:15 +08:00
yunion-ci-robot
608b279d0e Merge pull request #3420 from Mjoycarry/automated-cherry-pick-of-#3411-upstream-release-2.12
Automated cherry pick of #3411: 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-31 13:02:11 +08:00
Rain
f28afd6a1e 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-31 12:00:39 +08:00
yunion-ci-robot
52af23afeb Merge pull request #3415 from ioito/automated-cherry-pick-of-#3414-upstream-release-2.12
Automated cherry pick of #3414: fix: avoid create dbinstance without secgroup
2019-10-30 23:42:11 +08:00
Yousong Zhou
4f5797c088 Merge pull request #3409 from swordqiu/automated-cherry-pick-of-#3408-upstream-release-2.12
Automated cherry pick of #3408: feature: support password polices: minimal length, repeat check, password expiration, multi auth failures locks user
2019-10-30 21:57:11 +08:00
Zexi Li
4270cf1459 Merge pull request #3410 from swordqiu/automated-cherry-pick-of-#3407-upstream-release-2.12
Automated cherry pick of #3407: feature: baremetal cronjobs: status probe, fetch bmc logs and report power/themal metrics
2019-10-30 21:56:52 +08:00
yunion-ci-robot
63273a66ef Merge pull request #3416 from ioito/automated-cherry-pick-of-#3412-upstream-release-2.12
Automated cherry pick of #3412: fix: add latitude for huawei cloud
2019-10-30 21:38:11 +08:00
Qu Xuan
7561d83313 add: dbinstance_sku qps,tps and maxconnections 2019-10-30 21:36:31 +08:00
Qu Xuan
b0d75d0877 fix: avoid create dbinstance without secgroup 2019-10-30 21:36:31 +08:00
Qu Xuan
dc52a9414b fix: add latitude for huawei cloud 2019-10-30 21:30:16 +08:00
Qiu Jian
66161f75b9 feature: baremetal cronjobs: status probe, fetch bmc logs and report power/themal metrics 2019-10-30 20:51:42 +08:00
Qiu Jian
2a87d401f3 feature: support password polices: minimal length, repeat check, password expiration, multi auth failures locks user 2019-10-30 20:29:53 +08:00
yunion-ci-robot
f7b544aa74 Merge pull request #3399 from wanyaoqi/automated-cherry-pick-of-#3398-upstream-release-2.12
Automated cherry pick of #3398: change config add log event
2019-10-29 23:41:12 +08:00
Zexi Li
d6260c4b19 Merge pull request #3369 from swordqiu/automated-cherry-pick-of-#3368-upstream-release-2.12
Automated cherry pick of #3368: fix: ilo read logs failure
2019-10-29 11:27:43 +08:00
Zexi Li
d67d787583 Merge pull request #3367 from swordqiu/automated-cherry-pick-of-#3366-upstream-release-2.12
Automated cherry pick of #3366: feature: guest add cdrom_support attribute
2019-10-29 11:27:22 +08:00
yunion-ci-robot
052194e9e5 Merge pull request #3402 from ioito/automated-cherry-pick-of-#3363-upstream-release-2.12
Automated cherry pick of #3363: fix: 避免虚拟机正常磁盘在回收站
2019-10-28 22:15:09 +08:00
yunion-ci-robot
c9a37067a7 Merge pull request #3365 from ioito/automated-cherry-pick-of-#3364-upstream-release-2.12
Automated cherry pick of #3364: fix: realdelete secgroupcache
2019-10-28 22:07:09 +08:00
ioito
887ed77c0f fix: 避免虚拟机正常磁盘在回收站 2019-10-28 21:55:47 +08:00
yunion-ci-robot
78cf572fd7 Merge pull request #3375 from yousong/automated-cherry-pick-of-#3374-upstream-release-2.12
Automated cherry pick of #3374: lb: 创建时校验不通过返回httperrors
2019-10-28 21:44:11 +08:00
yunion-ci-robot
f3fae23de3 Merge pull request #3392 from wanyaoqi/automated-cherry-pick-of-#3391-upstream-release-2.12
Automated cherry pick of #3391: instance snapshot fix
2019-10-28 21:41:10 +08:00
yunion-ci-robot
f8c8595b84 Merge pull request #3394 from wanyaoqi/automated-cherry-pick-of-#3390-upstream-release-2.12
Automated cherry pick of #3390: disk list add manual snapshot count
2019-10-28 21:32:10 +08:00
yunion-ci-robot
4a065a4bd7 Merge pull request #3397 from Mjoycarry/automated-cherry-pick-of-#3380-upstream-release-2.12
Automated cherry pick of #3380: fix: local snapshot's ownerId should be same with its disk even if extsnapshot's project has corresponding cloud project
2019-10-28 21:21:10 +08:00
wanyaoqi
37d221b4cf change config add log event 2019-10-28 21:17:07 +08:00
郑雨
ee35ea3422 fix: local snapshot's ownerId should be same with its disk even if extsnapshot's project has corresponding cloud project 2019-10-28 21:01:55 +08:00
wanyaoqi
f692cf9d71 disk list add manual snapshot count 2019-10-28 20:52:54 +08:00
wanyaoqi
6b398d12e8 instance snapshot fix 2019-10-28 20:48:13 +08:00
yunion-ci-robot
9bbd5e3a33 Merge pull request #3387 from wanyaoqi/automated-cherry-pick-of-#3386-upstream-release-2.12
Automated cherry pick of #3386: support hmp
2019-10-28 20:05:10 +08:00
wanyaoqi
f9cb32013d support hmp 2019-10-28 19:05:34 +08:00
yunion-ci-robot
99c86b461d Merge pull request #3382 from yousong/automated-cherry-pick-of-#3381-upstream-release-2.12
Automated cherry pick of #3381: .circleci: yunionio/onecloud-ci: bump golang version to 1.13.3
2019-10-28 15:41:08 +08:00
Yousong Zhou
5d4010f527 goimports: first run 2019-10-28 06:27:08 +00:00
Yousong Zhou
a69a1c5001 build: add goimports-check 2019-10-28 06:26:14 +00:00
Yousong Zhou
f666dbaad4 .circleci: use yunionio/onecloud-ci:v1.0.3 2019-10-28 06:26:14 +00:00
Yousong Zhou
5adf743317 .circleci: yunionio/onecloud-ci: bundle custom goimports 2019-10-28 06:26:14 +00:00
Yousong Zhou
4f2c83b756 .circleci: yunionio/onecloud-ci: run as user "build" 2019-10-28 06:26:14 +00:00
Yousong Zhou
c15e7b7823 .circleci: yunionio/onecloud-ci: bump golang version to 1.13.3 2019-10-28 06:26:14 +00:00
Yousong Zhou
4074599dc8 Merge pull request #3379 from yousong/automated-cherry-pick-of-#3378-upstream-release-2.12
Automated cherry pick of #3378: cloudnet: 重命名样例配置文件
2019-10-28 11:16:06 +08:00
Yousong Zhou
251942c7df cloudnet: 重命名样例配置文件 2019-10-28 03:15:04 +00:00
Yousong Zhou
73d8f7638e cloudcommon: db: 允许普通用户获得pending_deleted字段
Convenient for testing
2019-10-28 02:30:32 +00:00
Yousong Zhou
a2610ec884 lb: 创建时校验不通过返回httperrors 2019-10-28 02:30:32 +00:00
yunion-ci-robot
e957e5ca0b Merge pull request #3373 from swordqiu/automated-cherry-pick-of-#3370-upstream-release-2.12
Automated cherry pick of #3370: fix: host-wire-update param rename
2019-10-28 09:43:11 +08:00
Qiu Jian
97e4d7ffcd fix: hostwire update user network name as wireId 2019-10-27 14:28:44 +08:00
Qiu Jian
07c7b445ee fix: host-wire-update param rename 2019-10-27 14:28:44 +08:00
Qiu Jian
4677b97f7b fix: ilo read logs failure 2019-10-26 12:00:36 +08:00
Qiu Jian
d54354be62 feature: guest add cdrom_support attribute 2019-10-26 10:05:05 +08:00
ioito
2b52e412b2 fix: realdelete secgroupcache 2019-10-25 17:48:45 +08:00
yunion-ci-robot
7d0a5c9610 Merge pull request #3353 from ioito/automated-cherry-pick-of-#3352-upstream-release-2.12
Automated cherry pick of #3352: update vendor
2019-10-25 17:23:07 +08:00
yunion-ci-robot
410fdce557 Merge pull request #3342 from tb365/automated-cherry-pick-of-#3340-upstream-release-2.12
Automated cherry pick of #3340: huawei & qcloud & aws bugfix
2019-10-25 17:01:06 +08:00
ioito
7ae0315987 update vendor 2019-10-25 16:54:31 +08:00
TangBin
226d28e2f7 huawei & qcloud & aws bugfix 2019-10-25 16:13:45 +08:00
Zexi Li
0910ef7808 Merge pull request #3360 from Mjoycarry/automated-cherry-pick-of-#3358-upstream-release-2.12
Automated cherry pick of #3358: 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:37:36 +08:00
Rain
5eac3df8db 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:22:24 +08:00
yunion-ci-robot
81f17cfcf0 Merge pull request #3357 from Mjoycarry/automated-cherry-pick-of-#3355-upstream-release-2.12
Automated cherry pick of #3355: fix: shoule purge snat table and dnat table when sync remove local natgateway; nat rule's 'real_name'.
2019-10-25 12:15:07 +08:00
Rain
817123545d fix: shoule purge snat table and dnat table when sync remove local natgateway; nat rule's 'real_name'. 2019-10-25 12:03:41 +08:00
yunion-ci-robot
4245e978e9 Merge pull request #3351 from ioito/automated-cherry-pick-of-#3179-upstream-release-2.12
Automated cherry pick of #3179: add rds operation
2019-10-24 14:49:06 +08:00
yunion-ci-robot
f556069be1 Merge pull request #3348 from ioito/automated-cherry-pick-of-#3347-upstream-release-2.12
Automated cherry pick of #3347: fix: 更正stoping状态
2019-10-24 14:10:08 +08:00
ioito
d2ac329184 add rds operation 2019-10-24 11:43:10 +08:00
ioito
596648a3d5 fix: 更正stoping状态 2019-10-24 10:50:46 +08:00
yunion-ci-robot
8217fbb763 Merge pull request #3335 from swordqiu/automated-cherry-pick-of-#3332-upstream-release-2.12
Automated cherry pick of #3332: fix: allow multi-guest-dhcp
2019-10-24 10:47:06 +08:00
yunion-ci-robot
a3889775c7 Merge pull request #3344 from ioito/automated-cherry-pick-of-#3343-upstream-release-2.12
Automated cherry pick of #3343: fix: 避免update存储tag信息异常
2019-10-24 07:46:05 +08:00
yunion-ci-robot
33750b586a Merge pull request #3337 from yousong/automated-cherry-pick-of-#3336-upstream-release-2.12
Automated cherry pick of #3336: dns: 添加k8s_skip选项
2019-10-24 07:29:05 +08:00
yunion-ci-robot
0d61d8cc41 Merge pull request #3330 from zexi/automated-cherry-pick-of-#3329-upstream-release-2.12
Automated cherry pick of #3329: baremetal: add cdrom boot schedule
2019-10-24 02:03:06 +08:00
yunion-ci-robot
84033ff4de Merge pull request #3326 from ioito/automated-cherry-pick-of-#3325-upstream-release-2.12
Automated cherry pick of #3325: fix: 避免解绑eip更新状态不及时导致再次同步出现public ip问题
2019-10-24 01:55:06 +08:00
yunion-ci-robot
5c86a4dd0f Merge pull request #3310 from wanyaoqi/automated-cherry-pick-of-#3309-upstream-release-2.12
Automated cherry pick of #3309: fix snapshot-list list created_by, migrate add auto-converge
2019-10-24 01:51:06 +08:00
yunion-ci-robot
d0ff19638c Merge pull request #3291 from ioito/automated-cherry-pick-of-#3281-upstream-release-2.12
Automated cherry pick of #3281: feature: 支持预cache secgroup到云上
2019-10-24 01:44:06 +08:00
Qiu Jian
4a4fd158eb fix: allow multi-guest-dhcp 2019-10-24 01:16:31 +08:00
ioito
428e63c182 fix: 避免update存储tag信息异常 2019-10-23 20:53:12 +08:00
Yousong Zhou
9bf04f4296 dns: 添加k8s_skip选项 2019-10-23 08:45:08 +00:00
Zexi Li
120ee83d08 baremetal: add cdrom boot schedule 2019-10-23 11:20:20 +08:00
ioito
c63497dbdf fix: 避免解绑eip更新状态不及时导致再次同步出现public ip问题 2019-10-22 21:57:34 +08:00
yunion-ci-robot
87642fa9ab Merge pull request #3296 from swordqiu/automated-cherry-pick-of-#3295-upstream-release-2.12
Automated cherry pick of #3295: feature: baremetal support iso operation
2019-10-22 21:01:05 +08:00
ioito
48b8cbbe22 feature: 支持预cache secgroup到云上 2019-10-22 19:55:30 +08:00
Zexi Li
6e0a63217d Merge pull request #3322 from zexi/automated-cherry-pick-of-#3321-upstream-release-2.12
Automated cherry pick of #3321: climc: k8s import cluster support
2019-10-22 19:12:21 +08:00
Zexi Li
0ac610e863 climc: k8s import cluster support 2019-10-22 19:06:13 +08:00
yunion-ci-robot
1bf0f8603b Merge pull request #3320 from Mjoycarry/automated-cherry-pick-of-#3317-upstream-release-2.12
Automated cherry pick of #3317: Bugfix: add parameter deepsync to command 'cloud-provider-sync' and 'cloud-account-sync'; fix the bug when syncing eip.
2019-10-22 19:06:05 +08:00
yunion-ci-robot
420fdec354 Merge pull request #3318 from Mjoycarry/automated-cherry-pick-of-#2960-upstream-release-2.12
Automated cherry pick of #2960: feature: guest image create from vm, delete, update, list; create vm from guest image.
2019-10-22 18:35:05 +08:00
Rain
a0c5296020 Bugfix: add parameter deepsync to command 'cloud-provider-sync' and 'cloud-account-sync'; fix the bug when syncing eip. 2019-10-22 18:21:50 +08:00
Rain
793140d5e0 feature: guest image create from vm, delete, update, list; create vm from guest image. 2019-10-22 18:07:17 +08:00
yunion-ci-robot
460b983cb0 Merge pull request #3316 from Mjoycarry/automated-cherry-pick-of-#3314-upstream-release-2.12
Automated cherry pick of #3314: 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 16:05:06 +08:00
Rain
5ff26dc620 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:59:08 +08:00
yunion-ci-robot
2a789d8032 Merge pull request #3313 from Mjoycarry/automated-cherry-pick-of-#3260-upstream-release-2.12
Automated cherry pick of #3260: 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 12:04:06 +08:00
Rain
5d8df48312 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 11:31:19 +08:00
wanyaoqi
883e709ebe fix snapshot-list list created_by, migrate add auto-converge 2019-10-22 11:03:24 +08:00
Qiu Jian
df32ce25bb feature: support fetch baremetal uuid and use uuid to identify baremetal 2019-10-22 10:56:01 +08:00
Qiu Jian
27ff58cc28 feature: baremetal support iso operation 2019-10-22 10:56:00 +08:00
yunion-ci-robot
6a69fe0362 Merge pull request #3302 from ioito/automated-cherry-pick-of-#3301-upstream-release-2.12
Automated cherry pick of #3301: fix: 修复华为云ucloud安全组同步问题
2019-10-22 02:26:05 +08:00
yunion-ci-robot
b8e146ee2a Merge pull request #3306 from zexi/automated-cherry-pick-of-#3305-upstream-release-2.12
Automated cherry pick of #3305: baremetal: cancel password complex check
2019-10-22 02:22:04 +08:00
Zexi Li
50828c28e3 baremetal: cancel password complex check 2019-10-21 15:16:18 +08:00
ioito
017327e846 fix: 修复华为云ucloud安全组同步问题 2019-10-21 11:51:35 +08:00
yunion-ci-robot
f2e801a17d Merge pull request #3300 from swordqiu/automated-cherry-pick-of-#3297-upstream-release-2.12
Automated cherry pick of #3297: fix: esxi change vm instance type always timeout
2019-10-21 09:28:08 +08:00
yunion-ci-robot
7529732670 Merge pull request #3294 from swordqiu/automated-cherry-pick-of-#3292-upstream-release-2.12
Automated cherry pick of #3292: fix: policy support description
2019-10-21 09:27:06 +08:00
Qiu Jian
0a158f5f22 fix: esxi change vm instance type always timeout 2019-10-21 01:30:58 +08:00
Qiu Jian
481b96c3e7 fix: policy support description 2019-10-20 19:02:26 +08:00
yunion-ci-robot
08d9835046 Merge pull request #3269 from wanyaoqi/automated-cherry-pick-of-#3268-upstream-release-2.12
Automated cherry pick of #3268: delete snapshots on delete disk or guest, instance snapshot fix
2019-10-18 21:06:03 +08:00
yunion-ci-robot
edb6cdf0de Merge pull request #3284 from yousong/automated-cherry-pick-of-#3283-upstream-release-2.12
Automated cherry pick of #3283: lbagent: fix listing filter on manager_id
2019-10-18 20:10:05 +08:00
yunion-ci-robot
ac53238936 Merge pull request #3158 from yousong/automated-cherry-pick-of-#2837-upstream-release-2.12
Automated cherry pick of #2837: Feature/yousong cloudnet
2019-10-18 20:02:03 +08:00
yunion-ci-robot
e7a376908c Merge pull request #3288 from tb365/automated-cherry-pick-of-#3287-upstream-release-2.12
Automated cherry pick of #3287: huawei eip disassociate bugfix
2019-10-18 16:13:02 +08:00
TangBin
2e109075c8 huawei eip disassociate bugfix 2019-10-18 15:25:48 +08:00
Yousong Zhou
d263ebefbb lbagent: fix listing filter on manager_id 2019-10-18 06:15:43 +00:00
Yousong Zhou
2b228db0ad vendor 未合并的文件 2019-10-18 03:42:43 +00:00
Yousong Zhou
8e446566ab vendor: make mod 2019-10-18 03:42:43 +00:00
Yousong Zhou
7bc6e26ce4 cloudnet: initial version 2019-10-18 03:42:43 +00:00
Yousong Zhou
2832144c88 ansibleserver: v2 models for exporting more features 2019-10-18 03:42:43 +00:00
Yousong Zhou
48a8cf006e util: ansiblev2: new package for exporting more features 2019-10-18 03:42:43 +00:00
Yousong Zhou
a440e4e4d5 util: ansible: session manager manages runnable 2019-10-18 03:42:43 +00:00
Yousong Zhou
0ad0200290 util: firewalld: new package 2019-10-18 03:42:43 +00:00
Yousong Zhou
a90dc96f9d validators: actor joined by more tests 2019-10-18 03:42:43 +00:00
Yousong Zhou
c8789c32d4 validators: add ValidatorByActor 2019-10-18 03:42:43 +00:00
Yousong Zhou
ba046de7ec validators: add sshkey validator 2019-10-18 03:42:43 +00:00
Yousong Zhou
ba598f1bb3 validators: add string length validator 2019-10-18 03:42:43 +00:00
yunion-ci-robot
0f52e6eff9 Merge pull request #3275 from wanyaoqi/automated-cherry-pick-of-#3270-upstream-release-2.12
Automated cherry pick of #3270: fix reserved memory is zero
2019-10-17 21:32:04 +08:00
Zexi Li
1623daab0e Merge pull request #3280 from zexi/automated-cherry-pick-of-#3278-upstream-release-2.12
Automated cherry pick of #3278: region: fix get disk detail panic
2019-10-17 16:26:09 +08:00
Zexi Li
9648db23eb region: fix get disk detail panic 2019-10-17 16:19:56 +08:00
wanyaoqi
0d3bccc9e7 fix reserved memory is zero 2019-10-17 15:18:17 +08:00
Zexi Li
12c8e31696 Merge pull request #3274 from Mjoycarry/automated-cherry-pick-of-#3235-upstream-release-2.12
Automated cherry pick of #3235: 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 13:34:32 +08:00
Rain
e729de4846 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 13:04:05 +08:00
Zexi Li
de931f2cbc Merge pull request #3272 from zexi/automated-cherry-pick-of-#3271-upstream-release-2.12
Automated cherry pick of #3271: region: capability public network count filter by host type
2019-10-17 12:49:22 +08:00
Zexi Li
53cd722adc region: capability public network count filter by host type 2019-10-17 12:46:26 +08:00
yunion-ci-robot
d5cd197fb1 Merge pull request #3265 from ioito/automated-cherry-pick-of-#3264-upstream-release-2.12
Automated cherry pick of #3264: fix: 避免返回nil, nil
2019-10-16 21:07:01 +08:00
wanyaoqi
b7b95114bb delete snapshots on delete disk or guest, instance snapshot fix 2019-10-16 20:51:05 +08:00
ioito
5c2f833cde fix: 避免返回nil, nil 2019-10-16 18:12:46 +08:00
yunion-ci-robot
917e689e9e Merge pull request #3263 from swordqiu/automated-cherry-pick-of-#3115-upstream-release-2.12
Automated cherry pick of #3115: redfish api support
2019-10-16 16:07:01 +08:00
Qiu Jian
260dd061a7 add doc and copyright 2019-10-16 15:20:14 +08:00
Qiu Jian
2cf6ed5d51 redfish api support 2019-10-16 15:20:13 +08:00
yunion-ci-robot
0615430778 Merge pull request #3258 from ioito/automated-cherry-pick-of-#3257-upstream-release-2.12
Automated cherry pick of #3257: optimized: 优化安全组规则,支持逗号分隔的规则
2019-10-16 15:09:02 +08:00
ioito
fe1cda072b optimized: 优化安全组规则,支持逗号分隔的规则 2019-10-16 12:51:17 +08:00
Zexi Li
3296bc5bf6 Merge pull request #3256 from zexi/automated-cherry-pick-of-#3253-upstream-release-2.12
Automated cherry pick of #3253: baremetal: fix stop task hang
2019-10-16 11:51:14 +08:00
Zexi Li
fc32e6ef8d baremetal: fix stop task hang 2019-10-16 11:50:01 +08:00
yunion-ci-robot
b963b27a22 Merge pull request #3250 from ioito/automated-cherry-pick-of-#3187-upstream-release-2.12
Automated cherry pick of #3187: fix: 创建云账号时指定tenant生效
2019-10-16 01:01:00 +08:00
ioito
bde74cb23b optimized cloud account create 2019-10-15 22:01:39 +08:00
ioito
b64543f325 fix: 创建云账号时指定tenant生效 2019-10-15 22:01:39 +08:00
yunion-ci-robot
53cd44609c Merge pull request #3246 from wanyaoqi/automated-cherry-pick-of-#3230-upstream-release-2.12
Automated cherry pick of #3230: gpu mutil attach by model type, fix network hint name
2019-10-15 21:50:02 +08:00
yunion-ci-robot
4621180a4c Merge pull request #3232 from ioito/automated-cherry-pick-of-#3231-upstream-release-2.12
Automated cherry pick of #3231: fix: 避免删除azure失败
2019-10-15 21:49:01 +08:00
yunion-ci-robot
077b5ec5e4 Merge pull request #3243 from Mjoycarry/automated-cherry-pick-of-#3241-upstream-release-2.12
Automated cherry pick of #3241: fix: the input parameters is wrong when create snapshotpolicy with repeatweekday Sunday for qcloud.
2019-10-15 21:45:01 +08:00
yunion-ci-robot
c1ede13adb Merge pull request #3249 from tb365/automated-cherry-pick-of-#3240-upstream-release-2.12
Automated cherry pick of #3240: qcloud elb bugfix
2019-10-15 21:44:02 +08:00
wanyaoqi
71edb16174 gpu mutil attach by model type, fix network hint name 2019-10-15 20:53:39 +08:00
TangBin
27d8c1b5b9 attach disk wait sucess 2019-10-15 20:34:44 +08:00
TangBin
6b54ec8e47 qcloud elb bugfix 2019-10-15 20:34:44 +08:00
Rain
281eeee914 fix: the input parameters is wrong when create snapshotpolicy with repeatweekday Sunday for qcloud. 2019-10-15 19:47:42 +08:00
Zexi Li
8a26dfc59e Merge pull request #3237 from zexi/automated-cherry-pick-of-#3236-upstream-release-2.12
Automated cherry pick of #3236: scheduler: adjust skip network filter condition
2019-10-15 16:23:37 +08:00
Zexi Li
8c29e6f5cd scheduler: adjust skip network filter condition 2019-10-15 16:22:26 +08:00
yunion-ci-robot
0260e8f9e5 Merge pull request #3222 from swordqiu/automated-cherry-pick-of-#3220-upstream-release-2.12
Automated cherry pick of #3220: fix: azure ListObject should skip current folder
2019-10-15 16:15:03 +08:00
yunion-ci-robot
b19d0e6e98 Merge pull request #3227 from ioito/automated-cherry-pick-of-#3189-upstream-release-2.12
Automated cherry pick of #3189: fix: openstack上传镜像时也指定os_type及额外信息
2019-10-15 16:13:02 +08:00
yunion-ci-robot
8763b855e3 Merge pull request #3223 from wanyaoqi/automated-cherry-pick-of-#2983-upstream-release-2.12
Automated cherry pick of #2983: - instance snapshot
2019-10-15 16:10:02 +08:00
ioito
0d47996cfd fix: 避免删除azure失败 2019-10-15 15:16:39 +08:00
ioito
7dacb0609d fix: openstack上传镜像时也指定os_type及额外信息 2019-10-15 10:42:09 +08:00
yunion-ci-robot
37b29b82b6 Merge pull request #3226 from Mjoycarry/automated-cherry-pick-of-#3224-upstream-release-2.12
Automated cherry pick of #3224: fix: Should not leave groups in SGuest.RealDelete; SGuest.LeaveAllGroups will be call in purge and guest_delete_task.
2019-10-14 21:41:01 +08:00
wanyaoqi
91ad83c3ac - instance snapshot
- instance clone

- create form snapshot don't reset passwd
2019-10-14 21:37:50 +08:00
Rain
5087dcbeed fix: Should not leave groups in SGuest.RealDelete; SGuest.LeaveAllGroups will be call in purge and guest_delete_task. 2019-10-14 21:32:37 +08:00
Qiu Jian
7b87675289 fix: azure ListObject should skip current folder 2019-10-14 20:10:19 +08:00
yunion-ci-robot
eb9b945227 Merge pull request #3218 from swordqiu/automated-cherry-pick-of-#3216-upstream-release-2.12
Automated cherry pick of #3216: fix: recover can_update field and add update_fail_reason field
2019-10-14 17:57:02 +08:00
yunion-ci-robot
22bb16cc22 Merge pull request #3215 from swordqiu/automated-cherry-pick-of-#3213-upstream-release-2.12
Automated cherry pick of #3213: fix: aliyun bucket sync cancel local limit
2019-10-14 17:56:04 +08:00
yunion-ci-robot
3a0d25a52c Merge pull request #3212 from swordqiu/automated-cherry-pick-of-#3210-upstream-release-2.12
Automated cherry pick of #3210: fix: azure blob storage empty blob error
2019-10-14 17:55:00 +08:00
yunion-ci-robot
ef4dc12c49 Merge pull request #3206 from ioito/automated-cherry-pick-of-#3205-upstream-release-2.12
Automated cherry pick of #3205: fix: 返回网卡所在的网络名称信息
2019-10-14 16:44:01 +08:00
Qiu Jian
06ee0b7d52 fix: recover can_update field and add update_fail_reason field 2019-10-14 16:25:57 +08:00
Qiu Jian
5a2102acfd fix: azure blob storage empty blob error 2019-10-14 15:59:47 +08:00
Qiu Jian
61d5829a8c fix: aliyun bucket sync cancel local limit 2019-10-14 15:52:00 +08:00
yunion-ci-robot
e6e7fdb9e5 Merge pull request #3209 from Mjoycarry/automated-cherry-pick-of-#3127-upstream-release-2.12
Automated cherry pick of #3127: fix
2019-10-14 12:46:41 +08:00
yunion-ci-robot
ca8314fcd8 Merge pull request #3197 from ioito/automated-cherry-pick-of-#3195-upstream-release-2.12
Automated cherry pick of #3195: fix: 避免部分套餐无法列出
2019-10-14 12:05:41 +08:00
yunion-ci-robot
0d8a05f8fd Merge pull request #3178 from tb365/automated-cherry-pick-of-#3161-upstream-release-2.12
Automated cherry pick of #3161: loadbalancer cache create api
2019-10-14 12:04:39 +08:00
yunion-ci-robot
2d17fba2c4 Merge pull request #3201 from tb365/automated-cherry-pick-of-#3200-upstream-release-2.12
Automated cherry pick of #3200: huawei & aws bugfix
2019-10-14 11:58:44 +08:00
Rain
1b17103268 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:33:18 +08:00
yunion-ci-robot
71041cfb84 Merge pull request #3191 from ioito/automated-cherry-pick-of-#3190-upstream-release-2.12
Automated cherry pick of #3190: fix: 创建相同配置时返回正确的eip信息
2019-10-14 07:41:41 +08:00
yunion-ci-robot
4295fda2bd Merge pull request #3181 from ioito/automated-cherry-pick-of-#3180-upstream-release-2.12
Automated cherry pick of #3180: fix: 避免公有云账号统计虚拟的host数量
2019-10-14 07:40:41 +08:00
yunion-ci-robot
a3c9c4c97b Merge pull request #3194 from wanyaoqi/automated-cherry-pick-of-#3188-upstream-release-2.12
Automated cherry pick of #3188: fix dirty server start, disk format empty
2019-10-12 19:46:40 +08:00
ioito
84ec665d76 fix: 返回网卡所在的网络名称信息 2019-10-12 19:19:16 +08:00
TangBin
642ec2a2a3 add loadblancer acl&cert cached api docs 2019-10-12 19:18:07 +08:00
TangBin
d1f80c192d loadbalancer cache create api 2019-10-12 19:17:02 +08:00
TangBin
4e23d7c310 huawei & aws bugfix 2019-10-12 18:06:43 +08:00
wanyaoqi
d2148a4b6f fix qemu args 2019-10-12 17:43:27 +08:00
ioito
d201aeb06a fix: 避免部分套餐无法列出 2019-10-12 17:39:20 +08:00
wanyaoqi
acde1529a6 add user cache 2019-10-12 17:37:38 +08:00
wanyaoqi
1c0ca8171b - sanpshot add expire time - fix image probe iso cause iso md5 changed - add loadbalancer cluster distinct field 2019-10-12 17:37:38 +08:00
wanyaoqi
0b00c3fab6 fix dirty server start, disk format empty 2019-10-12 17:37:38 +08:00
ioito
20ceac1c23 fix: 创建相同配置时返回正确的eip信息 2019-10-12 16:52:12 +08:00
Zexi Li
6148eedffd Merge pull request #3185 from zexi/automated-cherry-pick-of-#3184-upstream-release-2.12
Automated cherry pick of #3184: keystone: endpoint list by service
2019-10-12 12:49:46 +08:00
Zexi Li
3ae7ed10ec keystone: endpoint list by service 2019-10-12 12:48:59 +08:00
ioito
9b7f42d096 fix: 避免公有云账号统计虚拟的host数量 2019-10-12 11:43:15 +08:00
yunion-ci-robot
042cc53bf8 Merge pull request #3159 from wanyaoqi/automated-cherry-pick-of-#3147-upstream-release-2.12
Automated cherry pick of #3147: feature:
2019-10-12 11:25:40 +08:00
yunion-ci-robot
f9a5da49eb Merge pull request #3149 from zexi/automated-cherry-pick-of-#3148-upstream-release-2.12
Automated cherry pick of #3148: region: support list wire by host
2019-10-12 10:09:39 +08:00
yunion-ci-robot
06b8882697 Merge pull request #3155 from yousong/automated-cherry-pick-of-#3154-upstream-release-2.12
Automated cherry pick of #3154: ansibleserver: enable tenant/user cache manager
2019-10-12 10:07:41 +08:00
yunion-ci-robot
60c412a1eb Merge pull request #3174 from yousong/automated-cherry-pick-of-#3173-upstream-release-2.12
Automated cherry pick of #3173: hostman: system_service: add IsEnabled() support
2019-10-12 10:04:39 +08:00
yunion-ci-robot
1366c64b3f Merge pull request #3172 from swordqiu/automated-cherry-pick-of-#3169-upstream-release-2.12
Automated cherry pick of #3169: fix: string2scope ignore user scope
2019-10-12 00:02:39 +08:00
yunion-ci-robot
62c1df5bd1 Merge pull request #3164 from swordqiu/automated-cherry-pick-of-#3162-upstream-release-2.12
Automated cherry pick of #3162: fix: show delele fail reason if cannot delete a resource
2019-10-12 00:01:39 +08:00
Yousong Zhou
dee6fa9d2d hostman: ensure openvswitch won't automatically start at boot 2019-10-11 15:58:27 +00:00
Yousong Zhou
8307490468 hostman: system_service: add IsEnabled() support 2019-10-11 15:58:27 +00:00
yunion-ci-robot
436945ab97 Merge pull request #3168 from swordqiu/automated-cherry-pick-of-#3165-upstream-release-2.12
Automated cherry pick of #3165: fix: skip services without project resources when fetching project resources
2019-10-11 23:52:44 +08:00
Qiu Jian
715f00bf50 fix: string2scope ignore user scope 2019-10-11 22:13:23 +08:00
yunion-ci-robot
8b154116bc Merge pull request #3105 from ioito/automated-cherry-pick-of-#3102-upstream-release-2.12
Automated cherry pick of #3102: fix: network支持多个zone过滤
2019-10-11 14:53:38 +08:00
yunion-ci-robot
ca5c6195ff Merge pull request #3139 from swordqiu/automated-cherry-pick-of-#3136-upstream-release-2.12
Automated cherry pick of #3136: fix: guest create eip quota check use owner quota
2019-10-11 14:45:39 +08:00
Qiu Jian
0ec1715ff1 fix: skip services without project resources when fetching project resources 2019-10-11 08:56:57 +08:00
Qiu Jian
694c3ce9e1 fix: show delele fail reason if cannot delete a resource 2019-10-10 21:54:36 +08:00
yunion-ci-robot
562dae99b0 Merge pull request #3151 from yousong/automated-cherry-pick-of-#3150-upstream-release-2.12
Automated cherry pick of #3150: hostman: ovs: implement PersistentMAC()
2019-10-10 19:29:40 +08:00
wanyaoqi
0bab056932 feature:
- postpaid server support expire
- extend distinct tenant filed
- gpu batch perform action
2019-10-10 18:17:01 +08:00
Yousong Zhou
5dd1bc3544 ansibleserver: enable tenant/user cache manager 2019-10-10 08:11:08 +00:00
Yousong Zhou
df85851720 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 08:07:02 +00:00
Zexi Li
517801e8c1 region: support list wire by host 2019-10-10 14:35:13 +08:00
Zexi Li
1d9aedc024 Merge pull request #3140 from Mjoycarry/automated-cherry-pick-of-#3132-upstream-release-2.12
Automated cherry pick of #3132: guest persion
2019-10-10 10:51:44 +08:00
Zexi Li
9b1e07ae86 Merge pull request #3144 from zexi/automated-cherry-pick-of-#3141-upstream-release-2.12
Automated cherry pick of #3141: fix: scheduler specfied network no errors
2019-10-09 21:12:00 +08:00
Zexi Li
a090f64600 fix: scheduler specfied network no errors 2019-10-09 21:11:30 +08:00
Rain
b7a76f7288 guest persion 2019-10-09 20:54:19 +08:00
Qiu Jian
edb7c43448 fix: guest create eip quota check use owner quota 2019-10-09 17:39:27 +08:00
yunion-ci-robot
44f66281b3 Merge pull request #3065 from ioito/automated-cherry-pick-of-#3064-upstream-release-2.12
Automated cherry pick of #3064: add: 支持创建安全组时同时创建规则
2019-10-09 17:26:37 +08:00
yunion-ci-robot
8e410d16d3 Merge pull request #3131 from tb365/automated-cherry-pick-of-#3110-upstream-release-2.12
Automated cherry pick of #3110: loadbalancer bugfix
2019-10-09 17:24:38 +08:00
TangBin
b4ecbee699 huawei & qcloud elb bugfix 2019-10-09 16:02:57 +08:00
TangBin
a409833d93 loadbalancer bugfix 2019-10-09 16:02:57 +08:00
yunion-ci-robot
5dcc69c93d Merge pull request #3134 from zexi/automated-cherry-pick-of-#3133-upstream-release-2.12
Automated cherry pick of #3133: fix: services model incorrect nullable define
2019-10-08 23:21:37 +08:00
Zexi Li
11bc63fbd0 fix: services model incorrect nullable define 2019-10-08 22:24:07 +08:00
Zexi Li
408a4e4cc8 Merge pull request #3126 from Mjoycarry/automated-cherry-pick-of-#3026-upstream-release-2.12
Automated cherry pick of #3026: nat_docs fix
2019-10-08 10:42:27 +08:00
Rain
260993906b nat_docs fix 2019-10-08 10:40:03 +08:00
yunion-ci-robot
4bb36e5262 Merge pull request #3122 from zexi/automated-cherry-pick-of-#3121-upstream-release-2.12
Automated cherry pick of #3121: scheduler: fix random network domain not matched
2019-10-07 12:58:36 +08:00
Zexi Li
cd3b64425f scheduler: fix random network domain not matched 2019-10-07 12:05:50 +08:00
yunion-ci-robot
055e4d5076 Merge pull request #3120 from zexi/automated-cherry-pick-of-#3117-upstream-release-2.12
Automated cherry pick of #3117: scheduler: set random network filter default scope domain
2019-10-06 23:55:35 +08:00
Zexi Li
1c157f14be scheduler: set random network filter default scope domain 2019-10-06 10:36:14 +08:00
yunion-ci-robot
200469c4b3 Merge pull request #3114 from swordqiu/automated-cherry-pick-of-#3111-upstream-release-2.12
Automated cherry pick of #3111: fix: snapsho realdelete nil pointer panic
2019-10-05 07:37:34 +08:00
yunion-ci-robot
c82d847edf Merge pull request #3104 from ioito/automated-cherry-pick-of-#3096-upstream-release-2.12
Automated cherry pick of #3096: fix: 添加vpc usable过滤参数,过滤cloudprovider异常的networks
2019-10-05 07:33:34 +08:00
yunion-ci-robot
1d9b1acdbd Merge pull request #3103 from ioito/automated-cherry-pick-of-#3086-upstream-release-2.12
Automated cherry pick of #3086: feature: 支持名称重复数据
2019-10-04 01:11:33 +08:00
Qiu Jian
2b3c3856b3 fix: snapsho realdelete nil pointer panic 2019-10-04 00:13:06 +08:00
yunion-ci-robot
008829686e Merge pull request #3109 from swordqiu/automated-cherry-pick-of-#3106-upstream-release-2.12
Automated cherry pick of #3106: fix: server-create allow create server with empty disk
2019-09-29 19:33:32 +08:00
Qiu Jian
a6768fae9c fix: server-create allow create server with empty disk 2019-09-29 17:23:59 +08:00
ioito
8ca737311b fix: network支持多个zone过滤 2019-09-29 16:10:12 +08:00
Zexi Li
6931d596ba Merge pull request #3099 from zexi/automated-cherry-pick-of-#3098-upstream-release-2.12
Automated cherry pick of #3098: scheduler: refactor network_predicate filter
2019-09-29 13:17:04 +08:00
ioito
43c8559d59 fix: 添加vpc usable过滤参数,过滤cloudprovider异常的networks 2019-09-28 20:40:27 +08:00
ioito
6d036d88bd feature: 支持名称重复数据 2019-09-28 20:39:38 +08:00
Zexi Li
17e3049086 scheduler: refactor network_predicate filter 2019-09-28 18:28:58 +08:00
yunion-ci-robot
cef42d245f Merge pull request #3094 from swordqiu/automated-cherry-pick-of-#3091-upstream-release-2.12
Automated cherry pick of #3091: fix: reduce policy sync worker queue size
2019-09-28 11:31:33 +08:00
yunion-ci-robot
8b56069b7c Merge pull request #3088 from wanyaoqi/automated-cherry-pick-of-#3087-upstream-release-2.12
Automated cherry pick of #3087: fix snaphot task complete
2019-09-28 10:49:31 +08:00
Qiu Jian
2f7915344a fix: reduce policy sync worker queue size 2019-09-27 23:04:51 +08:00
wanyaoqi
c82d69bcdf fix snaphot task complete 2019-09-27 19:17:12 +08:00
Zexi Li
d5816f1f37 Merge pull request #3084 from zexi/automated-cherry-pick-of-#3082-upstream-release-2.12
Automated cherry pick of #3082: apigateway: fix forbidden login prompt format
2019-09-27 15:53:46 +08:00
Zexi Li
4fe247db1a apigateway: fix forbidden login prompt format 2019-09-27 15:52:55 +08:00
Zexi Li
4f0a0a3aab Merge pull request #3081 from Mjoycarry/automated-cherry-pick-of-#3080-upstream-release-2.12
Automated cherry pick of #3080: fix
2019-09-27 14:24:37 +08:00
Rain
ef95b72033 fix 2019-09-27 14:20:13 +08:00
yunion-ci-robot
16152a2b6d Merge pull request #3061 from yousong/automated-cherry-pick-of-#3059-upstream-release-2.12
Automated cherry pick of #3059: guestnetworks: IsExit()减少一次数据库查询
2019-09-27 08:51:30 +08:00
yunion-ci-robot
7be48ec7be Merge pull request #3068 from wanyaoqi/automated-cherry-pick-of-#3067-upstream-release-2.12
Automated cherry pick of #3067: snapshot move to recycle bin
2019-09-27 08:50:31 +08:00
yunion-ci-robot
60b3bce87d Merge pull request #3072 from wanyaoqi/automated-cherry-pick-of-#3071-upstream-release-2.12
Automated cherry pick of #3071: windows format fs fast
2019-09-27 08:49:29 +08:00
yunion-ci-robot
24a84fca8e Merge pull request #3057 from ioito/automated-cherry-pick-of-#3056-upstream-release-2.12
Automated cherry pick of #3056: fix: typo
2019-09-26 23:36:33 +08:00
wanyaoqi
2cf05b3ac2 windows format fs fast 2019-09-26 22:57:00 +08:00
yunion-ci-robot
dc8370e1d5 Merge pull request #3055 from swordqiu/automated-cherry-pick-of-#3053-upstream-release-2.12
Automated cherry pick of #3053: fix: missing region in cookie cause no service catalog fetched
2019-09-26 22:49:30 +08:00
yunion-ci-robot
6520ce194b Merge pull request #3050 from swordqiu/automated-cherry-pick-of-#3046-upstream-release-2.12
Automated cherry pick of #3046: fix: keystone panic on invalid auth token
2019-09-26 22:47:29 +08:00
wanyaoqi
0f05e44295 snapshot move to recycle bin 2019-09-26 22:34:07 +08:00
ioito
58aef2030e add: 支持创建安全组时同时创建规则 2019-09-26 18:06:03 +08:00
Yousong Zhou
7b0131f13a guests: list details with nics details 2019-09-26 04:45:33 +00:00
Yousong Zhou
f96be2fe0a guestnetworks: IsExit()减少一次数据库查询 2019-09-26 04:45:33 +00:00
ioito
7344d22320 fix: typo 2019-09-26 11:13:33 +08:00
yunion-ci-robot
35a4ff408e Merge pull request #3040 from yousong/automated-cherry-pick-of-#3039-upstream-release-2.12
Automated cherry pick of #3039: lbagents: 添加部署和下线操作记录
2019-09-25 21:21:29 +08:00
Qiu Jian
2bcaa0d7d0 fix: missing region in cookie cause no service catalog fetched 2019-09-25 21:16:42 +08:00
Qiu Jian
1b1cb29ade fix: keystone panic on invalid auth token 2019-09-25 21:04:29 +08:00
Zexi Li
841b26e683 Merge pull request #3052 from Mjoycarry/automated-cherry-pick-of-#3051-upstream-release-2.12
Automated cherry pick of #3051: fix cron
2019-09-25 18:01:08 +08:00
Rain
495821b3f7 fix cron 2019-09-25 17:58:46 +08:00
yunion-ci-robot
d610580f9c Merge pull request #3048 from Mjoycarry/automated-cherry-pick-of-#3021-upstream-release-2.12
Automated cherry pick of #3021: support Secondary authority management for contact and notification rpc=>grpc, go=>workerMan
2019-09-25 17:43:29 +08:00
Rain
47fb8b6f3d support Secondary authority management for contact and notification rpc=>grpc, go=>workerMan
pull dingtalk auto

grpc
2019-09-25 17:40:32 +08:00
yunion-ci-robot
ab1e7d85d7 Merge pull request #3044 from wanyaoqi/automated-cherry-pick-of-#3043-upstream-release-2.12
Automated cherry pick of #3043: fix host init cronjob
2019-09-25 16:30:31 +08:00
wanyaoqi
e3c7afcd84 fix host init cronjob 2019-09-25 16:22:31 +08:00
yunion-ci-robot
57e21839a0 Merge pull request #3036 from ioito/automated-cherry-pick-of-#3035-upstream-release-2.12
Automated cherry pick of #3035: add: lb vpc info
2019-09-25 13:29:29 +08:00
Yousong Zhou
f48ede5a3a lbagents: 添加部署和下线操作记录 2019-09-25 05:27:27 +00:00
ioito
5bd5c230ad add: lb vpc info 2019-09-25 11:48:59 +08:00
yunion-ci-robot
480d26f98d Merge pull request #3032 from swordqiu/automated-cherry-pick-of-#3030-upstream-release-2.12
Automated cherry pick of #3030: fix: disable cas idp not working
2019-09-25 10:03:31 +08:00
yunion-ci-robot
6dac67b47d Merge pull request #3033 from wanyaoqi/automated-cherry-pick-of-#3023-upstream-release-2.12
Automated cherry pick of #3023: fix add cronjob validate times
2019-09-24 20:55:29 +08:00
yunion-ci-robot
ba683679ba Merge pull request #3028 from ioito/automated-cherry-pick-of-#3027-upstream-release-2.12
Automated cherry pick of #3027: fix: 避免监听未设置manager_id
2019-09-24 20:54:32 +08:00
yunion-ci-robot
3992a097f9 Merge pull request #3017 from wanyaoqi/automated-cherry-pick-of-#3004-upstream-release-2.12
Automated cherry pick of #3004: fix rbd disk delete rebuild root with snapshot
2019-09-24 20:50:31 +08:00
wanyaoqi
159b6a0b87 fix add cronjob validate times 2019-09-24 20:22:42 +08:00
yunion-ci-robot
3068074a92 Merge pull request #3024 from wanyaoqi/automated-cherry-pick-of-#3023-upstream-release-2.12
Automated cherry pick of #3023: fix add cronjob validate times
2019-09-24 20:15:28 +08:00
ioito
e6fa258e88 add: error log trace 2019-09-24 19:58:22 +08:00
ioito
b7aac9628d fix: 避免监听未设置manager_id 2019-09-24 19:58:22 +08:00
Qiu Jian
c779c872b6 fix: disable cas idp not working 2019-09-24 19:52:30 +08:00
wanyaoqi
511774dfd2 fix add cronjob validate times 2019-09-24 18:51:09 +08:00
yunion-ci-robot
bb5b39c644 Merge pull request #3011 from yousong/automated-cherry-pick-of-#3009-upstream-release-2.12
Automated cherry pick of #3009: ansibleserver: 避免数据库故障引起内部状态不一致
2019-09-24 00:50:29 +08:00
yunion-ci-robot
c1f037833e Merge pull request #3014 from yousong/automated-cherry-pick-of-#3010-upstream-release-2.12
Automated cherry pick of #3010: lbagents: 禁止在公有云、托管物理机上部署
2019-09-24 00:48:29 +08:00
wanyaoqi
03d5ba2cbd fix rbd disk delete rebuild root with snapshot 2019-09-23 20:58:08 +08:00
Yousong Zhou
9beefd5544 lbagents: 禁止在公有云、托管物理机上部署 2019-09-23 11:45:13 +00:00
Yousong Zhou
d9176b4329 ansibleserver: 避免数据库故障引起内部状态不一致 2019-09-23 11:43:31 +00:00
yunion-ci-robot
0e930a36fd Merge pull request #3008 from swordqiu/automated-cherry-pick-of-#3005-upstream-release-2.12
Automated cherry pick of #3005: fix: tenant filter fail to work
2019-09-21 20:43:26 +08:00
Qiu Jian
d8f62b1036 fix: tenant filter fail to work 2019-09-21 20:40:32 +08:00
yunion-ci-robot
37a589ab0e Merge pull request #2997 from swordqiu/automated-cherry-pick-of-#2994-upstream-release-2.12
Automated cherry pick of #2994: fix: fail to search opslog by obj_name
2019-09-19 22:01:26 +08:00
yunion-ci-robot
1093745763 Merge pull request #3001 from swordqiu/automated-cherry-pick-of-#2998-upstream-release-2.12
Automated cherry pick of #2998: fix: adjust default process timeout to 1 minute (previously 15 seconds)
2019-09-19 22:00:29 +08:00
yunion-ci-robot
78a1b58829 Merge pull request #2979 from swordqiu/automated-cherry-pick-of-#2965-upstream-release-2.12
Automated cherry pick of #2965: feature: support xsky object storage
2019-09-19 21:59:26 +08:00
yunion-ci-robot
ccb507f340 Merge pull request #2982 from swordqiu/automated-cherry-pick-of-#2980-upstream-release-2.12
Automated cherry pick of #2980: feature: keystone v3 auth response carry user's displayname/email/mobile
2019-09-19 21:40:26 +08:00
yunion-ci-robot
12783e8cf8 Merge pull request #2991 from wanyaoqi/automated-cherry-pick-of-#2988-upstream-release-2.12
Automated cherry pick of #2988: cronjob support remove
2019-09-19 21:31:24 +08:00
yunion-ci-robot
ba25500228 Merge pull request #2962 from wanyaoqi/automated-cherry-pick-of-#2956-upstream-release-2.12
Automated cherry pick of #2956: misc fix
2019-09-19 21:19:27 +08:00
Qiu Jian
5e077ab41f fix: status check before accessing external bucket 2019-09-19 21:16:03 +08:00
Qiu Jian
07a3220ce4 fix: cloud-account-create-xsky nil pointer error 2019-09-19 21:16:03 +08:00
Qiu Jian
3e448e6e7b feature: add climc cloud-account-create-xsky 2019-09-19 21:16:03 +08:00
Qiu Jian
d0c4da8911 update doc and copyright 2019-09-19 21:16:03 +08:00
Qiu Jian
61efcc999f update vendor 2019-09-19 21:16:03 +08:00
Qiu Jian
53bfdb9a00 feature: support xsky object storage 2019-09-19 21:16:03 +08:00
yunion-ci-robot
2bbf365d6d Merge pull request #2985 from yousong/automated-cherry-pick-of-#2984-upstream-release-2.12
Automated cherry pick of #2984: lbbackends: 改进错误信息传递
2019-09-19 21:12:27 +08:00
Qiu Jian
2f02c4080c fix: adjust default process timeout to 1 minute (previously 15 seconds) 2019-09-19 21:08:59 +08:00
Qiu Jian
95123e6855 fix: fail to search opslog by obj_name 2019-09-19 21:03:47 +08:00
wanyaoqi
6231e28916 cronjob support remove 2019-09-19 20:07:39 +08:00
Yousong Zhou
151fde353e lbbackends: 改进错误信息传递 2019-09-19 10:39:40 +00:00
Qiu Jian
537e274773 feature: keystone v3 auth response carry user's displayname/email/mobile 2019-09-19 00:05:15 +08:00
yunion-ci-robot
1634fcc97a Merge pull request #2976 from yousong/automated-cherry-pick-of-#2975-upstream-release-2.12
Automated cherry pick of #2975: lblistener: 改正监听update
2019-09-18 23:44:25 +08:00
yunion-ci-robot
8e52cf97e0 Merge pull request #2972 from yousong/automated-cherry-pick-of-#2971-upstream-release-2.12
Automated cherry pick of #2971: validators: 应对"listener"参数被重复Validate的情况
2019-09-18 23:43:27 +08:00
Yousong Zhou
c9199e463b lblistener: 改正监听update
Fixes e4ef23515f ("aws elb support")
2019-09-18 12:21:46 +00:00
Yousong Zhou
381f04b948 validators: 应对"listener"参数被重复Validate的情况
Fixes e4ef23515f ("aws elb support")
2019-09-18 07:36:26 +00:00
yunion-ci-robot
fa3eaf82c5 Merge pull request #2969 from swordqiu/automated-cherry-pick-of-#2966-upstream-release-2.12
Automated cherry pick of #2966: fix: missing log audit for updating cloudaccount account credential
2019-09-18 11:31:25 +08:00
yunion-ci-robot
0c373551b9 Merge pull request #2958 from ioito/automated-cherry-pick-of-#2957-upstream-release-2.12
Automated cherry pick of #2957: fix: 添加弹性网卡过滤参数
2019-09-18 11:30:26 +08:00
yunion-ci-robot
d0d6d3b4b0 Merge pull request #2955 from swordqiu/automated-cherry-pick-of-#2952-upstream-release-2.12
Automated cherry pick of #2952: fix: Table 'yunionlogger.users_cache_tbl' doesn't exist
2019-09-18 11:28:25 +08:00
Qiu Jian
c7acfd029d fix: missing log audit for updating cloudaccount account credential 2019-09-18 00:20:29 +08:00
wanyaoqi
34bb1b30af misc fix
- optimize batch create validate
2019-09-17 18:49:16 +08:00
ioito
98077179ab fix: 添加弹性网卡过滤参数 2019-09-17 14:52:11 +08:00
Qiu Jian
96fdffdd78 fix: Table 'yunionlogger.users_cache_tbl' doesn't exist 2019-09-17 13:12:31 +08:00
yunion-ci-robot
0edbe32117 Merge pull request #2949 from ioito/automated-cherry-pick-of-#2948-upstream-release-2.12
Automated cherry pick of #2948: fix: 避免make mod时异常
2019-09-17 13:07:24 +08:00
ioito
7c1bf04935 fix: 避免make mod时异常 2019-09-17 12:30:53 +08:00
yunion-ci-robot
c755aa74e3 Merge pull request #2945 from ioito/automated-cherry-pick-of-#2944-upstream-release-2.12
Automated cherry pick of #2944: fix: 避免zstack高可用关机失效问题
2019-09-17 11:55:24 +08:00
ioito
032256314a fix: 避免zstack高可用关机失效问题 2019-09-17 11:32:18 +08:00
yunion-ci-robot
0f4caabe06 Merge pull request #2943 from swordqiu/automated-cherry-pick-of-#2940-upstream-release-2.12
Automated cherry pick of #2940: fix: fail to delete disconnected cloudaccount
2019-09-17 08:48:25 +08:00
yunion-ci-robot
73ae486c21 Merge pull request #2939 from swordqiu/automated-cherry-pick-of-#2936-upstream-release-2.12
Automated cherry pick of #2936: 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-17 08:47:25 +08:00
Qiu Jian
501d7ceb93 fix: fail to delete disconnected cloudaccount 2019-09-17 01:45:10 +08:00
yunion-ci-robot
3da5d0746c Merge pull request #2917 from wanyaoqi/automated-cherry-pick-of-#2912-upstream-release-2.12
Automated cherry pick of #2912: fix init listen interface
2019-09-17 00:15:24 +08:00
yunion-ci-robot
a3c9de260c Merge pull request #2933 from yousong/automated-cherry-pick-of-#2932-upstream-release-2.12
Automated cherry pick of #2932: lbagents: deploy: check existence of pbId before create/update
2019-09-17 00:12:23 +08:00
Qiu Jian
9dfce703d4 fix: baremetal prepare updates nic_info incrementally 2019-09-17 00:08:42 +08:00
Qiu Jian
f86e1ce1ca 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-17 00:08:42 +08:00
Yousong Zhou
d19c21c8aa 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:12:18 +00:00
Yousong Zhou
5cb0647ef8 lbagents: deploy: check existence of pbId before create/update 2019-09-16 14:12:18 +00:00
Zexi Li
b5ed6d8ed3 Merge pull request #2929 from zexi/automated-cherry-pick-of-#2928-upstream-release-2.12
Automated cherry pick of #2928: scheduler: fix baremetal disk and storage not match
2019-09-16 20:29:58 +08:00
Zexi Li
08d4b4ccbc scheduler: fix baremetal disk and storage not match 2019-09-16 20:28:10 +08:00
yunion-ci-robot
348934f8e2 Merge pull request #2927 from ioito/automated-cherry-pick-of-#2921-upstream-release-2.12
Automated cherry pick of #2921: fix: 避免删除不存在的快照出错
2019-09-16 18:57:24 +08:00
ioito
4f2da9a106 fix: 避免删除不存在的快照出错 2019-09-16 17:26:25 +08:00
Zexi Li
563136abea Merge pull request #2916 from zexi/automated-cherry-pick-of-#2913-upstream-release-2.12
Automated cherry pick of #2913: scheduler: fix disk local backend not select matched storage
2019-09-16 14:44:33 +08:00
wanyaoqi
cc7122404d fix init listen interface 2019-09-16 14:34:28 +08:00
Zexi Li
3d6b080527 scheduler: fix disk local backend not select matched storage 2019-09-16 13:53:02 +08:00
Yousong Zhou
35826cd27b Merge pull request #2910 from ioito/automated-cherry-pick-of-#2908-upstream-release-2.12
Automated cherry pick of #2908: fix: 避免cache raw格式的镜像
2019-09-12 19:12:08 +08:00
yunion-ci-robot
b83f3c8852 Merge pull request #2905 from wanyaoqi/automated-cherry-pick-of-#2904-upstream-release-2.12
Automated cherry pick of #2904: set concurrent deploy count
2019-09-12 19:11:23 +08:00
ioito
9a8e713c2e fix: 避免cache raw格式的镜像 2019-09-12 19:09:03 +08:00
wanyaoqi
3e161bf8ce set concurrent deploy count 2019-09-12 19:02:37 +08:00
yunion-ci-robot
37ee533dae Merge pull request #2901 from ioito/automated-cherry-pick-of-#2900-upstream-release-2.12
Automated cherry pick of #2900: fix: update vendor
2019-09-12 18:22:21 +08:00
ioito
32c3211130 fix: update vendor 2019-09-12 18:17:24 +08:00
yunion-ci-robot
7a899647a8 Merge pull request #2897 from ioito/automated-cherry-pick-of-#2896-upstream-release-2.12
Automated cherry pick of #2896: fix: avoid nil pointer
2019-09-12 17:18:23 +08:00
yunion-ci-robot
38516811f9 Merge pull request #2893 from ioito/automated-cherry-pick-of-#2892-upstream-release-2.12
Automated cherry pick of #2892: fix: update go-ceph vendor
2019-09-12 17:17:22 +08:00
ioito
4f60402942 fix: update go-ceph vendor 2019-09-12 16:57:03 +08:00
ioito
50478d9b27 fix: avoid nil pointer 2019-09-12 16:52:08 +08:00
yunion-ci-robot
c298211f7e Merge pull request #2884 from swordqiu/automated-cherry-pick-of-#2881-upstream-release-2.12
Automated cherry pick of #2881: 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 14:35:22 +08:00
yunion-ci-robot
b5080e1f54 Merge pull request #2889 from ioito/automated-cherry-pick-of-#2885-upstream-release-2.12
Automated cherry pick of #2885: fix: go-ceph bugifx
2019-09-12 14:29:21 +08:00
ioito
a4698313e6 fix: go-ceph bugifx 2019-09-12 14:18:55 +08:00
Qiu Jian
6fd75cb1b9 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:11:30 +08:00
yunion-ci-robot
aa614aab82 Merge pull request #2880 from wanyaoqi/automated-cherry-pick-of-#2877-upstream-release-2.12
Automated cherry pick of #2877: fix glance save form url save md5
2019-09-12 12:02:22 +08:00
wanyaoqi
0618e8f237 fix glance save form url save md5 2019-09-12 11:09:25 +08:00
yunion-ci-robot
1ca92f3f83 Merge pull request #2848 from tb365/automated-cherry-pick-of-#2846-upstream-release-2.12
Automated cherry pick of #2846: qrcode issuer coding fix
2019-09-11 21:46:21 +08:00
yunion-ci-robot
fbca269566 Merge pull request #2870 from ioito/automated-cherry-pick-of-#2869-upstream-release-2.12
Automated cherry pick of #2869: fix: 避免置空description失效
2019-09-11 21:35:21 +08:00
yunion-ci-robot
7f1864df3c Merge pull request #2868 from swordqiu/automated-cherry-pick-of-#2866-upstream-release-2.12
Automated cherry pick of #2866: fix: system account user fail to login apigateway
2019-09-11 21:33:21 +08:00
yunion-ci-robot
2480235c7c Merge pull request #2876 from swordqiu/automated-cherry-pick-of-#2873-upstream-release-2.12
Automated cherry pick of #2873: fix: fail to update reserved ip notes
2019-09-11 21:31:23 +08:00
Qiu Jian
4cd2f4dca6 fix: fail to update reserved ip notes 2019-09-11 19:30:23 +08:00
ioito
b5e021017b fix: 避免置空description失效 2019-09-11 16:17:22 +08:00
Qiu Jian
ad7c52201f fix: system account user fail to login apigateway 2019-09-11 13:38:46 +08:00
yunion-ci-robot
52983469b2 Merge pull request #2854 from yousong/automated-cherry-pick-of-#2853-upstream-release-2.12
Automated cherry pick of #2853: ansibleserver: 限定Playbook字段长度
2019-09-11 09:31:19 +08:00
yunion-ci-robot
22b56edb39 Merge pull request #2862 from wanyaoqi/automated-cherry-pick-of-#2861-upstream-release-2.12
Automated cherry pick of #2861: misc bugfix
2019-09-10 22:45:21 +08:00
wanyaoqi
338f5705d9 misc bugfix 2019-09-10 22:29:08 +08:00
yunion-ci-robot
a03f2e07b0 Merge pull request #2857 from ioito/automated-cherry-pick-of-#2855-upstream-release-2.12
Automated cherry pick of #2855: fix: 避免密码登录时使用秘钥认证
2019-09-10 17:44:20 +08:00
yunion-ci-robot
1e64ccf47e Merge pull request #2850 from ioito/automated-cherry-pick-of-#2849-upstream-release-2.12
Automated cherry pick of #2849: fix: 虚拟机更改项目时,eip同时变更
2019-09-10 17:28:22 +08:00
ioito
ffa480dadd fix: 避免密码登录时使用秘钥认证 2019-09-10 17:22:39 +08:00
Yousong Zhou
230c185a83 ansibleserver: 限定Playbook字段长度
避免进入数据库时被截断产生无效数据
2019-09-10 09:21:31 +00:00
ioito
991f2a7929 fix: 虚拟机更改项目时,eip同时变更 2019-09-10 16:49:22 +08:00
TangBin
c5b73efdfb qrcode issuer coding fix 2019-09-10 16:44:04 +08:00
yunion-ci-robot
cee5bbc478 Merge pull request #2845 from tb365/automated-cherry-pick-of-#2842-upstream-release-2.12
Automated cherry pick of #2842: fix ucloud snapshot delete
2019-09-10 16:00:20 +08:00
TangBin
831aadc13c totp auth code support multi-domain 2019-09-10 15:35:05 +08:00
TangBin
593a01cfed fix ucloud snapshot delete 2019-09-10 15:35:05 +08:00
yunion-ci-robot
b9443742da Merge pull request #2841 from swordqiu/automated-cherry-pick-of-#2838-upstream-release-2.12
Automated cherry pick of #2838: fix: fail to delete orphane VM in esxi https://kb.vmware.com/s/article/1003742
2019-09-10 15:26:19 +08:00
yunion-ci-robot
2cde7953a5 Merge pull request #2836 from swordqiu/automated-cherry-pick-of-#2834-upstream-release-2.12
Automated cherry pick of #2834: 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
0cb490d3e8 Merge pull request #2831 from wanyaoqi/automated-cherry-pick-of-#2800-upstream-release-2.12
Automated cherry pick of #2800: misc deploy fix
2019-09-10 15:16:20 +08:00
wanyaoqi
0d22e6d5d0 guest misc fix 2019-09-10 10:58:37 +08:00
Qiu Jian
9eeba524a5 fix: fail to delete orphane VM in esxi https://kb.vmware.com/s/article/1003742 2019-09-10 10:01:44 +08:00
Qiu Jian
536208c317 fix: 1. CAS user fail to create totp credential 2. do not try password auth for CAS users 2019-09-09 23:44:18 +08:00
yunion-ci-robot
e77f2cfb76 Merge pull request #2824 from ioito/automated-cherry-pick-of-#2823-upstream-release-2.12
Automated cherry pick of #2823: fix: 修复安全组关联数量校验不正确问题
2019-09-09 23:33:19 +08:00
yunion-ci-robot
e151ecea8b Merge pull request #2820 from ioito/automated-cherry-pick-of-#2819-upstream-release-2.12
Automated cherry pick of #2819: fix: 避免数据盘顺序也被颠倒
2019-09-09 23:30:24 +08:00
wanyaoqi
0974bacbc5 misc deploy fix 2019-09-09 20:36:54 +08:00
Yousong Zhou
7b14cff103 Merge pull request #2828 from yousong/automated-cherry-pick-of-#2827-upstream-release-2.12
Automated cherry pick of #2827: .circleci: fix requires
2019-09-09 18:41:27 +08:00
Yousong Zhou
1500649955 build: rename cleandocgo to adddocgo 2019-09-09 10:03:52 +00:00
Yousong Zhou
49e0a8ea9d .circleci: fix requires 2019-09-09 10:03:52 +00:00
Yousong Zhou
5c87c990fc Merge pull request #2812 from yousong/automated-cherry-pick-of-#2809-upstream-release-2.12
Automated cherry pick of #2809: build: 将check与构建部分解耦
2019-09-09 17:59:21 +08:00
Yousong Zhou
cce18adf2a .circleci: 构建前check 2019-09-09 09:54:49 +00:00
Yousong Zhou
434fa4410a treewide: fix "make check" 2019-09-09 09:54:48 +00:00
Yousong Zhou
dcca41a276 build: 将check与构建部分解耦 2019-09-09 09:54:48 +00:00
ioito
f769bec7c0 fix: 修复安全组关联数量校验不正确问题 2019-09-09 16:50:14 +08:00
ioito
d24a1cc59f fix: 避免数据盘顺序也被颠倒 2019-09-09 16:46:13 +08:00
yunion-ci-robot
374b71dcdd Merge pull request #2811 from swordqiu/automated-cherry-pick-of-#2808-upstream-release-2.12
Automated cherry pick of #2808: fix: yunionapi nil pointer panic after failed login
2019-09-09 16:31:20 +08:00
yunion-ci-robot
bcc7e6363a Merge pull request #2817 from swordqiu/automated-cherry-pick-of-#2813-upstream-release-2.12
Automated cherry pick of #2813: fix: fail to find host ip in virtual console vnic
2019-09-09 16:27:20 +08:00
Qiu Jian
067555f83f fix: fail to find host ip in virtual console vnic 2019-09-09 15:54:12 +08:00
Qiu Jian
1d15915882 fix: yunionapi nil pointer panic after failed login 2019-09-09 15:44:59 +08:00
yunion-ci-robot
f652ef9135 Merge pull request #2805 from ioito/automated-cherry-pick-of-#2804-upstream-release-2.12
Automated cherry pick of #2804: fix: 避免解绑EIP后释放EIP任务失败
2019-09-09 11:56:20 +08:00
ioito
ad93653902 fix: 避免解绑EIP后释放EIP任务失败 2019-09-09 11:20:28 +08:00
yunion-ci-robot
18837de0b5 Merge pull request #2799 from tb365/automated-cherry-pick-of-#2794-upstream-release-2.12
Automated cherry pick of #2794: mcclient module base
2019-09-07 23:19:18 +08:00
tb365
93d58b2a9c Merge branch 'release/2.12' into automated-cherry-pick-of-#2794-upstream-release-2.12 2019-09-07 23:04:42 +08:00
yunion-ci-robot
821c3a4bb9 Merge pull request #2803 from swordqiu/automated-cherry-pick-of-#2801-upstream-release-2.12
Automated cherry pick of #2801: fix: api gateway logout handler error and fix go fmt issues
2019-09-07 23:04:19 +08:00
TangBin
74fa148318 reformat import 2019-09-07 22:59:19 +08:00
TangBin
813cd3c83d mcclient module base 2019-09-07 22:59:19 +08:00
Qiu Jian
fd1a7a254e fix: remove casfe.go 2019-09-07 22:44:30 +08:00
Qiu Jian
e21f0194a1 fix: api gateway logout handler error and fix go fmt issues 2019-09-07 22:44:30 +08:00
yunion-ci-robot
257816d64e Merge pull request #2793 from swordqiu/automated-cherry-pick-of-#2770-upstream-release-2.12
Automated cherry pick of #2770: feature: keystone support CAS SSO authentication
2019-09-07 19:24:17 +08:00
yunion-ci-robot
0fd5353861 Merge pull request #2797 from Mjoycarry/automated-cherry-pick-of-#2795-upstream-release-2.12
Automated cherry pick of #2795: add interface fetch resources of snats and dnats
2019-09-07 19:15:19 +08:00
yunion-ci-robot
a789f9be96 Merge pull request #2788 from wanyaoqi/automated-cherry-pick-of-#2787-upstream-release-2.12
Automated cherry pick of #2787: fix guest manager server struct
2019-09-07 19:14:19 +08:00
yunion-ci-robot
ca71f34442 Merge pull request #2785 from ioito/automated-cherry-pick-of-#2783-upstream-release-2.12
Automated cherry pick of #2783: fix: 避免重装系统后同步信息导致磁盘类型都为系统盘
2019-09-07 19:13:17 +08:00
yunion-ci-robot
2c5c62a89c Merge pull request #2756 from wanyaoqi/automated-cherry-pick-of-#2741-upstream-release-2.12
Automated cherry pick of #2741: io throttle add log event
2019-09-07 19:07:17 +08:00
Rain
4d41466fef 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:54:38 +08:00
Qiu Jian
34890406d6 feature: keystone support CAS SSO authentication 2019-09-07 18:52:45 +08:00
yunion-ci-robot
b2c6e22271 Merge pull request #2778 from swordqiu/automated-cherry-pick-of-#2775-upstream-release-2.12
Automated cherry pick of #2775: fix: 1. nil pointer panic error when accessing resource pool and storagecache 2. support multiple disk format
2019-09-07 17:39:18 +08:00
Qiu Jian
0a0142046c fix: 1. nil pointer panic error when accessing resource pool and storagecache 2. support multiple disk format 2019-09-07 17:29:22 +08:00
wanyaoqi
60186e2e71 fix guest manager server struct 2019-09-07 15:13:42 +08:00
ioito
1c078049b7 fix: 避免重装系统后同步信息导致磁盘类型都为系统盘 2019-09-07 13:43:13 +08:00
yunion-ci-robot
70f70a8e4c Merge pull request #2782 from Mjoycarry/automated-cherry-pick-of-#2780-upstream-release-2.12
Automated cherry pick of #2780: snapshotpolicy and disk should have same domain and project in snapshotpolicydisks
2019-09-07 13:34:18 +08:00
yunion-ci-robot
24d085b92b Merge pull request #2774 from swordqiu/automated-cherry-pick-of-#2772-upstream-release-2.12
Automated cherry pick of #2772: fix: allow set object acl in batch
2019-09-07 13:02:18 +08:00
Rain
906211eb55 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 12:23:54 +08:00
Qiu Jian
cb7988fe0c fix: allow set object acl in batch 2019-09-06 23:30:31 +08:00
yunion-ci-robot
2f3c2120b1 Merge pull request #2748 from ioito/automated-cherry-pick-of-#2747-upstream-release-2.12
Automated cherry pick of #2747: fix: networkinterfaces belong system resource
2019-09-06 14:40:18 +08:00
yunion-ci-robot
84c1b914e6 Merge pull request #2763 from yousong/automated-cherry-pick-of-#2762-upstream-release-2.12
Automated cherry pick of #2762: lbagents: deploy: 检查服务账号有效性
2019-09-06 11:59:17 +08:00
yunion-ci-robot
f5ba537818 Merge pull request #2759 from wanyaoqi/automated-cherry-pick-of-#2758-upstream-release-2.12
Automated cherry pick of #2758: fix vnc connect, filter qmp event
2019-09-06 11:58:20 +08:00
yunion-ci-robot
7f9f86f27b Merge pull request #2767 from ioito/automated-cherry-pick-of-#2766-upstream-release-2.12
Automated cherry pick of #2766: fix: 不能无限制追加 application/json
2019-09-06 11:56:17 +08:00
ioito
443c5f36ff fix: 不能无限制追加 application/json 2019-09-06 11:46:26 +08:00
yunion-ci-robot
477ba4185c Merge pull request #2735 from swordqiu/automated-cherry-pick-of-#2733-upstream-release-2.12
Automated cherry pick of #2733: fix: optimize logger query time
2019-09-05 22:01:21 +08:00
Yousong Zhou
b4941b3ee8 lbagents: deploy: 检查服务账号有效性 2019-09-05 13:58:51 +00:00
wanyaoqi
abd924e429 fix vnc connect, filter qmp event 2019-09-05 21:01:39 +08:00
wanyaoqi
7119222372 io throttle add log event 2019-09-05 20:31:37 +08:00
yunion-ci-robot
f91b7d3c78 Merge pull request #2751 from yousong/automated-cherry-pick-of-#2750-upstream-release-2.12
Automated cherry pick of #2750: lbagent: reuse mcclient client session
2019-09-05 19:58:19 +08:00
yunion-ci-robot
4741f41410 Merge pull request #2755 from Mjoycarry/automated-cherry-pick-of-#2744-upstream-release-2.12
Automated cherry pick of #2744: qcloud sunday
2019-09-05 16:01:16 +08:00
Rain
b215b7c29b qcloud sunday
disk diskplay
2019-09-05 15:50:50 +08:00
Yousong Zhou
a28f0765ce lbagent: fix possible out of bound index access 2019-09-05 07:30:00 +00:00
Yousong Zhou
d6aa32074f lbagent: reuse mcclient client session 2019-09-05 07:30:00 +00:00
ioito
5f7f391c2f fix: networkinterfaces belong system resource 2019-09-05 14:49:28 +08:00
yunion-ci-robot
9c6f0d5ac4 Merge pull request #2739 from wanyaoqi/automated-cherry-pick-of-#2727-upstream-release-2.12
Automated cherry pick of #2727: fix snapshot policy filter
2019-09-04 14:35:17 +08:00
wanyaoqi
b43880ddc2 fix snapshot policy filter 2019-09-04 12:34:20 +08:00
yunion-ci-robot
3aabd29b9d Merge pull request #2738 from swordqiu/automated-cherry-pick-of-#2736-upstream-release-2.12
Automated cherry pick of #2736: fix: for backward compatility, only check account id consistency for non-empty account id
2019-09-04 10:03:16 +08:00
Qiu Jian
f808a9a292 fix: optimize logger query time 2019-09-04 00:48:58 +08:00
Qiu Jian
7d5ab92505 fix: for backward compatility, only check account id consistency for non-empty account id 2019-09-03 21:23:54 +08:00
yunion-ci-robot
eb337f56c0 Merge pull request #2732 from swordqiu/automated-cherry-pick-of-#2730-upstream-release-2.12
Automated cherry pick of #2730: fix: s3cli enable debug trace
2019-09-03 17:37:15 +08:00
Qiu Jian
2e5ac6307b fix: s3cli enable debug trace 2019-09-03 17:14:50 +08:00
Zexi Li
7d7b486c65 Merge pull request #2724 from zexi/automated-cherry-pick-of-#2723-upstream-release-2.12
Automated cherry pick of #2723: region: fix create params cdrom missing
2019-09-03 10:47:21 +08:00
Zexi
608400fe00 region: fix create params cdrom missing 2019-09-03 10:45:52 +08:00
yunion-ci-robot
12c64fefa8 Merge pull request #2715 from wanyaoqi/automated-cherry-pick-of-#2714-upstream-release-2.12
Automated cherry pick of #2714: fix auto snapshot check quota, name, owner
2019-09-03 10:44:16 +08:00
yunion-ci-robot
0c89fb57ee Merge pull request #2713 from Mjoycarry/automated-cherry-pick-of-#2711-upstream-release-2.12
Automated cherry pick of #2711: hanler snapshotpolicy cache
2019-09-03 10:33:15 +08:00
yunion-ci-robot
c6a1262ada Merge pull request #2722 from Mjoycarry/automated-cherry-pick-of-#2720-upstream-release-2.12
Automated cherry pick of #2720: add OnBindIPCompleteFailed and fix aliyun Refresh for snat and dnat
2019-09-03 10:29:15 +08:00
Rain
c62922c3b6 add OnBindIPCompleteFailed and fix aliyun Refresh for snat and dnat 2019-09-03 10:25:43 +08:00
yunion-ci-robot
7f88c8bfd5 Merge pull request #2719 from swordqiu/automated-cherry-pick-of-#2717-upstream-release-2.12
Automated cherry pick of #2717: fix: bucket list access accessUrl nil pointer panic
2019-09-02 21:42:17 +08:00
yunion-ci-robot
9c885cb106 Merge pull request #2706 from swordqiu/automated-cherry-pick-of-#2703-upstream-release-2.12
Automated cherry pick of #2703: fix: guest get host nil pointer panic
2019-09-02 21:41:16 +08:00
Qiu Jian
a73982525b fix: bucket list access accessUrl nil pointer panic 2019-09-02 21:36:23 +08:00
wanyaoqi
2ba82b2133 fix auto snapshot check quota, name, owner 2019-09-02 21:02:47 +08:00
yunion-ci-robot
ae47edc463 Merge pull request #2710 from zexi/automated-cherry-pick-of-#2707-upstream-release-2.12
Automated cherry pick of #2707: scheduler: fix reserved resource out of limit bug
2019-09-02 18:59:14 +08:00
Rain
991572e356 hanler snapshotpolicy cache 2019-09-02 18:55:32 +08:00
Zexi
41fc2abdaf scheduler: fix reserved resource out of limit bug 2019-09-02 18:41:14 +08:00
Qiu Jian
c65d319e34 fix: guest get host nil pointer panic 2019-09-02 18:22:28 +08:00
yunion-ci-robot
a98c21e106 Merge pull request #2700 from ioito/automated-cherry-pick-of-#2699-upstream-release-2.12
Automated cherry pick of #2699: fix: 忽略裸金属器删除条件
2019-09-02 17:24:19 +08:00
ioito
5a8f899106 fix: 忽略裸金属器删除条件 2019-09-02 16:31:31 +08:00
yunion-ci-robot
66de3937ad Merge pull request #2697 from Mjoycarry/automated-cherry-pick-of-#2672-upstream-release-2.12
Automated cherry pick of #2672: local snapshotpolicy
2019-09-02 16:12:15 +08:00
yunion-ci-robot
aba45af5c4 Merge pull request #2693 from ioito/automated-cherry-pick-of-#2689-upstream-release-2.12
Automated cherry pick of #2689: fix: 避免裸金属服务器转宿主机任务失败
2019-09-02 15:57:15 +08:00
yunion-ci-robot
7d295532b4 Merge pull request #2692 from swordqiu/automated-cherry-pick-of-#2690-upstream-release-2.12
Automated cherry pick of #2690: fix: no quota check when making directory
2019-09-02 15:56:15 +08:00
yunion-ci-robot
925853c1ba Merge pull request #2682 from swordqiu/automated-cherry-pick-of-#2680-upstream-release-2.12
Automated cherry pick of #2680: fix: azure create bucket failure due to empty storageClass
2019-09-02 15:53:15 +08:00
Rain
5c4bde59ba local snapshotpolicy 2019-09-02 15:37:32 +08:00
ioito
4b4c31cdfd fix: 避免裸金属服务器转宿主机任务失败 2019-09-02 15:32:45 +08:00
yunion-ci-robot
9347209796 Merge pull request #2684 from wanyaoqi/automated-cherry-pick-of-#2683-upstream-release-2.12
Automated cherry pick of #2683: fix glance update mindisk
2019-09-02 15:31:15 +08:00
yunion-ci-robot
d095d5ba07 Merge pull request #2677 from zexi/automated-cherry-pick-of-#2676-upstream-release-2.12
Automated cherry pick of #2676: baremetal: auto prepare when pxe boot
2019-09-02 15:30:16 +08:00
Qiu Jian
e1a6fc5658 fix: no quota check when making directory 2019-09-02 15:27:54 +08:00
yunion-ci-robot
2ddb0662bf Merge pull request #2671 from swordqiu/automated-cherry-pick-of-#2669-upstream-release-2.12
Automated cherry pick of #2669: feature: 1. add ceph cloud provider based on generic s3 provider 2. climc support AK/SK authentication
2019-09-02 14:00:14 +08:00
wanyaoqi
86e1ed45a0 fix glance update mindisk 2019-09-02 13:52:53 +08:00
yunion-ci-robot
ea5bca95e7 Merge pull request #2668 from swordqiu/automated-cherry-pick-of-#2665-upstream-release-2.12
Automated cherry pick of #2665: fix: 1. glance/keystone version handler fix 2. allow run glance as normal user
2019-09-02 13:48:15 +08:00
Qiu Jian
1f3ee483bf fix: azure create bucket failure due to empty storageClass 2019-09-02 13:47:34 +08:00
yunion-ci-robot
2a4f84829b Merge pull request #2664 from swordqiu/automated-cherry-pick-of-#2662-upstream-release-2.12
Automated cherry pick of #2662: fix: qcloud fail to set object acl
2019-09-02 13:46:14 +08:00
yunion-ci-robot
16ded7a106 Merge pull request #2661 from swordqiu/automated-cherry-pick-of-#2659-upstream-release-2.12
Automated cherry pick of #2659: fix: huawei fail to import image
2019-09-02 13:45:17 +08:00
yunion-ci-robot
9edac70460 Merge pull request #2658 from swordqiu/automated-cherry-pick-of-#2656-upstream-release-2.12
Automated cherry pick of #2656: fix: allow column search in array
2019-09-02 13:44:14 +08:00
Zexi
f06d595362 baremetal: auto prepare when pxe boot 2019-09-02 11:46:17 +08:00
yunion-ci-robot
743c0e0254 Merge pull request #2675 from swordqiu/automated-cherry-pick-of-#2673-upstream-release-2.12
Automated cherry pick of #2673: fix: provides policies info in auth token response
2019-09-02 10:21:15 +08:00
Qiu Jian
05f11ba630 fix: provides policies info in auth token response 2019-09-02 09:16:07 +08:00
Qiu Jian
f36d0b7641 feature: 1. add ceph cloud provider based on generic s3 provider 2. climc support AK/SK authentication 2019-09-01 19:05:27 +08:00
Qiu Jian
b2b40e0910 fix: 1. glance/keystone version handler fix 2. allow run glance as normal user 2019-08-31 11:13:49 +08:00
Qiu Jian
070f02ad1c fix: qcloud fail to set object acl 2019-08-30 23:23:06 +08:00
Qiu Jian
73f689be42 fix: huawei fail to import image 2019-08-30 23:12:25 +08:00
Qiu Jian
4bba890a6c fix: allow column search in array 2019-08-30 22:27:50 +08:00
yunion-ci-robot
acc7b4fbca Merge pull request #2653 from zhasm/automated-cherry-pick-of-#2652-upstream-release-2.12
Automated cherry pick of #2652: 修改 Makefile 获取当前分支的方式
2019-08-30 18:24:15 +08:00
张东亮
785f1c84ec 修改 Makefile 获取当前分支的方式 2019-08-30 17:56:15 +08:00
yunion-ci-robot
0d1afa9bcf Merge pull request #2641 from swordqiu/automated-cherry-pick-of-#2629-upstream-release-2.12
Automated cherry pick of #2629: fix: incorrect import path of options pkg
2019-08-30 17:22:14 +08:00
liuxueguo6921
b7914bc4ee fix: incorrect import path of options pkg 2019-08-30 16:18:35 +08:00
yunion-ci-robot
d211bfc412 Merge pull request #2651 from Mjoycarry/automated-cherry-pick-of-#2607-upstream-release-2.12
Automated cherry pick of #2607: natgateway bugfix
2019-08-30 16:07:14 +08:00
yunion-ci-robot
2ff5178056 Merge pull request #2644 from ioito/automated-cherry-pick-of-#2601-upstream-release-2.12
Automated cherry pick of #2601: fix: 避免创建磁盘时显示provider disable底下的存储
2019-08-30 16:05:14 +08:00
Rain
0121760411 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:12:07 +08:00
ioito
724d4612f2 fix: 避免创建磁盘时显示provider disable底下的存储 2019-08-30 10:54:38 +08:00
yunion-ci-robot
577ea10898 Merge pull request #2643 from swordqiu/automated-cherry-pick-of-#2608-upstream-release-2.12
Automated cherry pick of #2608: feature: 1. ak/sk auth support 2. a full feature s3gateway works with Cyberduck
2019-08-30 07:36:12 +08:00
Qiu Jian
8956d45526 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:30:29 +08:00
yunion-ci-robot
bbcc985398 Merge pull request #2628 from swordqiu/automated-cherry-pick-of-#2626-upstream-release-2.12
Automated cherry pick of #2626: fix: compatible with minio s3
2019-08-29 23:51:12 +08:00
yunion-ci-robot
5162ba045f Merge pull request #2638 from wanyaoqi/automated-cherry-pick-of-#2635-upstream-release-2.12
Automated cherry pick of #2635: bugfix:
2019-08-29 22:45:14 +08:00
wanyaoqi
f54dea2217 bugfix:
- fix guest vnc connect failed on host unsupport ipv6
- fix cirros qemu args conflict with windows
2019-08-29 21:43:21 +08:00
yunion-ci-robot
c71bbddc47 Merge pull request #2631 from ioito/automated-cherry-pick-of-#2630-upstream-release-2.12
Automated cherry pick of #2630: fix: avoid not release pending-usage
2019-08-29 20:45:13 +08:00
ioito
451b705139 fix: avoid not release pending-usage 2019-08-29 20:29:41 +08:00
yunion-ci-robot
cc41981b5a Merge pull request #2625 from zhasm/automated-cherry-pick-of-#2619-upstream-release-2.12
Automated cherry pick of #2619: 新增 s3gateway s3cli的 rpm 描述文件
2019-08-29 18:59:13 +08:00
Qiu Jian
caa264ef6f fix: compatible with minio s3 2019-08-29 18:57:43 +08:00
rex zhasm
fca4119882 Merge branch 'release/2.12' into automated-cherry-pick-of-#2619-upstream-release-2.12 2019-08-29 17:33:46 +08:00
yunion-ci-robot
e8be8bf4d8 Merge pull request #2616 from ioito/automated-cherry-pick-of-#2615-upstream-release-2.12
Automated cherry pick of #2615: fix: avoid rbd image exist when rebuild-root
2019-08-29 17:32:14 +08:00
Zhang Dongliang
13bf54adf2 update wording 2019-08-29 17:01:22 +08:00
Zhang Dongliang
82800a42cf 新增 s3gateway s3cli的 rpm 描述文件 2019-08-29 17:01:22 +08:00
yunion-ci-robot
cc4fb00daa Merge pull request #2621 from ioito/automated-cherry-pick-of-#2620-upstream-release-2.12
Automated cherry pick of #2620: hotfix: add aliyun request user-agent
2019-08-29 16:44:12 +08:00
ioito
09176df768 hotfix: add aliyun request user-agent 2019-08-29 16:37:02 +08:00
ioito
07c5ae223b fix: avoid rbd image exist when rebuild-root 2019-08-29 11:48:37 +08:00
yunion-ci-robot
4a01ae8459 Merge pull request #2612 from ioito/automated-cherry-pick-of-#2569-upstream-release-2.12
Automated cherry pick of #2569: fix: 宿主机下线时,需要将宿主机底下的虚拟机状态设为unknown
2019-08-29 11:24:14 +08:00
yunion-ci-robot
7a225dca26 Merge pull request #2611 from swordqiu/automated-cherry-pick-of-#2609-upstream-release-2.12
Automated cherry pick of #2609: fix: 1. missing action log for bucket objects ops 2. huawei cloud sync duplicate buckets
2019-08-29 10:55:11 +08:00
ioito
6e17d0a553 fix: 宿主机下线时,需要将宿主机底下的虚拟机状态设为unknown 2019-08-29 10:13:31 +08:00
Qiu Jian
128e2e53c6 fix: 1. missing action log for bucket objects ops 2. huawei cloud sync duplicate buckets 2019-08-29 02:40:40 +08:00
yunion-ci-robot
adfa7e0524 Merge pull request #2604 from yousong/automated-cherry-pick-of-#2603-upstream-release-2.12
Automated cherry pick of #2603: mcclient: ansibleplaybooks: 注册为v2接口
2019-08-28 22:33:16 +08:00
yunion-ci-robot
0f3c3c7d80 Merge pull request #2602 from zexi/automated-cherry-pick-of-#2599-upstream-release-2.12
Automated cherry pick of #2599: schedtag: create support scope
2019-08-28 22:32:17 +08:00
yunion-ci-robot
53d51be4a0 Merge pull request #2589 from yousong/automated-cherry-pick-of-#2588-upstream-release-2.12
Automated cherry pick of #2588: lbagents: 详情增加zone信息
2019-08-28 22:31:11 +08:00
Yousong Zhou
c66bb1e90b mcclient: ansibleplaybooks: 注册为v2接口 2019-08-28 12:44:02 +00:00
Zexi
783b664aae schedtag: create support scope 2019-08-28 16:26:52 +08:00
yunion-ci-robot
055b059675 Merge pull request #2550 from ioito/automated-cherry-pick-of-#2546-upstream-release-2.12
Automated cherry pick of #2546: fix: 避免host disable时detach磁盘
2019-08-28 15:57:14 +08:00
yunion-ci-robot
56e8fdde7d Merge pull request #2543 from ioito/automated-cherry-pick-of-#2512-upstream-release-2.12
Automated cherry pick of #2512: fix: add external perform change-project
2019-08-27 11:13:11 +08:00
Yousong Zhou
b7e63a4c2c lbagents: 详情增加zone信息 2019-08-27 03:02:30 +00:00
yunion-ci-robot
c7fd864b13 Merge pull request #2580 from swordqiu/automated-cherry-pick-of-#2577-upstream-release-2.12
Automated cherry pick of #2577: fix: quota-list fail if deleted projects found
2019-08-27 10:08:13 +08:00
yunion-ci-robot
1f9f86a446 Merge pull request #2560 from ioito/automated-cherry-pick-of-#2558-upstream-release-2.12
Automated cherry pick of #2558: fix: sync and set secgroup public scope
2019-08-26 22:57:15 +08:00
yunion-ci-robot
21080a720b Merge pull request #2574 from yousong/automated-cherry-pick-of-#2573-upstream-release-2.12
Automated cherry pick of #2573: policy: 将lb集群相关资源归入系统资源类
2019-08-26 22:54:11 +08:00
yunion-ci-robot
cde2cea75f Merge pull request #2585 from wanyaoqi/automated-cherry-pick-of-#2581-upstream-release-2.12
Automated cherry pick of #2581: fix rbd disk delete with snapshot
2019-08-26 22:43:13 +08:00
yunion-ci-robot
08b8015a3f Merge pull request #2582 from wanyaoqi/automated-cherry-pick-of-#2568-upstream-release-2.12
Automated cherry pick of #2568: fix host maintenance
2019-08-26 22:41:10 +08:00
wanyaoqi
8cd049b4b0 fix rbd disk delete with snapshot 2019-08-26 22:09:00 +08:00
wanyaoqi
8a0d239fce fix host maintenance 2019-08-26 22:06:04 +08:00
Qiu Jian
df61ca32db fix: quota-list fail if deleted projects found 2019-08-26 20:30:57 +08:00
yunion-ci-robot
dde0fd7167 Merge pull request #2423 from zexi/automated-cherry-pick-of-#2415-upstream-release-2.12
Automated cherry pick of #2415: webconsole: update aliyun vnc base url and uniq vnc session
2019-08-26 16:30:16 +08:00
Yousong Zhou
ae891c7f0b policy: 将lb集群相关资源归入系统资源类 2019-08-26 07:42:10 +00:00
Zexi
2f4734dd0e webconsole: update aliyun vnc base url and uniq vnc session 2019-08-26 15:41:50 +08:00
yunion-ci-robot
fc272d6588 Merge pull request #2567 from tb365/automated-cherry-pick-of-#2564-upstream-release-2.12
Automated cherry pick of #2564: aws disk resize bugfix
2019-08-26 15:26:11 +08:00
TangBin
981f96abca aws disk resize bugfix 2019-08-26 14:54:19 +08:00
yunion-ci-robot
99f293e3fd Merge pull request #2542 from swordqiu/automated-cherry-pick-of-#2539-upstream-release-2.12
Automated cherry pick of #2539: fix: pending usage not release after failed change config
2019-08-24 18:40:10 +08:00
yunion-ci-robot
f1a7fa546b Merge pull request #2534 from swordqiu/automated-cherry-pick-of-#2477-upstream-release-2.12
Automated cherry pick of #2477: fix: use policy match weight to override less specific policy
2019-08-24 18:39:12 +08:00
yunion-ci-robot
46e9a8dba0 Merge pull request #2538 from swordqiu/automated-cherry-pick-of-#2536-upstream-release-2.12
Automated cherry pick of #2536: fix: bucket mkdir may create path with empty whitespaces
2019-08-24 18:38:11 +08:00
ioito
08d9a792f2 fix: sync and set secgroup public scope 2019-08-24 18:37:35 +08:00
yunion-ci-robot
81e3473213 Merge pull request #2553 from wanyaoqi/automated-cherry-pick-of-#2552-upstream-release-2.12
Automated cherry pick of #2552: guest batch migrate
2019-08-24 17:56:10 +08:00
yunion-ci-robot
a32cafede1 Merge pull request #2556 from wanyaoqi/automated-cherry-pick-of-#2413-upstream-release-2.12
Automated cherry pick of #2413: host migrate
2019-08-24 17:36:09 +08:00
wanyaoqi
ef2ef3dd3b guest batch migrate 2019-08-24 17:29:33 +08:00
wanyaoqi
d10e934640 host migrate 2019-08-24 17:11:56 +08:00
ioito
6170e16527 fix: 避免host disable时detach磁盘 2019-08-24 14:00:05 +08:00
ioito
f60c60ea9b fix: add external perform change-project 2019-08-24 10:12:33 +08:00
Qiu Jian
9b03199841 fix: pending usage not release after failed change config 2019-08-23 22:46:58 +08:00
Qiu Jian
983496ee34 fix: bucket mkdir may create path with empty whitespaces 2019-08-23 22:02:12 +08:00
Qiu Jian
8f4f906895 fix: use policy match weight to override less specific policy 2019-08-23 21:21:34 +08:00
yunion-ci-robot
f632cae64f Merge pull request #2529 from ioito/automated-cherry-pick-of-#2528-upstream-release-2.12
Automated cherry pick of #2528: fix: deploy action not sync guest status in subtask
2019-08-23 21:09:08 +08:00
ioito
faa7bb6a84 fix: deploy action not sync guest status in subtask 2019-08-23 21:01:51 +08:00
yunion-ci-robot
12ad81885f Merge pull request #2518 from yousong/automated-cherry-pick-of-#2517-upstream-release-2.12
Automated cherry pick of #2517: snapshotpolicy: 改正bool default:"true"
2019-08-23 19:51:08 +08:00
yunion-ci-robot
4e0e7e19b5 Merge pull request #2523 from ioito/automated-cherry-pick-of-#2522-upstream-release-2.12
Automated cherry pick of #2522: fix: sync status after guest sync conf
2019-08-23 18:03:10 +08:00
ioito
c4e7c0778c fix: sync status after guest sync conf 2019-08-23 17:16:23 +08:00
yunion-ci-robot
f38bc0aa0a Merge pull request #2521 from zexi/automated-cherry-pick-of-#2511-upstream-release-2.12
Automated cherry pick of #2511: schedtags: support scope
2019-08-23 14:28:08 +08:00
Zexi
b56381f199 schedtags: support scope 2019-08-23 13:39:22 +08:00
Yousong Zhou
ef6e538895 snapshotpolicy: 改正bool default:"true" 2019-08-23 03:27:39 +00:00
yunion-ci-robot
f14b5dd7c7 Merge pull request #2503 from ioito/automated-cherry-pick-of-#2499-upstream-release-2.12
Automated cherry pick of #2499: fix: qcloud sync unavailable storages
2019-08-23 10:55:08 +08:00
yunion-ci-robot
f10725d5cf Merge pull request #2507 from wanyaoqi/automated-cherry-pick-of-#2456-upstream-release-2.12
Automated cherry pick of #2456: io throttle
2019-08-23 03:38:09 +08:00
yunion-ci-robot
2340fb91a9 Merge pull request #2492 from yousong/automated-cherry-pick-of-#2491-upstream-release-2.12
Automated cherry pick of #2491: networks: 添加ifname_hint字段
2019-08-23 03:37:14 +08:00
yunion-ci-robot
fd27079b36 Merge pull request #2516 from zexi/automated-cherry-pick-of-#2513-upstream-release-2.12
Automated cherry pick of #2513: scheduler: fix disk or net specify resource id execute schedtag filter
2019-08-23 03:24:09 +08:00
yunion-ci-robot
cbc550bdb0 Merge pull request #2496 from yousong/automated-cherry-pick-of-#2495-upstream-release-2.12
Automated cherry pick of #2495: appsrv: 反转义path segs
2019-08-23 03:13:07 +08:00
yunion-ci-robot
19f4f22c4f Merge pull request #2490 from tb365/automated-cherry-pick-of-#2487-upstream-release-2.12
Automated cherry pick of #2487: huawei & aws bugfix
2019-08-23 03:10:09 +08:00
Zexi
e458a8dca0 scheduler: fix disk or net specify resource id execute schedtag filter 2019-08-22 21:59:45 +08:00
wanyaoqi
b2fdb7bc77 add io-throttle doc 2019-08-22 21:00:06 +08:00
wanyaoqi
a1c204a9eb io throttle 2019-08-22 21:00:06 +08:00
ioito
1f6b65e8b4 fix: qcloud sync unavailable storages 2019-08-22 20:46:26 +08:00
Yousong Zhou
1bc58aeccb guests: detachnetwork时支持以名字指定network 2019-08-22 08:44:16 +00:00
Yousong Zhou
cd2c8f60eb appsrv: 反转义path segs
支持"climc network-delete 中文"
2019-08-22 08:44:16 +00:00
Yousong Zhou
51c73e5c79 networks: 添加ifname_hint字段
- 升级部署时,从network.Name初始化
 - 创建时,尝试从network.Name取值,取不到则生成随机值
 - 不允许更新
2019-08-22 08:09:24 +00:00
TangBin
4c3162a86e huawei bugfix 2019-08-22 14:36:34 +08:00
TangBin
c9e176ab29 huawei & aws bugfix 2019-08-22 14:36:34 +08:00
yunion-ci-robot
cbe085c9d3 Merge pull request #2484 from ioito/automated-cherry-pick-of-#2483-upstream-release-2.12
Automated cherry pick of #2483: fix: zstack reset passworkd with username
2019-08-22 11:42:08 +08:00
ioito
55a753439f fix: zstack reset passworkd with username 2019-08-22 11:25:27 +08:00
yunion-ci-robot
c8aa68625c Merge pull request #2478 from ioito/automated-cherry-pick-of-#2451-upstream-release-2.12
Automated cherry pick of #2451: bugfix: 避免openstack磁盘扩容成功后未能挂载到虚拟机上
2019-08-22 10:25:07 +08:00
ioito
28e2b8f37e bugfix: 避免openstack磁盘扩容成功后未能挂载到虚拟机上 2019-08-22 10:14:26 +08:00
yunion-ci-robot
c3c306521d Merge pull request #2476 from swordqiu/automated-cherry-pick-of-#2473-upstream-release-2.12
Automated cherry pick of #2473: fix: doamin admin cannot access private networks across domain
2019-08-22 09:49:07 +08:00
yunion-ci-robot
888a896c70 Merge pull request #2472 from swordqiu/automated-cherry-pick-of-#2469-upstream-release-2.12
Automated cherry pick of #2469: fix: disk-resize sync guest status cause deadlock
2019-08-22 09:45:08 +08:00
yunion-ci-robot
9ea0dfd3bf Merge pull request #2468 from swordqiu/automated-cherry-pick-of-#2465-upstream-release-2.12
Automated cherry pick of #2465: fix: a join update is allowed if one of the joint models is allowed to update
2019-08-22 09:43:09 +08:00
yunion-ci-robot
9d3bb870db Merge pull request #2455 from tb365/automated-cherry-pick-of-#2452-upstream-release-2.12
Automated cherry pick of #2452: add update vm name method
2019-08-22 08:11:08 +08:00
yunion-ci-robot
078577de32 Merge pull request #2430 from ioito/automated-cherry-pick-of-#2414-upstream-release-2.12
Automated cherry pick of #2414: hotfix: 避免上传镜像后,再次获取镜像列表因网络原因导致任务失败
2019-08-22 08:09:08 +08:00
Qiu Jian
c06339c859 fix: doamin admin cannot access private networks across domain 2019-08-22 00:27:52 +08:00
Qiu Jian
1424bc8eb6 fix: disk-resize sync guest status cause deadlock 2019-08-21 23:57:38 +08:00
Qiu Jian
3e6a21fe56 fix: a join update is allowed if one of the joint models is allowed to update 2019-08-21 20:42:11 +08:00
yunion-ci-robot
e256330164 Merge pull request #2428 from ioito/automated-cherry-pick-of-#2416-upstream-release-2.12
Automated cherry pick of #2416: fix: 避免provider污染sql,导致查询结果为空
2019-08-21 20:32:07 +08:00
yunion-ci-robot
d6f8e214c7 Merge pull request #2460 from zexi/automated-cherry-pick-of-#2457-upstream-release-2.12
Automated cherry pick of #2457: region: capability domain public network must equal domain_id
2019-08-21 20:30:08 +08:00
yunion-ci-robot
189f51e670 Merge pull request #2462 from wanyaoqi/automated-cherry-pick-of-#2461-upstream-release-2.12
Automated cherry pick of #2461: fix snapshot can't delete
2019-08-21 20:17:09 +08:00
Zexi
d4e5fb2eb7 region: capability domain public network must equal domain_id 2019-08-21 19:23:06 +08:00
wanyaoqi
1d41c6092d fix snapshot can't delete 2019-08-21 19:11:53 +08:00
TangBin
c71bc88648 add update vm name method 2019-08-21 15:45:19 +08:00
yunion-ci-robot
609b052bbc Merge pull request #2436 from ioito/automated-cherry-pick-of-#2407-upstream-release-2.12
Automated cherry pick of #2407: fix: 避免admin=false时,不显示其余项目下的标签信息
2019-08-21 15:32:10 +08:00
yunion-ci-robot
183e946208 Merge pull request #2443 from wanyaoqi/automated-cherry-pick-of-#2406-upstream-release-2.12
Automated cherry pick of #2406: - snapshot support custom snapshot policy
2019-08-21 15:29:07 +08:00
yunion-ci-robot
731a179c91 Merge pull request #2448 from zexi/automated-cherry-pick-of-#2447-upstream-release-2.12
Automated cherry pick of #2447: scheduler: sku not unmarshal to ServerConfigs
2019-08-21 14:57:08 +08:00
yunion-ci-robot
2cb3c777e1 Merge pull request #2446 from Mjoycarry/automated-cherry-pick-of-#2442-upstream-release-2.12
Automated cherry pick of #2442: nat delele should overvide Delete() and call RealDelete() after delete cloud resource successfully
2019-08-21 12:01:06 +08:00
Zexi
822e92843d scheduler: sku not unmarshal to ServerConfigs 2019-08-21 11:58:24 +08:00
Rain
cf9933bdce nat delele should overvide Delete() and call RealDelete() after delete cloud resource successfully 2019-08-21 11:22:45 +08:00
wanyaoqi
80070da367 - snapshot support custom snapshot policy 2019-08-21 11:19:19 +08:00
yunion-ci-robot
e0a4acc2b6 Merge pull request #2433 from ioito/automated-cherry-pick-of-#2412-upstream-release-2.12
Automated cherry pick of #2412: hotfix: snapshot create optimized
2019-08-21 10:57:08 +08:00
ioito
26ac94f831 fix: 避免admin=false时,不显示其余项目下的标签信息 2019-08-21 10:26:53 +08:00
ioito
2a872be097 hotfix: snapshot create optimized 2019-08-21 10:16:36 +08:00
ioito
6517eb8d0d hotfix: 避免上传镜像后,再次获取镜像列表因网络原因导致任务失败 2019-08-21 10:06:18 +08:00
ioito
18cb3403a6 fix: 避免provider污染sql,导致查询结果为空 2019-08-21 10:04:41 +08:00
yunion-ci-robot
ff615269d6 Merge pull request #2425 from ioito/automated-cherry-pick-of-#2424-upstream-release-2.12
Automated cherry pick of #2424: fix: 允许更改私有云region名称
2019-08-20 23:48:08 +08:00
yunion-ci-robot
aaff58dc72 Merge pull request #2409 from ioito/automated-cherry-pick-of-#2408-upstream-release-2.12
Automated cherry pick of #2408: fix: avoid sku validate delete return error
2019-08-20 23:34:11 +08:00
ioito
6798fa3a28 fix: 允许更改私有云region名称 2019-08-20 21:20:07 +08:00
yunion-ci-robot
a4ace5c15f Merge pull request #2386 from zexi/automated-cherry-pick-of-#2382-upstream-release-2.12
Automated cherry pick of #2382: baremetal: fix ext4 rootfs inode inconsistent
2019-08-20 21:01:07 +08:00
yunion-ci-robot
4eec934394 Merge pull request #2418 from wanyaoqi/automated-cherry-pick-of-#2417-upstream-release-2.12
Automated cherry pick of #2417: fix snapshot ops log
2019-08-20 20:54:07 +08:00
yunion-ci-robot
831d765e96 Merge pull request #2405 from swordqiu/automated-cherry-pick-of-#2402-upstream-release-2.12
Automated cherry pick of #2402: fix: sysadmin should be a system account
2019-08-20 20:47:08 +08:00
wanyaoqi
0dd6cb9f5a fix snapshot ops log 2019-08-20 20:26:55 +08:00
Zexi
a5ffe6f178 baremetal: fix ext4 rootfs inode inconsistent 2019-08-20 17:16:12 +08:00
ioito
f38b4febda fix: avoid sku validate delete return error 2019-08-20 15:24:18 +08:00
Qiu Jian
2fc22922ce fix: sysadmin should be a system account 2019-08-20 14:03:39 +08:00
yunion-ci-robot
8e1f581349 Merge pull request #2394 from swordqiu/automated-cherry-pick-of-#2392-upstream-release-2.12
Automated cherry pick of #2392: fix: qcloud change config failed
2019-08-20 11:30:06 +08:00
yunion-ci-robot
2a715d954f Merge pull request #2390 from swordqiu/automated-cherry-pick-of-#2387-upstream-release-2.12
Automated cherry pick of #2387: fix: cloud-provider-region add cloudaccount_domain_id
2019-08-20 11:28:08 +08:00
yunion-ci-robot
adbe1d3716 Merge pull request #2396 from ioito/automated-cherry-pick-of-#2381-upstream-release-2.12
Automated cherry pick of #2381: fix: httputils show error when resp body is not dict
2019-08-20 10:25:08 +08:00
ioito
0494e7e4d1 fix: httputils show error when resp body is not dict 2019-08-20 10:18:04 +08:00
yunion-ci-robot
adf6d8eaab Merge pull request #2385 from Mjoycarry/automated-cherry-pick-of-#2248-upstream-release-2.12
Automated cherry pick of #2248: notify module in Go finished.
2019-08-20 01:54:05 +08:00
Qiu Jian
b30ce69de6 fix: qcloud change config failed 2019-08-20 01:49:30 +08:00
yunion-ci-robot
58e8347104 Merge pull request #2378 from wanyaoqi/automated-cherry-pick-of-#2377-upstream-release-2.12
Automated cherry pick of #2377: snapshot bugs fix
2019-08-20 00:05:07 +08:00
Qiu Jian
62f72e89a7 fix: cloud-provider-region add cloudaccount_domain_id 2019-08-19 22:30:40 +08:00
Rain
289418dd73 notify module in Go finished. 2019-08-19 21:55:24 +08:00
wanyaoqi
358fc32e4e snapshot bugs fix 2019-08-19 20:33:02 +08:00
yunion-ci-robot
9dd22459e0 Merge pull request #2375 from swordqiu/automated-cherry-pick-of-#2373-upstream-release-2.12
Automated cherry pick of #2373: fix: not sync correctly aws VM's tempoaral public ip
2019-08-19 10:24:06 +08:00
Qiu Jian
bbc79ee020 fix: not sync correctly aws VM's tempoaral public ip 2019-08-19 02:01:24 +08:00
yunion-ci-robot
5331414736 Merge pull request #2372 from swordqiu/automated-cherry-pick-of-#2369-upstream-release-2.12
Automated cherry pick of #2369: fix: avoid duplicate image uploading if multiple identical instances created at same time
2019-08-19 00:10:05 +08:00
Qiu Jian
63551112af fix: avoid duplicate image uploading if multiple identical instances created at same time 2019-08-18 23:29:00 +08:00
yunion-ci-robot
251c2e271e Merge pull request #2368 from swordqiu/automated-cherry-pick-of-#2357-upstream-release-2.12
Automated cherry pick of #2357: fix: deprecate old user/group joint project API, create new action apis for add user/group to projects with roles
2019-08-17 21:35:08 +08:00
Qiu Jian
18593f9534 update vendor 2019-08-17 18:56:41 +08:00
Qiu Jian
372158352b fix: deprecate old user/group joint project API, create new action apis for add user/group to projects with roles 2019-08-17 18:56:41 +08:00
yunion-ci-robot
9461100507 Merge pull request #2365 from swordqiu/automated-cherry-pick-of-#2362-upstream-release-2.12
Automated cherry pick of #2362: fix: cloud-account-usage no data for domain admin
2019-08-17 18:55:05 +08:00
Qiu Jian
3da9a99da4 fix: cloud-account-usage no data for domain admin 2019-08-17 18:42:08 +08:00
yunion-ci-robot
1b7bfdd2c1 Merge pull request #2361 from swordqiu/automated-cherry-pick-of-#2358-upstream-release-2.12
Automated cherry pick of #2358: fix: new user without porject may view any resources
2019-08-17 18:27:05 +08:00
Qiu Jian
5b9cdd7c29 fix: new user without porject may view any resources 2019-08-17 13:42:49 +08:00
yunion-ci-robot
8ed904ffe5 Merge pull request #2354 from yousong/automated-cherry-pick-of-#2353-upstream-release-2.12
Automated cherry pick of #2353: Makefile: 改正rpm target
2019-08-17 10:00:06 +08:00
yunion-ci-robot
6cbdecd693 Merge pull request #2344 from yousong/automated-cherry-pick-of-#2343-upstream-release-2.12
Automated cherry pick of #2343: hostman: windows: 改正批处理代码
2019-08-17 09:58:06 +08:00
yunion-ci-robot
7e67de5e33 Merge pull request #2352 from swordqiu/automated-cherry-pick-of-#2349-upstream-release-2.12
Automated cherry pick of #2349: fix: project_id/domain_id was cleared after FetchProjectInfo/FetchDomainInfo called
2019-08-16 22:10:04 +08:00
Yousong Zhou
210d132b0f .travis.yml: 去掉过时comment 2019-08-16 13:57:16 +00:00
Yousong Zhou
df133fff1b Makefile: 改正rpm target 2019-08-16 13:57:16 +00:00
Qiu Jian
e77fd75663 fix: project_id/domain_id was cleared after FetchProjectInfo/FetchDomainInfo called 2019-08-16 21:28:53 +08:00
yunion-ci-robot
559a98bf82 Merge pull request #2340 from wanyaoqi/automated-cherry-pick-of-#2339-upstream-release-2.12
Automated cherry pick of #2339: fix managered disk reset not update disk size
2019-08-16 21:23:06 +08:00
Yousong Zhou
93d111f753 hostman: windows: 改正批处理代码 2019-08-16 13:20:44 +00:00
yunion-ci-robot
65ba53d9d1 Merge pull request #2338 from tb365/automated-cherry-pick-of-#2337-upstream-release-2.12
Automated cherry pick of #2337: add itsm upload api
2019-08-16 18:10:04 +08:00
wanyaoqi
22a757d020 fix managered disk reset not update disk size 2019-08-16 18:01:04 +08:00
TangBin
1be7f9262a add itsm upload api 2019-08-16 17:29:28 +08:00
yunion-ci-robot
f015d8a149 Merge pull request #2335 from tb365/automated-cherry-pick-of-#2332-upstream-release-2.12
Automated cherry pick of #2332: aws & huawei & ucloud fix
2019-08-16 17:21:06 +08:00
yunion-ci-robot
95bf6111f9 Merge pull request #2312 from ioito/automated-cherry-pick-of-#2311-upstream-release-2.12
Automated cherry pick of #2311: fix: avoid duplicate sku error
2019-08-16 17:11:06 +08:00
yunion-ci-robot
5be9e23c81 Merge pull request #2336 from Mjoycarry/automated-cherry-pick-of-#2291-upstream-release-2.12
Automated cherry pick of #2291: snapshotpolicy list create delete apply cancel finish except that disk sync snapshot policy
2019-08-16 17:05:07 +08:00
yunion-ci-robot
7159b6ac5f Merge pull request #2302 from wanyaoqi/automated-cherry-pick-of-#2301-upstream-release-2.12
Automated cherry pick of #2301: fix image head no field tenant
2019-08-16 17:04:05 +08:00
yunion-ci-robot
58d0e03e5c Merge pull request #2288 from wanyaoqi/automated-cherry-pick-of-#2287-upstream-release-2.12
Automated cherry pick of #2287: fix ceph rescue mode migrate
2019-08-16 17:03:04 +08:00
Rain
688716ab3d snapshotpolicy list create delete apply cancel finish except that disk sync snapshot policy
add copyright

fix some imprefection

fix test file
2019-08-16 17:03:03 +08:00
TangBin
c13f9d2b07 aws & huawei & ucloud fix 2019-08-16 16:46:46 +08:00
yunion-ci-robot
2ab0f849e1 Merge pull request #2325 from swordqiu/automated-cherry-pick-of-#2322-upstream-release-2.12
Automated cherry pick of #2322: fix: openstack provider string should be OpenStack
2019-08-16 16:29:04 +08:00
yunion-ci-robot
185c70c0ad Merge pull request #2327 from ioito/automated-cherry-pick-of-#2326-upstream-release-2.12
Automated cherry pick of #2326: fix: azure快照的磁盘id应该小写
2019-08-16 16:27:04 +08:00
yunion-ci-robot
a3e41aa1d1 Merge pull request #2314 from Mjoycarry/automated-cherry-pick-of-#2292-upstream-release-2.12
Automated cherry pick of #2292: task.Params pass paramters
2019-08-16 16:19:04 +08:00
yunion-ci-robot
aeff1764bc Merge pull request #2295 from zexi/automated-cherry-pick-of-#2293-upstream-release-2.12
Automated cherry pick of #2293: baremetal: raid disk inode inconsistent due to mkfs.ext4 largefile option
2019-08-16 16:14:05 +08:00
ioito
47ef9eaae3 fix: azure快照的磁盘id应该小写 2019-08-16 15:51:53 +08:00
Qiu Jian
7d27020df4 fix: openstack provider string should be OpenStack 2019-08-16 15:42:27 +08:00
yunion-ci-robot
3fc0a73e4b Merge pull request #2317 from ioito/automated-cherry-pick-of-#2316-upstream-release-2.12
Automated cherry pick of #2316: fix: create disk with project-src=local
2019-08-16 15:22:06 +08:00
ioito
545a272d4d fix: create disk with project-src=local 2019-08-16 15:03:29 +08:00
ioito
e709536f97 fix: avoid duplicate sku error 2019-08-16 14:44:01 +08:00
Rain
b63fd33100 task.Params pass paramters 2019-08-16 14:43:57 +08:00
yunion-ci-robot
7efb1945cd Merge pull request #2306 from yousong/automated-cherry-pick-of-#2305-upstream-release-2.12
Automated cherry pick of #2305: .travis.yml: 不使用docker
2019-08-16 14:39:07 +08:00
Yousong Zhou
8adc80d1fb .travis.yml: 不使用docker 2019-08-16 05:43:02 +00:00
wanyaoqi
8140a5865b fix image head no field tenant 2019-08-16 12:16:25 +08:00
yunion-ci-robot
b860595722 Merge pull request #2298 from yousong/automated-cherry-pick-of-#2297-upstream-release-2.12
Automated cherry pick of #2297: Makefile: 使用rpm/%
2019-08-16 10:36:04 +08:00
Yousong Zhou
9067da2056 .travis.yml: 改正权限问题 2019-08-16 02:20:29 +00:00
Yousong Zhou
2b21a62b05 Makefile: 使用rpm/% 2019-08-16 02:20:29 +00:00
yunion-ci-robot
42db193a78 Merge pull request #2273 from yousong/automated-cherry-pick-of-#2272-upstream-release-2.12
Automated cherry pick of #2272: .travis.yml: 改正配置
2019-08-15 22:02:06 +08:00
Zexi
ac03dc8fb5 baremetal: raid disk inode inconsistent due to mkfs.ext4 largefile option 2019-08-15 21:33:52 +08:00
yunion-ci-robot
a2e0cd9d77 Merge pull request #2286 from swordqiu/automated-cherry-pick-of-#2284-upstream-release-2.12
Automated cherry pick of #2284: feature: 1. limit for bucket object count and size 2. quota for object count and size
2019-08-15 16:07:04 +08:00
wanyaoqi
92528a6be1 fix ceph rescue mode migrate 2019-08-15 16:01:25 +08:00
yunion-ci-robot
c1c4927de4 Merge pull request #2281 from wanyaoqi/automated-cherry-pick-of-#2280-upstream-release-2.12
Automated cherry pick of #2280: add distinct field manager
2019-08-15 10:36:03 +08:00
Qiu Jian
b00f2b7927 feature: 1. limit for bucket object count and size 2. quota for object count and size 2019-08-14 22:32:44 +08:00
wanyaoqi
6f6f248a43 add distinct field manager 2019-08-14 21:02:23 +08:00
yunion-ci-robot
c40b6999dd Merge pull request #2277 from ioito/automated-cherry-pick-of-#2276-upstream-release-2.12
Automated cherry pick of #2276: fix: missing setup managerId for snapshot
2019-08-14 20:38:06 +08:00
ioito
16a7bbeff3 fix: missing setup managerId for snapshot 2019-08-14 20:14:16 +08:00
Yousong Zhou
90dadcb334 Makefile: fail for unknown target 2019-08-14 07:12:04 +00:00
Yousong Zhou
1ff0c0a708 .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 07:12:04 +00:00
yunion-ci-robot
df847e3907 Merge pull request #2271 from swordqiu/automated-cherry-pick-of-#2198-upstream-release-2.12
Automated cherry pick of #2198: fix: private sku sync and delete
2019-08-14 12:00:01 +08:00
ioito
9632c42f1d fix: private sku sync and delete 2019-08-14 11:53:31 +08:00
Yousong Zhou
fe7b62c73e Merge pull request #2269 from swordqiu/automated-cherry-pick-of-#2267-upstream-release-2.11
Automated cherry pick of #2267: fix: 1. after cloud-account-sync, cloud provider status in queueing 2. huawei/azure/qcloud sync status error
2019-08-14 10:16:59 +08:00
Qiu Jian
29ce8f949c fix: 1. after cloud-account-sync, cloud provider status in queueing 2. huawei/azure/qcloud sync status error 2019-08-14 09:55:50 +08:00
Yousong Zhou
220d8929bd Merge pull request #2265 from swordqiu/automated-cherry-pick-of-#2264-upstream-release-2.11
Automated cherry pick of #2264: fix: qcloud storagecache bucket name too long
2019-08-14 09:51:14 +08:00
Yousong Zhou
4e9f605844 Merge pull request #2261 from swordqiu/automated-cherry-pick-of-#2260-upstream-release-2.11
Automated cherry pick of #2260: fix: 1. aws s3 fail to mkdir 2. put object requires acl
2019-08-14 09:50:29 +08:00
Qiu Jian
0b8a702ab6 fix: qcloud storagecache bucket name too long 2019-08-14 00:33:30 +08:00
Qiu Jian
2aa6be1b9e fix: 1. aws s3 fail to mkdir 2. put object requires acl 2019-08-13 21:41:24 +08:00
yunion-ci-robot
61e8489615 Merge pull request #2258 from wanyaoqi/automated-cherry-pick-of-#2257-upstream-release-2.11
Automated cherry pick of #2257: fix sku cron job
2019-08-13 21:26:01 +08:00
wanyaoqi
7580520873 fix sku cron job 2019-08-13 21:15:52 +08:00
yunion-ci-robot
cb567c9537 Merge pull request #2242 from swordqiu/automated-cherry-pick-of-#2241-upstream-release-2.11
Automated cherry pick of #2241: fix: cloudregion and zone list filter by providers/brands
2019-08-13 18:59:02 +08:00
yunion-ci-robot
3a5f3ee805 Merge pull request #2252 from wanyaoqi/automated-cherry-pick-of-#2250-upstream-release-2.11
Automated cherry pick of #2250: support get user tags
2019-08-13 18:55:03 +08:00
yunion-ci-robot
a6a7151849 Merge pull request #2251 from zexi/automated-cherry-pick-of-#2249-upstream-release-2.11
Automated cherry pick of #2249: baremetal: fix rebuild root no password
2019-08-13 18:54:03 +08:00
yunion-ci-robot
c1970d2bc4 Merge pull request #2244 from wanyaoqi/automated-cherry-pick-of-#2227-upstream-release-2.11
Automated cherry pick of #2227: - 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 18:53:02 +08:00
wanyaoqi
fc67284a70 support get user tags 2019-08-13 18:26:53 +08:00
Zexi
3b2b2ccb4b baremetal: fix rebuild root no password 2019-08-13 18:23:13 +08:00
yunion-ci-robot
e9dce850dd Merge pull request #2245 from tb365/automated-cherry-pick-of-#2243-upstream-release-2.11
Automated cherry pick of #2243: get spec fix
2019-08-13 12:53:01 +08:00
TangBin
7a08e3133d bucket upload fix 2019-08-13 11:38:14 +08:00
TangBin
602af76219 get spec fix 2019-08-13 11:38:14 +08:00
wanyaoqi
0ec92a3b5a - 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 11:37:43 +08:00
yunion-ci-robot
35c66b05ef Merge pull request #2235 from ioito/automated-cherry-pick-of-#2234-upstream-release-2.11
Automated cherry pick of #2234: fix: no need to inject password by cloud-init for qcloud
2019-08-12 22:17:09 +08:00
Qiu Jian
9351b07310 fix: cloudregion and zone list filter by providers/brands 2019-08-12 22:12:42 +08:00
yunion-ci-robot
6ceefbf7c2 Merge pull request #2224 from swordqiu/automated-cherry-pick-of-#2222-upstream-release-2.11
Automated cherry pick of #2222: fix: when turning off non-default-domain-projects, network public scope should swtich to system scope
2019-08-12 21:57:02 +08:00
yunion-ci-robot
d5b26e3944 Merge pull request #2208 from swordqiu/automated-cherry-pick-of-#2207-upstream-release-2.11
Automated cherry pick of #2207: fix: bucket GetShortDesc includes cloudproviderinfo
2019-08-12 21:55:01 +08:00
ioito
2821265f77 fix: no need to inject password by cloud-init for qcloud 2019-08-12 20:26:57 +08:00
yunion-ci-robot
7ecf0219ac Merge pull request #2229 from tb365/automated-cherry-pick-of-#2228-upstream-release-2.11
Automated cherry pick of #2228: bucket object upload params change
2019-08-12 19:52:02 +08:00
TangBin
f1377326b4 bucket object upload params change 2019-08-12 19:12:40 +08:00
yunion-ci-robot
dc73e3cb9e Merge pull request #2232 from zhasm/automated-cherry-pick-of-#2230-upstream-release-2.11
Automated cherry pick of #2230: 对 actionlog 的 tenent_id 字段加索引,提升 actionlog 查询速率
2019-08-12 18:19:01 +08:00
Zhang Dongliang
8fe37c342d 对 actionlog 的 tenent_id 字段加索引,提升 actionlog 查询速率 2019-08-12 17:57:57 +08:00
yunion-ci-robot
966ac58c61 Merge pull request #2203 from ioito/automated-cherry-pick-of-#2202-upstream-release-2.11
Automated cherry pick of #2202: fix: sync cloud snapshot size
2019-08-12 11:51:01 +08:00
yunion-ci-robot
ad1659e76c Merge pull request #2226 from swordqiu/automated-cherry-pick-of-#2225-upstream-release-2.11
Automated cherry pick of #2225: feature: s3upload support multipart upload
2019-08-12 11:44:01 +08:00
Qiu Jian
20de3160ad fix: image.download changes output parameters 2019-08-12 11:26:38 +08:00
Qiu Jian
c09cd51374 update vendor 2019-08-12 11:26:38 +08:00
Qiu Jian
7963a7db32 feature: s3upload support multipart upload 2019-08-12 11:26:38 +08:00
Qiu Jian
9f3b11bf49 fix: when turning off non-default-domain-projects, network public scope should swtich to system scope 2019-08-12 10:21:34 +08:00
Qiu Jian
f0bb168ae9 fix: bucket GetShortDesc includes cloudproviderinfo 2019-08-12 10:00:58 +08:00
yunion-ci-robot
5d749a9b7f Merge pull request #2215 from yousong/automated-cherry-pick-of-#2214-upstream-release-2.11
Automated cherry pick of #2214: lb: 改正update参数校验
2019-08-12 09:59:01 +08:00
yunion-ci-robot
dde6a931ab Merge pull request #2210 from yousong/automated-cherry-pick-of-#2209-upstream-release-2.11
Automated cherry pick of #2209: wires: 改正mtu校验
2019-08-12 09:58:01 +08:00
yunion-ci-robot
2cfe883c6d Merge pull request #2221 from zhasm/automated-cherry-pick-of-#2219-upstream-release-2.11
Automated cherry pick of #2219: quota-set 新增 secgroup 字段
2019-08-12 09:56:59 +08:00
Zhang Dongliang
a022ad8fea quota-set 新增 secgroup 字段 2019-08-12 09:40:39 +08:00
Yousong Zhou
f8af2a9bbc 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:55 +00:00
Yousong Zhou
07b24151e2 wires: 改正mtu校验
Fixes a7486641df ("wires: 添加mtu属性")
2019-08-11 14:56:04 +00:00
yunion-ci-robot
09ce0677e5 Merge pull request #2212 from yousong/automated-cherry-pick-of-#2211-upstream-release-2.11
Automated cherry pick of #2211: lbcluster: 添加wire亲和性质
2019-08-11 14:38:01 +08:00
yunion-ci-robot
f94a1f3fb8 Merge pull request #2217 from yousong/automated-cherry-pick-of-#2216-upstream-release-2.11
Automated cherry pick of #2216: circleci: coverage.sh: 改善内存消耗
2019-08-11 14:09:01 +08:00
Yousong Zhou
c01fff7976 circleci: coverage.sh: 改善内存消耗 2019-08-10 18:36:53 +00:00
Yousong Zhou
93b49c28e4 lbcluster: 限定仅管理员可操作 2019-08-10 10:22:43 +00:00
Yousong Zhou
3e6f275e74 lbcluster: lbcluster-list支持--wire, --zone过滤 2019-08-10 10:22:43 +00:00
Yousong Zhou
e5b879d9be lbcluster: 添加wire亲和性质 2019-08-10 10:22:43 +00:00
ioito
51ba9871fc fix: sync cloud snapshot size 2019-08-10 16:32:52 +08:00
yunion-ci-robot
aaa513c7ef Merge pull request #2197 from Zexi/automated-cherry-pick-of-#2196-upstream-release-2.11
Automated cherry pick of #2196: add apigateway service
2019-08-10 10:17:59 +08:00
Zexi
f7c03f9998 add apigateway service 2019-08-09 21:15:57 +08:00
yunion-ci-robot
7f9ea834b6 Merge pull request #2200 from yousong/automated-cherry-pick-of-#2199-upstream-release-2.11
Automated cherry pick of #2199: vendor: update structarg
2019-08-09 20:03:00 +08:00
Yousong Zhou
e2c9498a07 climc: 去掉help string中关于choice的内容 2019-08-09 10:29:25 +00:00
Yousong Zhou
0618c34927 vendor: update structarg 2019-08-09 10:29:25 +00:00
yunion-ci-robot
9aad13ab17 Merge pull request #2195 from swordqiu/automated-cherry-pick-of-#2193-upstream-release-2.11
Automated cherry pick of #2193: fix: imported esxi VM fail to rebuild root
2019-08-09 09:51:59 +08:00
Qiu Jian
2f397d1e70 fix: imported esxi VM fail to rebuild root 2019-08-09 01:02:43 +08:00
yunion-ci-robot
38114c2d50 Merge pull request #2192 from swordqiu/automated-cherry-pick-of-#2191-upstream-release-2.11
Automated cherry pick of #2191: fix: qcloud/aws temp url not working
2019-08-09 00:02:58 +08:00
Qiu Jian
3052ce2fac fix: qcloud/aws temp url not working 2019-08-08 23:36:17 +08:00
yunion-ci-robot
3871666fb3 Merge pull request #2160 from tb365/automated-cherry-pick-of-#2159-upstream-release-2.11
Automated cherry pick of #2159: elb bugfix
2019-08-08 21:31:57 +08:00
TangBin
48c64c2892 elb bugfix 2019-08-08 21:04:12 +08:00
yunion-ci-robot
318f20b804 Merge pull request #2188 from ioito/automated-cherry-pick-of-#2186-upstream-release-2.11
Automated cherry pick of #2186: fix: lb purge error
2019-08-08 20:05:58 +08:00
yunion-ci-robot
0e8b46d800 Merge pull request #2180 from swordqiu/automated-cherry-pick-of-#2179-upstream-release-2.11
Automated cherry pick of #2179: fix: 1. get object acl not found 2. distinguish primary url for bucket
2019-08-08 20:01:58 +08:00
ioito
8870fcf10d fix: lb purge error 2019-08-08 19:56:04 +08:00
yunion-ci-robot
234af5542c Merge pull request #2182 from tb365/automated-cherry-pick-of-#2181-upstream-release-2.11
Automated cherry pick of #2181: cpu core bugfix
2019-08-08 19:50:59 +08:00
TangBin
9f97d3aaf5 cpu core bugfix 2019-08-08 19:37:54 +08:00
Qiu Jian
a7e4576e29 fix: 1. get object acl not found 2. distinguish primary url for bucket 2019-08-08 18:20:30 +08:00
yunion-ci-robot
3031a71a9d Merge pull request #2175 from swordqiu/automated-cherry-pick-of-#2174-upstream-release-2.11
Automated cherry pick of #2174: fix: influxdb write support
2019-08-08 16:55:59 +08:00
yunion-ci-robot
6615efe915 Merge pull request #2172 from ioito/automated-cherry-pick-of-#2161-upstream-release-2.11
Automated cherry pick of #2161: hotfix: sync openstack cup and memory cmtbound
2019-08-08 16:50:57 +08:00
yunion-ci-robot
41e066cf7f Merge pull request #2178 from zhasm/automated-cherry-pick-of-#2176-upstream-release-2.11
Automated cherry pick of #2176: hotfix: 将 websocket 的 broadcast 接口里 topic 这个必选变量设为位置参数; 其他参数给了默认值,非必填
2019-08-08 16:22:57 +08:00
yunion-ci-robot
21b6e7215c Merge pull request #2163 from wanyaoqi/automated-cherry-pick-of-#2162-upstream-release-2.11
Automated cherry pick of #2162: server migrate to different mountpoint storage
2019-08-08 16:14:57 +08:00
Zhang Dongliang
c09a65922e hotfix: 将 websocket 的 broadcast 接口里 topic 这个必选变量设为位置参数; 其他参数给了默认值,非必填 2019-08-08 15:56:51 +08:00
Qiu Jian
2ace6771ea fix: influxdb write support 2019-08-08 15:10:23 +08:00
ioito
93ee60f912 hotfix: sync openstack cup and memory cmtbound 2019-08-08 11:20:12 +08:00
yunion-ci-robot
816716f391 Merge pull request #2167 from yousong/automated-cherry-pick-of-#2146-upstream-release-2.11
Automated cherry pick of #2146: climc: add --output-format support
2019-08-08 10:55:16 +08:00
Yousong Zhou
c4307ccf7d climc: add --output-format support 2019-08-08 01:51:14 +00:00
Yousong Zhou
e48e4469e4 Merge pull request #2158 from swordqiu/automated-cherry-pick-of-#2157-upstream-release-2.11
Automated cherry pick of #2157: feature: bucket usage and quota check
2019-08-07 23:16:35 +08:00
Yousong Zhou
2fb06e06be Merge pull request #2166 from swordqiu/automated-cherry-pick-of-#2165-upstream-release-2.11
Automated cherry pick of #2165: fix: 1. bucket purge fail 2. qcloud verify appId
2019-08-07 23:15:13 +08:00
Qiu Jian
3ed3658920 fix: 1. bucket purge fail 2. qcloud verify appId 2019-08-07 21:55:01 +08:00
wanyaoqi
4a61d04d34 server migrate to different mountpoint storage 2019-08-07 21:14:13 +08:00
yunion-ci-robot
2984e57d5f Merge pull request #2153 from yousong/automated-cherry-pick-of-#2152-upstream-release-2.11
Automated cherry pick of #2152: lbagent: 改正unicast vrrp日志记录
2019-08-07 19:17:54 +08:00
Qiu Jian
ae78a6a36f fix: not return prefix object when list bucket object in non-recursive mode 2019-08-07 18:58:47 +08:00
Qiu Jian
ce79d14228 feature: bucket usage and quota check 2019-08-07 18:58:47 +08:00
yunion-ci-robot
aeac06afca Merge pull request #2145 from ioito/automated-cherry-pick-of-#2108-upstream-release-2.11
Automated cherry pick of #2108: feature: add huawei rds sync
2019-08-07 18:20:43 +08:00
yunion-ci-robot
24bf7477f8 Merge pull request #2155 from ioito/automated-cherry-pick-of-#2123-upstream-release-2.11
Automated cherry pick of #2123: fix: get keypair info fail after rebuild-root
2019-08-07 18:04:43 +08:00
ioito
68a9f5a4fd fix: get keypair info fail after rebuild-root 2019-08-07 17:56:57 +08:00
yunion-ci-robot
1c675316eb Merge pull request #2150 from ioito/automated-cherry-pick-of-#2149-upstream-release-2.11
Automated cherry pick of #2149: fix: not sync zstack deleted disk or instance & secgroup rule sync fix
2019-08-07 17:51:46 +08:00
yunion-ci-robot
a4fbc0ff23 Merge pull request #2137 from wanyaoqi/automated-cherry-pick-of-#2136-upstream-release-2.11
Automated cherry pick of #2136: fix guest cannot delete
2019-08-07 17:23:41 +08:00
yunion-ci-robot
3e22a0c49b Merge pull request #2144 from tb365/automated-cherry-pick-of-#2143-upstream-release-2.11
Automated cherry pick of #2143: model & model manager mismatch fix
2019-08-07 17:21:38 +08:00
yunion-ci-robot
de35f36a9c Merge pull request #2147 from ioito/automated-cherry-pick-of-#2135-upstream-release-2.11
Automated cherry pick of #2135: hotfix: essd PerformanceLevel sync
2019-08-07 17:20:37 +08:00
Yousong Zhou
049449249e lbagent: 改正agent参数变更校验 2019-08-07 09:17:26 +00:00
Yousong Zhou
6d991257a8 lbagent: 改正unicast vrrp日志记录 2019-08-07 09:17:26 +00:00
rex zhasm
97cdafe0a0 新增 climc notify-broadcast 接口,用于向所有在线用户发 websocket 通知 (#2133) 2019-08-07 16:43:28 +08:00
ioito
305cac5920 fix: not sync zstack deleted disk or instance & secgroup rule sync fix 2019-08-07 16:20:35 +08:00
ioito
6d14f5ae78 hotfix: essd PerformanceLevel sync 2019-08-07 15:39:15 +08:00
ioito
9454dcdbe0 feature: add huawei rds sync 2019-08-07 11:40:30 +08:00
TangBin
494d9c2c9c code check error fix 2019-08-07 11:14:36 +08:00
TangBin
c1c3351b28 model & model manager mismatch fix 2019-08-07 11:14:36 +08:00
yunion-ci-robot
30191d2cff Merge pull request #2142 from swordqiu/automated-cherry-pick-of-#2140-upstream-release-2.11
Automated cherry pick of #2140: fix: auth through disconnected ldap IDP
2019-08-07 10:08:10 +08:00
Qiu Jian
37950e160e fix: auth through disconnected ldap IDP 2019-08-07 00:35:08 +08:00
yunion-ci-robot
6a75cc5f5e Merge pull request #2139 from swordqiu/automated-cherry-pick-of-#2112-upstream-release-2.11
Automated cherry pick of #2112: s3gateway phase2
2019-08-06 23:25:08 +08:00
yunion-ci-robot
95cca9a4e1 Merge pull request #2125 from ioito/automated-cherry-pick-of-#2124-upstream-release-2.11
Automated cherry pick of #2124: hotfix: deprecated password auth
2019-08-06 23:07:12 +08:00
yunion-ci-robot
34012e200c Merge pull request #2118 from yousong/automated-cherry-pick-of-#2117-upstream-release-2.11
Automated cherry pick of #2117: lbclusters: 改正删除操作
2019-08-06 23:02:11 +08:00
yunion-ci-robot
01e4ffe0fc Merge pull request #2115 from yousong/automated-cherry-pick-of-#2104-upstream-release-2.11
Automated cherry pick of #2104: wires: 添加mtu属性
2019-08-06 22:57:09 +08:00
Qiu Jian
07c9b119f3 update vendor 2019-08-06 22:46:25 +08:00
Qiu Jian
7f0cfee1d2 s3gateway phase2 2019-08-06 22:46:25 +08:00
wanyaoqi
353d28fe8c fix guest cannot delete 2019-08-06 21:14:44 +08:00
yunion-ci-robot
aef27ac0b1 Merge pull request #2120 from wanyaoqi/automated-cherry-pick-of-#2114-upstream-release-2.11
Automated cherry pick of #2114: misc bugfix
2019-08-06 20:26:09 +08:00
Yousong Zhou
799f669c81 lbagents: 添加undeploy支持 2019-08-06 12:09:01 +00:00
Yousong Zhou
903115bfde lbclusters: 改正删除操作 2019-08-06 12:09:01 +00:00
Yousong Zhou
ddde9af94c climc: lb-create: 允许指定cluster 2019-08-06 12:09:01 +00:00
yunion-ci-robot
10289f6a43 Merge pull request #2129 from tb365/automated-cherry-pick-of-#2128-upstream-release-2.11
Automated cherry pick of #2128: kvm elb fix
2019-08-06 19:50:08 +08:00
TangBin
0320e0189f kvm elb fix 2019-08-06 17:37:08 +08:00
ioito
ef95a3ee02 hotfix: deprecated password auth 2019-08-06 17:12:40 +08:00
wanyaoqi
12f766baaa misc bugfix 2019-08-06 15:38:57 +08:00
yunion-ci-robot
4b00d34297 Merge pull request #2107 from swordqiu/automated-cherry-pick-of-#2105-upstream-release-2.11
Automated cherry pick of #2105: fix: adjust default policies for system resources
2019-08-06 15:30:10 +08:00
Yousong Zhou
e9fdda7203 hostman: rootfs: 网络配置添加MTU支持 2019-08-06 07:22:41 +00:00
Yousong Zhou
e72498c190 wires: 添加mtu属性 2019-08-06 07:22:41 +00:00
yunion-ci-robot
8079910f07 Merge pull request #2110 from yousong/automated-cherry-pick-of-#2109-upstream-release-2.11
Automated cherry pick of #2109: lbclusters: 创建时仅允许指定OneCloud Zone
2019-08-06 15:07:09 +08:00
yunion-ci-robot
c22d397652 Merge pull request #2088 from tb365/automated-cherry-pick-of-#2087-upstream-release-2.11
Automated cherry pick of #2087: aliyun&huawei redis sync support
2019-08-06 15:06:11 +08:00
TangBin
c004bf2421 add elastic cache purge fix 2019-08-06 15:02:29 +08:00
TangBin
7189e43977 add elastic cache purge 2019-08-06 15:02:29 +08:00
TangBin
a0a9ddd01b aliyun&huawei redis sync support 2019-08-06 15:02:28 +08:00
yunion-ci-robot
52ed4b7d0c Merge pull request #2113 from Mjoycarry/automated-cherry-pick-of-#2075-upstream-release-2.11
Automated cherry pick of #2075: nat create delete restful api finished
2019-08-06 15:00:08 +08:00
Rain
8319ac6c6b nat create delete restful api finished 2019-08-06 10:56:16 +08:00
yunion-ci-robot
19b511b435 Merge pull request #2101 from tb365/automated-cherry-pick-of-#2100-upstream-release-2.11
Automated cherry pick of #2100: huawei & elb bugfix
2019-08-06 10:21:08 +08:00
Yousong Zhou
6c210e77cc lbclusters: 创建时仅允许指定OneCloud Zone 2019-08-05 12:51:19 +00:00
yunion-ci-robot
7712c2e8c9 Merge pull request #2098 from wanyaoqi/automated-cherry-pick-of-#2097-upstream-release-2.11
Automated cherry pick of #2097: secgroups get distinct tenant
2019-08-05 19:59:09 +08:00
yunion-ci-robot
27214ddb0a Merge pull request #2095 from ioito/automated-cherry-pick-of-#2094-upstream-release-2.11
Automated cherry pick of #2094: hotfix: change order_by=guest -> order_by=guest_cnt
2019-08-05 19:51:08 +08:00
yunion-ci-robot
7a809ba288 Merge pull request #2093 from ioito/automated-cherry-pick-of-#2092-upstream-release-2.11
Automated cherry pick of #2092: hotfix: add networkinterface docs
2019-08-05 19:48:07 +08:00
Qiu Jian
783d10b17d fix: adjust default policies for system resources 2019-08-05 18:59:11 +08:00
TangBin
3ee67b9f75 huawei & elb bugfix 2019-08-05 16:51:47 +08:00
wanyaoqi
938b13fdc3 secgroups get distinct tenant 2019-08-05 12:03:13 +08:00
ioito
c788aee2a2 hotfix: change order_by=guest -> order_by=guest_cnt 2019-08-05 11:26:03 +08:00
yunion-ci-robot
c90a3bd56d Merge pull request #2083 from ioito/automated-cherry-pick-of-#2082-upstream-release-2.11
Automated cherry pick of #2082: fix: get openstack all customize storage type
2019-08-02 20:16:05 +08:00
ioito
e5a9dc934b fix: get openstack all customize storage type 2019-08-02 20:09:50 +08:00
ioito
a95070a3cd hotfix: add networkinterface docs 2019-08-02 17:12:30 +08:00
yunion-ci-robot
a772dc2194 Merge pull request #2090 from yousong/automated-cherry-pick-of-#2089-upstream-release-2.11
Automated cherry pick of #2089: ansibleserver: 操作宿主机时默认使用用户root
2019-08-02 12:14:04 +08:00
yunion-ci-robot
4f365370ed Merge pull request #2077 from wanyaoqi/automated-cherry-pick-of-#2060-upstream-release-2.11
Automated cherry pick of #2060: support get model distinct field
2019-08-02 12:13:04 +08:00
Yousong Zhou
62b176d36b ansibleserver: 操作宿主机时默认使用用户root 2019-08-02 04:01:31 +00:00
yunion-ci-robot
a99a38aef7 Merge pull request #2080 from ioito/automated-cherry-pick-of-#2079-upstream-release-2.11
Automated cherry pick of #2079: fix: cloudaccount and cloudprovider not in same domain
2019-08-01 22:23:03 +08:00
ioito
4b29e0ad5c fix: cloudaccount and cloudprovider not in same domain 2019-08-01 21:58:28 +08:00
wanyaoqi
439e94ba63 support get model distinct field 2019-08-01 21:44:38 +08:00
yunion-ci-robot
79ea74c519 Merge pull request #2068 from ioito/automated-cherry-pick-of-#2067-upstream-release-2.11
Automated cherry pick of #2067: fix: zstack create tcp udp secgroup rule error
2019-08-01 17:32:02 +08:00
yunion-ci-robot
6e9f5d3792 Merge pull request #2065 from ioito/automated-cherry-pick-of-#2064-upstream-release-2.11
Automated cherry pick of #2064: hotfix: change params from order_by_cache=asc|desc to order_by=cache & order=asc|desc
2019-08-01 17:31:02 +08:00
yunion-ci-robot
69639244c5 Merge pull request #2063 from ioito/automated-cherry-pick-of-#2056-upstream-release-2.11
Automated cherry pick of #2056: add: add brand field for server-sku-list
2019-08-01 17:00:02 +08:00
yunion-ci-robot
ec44abe37b Merge pull request #2049 from ioito/automated-cherry-pick-of-#2048-upstream-release-2.11
Automated cherry pick of #2048: fix: openstack glance image-list not list all images
2019-08-01 16:55:02 +08:00
yunion-ci-robot
02af534510 Merge pull request #2055 from swordqiu/automated-cherry-pick-of-#2051-upstream-release-2.11
Automated cherry pick of #2051: fix: 1. project quota-list not include domain quota 2. do not check conformance between project and domain quota
2019-08-01 16:47:02 +08:00
yunion-ci-robot
ccf42c821d Merge pull request #2073 from wanyaoqi/automated-cherry-pick-of-#2072-upstream-release-2.11
Automated cherry pick of #2072: remove host rpm requre
2019-08-01 16:45:01 +08:00
wanyaoqi
32dbfb7844 remove host rpm requre 2019-08-01 15:53:06 +08:00
yunion-ci-robot
dedc623d8a Merge pull request #2059 from swordqiu/automated-cherry-pick-of-#2057-upstream-release-2.11
Automated cherry pick of #2057: fix: server-list add is_prepaid_recycle field
2019-08-01 15:20:05 +08:00
ioito
71c5b201fe fix: zstack create tcp udp secgroup rule error 2019-07-31 22:04:37 +08:00
ioito
f0ae46f23e hotfix: change params from order_by_cache=asc|desc to order_by=cache & order=asc|desc 2019-07-31 21:45:19 +08:00
ioito
858367c2e4 add: add brand field for server-sku-list 2019-07-31 19:40:25 +08:00
Qiu Jian
debc847c6c fix: server-list add is_prepaid_recycle field 2019-07-31 18:35:52 +08:00
Qiu Jian
6356a26134 fix: 1. project quota-list not include domain quota 2. do not check conformance between project and domain quota 2019-07-31 17:53:39 +08:00
ioito
f0c86acb7f fix: openstack glance image-list not list all images 2019-07-31 17:20:32 +08:00
yunion-ci-robot
84b943af1b Merge pull request #2041 from wanyaoqi/automated-cherry-pick-of-#2040-upstream-release-2.11
Automated cherry pick of #2040: fix guest get host wire from network
2019-07-31 15:58:58 +08:00
yunion-ci-robot
213639f0e2 Merge pull request #2038 from yousong/automated-cherry-pick-of-#2037-upstream-release-2.11
Automated cherry pick of #2037: lbagents: 为influxdb_output_url设定默认值
2019-07-31 15:58:00 +08:00
yunion-ci-robot
48b8c902fc Merge pull request #2027 from ioito/automated-cherry-pick-of-#2026-upstream-release-2.11
Automated cherry pick of #2026: fix: zstack system disk resize
2019-07-31 15:57:01 +08:00
yunion-ci-robot
054c996502 Merge pull request #2024 from ioito/automated-cherry-pick-of-#2001-upstream-release-2.11
Automated cherry pick of #2001: hotfix: validate resize disk when change config
2019-07-31 15:56:01 +08:00
yunion-ci-robot
e1f1a8a787 Merge pull request #2020 from ioito/automated-cherry-pick-of-#1982-upstream-release-2.11
Automated cherry pick of #1982: fix: rbd image resize not found error
2019-07-31 15:55:01 +08:00
yunion-ci-robot
176c16e3e5 Merge pull request #2044 from wanyaoqi/automated-cherry-pick-of-#2043-upstream-release-2.11
Automated cherry pick of #2043: guest export keys add zone
2019-07-31 15:51:01 +08:00
wanyaoqi
5ecc49007b guest export keys add zone 2019-07-31 15:43:36 +08:00
wanyaoqi
f2be4824f3 fix guest get host wire from network 2019-07-31 14:33:08 +08:00
Yousong Zhou
9be95c05b2 lbagents: details=true时显示cluster的名称 2019-07-31 03:15:27 +00:00
Yousong Zhou
5bd916d987 lbagents: 为influxdb_output_url设定默认值 2019-07-31 03:15:27 +00:00
yunion-ci-robot
05650ca4c7 Merge pull request #2018 from wanyaoqi/automated-cherry-pick-of-#2017-upstream-release-2.11
Automated cherry pick of #2017: fix list order by
2019-07-31 02:22:58 +08:00
yunion-ci-robot
2e7670b003 Merge pull request #2012 from Zexi/automated-cherry-pick-of-#2011-upstream-release-2.11
Automated cherry pick of #2011: region capability: fix regional public network not found
2019-07-31 02:21:58 +08:00
yunion-ci-robot
66a3e84535 Merge pull request #2035 from wanyaoqi/automated-cherry-pick-of-#2034-upstream-release-2.11
Automated cherry pick of #2034: remove telegraf config retention_policy
2019-07-30 22:05:59 +08:00
yunion-ci-robot
61ce77c609 Merge pull request #2032 from ioito/automated-cherry-pick-of-#2029-upstream-release-2.11
Automated cherry pick of #2029: fix: avoid region2 panic when update openstack storage
2019-07-30 22:00:58 +08:00
wanyaoqi
1fc027f51a remove telegraf config retention_policy 2019-07-30 21:59:24 +08:00
ioito
971e27a033 fix: avoid region2 panic when update openstack storage 2019-07-30 20:51:11 +08:00
ioito
e4d10481b5 fix: zstack system disk resize 2019-07-30 19:29:51 +08:00
ioito
4378db4148 hotfix: validate resize disk when change config 2019-07-30 19:15:44 +08:00
ioito
5965fdbdb9 fix: rbd image resize not found error 2019-07-30 19:09:53 +08:00
wanyaoqi
b50e1af6c0 fix list order by 2019-07-30 18:22:35 +08:00
yunion-ci-robot
d9b0a1becf Merge pull request #2015 from Zexi/automated-cherry-pick-of-#2014-upstream-release-2.11
Automated cherry pick of #2014: region: fix server create input params not correct when detach sub resource
2019-07-30 18:14:34 +08:00
Zexi
e3db4d016e region: fix server create input params not correct when detach sub resource 2019-07-30 18:08:26 +08:00
Zexi
81c3aa43a1 region capability: fix regional public network not found 2019-07-30 17:32:18 +08:00
yunion-ci-robot
ff09039719 Merge pull request #1988 from swordqiu/automated-cherry-pick-of-#1986-upstream-release-2.11
Automated cherry pick of #1986: fix: init sysadmin as system user
2019-07-30 16:51:33 +08:00
yunion-ci-robot
33acd3f721 Merge pull request #2004 from tb365/automated-cherry-pick-of-#2002-upstream-release-2.11
Automated cherry pick of #2002: copyright update climc fix
2019-07-30 13:59:32 +08:00
yunion-ci-robot
779fff312f Merge pull request #1996 from tb365/automated-cherry-pick-of-#1994-upstream-release-2.11
Automated cherry pick of #1994: huawei rebuild root fix
2019-07-30 13:55:31 +08:00
yunion-ci-robot
0781cca72a Merge pull request #2006 from ioito/automated-cherry-pick-of-#2005-upstream-release-2.11
Automated cherry pick of #2005: fix: add priority for openstack secgroup rule priority
2019-07-30 12:55:33 +08:00
yunion-ci-robot
9627277247 Merge pull request #1990 from ioito/automated-cherry-pick-of-#1989-upstream-release-2.11
Automated cherry pick of #1989: fix: qcloud reserved first, second and last ip for internal connection
2019-07-30 12:22:32 +08:00
yunion-ci-robot
a381388306 Merge pull request #2000 from swordqiu/automated-cherry-pick-of-#1998-upstream-release-2.11
Automated cherry pick of #1998: fix: managed instance password not correct when deploy with keypair
2019-07-30 11:54:33 +08:00
ioito
aa7b285fde fix: add priority for openstack secgroup rule priority 2019-07-30 11:50:02 +08:00
yunion-ci-robot
dc4b0cc093 Merge pull request #1984 from ioito/automated-cherry-pick-of-#1983-upstream-release-2.11
Automated cherry pick of #1983: fix: allow normal user create prepaid resource
2019-07-30 11:32:32 +08:00
TangBin
4ddfdcc9a9 copyright update climc fix 2019-07-30 11:14:52 +08:00
Qiu Jian
9ccb84e2f2 fix: managed instance password not correct when deploy with keypair 2019-07-29 20:49:12 +08:00
TangBin
292ddb3239 huawei rebuild root fix 2019-07-29 20:35:52 +08:00
ioito
671941e905 fix: qcloud reserved first, second and last ip for internal connection 2019-07-29 20:02:54 +08:00
Qiu Jian
2499093897 fix: init sysadmin as system user 2019-07-29 17:46:03 +08:00
ioito
36be4ef7f4 fix: allow normal user create prepaid resource 2019-07-29 16:45:39 +08:00
yunion-ci-robot
0a808368e5 Merge pull request #1980 from wanyaoqi/automated-cherry-pick-of-#1979-upstream-release-2.11
Automated cherry pick of #1979: fix server purge
2019-07-29 16:32:32 +08:00
wanyaoqi
0575747f92 fix server purge 2019-07-29 15:15:45 +08:00
Jian Qiu
0a2b89bde3 Move cloud drivers from pkg/util to pkg/multicloud (#1977) 2019-07-29 00:24:48 +08:00
Jian Qiu
4662b82261 Automated cherry pick of #1905: huawei elb support (#1975)
* huawei elb support

* aws elb support
2019-07-28 15:23:11 +08:00
yunion-ci-robot
36f091ba83 Merge pull request #1973 from swordqiu/automated-cherry-pick-of-#1969-upstream-release-2.11
Automated cherry pick of #1969: fix: server create eip quota check error
2019-07-27 21:28:29 +08:00
Qiu Jian
f3517b0d26 fix: server create eip quota check error 2019-07-27 20:05:18 +08:00
yunion-ci-robot
1c7c6fa7b0 Merge pull request #1967 from ioito/automated-cherry-pick-of-#1965-upstream-release-2.11
Automated cherry pick of #1965: 支持设置ceph精准超时时间
2019-07-27 18:58:29 +08:00
yunion-ci-robot
598368dcf8 Merge pull request #1966 from ioito/automated-cherry-pick-of-#1408-upstream-release-2.11
Automated cherry pick of #1408: init model
2019-07-27 18:49:28 +08:00
yunion-ci-robot
d39f243744 Merge pull request #1963 from tb365/automated-cherry-pick-of-#1962-upstream-release-2.11
Automated cherry pick of #1962: add copyright api climc
2019-07-27 18:48:28 +08:00
ioito
36bcbbabf5 支持设置ceph精准超时时间 2019-07-27 18:48:05 +08:00
ioito
ad45ac995a rebase master 2019-07-27 18:43:30 +08:00
ioito
023c5e7695 add account privileges sync 2019-07-27 18:43:30 +08:00
ioito
e0c1e0edd2 remove serviceips models 2019-07-27 18:43:30 +08:00
ioito
7fb909356b support aws rds 2019-07-27 18:43:30 +08:00
ioito
4bb5d7a762 init model 2019-07-27 18:43:30 +08:00
yunion-ci-robot
8dc6bd18be Merge pull request #1961 from yousong/automated-cherry-pick-of-#1960-upstream-release-2.11
Automated cherry pick of #1960: yunionconf: 改正启动失败问题
2019-07-27 17:53:28 +08:00
TangBin
1cfab0ea67 add copyright api climc 2019-07-27 16:53:25 +08:00
Qiu Jian
30a02d9f07 fix: allow turn off non-default domain projects 2019-07-27 15:52:24 +08:00
Yousong Zhou
d2c97b757e 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:49:08 +00:00
Yousong Zhou
b82bf90c5a treewide: 按照gofmt改代码风格 2019-07-27 07:49:08 +00:00
Yousong Zhou
06a298eb3b modelbase: 若GetIModelManager()不符合预期则panic
便于定位
2019-07-27 07:49:08 +00:00
Yousong Zhou
ea09f783ff yunionconf: 改正启动失败问题 2019-07-27 07:49:08 +00:00
yunion-ci-robot
ca7c434014 Merge pull request #1955 from yousong/automated-cherry-pick-of-#1954-upstream-release-2.11
Automated cherry pick of #1954: ansibleplaybooks: 改正输出溢出时的记录
2019-07-27 09:58:07 +08:00
Yousong Zhou
a3e71c574d ansibleplaybooks: 改正输出溢出时的记录 2019-07-27 01:13:37 +00:00
yunion-ci-robot
90630623e8 Merge pull request #1952 from yousong/automated-cherry-pick-of-#1951-upstream-release-2.11
Automated cherry pick of #1951: ansibleplaybooks: 改正启动失败问题
2019-07-27 00:35:08 +08:00
yunion-ci-robot
2ef5a1b648 Merge pull request #1947 from wanyaoqi/automated-cherry-pick-of-#1946-upstream-release-2.11
Automated cherry pick of #1946: bugfix:
2019-07-27 00:32:07 +08:00
yunion-ci-robot
79595c2928 Merge pull request #1945 from tb365/automated-cherry-pick-of-#1942-upstream-release-2.11
Automated cherry pick of #1942: 华为 & ucloud fix
2019-07-27 00:28:06 +08:00
Yousong Zhou
f6939dd13f ansibleplaybooks: 增量式记录输出 2019-07-26 15:24:48 +00:00
Yousong Zhou
0649b8ff3d pkg: ansible: 支持指定OutputWriter 2019-07-26 15:24:47 +00:00
Yousong Zhou
e6610be842 ansibleplaybooks: Output字段使用mediumtext 2019-07-26 15:24:47 +00:00
Yousong Zhou
81477c8a76 ansibleplaybooks: 改正启动失败问题 2019-07-26 15:24:47 +00:00
wanyaoqi
aa2453b93e bugfix:
- storage cache iso
- guest start on host
2019-07-26 19:47:14 +08:00
yunion-ci-robot
0f56eb9a28 Merge pull request #1940 from yousong/automated-cherry-pick-of-#1939-upstream-release-2.11
Automated cherry pick of #1939: lbbackends: 若backend guest已删除getVpc返回空且不报错
2019-07-26 18:13:08 +08:00
TangBin
5225aafbbf huawei rebuild root fix 2019-07-26 18:11:10 +08:00
TangBin
c6cd84d295 华为 & ucloud fix 2019-07-26 18:11:10 +08:00
Yousong Zhou
b128a0414f lbbackends: 若backend guest已删除getVpc返回空且不报错 2019-07-26 08:52:33 +00:00
yunion-ci-robot
e972a40005 Merge pull request #1911 from ioito/automated-cherry-pick-of-#1910-upstream-release-2.11
Automated cherry pick of #1910: fix: 避免镜像同步到私有云自定义镜像里面
2019-07-26 15:31:08 +08:00
yunion-ci-robot
b9f7c5e52e Merge pull request #1933 from yousong/automated-cherry-pick-of-#1932-upstream-release-2.11
Automated cherry pick of #1932: vendor: update yunion.io/x/pkg
2019-07-26 15:20:08 +08:00
yunion-ci-robot
d1c9b6023f Merge pull request #1929 from swordqiu/automated-cherry-pick-of-#1927-upstream-release-2.11
Automated cherry pick of #1927: fix: not trauncating task errors
2019-07-26 13:32:10 +08:00
yunion-ci-robot
19a6171f6e Merge pull request #1926 from swordqiu/automated-cherry-pick-of-#1924-upstream-release-2.11
Automated cherry pick of #1924: fix: server-create may timeout if external image used
2019-07-26 13:31:11 +08:00
yunion-ci-robot
50471de34f Merge pull request #1923 from swordqiu/automated-cherry-pick-of-#1922-upstream-release-2.11
Automated cherry pick of #1922: feature: filter results by multiple providers or brands
2019-07-26 13:30:07 +08:00
yunion-ci-robot
beacf04337 Merge pull request #1937 from Zexi/automated-cherry-pick-of-#1935-upstream-release-2.11
Automated cherry pick of #1935: region: fix server create params missing data
2019-07-26 12:54:09 +08:00
yunion-ci-robot
ee7eddb5da Merge pull request #1916 from Zexi/automated-cherry-pick-of-#1915-upstream-release-2.11
Automated cherry pick of #1915: baremetal: mkfs.ext4 add '-T largefile' option
2019-07-26 12:53:07 +08:00
Zexi
db52fa170f region: fix server create params missing data 2019-07-26 12:52:06 +08:00
Yousong Zhou
1f3c70c57c vendor: update yunion.io/x/pkg 2019-07-26 03:45:25 +00:00
yunion-ci-robot
8975634865 Merge pull request #1919 from yousong/automated-cherry-pick-of-#1918-upstream-release-2.11
Automated cherry pick of #1918: lbagents: 加强vrrp校验
2019-07-25 22:37:07 +08:00
Qiu Jian
c5904d22a6 fix: not trauncating task errors 2019-07-25 22:29:26 +08:00
Qiu Jian
745611f1e0 fix: server-create may timeout if external image used 2019-07-25 21:33:14 +08:00
Qiu Jian
f80b19bdc9 feature: filter results by multiple providers or brands 2019-07-25 20:59:37 +08:00
Yousong Zhou
98d88aaf07 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:53:26 +00:00
Zexi
18bf91f7df baremetal: mkfs.ext4 add '-T largefile' option 2019-07-25 17:10:44 +08:00
ioito
c02bd96ef9 fix: 避免镜像同步到私有云自定义镜像里面 2019-07-25 14:40:06 +08:00
yunion-ci-robot
e822db3a3c Merge pull request #1908 from swordqiu/automated-cherry-pick-of-#1906-upstream-release-2.11
Automated cherry pick of #1906: fix: climc image-public parameter fix
2019-07-25 14:25:14 +08:00
yunion-ci-robot
7e2b8aeca2 Merge pull request #1904 from swordqiu/automated-cherry-pick-of-#1902-upstream-release-2.11
Automated cherry pick of #1902: fix: role assignments list should include matched policies
2019-07-25 14:23:06 +08:00
yunion-ci-robot
6cf99e7cd7 Merge pull request #1899 from swordqiu/automated-cherry-pick-of-#1898-upstream-release-2.11
Automated cherry pick of #1898: fix: networkinterfacenetwork set nil virtual object
2019-07-25 14:22:08 +08:00
Qiu Jian
f056f91301 fix: climc image-public parameter fix 2019-07-25 10:16:58 +08:00
Qiu Jian
18ed058908 fix: role assignments list should include matched policies 2019-07-25 02:32:06 +08:00
yunion-ci-robot
a6e34b7174 Merge pull request #1901 from ioito/automated-cherry-pick-of-#1900-upstream-release-2.11
Automated cherry pick of #1900: 修复计算虚拟网卡数量sql错误
2019-07-25 01:18:05 +08:00
屈轩
07c4f75e64 修复计算虚拟网卡数量sql错误 2019-07-25 00:52:02 +08:00
Qiu Jian
292d6f9c09 fix: networkinterfacenetwork set nil virtual object 2019-07-25 00:19:07 +08:00
yunion-ci-robot
c1a8836ed3 Merge pull request #1897 from swordqiu/automated-cherry-pick-of-#1769-#1893-upstream-release-2.11
Automated cherry pick of #1769: feature: s3gateway #1893: s3gateway revise
2019-07-24 23:41:05 +08:00
Qiu Jian
b5502bb1bc s3gateway revise 2019-07-24 22:40:03 +08:00
Qiu Jian
ae946a1f13 fix: bug fixes, add docs 2019-07-24 22:39:55 +08:00
Qiu Jian
e0c13571a8 s3gateway round 2 2019-07-24 22:39:29 +08:00
Qiu Jian
39746ee2c1 feature: s3gateway 2019-07-24 22:38:15 +08:00
Zexi Li
5bd68c1916 Merge pull request #1896 from swordqiu/automated-cherry-pick-of-#1824-upstream-release-2.11
Automated cherry pick of #1824: nat update without client
2019-07-24 22:36:56 +08:00
Rain
5367e239d9 make sure that one snat/dnat rule named Entry and several snat/dnat rules named Table 2019-07-24 22:34:20 +08:00
yunion-ci-robot
f4910e0b1f Merge pull request #1892 from ioito/automated-cherry-pick-of-#1773-upstream-release-2.11
Automated cherry pick of #1773: 虚拟网卡信息同步
2019-07-24 20:39:06 +08:00
ioito
7f521ffd8f add networkinterfaces api docs 2019-07-24 19:49:12 +08:00
ioito
0b0d50a646 networks details for networkinterface 2019-07-24 19:47:58 +08:00
ioito
5af7538c22 add ucloud interface sync 2019-07-24 19:47:58 +08:00
ioito
3014f4b08b 虚拟网卡信息同步 2019-07-24 19:47:58 +08:00
yunion-ci-robot
e3ee0ad9de Merge pull request #1876 from Mjoycarry/automated-cherry-pick-of-#1824-upstream-release-2.11
Automated cherry pick of #1824: huawei nat list finish without testing
2019-07-24 17:58:05 +08:00
yunion-ci-robot
6ad771a743 Merge pull request #1889 from swordqiu/automated-cherry-pick-of-#1885-upstream-release-2.11
Automated cherry pick of #1885: fix: validate info when importing ldap user/group/domain
2019-07-24 16:15:06 +08:00
Qiu Jian
e824982383 fix: validate info when importing ldap user/group/domain 2019-07-24 16:02:33 +08:00
yunion-ci-robot
60df4693f4 Merge pull request #1882 from swordqiu/automated-cherry-pick-of-#1880-upstream-release-2.11
Automated cherry pick of #1880: fix: server-logininfo rpc include login_key
2019-07-24 13:26:07 +08:00
Qiu Jian
766534675e fix: server-logininfo rpc include login_key 2019-07-24 13:17:33 +08:00
yunion-ci-robot
1e8b44ced5 Merge pull request #1878 from wanyaoqi/automated-cherry-pick-of-#1877-upstream-release-2.11
Automated cherry pick of #1877: fix glance list share resource
2019-07-24 12:05:06 +08:00
wanyaoqi
bfa1df0059 fix glance list share resource 2019-07-24 11:56:23 +08:00
Rain
099d1d4974 nat update without client
add nat update subcommands for huaweicli, aliyuncli

modify interface name of nat, add comment of this
2019-07-24 11:32:11 +08:00
yunion-ci-robot
70c5ea73ae Merge pull request #1875 from Mjoycarry/automated-cherry-pick-of-#1811-upstream-release-2.11
Automated cherry pick of #1811: huawei nat list finish without testing
2019-07-24 10:19:06 +08:00
Rain
c9f92ee0f6 support sync and list natgateway, snat table and dnat table 2019-07-24 10:14:47 +08:00
Rain
94562c6c58 huawei nat list finish without testing 2019-07-24 10:14:47 +08:00
yunion-ci-robot
f30ae9abc4 Merge pull request #1863 from ioito/automated-cherry-pick-of-#1860-upstream-release-2.11
Automated cherry pick of #1860: 添加同步安全组日志
2019-07-24 09:36:07 +08:00
yunion-ci-robot
8d8567f0e2 Merge pull request #1869 from swordqiu/automated-cherry-pick-of-#1867-upstream-release-2.11
Automated cherry pick of #1867: fix: clear pending-delete when sched_fail
2019-07-24 09:34:07 +08:00
yunion-ci-robot
682acb8e9c Merge pull request #1871 from swordqiu/automated-cherry-pick-of-#1870-upstream-release-2.11
Automated cherry pick of #1870: fix: agent registration will report version
2019-07-24 09:29:05 +08:00
yunion-ci-robot
15a9c932ae Merge pull request #1874 from swordqiu/automated-cherry-pick-of-#1872-upstream-release-2.11
Automated cherry pick of #1872: fix: keystone user initialization hit empty extra
2019-07-24 09:24:05 +08:00
Qiu Jian
2cc07bc99f fix: keystone user initialization hit empty extra 2019-07-24 09:16:02 +08:00
Qiu Jian
13c8795ab1 fix: agent registration will report version 2019-07-24 01:24:24 +08:00
Qiu Jian
24f4b28ca0 fix: clear pending-delete when sched_fail 2019-07-23 23:48:33 +08:00
yunion-ci-robot
99095ee9e7 Merge pull request #1859 from swordqiu/automated-cherry-pick-of-#1857-upstream-release-2.11
Automated cherry pick of #1857: fix: esxi change instanceType failed as ChangeConfig2 not implemented
2019-07-23 22:13:07 +08:00
ioito
e5ef25b7cb 避免重复设置同一vpc底下不同安全组externalId 2019-07-23 21:54:08 +08:00
ioito
f59d0ab27f 添加同步安全组日志 2019-07-23 21:54:08 +08:00
Qiu Jian
ac9f5a8b0d fix: esxi change instanceType failed as ChangeConfig2 not implemented 2019-07-23 21:25:32 +08:00
yunion-ci-robot
2c786c0ada Merge pull request #1853 from wanyaoqi/automated-cherry-pick-of-#1852-upstream-release-2.11
Automated cherry pick of #1852: fix baremetal attach network
2019-07-23 21:05:05 +08:00
yunion-ci-robot
207201dd07 Merge pull request #1855 from ioito/automated-cherry-pick-of-#1840-upstream-release-2.11
Automated cherry pick of #1840: 卸载磁盘时忽略云上磁盘已经被删除的错误
2019-07-23 20:11:04 +08:00
yunion-ci-robot
0fb27b522b Merge pull request #1846 from ioito/automated-cherry-pick-of-#1829-upstream-release-2.11
Automated cherry pick of #1829: 避免cacheimage refresh时同步azure镜像信息异常
2019-07-23 18:42:05 +08:00
ioito
34a049d5d6 卸载磁盘时忽略云上磁盘已经被删除的错误 2019-07-23 18:35:03 +08:00
wanyaoqi
6d910afaec fix baremetal attach network 2019-07-23 18:18:28 +08:00
yunion-ci-robot
7f9df03054 Merge pull request #1850 from wanyaoqi/automated-cherry-pick-of-#1843-upstream-release-2.11
Automated cherry pick of #1843: bugfix: baremetal import , guest panic notify
2019-07-23 18:18:05 +08:00
wanyaoqi
22b983929a bugfix: baremetal import , guest panic notify
- reset baremetal access ip on baremetal rebuild
- add guest panic notify template
2019-07-23 16:15:19 +08:00
ioito
b97380d3f4 避免cacheimage refresh时同步azure镜像信息异常 2019-07-23 15:05:25 +08:00
yunion-ci-robot
e0326f3bb0 Merge pull request #1839 from wanyaoqi/automated-cherry-pick-of-#1837-upstream-release-2.11
Automated cherry pick of #1837: fix guest check quota on change config
2019-07-23 12:06:08 +08:00
yunion-ci-robot
aae50eb4d8 Merge pull request #1833 from ioito/automated-cherry-pick-of-#1832-upstream-release-2.11
Automated cherry pick of #1832: 避免因cloudprovider disable导致账号同步失效
2019-07-23 12:03:06 +08:00
yunion-ci-robot
e045b61cb7 Merge pull request #1825 from ioito/automated-cherry-pick-of-#1820-upstream-release-2.11
Automated cherry pick of #1820: 仅忽略 no such service错误,否则以最新api结果为准
2019-07-23 11:58:05 +08:00
wanyaoqi
693088b2e8 fix guest check quota on change config 2019-07-22 21:18:43 +08:00
ioito
bb13109093 避免因cloudprovider disable导致账号同步失效 2019-07-22 20:04:15 +08:00
Zexi Li
903b2a87bc Merge pull request #1831 from Zexi/automated-cherry-pick-of-#1823-upstream-release-2.11
Automated cherry pick of #1823: fix: node count for a virtualized host is always 1
2019-07-22 19:17:55 +08:00
Qiu Jian
da29cb81f7 fix: node count for a virtualized host is always 1 2019-07-22 19:17:15 +08:00
ioito
0d36cb5b9a 仅忽略 no such service错误,否则以最新api结果为准 2019-07-22 10:10:56 +08:00
yunion-ci-robot
a392564b11 Merge pull request #1817 from swordqiu/automated-cherry-pick-of-#1815-upstream-release-2.11
Automated cherry pick of #1815: fix: image add is_standard field, filter by is_standard=false|true
2019-07-22 10:04:05 +08:00
yunion-ci-robot
c4c8cadd5c Merge pull request #1818 from wanyaoqi/automated-cherry-pick-of-#1689-upstream-release-2.11
Automated cherry pick of #1689: auto create subnet on host register
2019-07-20 13:34:03 +08:00
yunion-ci-robot
c7a7b840ea Merge pull request #1819 from tb365/automated-cherry-pick-of-#1801-upstream-release-2.11
Automated cherry pick of #1801: ucloud bugfix
2019-07-19 15:40:06 +08:00
TangBin
def245b156 ucloud bugfix 2019-07-19 15:33:16 +08:00
wanyaoqi
07839cc8b8 auto create subnet on host register 2019-07-19 15:29:38 +08:00
Qiu Jian
f57e27c625 fix: image add is_standard field, filter by is_standard=false|true 2019-07-19 15:19:14 +08:00
yunion-ci-robot
e119d7fd97 Merge pull request #1813 from wanyaoqi/automated-cherry-pick-of-#1812-upstream-release-2.11.0
Automated cherry pick of #1812: host reload telegraf
2019-07-19 11:40:03 +08:00
wanyaoqi
6e139c47fd host reload telegraf 2019-07-19 11:36:41 +08:00
yunion-ci-robot
cb59769de0 Merge pull request #1809 from Zexi/automated-cherry-pick-of-#1808-upstream-release-2.11.0
Automated cherry pick of #1808: scheduler: esxi and zstack hypervisor do cpu and memory filter
2019-07-19 00:50:04 +08:00
yunion-ci-robot
b9b938aa41 Merge pull request #1806 from ioito/automated-cherry-pick-of-#1805-upstream-release-2.11.0
Automated cherry pick of #1805: 允许更改openstack存储容量
2019-07-19 00:44:02 +08:00
Zexi
82122a74f6 scheduler: esxi and zstack hypervisor do cpu and memory filter 2019-07-18 20:26:30 +08:00
ioito
a3edbd2895 允许更改openstack存储容量 2019-07-18 19:43:54 +08:00
yunion-ci-robot
e1ccc42fbc Merge pull request #1793 from ioito/automated-cherry-pick-of-#1792-upstream-release-2.11.0
Automated cherry pick of #1792: 优化套餐启用禁用
2019-07-18 15:46:01 +08:00
yunion-ci-robot
3c2ba9089a Merge pull request #1794 from ioito/automated-cherry-pick-of-#1761-upstream-release-2.11.0
Automated cherry pick of #1761: 添加lb eip同步
2019-07-18 15:43:58 +08:00
yunion-ci-robot
82de704dd9 Merge pull request #1797 from ioito/automated-cherry-pick-of-#1796-upstream-release-2.11.0
Automated cherry pick of #1796: 提高openstack创建windows机器成功率
2019-07-18 15:39:58 +08:00
ioito
001f0292cb 提高openstack创建windows机器成功率 2019-07-18 15:04:49 +08:00
ioito
3c20e3da9e 添加lb eip同步 2019-07-18 14:41:44 +08:00
ioito
14bad8ccc9 优化套餐启用禁用 2019-07-18 14:37:28 +08:00
yunion-ci-robot
2ed681a93b Merge pull request #1791 from swordqiu/automated-cherry-pick-of-#1789-upstream-release-2.11.0
Automated cherry pick of #1789: fix: server change owner did not change disk's owner
2019-07-18 14:18:00 +08:00
yunion-ci-robot
01b67589c3 Merge pull request #1782 from Mjoycarry/automated-cherry-pick-of-#1758-upstream-release-2.11.0
Automated cherry pick of #1758: huawei cloud vpc route table list and sync finished; huaweicli routetable-list finished
2019-07-18 14:16:59 +08:00
yunion-ci-robot
8f6410f513 Merge pull request #1787 from wanyaoqi/automated-cherry-pick-of-#1786-upstream-release-2.11.0
Automated cherry pick of #1786: disk reset set server status
2019-07-18 14:09:58 +08:00
Qiu Jian
6d82a4aa53 fix: server change owner did not change disk's owner 2019-07-18 14:06:03 +08:00
wanyaoqi
144ebb6575 disk reset set server status 2019-07-18 11:37:21 +08:00
Zexi Li
fe1be4f9fd Merge pull request #1785 from Zexi/automated-cherry-pick-of-#1783-upstream-release-2.11.0
Automated cherry pick of #1783: glance: fix duplicate data for node db_stats
2019-07-18 10:48:22 +08:00
Zexi
0eaf16f267 glance: fix duplicate data for node db_stats 2019-07-18 10:47:20 +08:00
Rain
56f09c8085 huawei cloud vpc route table list and sync finished; huaweicli routetable-list finished 2019-07-18 09:57:27 +08:00
yunion-ci-robot
f7f3d3b6b0 Merge pull request #1780 from Zexi/automated-cherry-pick-of-#1779-upstream-release-2.11.0
Automated cherry pick of #1779: baremetal: fix msdos last primary partition not resized
2019-07-17 22:15:58 +08:00
Zexi
bcac0820ae baremetal: fix msdos last primary partition not resized 2019-07-17 22:08:41 +08:00
yunion-ci-robot
1d318591f8 Merge pull request #1778 from swordqiu/automated-cherry-pick-of-#1776-upstream-release-2.11.0
Automated cherry pick of #1776: fix: allow access mcclient serviceCatalog
2019-07-17 21:30:59 +08:00
yunion-ci-robot
6abcc46cd2 Merge pull request #1768 from swordqiu/automated-cherry-pick-of-#1766-upstream-release-2.11.0
Automated cherry pick of #1766: fix: allow project creating prepaid servers
2019-07-17 21:29:01 +08:00
Qiu Jian
dacf6e8bac fix: allow access mcclient serviceCatalog 2019-07-17 21:20:39 +08:00
yunion-ci-robot
a96e28f6d5 Merge pull request #1759 from Zexi/automated-cherry-pick-of-#1756-upstream-release-2.11.0
Automated cherry pick of #1756: region: server order by account and remove models stale comments
2019-07-17 21:13:57 +08:00
yunion-ci-robot
ab34261e9e Merge pull request #1746 from wanyaoqi/automated-cherry-pick-of-#1745-upstream-release-2.11.0
Automated cherry pick of #1745: fix deploy network with routes
2019-07-17 21:02:59 +08:00
yunion-ci-robot
5a83ca059b Merge pull request #1762 from ioito/automated-cherry-pick-of-#1569-upstream-release-2.11.0
Automated cherry pick of #1569: fix sku PropertyInstanceSpecs
2019-07-17 18:19:57 +08:00
yunion-ci-robot
54fff043d1 Merge pull request #1772 from Zexi/automated-cherry-pick-of-#1770-upstream-release-2.11.0
Automated cherry pick of #1770: scheduler: schedtag predicate match resources then do filter
2019-07-17 13:48:58 +08:00
yunion-ci-robot
73f3c761e2 Merge pull request #1764 from Zexi/automated-cherry-pick-of-#1763-upstream-release-2.11.0
Automated cherry pick of #1763: service db init sync exit
2019-07-17 13:46:01 +08:00
Zexi
98ee0f806b scheduler: schedtag predicate match resources then do filter 2019-07-17 13:22:20 +08:00
Qiu Jian
0bde486252 fix: allow project creating prepaid servers 2019-07-16 19:43:56 +08:00
Zexi
7897629f97 db: app service support --exit-after-db-init 2019-07-16 19:15:48 +08:00
Zexi
eac4fa9c18 service db init sync exit 2019-07-16 19:15:48 +08:00
ioito
fbf4145093 fix sku PropertyInstanceSpecs 2019-07-16 17:18:19 +08:00
yunion-ci-robot
18aee8cb59 Merge pull request #1754 from Zexi/automated-cherry-pick-of-#1753-upstream-release-2.11.0
Automated cherry pick of #1753: region: fix baremetal specs not found when domain_id specify
2019-07-16 16:59:59 +08:00
Zexi
73b25b8a81 region: server order by account and remove models stale comments 2019-07-16 16:12:07 +08:00
yunion-ci-robot
87460dd73e Merge pull request #1736 from wanyaoqi/automated-cherry-pick-of-#1735-upstream-release-2.11.0
Automated cherry pick of #1735: add verify storage mount point
2019-07-16 12:52:58 +08:00
wanyaoqi
ece0c4b49f add verify storage mount point 2019-07-16 11:33:49 +08:00
wanyaoqi
5b8b36def8 fix deploy network with routes 2019-07-16 11:13:39 +08:00
Zexi
edb45ea232 region: fix baremetal specs not found when domain_id specify 2019-07-16 11:13:00 +08:00
yunion-ci-robot
eb0b78b7f1 Merge pull request #1752 from Zexi/automated-cherry-pick-of-#1717-upstream-release-2.11.0
Automated cherry pick of #1717: host 相关的 rpm 包自动添加 systemd unit service 文件
2019-07-16 11:07:58 +08:00
Zexi
ca8a6e920e host 相关的 rpm 包自动添加 systemd unit service 文件 2019-07-16 10:27:33 +08:00
yunion-ci-robot
290fe95f49 Merge pull request #1739 from wanyaoqi/automated-cherry-pick-of-#1738-upstream-release-2.11.0
Automated cherry pick of #1738: host listen before register
2019-07-15 23:48:56 +08:00
yunion-ci-robot
3d75420d88 Merge pull request #1750 from swordqiu/automated-cherry-pick-of-#1748-upstream-release-2.11.0
Automated cherry pick of #1748: fix: server-change-ipaddr may ignore errors when changing ipaddr
2019-07-15 23:37:01 +08:00
Qiu Jian
5aeb4712d6 fix: server-change-ipaddr may ignore errors when changing ipaddr 2019-07-15 23:01:54 +08:00
yunion-ci-robot
8e2580fd08 Merge pull request #1733 from yousong/automated-cherry-pick-of-#1732-upstream-release-2.11.0
Automated cherry pick of #1732: lb: 将lb.backendgroup视为弱引用
2019-07-15 22:16:58 +08:00
yunion-ci-robot
1c9bd60cf6 Merge pull request #1742 from ioito/automated-cherry-pick-of-#1741-upstream-release-2.11.0
Automated cherry pick of #1741: 避免设置disable的cloudproviderregion状态
2019-07-15 21:37:00 +08:00
ioito
c03f84887a 避免设置disable的cloudproviderregion状态 2019-07-15 16:41:44 +08:00
wanyaoqi
828a50492a host listen before register 2019-07-15 16:03:03 +08:00
Yousong Zhou
2ef32fbbcc lb: 将lb.backendgroup视为弱引用 2019-07-15 05:00:38 +00:00
yunion-ci-robot
e05608a776 Merge pull request #1731 from yousong/automated-cherry-pick-of-#1729-release-2.11.0
Automated cherry pick of #1729: .circleci: 改进test执行
2019-07-15 12:41:58 +08:00
Yousong Zhou
aa26577ff8 .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:51:40 +00:00
yunion-ci-robot
138686fe97 Merge pull request #1723 from swordqiu/automated-cherry-pick-of-#1721-upstream-release-2.11.0
Automated cherry pick of #1721: fix: ldap sync domain may remove local usrs
2019-07-15 10:40:57 +08:00
yunion-ci-robot
eb782f7873 Merge pull request #1725 from ioito/automated-cherry-pick-of-#1724-upstream-release-2.11.0
Automated cherry pick of #1724: 修复purge backend野指针引用问题
2019-07-15 10:36:57 +08:00
ioito
afe1f27356 修复purge backend野指针引用问题 2019-07-15 10:22:08 +08:00
yunion-ci-robot
af04da9cd7 Merge pull request #1720 from Zexi/automated-cherry-pick-of-#1718-upstream-release-2.11.0
Automated cherry pick of #1718: scheduler: optimize forecast filter info
2019-07-15 09:23:59 +08:00
Zexi
2f2b7bb080 scheduler: optimize forecast filter info 2019-07-15 09:17:01 +08:00
Qiu Jian
c35af724ef fix: ldap sync domain may remove local usrs 2019-07-15 08:45:14 +08:00
yunion-ci-robot
45a95e947b Merge pull request #1707 from yousong/automated-cherry-pick-of-#1706-release-2.11.0
Automated cherry pick of #1706: lbagent: deploy: 仓库配置文件默认sslverify=0
2019-07-13 20:15:00 +08:00
yunion-ci-robot
70eb41fedf Merge pull request #1715 from wanyaoqi/automated-cherry-pick-of-#1714-upstream-release-2.11.0
Automated cherry pick of #1714: fix  disk create from snapshot
2019-07-13 19:23:58 +08:00
wanyaoqi
4e5ee3f497 fix disk create from snapshot 2019-07-13 19:21:54 +08:00
yunion-ci-robot
9833c2cac1 Merge pull request #1710 from ioito/automated-cherry-pick-of-#1709-upstream-release-2.11.0
Automated cherry pick of #1709: fix console log
2019-07-13 17:39:00 +08:00
ioito
395bc795a5 fix console log 2019-07-13 14:46:14 +08:00
Yousong Zhou
90eb4af91c lbagent: deploy: 部署结束重启服务 2019-07-13 05:20:39 +00:00
Yousong Zhou
c7f21fc203 lbagent: deploy: 仓库配置文件默认sslverify=0 2019-07-13 05:20:38 +00:00
yunion-ci-robot
cb78a62b8f Merge pull request #1697 from ioito/automated-cherry-pick-of-#1696-upstream-release-2.11.0
Automated cherry pick of #1696: 补充zstack宿主机本地存储
2019-07-12 14:44:56 +08:00
yunion-ci-robot
507f98d5af Merge pull request #1692 from swordqiu/automated-cherry-pick-of-#1690-upstream-release-2.11.0
Automated cherry pick of #1690: fix: invalid old password
2019-07-12 14:43:02 +08:00
yunion-ci-robot
7d6faaf66d Merge pull request #1700 from ioito/automated-cherry-pick-of-#1699-upstream-release-2.11.0
Automated cherry pick of #1699: 同优先级规则deny优先于allow规则生效
2019-07-12 11:59:57 +08:00
ioito
a73990773f 同优先级规则deny优先于allow规则生效 2019-07-12 11:48:26 +08:00
ioito
2af91e81a4 补充zstack宿主机本地存储 2019-07-12 10:39:32 +08:00
yunion-ci-robot
6d50bdd33b Merge pull request #1694 from wanyaoqi/automated-cherry-pick-of-#1693-upstream-release-2.11.0
Automated cherry pick of #1693: fix host register:
2019-07-12 10:32:56 +08:00
wanyaoqi
50a085c741 fix host register: 2019-07-12 10:29:39 +08:00
yunion-ci-robot
cfb275b371 Merge pull request #1682 from ioito/automated-cherry-pick-of-#1681-upstream-release-2.11.0
Automated cherry pick of #1681: 宿主机存储利用率仅计算本地存储
2019-07-12 09:06:56 +08:00
Qiu Jian
6ac449e355 fix: invalid old password 2019-07-11 23:59:58 +08:00
yunion-ci-robot
bd97b29178 Merge pull request #1688 from swordqiu/automated-cherry-pick-of-#1686-upstream-release-2.11.0
Automated cherry pick of #1686: fix: notify message use brand insteand of hypervisor
2019-07-11 19:57:57 +08:00
Qiu Jian
252c07a789 fix: notify message use brand insteand of hypervisor 2019-07-11 18:35:58 +08:00
yunion-ci-robot
c8e48e4d47 Merge pull request #1677 from ioito/automated-cherry-pick-of-#1676-upstream-release-2.11.0
Automated cherry pick of #1676: 避免重装系统时绑定秘钥后没有account信息
2019-07-11 18:30:59 +08:00
ioito
77982aa4f1 宿主机存储利用率仅计算本地存储 2019-07-11 17:28:35 +08:00
ioito
fa92c8a804 避免重装系统时绑定秘钥后没有account信息 2019-07-11 16:59:05 +08:00
yunion-ci-robot
a02458aaef Merge pull request #1673 from ioito/automated-cherry-pick-of-#1672-upstream-release-2.11.0
Automated cherry pick of #1672: fix grpc client timeout
2019-07-11 13:47:58 +08:00
ioito
0acddee2b1 fix grpc client timeout 2019-07-11 13:42:57 +08:00
yunion-ci-robot
3a0abe056c Merge pull request #1671 from swordqiu/automated-cherry-pick-of-#1667-upstream-release-2.11.0
Automated cherry pick of #1667: fix: task usercred should be utf8 charset
2019-07-11 12:17:56 +08:00
Qiu Jian
314e6d8886 fix: task usercred should be utf8 charset 2019-07-11 12:13:40 +08:00
yunion-ci-robot
5e5dd7965d Merge pull request #1665 from wanyaoqi/automated-cherry-pick-of-#1662-upstream-release-2.11.0
Automated cherry pick of #1662: baremetal init fsdriver
2019-07-11 12:01:56 +08:00
wanyaoqi
d1c795056e baremetal init fsdriver 2019-07-11 11:41:25 +08:00
Jian Qiu
6bb1f23a25 Automated cherry pick of #1659: fix: add all ports usage (#1661)
* fix: add all ports usage

* fix: action log project-domain charset is not utf8
2019-07-11 08:58:12 +08:00
yunion-ci-robot
b83356840d Merge pull request #1655 from ioito/automated-cherry-pick-of-#1654-upstream-release-2.11.0
Automated cherry pick of #1654: fix qcloud associate eip timeout after bind
2019-07-11 08:44:55 +08:00
ioito
8de9303102 fix qcloud associate eip timeout after bind 2019-07-10 21:04:06 +08:00
yunion-ci-robot
beb3e7df9c Merge pull request #1653 from tb365/automated-cherry-pick-of-#1649-upstream-release-2.11.0
Automated cherry pick of #1649: add rpc-global-settings-dictionary
2019-07-10 20:58:57 +08:00
yunion-ci-robot
6833f3117c Merge pull request #1650 from wanyaoqi/automated-cherry-pick-of-#1603-upstream-release-2.11.0
Automated cherry pick of #1603: - set mirror status on switch
2019-07-10 20:56:56 +08:00
TangBin
53d21d403a make fmt 2019-07-10 20:55:33 +08:00
TangBin
d8fba4963a add rpc-global-settings-dictionary 2019-07-10 20:55:33 +08:00
yunion-ci-robot
476b9ea17a Merge pull request #1642 from ioito/automated-cherry-pick-of-#1641-upstream-release-2.11.0
Automated cherry pick of #1641: 统一处理ResourceNotFound返回id not find
2019-07-10 20:44:57 +08:00
yunion-ci-robot
a2b782ccfb Merge pull request #1639 from ioito/automated-cherry-pick-of-#1638-upstream-release-2.11.0
Automated cherry pick of #1638: 避免无限删除guest失败
2019-07-10 20:42:57 +08:00
wanyaoqi
ecf31c7915 add build file 2019-07-10 20:41:47 +08:00
wanyaoqi
3a3728bcb8 - set mirror status on switch
- deploy agent

- gpfs snapshot

- code fixs
2019-07-10 20:41:47 +08:00
ioito
0e503dd0fa 统一处理ResourceNotFound返回id not find 2019-07-10 16:11:14 +08:00
ioito
4cad2c9b2b 避免无限删除guest失败 2019-07-10 15:25:52 +08:00
yunion-ci-robot
bd20c28567 Merge pull request #1637 from swordqiu/automated-cherry-pick-of-#1635-upstream-release-2.11.0
Automated cherry pick of #1635: fix: possible reduce timeout for quota list
2019-07-10 11:55:56 +08:00
Qiu Jian
76b3280a4d fix: disk quota usage should exclude pending_deleted disks 2019-07-10 00:12:00 +08:00
Qiu Jian
d50d9309fd fix: possible reduce timeout for quota list 2019-07-10 00:11:59 +08:00
Jian Qiu
098ecd42f8 fix: domain usage is overriden by project usage (#1625) 2019-07-09 23:24:22 +08:00
yunion-ci-robot
da6ace7ffa Merge pull request #1627 from ioito/automated-cherry-pick-of-#1626-upstream-release-2.11.0
Automated cherry pick of #1626: metadata permission
2019-07-09 23:23:57 +08:00
yunion-ci-robot
8b8d5c5fb9 Merge pull request #1631 from ioito/automated-cherry-pick-of-#1622-upstream-release-2.11.0
Automated cherry pick of #1622: 兼容zone及usable参数
2019-07-09 22:59:56 +08:00
ioito
8221913ae9 兼容zone及usable参数 2019-07-09 22:44:41 +08:00
ioito
cfe66a734c metadata permission 2019-07-09 22:41:46 +08:00
yunion-ci-robot
f755aacc47 Merge pull request #1614 from ioito/automated-cherry-pick-of-#1604-upstream-release-2.11.0
Automated cherry pick of #1604: register sched-start-guest task
2019-07-09 17:30:56 +08:00
yunion-ci-robot
ffcb1d0fff Merge pull request #1606 from ioito/automated-cherry-pick-of-#1602-upstream-release-2.11.0
Automated cherry pick of #1602: add task failed code
2019-07-09 17:28:58 +08:00
yunion-ci-robot
550a084012 Merge pull request #1610 from ioito/automated-cherry-pick-of-#1605-upstream-release-2.11.0
Automated cherry pick of #1605: fix clone rbd image error
2019-07-09 17:21:55 +08:00
yunion-ci-robot
2c4f7b38ec Merge pull request #1621 from swordqiu/automated-cherry-pick-of-#1619-upstream-release-2.11.0
Automated cherry pick of #1619: fix: add default network project privileges
2019-07-09 17:18:56 +08:00
yunion-ci-robot
ac701e699f Merge pull request #1618 from zhasm/automated-cherry-pick-of-#1616-upstream-release-2.11.0
Automated cherry pick of #1616: + zstack build desc file
2019-07-09 17:17:57 +08:00
Qiu Jian
5048383a45 add usage debug 2019-07-09 17:14:05 +08:00
Qiu Jian
e9a6652162 fix: add default network project privileges 2019-07-09 17:14:05 +08:00
Zhang Dongliang
42393fb664 + zstack build desc file 2019-07-09 16:58:42 +08:00
ioito
ec24dbaf42 register sched-start-guest task 2019-07-09 15:53:05 +08:00
ioito
30bf968aa5 fix clone rbd image error 2019-07-09 15:48:42 +08:00
ioito
9e4bdf1cdc add task failed code 2019-07-09 15:44:55 +08:00
yunion-ci-robot
176b014924 Merge pull request #1600 from ioito/automated-cherry-pick-of-#1599-upstream-release-2.11.0
Automated cherry pick of #1599: fix max session login issue
2019-07-08 21:44:56 +08:00
ioito
65a6896d0b fix max session login issue 2019-07-08 16:45:19 +08:00
yunion-ci-robot
fc0eca373a Merge pull request #1597 from ioito/automated-cherry-pick-of-#1596-upstream-release-2.11.0
Automated cherry pick of #1596: 私有云或公有云镜像windows默认用户名都是Administrator
2019-07-07 19:08:58 +08:00
ioito
06ab929f55 私有云或公有云镜像windows默认用户名都是Administrator 2019-07-07 18:46:04 +08:00
Jian Qiu
aca1ba327f fix: image quota rpc support action and cascade params (#1595) 2019-07-06 23:57:07 +08:00
yunion-ci-robot
7582c44d18 Merge pull request #1591 from ioito/automated-cherry-pick-of-#1568-upstream-release-2.11.0
Automated cherry pick of #1568: fix cache domain tenants
2019-07-06 17:18:55 +08:00
yunion-ci-robot
54f20b7c15 Merge pull request #1589 from ioito/automated-cherry-pick-of-#1584-upstream-release-2.11.0
Automated cherry pick of #1584: fix create server sku not found error
2019-07-06 17:16:55 +08:00
ioito
9cc57b9b81 fix cache domain tenants 2019-07-06 16:58:33 +08:00
ioito
9d12d55bb0 fix create server sku not found error 2019-07-06 16:56:37 +08:00
Jian Qiu
603300271f fix: quota encode json allowing zero value (#1572) 2019-07-05 23:04:46 +08:00
yunion-ci-robot
79d291ee16 Merge pull request #1574 from ioito/automated-cherry-pick-of-#1573-upstream-release-2.11.0
Automated cherry pick of #1573: add usable filter for network
2019-07-05 23:03:56 +08:00
yunion-ci-robot
c93a404f72 Merge pull request #1559 from ioito/automated-cherry-pick-of-#1551-upstream-release-2.11.0
Automated cherry pick of #1551: add without_user_meta filter
2019-07-05 22:44:56 +08:00
yunion-ci-robot
7d1b3768a0 Merge pull request #1564 from ioito/automated-cherry-pick-of-#1563-upstream-release-2.11.0
Automated cherry pick of #1563: add deploy failed action log
2019-07-05 22:28:54 +08:00
yunion-ci-robot
46ecce550c Merge pull request #1561 from ioito/automated-cherry-pick-of-#1543-upstream-release-2.11.0
Automated cherry pick of #1543: fix not set guest status after attach or detach disk
2019-07-05 22:24:59 +08:00
yunion-ci-robot
8c25029126 Merge pull request #1555 from ioito/automated-cherry-pick-of-#1550-upstream-release-2.11.0
Automated cherry pick of #1550: fix purge aliyun account error by lbbg
2019-07-05 22:20:54 +08:00
ioito
d002fc4c07 add usable filter for network 2019-07-05 18:49:27 +08:00
ioito
2d6c542c9e add deploy failed action log 2019-07-05 14:17:40 +08:00
ioito
7bac8490f2 optimized tag filter 2019-07-05 10:24:14 +08:00
ioito
b9cd6a00e1 fix not set guest status after attach or detach disk 2019-07-05 10:17:35 +08:00
yunion-ci-robot
4c9ea9d615 Merge pull request #1546 from swordqiu/automated-cherry-pick-of-#1544-upstream-release-2.11.0
Automated cherry pick of #1544: fix: add disk usage for domain and project
2019-07-05 10:16:54 +08:00
ioito
c1a1e10d76 add without_user_meta filter 2019-07-05 10:15:22 +08:00
yunion-ci-robot
56a6018a8f Merge pull request #1554 from swordqiu/automated-cherry-pick-of-#1552-upstream-release-2.11.0
Automated cherry pick of #1552: 1. allow replace set quota when action=replace 2. show when the project external resource was fetched
2019-07-05 10:14:54 +08:00
yunion-ci-robot
138715b626 Merge pull request #1542 from swordqiu/automated-cherry-pick-of-#1540-upstream-release-2.11.0
Automated cherry pick of #1540: fix: user filter by role
2019-07-05 10:13:54 +08:00
ioito
034bd3006f fix purge aliyun account error by lbbg 2019-07-05 10:09:52 +08:00
yunion-ci-robot
0ce5323265 Merge pull request #1548 from ioito/automated-cherry-pick-of-#1547-upstream-release-2.11.0
Automated cherry pick of #1547: add azure disk reset func
2019-07-04 23:55:57 +08:00
Qiu Jian
60bd04c9bf 1. allow replace set quota when action=replace 2. show when the project external resource was fetched 2019-07-04 23:41:44 +08:00
Qiu Jian
e1eec7d9c5 add nics usage 2019-07-04 21:35:58 +08:00
Qiu Jian
ffb90ea605 fix: add disk usage for domain and project 2019-07-04 21:35:56 +08:00
ioito
edfd985996 add azure disk reset func 2019-07-04 20:04:10 +08:00
yunion-ci-robot
0e3b3182b1 Merge pull request #1508 from ioito/automated-cherry-pick-of-#1507-upstream-release-2.11.0
Automated cherry pick of #1507: fix sku filter by usable
2019-07-04 15:36:54 +08:00
Qiu Jian
90bca6afb1 fix: user filter by role 2019-07-04 15:30:32 +08:00
yunion-ci-robot
f8aab9e44c Merge pull request #1518 from yousong/automated-cherry-pick-of-#1517-release-2.11.0
Automated cherry pick of #1517: .circleci: save go cache
2019-07-04 11:43:51 +08:00
yunion-ci-robot
cb9460cb94 Merge pull request #1539 from swordqiu/automated-cherry-pick-of-#1537-upstream-release-2.11.0
Automated cherry pick of #1537: add ldapcli rpm
2019-07-04 10:30:54 +08:00
Qiu Jian
ebc86e9bee add ldapcli rpm 2019-07-04 10:11:52 +08:00
yunion-ci-robot
d037d7f8c4 Merge pull request #1536 from swordqiu/automated-cherry-pick-of-#1534-upstream-release-2.11.0
Automated cherry pick of #1534: fix: 1. token add projects when no project specified 2. IVirtualResourceManager add GetResourceCount() method 3. domainId not initialized occasionally
2019-07-04 10:02:56 +08:00
yunion-ci-robot
099b447f14 Merge pull request #1530 from ioito/automated-cherry-pick-of-#1529-upstream-release-2.11.0
Automated cherry pick of #1529: fix create image with userCred issue
2019-07-03 23:22:53 +08:00
yunion-ci-robot
d39671059f Merge pull request #1525 from ioito/automated-cherry-pick-of-#1524-upstream-release-2.11.0
Automated cherry pick of #1524: fix azure reserved ips
2019-07-03 23:02:53 +08:00
Qiu Jian
54dfdbd682 fix: 1. token add projects when no project specified 2. IVirtualResourceManager add GetResourceCount() method 3. domainId not initialized occasionally 2019-07-03 23:00:21 +08:00
Yousong Zhou
f54c0f764b .circleci: build: save go cache 2019-07-03 13:39:45 +00:00
ioito
de86ff3dc8 fix create image with userCred issue 2019-07-03 20:56:42 +08:00
yunion-ci-robot
b68476f3dd Merge pull request #1521 from ioito/automated-cherry-pick-of-#1520-upstream-release-2.11.0
Automated cherry pick of #1520: zstack using shell to init image password
2019-07-03 20:19:53 +08:00
ioito
ebbdcf4cf8 fix azure reserved ips 2019-07-03 20:10:49 +08:00
ioito
3a58f28193 zstack using shell to init image password 2019-07-03 19:23:40 +08:00
yunion-ci-robot
87192b01d7 Merge pull request #1510 from yousong/automated-cherry-pick-of-#1509-release-2.11.0
Automated cherry pick of #1509: pkg: ansible: 改正文件内容写入路径
2019-07-03 18:09:55 +08:00
yunion-ci-robot
490c625b20 Merge pull request #1513 from wanyaoqi/automated-cherry-pick-of-#1512-upstream-release-2.11.0
Automated cherry pick of #1512: fix image download timout
2019-07-03 18:06:56 +08:00
yunion-ci-robot
e75e1fde1d Merge pull request #1504 from ioito/automated-cherry-pick-of-#1503-upstream-release-2.11.0
Automated cherry pick of #1503: fix cloud-init lock root login issue
2019-07-03 17:43:53 +08:00
wanyaoqi
521a867d9c fix image download timout 2019-07-03 17:43:43 +08:00
Yousong Zhou
354045c70a pkg: ansible: 改正文件内容写入路径
模板不会在files/目录下寻找

Fixes: 5ec150e7a9 ("pkg: ansible: 添加文件内容支持")
2019-07-03 09:26:31 +00:00
ioito
7272c59c80 fix sku filter by usable 2019-07-03 16:43:59 +08:00
ioito
aca4edba40 fix cloud-init lock root login issue 2019-07-03 15:53:55 +08:00
yunion-ci-robot
e5b9122002 Merge pull request #1481 from ioito/automated-cherry-pick-of-#1479-upstream-release-2.11.0
Automated cherry pick of #1479: fix sync openstack hoststorages issue
2019-07-03 08:34:51 +08:00
yunion-ci-robot
dbabeaf64d Merge pull request #1491 from ioito/automated-cherry-pick-of-#1486-upstream-release-2.11.0
Automated cherry pick of #1486: fix azure set secgroup error
2019-07-03 08:27:52 +08:00
yunion-ci-robot
0b6a90441c Merge pull request #1501 from yousong/automated-cherry-pick-of-#1500-release-2.11.0
Automated cherry pick of #1500: build: mod: 兼容bsd sed
2019-07-03 00:39:52 +08:00
Yousong Zhou
1d6609b4ed build: mod: 兼容bsd sed 2019-07-02 15:01:20 +00:00
yunion-ci-robot
969625a606 Merge pull request #1496 from wanyaoqi/automated-cherry-pick-of-#1495-upstream-release-2.11.0
Automated cherry pick of #1495: fix export data
2019-07-02 22:09:52 +08:00
wanyaoqi
8b59048856 fix export data 2019-07-02 22:03:50 +08:00
ioito
664531b71c fix azure set secgroup error 2019-07-02 21:23:43 +08:00
ioito
4648bf9962 fix sync openstack hoststorages issue 2019-07-02 20:12:12 +08:00
yunion-ci-robot
ef717be8f7 Merge pull request #1463 from ioito/automated-cherry-pick-of-#1191-upstream-release-2.11.0
Automated cherry pick of #1191: 私有云套餐操作支持
2019-07-02 18:55:51 +08:00
yunion-ci-robot
064108b863 Merge pull request #1475 from swordqiu/automated-cherry-pick-of-#1474-upstream-release-2.11.0
Automated cherry pick of #1474: fix: service catalog nil pointer
2019-07-02 18:52:51 +08:00
yunion-ci-robot
38b50820ce Merge pull request #1472 from wanyaoqi/automated-cherry-pick-of-#1471-upstream-release-2.11.0
Automated cherry pick of #1471: fix export data, set no limit; expand timeout
2019-07-02 18:49:53 +08:00
Qiu Jian
888f810a97 fix: service catalog nil pointer 2019-07-02 18:27:59 +08:00
wanyaoqi
9866ad0876 fix export data, set no limit; expand timeout 2019-07-02 17:57:06 +08:00
yunion-ci-robot
a109e1700f Merge pull request #1468 from ioito/automated-cherry-pick-of-#1467-upstream-release-2.11.0
Automated cherry pick of #1467: fix create disk scheduler failed
2019-07-02 16:47:53 +08:00
ioito
2e1ef46d10 fix create disk scheduler failed 2019-07-02 16:43:06 +08:00
yunion-ci-robot
d617663ab0 Merge pull request #1466 from tb365/automated-cherry-pick-of-#1464-upstream-release-2.11.0
Automated cherry pick of #1464: update mod
2019-07-02 16:25:52 +08:00
TangBin
16a6ce495b update mod 2019-07-02 16:08:53 +08:00
ioito
6485b68ae0 fix import order 2019-07-02 15:25:34 +08:00
ioito
15cf240470 添加api文档 2019-07-02 15:25:34 +08:00
ioito
6febc80672 私有云套餐操作支持 2019-07-02 15:25:34 +08:00
yunion-ci-robot
cc0151e9cb Merge pull request #1462 from swordqiu/automated-cherry-pick-of-#1460-upstream-release-2.11.0
Automated cherry pick of #1460: fix: 1. quota add API 2. tenant cache refresh 3. domain quota not initialize
2019-07-02 09:44:52 +08:00
Qiu Jian
fff502d709 feature: allow cascade quota set 2019-07-02 09:37:49 +08:00
Qiu Jian
ae8470ba35 fix: 1. quota add API 2. tenant cache refresh 3. domain quota not initialize 2019-07-02 09:37:48 +08:00
yunion-ci-robot
550c674fd9 Merge pull request #1458 from swordqiu/hotfix/qj-domain-delete-bugfix-20190701
fix: 1. idp sync fail to sync group domainId 2. idp delete fail
2019-07-01 18:51:55 +08:00
yunion-ci-robot
10bc04ca38 Merge pull request #1454 from wanyaoqi/bugfix/wyq/fix-dhcp
bugfix: fix dhcp build on OSX
2019-07-01 18:50:51 +08:00
yunion-ci-robot
b4d720b218 Merge pull request #1456 from ioito/bugfix/qx-guest-attach-disk
fix attach disk not effect
2019-07-01 18:17:52 +08:00
Qiu Jian
d45e2e7976 fix: generate unique name should exclude existing name 2019-07-01 18:13:46 +08:00
Qiu Jian
c0e0806dca fix: 1. idp sync fail to sync group domainId 2. idp delete fail 2019-07-01 16:55:58 +08:00
ioito
7e3cd5a7c2 fix attach disk not effect 2019-07-01 15:40:25 +08:00
wanyaoqi
d0b7a0c5d1 fix dhcp build on OSX 2019-07-01 14:05:33 +08:00
yunion-ci-robot
62912979e3 Merge pull request #1415 from ioito/hotfix/qx-cloud-sync-fix
避免虚拟机或磁盘漂移同步后名称后lost后缀
2019-07-01 12:43:51 +08:00
yunion-ci-robot
5c8273992b Merge pull request #1451 from swordqiu/hotfix/qj-format-fix-20190701
fix format
2019-07-01 11:46:51 +08:00
Qiu Jian
027315edfc fix format 2019-07-01 11:39:48 +08:00
yunion-ci-robot
e7b1d9f023 Merge pull request #1449 from ioito/hotfix/qx-capabilities-brand-fix
fix nil pointer dereference error
2019-07-01 11:35:51 +08:00
ioito
a9c067fd66 fix nil pointer dereference error 2019-07-01 11:30:13 +08:00
yunion-ci-robot
88690307f7 Merge pull request #1420 from ioito/hotfix/qx-rebuild-root-remove-keypair
remove keypair info if rebuild-root not set keypair
2019-07-01 11:20:52 +08:00
yunion-ci-robot
171b450061 Merge pull request #1442 from swordqiu/hotfix/qj-usage-add-brand-support
fix: usage query support brands
2019-07-01 10:13:51 +08:00
yunion-ci-robot
219f6a0768 Merge pull request #1441 from swordqiu/hotfix/qj-add-capability-brands
feature: capability add brands
2019-07-01 10:04:53 +08:00
yunion-ci-robot
3d27fdc3ba Merge pull request #1440 from swordqiu/hotfix/qj-esxi-resource-pool-tags
feature: 1. esxi vm add resource pool metadata 2. esxicli support
2019-07-01 10:03:50 +08:00
Qiu Jian
aa44664448 fix: usage query support brands 2019-07-01 09:30:51 +08:00
Qiu Jian
10adc953d9 feature: capability add brands 2019-06-30 09:28:16 +08:00
Qiu Jian
bcb5fc06ea fix: replace all ext metadata 2019-06-30 01:11:49 +08:00
yunion-ci-robot
2744707864 Merge pull request #1438 from yousong/bugfix/yousong-lbcluster
lb: 改正lbcluster校验
2019-06-30 00:22:50 +08:00
yunion-ci-robot
bb390c2713 Merge pull request #1435 from tb365/bugfix/tb-ucloud-fix-0629
fix eip projcet source & snapshot bugfix
2019-06-30 00:18:50 +08:00
Qiu Jian
0ed5531915 feature: 1. esxi vm add resource pool metadata 2. esxicli support
network-list 3. add cloud-provider-clirc command to generate rc for each
cloud-cli
2019-06-30 00:15:39 +08:00
Yousong Zhou
549c0304b3 lb: 改正lbcluster校验
- 仅对私有云应用
 - 若显式指定了lbcluster,校验lbcluster.zoneId==network.zone
2019-06-29 13:39:16 +00:00
yunion-ci-robot
5f8ca5dd4f Merge pull request #1437 from ioito/hotfix/qx-fix-docs-error
fix aip docs error
2019-06-29 18:19:50 +08:00
ioito
ffedbabfb4 fix aip docs error 2019-06-29 18:13:15 +08:00
TangBin
675d7649a4 fix eip projcet source & snapshot bugfix 2019-06-29 17:41:53 +08:00
yunion-ci-robot
64ea691397 Merge pull request #1434 from swordqiu/feature/qj-docs-for-identity-quota
add docs for identity & quotas
2019-06-29 15:25:53 +08:00
Qiu Jian
962c2d1165 add docs for identity & quotas 2019-06-29 15:22:39 +08:00
yunion-ci-robot
d1b854cc43 Merge pull request #1428 from swordqiu/hotfix/qj-bugfix-20190628
fix: 1. ldap sync remove domain/user errors 2. esxi compatibility issues
2019-06-29 14:58:54 +08:00
yunion-ci-robot
afa15129f0 Merge pull request #1432 from Zexi/bugfix/log-caller
update vendor to fix log caller field missing
2019-06-29 14:53:52 +08:00
yunion-ci-robot
80a105b4e3 Merge pull request #1423 from wanyaoqi/feature/wyq/docs
add storage network docs
2019-06-29 14:35:51 +08:00
Zexi
d172d632db update vendor to fix log caller field missing 2019-06-29 14:34:02 +08:00
yunion-ci-robot
e99dcda0bb Merge pull request #1421 from yousong/bugfix/yousong-validator-struct-errors
validators: errors: 使用msgFmt而非包含{NN}的msgTmpl
2019-06-29 14:30:51 +08:00
yunion-ci-robot
870ff38423 Merge pull request #1424 from yousong/feature/yousong-go-mod-phase2
build: 改善构建
2019-06-29 14:29:50 +08:00
yunion-ci-robot
c48575cc50 Merge pull request #1422 from yousong/feature/yousong-multi-lb-cluster
lbclusters: 初次支持
2019-06-29 14:21:52 +08:00
Qiu Jian
acae166062 fix: 1. ldap sync remove domain/user errors 2. esxi compatibility issues 2019-06-29 14:20:38 +08:00
Yousong Zhou
9b41d5f7a2 .circleci: store_artifacts 2019-06-29 04:56:28 +00:00
Yousong Zhou
d2286fcaea .circleci: bump yunionio/onecloud-ci to version v1.0.2 2019-06-29 04:56:25 +00:00
Yousong Zhou
a5d13a3c81 build: docker-build as the first-class citizen 2019-06-29 04:56:25 +00:00
Yousong Zhou
2b877aa155 build: 移除Gopkg.toml, Gopkg.lock 2019-06-29 04:22:31 +00:00
wanyaoqi
270e0251b0 add storage network docks 2019-06-29 10:41:38 +08:00
Yousong Zhou
30f800bf36 lbclusters: 初次支持 2019-06-28 15:31:21 +00:00
Yousong Zhou
29d445b058 validators: errors: 使用msgFmt而非包含{NN}的msgTmpl 2019-06-28 15:09:13 +00:00
Yousong Zhou
1416a1fe98 httperrors: 支持从msgTmpl转换为带%s的msgFmt 2019-06-28 15:09:13 +00:00
ioito
fc77d7bab8 remove keypair info if rebuild-root net set keypair 2019-06-28 10:42:48 +08:00
yunion-ci-robot
d5f4e5eecf Merge pull request #1418 from wanyaoqi/feature/wyq/network-support-part-range
feature: network filter by part of ip
2019-06-27 19:52:49 +08:00
yunion-ci-robot
8b6e2aba88 Merge pull request #1412 from wanyaoqi/bugfix/wyq/baremetal-relay
baremetal listen dhcp port
2019-06-27 18:28:50 +08:00
yunion-ci-robot
cb6fa7975a Merge pull request #1404 from yousong/bugfix/yousong-ansibleserver
ansibleserver: 直接指定IP地址时默认ansible_user指定
2019-06-27 18:25:50 +08:00
yunion-ci-robot
71fab56d21 Merge pull request #1400 from yousong/bugfix/yousong-lbagent
lbagent: 启动时全量取API数据
2019-06-27 18:24:50 +08:00
wanyaoqi
ac788dffbc network filter by part of ip 2019-06-27 17:53:25 +08:00
yunion-ci-robot
bde5354180 Merge pull request #1407 from ioito/hotfix/qx-private-cloud-eip
private cloud filter eip by zone
2019-06-27 17:31:50 +08:00
yunion-ci-robot
f7b44bb007 Merge pull request #1411 from swordqiu/hotfix/qj-misc-bugfix-20190626
fix: 1. auto create project after import domains 2. add actionlogs for dentity resources
2019-06-27 17:29:50 +08:00
yunion-ci-robot
8f27b47f91 Merge pull request #1396 from ioito/hotfix/qx-change-config-status
wait ready or running after change vm config
2019-06-27 17:16:50 +08:00
yunion-ci-robot
170f010c9a Merge pull request #1384 from wanyaoqi/feature/wyq/live-migrate-filter-cpu-model
feature: live migrate filter cpu model
2019-06-27 16:58:50 +08:00
wanyaoqi
acf15b6a1d baremetal listen dhcp port 2019-06-27 16:38:47 +08:00
Qiu Jian
d54085bfdf update vendor 2019-06-27 16:36:41 +08:00
Qiu Jian
aabdb3fa97 fix: misc bugfixes. 2019-06-27 16:36:22 +08:00
ioito
ae8ee7cc1d zone添加GetIVMById,GetIDiskById方法 2019-06-27 15:48:41 +08:00
ioito
67e912ded7 private cloud filter eip by zone 2019-06-27 11:24:57 +08:00
Qiu Jian
84eb86a757 fix: 1. auto create project after import domains 2. add actionlogs for
identity resources
2019-06-27 02:55:31 +08:00
Zexi Li
439d3fe0d2 Merge pull request #1347 from Zexi/feature/schedule-guestdriver-interface
scheduler: add schedule filter interface to guestdriver
2019-06-26 21:25:36 +08:00
Yousong Zhou
8dae52e0dc ansibleserver: 直接指定IP地址时默认ansible_user指定 2019-06-26 12:56:38 +00:00
Yousong Zhou
448365806c lbagent: 启动时全量取API数据
此变更之后,data/目录内容更多服务于调试作用
2019-06-26 11:58:00 +00:00
ioito
566a6f490e wait ready or running after change vm config 2019-06-26 18:19:04 +08:00
wanyaoqi
73c14b9e22 optimize sync status with backup 2019-06-26 13:04:33 +08:00
wanyaoqi
fa370a7c6d - live migrate filter cpu model
- fix list export keys
2019-06-26 13:01:11 +08:00
yunion-ci-robot
5ad9458736 Merge pull request #1174 from wanyaoqi/feature/wyq/libvirt-online-import
import running libvirt guests
2019-06-26 08:33:49 +08:00
yunion-ci-robot
1574600224 Merge pull request #1348 from wanyaoqi/feature/wyq/add-pvpanic-device
feature: pvpanic, clean guests, gpu bugfix, baremetal bugfix
2019-06-26 08:32:49 +08:00
yunion-ci-robot
dac17e0f25 Merge pull request #1376 from tb365/bugfix/tb-ucloud-fix-0625
ucloud create instance & huawei change instance config bugfix
2019-06-26 08:31:50 +08:00
yunion-ci-robot
96a34b320f Merge pull request #1387 from swordqiu/hotfix/qj-init-system-project-quotas
fix: initialize system project quota
2019-06-26 08:23:50 +08:00
yunion-ci-robot
fb43b37b67 Merge pull request #1385 from swordqiu/hotfix/qj-user-group-misc-bugfixes
fix: 1. role_assignment missing groups 2. project rpcs returns errors
2019-06-26 08:21:49 +08:00
Qiu Jian
2c5a749bee fix: initialize system project quota 2019-06-26 00:43:49 +08:00
Qiu Jian
006d4e251b fix: 1. role_assignment missing groups 2. project rpcs returns errors 2019-06-26 00:23:44 +08:00
yunion-ci-robot
fd61f6ba92 Merge pull request #1357 from wanyaoqi/bugfix/wyq/set-default-http-client-timeout
set default http client timeout
2019-06-25 23:21:50 +08:00
yunion-ci-robot
5ec3bddb3e Merge pull request #1380 from ioito/hotfix/qx-clear-host-scheduler-cache
clear scheduler cache afeter change host cmtbound
2019-06-25 23:15:54 +08:00
屈轩
d48eebb466 Merge branch 'master' into hotfix/qx-clear-host-scheduler-cache 2019-06-25 21:42:19 +08:00
yunion-ci-robot
deb86402d3 Merge pull request #1378 from ioito/hotfix/qx-scheduler-image-check
避免镜像第一次上传时未做缓存
2019-06-25 21:36:49 +08:00
ioito
5c3155a411 clear scheduler cache afeter change host cmtbound 2019-06-25 20:58:21 +08:00
ioito
f94460511d 避免镜像第一次上传时未做缓存 2019-06-25 20:48:39 +08:00
TangBin
fd4b5dadd5 ucloud create instance & huawei change instance config bugfix 2019-06-25 19:08:45 +08:00
yunion-ci-robot
3c755f5c4a Merge pull request #1372 from yousong/bugfix/yousong-go-mod
build: 改正版本信息注入
2019-06-25 15:21:49 +08:00
Yousong Zhou
2ff61702fc build: 改正版本信息注入 2019-06-25 07:13:28 +00:00
yunion-ci-robot
6692682e86 Merge pull request #1359 from ioito/hotfix/qx-zstack-secgroup-fix
替换有远端安全组的规则,避免网络不通
2019-06-25 11:47:49 +08:00
yunion-ci-robot
4e56e4ec6e Merge pull request #1367 from yousong/bugfix/yousong-lb
Bugfix/yousong lb
2019-06-25 11:45:51 +08:00
yunion-ci-robot
430189232a Merge pull request #1364 from wanyaoqi/bugfix/wyq/make-dhcp-port-optional
make dhcp server port optional
2019-06-25 10:35:50 +08:00
yunion-ci-robot
a0d78caac2 Merge pull request #1361 from swordqiu/hotfix/qj-cloud-account-sync-status-inaccurate
fix: cloud account syncstatus is not accurate
2019-06-25 08:43:50 +08:00
Yousong Zhou
c0b080ab66 validators: 默认将pending deleted的模型排除在外 2019-06-24 14:29:01 +00:00
Yousong Zhou
7bab7724a9 db: 添加IPendingDeletable类型 2019-06-24 14:25:26 +00:00
Yousong Zhou
51eb607717 lbagents: 改正vrrp模板 2019-06-24 14:25:26 +00:00
Qiu Jian
8cceda8dcf fix: cloud account syncstatus is not accurate 2019-06-24 22:18:05 +08:00
yunion-ci-robot
297a309ef0 Merge pull request #1366 from yousong/bugfix/yousong-go-mod
build: apply "-mod vendor" also to test target
2019-06-24 21:41:49 +08:00
Yousong Zhou
ff2ccbed6c build: apply "-mod vendor" also to test target 2019-06-24 13:27:16 +00:00
wanyaoqi
7d19d07b09 Merge branch 'master' into feature/wyq/libvirt-online-import 2019-06-24 21:09:46 +08:00
wanyaoqi
d399ca8d71 make dhcp server port optional 2019-06-24 20:56:07 +08:00
yunion-ci-robot
09d1af78ca Merge pull request #1358 from yousong/bugfix/yousong-go-mod
build: fix "make mod" target
2019-06-24 20:54:50 +08:00
Yousong Zhou
a54d9bea6d build: fix $(shell go ..) call 2019-06-24 12:52:05 +00:00
ioito
b09f2528b4 替换有远端安全组的规则,避免网络不通 2019-06-24 17:36:15 +08:00
wanyaoqi
34bce15cb4 import running libvirt guests 2019-06-24 16:52:20 +08:00
yunion-ci-robot
7e45338afb Merge pull request #915 from yousong/feature/yousong-go-mod
switch to go modules
2019-06-24 16:17:50 +08:00
Yousong Zhou
8c88fbc9d9 treewide: gofmt with go1.12.6 2019-06-24 07:54:22 +00:00
Yousong Zhou
6a569ffb15 build: switch to using go mod 2019-06-24 07:54:15 +00:00
wanyaoqi
dc8dec6d04 set default http client timeout 2019-06-24 15:35:45 +08:00
Yousong Zhou
3966355d5e vendor: using go modules
This change was made with the following commands

        go mod init
        go mod tidy
        go mod vendor -v

Revision of github.com/op/go-logging changed because
github.com/anacrolix/torrent requires the current version in its go.mod

        # github.com/op/go-logging
        yunion.io/x/onecloud/cmd/torrent
        github.com/anacrolix/torrent
        github.com/elgatito/upnp
        github.com/op/go-logging

Content of google.golang.org/grpc changed and it's indeed the case after
checking with the upstream repo.  It's very likely that the old content
is wrong.

Some packages like golang.org/x/sys/unix are added because they are
indeeded needed

Some packages are removed as a whole because they are needed anymore
2019-06-24 07:28:24 +00:00
yunion-ci-robot
a59bec0832 Merge pull request #1336 from wanyaoqi/bugfix/wyq/fix-dhcp-reply
host: dhcp use raw socket
2019-06-24 15:16:49 +08:00
wanyaoqi
a3f0d2b1f8 - add pvpanic device
- fix import baremetal server status admin
- fix gpu params position, fix notify event
- delete unknown guests
2019-06-24 15:10:17 +08:00
yunion-ci-robot
58ad36a808 Merge pull request #1350 from swordqiu/hotfix/qj-sync-delete-projects-and-ldap
fix: sync delete projects and related quota&usage data
2019-06-24 12:42:50 +08:00
yunion-ci-robot
11e52c0da0 Merge pull request #1328 from tb365/feature/tb-onecloud-skus-data-init
Feature/tb onecloud skus data init
2019-06-24 12:41:50 +08:00
yunion-ci-robot
2c6f5aa92c Merge pull request #1352 from ioito/hotfix/qx-network-sync
avoid duplicate network name
2019-06-24 12:31:50 +08:00
Qiu Jian
183d94f7a4 fix: update gin import 2019-06-24 12:29:24 +08:00
ioito
a6c0979b2e avoid duplicate network name 2019-06-24 11:21:26 +08:00
Qiu Jian
f219b96b13 update vendor 2019-06-24 02:54:28 +00:00
Qiu Jian
1dbb998844 fix: 1. sync delete projects and related quota&usage data
2. sync delete user/group/domain for ldap driver
3. ModelManager add OrderByExtraFields
2019-06-22 17:05:27 +08:00
yunion-ci-robot
c761777a15 Merge pull request #1206 from wanyaoqi/feature/wyq/host-gpfs
feature: golang host gpfs
2019-06-22 12:58:48 +08:00
wanyaoqi
46115285cd fix attach storages 2019-06-22 12:49:54 +08:00
wanyaoqi
c4a1dd7782 gpfs
- support gpfs
- fix cache non lvm
2019-06-22 12:48:57 +08:00
yunion-ci-robot
d2487f91b9 Merge pull request #1298 from Zexi/feature/bm-ipmi-user-password
baremetal: change ipmi user password
2019-06-22 12:43:48 +08:00
Jian Qiu
978471a177 Merge branch 'master' into feature/bm-ipmi-user-password 2019-06-22 12:32:40 +08:00
yunion-ci-robot
5e0c50ba18 Merge pull request #1339 from ioito/hotfix/qx-zstack-mini-disk-size
fix zstack mini disk size
2019-06-22 12:31:49 +08:00
Jian Qiu
c892d72887 Merge branch 'master' into hotfix/qx-zstack-mini-disk-size 2019-06-22 12:27:54 +08:00
Jian Qiu
da96010bdb Merge branch 'master' into feature/bm-ipmi-user-password 2019-06-22 12:26:33 +08:00
yunion-ci-robot
6d197bfda4 Merge pull request #1271 from yousong/feature/yousong-lbagent-deploy
lbagents: 增加deploy支持
2019-06-22 12:19:49 +08:00
yunion-ci-robot
c332634b14 Merge pull request #1287 from yousong/bugfix/yousong-bool-true
treewide: 将default:"true"的bool字段改为tristate.TriState
2019-06-22 12:17:49 +08:00
Zexi
fcf600f6b2 scheduler: add schedule filter interface to guestdriver 2019-06-21 17:09:44 +08:00
Zexi Li
afe0d15e24 Merge pull request #1341 from Zexi/hotfix/scheduler-score
scheduler: fix prefer avoid score
2019-06-21 14:05:12 +08:00
Zexi
d17fbaf02c scheduler: fix prefer avoid score 2019-06-21 13:57:13 +08:00
wanyaoqi
7371f1ca55 dhcp use raw socket
vendor update
update golang/x/sys
2019-06-21 13:42:37 +08:00
ioito
b89a59951f fix zstack mini disk size 2019-06-21 11:22:36 +08:00
Jian Qiu
92b90cdbe0 fix: protect projects with resources in any services (#1337) 2019-06-21 09:09:27 +08:00
yunion-ci-robot
db4aa765f3 Merge pull request #1334 from Zexi/hotfix/scheduler-image-fileter
scheduler: add image zone filter
2019-06-21 09:08:49 +08:00
Zexi
4aa4bafd7b scheduler: add image zone filter 2019-06-20 21:36:38 +08:00
yunion-ci-robot
237d245a0d Merge pull request #1330 from wanyaoqi/bugfix/wyq/remove-default-listen-address
baremetal: remove default listen address
2019-06-20 21:25:50 +08:00
Yousong Zhou
bb1fd0bc59 treewide: 将default:"true"的bool字段改为tristate.TriState
使用以下命令进行字段类型更改

	ag 'bool .*`.*default:"true"' pkg \
		| grep models \
		| cut -f1 -d: \
		| xargs sed -i -r -e 's/bool (.*)default:"true"/tristate.TriState \1default:"true"/'
2019-06-20 11:03:38 +00:00
Yousong Zhou
b27a2c4180 vendor: 引入tristate.NewFromBool() 2019-06-20 11:03:37 +00:00
yunion-ci-robot
8d03110316 Merge pull request #1331 from yousong/bugfix/yousong-remove-dup-genuserdata
guestdrivers: 移除多余代码
2019-06-20 18:18:48 +08:00
Yousong Zhou
afce287ad3 lbagents: 增加deploy支持 2019-06-20 09:57:45 +00:00
Yousong Zhou
00b88ed339 lb: lbbackendgroups: 去掉多余lbbg.DoPendingDelete() 2019-06-20 09:57:45 +00:00
Yousong Zhou
5f04382f1c guestdrivers: remove commented out dup code 2019-06-20 09:56:01 +00:00
Yousong Zhou
6e05783022 guestdrivers: 移除多余的generateUserData()函数
在`pkg/cloudproviders/instance.go`中已经有相同的代码
2019-06-20 09:56:01 +00:00
yunion-ci-robot
93b95dd9d0 Merge pull request #1223 from yousong/bugfix/yousong-lbb-stales
lb: backends: 清理后端虚机已删除的backend
2019-06-20 17:50:50 +08:00
yunion-ci-robot
0752221098 Merge pull request #1210 from yousong/feature/yousong-ansibleserver
ansibleserver: 添加文件支持
2019-06-20 17:49:48 +08:00
Yousong Zhou
36954218d5 mcclient: models: 添加ansibleplaybooks 2019-06-20 09:03:01 +00:00
Yousong Zhou
68cf6698a7 mcclient: ansibleplaybooks: 使用apis.XxxInput 2019-06-20 09:03:01 +00:00
Yousong Zhou
85d141847f apis: add ansible 2019-06-20 09:03:01 +00:00
Yousong Zhou
2d5b52810f mcclient: options: ansibleplaybooks: 支持指定文件 2019-06-20 09:03:01 +00:00
Yousong Zhou
5ec150e7a9 pkg: ansible: 添加文件内容支持 2019-06-20 09:03:01 +00:00
Yousong Zhou
68ed59eda0 ansibleserver: 在pb执行失败时打出警告日志 2019-06-20 09:03:01 +00:00
yunion-ci-robot
624df324e2 Merge pull request #1322 from ioito/hotfix/qx-image-zone
避免产生storagecacheimage脏数据
2019-06-20 15:43:48 +08:00
yunion-ci-robot
27dc75208e Merge pull request #1326 from ioito/hotfix/qx-zstack-secgroup
fix delete rules failure
2019-06-20 15:39:48 +08:00
wanyaoqi
7d0fafa02f remove default listen address 2019-06-20 11:47:28 +08:00
TangBin
d448079557 init skus data filter by region 2019-06-20 11:32:43 +08:00
ioito
adedad8e66 fix delete rules failure 2019-06-20 11:02:50 +08:00
yunion-ci-robot
7010a759b3 Merge pull request #1324 from swordqiu/hotfix/qj-user-project-list-404
fix: 1. user-project-list 404 2. check quotas of all projects when set
2019-06-20 09:31:49 +08:00
tangbin
00f78e2b72 add init local sku data 2019-06-20 09:05:01 +08:00
Qiu Jian
013a439e6d fix: 1. user-project-list 404 2. check quotas of all projects when set
domain quota 3. host.cpu shows negative number
2019-06-20 00:03:17 +08:00
ioito
b8396ad2bf 避免产生storagecacheimage脏数据 2019-06-19 21:18:29 +08:00
yunion-ci-robot
dff9c784d5 Merge pull request #1316 from wanyaoqi/wyq/bugfix/storage-attach
fix storage attach host sync status
2019-06-19 20:17:52 +08:00
wanyaoqi
a0d51a61f4 fix storage attach host sync status 2019-06-19 19:56:09 +08:00
yunion-ci-robot
b4b35b4ee6 Merge pull request #1305 from ioito/hotfix/qx-qcloud-eip-disassociate
dissocate and release eip optimized
2019-06-19 18:06:51 +08:00
yunion-ci-robot
5d619decc8 Merge pull request #1273 from ioito/hotfix/qx-azure-geographic
add azure region geographicinfo
2019-06-19 18:02:49 +08:00
yunion-ci-robot
733dc17b7d Merge pull request #1314 from ioito/hotfix/qx-zstack-account
fix zstack create account error
2019-06-19 17:57:49 +08:00
ioito
06cbdd9345 fix zstack create account error 2019-06-19 17:52:29 +08:00
yunion-ci-robot
17c1608d6c Merge pull request #1265 from ioito/hotfix/qx-wire-sync
avoid openstack zone externalid equals
2019-06-19 17:45:53 +08:00
yunion-ci-robot
b25dc4aaee Merge pull request #1269 from ioito/hotfix/qx-zstack-secgroup
set port when protocol is not any
2019-06-19 17:41:49 +08:00
yunion-ci-robot
8c1140503d Merge pull request #1301 from ioito/hotfix/qx-zstack-update-password
fix update zstack account password error
2019-06-19 17:39:50 +08:00
ioito
90176d46fc fix update zstack account password error 2019-06-19 17:38:18 +08:00
yunion-ci-robot
b08aa5ddd4 Merge pull request #1309 from ioito/hotfix/qx-zstack-image-upload
fix invalid memory address or nil pointer error
2019-06-19 17:35:49 +08:00
ioito
ba20c5fb7f add azure region geographicinfo 2019-06-19 17:17:39 +08:00
ioito
3423557ac1 fix invalid memory address or nil pointer error 2019-06-19 16:51:36 +08:00
ioito
90af629eb1 dissocate and release eip optimized\ 2019-06-19 16:25:11 +08:00
yunion-ci-robot
c1b5f1f0c8 Merge pull request #1303 from Zexi/feature/capability-public-network-count
region: capabilities add PublicNetworkCount
2019-06-19 15:34:48 +08:00
Zexi
f8f5b7470d region: capabilities add PublicNetworkCount 2019-06-19 15:13:48 +08:00
Zexi
fbbe3c3aab baremetal: change ipmi user password 2019-06-19 11:04:35 +08:00
Jian Qiu
1d7fd20df4 misc bugfix (#1296) 2019-06-19 02:45:52 +08:00
Zexi Li
373b9ea71b Merge pull request #1294 from swordqiu/hotfix/qj-user-show-system-user-not-found
fix: user-show system user not found
2019-06-18 23:58:25 +08:00
Zexi Li
b81ea6369d Merge pull request #1292 from wanyaoqi/bugfix/wyq/unshare-porjects-on-change-owner
unshare projects on change owner
2019-06-18 23:57:33 +08:00
Qiu Jian
86e9691f04 fix: user-show system user not found 2019-06-18 23:37:17 +08:00
wanyaoqi
1fc4995aa3 unshare projects on change owner 2019-06-18 23:24:03 +08:00
Jian Qiu
b0605113da fix: misc bugfxi for quotas (#1290) 2019-06-18 22:51:38 +08:00
yunion-ci-robot
1111691561 Merge pull request #1288 from Zexi/bugfix/scheduler-share-network-typo
scheduler: fix shared projects network filtered
2019-06-18 22:28:04 +08:00
Zexi
dc6a9b5237 scheduler: fix shared projects network filtered 2019-06-18 22:14:44 +08:00
yunion-ci-robot
a40e8dcccb Merge pull request #1282 from ioito/bugfix/qx-zstack-storagecache
fix zstack storagecache error
2019-06-18 20:21:52 +08:00
yunion-ci-robot
4bb3921d79 Merge pull request #1255 from wanyaoqi/bugfix/wyq/fix-glance-copy-from-url
fix glance copy from url set checksum
2019-06-18 18:43:52 +08:00
yunion-ci-robot
78f27b6693 Merge pull request #1284 from swordqiu/hotfix/qj-usage-include-lb-group
fix: add lb and group ip address usage
2019-06-18 18:29:52 +08:00
Qiu Jian
de68df439d fix: add lb and group ip address usage 2019-06-18 18:14:41 +08:00
ioito
f67becbdaf fix zstack storagecache error 2019-06-18 17:55:56 +08:00
yunion-ci-robot
f855f166f8 Merge pull request #1278 from wanyaoqi/feature/wyq/filter-storage-not-attached
filter storage not attached
2019-06-18 17:22:55 +08:00
wanyaoqi
d10645a664 filter storage not attached 2019-06-18 16:54:44 +08:00
yunion-ci-robot
d1e6b320e2 Merge pull request #1257 from swordqiu/feature/qj-quota-list
Feature/qj quota list
2019-06-18 12:12:52 +08:00
yunion-ci-robot
bd42b054bc Merge pull request #1263 from swordqiu/hotfix/qj-keystone-credential-unique-name
fix: generate unique name for user totp credential
2019-06-18 11:12:52 +08:00
yunion-ci-robot
3458dbe561 Merge pull request #1240 from ioito/hotfix/qx-storage-cache
choice valid storage for storagecache
2019-06-18 11:06:52 +08:00
Qiu Jian
2dd12cc14f fix: misc 2019-06-18 10:32:43 +08:00
Qiu Jian
045b7d933d fix: images quota support 2019-06-18 10:32:41 +08:00
Qiu Jian
28638fcd7e feature: recode quota, cache quota usage, allow list all project/domain
quotas
2019-06-18 10:32:01 +08:00
ioito
31c82c3b59 set port when protocol is not any 2019-06-17 20:55:25 +08:00
ioito
9f722060e9 avoid openstack zone externalid equals 2019-06-17 19:30:45 +08:00
Qiu Jian
fb40b42b61 fix: quota-list includes image quotas 2019-06-17 18:42:09 +08:00
Qiu Jian
1920d6ced6 fix: quota_tbl not initialized 2019-06-17 18:42:08 +08:00
Qiu Jian
1c53271da5 fix: images quota support 2019-06-17 18:42:07 +08:00
Qiu Jian
de437f7a03 feature: recode quota, cache quota usage, allow list all project/domain
quotas
2019-06-17 18:42:07 +08:00
Qiu Jian
06017461f1 fix: images quota support 2019-06-17 18:40:14 +08:00
Qiu Jian
59cd60db6c feature: recode quota, cache quota usage, allow list all project/domain
quotas
2019-06-17 18:40:13 +08:00
yunion-ci-robot
5d7f7bc699 Merge pull request #1073 from wanyaoqi/feature/wyq/golang-host-register-baremetal
baremetal: baremetal register
2019-06-17 18:19:53 +08:00
yunion-ci-robot
c2f1fc361e Merge pull request #1261 from swordqiu/hotfix/qj-update-vendor-20190617
fix: update vendor 20190617
2019-06-17 16:43:54 +08:00
Qiu Jian
4e68c712ec fix: generate unique name for user totp credential 2019-06-17 16:43:25 +08:00
Qiu Jian
1539d864c0 fix: update vendor 20190617 2019-06-17 08:27:54 +00:00
yunion-ci-robot
4b3eadfcb5 Merge pull request #1256 from wanyaoqi/bugfix/wyq/fix-syncstatus
fix guest sync status min interval
2019-06-17 15:50:52 +08:00
wanyaoqi
146d736e84 fix guest sync status interval 2019-06-17 15:36:49 +08:00
wanyaoqi
a2438c6418 fix glance copy from url set checksum 2019-06-17 12:51:20 +08:00
Yousong Zhou
dd49b2ef9e pkg: atexit: 增加自定义类型prio 2019-06-17 03:44:54 +00:00
Yousong Zhou
ad613d5110 lb: backends: 清理后端虚机已删除的backend 2019-06-17 03:44:54 +00:00
Yousong Zhou
aff3d10036 pkg: atexit: 增加PRIO_LOG_OTHER 2019-06-17 03:44:54 +00:00
Yousong Zhou
b0399cc537 lb: backends: 仅针对guest类型后端查询vpcId 2019-06-17 03:44:54 +00:00
Zexi Li
07905792c0 Merge pull request #1221 from Zexi/feature/k8s-yaml
climc: k8s yaml edit
2019-06-17 10:04:25 +08:00
yunion-ci-robot
42dbb50178 Merge pull request #1248 from wanyaoqi/bugfix/wyq/fix-shared-projects-3
fix share resource left join
2019-06-16 23:32:53 +08:00
wanyaoqi
921f032fe1 fix share resource left join 2019-06-16 23:22:44 +08:00
yunion-ci-robot
12bf445042 Merge pull request #1246 from swordqiu/hotfix/qj-network-init-is-public
fix: network is_public init value set to true for domain scope
2019-06-16 22:20:54 +08:00
Qiu Jian
96e099d0cc fix: network is_public init value set to true for domain scope 2019-06-16 22:14:28 +08:00
yunion-ci-robot
1b841d3366 Merge pull request #1244 from wanyaoqi/bugfix/wyq/fix-shared-projects-2
fix clean sched cache
2019-06-16 21:57:53 +08:00
wanyaoqi
a255a780fe fix clean sched cache 2019-06-16 21:53:22 +08:00
yunion-ci-robot
285119988d Merge pull request #1220 from yousong/bugfix/yousong-accounts-log
cloudaccounts: 检查删除条件时避免不必要log
2019-06-16 21:07:52 +08:00
yunion-ci-robot
346b97e236 Merge pull request #1234 from wanyaoqi/bugfix/wyq/fix-shared-projects
fix shared projects
2019-06-16 21:06:53 +08:00
yunion-ci-robot
87a7738e62 Merge pull request #1238 from ioito/hotfix/qx-secgrou-optimized
secgroup-list remove rules
2019-06-16 20:57:53 +08:00
wanyaoqi
6ac7699b46 fix shared projects 2019-06-16 20:57:04 +08:00
yunion-ci-robot
79c62b4b36 Merge pull request #1241 from ioito/hotfix/qx-guest-order-by-disk
fix guest-order-by-disk error
2019-06-16 20:55:53 +08:00
ioito
2adcae3f08 fix guest-order-by-disk error 2019-06-16 19:32:45 +08:00
ioito
5e6a7f856f choice valid storage for storagecache 2019-06-16 19:01:30 +08:00
ioito
77716076d5 secgroup-list remove rules 2019-06-16 18:48:42 +08:00
yunion-ci-robot
7481073a35 Merge pull request #1236 from swordqiu/hotfix/qj-update-vendor-201906016-master
fix: update vendor
2019-06-16 18:09:52 +08:00
Qiu Jian
83b3d07be3 fix: update vendor 2019-06-16 18:04:22 +08:00
yunion-ci-robot
610c8bb9d0 Merge pull request #1228 from ioito/hotfix/qx-zstack-optimized
fix zstack cdrom error
2019-06-16 17:30:51 +08:00
yunion-ci-robot
27ee07fa52 Merge pull request #1230 from ioito/hotfix/qx-host-cache-image
fix cache image failed error
2019-06-16 17:28:52 +08:00
yunion-ci-robot
e1cdfab0df Merge pull request #1232 from swordqiu/hotfix/qj-no-need-specify-scope-when-get-with-params
fix: no need to specify query scope when get with parameters
2019-06-16 15:08:51 +08:00
Qiu Jian
04973bdfc7 fix: no need to specify query scope when get with parameters 2019-06-16 15:03:58 +08:00
ioito
9a583c8323 fix zstack cdrome error 2019-06-16 14:46:43 +08:00
yunion-ci-robot
84b41aadf3 Merge pull request #1224 from wanyaoqi/feature/wyq/shared-project
feature: shared project resource
2019-06-16 14:30:53 +08:00
ioito
1f654d9195 fix cache image failed error 2019-06-16 14:25:03 +08:00
wanyaoqi
4523700054 shared project resource 2019-06-16 12:58:18 +08:00
yunion-ci-robot
97a6e3322c Merge pull request #1196 from ioito/hotfix/qx-cloudprovider-health-status
fix balance permission error
2019-06-15 21:19:52 +08:00
yunion-ci-robot
ebf9e383e0 Merge pull request #1211 from ioito/hotfix/qx-zstack-error-detail
show error with context
2019-06-15 21:18:52 +08:00
Zexi
4cc28d190c climc: k8s yaml edit 2019-06-15 18:16:56 +08:00
Yousong Zhou
ac4a4b87c8 cloudaccounts: 检查删除条件时避免不必要log
应由调用方决定是否需要log
2019-06-15 09:40:35 +00:00
yunion-ci-robot
71b3b57912 Merge pull request #1218 from Zexi/hotfix/sched-forcast-net-domain
scheduler: fix network filter specify is_public check
2019-06-15 17:26:52 +08:00
Zexi
a323db0623 scheduler: fix network filter specify is_public check 2019-06-15 17:23:33 +08:00
yunion-ci-robot
4712250390 Merge pull request #1204 from swordqiu/hotfix/qj-fail-list-joint-virtual-resource
fix: fail to list joint virtaul resource of other domain
2019-06-15 16:56:52 +08:00
yunion-ci-robot
3e1abc4d32 Merge pull request #1202 from swordqiu/hotfix/qj-region-add-domain-filter
fix: cloud-region/zone add domain&scope filter
2019-06-15 16:55:54 +08:00
Zexi Li
1b8b1db31e Merge pull request #1216 from Zexi/hotfix/sched-forcast-net-domain
scheduler: set input networks domain if empty
2019-06-15 15:35:36 +08:00
Zexi
5813b924fa scheduler: set input networks domain if empty 2019-06-15 15:28:51 +08:00
ioito
ccf220b2a3 show error with context 2019-06-15 13:38:01 +08:00
yunion-ci-robot
66e70f3a87 Merge pull request #1184 from tb365/bugfix/tb-ucloud-fix-0613
qcloud elb create bugfix & ucloud bugfix
2019-06-15 10:39:51 +08:00
yunion-ci-robot
adb5282529 Merge pull request #1201 from yousong/bugfix/yousong-non-essential-log
cloudcommon: 移除非必要日志
2019-06-15 10:16:52 +08:00
yunion-ci-robot
f0b02feefa Merge pull request #1197 from wanyaoqi/bugfix/wyq/minor-fix0614
remove qemu kbd argument
2019-06-14 20:35:52 +08:00
Qiu Jian
1f8b647ccd fix: fail to list joint virtaul resource of other domain 2019-06-14 20:22:37 +08:00
Qiu Jian
af47a803a6 fix: cloud-region/zone add domain&scope filter 2019-06-14 18:14:48 +08:00
Yousong Zhou
4c68b3fb23 cloudcommon: 移除非必要日志 2019-06-14 08:57:41 +00:00
yunion-ci-robot
8d05ada88a Merge pull request #1199 from ioito/hotfix/qx-disk-create-wait-ready
fix not detach disk error
2019-06-14 16:09:52 +08:00
ioito
93dfdf30c4 create disk and wait disk status is ready 2019-06-14 16:01:09 +08:00
ioito
0e25416215 fix balance permission error 2019-06-14 13:38:13 +08:00
yunion-ci-robot
cb056ccf02 Merge pull request #1194 from swordqiu/hotfix/qj-sync-public-scope
fix: sync network publicScope
2019-06-14 12:03:52 +08:00
yunion-ci-robot
e8440bf562 Merge pull request #1192 from Zexi/feature/sched-select-sort-nets
scheduler: network domain scope filter
2019-06-14 12:01:51 +08:00
Qiu Jian
7450dd2496 fix: sync network publicScope 2019-06-14 11:41:20 +08:00
wanyaoqi
8aa9068e2a remove qemu kbd argument 2019-06-14 11:12:43 +08:00
Zexi
0a511523d6 scheduler: network domain scope filter 2019-06-14 10:27:00 +08:00
TangBin
3e911934fa qcloud elb create bugfix & ucloud bugfix 2019-06-14 10:25:17 +08:00
yunion-ci-robot
e2198b5641 Merge pull request #1189 from Zexi/feature/sched-select-sort-nets
scheduler: select networks by project domain order
2019-06-13 21:54:51 +08:00
Zexi
6d3345b7b2 scheduler: select networks by project domain order 2019-06-13 21:50:45 +08:00
yunion-ci-robot
8daa39e63a Merge pull request #1187 from swordqiu/hotfix/qj-change-domain-project-domain
fix: change domain to project_domain
2019-06-13 21:39:51 +08:00
wanyaoqi
87c1f82a34 register baremetal 2019-06-13 21:23:47 +08:00
Qiu Jian
0957e70a7e fix: change domain to project_domain 2019-06-13 21:01:40 +08:00
yunion-ci-robot
65ff292280 Merge pull request #1180 from ioito/bugfix/qx-typo-fix
fix typo code
2019-06-13 20:40:52 +08:00
yunion-ci-robot
c968285f6f Merge pull request #1182 from swordqiu/hotfix/qj-role-list-missing-shared-roles
fix: role-list missing shared roles
2019-06-13 20:39:52 +08:00
ioito
c3e886a5f0 fix typo code 2019-06-13 19:43:16 +08:00
Qiu Jian
785348c098 fix: role-list missing shared roles 2019-06-13 19:37:58 +08:00
yunion-ci-robot
d51f52ff7f Merge pull request #1151 from tb365/feature/tb-swagger-docs
Feature/tb swagger docs
2019-06-13 16:57:51 +08:00
yunion-ci-robot
cca7c031c1 Merge pull request #1147 from yousong/bugfix/yousong-ansibleserver
ansibleserver: 改进
2019-06-13 16:22:52 +08:00
yunion-ci-robot
35fe42c948 Merge pull request #1086 from ioito/hotfix/qx-change-config
创建完磁盘后attach guest
2019-06-13 16:21:53 +08:00
yunion-ci-robot
4948c4c0f7 Merge pull request #1178 from Zexi/hotfix/vs-resource-project-domain
virtual resource details rename domain to project_domain
2019-06-13 16:18:51 +08:00
Zexi
2a00f59122 virtual resource details rename domain to project_domain 2019-06-13 16:06:28 +08:00
yunion-ci-robot
77164e1050 Merge pull request #1176 from Zexi/hotfix/region-fetch-by-name
region: fix pending_deleted virtual resource filter by name
2019-06-13 15:24:51 +08:00
Zexi
261e4885c9 region: fix pending_deleted virtual resource filter by name 2019-06-13 15:17:04 +08:00
yunion-ci-robot
2b64e498aa Merge pull request #1168 from yousong/bugfix/yousong-webconsole-perm
webconsole: 改正文件权限
2019-06-13 14:22:51 +08:00
yunion-ci-robot
c9fbed4fc9 Merge pull request #1172 from swordqiu/hotfix/qj-bugfix-20190612
fix: project add user/group rpc paramter error
2019-06-13 14:12:53 +08:00
Qiu Jian
f414d4090a fix: 1. project add user/group rpc paramter error 2. secgrouprule 403 3. 2019-06-13 14:08:59 +08:00
yunion-ci-robot
b5fbe61d0b Merge pull request #1175 from ioito/hotfix/qx-nat-fix
fix compile error
2019-06-13 12:26:51 +08:00
ioito
32b7fb1082 fix compile error 2019-06-13 12:01:05 +08:00
yunion-ci-robot
f4dbe64c1c Merge pull request #1020 from ioito/feature/qx-natgateway
支持natgateway同步
2019-06-12 21:02:50 +08:00
Yousong Zhou
7b6e113874 webconsole: 改正文件权限
- 密钥不需要执行权限
 - 先改权限再写内容
2019-06-12 10:21:17 +00:00
yunion-ci-robot
0bd4d8f14b Merge pull request #1164 from ioito/hotfix/qx-vpc-action-log
添加vpc操作日志
2019-06-12 18:01:51 +08:00
ioito
8d82920dc2 添加vpc操作日志 2019-06-12 16:54:02 +08:00
Yousong Zhou
405892d674 build: 添加ansibleserver 2019-06-12 08:16:56 +00:00
Yousong Zhou
77d7d3a46b ansibleserver: 使用API查sshkeypairs 2019-06-12 08:16:56 +00:00
Yousong Zhou
e65f5e802f mcclient: models: 添加SshKeypair 2019-06-12 08:16:56 +00:00
Yousong Zhou
5ea0d06d4a mcclient: sshkeypairs: 允许参数为nil 2019-06-12 08:16:56 +00:00
Yousong Zhou
7d33702294 ansibleserver: 避免持锁不释放的情况 2019-06-12 08:16:55 +00:00
Yousong Zhou
76d1ddf33b ansibleserver: 创建opslog表 2019-06-12 08:16:55 +00:00
TangBin
99bcbfb735 add elb acl&certificate api & add swagger common components 2019-06-12 15:28:55 +08:00
yunion-ci-robot
5ef6aa47be Merge pull request #1120 from ioito/hotfix/qx-network-clear-scheduler-cache
network创建或删除后刷新调度缓存
2019-06-12 15:25:52 +08:00
yunion-ci-robot
d8d66ff172 Merge pull request #1158 from wanyaoqi/bugfix/wyq/fix-storage-attach
bugfix :fix attachable storage
2019-06-12 14:42:50 +08:00
wanyaoqi
32302b262d fix attach able storage 2019-06-12 13:52:00 +08:00
yunion-ci-robot
cb4b789d14 Merge pull request #1152 from Zexi/hotfix/sched-candidate-public
scheduler: support sharable candidate
2019-06-12 11:50:52 +08:00
ioito
0d31819208 支持natgateway同步 2019-06-12 11:49:19 +08:00
Zexi
4257263097 scheduler: support sharable candidate 2019-06-12 11:33:01 +08:00
yunion-ci-robot
a2c6750aba Merge pull request #1146 from swordqiu/hotfix/qj-privileges-bugfix-20190611
fix: 1. capability privilege interface bugfix 2. cloud-provider
2019-06-12 09:42:51 +08:00
yunion-ci-robot
274ceea81a Merge pull request #1149 from zhasm/feature/rex-add-ansibleserver-build-vars
+ansibleserver
2019-06-12 09:32:50 +08:00
Zhang Dongliang
6a8ed60402 +ansibleserver 2019-06-12 09:25:49 +08:00
yunion-ci-robot
51e734000a Merge pull request #1135 from wanyaoqi/bugfix/wyq/fix-disk-delete
bugfix: fix disk delete task base
2019-06-12 09:11:50 +08:00
yunion-ci-robot
802eb53ee2 Merge pull request #1116 from ioito/hotfix/qx-qcloud-fix
fix qcloud disk create name error
2019-06-12 09:03:51 +08:00
Qiu Jian
a7bd209416 fix: 1. capability privilege interface bugfix 2. cloud-provider
privilege issue
2019-06-12 08:58:42 +08:00
tangbin
41a1f0a80f fix $ref 2019-06-12 00:08:12 +08:00
tangbin
76a2fcecf7 fix $ref 2019-06-11 23:51:24 +08:00
yunion-ci-robot
ef63ef634c Merge pull request #1144 from Zexi/hotfix/disk-create-domain-id
fix: region disk create domain id
2019-06-11 23:11:53 +08:00
yunion-ci-robot
29f884a2a5 Merge pull request #1130 from yousong/bugfix/yousong-net-merge
networks: merge时更新lbnetworks.network_id
2019-06-11 23:04:53 +08:00
Zexi
550b3de197 fix: region disk create domain id 2019-06-11 22:58:15 +08:00
yunion-ci-robot
c47f824ee7 Merge pull request #1142 from Zexi/hotfix/scheduler-misc
scheduler: misc bugfix
2019-06-11 20:32:54 +08:00
Zexi
5e108ae181 scheduler: misc bugfix
- wait region db sync
- disk schedule filter by domain
- normal user forecast 403 forbidden
2019-06-11 20:30:45 +08:00
Yousong Zhou
c327d6a757 networks: merge与split时将lbnetwork考虑进去
- 共用代码,并放到独立的文件中
 - 尽力更新,中途出错不中断,最后一起报出
2019-06-11 06:06:24 +00:00
wanyaoqi
292690af30 fix disk delete task base 2019-06-11 10:59:04 +08:00
yunion-ci-robot
c119529893 Merge pull request #1131 from swordqiu/hotfix/qj-3level-privileges-bugfix-20190610
fix: 1. zone/region capability containts by domain 2. yunionconf query scope fixes
2019-06-11 09:46:51 +08:00
yunion-ci-robot
d5ba27bc2c Merge pull request #1111 from swordqiu/hotfix/qj-image-show-missing-can-delete-update-fields
fix: image-show missing can-delete/can-update fields
2019-06-11 09:45:51 +08:00
yunion-ci-robot
7e8cbeadfb Merge pull request #910 from yousong/feature/yousong-ansible
region: ansible服务化
2019-06-11 01:34:51 +08:00
Qiu Jian
9670446a21 fix: 1. zone/region capability containts by domain 2. yunionconf query
scope fixes
2019-06-11 01:31:59 +08:00
yunion-ci-robot
d06475762e Merge pull request #1121 from ioito/hotfix/qx-brand-check
添加brand字段限制
2019-06-11 00:11:50 +08:00
yunion-ci-robot
7ac1af2e00 Merge pull request #1090 from ioito/hotfix/qx-docs
补充api doc参数
2019-06-11 00:09:51 +08:00
yunion-ci-robot
5665f45100 Merge pull request #1089 from ioito/hotfix/qx-mcclient-example
添加创建server示例代码
2019-06-11 00:07:50 +08:00
Yousong Zhou
966694389c ansibleserver: as a separate service 2019-06-10 15:39:05 +00:00
Qiu Jian
a71cafe81c fix: image header encode extra property string 2019-06-10 23:12:30 +08:00
ioito
5e8b1dfde5 补充参数 2019-06-10 20:24:18 +08:00
Zexi Li
dea76f077c Merge pull request #1127 from Zexi/feature/sched-domain-filter
scheduler: add domain filter
2019-06-10 19:47:16 +08:00
Zexi
06f1303f54 scheduler: add domain filter 2019-06-10 19:41:16 +08:00
ioito
d22764ff67 network创建或删除后刷新调度缓存 2019-06-10 19:24:42 +08:00
yunion-ci-robot
6c12d0a74b Merge pull request #1114 from Zexi/feature/sched-domain-filter
scheduler: host filter by cloudprovider domain id
2019-06-10 19:08:50 +08:00
yunion-ci-robot
f72ebd1389 Merge pull request #1054 from Zexi/bugfix/baremetal-raid-lv-arrange
fix: baremetal raid logical volume and block device map
2019-06-10 19:06:52 +08:00
Zexi
8ef322a4e9 fix: baremetal find incorrect root disk 2019-06-10 17:57:26 +08:00
Zexi Li
e9e27cc6da Merge pull request #1122 from Zexi/feature/sched-recover
scheduler: recover panic when stop timer
2019-06-10 17:14:03 +08:00
Zexi
725a60eef8 scheduler: recover panic when stop timer 2019-06-10 17:10:34 +08:00
ioito
799ad29420 添加brand字段限制 2019-06-10 17:05:31 +08:00
ioito
81befcc9d0 fix qcloud disk create name error 2019-06-10 15:16:07 +08:00
Zexi
bef1848357 scheduler: host filter by cloudprovider domain id 2019-06-10 12:17:56 +08:00
Qiu Jian
b685ef1498 fix: image-show missing can-delete/can-update fields 2019-06-10 02:20:03 +08:00
Yousong Zhou
ac3b9bc849 climc: add ansibleplaybook-xxx commands 2019-06-09 16:02:39 +00:00
Yousong Zhou
881c20e6ae region: add ansibleplaybooks 2019-06-09 16:02:39 +00:00
Yousong Zhou
a92f550d50 pkg: ansible: add inventory, module, playbook 2019-06-09 16:02:39 +00:00
Yousong Zhou
669ae4712f vendor: update github.com/pkg/errors
Add WithMessagef()
2019-06-09 16:02:39 +00:00
Yousong Zhou
b60d62a85f climc: ansible-hosts: print newline at the end 2019-06-09 16:02:39 +00:00
Yousong Zhou
5fb930c3a8 validators: add SetParent() 2019-06-09 16:02:39 +00:00
Yousong Zhou
b8552b72a1 guests: add guest.GetPrivateIPs() 2019-06-09 16:02:38 +00:00
yunion-ci-robot
6d6bfdbfc6 Merge pull request #1104 from Zexi/bugfix/disk-schedinput
fix: disk input erase storage_id by backend
2019-06-09 11:17:49 +08:00
Zexi
94c4d67554 fix: disk input erase storage_id by backend 2019-06-09 10:58:37 +08:00
yunion-ci-robot
f25bbcd1d5 Merge pull request #1100 from wanyaoqi/feature/wyq/gpfs
region: support gpfs
2019-06-09 00:59:53 +08:00
Jian Qiu
40c4bd2a0b fix: 1. 403 on zone/capabilities, parameters (#1097)
* fix: 1. 403 on zone/capabilities, parameters

* fix keystone authenticate error

* fix: endpoint add type console
2019-06-09 00:52:58 +08:00
yunion-ci-robot
61ccbe86a3 Merge pull request #1099 from wanyaoqi/feature/wyq/fix-reserved-memory
Feature: fix reserved memory
2019-06-07 12:19:50 +08:00
yunion-ci-robot
eaf8a3b9fc Merge pull request #1092 from ioito/hotfix/qx-code-fix
修复参数赋值问题
2019-06-06 23:23:50 +08:00
wanyaoqi
cf090235c5 gpfs 2019-06-06 23:11:24 +08:00
yunion-ci-robot
efbcdc1bb5 Merge pull request #1050 from tb365/bugfix/tb-ucloud-fix-0531
ucloud image upload bugfix & storage type fix
2019-06-06 19:52:51 +08:00
ioito
fff5cda74c 创建完磁盘后attach guest 2019-06-06 19:47:50 +08:00
yunion-ci-robot
a233d7241b Merge pull request #1091 from yousong/bugfix/yousong-readme
README.md: 更新
2019-06-06 19:33:51 +08:00
ioito
5bdb67253f 修复参数赋值问题 2019-06-06 18:11:30 +08:00
Yousong Zhou
a5edc595f7 README.md: 添加文档链接 2019-06-06 09:48:56 +00:00
Yousong Zhou
35429e5e09 README.md: 适应travis迁移至travis-ci.com 2019-06-06 09:48:56 +00:00
ioito
81802d29d1 添加创建server示例代码 2019-06-06 17:34:14 +08:00
wanyaoqi
2fbbe4d480 fix disk delete 2019-06-06 17:18:15 +08:00
wanyaoqi
620a8b5750 fix reserved memory 2019-06-06 16:55:35 +08:00
TangBin
9fd5867483 fmt import 2019-06-06 16:17:13 +08:00
yunion-ci-robot
bc8d265839 Merge pull request #1087 from swordqiu/hotfix/qj-3level-privileges-hotfix-20190605
fix: numerous incorrect privilege issues
2019-06-06 10:24:50 +08:00
Qiu Jian
0b3f2e6e98 fix: pending_delete/system list options no need admin params 2019-06-06 08:15:55 +08:00
Qiu Jian
74c6a131a4 fix: numerous incorrect privilege issues 2019-06-06 03:23:03 +08:00
yunion-ci-robot
acf58dc2c8 Merge pull request #1084 from wanyaoqi/bugfix/wyq/fix-esxi-encrypt
host: fix exsi encrypt base64
2019-06-05 22:07:50 +08:00
wanyaoqi
a8d9627f19 fix exsi encrypt base64 2019-06-05 22:00:39 +08:00
yunion-ci-robot
a81c681558 Merge pull request #1076 from ioito/hotfix/qx-openstack-auth
避免OpenStack未设置默认值,导致认证失败
2019-06-05 20:17:50 +08:00
yunion-ci-robot
3daf54be99 Merge pull request #1078 from ioito/hotfix/qx-zstack-delete
ZStack: 修复deleted disk无法删除问题
2019-06-05 20:15:51 +08:00
yunion-ci-robot
b48cbd1e93 Merge pull request #1082 from ioito/hotfix/qx-cloud-init-password
适配最新版cloud-init
2019-06-05 20:11:49 +08:00
ioito
ab8d073d7d 适配最新版cloud-init 2019-06-05 20:00:16 +08:00
yunion-ci-robot
9deaa82e37 Merge pull request #1080 from tb365/bugfix/tb-image-upload-remove-os-type
image upload remove os type
2019-06-05 17:51:50 +08:00
TangBin
7e87180058 image upload remove os type 2019-06-05 17:44:04 +08:00
ioito
b229870f7a 补充删除镜像方法 2019-06-05 17:21:23 +08:00
ioito
fade941c4c 修复deleted disk无法删除问题 2019-06-05 17:05:21 +08:00
ioito
2596b70636 避免OpenStack为设置默认值,导致认证失败 2019-06-05 16:54:18 +08:00
yunion-ci-robot
9e1e8f5f52 Merge pull request #1074 from ioito/hotfix/qx-imagecache-filter
cachedimage恢复region和zone过滤参数
2019-06-05 15:51:51 +08:00
ioito
b6c2d8d15f cachedimage-filter-by-region-or-zone 2019-06-05 15:44:44 +08:00
yunion-ci-robot
4a58c0ed89 Merge pull request #1064 from swordqiu/feature/qj-aliyun-billing-report-support
feature: api support aliyun billing report export to OSS
2019-06-05 11:28:49 +08:00
yunion-ci-robot
3794a80eb1 Merge pull request #1068 from Zexi/bugfix/megaraid-adapter-stripsz
fix: baremetal MegaRaid mul adapter parse error
2019-06-05 10:34:50 +08:00
yunion-ci-robot
8a1911f7eb Merge pull request #1071 from wanyaoqi/bugfix/wyq/fix-notify
glance: add normal notofy
2019-06-05 10:32:52 +08:00
Zexi
d0c2b04d79 fix: baremetal MegaRaid mul adapter parse error 2019-06-05 10:28:47 +08:00
yunion-ci-robot
5d9e95b350 Merge pull request #1063 from yousong/bugfix/yousong-cloudprovider-purge
cloudproviders: 调整lb资源清理顺序
2019-06-05 10:03:49 +08:00
Yousong Zhou
1ab631780b Merge pull request #1057 from ioito/hotfix/qx-zstack-create
修复zstack绑定多个storage时重复创建disk问题
2019-06-05 01:01:15 +08:00
Yousong Zhou
a99c527e6a Merge pull request #1048 from swordqiu/hotfix/qj-support-scope-filter
hotfix: support scope list filter, resolve filter conflict
2019-06-05 00:39:58 +08:00
Qiu Jian
c56ea8ca96 feature: api support aliyun billing report export to OSS 2019-06-05 00:29:19 +08:00
Yousong Zhou
5fac07e279 cloudproviders: 调整lb资源清理顺序
lbbg可能被lblis引用,应先清理lblis,再清理lbbg
2019-06-04 16:06:31 +00:00
yunion-ci-robot
794c755aae Merge pull request #1059 from ioito/hotfix/qx-disk-create-scheduler
避免未设置hypervisor导致创建磁盘失败
2019-06-04 23:48:50 +08:00
yunion-ci-robot
27aecb7557 Merge pull request #1014 from ioito/hotfix/qx-instance-api-params
Hotfix/qx instance api params
2019-06-04 23:41:53 +08:00
yunion-ci-robot
f95ee5f0c9 Merge pull request #1055 from ioito/hotfix/qx-brand-filter
support filter by OneCloud brand
2019-06-04 23:37:50 +08:00
Qiu Jian
e9498dce41 update vendor 2019-06-04 23:27:55 +08:00
Qiu Jian
292c2a141c fix: bugs in scope support 2019-06-04 23:27:55 +08:00
Qiu Jian
a6207a8ac7 hotfix: support scope list filter, resolve filter conflict 2019-06-04 23:27:55 +08:00
ioito
a6a7485692 避免未设置hypervisor导致创建磁盘失败 2019-06-04 21:17:09 +08:00
wanyaoqi
f9aa092dc9 add normal notofy 2019-06-04 21:09:45 +08:00
ioito
e57bda1af1 修复zstack绑定多个storage时重复创建disk问题 2019-06-04 20:15:03 +08:00
ioito
d121696439 support filter by OneCloud brand 2019-06-04 19:29:10 +08:00
ioito
455fec20b4 add natgateway api docs 2019-06-04 18:38:38 +08:00
yunion-ci-robot
0b39ff9d31 Merge pull request #1052 from tb365/bugfix/tb-httperror-set-header-fix
httperror-set-header-fix
2019-06-04 11:17:57 +08:00
TangBin
0cc28b4eb0 httperror-set-header-fix 2019-06-04 11:09:41 +08:00
TangBin
6ed2d8dfb7 ucloud image upload bugfix & storage type fix 2019-06-04 09:22:17 +08:00
yunion-ci-robot
f3274d4a63 Merge pull request #1042 from ioito/hotfix/qx-zstack-image-dist
避免级联镜像分类不一致
2019-06-04 09:08:56 +08:00
yunion-ci-robot
2541ebc16c Merge pull request #1046 from tb365/bugfix/tb-parameter-bugfix-0603
Bugfix/tb parameter bugfix 0603
2019-06-03 19:10:56 +08:00
TangBin
dd4c5b282d parameter model GetOwnerId fix 2019-06-03 19:06:55 +08:00
TangBin
f2ceea4fe8 parameter create fix && itsm add quick complete method 2019-06-03 19:00:10 +08:00
yunion-ci-robot
d7625ba1d7 Merge pull request #1024 from ioito/hotfix/qx-change-config-storage-choice
避免未使用最优storage
2019-06-03 18:20:56 +08:00
yunion-ci-robot
cddc8b6c51 Merge pull request #1038 from wanyaoqi/bugfix/wyq/fix-bm-server-start
bugfix: fix imported bm server start
2019-06-03 18:04:56 +08:00
TangBin
1b54c012ed parameter create fix 2019-06-03 17:43:46 +08:00
yunion-ci-robot
810f343934 Merge pull request #1044 from swordqiu/hotfix/qj-server-disk-list-failure-on-wrong-field-name
fix: server-disk-list failed on wrong field name
2019-06-03 17:30:56 +08:00
Qiu Jian
cd809f1a24 fix: server-disk-list failed on wrong field name 2019-06-03 17:19:27 +08:00
yunion-ci-robot
51ae2b3a0c Merge pull request #1025 from ioito/hotfix/qx-guest-password
统一秘密
2019-06-03 17:12:56 +08:00
ioito
bfeebfdc8b 避免级联镜像分类不一致 2019-06-03 16:25:25 +08:00
wanyaoqi
45da0ce0bb fix imported bm server start 2019-06-03 14:54:09 +08:00
Jian Qiu
72c13b8e39 3level priviliges bufixes 20190603 (#1036) 2019-06-03 12:30:58 +08:00
Jian Qiu
2d04d447e7 update vendor (#1034) 2019-06-03 12:23:11 +08:00
Jian Qiu
81b9cac556 fix: misc 3level priviliges bugfixes (#1026)
* fix: misc 3level priviliges bugfixes

* misc bugfixes

* misc bugfixes
2019-06-02 08:05:11 +08:00
ioito
d0e0e4794a 统一秘密 2019-06-01 18:55:46 +08:00
ioito
1e25be62f3 避免未使用最优storage 2019-06-01 18:22:54 +08:00
Jian Qiu
bff3ba9b16 fix: keystone fernet setup bugs and other bugs (#1022) 2019-06-01 17:31:20 +08:00
ioito
ad33bddf1e add image api docs 2019-06-01 14:53:12 +08:00
ioito
eb49886b25 add instance create api doc 2019-06-01 12:36:54 +08:00
yunion-ci-robot
01381356a0 Merge pull request #967 from ioito/hotfix/qx-zstack-upload-image-optimize
避免buf copy占用太多内存
2019-06-01 12:02:06 +08:00
yunion-ci-robot
c04cff3d1a Merge pull request #1018 from zhasm/feature/rex-keystone-rpm
新增 keystone vars 文件以便编译 rpm; wording
2019-06-01 11:59:06 +08:00
Zhang Dongliang
67718beced 新增 keystone vars 文件以便编译 rpm; wording 2019-06-01 11:39:59 +08:00
yunion-ci-robot
b79983560e Merge pull request #1016 from zhasm/feature/rex-add-keystone-build-vars
新增 keystone vars 文件以便编译 rpm
2019-06-01 11:26:16 +08:00
Zhang Dongliang
30695913d9 新增 keystone vars 文件以便编译 rpm 2019-06-01 11:15:39 +08:00
yunion-ci-robot
bb0b25b13f Merge pull request #908 from swordqiu/feature/qj-3level-policies
Feature/qj 3level policies
2019-05-31 14:48:06 +08:00
Qiu Jian
8c799e3a5e fix: client auth needs project domain info 2019-05-31 14:10:56 +08:00
Qiu Jian
42861cd43f update vendor 2019-05-31 14:10:56 +08:00
Qiu Jian
e112c4f567 minor fixes 2019-05-31 14:10:56 +08:00
Qiu Jian
2d9a2cfbf4 allow login without specifying user's domain 2019-05-31 14:10:56 +08:00
Qiu Jian
33d22dfae6 feature: support identity provider and more... 2019-05-31 14:10:56 +08:00
Qiu Jian
3dcc770b22 misc fixes 2019-05-31 14:10:54 +08:00
Qiu Jian
79b9fb3422 bugfixes 2019-05-31 14:10:53 +08:00
Qiu Jian
966d43aa20 feature: 3-level policies, system/domain/project 2019-05-31 14:09:40 +08:00
ioito
12f5735541 添加服务器更新字段 2019-05-31 14:04:52 +08:00
Qiu Jian
b8e6598ac6 fix: add keystone initialization procedures 2019-05-31 14:01:41 +08:00
Qiu Jian
9d3cce46a8 feature: keystone support phase 1 2019-05-31 14:00:58 +08:00
Qiu Jian
7be87c4bcc resolve merge conflict 2019-05-31 13:56:03 +08:00
Qiu Jian
d8e492ee5a misc fixes 2019-05-31 13:56:02 +08:00
Qiu Jian
802b3b0d21 bugfixes 2019-05-31 13:56:02 +08:00
Qiu Jian
99b8112716 update vendor 2019-05-31 13:56:02 +08:00
Qiu Jian
b7027934db feature: 3-level policies, system/domain/project 2019-05-31 13:56:02 +08:00
Qiu Jian
afabf0396f fix: add keystone initialization procedures 2019-05-31 13:52:12 +08:00
Qiu Jian
93e9d9a34b feature: keystone support phase 1 2019-05-31 13:52:12 +08:00
yunion-ci-robot
3a493886b5 Merge pull request #983 from swordqiu/hotfix/qj-fix-esxi-startvm-random-failure
fix: esxi vm may fail on start or delete in batch
2019-05-31 13:51:22 +08:00
yunion-ci-robot
226492b00b Merge pull request #1009 from wanyaoqi/bugfix/wyq/fix-guest-migrate-on-faile
fix on guest migrate fail
2019-05-31 13:15:24 +08:00
wanyaoqi
cb71d54159 fix on guest migrate fail 2019-05-31 13:11:28 +08:00
yunion-ci-robot
88e9579f30 Merge pull request #1007 from ioito/hotfix/qx-instance-doc
add instance api doc
2019-05-31 12:33:19 +08:00
yunion-ci-robot
679fc594ae Merge pull request #1004 from yousong/feature/yousong-lb-send-proxy
lb: 添加PROXY协议支持
2019-05-31 12:31:19 +08:00
yunion-ci-robot
fd048e983e Merge pull request #1005 from ioito/hotfix/qx-multipart-reader
避免出现err==nil&&n==0的情况
2019-05-31 12:21:20 +08:00
ioito
c8b1fd16ec 避免出现err==nil&&n==0的情况 2019-05-31 11:59:41 +08:00
ioito
568cda0602 避免buf copy占用太多内存 2019-05-31 10:21:16 +08:00
yunion-ci-robot
95a911eb69 Merge pull request #1003 from swordqiu/feature/qj-multipart-reader
feature: utility that wrap a reader into a multipart body
2019-05-31 10:06:18 +08:00
Qiu Jian
889d5b9eda feature: utility that wrap a reader into a multipart body 2019-05-30 23:41:21 +08:00
yunion-ci-robot
f1ac0936a1 Merge pull request #991 from Zexi/feature/scheduler-remove-gorm
scheduler: remove gorm code
2019-05-30 22:43:21 +08:00
ioito
a54739c0f4 add instance api doc 2019-05-30 22:28:38 +08:00
yunion-ci-robot
4effb0d4de Merge pull request #992 from ioito/hotfix/qx-zstack-image
避免同步云路由器镜像
2019-05-30 22:05:20 +08:00
Zexi
0f3c6f36c3 scheduler: remove gorm code 2019-05-30 21:37:51 +08:00
Yousong Zhou
d3f4518967 lb: 添加PROXY协议支持
默认关闭(off),支持v1, v2, v2-ssl, v2-ssl-cn

可分别在listener, backend上控制

 - 若listener.send_proxy不为off,以listener.backend_proxy为准
 - 若listener.send_proxy为off,以backend.send_proxy为准
2019-05-30 13:06:07 +00:00
yunion-ci-robot
9459eede53 Merge pull request #977 from wanyaoqi/bugfix/wyq/fix-glance-notify
Bugfix/wyq/fix glance notify
2019-05-30 19:11:19 +08:00
yunion-ci-robot
4f3ff285bf Merge pull request #968 from ioito/bugfix/qx-windows-user-data
避免oUserData为nil时野指针访问
2019-05-30 17:37:18 +08:00
yunion-ci-robot
6b5ac0201f Merge pull request #993 from wanyaoqi/bugfix/wyq/fix-display-metadata
fix guest display metadata
2019-05-30 16:48:18 +08:00
wanyaoqi
f40340a01e fix guest display metadata 2019-05-30 16:42:02 +08:00
ioito
0131fd2536 避免同步云路由器镜像 2019-05-30 16:16:04 +08:00
yunion-ci-robot
1b939b7990 Merge pull request #898 from ioito/hotfix/qx-provider-factory
简化provider-factory代码
2019-05-30 16:13:18 +08:00
ioito
735bb17406 避免oUserData为nil时野指针访问 2019-05-30 15:20:29 +08:00
ioito
7aae85e0f1 简化代码 2019-05-30 15:09:51 +08:00
yunion-ci-robot
48e09674b2 Merge pull request #955 from ioito/hotfix/qx-webconsole-connections
避免webconsole频繁连接server,导致IP被封禁
2019-05-30 15:03:19 +08:00
Qiu Jian
635ca7db9e fix: esxi vm may fail on start or delete in batch 2019-05-30 14:38:47 +08:00
wanyaoqi
75fc17dbc1 glance detect disable lvm 2019-05-30 11:29:47 +08:00
wanyaoqi
86095c713f - fix image status on upload failed
- fix init nbd
2019-05-29 23:27:06 +08:00
yunion-ci-robot
4c0f6ce20d Merge pull request #978 from Zexi/feature/sched-pending-usage
scheduler: add pending usage process
2019-05-29 20:39:20 +08:00
Zexi
64cca04a17 scheduler: add pending usage process 2019-05-29 19:57:44 +08:00
yunion-ci-robot
e438c22833 Merge pull request #976 from yousong/feature/yousong-swagger-api
docs: 添加认证描述
2019-05-29 19:56:18 +08:00
Yousong Zhou
b132cadcb8 docs: 添加swagger标准文档链接 2019-05-29 10:14:16 +00:00
Yousong Zhou
7b6e5bfaae docs: 添加认证描述 2019-05-29 10:14:16 +00:00
wanyaoqi
f946320b2f fix glance notify 2019-05-29 17:16:05 +08:00
yunion-ci-robot
4fb501859c Merge pull request #974 from yousong/feature/yousong-swagger-api
docs: 添加swagger.yaml
2019-05-29 17:07:19 +08:00
Yousong Zhou
2c8977b7f7 docs: 添加swagger.yaml 2019-05-29 08:24:04 +00:00
yunion-ci-robot
7eb523967c Merge pull request #971 from Zexi/hotfix/sched-nets-not-select
scheduler: fix nets result not select
2019-05-29 16:19:19 +08:00
Zexi
d185dfa932 scheduler: fix nets result not select 2019-05-29 15:54:51 +08:00
yunion-ci-robot
80752cb3a8 Merge pull request #969 from tb365/bugfix/tb-yunionconf-fix
yunionconf parameter serivce bugfix
2019-05-29 15:50:18 +08:00
TangBin
b21943cc32 yunionconf parameter serivce bugfix 2019-05-29 15:05:50 +08:00
yunion-ci-robot
897c0c3473 Merge pull request #956 from yousong/feature/yousong-lbbackend-ip
lb: 支持直接指定ip作为后端
2019-05-29 09:51:19 +08:00
yunion-ci-robot
ac09ffcd85 Merge pull request #961 from Zexi/bugfix/schedule-concurrent-map
fix: schedule fatal error concurrent map writes
2019-05-29 09:50:19 +08:00
Zexi
259900dcca fix: schedule fatal error concurrent map writes 2019-05-29 09:43:15 +08:00
yunion-ci-robot
54fedcb65a Merge pull request #943 from ioito/bugfix/qx-cloud-init-merge
避免转换成shell格式后导致合并失败
2019-05-28 22:01:20 +08:00
yunion-ci-robot
6ffe138df3 Merge pull request #957 from ioito/hotfix/qx-huawei-gofmt
fix go fmt
2019-05-28 20:13:22 +08:00
ioito
75b5be8973 fix go fmt 2019-05-28 19:31:50 +08:00
Yousong Zhou
0b3843fa42 mcclient: options: use --loadbalancer for consistency
Fixes 2df78f
2019-05-28 10:07:20 +00:00
Yousong Zhou
c2a53710a8 loadbalancerbackends: 支持直接指定IP地址 2019-05-28 10:06:19 +00:00
ioito
0d0f9bcb5f 避免频繁连接server 2019-05-28 17:08:19 +08:00
ioito
8d2031a633 避免转换成shell格式后导致合并失败 2019-05-28 16:57:20 +08:00
yunion-ci-robot
357e7596ab Merge pull request #883 from ioito/hotfix/qx-eip-sync
避免同步出现重复eip, disk记录
2019-05-28 16:54:18 +08:00
yunion-ci-robot
3b6c37daf6 Merge pull request #947 from wanyaoqi/feature/wyq/host-service-support-pid-file
host: support pid file
2019-05-28 15:51:18 +08:00
wanyaoqi
16a3b38435 support add pid file 2019-05-28 15:42:38 +08:00
yunion-ci-robot
ee63faa237 Merge pull request #934 from wanyaoqi/bugfix/wyq/import-from-libvirt
一些bug修复
2019-05-28 12:00:19 +08:00
yunion-ci-robot
400f7a6c80 Merge pull request #933 from yousong/bugfix/yousong-routetable-sync
routetables: 改正同步
2019-05-27 20:55:18 +08:00
yunion-ci-robot
efb9a14bb2 Merge pull request #932 from ioito/hotfix/qx-save-image-task-stage
补充缺失的task stage
2019-05-27 20:51:19 +08:00
wanyaoqi
3146d4575f bugfix:
- fix import from libvirt
- fix server deploy
- fix guest migrate
- golang host bugfix
2019-05-27 18:59:31 +08:00
Yousong Zhou
fdca24b80a routetables: default to name rtbl-<vpc.name> 2019-05-27 09:46:13 +00:00
Yousong Zhou
0b8239e032 routetables: sync: add vpc-awareness 2019-05-27 09:45:38 +00:00
ioito
6de9a24700 补充缺失的task stage 2019-05-27 16:03:27 +08:00
yunion-ci-robot
ae49f3cff9 Merge pull request #899 from ioito/hotfix/qx-purge-region
删除账号时删除空的zone及region
2019-05-25 20:37:19 +08:00
ioito
133901e466 删除账号时删除空的zone及region 2019-05-25 20:20:02 +08:00
yunion-ci-robot
b4d96846cd Merge pull request #921 from ioito/hotfix/qx-aliyun-eip-validate
校验aliyun eip带宽范围
2019-05-25 17:39:17 +08:00
yunion-ci-robot
8a00389f09 Merge pull request #916 from ioito/hotfix/qx-guest-validate-iso
校验iso镜像参数
2019-05-25 17:38:17 +08:00
yunion-ci-robot
88f28ed776 Merge pull request #922 from mynameisny/bugfix/ningyu-rpc-err
fix: 如果调用实际的服务有错误,则返回错误
2019-05-25 17:36:17 +08:00
yunion-ci-robot
7b917b248d Merge pull request #881 from wanyaoqi/feature/wyq/snapshot-policy
feature: snapshot policy
2019-05-25 17:33:17 +08:00
ningyu
640b2917e4 fix: 如果调用实际的服务有错误,则返回错误 2019-05-25 14:36:04 +08:00
ioito
872311a3eb 校验aliyun eip带宽范围 2019-05-25 12:08:28 +08:00
yunion-ci-robot
98e0382bd2 Merge pull request #894 from ioito/hotfix/qx-keystone-region
避免keystone region中使用"-"导致region被截取
2019-05-25 00:15:19 +08:00
ioito
a9b8dfb65d 校验iso镜像参数 2019-05-24 20:15:37 +08:00
yunion-ci-robot
fd1077dc89 Merge pull request #901 from ioito/hotfix/qx-worker-list
添加worker-list
2019-05-24 12:26:18 +08:00
yunion-ci-robot
dcb9dc9e2b Merge pull request #911 from ioito/hotfix/qx-brand-init
初始化旧账号的brand信息
2019-05-24 12:20:18 +08:00
yunion-ci-robot
977939a77c Merge pull request #900 from wanyaoqi/bugfix/wyq/check-storage-on-updeploy
bugfix: fix undeploy backup guest, fix host cron job not start, task add recover
2019-05-24 12:17:17 +08:00
yunion-ci-robot
59f884873b Merge pull request #897 from ioito/hotfix/qx-zstack-region-sync
避免多账号同步zstack region异常
2019-05-24 12:16:17 +08:00
yunion-ci-robot
68d772fea1 Merge pull request #886 from tb365/bugfix/tb-huawei-ucloud-0522-fix
huawei & ucloud bugfix
2019-05-24 12:15:17 +08:00
ioito
43c65ec3f2 初始化旧账号的brand信息 2019-05-24 11:42:04 +08:00
yunion-ci-robot
4d54aba89e Merge pull request #896 from ioito/bugfix/qx-openstack-region-sync
修复多账号导致openstack region同步异常
2019-05-24 09:48:18 +08:00
yunion-ci-robot
82957be091 Merge pull request #890 from yousong/bugfix/yousong-minors
guests: 变更IP地址时尽量保留原网卡设定
2019-05-24 09:42:17 +08:00
yunion-ci-robot
62c59b7242 Merge pull request #895 from Zexi/bugfix/baremetal-build-raid
baremetal: fix build HPSARaid and enable serial console errors
2019-05-24 09:39:17 +08:00
yunion-ci-robot
ff5471cdce Merge pull request #893 from wanyaoqi/feature/wyq/misc-0523
feature: glance notify, host record kvm info
2019-05-24 09:34:17 +08:00
yunion-ci-robot
e92f864c67 Merge pull request #889 from ioito/hotfix/qx-openstack-eip
Hotfix/qx openstack eip
2019-05-24 09:32:17 +08:00
yunion-ci-robot
7f0acc7174 Merge pull request #887 from ioito/hotfix/qx-zstack
避免ip为空导致创建失败
2019-05-24 09:29:17 +08:00
Yousong Zhou
53a532839d guests: change-ipaddr: 尽量保留原网卡配置
网卡序号,带宽限定等

Reported-by: Wenlong Wang
2019-05-23 13:50:19 +00:00
ioito
5f30f4feb5 添加worker-list 2019-05-23 21:09:42 +08:00
ioito
256c80c617 避免同步出现重复eip记录 2019-05-23 20:06:54 +08:00
Zexi
1fd62f7988 baremetal: fix build HPSARaid and enable serial console errors 2019-05-23 18:53:06 +08:00
wanyaoqi
9722654ff4 misc fix:
- fix undeploy backup guest
- fix host service cron job
- task add recover
2019-05-23 18:35:59 +08:00
ioito
50f4531576 避免多账号同步zstack region异常 2019-05-23 17:53:52 +08:00
ioito
6ee0bd274b 未设置正确的region prefix 2019-05-23 17:38:13 +08:00
ioito
3609cacfae 避免keystone region中使用-导致region被截取 2019-05-23 15:57:23 +08:00
wanyaoqi
8014d20122 feature: glance notify, host record kvm info 2019-05-23 15:47:20 +08:00
ioito
35ae3694f5 避免ip为空导致创建失败 2019-05-23 12:05:26 +08:00
yunion-ci-robot
7fb6731647 Merge pull request #888 from wanyaoqi/bugfix/wyq/minor-0522
bugfix/region: misc fix
2019-05-23 10:33:16 +08:00
ioito
9ef9ff57a3 Merge remote-tracking branch 'upstream/master' into hotfix/qx-openstack-eip 2019-05-22 21:52:03 +08:00
ioito
98c4a12093 merge master 2019-05-22 21:51:21 +08:00
ioito
d0f2882064 OpenStack支持EIP 2019-05-22 21:43:05 +08:00
wanyaoqi
1430413efd - set disk storage_id not required
- can't do syncstatus on guest has active tasks in last one hour
- fix guestdisk index set wrong number on guest attach disk
2019-05-22 21:12:38 +08:00
wanyaoqi
52b2699615 snapshot policy 2019-05-22 17:16:16 +08:00
TangBin
82ddc3b522 huawei & ucloud bugfix 2019-05-22 16:05:28 +08:00
yunion-ci-robot
20ddbbb899 Merge pull request #880 from yousong/bugfix/yousong-routetables
routetables: 修复add/del routes功能
2019-05-22 11:31:16 +08:00
yunion-ci-robot
d766ce4af6 Merge pull request #882 from Zexi/feature/k8s-vm-cluster
k8s: support vm cluster and misc fix
2019-05-22 10:01:16 +08:00
yunion-ci-robot
9641463170 Merge pull request #875 from ioito/hotfix/qx-openstack-auth-with-domain-name
openstack认证添加domain_name参数
2019-05-21 22:46:16 +08:00
yunion-ci-robot
af5cd22cc8 Merge pull request #723 from ioito/feature/qx-zstack
Feature/qx zstack
2019-05-21 22:40:18 +08:00
ioito
ff2cca8611 rebase master 2019-05-21 22:36:52 +08:00
ioito
746a7d424e 细化存储信息 2019-05-21 21:29:05 +08:00
ioito
d2c9c7d740 update 2019-05-21 21:29:05 +08:00
屈轩
e878330938 初始化zstack代码 2019-05-21 21:29:04 +08:00
Zexi
749c11ad88 k8s: support vm cluster and misc fix 2019-05-21 20:28:41 +08:00
yunion-ci-robot
2d4779d907 Merge pull request #860 from ioito/hotfix/qx-inject-password-by-cloud-init
Hotfix/qx inject password by cloud init
2019-05-21 18:51:18 +08:00
Yousong Zhou
924f9cc24e climc: 在打印路由条目时显示下一跳资源id 2019-05-21 09:38:45 +00:00
ioito
c3c6d231f2 openstack认证添加domain_name参数 2019-05-21 17:28:45 +08:00
Yousong Zhou
e3b89c7f0a routetables: 厘清指针使用 2019-05-21 08:57:51 +00:00
Yousong Zhou
56b33d9cf5 mcclient: 使--vpc成为必选参数 2019-05-21 08:57:51 +00:00
Yousong Zhou
4b1f0ee543 mcclient: RouteOptions: 缩短命令行参数长度 2019-05-21 08:57:51 +00:00
yunion-ci-robot
be42469c3c Merge pull request #808 from swordqiu/feature/qj-keystone-support-phase1
Feature/qj keystone support phase1
2019-05-20 23:08:17 +08:00
yunion-ci-robot
75e5c9cacd Merge pull request #862 from ioito/hotfix/qx-cloud-account-brand
cloudaccount增加brand字段,标识品牌信息
2019-05-20 23:05:16 +08:00
yunion-ci-robot
731f047b0b Merge pull request #866 from ioito/bugfix/qx-openstack-region-fix
禁止OpenStack不同账号共享Region
2019-05-20 22:39:18 +08:00
ioito
710a2f205b 避免climc使用公有云镜像时未设置prefix region导致虚拟机创建失败 2019-05-20 22:34:48 +08:00
ioito
7c196a5ffe 初始化brand数据 2019-05-20 22:31:12 +08:00
ioito
209b7a540f fix openstack region sync 2019-05-20 22:14:28 +08:00
yunion-ci-robot
daeb1eab50 Merge pull request #859 from ioito/hotfix/qx-server-list-filter-by-tag
不同类型的tag使用对应的参数进行过滤
2019-05-20 21:28:17 +08:00
yunion-ci-robot
38047405b4 Merge pull request #861 from Zexi/hotfix/host-delete-devices-undo-convert
fix: host undo convert not delete isolated_devices
2019-05-20 21:06:18 +08:00
Zexi
4cb35dd7be fix: host undo convert not delete isolated_devices 2019-05-20 20:54:46 +08:00
ioito
e553d43606 不同类型的tag使用对应的参数进行过滤 2019-05-20 20:10:37 +08:00
ioito
ac50497e34 使用driver注入密码,复用代码 2019-05-20 16:49:24 +08:00
yunion-ci-robot
06e895da09 Merge pull request #855 from ioito/bugfix/qx-validate-update-data
修复调用错误方法
2019-05-20 14:06:17 +08:00
ioito
ab152fe32c 修复调用错误方法 2019-05-20 13:43:28 +08:00
yunion-ci-robot
24dd137d2b Merge pull request #842 from ioito/hotfix/qx-delete-guest-with-lb-backend
删除虚拟机同时删除lb相关记录
2019-05-18 20:19:16 +08:00
ioito
e3043015b7 删除虚拟机同时删除lb相关记录 2019-05-18 20:10:25 +08:00
yunion-ci-robot
cb06bf031f Merge pull request #840 from ioito/hotfix/qx-image-cache-name
上传到云上的镜像名称和本地保持一致
2019-05-18 20:08:16 +08:00
ioito
4058e05323 保持公有云镜像名称和本地镜像名称相同 2019-05-18 20:02:15 +08:00
yunion-ci-robot
7bd2007bbd Merge pull request #850 from Zexi/hotfix/sshpart-path-exists
fix: SSHPartition test symbolic file exists fail
2019-05-18 19:45:17 +08:00
Zexi
3b5f80b987 fix: SSHPartition test symbolic file exists fail 2019-05-18 19:35:24 +08:00
yunion-ci-robot
d2a49bff63 Merge pull request #841 from tb365/bugfix/tb-ucloud-fix-0514
ucloud bugfix
2019-05-17 21:05:16 +08:00
yunion-ci-robot
742562f882 Merge pull request #848 from Zexi/bugfix/deploy-serial-not-work
fix: baremetal enable serial not working
2019-05-17 16:04:17 +08:00
TangBin
c3dc2639b3 ucloud bugfix 2019-05-17 15:59:39 +08:00
Qiu Jian
017c4b239a fix: streampipe interface change 2019-05-17 15:46:56 +08:00
yunion-ci-robot
84f5ed9985 Merge pull request #845 from Zexi/feature/enhance-makefile-use-docker
Use docker build binaries
2019-05-17 15:39:17 +08:00
Zexi
d16497183a fix: baremetal enable serial not working 2019-05-17 15:06:52 +08:00
yunion-ci-robot
46b088ae80 Merge pull request #846 from wanyaoqi/bugfix/wyq/fix-host-on-start-failed
bugfix : fix guest on start failed no call task failed
2019-05-17 14:36:18 +08:00
wanyaoqi
03aff2800f fix live migrate 2019-05-17 14:28:40 +08:00
Qiu Jian
a44eb4dacc update vendor 2019-05-17 13:54:29 +08:00
Qiu Jian
5cb8d661cc fix: minor fixes pass build check 2019-05-17 13:54:29 +08:00
Qiu Jian
dd13a991c0 fix: misc bug fixes. add usage and event log API 2019-05-17 13:54:29 +08:00
Qiu Jian
2efc5e641e fix: add keystone initialization procedures 2019-05-17 13:54:29 +08:00
Qiu Jian
4b1e3b5a57 update vendor 2019-05-17 13:53:45 +08:00
Qiu Jian
5a660987e6 feature: keystone support phase 1 2019-05-17 13:53:45 +08:00
wanyaoqi
a62d21a398 fix guest on start failed no call task failed 2019-05-17 11:50:54 +08:00
Zexi
344a3c6fb6 Use docker build binaries 2019-05-17 10:37:05 +08:00
yunion-ci-robot
94ecf004a6 Merge pull request #843 from Zexi/hotfix/scheduler-apply-policy
use scheduler apply sched policies
2019-05-17 10:20:17 +08:00
Zexi
c54758fbb4 use scheduler apply sched policies 2019-05-16 20:26:22 +08:00
yunion-ci-robot
e12bc97e4a Merge pull request #836 from wanyaoqi/bugfix/wyq/host-fix
bugfix: fix set migrate capability, fix resize fs catch error
2019-05-16 17:35:37 +08:00
yunion-ci-robot
7f9848b1d9 Merge pull request #746 from wanyaoqi/feature/wyq/image-do-probe-on-upload
featrue: Image probe info on upload
2019-05-16 17:34:34 +08:00
yunion-ci-robot
84b1738271 Merge pull request #810 from ioito/hotfix/qx-lb-backends-list-filter-by-vpc
限制添加同一个vpc底下的虚拟机
2019-05-16 16:55:35 +08:00
ioito
c425737017 避免关不掉访问控制 2019-05-16 16:53:54 +08:00
ioito
e15a78da7e 显示acl名称 2019-05-16 16:53:53 +08:00
ioito
77cd1ba269 限制添加同一个vpc底下的虚拟机 2019-05-16 16:53:53 +08:00
wanyaoqi
3acf8cd9a8 fix set migrate capability, fix resize fs catch error 2019-05-16 15:20:28 +08:00
yunion-ci-robot
0d6c97014b Merge pull request #833 from Zexi/feature/baremetal-http-ipxe
baremetal: support http download kernel and initramfs for pxe boot
2019-05-16 14:02:35 +08:00
Zexi
636c75745c baremetal: support http download kernel and initramfs for pxe boot 2019-05-16 13:39:58 +08:00
yunion-ci-robot
8f0357bccf Merge pull request #823 from wangzhongcan654/region/network-add-show-zone
The region service adds restful-list to display zone and zone_id information.
2019-05-16 12:39:35 +08:00
yunion-ci-robot
85e6e5dffb Merge pull request #830 from ioito/bugfix/qx-account-delete
避免删除账号忽略错误信息
2019-05-16 12:24:35 +08:00
ioito
8a1f9c36bc 修复删除账号错误 2019-05-16 12:09:25 +08:00
zhongcan
1dfd5827c1 The region service adds restful-list to display zone and zone_id information. 2019-05-16 11:17:46 +08:00
yunion-ci-robot
5859ba4494 Merge pull request #827 from wanyaoqi/bugfix/wyq/fix-host-setup-network
bugfix: fix host setup network
2019-05-16 00:29:36 +08:00
yunion-ci-robot
1e331772d1 Merge pull request #822 from ioito/hotfix/qx-openstack-host-info
OpenStack: 增加同步数据准确性
2019-05-15 22:45:35 +08:00
wanyaoqi
8d9dc4506e fix host setup network 2019-05-15 21:15:14 +08:00
ioito
58a7a7a6f9 增加同步数据准确性 2019-05-15 17:04:48 +08:00
wanyaoqi
7e9e211fec prob more info 2019-05-15 17:01:40 +08:00
yunion-ci-robot
386a00c381 Merge pull request #811 from wanyaoqi/bugfix/wyq/host-cpuset-bugfix
bugfix: host cpuset bugfix
2019-05-15 16:55:35 +08:00
yunion-ci-robot
88fdfba683 Merge pull request #814 from mynameisny/feature/ningyu-add-process-statistics
feat: 添加统计未完成的工单、待我审批任务的数量
2019-05-15 16:52:35 +08:00
yunion-ci-robot
f3716008c4 Merge pull request #812 from ioito/hotfix/qx-lb-backend-sync-conf
设置端口和权重后同步到公有云上
2019-05-15 16:51:34 +08:00
yunion-ci-robot
b3ef0e978e Merge pull request #809 from wanyaoqi/bugfix/wyq/disable-clean-iptables
bugfix: disable clean iptables && fix mac equal
2019-05-15 16:36:36 +08:00
wanyaoqi
20a17247a1 disable clean iptables && fix mac equal 2019-05-15 16:27:41 +08:00
wanyaoqi
9bc08fe8f8 guest fix set oom_adj 2019-05-15 16:16:25 +08:00
ningyu
5926d1dac9 fix conflicts 2019-05-15 15:47:31 +08:00
ningyu
d8fc97a127 fix: 通过JSON对象的方式传递RPC的参数 2019-05-15 15:37:17 +08:00
ningyu
cea2140309 fix: 通过JSON对象的方式传递RPC的参数 2019-05-15 15:20:44 +08:00
ningyu
bbae65f73a feat: 添加统计未完成的工单、待我审批数量的数量 2019-05-15 14:47:36 +08:00
yunion-ci-robot
29cc410c8d Merge pull request #813 from ioito/bugfix/qx-metadata-filter
避免使用错误方法损坏id
2019-05-15 14:39:34 +08:00
ioito
5263a4dee5 避免使用错误方法损坏id 2019-05-15 14:16:18 +08:00
ioito
584279a362 设置端口和权重后同步到公有云上 2019-05-14 20:50:15 +08:00
wanyaoqi
55547d9ca7 host cpuset bugfix 2019-05-14 18:16:09 +08:00
yunion-ci-robot
c1c009cfb2 Merge pull request #802 from wanyaoqi/feature/wyq/disable-cron-jobs-on-slave-node
feature: disable cron jobs on slave node
2019-05-13 21:10:35 +08:00
wanyaoqi
bea71a635f disable cron jobs on slave node 2019-05-13 19:17:40 +08:00
yunion-ci-robot
3f2b506c5c Merge pull request #784 from ioito/hotfix/qx-image-check
避免创建时使用不同公有云的镜像
2019-05-13 19:17:34 +08:00
yunion-ci-robot
89fea17de0 Merge pull request #797 from Zexi/hotfix/scheduler-init-app-db
fix: scheduler not init app db
2019-05-13 19:13:35 +08:00
ioito
f27b924db7 避免创建时使用不同公有云的镜像 2019-05-13 19:06:00 +08:00
Zexi
006227cc2f fix: scheduler not init app db 2019-05-13 18:48:33 +08:00
yunion-ci-robot
06a26e965c Merge pull request #791 from ioito/bugfix/qx-aliyun-wait-task-error
避免任务完成后依然返回timeout错误
2019-05-13 16:52:34 +08:00
yunion-ci-robot
e285933aff Merge pull request #790 from wanyaoqi/bugfix/wyq/minor-fix05123
bugfix : fix start script no pid file
2019-05-13 16:51:34 +08:00
wanyaoqi
324154eca2 fix no pid file 2019-05-13 16:28:49 +08:00
ioito
01625048e1 避免任务完成后依然返回timeout错误 2019-05-13 15:33:00 +08:00
yunion-ci-robot
c633e42a9f Merge pull request #785 from Zexi/hotfix/host-convert-disk-same-check
fix: add host convert same disk spec check
2019-05-13 11:21:34 +08:00
yunion-ci-robot
e8bfd651a7 Merge pull request #786 from wanyaoqi/bugfix/wyq/fix-guest-delete-backup-logevent
bugfix: fix guest delele backup log event
2019-05-13 11:17:34 +08:00
wanyaoqi
f4dd38a0f3 fix guest delele backup log event 2019-05-13 11:08:41 +08:00
yunion-ci-robot
08f63d4a60 Merge pull request #724 from tb365/feature/tb-infos-api-update
add copyright-update api
2019-05-11 20:38:36 +08:00
Zexi
8ff93c93a8 fix: add host convert same disk spec check 2019-05-11 18:34:33 +08:00
TangBin
bf8bf3a910 fix CopyRight to Copyright 2019-05-11 18:12:23 +08:00
yunion-ci-robot
d820375817 Merge pull request #772 from tb365/bugfix/tb-huawei-ucloud-0510-fix
add ucloud account create climc
2019-05-11 17:32:34 +08:00
yunion-ci-robot
e767c4f051 Merge pull request #778 from ioito/hotfix/qx-manager-id-create-optional
允许普通用户set manager_id
2019-05-11 17:26:34 +08:00
yunion-ci-robot
84009ac5e9 Merge pull request #769 from ioito/hotfix/qx-remove-backend
负载均衡日志补全
2019-05-11 17:23:33 +08:00
ioito
0c2948ce9a 负载均衡日志补全 2019-05-11 17:16:11 +08:00
ioito
26703e6110 允许普通用户set manager_id 2019-05-11 17:03:54 +08:00
yunion-ci-robot
ba55d3c2a4 Merge pull request #759 from ioito/bugfix/qx-aliyun-cacheimage
Aliyun: 避免cache image失败
2019-05-11 17:01:34 +08:00
TangBin
58290bd1d0 ucloud subaccount name fix 2019-05-11 16:27:37 +08:00
TangBin
c8de3c82d7 ucloud eip default charge type Dynamic 2019-05-11 15:31:45 +08:00
TangBin
1053b24a48 add ucloud account create climc & get disks bugfix 2019-05-11 15:01:51 +08:00
yunion-ci-robot
ee3e2aa651 Merge pull request #770 from wanyaoqi/bugfix/wyq/minor-fix0509
bugfix:  fix host deploy windows password, user can get backup host id
2019-05-10 20:54:34 +08:00
wanyaoqi
c51f80436b qemu prevent oom 2019-05-10 20:24:36 +08:00
wanyaoqi
523c886934 fix host deploy windows password 2019-05-10 11:55:36 +08:00
yunion-ci-robot
dfffe94f4a Merge pull request #767 from ioito/hotfix/qx-remote-useless-function
移除多余的方法
2019-05-09 19:50:33 +08:00
ioito
ca4d0db0fc 移除多余的方法 2019-05-09 18:18:41 +08:00
yunion-ci-robot
2a5d80963c Merge pull request #762 from ioito/hotfix/qx-cachedimage-list
避免显示脏的image信息
2019-05-09 17:51:33 +08:00
yunion-ci-robot
c239b7db44 Merge pull request #747 from tb365/bugfix/tb-sku-provider-filter-fix
sku provider filter by zone
2019-05-09 17:50:33 +08:00
TangBin
afd596f458 sku providerFilter add more comment 2019-05-09 16:54:37 +08:00
ioito
d7bed1a2f0 避免显示脏的image信息 2019-05-09 16:49:01 +08:00
wanyaoqi
cda03d6460 user can get backup host id 2019-05-09 16:05:18 +08:00
ioito
96dfb12bf8 避免cache image失败 2019-05-09 15:24:57 +08:00
yunion-ci-robot
1f5f69267f Merge pull request #755 from wanyaoqi/bugfix/wyq/golang-host-bugfix
bugfix: golang host bugfix
2019-05-09 15:17:33 +08:00
yunion-ci-robot
e4b2f557c9 Merge pull request #758 from wanyaoqi/bugfix/wyq/fix-go-vet-check-bugs
bugfix: fix go vet report bugs
2019-05-09 14:55:33 +08:00
wanyaoqi
a4a906cdb6 Readme add go reporter 2019-05-09 12:02:29 +08:00
wanyaoqi
1ee81d46cc fix go vet report bugs 2019-05-09 11:53:29 +08:00
wanyaoqi
0602036b81 - host dhcp srever start after guest manager init
- fix cpuset out of range
2019-05-09 10:34:53 +08:00
yunion-ci-robot
0b7dc5ed75 Merge pull request #754 from wanyaoqi/bugfix/wyq/fix-get-stoarge-by-access-path
bugfix :fix get storage by access path
2019-05-08 18:22:32 +08:00
wanyaoqi
1f1a23acae optimize image upload and probe 2019-05-08 17:06:27 +08:00
wanyaoqi
d34ec40378 fix get storage by access path 2019-05-08 16:56:20 +08:00
yunion-ci-robot
6f6d8312c4 Merge pull request #749 from swordqiu/hotfix/qj-disk-purge-nil-pointer
fix: admaster bug, disk-purge nil pointer error
2019-05-08 13:27:32 +08:00
Qiu Jian
a9d0e29333 fix: admaster bug, disk-purge nil pointer error 2019-05-08 12:46:27 +08:00
yunion-ci-robot
92627f05a5 Merge pull request #748 from wanyaoqi/bugfix/wyq/fix-syncstatus-stopping
bugfix: fix sync status on stoping
2019-05-08 12:32:33 +08:00
wanyaoqi
f2f46e0a21 fix sync status on stoping 2019-05-08 12:14:32 +08:00
TangBin
78d059ac11 sku provider filter by region 2019-05-08 11:38:43 +08:00
TangBin
81b6208dda sku provider filter by zone 2019-05-08 11:18:56 +08:00
wanyaoqi
fa3d8ec732 Image probe info on upload 2019-05-07 20:55:49 +08:00
yunion-ci-robot
e0c3547952 Merge pull request #745 from mynameisny/feature/process-instance-assignment
设置任务审批人功能优化
2019-05-07 14:28:15 +08:00
ningyu
c644401f00 feat: 创建流程实例(发起流程)时,可以通过不同的方式指定任务审批人
1. 直接设置用户ID
2. 设置角色ID(由这个角色下的用户进行审批)
3. 同时设置角色ID和项目Id(由特定项目下的某个角色的用户进行审批)
2019-05-07 14:20:47 +08:00
yunion-ci-robot
b0c152c091 Merge pull request #726 from wanyaoqi/bugfix/wyq/minor-fix56
set host is import && fix notify template
2019-05-07 12:32:15 +08:00
yunion-ci-robot
708422b0ac Merge pull request #725 from wanyaoqi/bugfix/wyq-fix-host-image
bugfix: fix host image service, disable https
2019-05-07 12:31:16 +08:00
yunion-ci-robot
2d11a6cfa5 Merge pull request #731 from wanyaoqi/bugfix/wyq/minor-fix0507
remove gpu passthrough params addr
2019-05-07 12:17:14 +08:00
yunion-ci-robot
da0690fc94 Merge pull request #736 from Zexi/bugfix/resource-set-schedtags
fix: resource set schedtags
2019-05-07 12:16:16 +08:00
Zexi
7be7ae0b12 fix: resource set schedtags 2019-05-07 12:12:48 +08:00
yunion-ci-robot
4b74d26de2 Merge pull request #730 from swordqiu/hotfix/qj-fetch-model-count-property-empty
fix: FetchModelExtraCountProperties find empty method name
2019-05-07 11:57:14 +08:00
yunion-ci-robot
e9b53d7ec9 Merge pull request #732 from tb365/feature/tb-host-batch-register-update-57
update host batch register
2019-05-07 11:29:15 +08:00
TangBin
e6078c4b85 update host batch register 2019-05-07 11:27:34 +08:00
wanyaoqi
e612e06148 remove gpu passthrough params addr 2019-05-07 10:36:13 +08:00
yunion-ci-robot
31f41e26d3 Merge pull request #728 from swordqiu/hotfix/qj-fail-to-create-network-in-default-vpc
fix: fail to create network in default vpc
2019-05-06 21:15:15 +08:00
Qiu Jian
ea469991e5 fix: fail to create network in default vpc 2019-05-06 20:59:35 +08:00
Qiu Jian
60da720447 fix: FetchModelExtraCountProperties find empty method name 2019-05-06 20:12:30 +08:00
wanyaoqi
68d6f8f9fd fix host image service, disable https 2019-05-06 16:10:29 +08:00
TangBin
f2200a8690 add copyright-update api 2019-05-06 15:48:37 +08:00
wanyaoqi
502861b1a0 set host is import && fix notify template 2019-05-06 12:08:58 +08:00
yunion-ci-robot
eaa183a8de Merge pull request #719 from Zexi/hotfix/backup-server-sched-panic
fix: create backup server panic when schedule
2019-05-05 21:10:14 +08:00
Zexi
b3cb260e07 fix: create backup server panic when schedule 2019-05-05 19:58:21 +08:00
yunion-ci-robot
d60966fe1a Merge pull request #711 from wanyaoqi/bugfix/wyq/fix-guest-backup-delete-status
bugfix:  fix delete backup status
2019-05-05 19:06:15 +08:00
yunion-ci-robot
38f6753d5c Merge pull request #716 from Zexi/hotfix/baremetal-ipmi-disksize
fix baremetal disk config auto extend not work and ipmi_info not record
2019-05-05 19:03:14 +08:00
Zexi
8297970ac3 fix baremetal disk config auto extend not work and ipmi_info not record 2019-05-05 18:42:35 +08:00
yunion-ci-robot
c33a625dca Merge pull request #710 from ioito/hotfix/qx-openstack-fix
设置镜像hw_qemu_guest_agent属性
2019-05-05 16:36:15 +08:00
yunion-ci-robot
98efa58ca4 Merge pull request #699 from wanyaoqi/bugfix/wyq/fix-bm-prepare
bugfix: fix baremetal online prepare!
2019-05-05 12:35:15 +08:00
wanyaoqi
55fec35a6d fix baremetal online prepare! 2019-05-05 12:25:55 +08:00
wanyaoqi
84632a98dd fix backup status 2019-05-05 12:14:41 +08:00
ioito
23526a496c 设置镜像hw_qemu_guest_agent属性 2019-05-05 12:14:25 +08:00
yunion-ci-robot
7e37a199b4 Merge pull request #366 from tb365/feature/tb-ucloud-3
add ucloud operations
2019-05-05 11:19:13 +08:00
yunion-ci-robot
bab529e19e Merge pull request #456 from ioito/hotfix/qx-lb-validate-create
添加阿里云lb监听参数校验
2019-05-05 11:18:13 +08:00
ioito
89c63ec5a0 添加阿里云lb监听参数校验 2019-05-05 11:02:32 +08:00
TangBin
af84da297d ucloud normalizeOsName bugfix 2019-05-05 11:02:22 +08:00
yunion-ci-robot
0d6b4c311c Merge pull request #690 from swordqiu/hotfix/qj-esxi-misc-improvements-20190429
fix: 1. ignore yunioncloud temp VMs when syncing 2. start esxi VM on same host with lock
2019-05-02 12:03:13 +08:00
yunion-ci-robot
88acd9626c Merge pull request #584 from wanyaoqi/feature/wyq/shared-storage-auto-migrate-on-start
feature: guest  add auto migrate on start , if memory not enough and storage is rbd
2019-05-02 10:43:13 +08:00
yunion-ci-robot
a4724da796 Merge pull request #700 from wanyaoqi/feature/wyq/support-linux-bridge
feature: golang host support linux bridge
2019-05-02 10:35:13 +08:00
wanyaoqi
cc56d09ceb golang host support linux bridge 2019-05-02 09:35:04 +08:00
yunion-ci-robot
222b9805fd Merge pull request #671 from ioito/bugfix/qx-qcloud-secgroup-sync
修复腾讯云本地和云上out方向规则为空语义不一致问题
2019-05-01 11:52:13 +08:00
yunion-ci-robot
966baee7e6 Merge pull request #652 from wanyaoqi/feature/wyq/disk-snapshot-fix
fix snapshot create interface
2019-04-30 23:53:15 +08:00
wanyaoqi
3ae675b73b fix snapshot create interface 2019-04-30 23:30:28 +08:00
TangBin
d96639a597 fix comment 2019-04-30 19:25:31 +08:00
TangBin
a2ac8bba5b fix ucloudcli instance-create 2019-04-30 18:33:06 +08:00
TangBin
dd6f997f9c fix comment 2019-04-30 17:45:19 +08:00
TangBin
3263b422bc fix conflicts 2019-04-30 16:52:17 +08:00
TangBin
fef357a4ec add ucloud operations 2019-04-30 16:37:27 +08:00
yunion-ci-robot
8607f3146c Merge pull request #696 from Zexi/bugfix/server-create-deploy-config-missing
fix: deploy_configs was removed when invoke SetCreateParams
2019-04-30 16:25:13 +08:00
TangBin
a515f0618a add ucloud operations 2019-04-30 16:16:07 +08:00
Zexi
e242f40bc4 fix: deploy_configs was removed when invoke SetCreateParams 2019-04-30 16:14:10 +08:00
ioito
22e732039a 修复腾讯云本地和云上out方向规则为空语义不一致问题 2019-04-30 16:02:55 +08:00
yunion-ci-robot
f56be3588f Merge pull request #693 from Zexi/bugfix/isolated-device-no-dev-type
fix: isolated_device dev_type field not set
2019-04-30 14:30:13 +08:00
Zexi
e3797b709f fix: isolated_device dev_type field not set 2019-04-30 13:48:53 +08:00
yunion-ci-robot
ec21467946 Merge pull request #689 from tb365/bugfix/tb-host-metric-fix
netio&diskio fix
2019-04-29 20:09:12 +08:00
TangBin
c217dcecaa rename addNetio variable name 2019-04-29 20:01:42 +08:00
yunion-ci-robot
f690f597f8 Merge pull request #651 from wanyaoqi/bugfix/wyq/snapshot-create-disk
bugfix: fix snapshot create disk
2019-04-29 19:53:13 +08:00
Qiu Jian
d5812dfa31 fix: 1. ignore yunioncloud temp VMs when syncing 2. start esxi VM on
same host with lock
2019-04-29 17:40:29 +08:00
TangBin
bbff93a1b8 netio&diskio fix 2019-04-29 15:23:20 +08:00
yunion-ci-robot
bd0312c2e6 Merge pull request #670 from yousong/feature/yousong-log-file-prefix
cloudcommon: 添加--log-file-prefix选项
2019-04-29 15:07:12 +08:00
yunion-ci-robot
9012822856 Merge pull request #659 from swordqiu/hotfix/qj-baremetal-keep-order-of-netinterface
fix: keep order of network interface for baremetal
2019-04-29 14:24:12 +08:00
yunion-ci-robot
f3acf37be7 Merge pull request #647 from mynameisny/feature/ningyu-itsm-support
Feature/ningyu itsm support
2019-04-29 14:23:13 +08:00
yunion-ci-robot
6a8fab9c2f Merge pull request #679 from wanyaoqi/bugfix/wyq/minor-fix-0429
bugfix: host register add version record, fix getBmAgentUrl
2019-04-29 13:38:15 +08:00
yunion-ci-robot
3d12d6ea92 Merge pull request #678 from Zexi/fix/host-convert-input
fix: host convert params to ServerCreateInput
2019-04-29 13:36:12 +08:00
Zexi
05c11cb3ef fix: host convert params to ServerCreateInput 2019-04-29 12:39:43 +08:00
wanyaoqi
40ed21b79e host register add version record, fix getBmAgentUrl 2019-04-29 12:06:58 +08:00
Yousong Zhou
fc73a8d811 cloudcommon: 添加--log-file-prefix选项
指定日志文件名,rotate 10,每个100MB
2019-04-29 03:02:53 +00:00
Yousong Zhou
3f69495497 atexit: 添加用于记录在进程退出时执行的队列 2019-04-29 02:59:37 +00:00
yunion-ci-robot
ae7db24641 Merge pull request #675 from Zexi/fix/sched-forecast-remove-select-candidate
scheduler forecast select_candidate not add count
2019-04-28 21:55:13 +08:00
Zexi
2c74ce6147 fix: scheduler forecast select_candidate not add count 2019-04-28 16:50:46 +08:00
yunion-ci-robot
e646ac7bff Merge pull request #672 from ioito/hotfix/qx-city-const
统一使用const,避免city命名不一致
2019-04-28 15:44:12 +08:00
ioito
63244be0a6 统一使用const,避免city命名不一致 2019-04-28 15:23:44 +08:00
yunion-ci-robot
f4b39af30d Merge pull request #665 from ioito/bugfix/qx-guest-templateid
修复未返回templateId
2019-04-27 21:24:13 +08:00
ioito
959ce29244 修复未返回templateId 2019-04-27 19:26:27 +08:00
yunion-ci-robot
728fd268df Merge pull request #660 from ioito/bugfix/qx-guest-templateid
避免nil指针访问
2019-04-27 17:21:12 +08:00
ioito
9e1f577c08 避免nil指针访问 2019-04-27 17:06:25 +08:00
Qiu Jian
0f344836f9 fix: keep order of network interface for baremetal 2019-04-26 22:40:03 +08:00
yunion-ci-robot
c6681e6dbb Merge pull request #600 from ioito/hotfix/qx-validate-rebuild-root
OpenStack加入重装系统参数校验
2019-04-26 21:42:13 +08:00
yunion-ci-robot
87863008eb Merge pull request #646 from swordqiu/hotfix/qj-no-direct-manage-vcenter-managed-esxi
fix: do not directly manage ESXi host that is managed by vcenter
2019-04-26 21:19:11 +08:00
wanyaoqi
30e9509275 fix snapshot create disk 2019-04-26 17:53:05 +08:00
yunion-ci-robot
8aa64d024e Merge pull request #645 from Zexi/feature/kvm-support-enable-cloud-init
feature: kvm support enable cloud init when deploy
2019-04-26 15:49:13 +08:00
yunion-ci-robot
d855794cb9 Merge pull request #648 from swordqiu/hotfix/qj-fail-set-model-manager-pointer
fix: use db.FetchModelObjects to batch Query objects
2019-04-26 15:46:12 +08:00
Qiu Jian
cf7b0f724a fix: use db.FetchModelObjects to batch Query objects 2019-04-26 15:39:46 +08:00
ningyu
b43f0626d0 fix: 支持新版的ITSM资源的CRUD操作,包括deployment, process-definition, process-instance, task, historic-process-instance, historic-task-instance 2019-04-26 14:55:12 +08:00
ningyu
78d9972d20 fix: 余额/消费报警引入了项目归属的概念,在创建、列出规则时都需要指定是哪个项目 2019-04-26 14:55:10 +08:00
ningyu
0ce1c59374 refactor: 修正RP提出的问题
- 创建报警规则时使用--xxx的方式,避免位置参数过多导致传递时记不住顺序
- 将nodealert-change-status拆分成2个命令:nodealert-enable, nodealert-disable
- 使用options.ListStructToParams和options.StructToParams方法来精减参数对象的构建
- 其它小问题,如:统一变量命名、纠正注释等
2019-04-26 14:55:07 +08:00
ningyu
2199e99748 feat: 支持为虚拟机或宿主机创建报警规则
需要依赖的服务:meteralert2.8或以上版本
2019-04-26 14:55:02 +08:00
Qiu Jian
c710e92bcd fix: do not directly manage ESXi host that is managed by vcenter 2019-04-26 14:49:28 +08:00
Zexi
25245852db feature: kvm support enable cloud init when deploy 2019-04-26 13:39:05 +08:00
yunion-ci-robot
1050ea3f53 Merge pull request #634 from ioito/hotfix/qx-cloudaccount-sync-time
手动同步的也更新last_auto_sync时间
2019-04-26 00:42:16 +08:00
yunion-ci-robot
412c91cf53 Merge pull request #628 from ioito/hotfix/qx-azure-windows-rebuild-root
Azure: 修复因系统盘大小导致重装系统失败
2019-04-26 00:41:14 +08:00
yunion-ci-robot
be0fb0a74d Merge pull request #611 from Zexi/feature/sched-bm-bonding-check
baremetal schedule net bonding check
2019-04-26 00:40:12 +08:00
yunion-ci-robot
069c168fc4 Merge pull request #633 from ioito/bugfix/qx-network-delete
避免返回不是id not found,导致network一直删除失败
2019-04-26 00:39:12 +08:00
Zexi
8c3a1460cd baremetal schedule net bonding check 2019-04-26 00:20:40 +08:00
ioito
d29c2f5dfd 手动同步的也更新last_auto_sync时间 2019-04-25 22:05:18 +08:00
ioito
7fe69a24b5 避免返回不是id not found,导致network一直删除失败 2019-04-25 21:42:26 +08:00
yunion-ci-robot
20860ba3ef Merge pull request #624 from ioito/hotfix/qx-cloud-init-with-user-default
cloud-init users支持加上default
2019-04-25 21:29:12 +08:00
ioito
dbc392c922 cloud-init users支持加上default 2019-04-25 21:13:32 +08:00
ioito
e3dc5aabd5 Azure: 修复因系统盘大小导致重装系统失败 2019-04-25 21:01:59 +08:00
yunion-ci-robot
279a4b4c8f Merge pull request #610 from ioito/hotfix/qx-sync-remove-vpc
避免同步时删除vpc失败,导致不同步vpc底下资源
2019-04-25 20:51:13 +08:00
yunion-ci-robot
f345f671d6 Merge pull request #614 from wanyaoqi/bugfix/wyq/minor-fix-0425
bugfix: field host_id not found
2019-04-25 18:55:14 +08:00
yunion-ci-robot
de7eb4e886 Merge pull request #613 from ioito/bugfix/qx-azure-create-with-keypair
Azure: 修复虚拟机时未设置keypair路径
2019-04-25 18:49:15 +08:00
yunion-ci-robot
92c17a251a Merge pull request #608 from tb365/bugfix/tb-huawei-release/2.8.0
huawei import keypair & rebuild root & skus filter fix
2019-04-25 18:41:12 +08:00
wanyaoqi
6cc0697e9c bugfix: filed host_id not found 2019-04-25 16:58:40 +08:00
ioito
41939399d7 Azure: 修复虚拟机时未设置keypair路径 2019-04-25 16:35:35 +08:00
yunion-ci-robot
423afb8e5b Merge pull request #609 from swordqiu/hotfix/qj-failed-prepaid-recycle-vm-2.8.0
Hotfix/qj failed prepaid recycle vm 2.8.0
2019-04-25 16:29:12 +08:00
ioito
16689c09f4 避免同步时删除vpc失败,导致不同步vpc底下资源 2019-04-25 12:12:59 +08:00
Qiu Jian
95dfcb6708 update vendor 2019-04-25 11:49:10 +08:00
ioito
0fcf03b4b8 加入重装系统参数校验 2019-04-25 11:41:13 +08:00
TangBin
e7db13d99a huawei import keypair & rebuild root & skus filter fix 2019-04-25 11:26:31 +08:00
yunion-ci-robot
267d692443 Merge pull request #605 from Zexi/hotfix/bm-deploy-restart
fix: baremetal server deploy auto restart not work
2019-04-25 11:07:11 +08:00
Qiu Jian
a1c0099f58 fix: 1. network interface for prepaid-recycle VM incorrect
2. aliyun not support import image of RHEL
2019-04-25 08:47:45 +08:00
yunion-ci-robot
6b0d808ba6 Merge pull request #586 from ioito/hotfix/qx-guest-batch-set-tag
支持批量添加标签api
2019-04-24 22:57:15 +08:00
yunion-ci-robot
4db170fa06 Merge pull request #577 from ioito/hotfix/qx-azure-rebuild-root
Azure重装系统支持初始化密码
2019-04-24 22:13:12 +08:00
ioito
af341a0dce 修复typo错误 2019-04-24 22:06:41 +08:00
yunion-ci-robot
898169da93 Merge pull request #585 from wanyaoqi/hotfix/wyq/import-from-libvirt-use-link-for-disk
hotfix: import from libvirt , use link replace mv
2019-04-24 21:52:11 +08:00
yunion-ci-robot
5e0904eb52 Merge pull request #591 from Zexi/hotfix/sched-prepaid-recycle-host-storage
fix: prepaid recycle host not check storage types
2019-04-24 20:55:12 +08:00
Zexi
1719411868 fix: baremetal server deploy auto restart not work 2019-04-24 19:52:24 +08:00
Zexi
8b1cc4fbee fix: prepaid recycle host not check storage types 2019-04-24 19:25:50 +08:00
yunion-ci-robot
480d25149f Merge pull request #589 from swordqiu/hotfix/qj-not-check-storage-type-for-prepaid-recycle-server
fix: do not set storage-type for prepaid-recycled server
2019-04-24 18:47:12 +08:00
yunion-ci-robot
a4dc291cc3 Merge pull request #587 from Zexi/fix/raid-validate
fix: validate baremetal raid config
2019-04-24 18:41:12 +08:00
Zexi
5123923458 fix: validate baremetal raid config 2019-04-24 18:23:12 +08:00
Qiu Jian
a06ca17846 fix: do not set storage-type for prepaid-recycled server 2019-04-24 18:06:12 +08:00
ioito
f64c2d8af7 重装系统支持初始化密码 2019-04-24 17:45:35 +08:00
ioito
17f99be479 支持批量添加标签api 2019-04-24 16:51:57 +08:00
wanyaoqi
451d11143f import from libvirt link disk, do not move 2019-04-24 15:48:50 +08:00
wanyaoqi
9ad7b46977 rbd disk add auto migrate on start, if mem not enough 2019-04-24 12:21:43 +08:00
yunion-ci-robot
b47623277b Merge pull request #581 from Zexi/bugfix/bm-create-disk-params
fix: baremetal server create params not override disks
2019-04-24 12:13:12 +08:00
Zexi
6f41755ed9 fix: baremetal server create params not override disks 2019-04-24 12:05:44 +08:00
yunion-ci-robot
b6e71c47a7 Merge pull request #578 from zhasm/feature/rex-add-rpms-for-host-and-baremetal-agent
新增编译:host baremetal-agent 两个 rpm
2019-04-24 10:08:11 +08:00
Zhang Dongliang
c070bc1503 新增编译:host baremetal-agent 两个 rpm 2019-04-24 09:57:37 +08:00
yunion-ci-robot
a3565ec8b5 Merge pull request #558 from swordqiu/hotfix/qj-aliyun-renew-billing-cycle-fail
fix: convert billingcycle to aliyun renew period error
2019-04-23 17:31:12 +08:00
yunion-ci-robot
26ae2ea1e1 Merge pull request #549 from mynameisny/bugfix/ningyu-meteralert-project-support
Bugfix/ningyu meteralert project support
2019-04-23 17:01:13 +08:00
ningyu
9219f52e74 fix: 余额/消费报警引入了项目归属的概念,在创建、列出规则时都需要指定是哪个项目 2019-04-23 16:50:33 +08:00
yunion-ci-robot
fed93d382d Merge pull request #557 from wanyaoqi/bugfix/wyq/server-migrate-add-auto-start
feature: server migrate add auto start
2019-04-23 16:49:11 +08:00
yunion-ci-robot
ef58d0330f Merge pull request #536 from wanyaoqi/bugfix/wyq/aliyun-snapshot-delete
bugfix: fix aliyun snapshot delete failed, delete linked images first
2019-04-23 16:30:12 +08:00
yunion-ci-robot
53ba3b20b6 Merge pull request #537 from ioito/hotfix/qx-network-filter-by-city
ip子网支持city过滤
2019-04-23 16:25:11 +08:00
wanyaoqi
6db5f7831f fix aliyun snapshot delete failed, delete linked images first 2019-04-23 16:19:45 +08:00
yunion-ci-robot
72407913e2 Merge pull request #535 from ioito/hotfix/qx-sync-time
同步公有云资源创建时间
2019-04-23 16:15:11 +08:00
ioito
e218dfc6b7 同步公有云资源创建时间 2019-04-23 16:09:11 +08:00
Qiu Jian
055f7c2e65 fix: convert billingcycle to aliyun renew period error 2019-04-23 16:06:23 +08:00
ioito
fcc53fd3e1 ip子网支持city过滤 2019-04-23 15:34:13 +08:00
yunion-ci-robot
8186cadfdc Merge pull request #538 from wanyaoqi/bugfix/wyq/fix-network-split-and-merge
bugfix: fix query networks not set model manager
2019-04-23 14:10:12 +08:00
wanyaoqi
5aa478a52c fix query networks not set model manager 2019-04-23 13:58:50 +08:00
yunion-ci-robot
9e35d532dd Merge pull request #550 from ioito/hotfix/qx-azure-typo-fix
修复azure拼写错误
2019-04-23 13:54:11 +08:00
wanyaoqi
ba6a9f381b server migrate add auto start 2019-04-23 13:52:17 +08:00
yunion-ci-robot
0ea4b4ca97 Merge pull request #525 from swordqiu/hotfix/qj-recode-support-query-count-error-handling
fix: clearn up codes that impacted by query.Count return value changes
2019-04-23 12:43:11 +08:00
Qiu Jian
a95c0bac62 update query.Count to query.CountWithError 2019-04-23 12:02:35 +08:00
ioito
bd95f6b210 修复azure拼写错误 2019-04-23 12:02:09 +08:00
Qiu Jian
c68ad6dc35 update vendor 2019-04-23 11:32:16 +08:00
Qiu Jian
29c1fd3855 fix: clearn up codes that impacted by query.Count return value changes 2019-04-23 11:32:16 +08:00
yunion-ci-robot
11e4e25ea9 Merge pull request #540 from Zexi/bugfix/rpc-domain-update-panic
fix: domain-config-update rpc method panic
2019-04-22 23:03:12 +08:00
yunion-ci-robot
71108497d6 Merge pull request #539 from yousong/bugfix/yousong-lbnetwork-list
loadbalancernetwork: 支持lbnetwork-list --details
2019-04-22 23:02:13 +08:00
yunion-ci-robot
a7e681433b Merge pull request #541 from wanyaoqi/bugfix/wyq/fix-host-clean-recycle-bin
bugfix: fix host clean recycle bin
2019-04-22 20:50:11 +08:00
wanyaoqi
1fffe2f4f8 fix host clean recycle bin 2019-04-22 20:45:39 +08:00
Zexi
b6af182fbb fix: domain-config-update rpc method panic 2019-04-22 19:08:15 +08:00
yunion-ci-robot
0f54450aa0 Merge pull request #477 from tb365/bugfix/tb-aws-rebuild-root
aws rebuild root ignore password/key
2019-04-22 18:14:11 +08:00
Yousong Zhou
1a080fa542 loadbalancernetwork: 支持lbnetwork-list --details 2019-04-22 09:25:42 +00:00
yunion-ci-robot
409e8cf9cc Merge pull request #531 from ioito/hotfix/qx-qcloud-rebuild-root
避免qcloud password和keypair冲突
2019-04-22 14:52:12 +08:00
ioito
8a737fff73 避免qcloud password和keypair冲突 2019-04-22 12:33:40 +08:00
yunion-ci-robot
9c7839ff4e Merge pull request #530 from wanyaoqi/bugfix/wyq/minor-fix-0421
bugfix: fix guest resume on migrate failed, fix snapshot action log
2019-04-22 11:34:11 +08:00
wanyaoqi
1fc841ce0d fix guest resume on migrate failed, fix snapshot action log 2019-04-22 11:29:29 +08:00
yunion-ci-robot
9f0cb207ed Merge pull request #475 from wanyaoqi/bugfix/wyq/guest-start-monitor-on-syncstatus
guest start monitor on sync status
2019-04-22 10:46:11 +08:00
yunion-ci-robot
1906bbdc63 Merge pull request #526 from swordqiu/hotfix/qj-auto-purge-removed-servers
fix: automatically purge removed servers on public cloud
2019-04-22 10:33:11 +08:00
yunion-ci-robot
0570580792 Merge pull request #524 from swordqiu/hotfix/qj-delete-removed-server-status-delete-failed
fix: delete servers that has been removed results in delete_failed status
2019-04-22 09:56:11 +08:00
Qiu Jian
3c35c93b2e fix: automatically purge removed servers on public cloud 2019-04-22 01:48:39 +08:00
Qiu Jian
d6956095f8 fix: delete servers that has been removed results in delete_failed
status
2019-04-21 00:01:51 +08:00
yunion-ci-robot
a44cafa86a Merge pull request #522 from ioito/hotfix/qx-openstack-change-flavor
修复OpenStack更改配置失败问题
2019-04-20 21:38:11 +08:00
ioito
79d9f5007b 避免与INSTANCE_STATUS_VERIFY_RESIZE与INSTANCE_STATUS_RESIZE状一样,导致状态未到INSTANCE_STATUS_VERIFY_RESIZE时发送确认请求 2019-04-20 21:10:44 +08:00
yunion-ci-robot
e354e771b2 Merge pull request #520 from ioito/hotfix/qx-openstack-change-flavor
修正openstack状态
2019-04-20 19:54:12 +08:00
ioito
bda1319d1c 修正openstack状态 2019-04-20 19:07:24 +08:00
yunion-ci-robot
1a80547c27 Merge pull request #518 from swordqiu/hotfix/qj-cloud-account-sync-skip-db-failure
fix: cloud-account sync ignore db failure
2019-04-20 18:52:11 +08:00
Qiu Jian
beee1fae03 fix: cloud-account sync ignore db failure 2019-04-20 18:31:52 +08:00
yunion-ci-robot
3d5bb8a184 Merge pull request #516 from swordqiu/hotfix/qj-fix-server-skus-ignore-esxi
fix: esxi server skus return empty results
2019-04-20 18:05:11 +08:00
Qiu Jian
d8d73762a2 fix: esxi server skus return empty results 2019-04-20 17:57:58 +08:00
yunion-ci-robot
e17d857cc5 Merge pull request #514 from swordqiu/hotfix/qj-cloud-account-provider-event-logs
fix: cloud account/provider missing event logs for delete/enable/disable/change_project
2019-04-20 17:16:12 +08:00
yunion-ci-robot
207b7600b8 Merge pull request #503 from tb365/bugfix/tb-instance-spec-cache-fix
fix instance spec list query cache error
2019-04-20 17:07:11 +08:00
Qiu Jian
ffbb7e362b fix: cloud account/provider missing event logs for
delete/enable/disable/change_project
2019-04-20 17:05:29 +08:00
TangBin
aa20a7a028 optimaze QueryRelatedRegionIds 2019-04-20 16:22:17 +08:00
yunion-ci-robot
49438c335d Merge pull request #509 from swordqiu/hotfix/qj-server-create-iso-fail
fix: create server with iso failed
2019-04-20 16:12:13 +08:00
yunion-ci-robot
b388a7d42a Merge pull request #510 from Zexi/feature/new-host-spec
feature: new host spec
2019-04-20 16:10:11 +08:00
TangBin
9f3266d1eb fix skus & zone-list & cloud-region-list query with params manager&account 2019-04-20 16:06:34 +08:00
Zexi
bf4f584a13 feature: new host spec 2019-04-20 16:01:40 +08:00
Qiu Jian
bd07446285 fix: create server with iso failed 2019-04-20 15:45:31 +08:00
yunion-ci-robot
8e508b6f31 Merge pull request #507 from Zexi/hotfix/server-create-params-net-bonding
fix: server-create-params network boding config
2019-04-20 14:59:11 +08:00
Zexi
27ffbf8002 fix: server-create-params network boding config 2019-04-20 14:40:18 +08:00
yunion-ci-robot
d988e7dc41 Merge pull request #505 from swordqiu/hotfix/qj-host-list-filter-by-hypervisor
allow list hosts by hypervisor
2019-04-20 12:48:12 +08:00
Qiu Jian
b4240bf0bf allow list hosts by hypervisor 2019-04-20 12:44:00 +08:00
TangBin
97033be097 修复实例规格列表缓存key错误&修复cloudregion manager过滤查询错误 2019-04-20 12:02:56 +08:00
wanyaoqi
dac8059f1f guest start monitor on sync status 2019-04-20 11:19:49 +08:00
tangbin
4931b65a51 string format bugfix 2019-04-19 20:51:21 +08:00
yunion-ci-robot
a31e8172a1 Merge pull request #489 from ioito/hotfix/qx-validate-create-vpc
腾讯云要求vpc掩码范围需在16 - 28之间
2019-04-19 20:07:21 +08:00
yunion-ci-robot
f8be4027f1 Merge pull request #493 from ioito/hotfix/qx-host-server-ignore-rbd-error
避免因ceph存储阻塞host 服务启动
2019-04-19 20:02:10 +08:00
ioito
4ed3d9c192 腾讯云要求vpc掩码范围需在16 - 28之间 2019-04-19 17:53:24 +08:00
TangBin
8f7a802d8c aws rebuild root ignore password/key 2019-04-19 17:02:32 +08:00
yunion-ci-robot
da8e2ce6b1 Merge pull request #491 from swordqiu/hotfix/qj-server-update-validate-skip-quota-check-if-cpu-mem-not-set
fix: skip quota check in server validateupdatedata if cpu and mem not updated
2019-04-19 16:52:12 +08:00
ioito
81f13a0286 添加连接ceph超时时间 2019-04-19 16:00:11 +08:00
ioito
32ea2c9227 忽略rbd错误,并将rbd storage置为离线 2019-04-19 14:45:41 +08:00
yunion-ci-robot
eac3871ad0 Merge pull request #490 from swordqiu/hotfix/qj-cloud-env-filter-for-private_or_onpremise
fix: add cloud_env filter of private_or_onpremise
2019-04-19 12:45:10 +08:00
Qiu Jian
a04be21c61 fix: skip quota check in server validateupdatedata if cpu and mem not
updated
2019-04-19 12:32:28 +08:00
Qiu Jian
c1c57b88af fix: add cloud_env filter of private_or_onpremise 2019-04-19 12:00:53 +08:00
yunion-ci-robot
5fa4ce519a Merge pull request #487 from ioito/hotfix/qx-metadata-empty-return
避免标签为空时,未返回{data:[]}结构
2019-04-19 11:53:10 +08:00
ioito
74fdcd97b7 避免标签为空时,未返回{data:[]}结构 2019-04-19 11:21:47 +08:00
yunion-ci-robot
6b8ed262e3 Merge pull request #474 from ioito/bugfix/qx-rebuild-root
避免一些公有云重装系统后数据未刷新导致任务失败
2019-04-18 23:09:10 +08:00
yunion-ci-robot
05951abd6d Merge pull request #476 from ioito/hotfix/qx-create-windows-without-cloud-init
避免创建Windows时使用linux格式的userData
2019-04-18 22:24:10 +08:00
yunion-ci-robot
ca95d3dd54 Merge pull request #480 from wanyaoqi/bugfix/wyq/fix-matedata-handler
fix metadata handler not return
2019-04-18 19:35:11 +08:00
wanyaoqi
c751d1da43 fix metadata handler not return 2019-04-18 19:15:56 +08:00
yunion-ci-robot
141da5740d Merge pull request #478 from Zexi/feature/spec-mcclient-mod
feature: mcclient spec modules add rpc method
2019-04-18 18:48:10 +08:00
Zexi
39689fed66 feature: mcclient spec modules add rpc method 2019-04-18 18:42:07 +08:00
ioito
179d60fe0f 避免创建Windows时使用linux格式的userData 2019-04-18 16:14:46 +08:00
ioito
01b8c046fd 避免一些公有云重装系统后数据未刷新导致任务失败 2019-04-18 15:30:17 +08:00
yunion-ci-robot
731844785f Merge pull request #470 from tb365/bugfix/tb-sku-sync-to-schduler
sync sku to scheduler
2019-04-18 15:27:10 +08:00
TangBin
b6af86621d fix import 2019-04-18 15:24:51 +08:00
yunion-ci-robot
85b1ccd2cb Merge pull request #452 from ioito/hotfix/qx-metadata-list
兼容标签返回结构
2019-04-18 13:55:10 +08:00
TangBin
986126a675 sync sku to scheduler 2019-04-18 11:22:48 +08:00
ioito
ebf53fad26 兼容标签返回结构 2019-04-18 11:20:12 +08:00
yunion-ci-robot
85b41c0dc1 Merge pull request #457 from yousong/bugfix/yousong-enhance-db-tasks
Bugfix/yousong enhance db tasks
2019-04-18 10:57:10 +08:00
yunion-ci-robot
43f7bcf7a5 Merge pull request #371 from Zexi/feature/network-schedtag
support network schedtag
2019-04-18 10:25:10 +08:00
Zexi Li
e01c4e590f support network schedtag 2019-04-18 09:48:18 +08:00
yunion-ci-robot
04f9ae4d46 Merge pull request #463 from swordqiu/hotfix/qj-image-status-converting
fix: image status should be converting after upload
2019-04-17 23:26:14 +08:00
yunion-ci-robot
636a803791 Merge pull request #454 from swordqiu/feature/qj-unified-cloud-provider-env-filter-support
Add unified cloud provider and env filter for any resource list
2019-04-17 23:02:12 +08:00
Yousong Zhou
3b2677acd1 tasks: 改善查询语句
- 索引简化,obj_id的区分度非常高,且在QueryTasksOfObject()等相关的查询中是确定出现的
   - obj_name可认为被obj_id唯一确定
   - created_at若出现可假设被MySQL Index Merge优化
   - stage的值是可枚举的
 - Join taskobjects_tbl时,避免使用子查询查全表
 - 使用Union合并两个查询结果
2019-04-17 14:58:50 +00:00
Qiu Jian
d89d17cfa5 fix: 1. image status should be converting after upload 2. move consts to
apis 3. add image-event command
2019-04-17 22:45:28 +08:00
yunion-ci-robot
8d1cb49cc7 Merge pull request #450 from swordqiu/hotfix/qj-fix-kvm-force-use-qcow2-image
fix: 1. force use qcow2 format when creating kvm VM 2. add template lock
2019-04-17 22:34:15 +08:00
yunion-ci-robot
cc55cfc029 Merge pull request #449 from ioito/hotfix/qx-eip-associate-failed-log
添加EIP操作相关日志记录
2019-04-17 22:30:15 +08:00
yunion-ci-robot
2b6d188d9d Merge pull request #423 from Zexi/bugfix/add-status-api
fix: region statusstandalone resource get status api missing
2019-04-17 22:25:11 +08:00
yunion-ci-robot
0706227c4a Merge pull request #408 from wanyaoqi/feature/wyq/export-to-libvirt
feautre guest export to libvirt
2019-04-17 22:23:11 +08:00
Yousong Zhou
bffb41d0ec vendor: 更新yunion.io/x/sqlchemy 2019-04-17 13:35:08 +00:00
Zexi
c724a216a3 fix: region statusstandalone resource get status api missing 2019-04-17 21:08:38 +08:00
yunion-ci-robot
ccb3bcbd78 Merge pull request #453 from Zexi/feature/scheduler-region-disk-select-storage
改进调度器 disk 选择 storage 的逻辑:
2019-04-17 18:38:10 +08:00
Qiu Jian
08dd0312b1 Add unified cloud provider and env filter for any resource list 2019-04-17 18:24:57 +08:00
wanyaoqi
9188ee054f fix guest concurrent start, add start work 2019-04-17 17:48:05 +08:00
wanyaoqi
533e001c4a qemu add serial device, fix system service detect os 2019-04-17 17:48:05 +08:00
wanyaoqi
d13c229dbc 1. server export to libvirt generate virt install script
2. fix server import from libvirt
2019-04-17 17:48:05 +08:00
Zexi
7848a36f32 改进调度器 disk 选择 storage 的逻辑:
- 调度器选择 disk 对应一组 storages
- 主备机磁盘选择 storage
- 减少公有云选择 storage 的重复代码
2019-04-17 17:30:13 +08:00
Qiu Jian
324a390732 fix: cancel force qcow2 on local image cache, which cause esxi to use
qcow2 template
2019-04-17 16:55:58 +08:00
Qiu Jian
5294c15c4b fix: 1. force use qcow2 format when creating kvm VM 2. add template lock 2019-04-17 16:55:58 +08:00
yunion-ci-robot
ecb3ccbb09 Merge pull request #448 from Zexi/server-metadata-display-enhance
hide some server metadata
2019-04-17 16:28:10 +08:00
Zexi
869b249374 hide some server metadata 2019-04-17 14:28:24 +08:00
ioito
93d1096c2a 修正拼写错误 2019-04-17 14:27:23 +08:00
yunion-ci-robot
b199346c90 Merge pull request #441 from Zexi/bugfix/public-cloud-vm-reset-passwd-invalid
fix: 创建公有云虚拟机保留镜像原密码功能失效
2019-04-17 14:27:12 +08:00
ioito
6a7136f2cc 添加eip相关日志记录 2019-04-17 14:01:58 +08:00
yunion-ci-robot
05625ffc26 Merge pull request #426 from ioito/hotfix/qx-webconsole-ssh-support-port
webconsole支持指定端口ssh连接
2019-04-17 13:48:10 +08:00
yunion-ci-robot
86f26d1674 Merge pull request #442 from ioito/hotfix/qx-lb-validate
避免阿里云lb参数校验循环调用
2019-04-17 13:46:09 +08:00
屈轩
3be12645b5 webconsole支持指定端口ssh连接 2019-04-17 13:25:22 +08:00
ioito
dd744d3a2b 修复lb参数校验异常问题 2019-04-17 13:06:30 +08:00
Zexi
9919e7cfed fix: 创建公有云虚拟机保留镜像原密码功能失效 2019-04-17 12:38:48 +08:00
yunion-ci-robot
35ed8903bc Merge pull request #439 from Zexi/bugfix/region-const-undefine
fix: region sku consts undefined
2019-04-17 12:26:09 +08:00
Zexi
9f6398ec89 fix: region sku consts undefined 2019-04-17 12:18:20 +08:00
yunion-ci-robot
0fc7eaec07 Merge pull request #430 from swordqiu/hotfix/qj-move-models-consts-to-apis
fix: move all consts in compute/models to apis/compute
2019-04-17 10:33:10 +08:00
yunion-ci-robot
50b3dd84bd Merge pull request #429 from ioito/hotfix/qx-metata-api
优化返回标签结构
2019-04-17 10:31:10 +08:00
yunion-ci-robot
acb9b7c4b6 Merge pull request #417 from tb365/bugfix/tb-sku-instance-spec-query-add-cache
instance spec query add cache
2019-04-17 10:28:11 +08:00
ioito
e3800c8ffc 添加返回distinct标签 2019-04-17 10:22:50 +08:00
yunion-ci-robot
f40e9df56e Merge pull request #427 from swordqiu/hotfix/qj-fix-cloudcommon-policy-test-error
Hotfix/qj fix cloudcommon policy test error
2019-04-17 10:18:10 +08:00
yunion-ci-robot
1efb6480af Merge pull request #431 from swordqiu/hotfix/qj-cloud-account-queued-status-omited
fix: cloud account sync status not accurate
2019-04-17 09:58:09 +08:00
Qiu Jian
5e4ac465d5 remove comments 2019-04-17 09:29:58 +08:00
Qiu Jian
037d37d0e3 fix: pkg/cloudcommon/policy/ go test failure 2019-04-17 09:29:58 +08:00
Qiu Jian
04e1789978 update vendor and Gopkg.lock 2019-04-17 09:29:58 +08:00
Qiu Jian
da57161fd0 fix: move all consts in compute/models to apis/compute 2019-04-17 09:23:19 +08:00
yunion-ci-robot
3ddbda206c Merge pull request #428 from Zexi/bugfix/usage-guest-count
fix: region usage guest 统计数量包括 host disabled
2019-04-17 02:05:11 +08:00
Qiu Jian
baac390351 fix: cloud account sync status not accurate 2019-04-17 02:00:51 +08:00
Zexi
33e7a32a12 fix: region usage guest 统计数量包括 host disabled 2019-04-16 21:03:21 +08:00
yunion-ci-robot
23fe739750 Merge pull request #424 from Zexi/bugfix/capability-duplicate-res
fix: capabilitie api duplicate info
2019-04-16 20:34:09 +08:00
Zexi
3437663ae2 fix: capabilitie api duplicate info 2019-04-16 20:29:54 +08:00
yunion-ci-robot
2eaee144a1 Merge pull request #419 from ioito/hotfix/qx-openstack-secgroup-error
避免OpenStack不支持安全组部署失败
2019-04-16 18:54:10 +08:00
yunion-ci-robot
8460d58e9a Merge pull request #418 from Zexi/update-circleci-config
circleci: update test config and make test pass
2019-04-16 18:15:10 +08:00
TangBin
50d45b560b only list vpc usable skus 2019-04-16 18:01:18 +08:00
屈轩
104461a666 避免OpenStack不支持安全组部署失败 2019-04-16 17:58:58 +08:00
Zexi
cc1b2e02ff circleci: update test config and make test pass 2019-04-16 17:45:00 +08:00
yunion-ci-robot
b70e005774 Merge pull request #414 from Zexi/bugfix/make-tests-pass
Bugfix/make tests pass
2019-04-16 13:09:10 +08:00
Zexi
8ec7c519bc add scripts/coverage.sh 2019-04-16 12:55:13 +08:00
TangBin
d8ced4352e instance spec query add cache 2019-04-16 10:35:35 +08:00
yunion-ci-robot
984034c89d Merge pull request #415 from swordqiu/hotfix/qj-cloud-account-queued-status-omited
fix: cloud account queued sync_status is override as idle
2019-04-16 00:54:09 +08:00
Qiu Jian
5e562dd2bb fix: cloud account queued sync_status is overried as idle 2019-04-15 23:30:14 +08:00
Zexi
db0e303798 make 'go test ./...' pass 2019-04-15 19:54:46 +08:00
yunion-ci-robot
39151ab2ab Merge pull request #402 from ioito/hotfix/qx-auto-sync-time
Hotfix/qx auto sync time
2019-04-15 18:15:12 +08:00
yunion-ci-robot
6eb3a0f586 Merge pull request #404 from Zexi/bugfix/capability-account
fix: capability 接口没有考虑 cloudaccount 的禁用情况
2019-04-15 18:00:12 +08:00
yunion-ci-robot
5ec015db5f Merge pull request #403 from yousong/bugfix/yousong-cherrypick-subject
scripts/cherry_pick_pull.sh: 健壮性加强
2019-04-15 17:18:10 +08:00
Zexi
1e4898f18a fix: capability 接口没有考虑 cloudaccount 的禁用情况 2019-04-15 17:12:57 +08:00
屈轩
d42d250674 typo 2019-04-15 16:39:23 +08:00
Jian Qiu
3d4766611c Feature: host support centos 6 (#406) 2019-04-15 16:11:10 +08:00
屈轩
dfa0285dec 避免创建不受支持的loadbalancer (#401) 2019-04-15 15:50:10 +08:00
rex zhasm
2fe357ad9b Websockets 不再拉取 ActionLog 的消息 (#398) 2019-04-15 15:24:10 +08:00
Zexi Li
eab87ed6df fix: scheduler forecast backup server not work (#399) 2019-04-15 15:17:10 +08:00
Yousong Zhou
30c6881445 scripts/cherry_pick_pull.sh: 健壮性加强
- 多行subject全取出,不截断
 - 与PYTHONENCODING, locale设置无关,直接写utf-8输出
2019-04-15 06:15:04 +00:00
屈轩
76527b7d4e 加入自动同步时间字段 2019-04-15 11:22:44 +08:00
Zexi Li
a418df7854 region: add one random config if user input net config is empty when create server (#379) 2019-04-13 22:07:10 +08:00
Zexi Li
434fc54623 fix: server create params isolated device config no vendor and device type info (#377) 2019-04-13 21:49:12 +08:00
tb365
7d3e03fd09 Bugfix/tb sku fix (#384)
* sku filter fix

* change aws default secgroup name

* sku provider filter fix
2019-04-13 21:44:11 +08:00
屈轩
5b9dac9fc7 Hotfix/qx lb manager (#327)
* 设置lb manager_id

* 公有云真删除model
2019-04-13 21:37:09 +08:00
屈轩
98eab54ab7 磁盘大小向上取整 (#385) 2019-04-13 21:23:09 +08:00
Zexi Li
6c51431034 fix: scheduler sku cache stale when region sync sku finished (#380) 2019-04-13 19:56:09 +08:00
屈轩
313a898360 Hotfix/qx cloudprovider info (#368)
* 通用返回cloudprovider info信息

* 通用返回cloudprovider info信息
2019-04-13 19:55:09 +08:00
rex zhasm
a8563740e3 为 climc 增加 update-perform --cmp-only 选项,只升级计算节点 (#365)
*  为 climc 增加 update-perform --cmd-only 选项,只升级计算节点; 2个选项 只允许选择其中1个

* minor
2019-04-13 19:53:08 +08:00
Yousong Zhou
4550229a84 lb: https: allow change certificate (#378) 2019-04-13 16:59:09 +08:00
Zexi Li
34ddb8ea4b add https://github.com/stretchr/testify to vendor for unit tests (#367) 2019-04-13 10:59:09 +08:00
Yousong Zhou
6b255aa008 lb: 改正预删listener时未预删listener rule (#373) 2019-04-13 00:48:09 +08:00
Yousong Zhou
215626b5df Bugfix/yousong lb delete (#370)
* lb: 修复backend group删除时未删backend

* lb: 预删子资源时排除掉已预删的资源

* lb: s/PreDeleteSubs/pendingDeleteSubs/
2019-04-13 00:18:09 +08:00
tb365
35cbe049d1 huawei disk delete error fix (#326) 2019-04-12 23:08:11 +08:00
Jian Qiu
e3946e8485 fix: fail to delete removed cloud resources (#364)
* fix: fail to delete removed cloud resources

* fix: private_cloud and on_premise filter overlaps

* fix: loadbalancer* should use pending_delete to remove resources
2019-04-12 21:14:10 +08:00
屈轩
bf7a6a2b30 移除重复代码 (#359) 2019-04-12 16:58:08 +08:00
屈轩
6a5dbbf237 增加判断subtask准确度 (#352) 2019-04-12 14:59:09 +08:00
屈轩
fce4c9490a 避免eip未找到时,未设置server状态为fail (#350) 2019-04-12 14:23:09 +08:00
Zexi Li
2320dd0ad3 fix: baremetal scheduler forecast fail (#349) 2019-04-12 12:34:08 +08:00
Jian Qiu
d685bd2f15 fix: baremetal support options for tftp timeout retry times and block (#344)
size
2019-04-11 20:47:10 +08:00
Zexi Li
1b30654983 fix: webconsole vmrc protocol not support (#336) 2019-04-11 15:01:09 +08:00
Jian Qiu
c07faba68b fix: esxi ignore check file failure in host.getIStoragecache (#335) 2019-04-11 14:44:08 +08:00
Jian Qiu
0c9fcb2ba4 fix: fail to fetch private image as admin role (#334) 2019-04-11 13:46:08 +08:00
Jian Qiu
29ec0ced57 fix: server-deploy fail to set password if reset_password not set (#330) 2019-04-10 23:18:08 +08:00
Zexi Li
3775c09326 fix: create disk input need storage_id in JSON object (#328) 2019-04-10 20:22:10 +08:00
Jian Qiu
d8d29390bd fix: limit baremetal tftp MaxBlockSize to 512 (#322) 2019-04-10 17:41:09 +08:00
wanyaoqi
e798e46230 bugfix: (#320)
fix server-change-config prase disks config error
    fix server deploy change password
2019-04-10 16:35:08 +08:00
Zexi Li
2b6e19227a fix: add server create-params region and zone info (#318) 2019-04-10 15:04:13 +08:00
Jian Qiu
53570fd78a fix: 1. baremetal always boot from pxe 2. baremetal prepare retry (#307)
multiple local ipmi address
2019-04-10 11:45:10 +08:00
屈轩
dd7f7c9bf9 避免guest状态出现中间ready的情况 (#296) 2019-04-10 11:20:08 +08:00
Yousong Zhou
773feb11a4 lblistener: 检查更新参数时默认使用已绑定acl (#303)
避免报missing acl argument错误
2019-04-10 11:05:08 +08:00
Jian Qiu
826ddd2af4 Hotfix/qj cloud account provider enable status (#283)
* fix: make cloud account&provider enable status more consistent

* comment out FetchCustomizeColumns debug info

* fix: cloud account periodic probe should not relay on enabled status

* misc bug fixes
2019-04-09 22:12:10 +08:00
屈轩
0ccde5e1e7 避免net_desc为空未进行错误处理,避免network没有IP地址 (#302) 2019-04-09 22:09:12 +08:00
Zexi Li
4e47cf332e baremetal-agent: fix host undo convert duplicate access_mac error (#300) 2019-04-09 21:07:11 +08:00
Zexi Li
c8e44179f6 fix: server clone 参数处理扩容情况 (#298) 2019-04-09 18:28:08 +08:00
屈轩
6dd1fb0617 避免未setstorageinfo之前连接ceph集群 (#290) 2019-04-09 16:40:08 +08:00
Zexi Li
9724d82924 fix: scheduler disk schedtag filter host type not convert to guest hypervisor (#294) 2019-04-09 16:36:08 +08:00
tb365
1903880ee6 华为云主机创建及重装系统等问题修复 (#245)
* huawei test bugfix

* add WaitStatusWithDelay method
2019-04-09 11:00:31 +08:00
Zexi Li
886c66bc67 fix: scheduler network predicate not set capability when host filtered (#279) 2019-04-08 22:35:41 +08:00
Zexi Li
a7a672bf6c fix: host 内存规格信息直接为 MB (#281) 2019-04-08 22:27:34 +08:00
Zexi Li
2393df6bda fix: scheduler schedtag filters execute when candidates specified (#277) 2019-04-08 22:24:34 +08:00
Zexi Li
6e67c0a745 region: enhance server clone releated apis (#270) 2019-04-08 22:05:33 +08:00
Jian Qiu
a2417ef77b Feature: allow delete cloud-account with resources (#252) 2019-04-08 22:04:33 +08:00
屈轩
cc1753705d 修复选择endpoint type异常错误 (#266) 2019-04-08 21:08:34 +08:00
wanyaoqi
b9696578f8 fix task complete (#262) 2019-04-08 21:06:31 +08:00
屈轩
43a428d7ff 修复:通过镜像创建的磁盘只能使用镜像ID参数 (#258) 2019-04-08 21:04:33 +08:00
Zexi Li
1da81c57f8 fix: scheduler input incompatibility (#271) 2019-04-08 20:19:32 +08:00
Jian Qiu
abf4138f10 fix: running guest count incorrect if containers running on host (#273) 2019-04-08 18:46:32 +08:00
Zexi Li
48bfd96024 fix: region list empty or occupied hosts not work (#256) 2019-04-08 15:57:34 +08:00
Zexi Li
599aa4a6f6 region: storage support set schedtags (#223) 2019-04-08 10:25:31 +08:00
wanyaoqi
bf0274779b fix climc server-deploy (#243) 2019-04-04 22:12:32 +08:00
屈轩
8498ad66a0 优化扩容已挂载磁盘失败问题 (#236) 2019-04-04 21:56:34 +08:00
Jian Qiu
b73c236792 fix: move vm's metadata sync into deep sync cycle (#233) 2019-04-04 21:49:36 +08:00
wanyaoqi
0623419b6a action log send to ws service (#224) 2019-04-04 20:39:30 +08:00
Zexi Li
f1cf7f229e fix: baremetal convert to host missing cpu and memory params (#241) 2019-04-04 19:40:31 +08:00
Yousong Zhou
0d94e869eb Bugfix/yousong use xxxln (#235)
* treewide: fix typo cloudprovide

* dep: update yunion.io/x/log

* treewide: log.Errorf(err.Error()) to log.Errorln(err)
2019-04-04 18:45:32 +08:00
Zexi Li
757dc68c28 fix: GetJointModule2 无法找到 compute_v2 的 endpoint (#225) 2019-04-04 18:23:19 +08:00
Zexi Li
880e2444c1 cherry_pick_pull: 兼容python3 (#232) 2019-04-04 17:00:18 +08:00
wanyaoqi
a22ad1ebc8 implement hijacker (#226) 2019-04-04 16:04:21 +08:00
屈轩
5e69f2040f 同步镜像最小要求系统盘大小 (#210) 2019-04-04 11:53:20 +08:00
屈轩
5390c92ea0 添加缺失的climc参数选项 (#216) 2019-04-04 11:20:21 +08:00
Jian Qiu
723e943ccc fix: mark synced removed server with @lost<date> suffix (#214) 2019-04-04 00:33:29 +08:00
屈轩
9a2a437444 增加错误重试,增加任务成功率 (#197) 2019-04-03 21:38:29 +08:00
Jian Qiu
1406bcc061 feature: add option NameSyncResources to specify resources allowing name (#211)
synchronization
2019-04-03 21:24:28 +08:00
Jian Qiu
316335267a improve server-list performance (#193)
* improve server-list performance

FetchCustomizeColumns that fetch extra fields for all rows 3. separate
read and write http request session

* update vendor

* update: optimize multi-column indexes
2019-04-03 20:24:28 +08:00
屈轩
72f721bc0c 补充缺失的allowempty tag (#201)
* 补充缺失的allowempty tag

* 添加一个可以忽略的错误
2019-04-03 17:21:37 +08:00
Zexi
4cd61c9c5e add OWNERS to support CI robot 2019-04-03 17:19:38 +08:00
wanyaoqi
324f4e9767 bugs fix 2019-04-03 10:46:17 +08:00
Zexi Li
45fdebf2ea region: save server create params into metadata 2019-04-03 00:49:52 +08:00
wanyaoqi
6841d16b87 gpu: find gpu iommu group devs and bind all dev to driver vfio-pci (#171) 2019-04-03 00:14:05 +08:00
Zexi Li
3b530c6987 climc: use default webconsole server url 2019-04-02 23:49:04 +08:00
屈轩
56967eab98 腾讯云重装系统后状态默认是running 2019-04-02 23:48:22 +08:00
屈轩
638bf68294 修复:判断镜像状态逻辑错误 2019-04-02 22:24:07 +08:00
屈轩
328d261163 忽略因镜像问题导致初始化失败 2019-04-02 21:36:58 +08:00
屈轩
428d528b5e 避免rebuild_root时因镜像状态变化导致上传镜像超过限制 2019-04-02 21:23:35 +08:00
屈轩
14dd14d53d 手动同步时默认是深度全量同步 2019-04-02 20:50:52 +08:00
屈轩
8abff83afc 同步安全组以公有云为主 2019-04-02 20:48:09 +08:00
屈轩
01398c5138 加入自动同步时自动合并安全组 2019-04-02 20:48:09 +08:00
Zexi Li
4654765a94 优化scheduler缓存的sku数据 (#168) 2019-04-02 20:05:18 +08:00
屈轩
15d4374aad openstack不能有protocol参数 (#174) 2019-04-02 17:48:22 +08:00
wanyaoqi
b63f957c9c bugfix: guest desc and guest create backup (#155)
* bugfix:
    1. fix get network desc choose wrong host wire
    2. fix guest create backup doesn't cache iso image

* host wire detach filter by mac addr
2019-04-02 11:51:11 +08:00
wanyaoqi
f0810bbe88 guest import from libvirt (#11)
* import servers from libvirt

* dep add libvirt-go-xml

* fix code

* fix code
2019-04-01 23:07:41 +08:00
Qiu Jian
dc25febb16 fix: image stream error should return immediately 2019-04-01 22:59:37 +08:00
Qiu Jian
7932c0bee7 fix: ucloud GetBalance return ErrNotSupported 2019-04-01 21:02:03 +08:00
Qiu Jian
2c515a7edd fix: exclude hosts whose cloud provider's status not in
CLOUD_PROVIDER_VALID_STATUS
2019-04-01 21:02:03 +08:00
Qiu Jian
b659789c62 fix: track balance status of cloud account and avoid unhealth account 2019-04-01 21:02:03 +08:00
屈轩
8ba87b91c2 修复Azure: 创建instance使用network-interface ID而非network ID 2019-04-01 20:48:36 +08:00
屈轩
32c80c5464 支持按成功与否过滤 2019-04-01 20:45:25 +08:00
屈轩
26dd8491ff 腾讯云使用shell格式userdata,避免和cloud-init冲突导致绑定秘钥失败 2019-04-01 11:19:10 +08:00
Qiu Jian
3a08aa47cf fix: allow automatically choosing available disk storage type if host given 2019-04-01 10:05:23 +08:00
Jian Qiu
db90c53d67 fix: skip syncing status if guest in failure status (#138) 2019-03-31 22:03:08 +08:00
Jian Qiu
fd2a09462a fix: recode host convert hypervisor, make logic more clear (#134) 2019-03-31 22:00:40 +08:00
Jian Qiu
3f2f7453e3 fix: host update status should notify scheduler (#130) 2019-03-31 21:51:54 +08:00
Jian Qiu
0a0a44b48d fix: anonymous user may have admin priviliges (#124) 2019-03-31 15:24:41 +08:00
Yousong Zhou
b1ec75d65c notify_templates: 改进消息标题和内容 (#107)
- 标题内容改进
 - 简化内容
2019-03-30 12:27:09 +08:00
Qiu Jian
cab68198a0 feature: host add property server_ips that carries the ip list of
baremetal server
2019-03-30 08:11:17 +08:00
Qiu Jian
2519ef5551 fix: ni usercred cause rbac check panic 2019-03-29 22:08:26 +08:00
tb365
325376a138 修复AWS资源名称为空的问题&增加注入用户登录信息 (#94) 2019-03-29 20:51:36 +08:00
Qiu Jian
fefdb706f3 fix: the default policy for actions not matching any rule defaults to allow 2019-03-29 20:45:38 +08:00
tb365
43ffaa9a9e vm metrics fix (#117) 2019-03-29 20:10:58 +08:00
wanyaoqi
b20a1c454a fix storage commit rate 2019-03-29 18:53:39 +08:00
屈轩
2583b4ed83 避免续费时未刷新虚拟机状态 2019-03-29 18:36:43 +08:00
屈轩
4ef8286015 避免uncache公有云镜像失败 2019-03-29 17:33:07 +08:00
wanyaoqi
d694500d5e set host default enable (#103) 2019-03-29 17:30:40 +08:00
屈轩
a6987b3cb8 使用控制台名称作为同步名称 2019-03-29 16:34:39 +08:00
Qiu Jian
004d9b6f95 update copyright headers of all source 2019-03-29 14:47:48 +08:00
Qiu Jian
cfd3ae405b update gencopyright script to use // comments 2019-03-29 14:47:48 +08:00
Qiu Jian
8993b4acf9 Add helper scripts 2019-03-29 14:47:48 +08:00
屈轩
261fd5aa1d 避免绑定秘钥失败后机器还关联着秘钥 2019-03-29 11:45:20 +08:00
ningyu
ff01085fde refactor: 修正RP提出的问题
- 创建报警规则时使用--xxx的方式,避免位置参数过多导致传递时记不住顺序
- 将nodealert-change-status拆分成2个命令:nodealert-enable, nodealert-disable
- 使用options.ListStructToParams和options.StructToParams方法来精减参数对象的构建
- 其它小问题,如:统一变量命名、纠正注释等
2019-03-29 10:54:34 +08:00
ningyu
5450243ad5 feat: 支持为虚拟机或宿主机创建报警规则
需要依赖的服务:meteralert2.8或以上版本
2019-03-29 10:54:34 +08:00
Yousong Zhou
440d29422f README.md: add build status for master branch (#84) 2019-03-29 06:53:03 +08:00
Qiu Jian
0774c9baed fix: do not auto clean expired prepaid servers by default 2019-03-29 00:42:23 +08:00
Qiu Jian
8ef19141a2 add more optimization 2019-03-29 00:42:23 +08:00
Qiu Jian
d86068aa7b minor fixes 2019-03-29 00:42:23 +08:00
Qiu Jian
f9624c90dd fix: reduce sync workdload by not always sync VM disk/nics/eips & images 2019-03-29 00:42:23 +08:00
wanyaoqi
a759f34819 vm clone 2019-03-28 23:06:20 +08:00
Zhang Dongliang
a5774f4fd1 删除底层的 action log 2019-03-28 22:32:40 +08:00
Yousong Zhou
42db8ef9ab circleci: initial version 2019-03-28 22:06:20 +08:00
Zhang Dongliang
e3268c14d9 为公有云增加 rpm 的定义 2019-03-28 16:33:33 +08:00
Yousong Zhou
ac1f1151d9 cherry_pick_pull.sh: decode quoted-printables when making pr 2019-03-28 16:08:54 +08:00
屈轩
a595427f12 prefer using keypair not password (#66) 2019-03-28 15:52:04 +08:00
Qiu Jian
bd531dcec3 fix: make cherry_pick_pull.sh comptabile with older git not support
get-url
2019-03-28 10:19:49 +08:00
Qiu Jian
a309f51622 fix: 1. cloud provider update status should clear scheduler cache 2. fix
rbact issue prevent admin from creating prepaid vm
2019-03-28 10:15:20 +08:00
屈轩
97dc2c8a36 fixed security group name duplication that prevented instance from filtering by security group 2019-03-27 22:07:39 +08:00
屈轩
1229ff4242 fixed an issue where waiting times were too long due to a lack of refresh operations (#40) 2019-03-27 21:00:21 +08:00
屈轩
890099d99b remove guest secgroup rule detail (#39) 2019-03-27 20:59:37 +08:00
TangBin
892f96dc91 aws not found error fix 2019-03-27 20:15:52 +08:00
Yunion.io
4856ece09c Create pull_request_template.md 2019-03-27 19:48:17 +08:00
屈轩
c6c39b738e 避免计费找不到price_key 2019-03-27 18:45:09 +08:00
屈轩
3866a09915 避免err为nil时指针访问异常 2019-03-27 17:40:15 +08:00
Zexi Li
6eb6fa6161 Add travis ci config 2019-03-27 17:25:04 +08:00
Zexi Li
b9cc29f4f1 fix: scheduler choose backend incorrect (#22) 2019-03-27 14:35:20 +08:00
wanyaoqi
cb22d1126b server list order by host name 2019-03-27 14:04:54 +08:00
TangBin
dbf2048e15 ucloud add method GetSecurityGroupIds 2019-03-27 13:40:13 +08:00
wanyaoqi
ff9f64279d bugfix: 1. fix sched fill disk desc (#13)
2. fix image server not handle error
2019-03-27 11:58:13 +08:00
Zexi Li
d8e7e2fc74 Update issue templates 2019-03-27 11:06:30 +08:00
Zexi Li
0a7d92b4a8 Update issue templates 2019-03-27 11:04:38 +08:00
周有松
cbd59b4406 Automatic merge from release/2.8.0 -> master
* commit 'c24d3c7b6a4832ac0db95e3c4a495775f955d6fc':
  同步完project信息后调用GetShortDesc
2019-03-26 21:16:38 +08:00
周有松
1bd352e860 Automatic merge from release/2.8.0 -> master
* commit 'c9c3edef8c14049534ea263de7cea107b0d4d7ec':
  避免获取账号余额失败后不能进行后面的资源同步
2019-03-26 21:10:17 +08:00
周有松
0e11cdd6e9 Automatic merge from release/2.8.0 -> master
* commit '90598a6a0796de0b2c0034ed638ba8ab88772f9b':
  add ucloud hypervisor
  add ucloud vnc info
  storage fix
  DoListAll func add comment
  network start&end ip fix
  fix ucloud sync comment
  ucloud sync
2019-03-26 21:09:39 +08:00
周有松
2e678e85d2 Automatic merge from release/2.8.0 -> master
* commit '43b09aae3dd341545745829593a15edfedf236d2':
  避免部分公有云续费后过期时间更新慢问题导致平台未能设置正常的过期时间
2019-03-26 21:03:20 +08:00
周有松
4418a6ea90 Automatic merge from release/2.8.0 -> master
* commit 'ea7141e6ec0f2a91c4fe9b70089d58418b2597c8':
  补充task失败处理
2019-03-26 21:02:57 +08:00
周有松
bab6c22eea Automatic merge from release/2.8.0 -> master
* commit '72286dcae2435eed35d69306bde72219de7e9970':
  避免新建机器时默认安全组未正常设置
2019-03-26 20:51:41 +08:00
李泽玺
2dc426dba0 Automatic merge from release/2.8.0 -> master
* commit '958d2aa988145128df904055887aa89bd770aa8c':
  + ACT_DELOCATE
2019-03-26 18:48:00 +08:00
张东亮
09397c3edb Automatic merge from release/2.8.0 -> master
* commit '08fdf7217a33ad49ff6da353ed0c2bb340c7f23d':
  梳理 logclient 事件,增加黑名单
2019-03-26 18:12:02 +08:00
周有松
0957c9a3b7 Automatic merge from release/2.8.0 -> master
* commit '50dd610b6099b69f75e273da7546adafab4d4d88':
  create private sku fix
  skus add local category
2019-03-26 17:29:03 +08:00
周有松
9f6ecf4c46 Automatic merge from release/2.8.0 -> master
* commit '4dc2ff02a1664162e0298961464574dc353b2468':
  更新vendor
  更新参数名称
  支持过滤未关联某个安全组的虚机列表
  完成安全组同步代码重构
2019-03-26 16:47:57 +08:00
周有松
5b3f59c69b Merge pull request #1338 in YUNIONIO/onecloud from ~LIZEXI/onecloud:master to master
* commit '8f8af3caa35b097a5ff46207d08d3e1d1ba1367d':
  添加 cherry_pick_pull 脚本,自动在 github 生成 cherry-pick 的 PR
2019-03-26 16:47:48 +08:00
Zexi Li
8f8af3caa3 添加 cherry_pick_pull 脚本,自动在 github 生成 cherry-pick 的 PR 2019-03-26 16:46:37 +08:00
李泽玺
4f17b95128 Merge pull request #1335 in YUNIONIO/onecloud from ~ZHOUYOUSONG/onecloud:bugfix/yousong-merge-conflic-1334 to master
* commit 'f77a2331ac6f3d20fd9a82528aa0543e1409209d':
  修复 baremetal 创建的一系列问题:
2019-03-26 16:41:36 +08:00
Yousong Zhou
f77a2331ac Merge remote-tracking branch 'origin/release/2.8.0' into bugfix/yousong-merge-conflic-1334 2019-03-26 08:37:10 +00:00
周有松
8d7e101e43 Automatic merge from release/2.8.0 -> master
* commit '871e59c4bbaf62e4f19dfec093b36555268b79ff':
  Fix: release/2.8.0 region build error
2019-03-26 15:37:20 +08:00
周有松
c70dd5195e Automatic merge from release/2.8.0 -> master
* commit '739ccd9f0f8078d6d82a02d89794a5c739661fdf':
  fix: adjust cloudaccount list columns
  fix: sync project may sync empty project ID
  fix: AWS getinstances failed because of missing AMI ID
2019-03-26 12:12:54 +08:00
周有松
21c8f045fc Automatic merge from release/2.8.0 -> master
* commit '7c86a05f923e4475acdb7f7bf2e2ef5d8a0ccbae':
  fix: validate IPMI address if it is given
2019-03-26 12:12:32 +08:00
周有松
50fd8c0be5 Automatic merge from release/2.8.0 -> master
* commit '88be1bf079c51d5923363655396f7cad4381303f':
  公有云不支持iso启动
2019-03-26 11:48:52 +08:00
邱剑
6cf6269450 Automatic merge from release/2.8.0 -> master
* commit '47d355c5bfc7bd5379ca3a689a0d01bf081ea2be':
  openstackcli:修复参数缺失bug
2019-03-25 19:40:28 +08:00
李泽玺
f7d2333c8c Automatic merge from release/2.8.0 -> master
* commit '29ff559f9dc408e8cb17dc92d8dd5c7fee6b0183':
  dynamic schedule support resource type
2019-03-25 11:18:12 +08:00
李泽玺
cc32e1f8db Merge pull request #1320 in YUNIONIO/onecloud from ~LIZEXI/onecloud:master to master
* commit 'c9b70b6ea1f4b550a57eb0f1922cbf1cb90ea819':
  Update dhcp.go
2019-03-25 11:18:02 +08:00
Zexi Li
c9b70b6ea1 Merge pull request #7 from soopsio/master
Update dhcp.go
2019-03-25 10:52:54 +08:00
邱剑
cc8ed679b6 Automatic merge from release/2.8.0 -> master
* commit 'a48fc8d078528860c0f457f088f8a08f41c2430b':
  add tag-detail-api
2019-03-23 18:15:39 +08:00
邱剑
2248d419fc Automatic merge from release/2.8.0 -> master
* commit 'd4830c64b87b0a0b7e4e671d96d1dd2d93b78ff4':
  openstack:避免因disk没有设置volume_type而导致同步磁盘数据不全
  避免因openstack版本低导致不能设置系统盘storage_type导致部署失败
2019-03-23 18:00:35 +08:00
李泽玺
9ceed48327 Automatic merge from release/2.8.0 -> master
* commit 'f2a4181f0e9ca23fc1795bc3a1eabaa41dec83cd':
  metadata日志:避免对比更新后的value
2019-03-23 15:52:18 +08:00
soopsio
bd7aeff162 Update dhcp.go
去掉 DHCPHandler 指针,修复 pxe dhcp 时 baremetal 网卡信息错误的bug
2019-03-21 14:00:04 +08:00
5634 changed files with 646218 additions and 368485 deletions

39
.circleci/Dockerfile Normal file
View File

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

83
.circleci/config.yml Normal file
View File

@@ -0,0 +1,83 @@
# Golang CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2
jobs:
check:
docker:
- image: yunionio/onecloud-ci:v1.0.3
environment:
ONECLOUD_CI_BUILD: "1"
working_directory: /home/build/go/src/yunion.io/x/onecloud
steps:
- checkout
- run:
command: |
make check
build:
requires:
- check
docker:
- image: yunionio/onecloud-ci:v1.0.2
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
parallelism: 4
steps:
- checkout
- restore_cache:
key: onecloud-build-cache-{{ checksum "go.mod" }}-{{ checksum "Makefile" }}
paths:
- /home/build/.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:
- /home/build/.cache/go-build
- store_artifacts:
path: _output/
test:
requires:
- check
docker:
- image: yunionio/onecloud-ci:v1.0.2
environment:
GO111MODULE: "on"
working_directory: /home/build/go/src/yunion.io/x/onecloud
steps:
- checkout
- restore_cache:
key: onecloud-test-cache-{{ checksum "go.mod" }}-{{ checksum "Makefile" }}
paths:
- /home/build/.cache/go-build
- run:
name: unit_test
command: |
./scripts/coverage.sh --codecov
- save_cache:
key: onecloud-test-cache-{{ checksum "go.mod" }}-{{ checksum "Makefile" }}
paths:
- /home/build/.cache/go-build
workflows:
version: 2
build_and_test:
jobs:
- check
- build:
requires:
- check
- test:
requires:
- check

21
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@@ -0,0 +1,21 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''
---
**What happened**:
**What you expected to happen**:
**How to reproduce it**:
**Anything else we need to know?**:
**Environment**:
- OS (e.g: `cat /etc/os-release`):
- Kernel (e.g. `uname -a`):
- Others:

View File

@@ -0,0 +1,14 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: feature
assignees: ''
---
<!-- Please only use this template for submitting feature requests -->
**What would you like to be added**:
**Why is this needed**:

View File

@@ -0,0 +1,10 @@
---
name: Support Request
about: Support request or question relating to this project
title: ''
labels: question
assignees: ''
---

9
.github/pull_request_template.md vendored Normal file
View File

@@ -0,0 +1,9 @@
**这个 PR 实现什么功能/修复什么问题**:
**是否需要 backport 到之前的 release 分支**:
<!--
如果不需要,填写 "NONE".
如果需要,就以下面 item 的格式写 release 分支名,并提交对应的 cherry-pick PR:
- release/2.8.0
- release/2.6.0
-->

29
.travis.yml Normal file
View File

@@ -0,0 +1,29 @@
sudo: false
dist: bionic
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:
- 1.12.x
go_import_path: yunion.io/x/onecloud
cache:
directories:
- $HOME/.cache/go-build
git:
depth: 8
script:
- make -j$(nproc) ONECLOUD_CI_BUILD=1
- ls -lh _output/bin

1905
Gopkg.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,209 +0,0 @@
# Gopkg.toml example
#
# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html
# for detailed Gopkg.toml documentation.
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"
#
# [prune]
# non-go = false
# go-tests = true
# unused-packages = true
[[constraint]]
name = "github.com/pierrec/lz4"
version = "2.0.7"
[[constraint]]
name = "github.com/360EntSecGroup-Skylar/excelize"
version = "1.4.0"
[[constraint]]
name = "github.com/Azure/azure-sdk-for-go"
version = "=19.1.0"
[[constraint]]
branch = "master"
name = "github.com/Microsoft/azure-vhd-utils"
[[constraint]]
name = "github.com/aliyun/alibaba-cloud-sdk-go"
version = "0.7.4"
[[constraint]]
name = "github.com/aliyun/aliyun-oss-go-sdk"
version = "1.9.1"
[[constraint]]
name = "github.com/aokoli/goutils"
version = "1.0.1"
[[constraint]]
name = "github.com/aws/aws-sdk-go"
version = "=1.15.73"
[[constraint]]
name = "github.com/bitly/go-simplejson"
version = "0.5.0"
[[constraint]]
name = "github.com/c-bata/go-prompt"
version = "=0.2.1"
[[constraint]]
name = "github.com/coredns/coredns"
version = "v1.2.0"
[[constraint]]
name = "github.com/fatih/color"
version = "1.7.0"
[[constraint]]
name = "github.com/go-sql-driver/mysql"
version = "1.4.0"
[[constraint]]
name = "github.com/golang-plus/uuid"
version = "1.0.0"
[[constraint]]
branch = "master"
name = "github.com/googollee/go-socket.io"
[[constraint]]
name = "github.com/gorilla/mux"
version = "1.6.2"
[[constraint]]
name = "github.com/gorilla/websocket"
version = "1.4.0"
[[constraint]]
name = "github.com/koding/websocketproxy"
branch = "master"
[[constraint]]
branch = "master"
name = "github.com/gosuri/uitable"
[[constraint]]
name = "github.com/hako/durafmt"
version = "1.0.0"
[[constraint]]
name = "github.com/jinzhu/gorm"
version = "1.9.1"
[[constraint]]
name = "github.com/kr/pty"
version = "1.1.3"
[[constraint]]
name = "github.com/mholt/caddy"
version = "0.10.11"
[[constraint]]
name = "github.com/miekg/dns"
version = "1.0.15"
[[constraint]]
branch = "master"
name = "github.com/moul/http2curl"
[[constraint]]
name = "github.com/nelsonken/cos-go-sdk-v5"
version = "1.21.0"
[[constraint]]
branch = "master"
name = "github.com/serialx/hashring"
[[constraint]]
name = "github.com/stretchr/testify"
version = "1.2.2"
[[constraint]]
name = "github.com/tencentcloud/tencentcloud-sdk-go"
version = "=3.0.30"
[[constraint]]
branch = "master"
name = "github.com/tredoe/osutil"
[[constraint]]
name = "github.com/vmware/govmomi"
version = "0.19.0"
[[constraint]]
branch = "master"
name = "golang.org/x/crypto"
[[constraint]]
name = "gopkg.in/gin-gonic/gin.v1"
version = "1.2.0"
[[constraint]]
name = "k8s.io/api"
version = "kubernetes-1.12.0"
[[constraint]]
branch = "master"
name = "k8s.io/apimachinery"
[[constraint]]
name = "k8s.io/client-go"
version = "9.0.0"
[[constraint]]
branch = "master"
name = "github.com/anacrolix/torrent"
[[constraint]]
branch = "master"
name = "yunion.io/x/jsonutils"
[[constraint]]
branch = "master"
name = "yunion.io/x/log"
[[constraint]]
branch = "master"
name = "yunion.io/x/pkg"
[[constraint]]
branch = "master"
name = "yunion.io/x/sqlchemy"
[[constraint]]
branch = "master"
name = "yunion.io/x/structarg"
[[override]]
name = "github.com/apache/thrift"
revision = "e59b73d3c2bf1c328ccb78e683c0462fa1a473c7"
[prune]
go-tests = true
unused-packages = true
[[constraint]]
name = "github.com/shirou/gopsutil"
version = "2.18.10"
[[constraint]]
name="github.com/ceph/go-ceph"
branch = "master"

187
Makefile
View File

@@ -1,18 +1,25 @@
#####################################################
REPO_PREFIX := yunion.io/x/onecloud
VENDOR_PATH := $(REPO_PREFIX)/vendor
VERSION_PKG := $(VENDOR_PATH)/yunion.io/x/pkg/util/version
VERSION_PKG := yunion.io/x/pkg/util/version
ROOT_DIR := $(CURDIR)
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 --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) \
@@ -26,7 +33,8 @@ LDFLAGS := "-w \
#####################################################
GO_BUILD := go build -ldflags $(LDFLAGS)
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,13 +44,23 @@ 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 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
@@ -53,33 +71,29 @@ 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
test:
@for PKG in $$( $(PKGS) | grep "$(filter-out $@,$(MAKECMDGOALS))" ); do \
echo $$PKG; \
$(GO_TEST) $$PKG; \
done
@go test $(GO_BUILD_FLAGS) $(shell go list ./... | egrep -v 'host-image|hostimage')
vet:
go vet ./...
cmd/%: prepare_dir fmt
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
@@ -94,14 +108,8 @@ bin_dir: output_dir
output_dir:
@mkdir -p $(BUILD_DIR)
dep_clean:
rm -fr $(GOPATH)/pkg/dep/sources/*
dep_install:
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
.PHONY: all build prepare_dir clean fmt rpm
.PHONY: all build prepare_dir clean rpm
clean:
@@ -109,11 +117,118 @@ 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,
vendor files will be removed in future versions
Follow the following link to find out more about go-mod
- https://blog.golang.org/using-go-modules
- https://github.com/golang/go/wiki/Modules
Switching to "make mod"...
endef
dep: export depDeprecated:=$(depDeprecated)
dep:
cd $(ROOT_DIR) && dep ensure -v -update $(shell for p in $$(ls vendor/yunion.io/x/); do echo "yunion.io/x/$$p"; done | xargs)
@echo "$$depDeprecated"
@$(MAKE) mod
%:
@:
mod:
go get $(patsubst %,%@master,$(shell GO111MODULE=on go mod edit -print | sed -n -e 's|.*\(yunion.io/x/[a-z].*\) v.*|\1|p'))
go mod tidy
go mod vendor -v
DOCKER_BUILD_IMAGE_VERSION?=latest
define dockerBuildCmd
set -o errexit
set -o pipefail
cd /home/build/onecloud
export GOFLAGS=-mod=vendor
make $(1)
endef
docker-build: export dockerBuildCmd:=$(call dockerBuildCmd,$(F))
docker-build:
echo "$$dockerBuildCmd"
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"
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
.PHONY: docker-build
.PHONY: docker-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
Tidy up go modules and vendor directory
make mod
endef
help: export helpText:=$(helpText)
help:
@echo "$$helpText"

13
OWNERS Normal file
View File

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

View File

@@ -1 +1,10 @@
# Yunion onecloud
# 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)
# 文档
- 文档中心https://docs.yunion.cn/
- API文档https://docs.yunion.cn/api/

View File

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

5
build/ansibleserver/vars Normal file
View File

@@ -0,0 +1,5 @@
DESCRIPTION="Yunion Ansible Controller"
REQUIRES=(
"ansible"
)

1
build/awscli/vars Normal file
View File

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

1
build/azurecli/vars Normal file
View File

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

View File

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

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

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

View File

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

View File

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

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

2
build/host/vars Normal file
View File

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

1
build/huaweicli/vars Normal file
View File

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

1
build/ipmicli/vars Normal file
View File

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

1
build/keystone/vars Normal file
View File

@@ -0,0 +1 @@
DESCRIPTION="Yunion Cloud Keystone Identity server"

1
build/ldapcli/vars Normal file
View File

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

File diff suppressed because one or more lines are too long

2
build/notify/vars Normal file
View File

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

1
build/openstackcli/vars Normal file
View File

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

1
build/qcloudcli/vars Normal file
View File

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

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,5 +1,6 @@
系统错误消息
资源:{{ .name}}({{ .id }})
资源:{{ .name}}
资源ID: {{ .id }}
事件:{{ .event }}
原因:{{ .reason }}
时间:{{ .created }}

View File

@@ -1,5 +1,6 @@
系统警告消息
资源:{{ .name}}({{ .id }})
资源:{{ .name}}
资源ID: {{ .id }}
事件:{{ .event }}
原因:{{ .reason }}
时间:{{ .created }}

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 }}重装系统成功

View File

@@ -1 +1 @@
系统错误消息{{ .name }}({{ .id }})@{{ .created }})
系统错误消息{{ .name }} {{ .event }}

View File

@@ -1 +1 @@
系统警告消息{{ .name }}({{ .id }})@{{ .created }}
系统警告消息{{ .name }} {{ .event }}

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

@@ -1,14 +1,27 @@
// 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 (
"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"
)
@@ -57,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)
}

23
cmd/ansibleserver/main.go Normal file
View File

@@ -0,0 +1,23 @@
// 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/ansibleserver/service"
)
func main() {
service.StartService()
}

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

@@ -1,19 +1,33 @@
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package main
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"`
@@ -57,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)
}
@@ -70,7 +85,7 @@ 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("", "", options.AccessUrl, options.AccessKey, options.Secret, options.Debug)
if err != nil {
return nil, err
}

View File

@@ -1,14 +1,27 @@
// 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 (
"fmt"
"os"
"yunion.io/x/log"
"yunion.io/x/structarg"
"yunion.io/x/onecloud/pkg/util/azure"
_ "yunion.io/x/onecloud/pkg/util/azure/shell"
"yunion.io/x/onecloud/pkg/multicloud/azure"
_ "yunion.io/x/onecloud/pkg/multicloud/azure/shell"
"yunion.io/x/onecloud/pkg/util/printutils"
"yunion.io/x/onecloud/pkg/util/shellutils"
)
@@ -61,7 +74,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)
}
@@ -86,9 +100,11 @@ func newClient(options *BaseOptions) (*azure.SRegion, error) {
return nil, fmt.Errorf("Missing Cloud Environment")
}
account := fmt.Sprintf("%s/%s", options.DirectoryID, options.SubscriptionID)
secret := fmt.Sprintf("%s/%s", options.ApplicationID, options.ApplicationKey)
cli, err := azure.NewAzureClient("", "", account, secret, options.CloudEnv, options.Debug)
cli, err := azure.NewAzureClient("", "", options.CloudEnv,
options.DirectoryID,
options.ApplicationID, options.ApplicationKey,
options.SubscriptionID,
options.Debug)
if err != nil {
return nil, err
}

View File

@@ -1,9 +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/baremetal/service"
"yunion.io/x/onecloud/pkg/util/atexit"
)
func main() {
defer atexit.Handle()
service.New().StartService()
}

View File

@@ -1,3 +1,17 @@
// 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 (

View File

@@ -1,3 +1,17 @@
// 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 (
@@ -10,7 +24,7 @@ import (
"strings"
"time"
prompt "github.com/c-bata/go-prompt"
"github.com/c-bata/go-prompt"
"yunion.io/x/log"
"yunion.io/x/pkg/util/version"
@@ -18,6 +32,7 @@ import (
"yunion.io/x/onecloud/cmd/climc/promputils"
"yunion.io/x/onecloud/cmd/climc/shell"
_ "yunion.io/x/onecloud/cmd/climc/shell/cloudnet"
_ "yunion.io/x/onecloud/cmd/climc/shell/etcd"
_ "yunion.io/x/onecloud/cmd/climc/shell/k8s"
"yunion.io/x/onecloud/pkg/mcclient"
@@ -35,16 +50,24 @@ type BaseOptions struct {
Completion string `default:"" help:"Generate climc auto complete script" choices:"bash"`
UseCachedToken bool `default:"$YUNION_USE_CACHED_TOKEN|false" help:"Use cached token"`
OsUsername string `default:"$OS_USERNAME" help:"Username, defaults to env[OS_USERNAME]"`
OsPassword string `default:"$OS_PASSWORD" help:"Password, defaults to env[OS_PASSWORD]"`
OsUsername string `default:"$OS_USERNAME" help:"Username, defaults to env[OS_USERNAME]"`
OsPassword string `default:"$OS_PASSWORD" help:"Password, defaults to env[OS_PASSWORD]"`
// OsProjectId string `default:"$OS_PROJECT_ID" help:"Proejct ID, defaults to env[OS_PROJECT_ID]"`
OsProjectName string `default:"$OS_PROJECT_NAME" help:"Project name, defaults to env[OS_PROJECT_NAME]"`
OsDomainName string `default:"$OS_DOMAIN_NAME" help:"Domain name, defaults to env[OS_DOMAIN_NAME]"`
OsAuthURL string `default:"$OS_AUTH_URL" help:"Defaults to env[OS_AUTH_URL]"`
OsProjectName string `default:"$OS_PROJECT_NAME" help:"Project name, defaults to env[OS_PROJECT_NAME]"`
OsProjectDomain string `default:"$OS_PROJECT_DOMAIN" help:"Domain name of project, defaults to env[OS_PROJECT_DOMAIN]"`
OsDomainName string `default:"$OS_DOMAIN_NAME" help:"Domain name, defaults to env[OS_DOMAIN_NAME]"`
OsAccessKey string `default:"$OS_ACCESS_KEY" help:"ak/sk access key, defaults to env[OS_ACCESS_KEY]"`
OsSecretKey string `default:"$OS_SECRET_KEY" help:"ak/s secret, defaults to env[OS_SECRET_KEY]"`
OsAuthURL string `default:"$OS_AUTH_URL" help:"Defaults to env[OS_AUTH_URL]"`
OsRegionName string `default:"$OS_REGION_NAME" help:"Defaults to env[OS_REGION_NAME]"`
OsZoneName string `default:"$OS_ZONE_NAME" help:"Defaults to env[OS_ZONE_NAME]"`
OsEndpointType string `default:"$OS_ENDPOINT_TYPE|internalURL" help:"Defaults to env[OS_ENDPOINT_TYPE] or internalURL" choices:"publicURL|internalURL|adminURL"`
ApiVersion string `default:"$API_VERSION" help:"override default modules service api version"`
OutputFormat string `default:"$CLIMC_OUTPUT_FORMAT|table" choices:"table|kv|json|flatten-table|flatten-kv" help:"output format"`
SUBCOMMAND string `help:"climc subcommand" subcommand:"true"`
}
@@ -98,7 +121,8 @@ func getSubcommandsParser() (*structarg.ArgumentParser, error) {
}
func showErrorAndExit(e error) {
fmt.Fprintf(os.Stderr, "Error: %s\n", e)
fmt.Fprintf(os.Stderr, "%s", e)
fmt.Fprintln(os.Stderr)
os.Exit(1)
}
@@ -106,20 +130,18 @@ func newClientSession(options *BaseOptions) (*mcclient.ClientSession, error) {
if len(options.OsAuthURL) == 0 {
return nil, fmt.Errorf("Missing OS_AUTH_URL")
}
if len(options.OsUsername) == 0 {
return nil, fmt.Errorf("Missing OS_USERNAME")
if len(options.OsUsername) == 0 && len(options.OsAccessKey) == 0 {
return nil, fmt.Errorf("Missing OS_USERNAME or OS_ACCESS_KEY")
}
if len(options.OsPassword) == 0 {
if len(options.OsUsername) > 0 && len(options.OsPassword) == 0 {
return nil, fmt.Errorf("Missing OS_PASSWORD")
}
if len(options.OsAccessKey) > 0 && len(options.OsSecretKey) == 0 {
return nil, fmt.Errorf("Missing OS_SECRET_KEY")
}
if len(options.OsRegionName) == 0 {
return nil, fmt.Errorf("Missing OS_REGION_NAME")
}
// if len(options.OsProjectId) == 0 && len(options.OsProjectName) == 0 {
// showErrorAndExit(fmt.Errorf("Missing OS_PROEJCT_ID or OS_PROJECT_NAME"))
if len(options.OsProjectName) == 0 {
return nil, fmt.Errorf("Missing OS_PROJECT_NAME")
}
logLevel := "info"
if options.Debug {
@@ -160,10 +182,19 @@ func newClientSession(options *BaseOptions) (*mcclient.ClientSession, error) {
}
if cacheToken == nil {
token, err := client.Authenticate(options.OsUsername,
options.OsPassword,
options.OsDomainName,
options.OsProjectName)
var token mcclient.TokenCredential
var err error
if len(options.OsAccessKey) > 0 {
token, err = client.AuthenticateByAccessKey(options.OsAccessKey,
options.OsSecretKey, mcclient.AuthSourceCli)
} else {
token, err = client.AuthenticateWithSource(options.OsUsername,
options.OsPassword,
options.OsDomainName,
options.OsProjectName,
options.OsProjectDomain,
mcclient.AuthSourceCli)
}
if err != nil {
return nil, err
}
@@ -255,6 +286,7 @@ func main() {
return
}
shell.OutputFormat(options.OutputFormat)
ensureSessionFactory := func() *mcclient.ClientSession {
session, err := newClientSession(options)
if err != nil {

View File

@@ -1,3 +1,17 @@
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package promputils
const BASH_COMPLETE_SCRIPT_1 = `arr=()

View File

@@ -1,3 +1,17 @@
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package promputils
import (

View File

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

View File

@@ -1,3 +1,17 @@
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package promputils
import (

View File

@@ -1,3 +1,17 @@
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package promputils
import (

View File

@@ -1,3 +1,17 @@
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package promputils
import (

View File

@@ -1,3 +1,17 @@
// 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 shell
import (

View File

@@ -1,6 +1,22 @@
// 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 shell
import (
"fmt"
"yunion.io/x/jsonutils"
"yunion.io/x/onecloud/pkg/mcclient"
@@ -8,6 +24,7 @@ import (
)
type BaseActionListOptions struct {
Scope string `help:"scope" choices:"project|domain|system"`
Since string `help:"Show logs since specific date" metavar:"DATETIME"`
Until string `help:"Show logs until specific date" metavar:"DATETIME"`
Limit int64 `help:"Limit number of logs" default:"20"`
@@ -17,6 +34,13 @@ type BaseActionListOptions struct {
Action []string `help:"Log action"`
Search string `help:"Filter action logs by obj_name, using 'like' syntax."`
Admin bool `help:"admin mode"`
Succ bool `help:"Show success action log only"`
Fail bool `help:"Show failed action log only"`
User []string `help:"filter by operator user"`
Project []string `help:"filter by owner project"`
PagingMarker string `help:"marker for pagination"`
}
type ActionListOptions struct {
@@ -41,6 +65,18 @@ func doActionList(s *mcclient.ClientSession, args *ActionListOptions) error {
if len(args.Search) > 0 {
params.Add(jsonutils.NewString(args.Search), "search")
}
if len(args.User) > 0 {
params.Add(jsonutils.NewStringArray(args.User), "user")
}
if len(args.Project) > 0 {
params.Add(jsonutils.NewStringArray(args.Project), "project")
}
if len(args.Scope) > 0 {
params.Add(jsonutils.NewString(args.Scope), "scope")
}
if len(args.PagingMarker) > 0 {
params.Add(jsonutils.NewString(args.PagingMarker), "paging_marker")
}
if len(args.Since) > 0 {
params.Add(jsonutils.NewString(args.Since), "since")
}
@@ -64,6 +100,15 @@ func doActionList(s *mcclient.ClientSession, args *ActionListOptions) error {
if args.Admin {
params.Add(jsonutils.JSONTrue, "admin")
}
if args.Succ && args.Fail {
return fmt.Errorf("succ and fail can't go together")
}
if args.Succ {
params.Add(jsonutils.JSONTrue, "success")
}
if args.Fail {
params.Add(jsonutils.JSONFalse, "success")
}
logs, err := modules.Actions.List(s, params)
if err != nil {
return err

View File

@@ -1,3 +1,17 @@
// 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 shell
import (

View File

@@ -1,3 +1,17 @@
// 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 shell
import (

View File

@@ -1,3 +1,17 @@
// 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 shell
import (

View File

@@ -1,3 +1,17 @@
// 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 shell
import (

View File

@@ -1,3 +1,17 @@
// 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 shell
import (
@@ -80,7 +94,7 @@ func doList(s *mcclient.ClientSession, args *AnsibleHostsOptions) error {
output.Add(children, "all", "children")
output.Add(hosts, "ungrouped", "hosts")
fmt.Printf("%s", output.PrettyString())
fmt.Printf("%s\n", output.PrettyString())
return nil
}
@@ -109,7 +123,7 @@ func doHost(s *mcclient.ClientSession, host string, args *AnsibleHostsOptions) e
hostVar.Add(jsonutils.NewString(args.UserBecome), "ansible_become_user")
}
fmt.Printf("%s", hostVar.PrettyString())
fmt.Printf("%s\n", hostVar.PrettyString())
return nil
}

View File

@@ -0,0 +1,108 @@
// 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 shell
import (
//"fmt"
//"strings"
"yunion.io/x/jsonutils"
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modules"
"yunion.io/x/onecloud/pkg/mcclient/options"
)
func init() {
printAnsiblePlaybookObject := func(obj jsonutils.JSONObject) {
dict := obj.(*jsonutils.JSONDict)
pbJson, err := dict.Get("playbook")
if err != nil {
printObject(obj)
return
}
pbStr := pbJson.YAMLString()
dict.Set("playbook", jsonutils.NewString(pbStr))
printObject(obj)
}
R(&options.AnsiblePlaybookCreateOptions{}, "ansibleplaybook-create", "Create ansible playbook", func(s *mcclient.ClientSession, opts *options.AnsiblePlaybookCreateOptions) error {
params, err := opts.Params()
if err != nil {
return err
}
apb, err := modules.AnsiblePlaybooks.Create(s, params)
if err != nil {
return err
}
printAnsiblePlaybookObject(apb)
return nil
})
R(&options.AnsiblePlaybookIdOptions{}, "ansibleplaybook-show", "Show ansible playbook", func(s *mcclient.ClientSession, opts *options.AnsiblePlaybookIdOptions) error {
apb, err := modules.AnsiblePlaybooks.Get(s, opts.ID, nil)
if err != nil {
return err
}
printAnsiblePlaybookObject(apb)
return nil
})
R(&options.AnsiblePlaybookListOptions{}, "ansibleplaybook-list", "List ansible playbooks", func(s *mcclient.ClientSession, opts *options.AnsiblePlaybookListOptions) error {
params, err := opts.Params()
if err != nil {
return err
}
apbs, err := modules.AnsiblePlaybooks.List(s, params)
if err != nil {
return err
}
printList(apbs, modules.AnsiblePlaybooks.GetColumns(s))
return nil
})
R(&options.AnsiblePlaybookIdOptions{}, "ansibleplaybook-delete", "Delete ansible playbook", func(s *mcclient.ClientSession, opts *options.AnsiblePlaybookIdOptions) error {
apb, err := modules.AnsiblePlaybooks.Delete(s, opts.ID, nil)
if err != nil {
return err
}
printAnsiblePlaybookObject(apb)
return nil
})
R(&options.AnsiblePlaybookUpdateOptions{}, "ansibleplaybook-update", "Update ansible playbook", func(s *mcclient.ClientSession, opts *options.AnsiblePlaybookUpdateOptions) error {
params, err := opts.Params()
if err != nil {
return err
}
apb, err := modules.AnsiblePlaybooks.Update(s, opts.ID, params)
if err != nil {
return err
}
printAnsiblePlaybookObject(apb)
return nil
})
R(&options.AnsiblePlaybookIdOptions{}, "ansibleplaybook-run", "Run ansible playbook", func(s *mcclient.ClientSession, opts *options.AnsiblePlaybookIdOptions) error {
apb, err := modules.AnsiblePlaybooks.PerformAction(s, opts.ID, "run", nil)
if err != nil {
return err
}
printAnsiblePlaybookObject(apb)
return nil
})
R(&options.AnsiblePlaybookIdOptions{}, "ansibleplaybook-stop", "Stop ansible playbook", func(s *mcclient.ClientSession, opts *options.AnsiblePlaybookIdOptions) error {
apb, err := modules.AnsiblePlaybooks.PerformAction(s, opts.ID, "stop", nil)
if err != nil {
return err
}
printAnsiblePlaybookObject(apb)
return nil
})
}

View File

@@ -0,0 +1,52 @@
// 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 shell
import (
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modules"
"yunion.io/x/onecloud/pkg/mcclient/options"
)
func init() {
type AnsiblePlaybookV2IdOptions struct {
ID string `help:"name/id of the playbook"`
}
type AnsiblePlaybookV2ListOptions struct {
options.BaseListOptions
}
R(&AnsiblePlaybookV2IdOptions{}, "ansibleplaybookv2-show", "Show ansible playbook", func(s *mcclient.ClientSession, opts *AnsiblePlaybookV2IdOptions) error {
apb, err := modules.AnsiblePlaybooksV2.Get(s, opts.ID, nil)
if err != nil {
return err
}
printObject(apb)
return nil
})
R(&AnsiblePlaybookV2ListOptions{}, "ansibleplaybookv2-list", "List ansible playbooks", func(s *mcclient.ClientSession, opts *AnsiblePlaybookV2ListOptions) error {
params, err := opts.Params()
if err != nil {
return err
}
apbs, err := modules.AnsiblePlaybooksV2.List(s, params)
if err != nil {
return err
}
printList(apbs, modules.AnsiblePlaybooksV2.GetColumns(s))
return nil
})
}

View File

@@ -0,0 +1,44 @@
// 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 shell
import (
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modules"
"yunion.io/x/onecloud/pkg/mcclient/options"
)
func init() {
type AssociatedBillListOptions struct {
options.BaseListOptions
StartDay int `help:"time range of the associated bills, example: 20060102" required:"true"`
EndDay int `help:"time range of the associated bills, example: 20060102" required:"true"`
ResourceId string `help:"resource id"`
}
R(&AssociatedBillListOptions{}, "associated-bill-list", "List associated bills",
func(s *mcclient.ClientSession, args *AssociatedBillListOptions) error {
params, err := options.ListStructToParams(args)
if err != nil {
return err
}
result, err := modules.AssociatedBills.List(s, params)
if err != nil {
return err
}
printList(result, modules.AssociatedBills.GetColumns(s))
return nil
})
}

View File

@@ -1,3 +1,17 @@
// 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 shell
import (
@@ -12,7 +26,7 @@ func init() {
type BaremetalAgentListOptions struct {
options.BaseListOptions
}
R(&BaremetalAgentListOptions{}, "baremetal-agent-list", "List baremetal agent", func(s *mcclient.ClientSession, args *BaremetalAgentListOptions) error {
R(&BaremetalAgentListOptions{}, "agent-list", "List all agent", func(s *mcclient.ClientSession, args *BaremetalAgentListOptions) error {
var params *jsonutils.JSONDict
{
var err error
@@ -33,7 +47,16 @@ func init() {
type BaremetalAgentOpsOperations struct {
ID string `help:"ID or name of agent"`
}
R(&BaremetalAgentOpsOperations{}, "baremetal-agent-enable", "Enable baremetal agent", func(s *mcclient.ClientSession, args *BaremetalAgentOpsOperations) error {
R(&BaremetalAgentOpsOperations{}, "agent-show", "Show details of an agent", func(s *mcclient.ClientSession, args *BaremetalAgentOpsOperations) error {
result, err := modules.Baremetalagents.Get(s, args.ID, nil)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&BaremetalAgentOpsOperations{}, "agent-enable", "Enable agent", func(s *mcclient.ClientSession, args *BaremetalAgentOpsOperations) error {
result, err := modules.Baremetalagents.PerformAction(s, args.ID, "enable", nil)
if err != nil {
return err
@@ -42,7 +65,7 @@ func init() {
return nil
})
R(&BaremetalAgentOpsOperations{}, "baremetal-agent-disable", "Disable baremetal agent", func(s *mcclient.ClientSession, args *BaremetalAgentOpsOperations) error {
R(&BaremetalAgentOpsOperations{}, "agent-disable", "Disable agent", func(s *mcclient.ClientSession, args *BaremetalAgentOpsOperations) error {
result, err := modules.Baremetalagents.PerformAction(s, args.ID, "disable", nil)
if err != nil {
return err
@@ -50,4 +73,13 @@ func init() {
printObject(result)
return nil
})
R(&BaremetalAgentOpsOperations{}, "agent-delete", "Delete agent", func(s *mcclient.ClientSession, args *BaremetalAgentOpsOperations) error {
result, err := modules.Baremetalagents.Delete(s, args.ID, nil)
if err != nil {
return err
}
printObject(result)
return nil
})
}

View File

@@ -0,0 +1,73 @@
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package shell
import (
"yunion.io/x/jsonutils"
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modules"
)
func init() {
type BaremetalEventListOptions struct {
HostId string `help:"filter by hostId"`
HostName string `help:"filter by hostname"`
IpmiIp string `help:"filter by ipmi_ip"`
Type string `help:"filter by type" choices:"system|manager"`
PagingMarker string `help:"marker for pagination"`
Limit int `help:"page limit, default 20" default:"20"`
Severity string `help:"filter by severity"`
Since string `help:"Show logs since specific date" metavar:"DATETIME"`
Until string `help:"Show logs until specific date" metavar:"DATETIME"`
}
R(&BaremetalEventListOptions{}, "baremetal-event-list", "List baremetal events", func(s *mcclient.ClientSession, args *BaremetalEventListOptions) error {
params := jsonutils.Marshal(args)
result, err := modules.BaremetalEvents.List(s, params)
if err != nil {
return err
}
printList(result, modules.BaremetalEvents.GetColumns(s))
return nil
})
type BaremetalEventCreateOptions struct {
HOST string `json:"-" help:"Host Id"`
Type string `json:"type" help:"event type" choices:"system|manager"`
EventId string `json:"event_id" help:"original event Id"`
MESSAGE string `json:"message" help:"content of event"`
Severity string `json:"severity" help:"Severity of event"`
CREATED string `json:"created" help:"when event was created"`
}
R(&BaremetalEventCreateOptions{}, "baremetal-event-create", "Create baremetal event", func(s *mcclient.ClientSession, args *BaremetalEventCreateOptions) error {
host, err := modules.Hosts.Get(s, args.HOST, nil)
if err != nil {
return err
}
hostId, _ := host.Get("id")
hostName, _ := host.Get("name")
ipmiIp, _ := host.Get("ipmi_ip")
params := jsonutils.Marshal(args).(*jsonutils.JSONDict)
params.Add(hostId, "host_id")
params.Add(hostName, "host_name")
params.Add(ipmiIp, "ipmi_ip")
result, err := modules.BaremetalEvents.Create(s, params)
if err != nil {
return err
}
printObject(result)
return nil
})
}

View File

@@ -1,9 +1,24 @@
// 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 shell
import (
"yunion.io/x/jsonutils"
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modulebase"
"yunion.io/x/onecloud/pkg/mcclient/modules"
"yunion.io/x/onecloud/pkg/mcclient/options"
)
@@ -27,7 +42,7 @@ func init() {
if len(args.Network) > 0 {
params.Add(jsonutils.NewString(args.Network), "network_id")
}
var result *modules.ListResult
var result *modulebase.ListResult
var err error
if len(args.Host) > 0 {
result, err = modules.Baremetalnetworks.ListDescendent(s, args.Host, params)

View File

@@ -1,9 +1,24 @@
// 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 shell
import (
"yunion.io/x/jsonutils"
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modulebase"
"yunion.io/x/onecloud/pkg/mcclient/modules"
"yunion.io/x/onecloud/pkg/mcclient/options"
)
@@ -23,7 +38,7 @@ func init() {
}
}
var result *modules.ListResult
var result *modulebase.ListResult
var err error
if len(args.Host) > 0 {
result, err = modules.Baremetalstorages.ListDescendent(s, args.Host, params)

View File

@@ -1,3 +1,17 @@
// 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 shell
import (

View File

@@ -1,3 +1,17 @@
// 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 shell
import (

View File

@@ -1,3 +1,17 @@
// 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 shell
import (

View File

@@ -1,3 +1,17 @@
// 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 shell
import (

View File

@@ -1,3 +1,17 @@
// 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 shell
import (

View File

@@ -1,3 +1,17 @@
// 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 shell
import (

326
cmd/climc/shell/buckets.go Normal file
View File

@@ -0,0 +1,326 @@
// 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 shell
import (
"fmt"
"io"
"os"
"yunion.io/x/jsonutils"
api "yunion.io/x/onecloud/pkg/apis/compute"
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modulebase"
"yunion.io/x/onecloud/pkg/mcclient/modules"
"yunion.io/x/onecloud/pkg/mcclient/options"
objectshell "yunion.io/x/onecloud/pkg/multicloud/objectstore"
)
func init() {
type BucketListOptions struct {
options.BaseListOptions
}
R(&BucketListOptions{}, "bucket-list", "List all buckets", func(s *mcclient.ClientSession, args *BucketListOptions) error {
params, err := options.ListStructToParams(args)
if err != nil {
return err
}
result, err := modules.Buckets.List(s, params)
if err != nil {
return err
}
printList(result, modules.Buckets.GetColumns(s))
return nil
})
type BucketShowOptions struct {
ID string `help:"ID or name of bucket"`
}
R(&BucketShowOptions{}, "bucket-show", "Show details of bucket", func(s *mcclient.ClientSession, args *BucketShowOptions) error {
result, err := modules.Buckets.Get(s, args.ID, nil)
if err != nil {
return err
}
printObject(result)
return nil
})
type BucketUpdateOptions struct {
ID string `help:"ID or name of bucket" json:"-"`
Name string `help:"new name of bucket" json:"name"`
Desc string `help:"Description of bucket" json:"description" token:"desc"`
}
R(&BucketUpdateOptions{}, "bucket-update", "update bucket", func(s *mcclient.ClientSession, args *BucketUpdateOptions) error {
params := jsonutils.Marshal(args)
result, err := modules.Buckets.Update(s, args.ID, params)
if err != nil {
return err
}
printObject(result)
return nil
})
type BucketDeleteOptions struct {
ID string `help:"ID or name of bucket" json:"-"`
}
R(&BucketDeleteOptions{}, "bucket-delete", "delete bucket", func(s *mcclient.ClientSession, args *BucketDeleteOptions) error {
result, err := modules.Buckets.Delete(s, args.ID, nil)
if err != nil {
return err
}
printObject(result)
return nil
})
type BucketCreateOptions struct {
NAME string `help:"name of bucket" json:"name"`
CLOUDREGION string `help:"location of bucket" json:"cloudregion"`
MANAGER string `help:"cloud provider" json:"manager"`
StorageClass string `help:"bucket storage class"`
Acl string `help:"bucket ACL"`
}
R(&BucketCreateOptions{}, "bucket-create", "Create a bucket", func(s *mcclient.ClientSession, args *BucketCreateOptions) error {
params, err := options.StructToParams(args)
if err != nil {
return err
}
result, err := modules.Buckets.Create(s, params)
if err != nil {
return err
}
printObject(result)
return nil
})
type BucketListObjectsOptions struct {
ID string `help:"ID or name of bucket" json:"-"`
Prefix string `help:"List objects with prefix"`
Recursive bool `help:"List objects recursively"`
Limit int `help:"maximal items per request"`
PagingMarker string `help:"paging marker"`
}
R(&BucketListObjectsOptions{}, "bucket-object-list", "List objects in a bucket", func(s *mcclient.ClientSession, args *BucketListObjectsOptions) error {
params, err := options.StructToParams(args)
if err != nil {
return err
}
result, err := modules.Buckets.GetSpecific(s, args.ID, "objects", params)
if err != nil {
return err
}
listResult := modulebase.ListResult{}
err = result.Unmarshal(&listResult)
if err != nil {
return err
}
printList(&listResult, []string{})
return nil
})
type BucketDeleteObjectsOptions struct {
ID string `help:"ID or name of bucket" json:"-"`
KEYS []string `help:"List of objects to delete"`
}
R(&BucketDeleteObjectsOptions{}, "bucket-object-delete", "Delete objects in a bucket", func(s *mcclient.ClientSession, args *BucketDeleteObjectsOptions) error {
params := jsonutils.Marshal(args)
result, err := modules.Buckets.PerformAction(s, args.ID, "delete", params)
if err != nil {
return err
}
printObject(result)
return nil
})
type BucketMakeDirOptions struct {
ID string `help:"ID or name of bucket" json:"-"`
KEY string `help:"DIR key to create"`
}
R(&BucketMakeDirOptions{}, "bucket-mkdir", "Mkdir in a bucket", func(s *mcclient.ClientSession, args *BucketMakeDirOptions) error {
params := jsonutils.Marshal(args)
result, err := modules.Buckets.PerformAction(s, args.ID, "makedir", params)
if err != nil {
return err
}
printObject(result)
return nil
})
type BucketUploadObjectsOptions struct {
ID string `help:"ID or name of bucket" json:"-"`
KEY string `help:"Key of object to upload"`
Path string `help:"Path to file to upload" required:"true"`
ContentLength int64 `help:"Content lenght (bytes)" default:"-1"`
StorageClass string `help:"storage CLass"`
Acl string `help:"object acl." choices:"private|public-read|public-read-write"`
objectshell.ObjectHeaderOptions
}
R(&BucketUploadObjectsOptions{}, "bucket-object-upload", "Upload an object into a bucket", func(s *mcclient.ClientSession, args *BucketUploadObjectsOptions) error {
var body io.Reader
if len(args.Path) > 0 {
file, err := os.Open(args.Path)
if err != nil {
return err
}
defer file.Close()
body = file
fileInfo, err := file.Stat()
if err != nil {
return err
}
args.ContentLength = fileInfo.Size()
} else {
body = os.Stdin
}
if args.ContentLength < 0 {
return fmt.Errorf("required content-length")
}
meta := args.ObjectHeaderOptions.Options2Header()
err := modules.Buckets.Upload(s, args.ID, args.KEY, body, args.ContentLength, args.StorageClass, args.Acl, meta)
if err != nil {
return err
}
return nil
})
type BucketPresignObjectsOptions struct {
ID string `help:"ID or name of bucket" json:"-"`
KEY string `help:"Key of object to upload"`
Method string `help:"Request method" choices:"GET|PUT|DELETE"`
ExpireSeconds int `help:"expire in seconds" default:"60"`
}
R(&BucketPresignObjectsOptions{}, "bucket-object-tempurl", "Get temporal URL for an object in a bucket", func(s *mcclient.ClientSession, args *BucketPresignObjectsOptions) error {
params, err := options.StructToParams(args)
if err != nil {
return err
}
result, err := modules.Buckets.PerformAction(s, args.ID, "temp-url", params)
if err != nil {
return err
}
printObject(result)
return nil
})
type BucketSetAclOptions struct {
ID string `help:"ID or name of bucket" json:"-"`
ACL string `help:"ACL to set" choices:"default|private|public-read|public-read-write" json:"acl"`
Key []string `help:"Optional object key" json:"key"`
}
R(&BucketSetAclOptions{}, "bucket-set-acl", "Set ACL of bucket or object", func(s *mcclient.ClientSession, args *BucketSetAclOptions) error {
params := jsonutils.Marshal(args)
result, err := modules.Buckets.PerformAction(s, args.ID, "acl", params)
if err != nil {
return err
}
printObject(result)
return nil
})
type BucketAclOptions struct {
ID string `help:"ID or name of bucket" json:"-"`
Key string `help:"Optional object key"`
}
R(&BucketAclOptions{}, "bucket-acl", "Get ACL of bucket or object", func(s *mcclient.ClientSession, args *BucketAclOptions) error {
params, err := options.StructToParams(args)
if err != nil {
return err
}
result, err := modules.Buckets.GetSpecific(s, args.ID, "acl", params)
if err != nil {
return err
}
printObject(result)
return nil
})
type BucketSyncOptions struct {
ID string `help:"ID or name of bucket" json:"-"`
StatsOnly bool `help:"sync statistics only"`
}
R(&BucketSyncOptions{}, "bucket-sync", "Sync bucket", func(s *mcclient.ClientSession, args *BucketSyncOptions) error {
params, err := options.StructToParams(args)
if err != nil {
return err
}
result, err := modules.Buckets.PerformAction(s, args.ID, "sync", params)
if err != nil {
return err
}
printObject(result)
return nil
})
type BucketLimitOptions struct {
ID string `help:"ID or name of bucket" json:"-"`
SizeBytes int64 `help:"size limit in bytes"`
ObjectCount int64 `help:"object count limit"`
}
R(&BucketLimitOptions{}, "bucket-limit", "Set limit of bucket", func(s *mcclient.ClientSession, args *BucketLimitOptions) error {
limit := jsonutils.Marshal(args)
params := jsonutils.NewDict()
params.Set("limit", limit)
result, err := modules.Buckets.PerformAction(s, args.ID, "limit", params)
if err != nil {
return err
}
printObject(result)
return nil
})
type BucketAccessInfoOptions struct {
ID string `help:"ID or name of bucket" json:"-"`
}
R(&BucketAccessInfoOptions{}, "bucket-access-info", "Show backend access info of a bucket", func(s *mcclient.ClientSession, args *BucketAccessInfoOptions) error {
result, err := modules.Buckets.GetSpecific(s, args.ID, "access-info", nil)
if err != nil {
return err
}
printObject(result)
return nil
})
type BucketSetMetadataOptions struct {
ID string `help:"ID or name of bucket" json:"-"`
Key []string `help:"Optional object key" json:"key"`
objectshell.ObjectHeaderOptions
}
R(&BucketSetMetadataOptions{}, "bucket-set-metadata", "Set metadata of object", func(s *mcclient.ClientSession, args *BucketSetMetadataOptions) error {
input := api.BucketMetadataInput{}
input.Key = args.Key
input.Metadata = args.ObjectHeaderOptions.Options2Header()
err := input.Validate()
if err != nil {
return err
}
result, err := modules.Buckets.PerformAction(s, args.ID, "metadata", jsonutils.Marshal(input))
if err != nil {
return err
}
printObject(result)
return nil
})
}

View File

@@ -1,3 +1,17 @@
// 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 shell
import (

View File

@@ -1,15 +1,36 @@
// 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 shell
import (
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modules"
"yunion.io/x/onecloud/pkg/mcclient/options"
)
func init() {
type CapabilitiesOptions struct {
Domain string `help:"ID or name of domain"`
Scope string `help:"query scope" choices:"system|domain|project"`
}
R(&CapabilitiesOptions{}, "capabilities", "Show backend capabilities", func(s *mcclient.ClientSession, args *CapabilitiesOptions) error {
result, err := modules.Capabilities.List(s, nil)
query, err := options.StructToParams(args)
if err != nil {
return err
}
result, err := modules.Capabilities.List(s, query)
if err != nil {
return err
}

View File

@@ -1,3 +1,17 @@
// 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 shell
import (

View File

@@ -1,3 +1,17 @@
// 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 shell
import (
@@ -5,6 +19,7 @@ import (
"yunion.io/x/jsonutils"
api "yunion.io/x/onecloud/pkg/apis/compute"
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modules"
"yunion.io/x/onecloud/pkg/mcclient/options"
@@ -72,6 +87,19 @@ func init() {
R(&options.SAliyunCloudAccountCreateOptions{}, "cloud-account-create-aliyun", "Create an Aliyun cloud account", func(s *mcclient.ClientSession, args *options.SAliyunCloudAccountCreateOptions) error {
params := jsonutils.Marshal(args)
params.(*jsonutils.JSONDict).Add(jsonutils.NewString("Aliyun"), "provider")
options := jsonutils.NewDict()
if len(args.OptionsBillingReportBucket) > 0 {
options.Add(jsonutils.NewString(args.OptionsBillingReportBucket), "billing_report_bucket")
}
if len(args.OptionsBillingBucketAccount) > 0 {
options.Add(jsonutils.NewString(args.OptionsBillingBucketAccount), "billing_bucket_account")
}
if len(args.OptionsBillingFilePrefix) > 0 {
options.Add(jsonutils.NewString(args.OptionsBillingFilePrefix), "billing_file_prefix")
}
if options.Size() > 0 {
params.(*jsonutils.JSONDict).Add(options, "options")
}
result, err := modules.Cloudaccounts.Create(s, params)
if err != nil {
return err
@@ -108,6 +136,12 @@ func init() {
if len(args.OptionsBillingReportBucket) > 0 {
options.Add(jsonutils.NewString(args.OptionsBillingReportBucket), "billing_report_bucket")
}
if len(args.OptionsBillingBucketAccount) > 0 {
options.Add(jsonutils.NewString(args.OptionsBillingBucketAccount), "billing_bucket_account")
}
if len(args.OptionsBillingFilePrefix) > 0 {
options.Add(jsonutils.NewString(args.OptionsBillingFilePrefix), "billing_file_prefix")
}
if options.Size() > 0 {
params.Add(options, "options")
}
@@ -142,6 +176,61 @@ func init() {
return nil
})
R(&options.SUcloudCloudAccountCreateOptions{}, "cloud-account-create-ucloud", "Create a Ucloud cloud account", func(s *mcclient.ClientSession, args *options.SUcloudCloudAccountCreateOptions) error {
params := jsonutils.Marshal(args)
params.(*jsonutils.JSONDict).Add(jsonutils.NewString("Ucloud"), "provider")
result, err := modules.Cloudaccounts.Create(s, params)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&options.SZStackCloudAccountCreateOptions{}, "cloud-account-create-zstack", "Create a ZStack cloud account", func(s *mcclient.ClientSession, args *options.SZStackCloudAccountCreateOptions) error {
params := jsonutils.Marshal(args)
params.(*jsonutils.JSONDict).Add(jsonutils.NewString("ZStack"), "provider")
result, err := modules.Cloudaccounts.Create(s, params)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&options.SS3CloudAccountCreateOptions{}, "cloud-account-create-s3", "Create a generaic S3 object storage account", func(s *mcclient.ClientSession, args *options.SS3CloudAccountCreateOptions) error {
params := jsonutils.Marshal(args)
params.(*jsonutils.JSONDict).Add(jsonutils.NewString("S3"), "provider")
result, err := modules.Cloudaccounts.Create(s, params)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&options.SS3CloudAccountCreateOptions{}, "cloud-account-create-ceph", "Create a ceph object storage account", func(s *mcclient.ClientSession, args *options.SS3CloudAccountCreateOptions) error {
params := jsonutils.Marshal(args)
params.(*jsonutils.JSONDict).Add(jsonutils.NewString("Ceph"), "provider")
result, err := modules.Cloudaccounts.Create(s, params)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&options.SS3CloudAccountCreateOptions{}, "cloud-account-create-xsky", "Create a xsky object storage account", func(s *mcclient.ClientSession, args *options.SS3CloudAccountCreateOptions) error {
params := jsonutils.Marshal(args)
params.(*jsonutils.JSONDict).Add(jsonutils.NewString("Xsky"), "provider")
result, err := modules.Cloudaccounts.Create(s, params)
if err != nil {
return err
}
printObject(result)
return nil
})
type CloudaccountUpdateOptions struct {
ID string `help:"ID or Name of cloud account"`
Name string `help:"New name to update"`
@@ -175,6 +264,34 @@ func init() {
if params.Size() == 0 {
return InvalidUpdateError()
}
options := jsonutils.NewDict()
if len(args.OptionsBillingReportBucket) > 0 {
options.Add(jsonutils.NewString(args.OptionsBillingReportBucket), "billing_report_bucket")
}
if len(args.OptionsBillingBucketAccount) > 0 {
options.Add(jsonutils.NewString(args.OptionsBillingBucketAccount), "billing_bucket_account")
}
if len(args.OptionsBillingFilePrefix) > 0 {
options.Add(jsonutils.NewString(args.OptionsBillingFilePrefix), "billing_file_prefix")
}
if options.Size() > 0 {
params.Add(options, "options")
}
removeOptions := make([]string, 0)
if args.RemoveOptionsBillingReportBucket {
removeOptions = append(removeOptions, "billing_report_bucket")
}
if args.RemoveOptionsBillingBucketAccount {
removeOptions = append(removeOptions, "billing_bucket_account")
}
if args.RemoveOptionsBillingFilePrefix {
removeOptions = append(removeOptions, "billing_file_prefix")
}
if len(removeOptions) > 0 {
params.Add(jsonutils.NewStringArray(removeOptions), "remove_options")
}
result, err := modules.Cloudaccounts.Update(s, args.ID, params)
if err != nil {
return err
@@ -232,6 +349,12 @@ func init() {
if len(args.OptionsBillingReportBucket) > 0 {
options.Add(jsonutils.NewString(args.OptionsBillingReportBucket), "billing_report_bucket")
}
if len(args.OptionsBillingBucketAccount) > 0 {
options.Add(jsonutils.NewString(args.OptionsBillingBucketAccount), "billing_bucket_account")
}
if len(args.OptionsBillingFilePrefix) > 0 {
options.Add(jsonutils.NewString(args.OptionsBillingFilePrefix), "billing_file_prefix")
}
if options.Size() > 0 {
params.Add(options, "options")
}
@@ -239,6 +362,12 @@ func init() {
if args.RemoveOptionsBillingReportBucket {
removeOptions = append(removeOptions, "billing_report_bucket")
}
if args.RemoveOptionsBillingBucketAccount {
removeOptions = append(removeOptions, "billing_bucket_account")
}
if args.RemoveOptionsBillingFilePrefix {
removeOptions = append(removeOptions, "billing_file_prefix")
}
if len(removeOptions) > 0 {
params.Add(jsonutils.NewStringArray(removeOptions), "remove_options")
}
@@ -280,6 +409,45 @@ func init() {
return nil
})
R(&options.SUcloudCloudAccountUpdateOptions{}, "cloud-account-update-ucloud", "update a Ucloud cloud account", func(s *mcclient.ClientSession, args *options.SUcloudCloudAccountUpdateOptions) error {
params := jsonutils.Marshal(args).(*jsonutils.JSONDict)
if params.Size() == 0 {
return InvalidUpdateError()
}
result, err := modules.Cloudaccounts.Update(s, args.ID, params)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&options.SZStackCloudAccountUpdateOptions{}, "cloud-account-update-zstack", "update a ZStack cloud account", func(s *mcclient.ClientSession, args *options.SZStackCloudAccountUpdateOptions) error {
params := jsonutils.Marshal(args).(*jsonutils.JSONDict)
if params.Size() == 0 {
return InvalidUpdateError()
}
result, err := modules.Cloudaccounts.Update(s, args.ID, params)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&options.SS3CloudAccountUpdateOptions{}, "cloud-account-update-s3", "update a generic S3 cloud account", func(s *mcclient.ClientSession, args *options.SS3CloudAccountUpdateOptions) error {
params := jsonutils.Marshal(args).(*jsonutils.JSONDict)
if params.Size() == 0 {
return InvalidUpdateError()
}
result, err := modules.Cloudaccounts.Update(s, args.ID, params)
if err != nil {
return err
}
printObject(result)
return nil
})
type CloudaccountShowOptions struct {
ID string `help:"ID or Name of cloud account"`
}
@@ -434,6 +602,36 @@ func init() {
return nil
})
R(&options.SUcloudCloudAccountUpdateCredentialOptions{}, "cloud-account-update-credential-ucloud", "Update credential of a Ucloud cloud account", func(s *mcclient.ClientSession, args *options.SUcloudCloudAccountUpdateCredentialOptions) error {
params := jsonutils.Marshal(args)
result, err := modules.Cloudaccounts.PerformAction(s, args.ID, "update-credential", params)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&options.SZStackCloudAccountUpdateCredentialOptions{}, "cloud-account-update-credential-zstack", "Update credential of a ZStack cloud account", func(s *mcclient.ClientSession, args *options.SZStackCloudAccountUpdateCredentialOptions) error {
params := jsonutils.Marshal(args)
result, err := modules.Cloudaccounts.PerformAction(s, args.ID, "update-credential", params)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&options.SS3CloudAccountUpdateCredentialOptions{}, "cloud-account-update-credential-s3", "Update credential of a generic S3 cloud account", func(s *mcclient.ClientSession, args *options.SS3CloudAccountUpdateCredentialOptions) error {
params := jsonutils.Marshal(args)
result, err := modules.Cloudaccounts.PerformAction(s, args.ID, "update-credential", params)
if err != nil {
return err
}
printObject(result)
return nil
})
type CloudaccountSyncOptions struct {
ID string `help:"ID or Name of cloud account"`
Force bool `help:"Force sync no matter what"`
@@ -495,4 +693,39 @@ func init() {
printObject(result)
return nil
})
type CloudaccountPublicOptions struct {
ID string `help:"ID or name of cloud account"`
}
R(&CloudaccountPublicOptions{}, "cloud-account-public", "Mark this cloud account public ", func(s *mcclient.ClientSession, args *CloudaccountPublicOptions) error {
result, err := modules.Cloudaccounts.PerformAction(s, args.ID, "public", nil)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&CloudaccountPublicOptions{}, "cloud-account-private", "Mark this cloud account private", func(s *mcclient.ClientSession, args *CloudaccountPublicOptions) error {
result, err := modules.Cloudaccounts.PerformAction(s, args.ID, "private", nil)
if err != nil {
return err
}
printObject(result)
return nil
})
type CloudaccountShareModeOptions struct {
ID string `help:"ID or name of cloud account"`
MODE string `help:"cloud account share mode" choices:"account_domain|system|provider_domain"`
}
R(&CloudaccountShareModeOptions{}, "cloud-account-share-mode", "Set share_mode of a cloud account", func(s *mcclient.ClientSession, args *CloudaccountShareModeOptions) error {
input := api.CloudaccountShareModeInput{}
input.ShareMode = args.MODE
result, err := modules.Cloudaccounts.PerformAction(s, args.ID, "share-mode", jsonutils.Marshal(input))
if err != nil {
return err
}
printObject(result)
return nil
})
}

View File

@@ -1,3 +1,17 @@
// 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 shell
import (

View File

@@ -0,0 +1,27 @@
// 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 cloudnet
import (
"yunion.io/x/onecloud/cmd/climc/shell"
"yunion.io/x/onecloud/pkg/util/printutils"
)
var (
R = shell.R
printList = printutils.PrintJSONList
printObject = printutils.PrintJSONObject
printBatchResults = printutils.PrintJSONBatchResults
)

View File

@@ -0,0 +1,82 @@
// 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 cloudnet
import (
"yunion.io/x/onecloud/pkg/mcclient"
modules "yunion.io/x/onecloud/pkg/mcclient/modules/cloudnet"
base_options "yunion.io/x/onecloud/pkg/mcclient/options"
options "yunion.io/x/onecloud/pkg/mcclient/options/cloudnet"
)
func init() {
R(&options.MeshNetworkCreateOptions{}, "meshnetwork-create", "Create mesh network", func(s *mcclient.ClientSession, opts *options.MeshNetworkCreateOptions) error {
params, err := base_options.StructToParams(opts)
if err != nil {
return err
}
mn, err := modules.MeshNetworks.Create(s, params)
if err != nil {
return err
}
printObject(mn)
return nil
})
R(&options.MeshNetworkGetOptions{}, "meshnetwork-show", "Show mesh network", func(s *mcclient.ClientSession, opts *options.MeshNetworkGetOptions) error {
mn, err := modules.MeshNetworks.Get(s, opts.ID, nil)
if err != nil {
return err
}
printObject(mn)
return nil
})
R(&options.MeshNetworkListOptions{}, "meshnetwork-list", "List mesh networks", func(s *mcclient.ClientSession, opts *options.MeshNetworkListOptions) error {
params, err := base_options.ListStructToParams(opts)
if err != nil {
return err
}
result, err := modules.MeshNetworks.List(s, params)
if err != nil {
return err
}
printList(result, modules.MeshNetworks.GetColumns(s))
return nil
})
R(&options.MeshNetworkUpdateOptions{}, "meshnetwork-update", "Update mesh network", func(s *mcclient.ClientSession, opts *options.MeshNetworkUpdateOptions) error {
params, err := base_options.StructToParams(opts)
mn, err := modules.MeshNetworks.Update(s, opts.ID, params)
if err != nil {
return err
}
printObject(mn)
return nil
})
R(&options.MeshNetworkDeleteOptions{}, "meshnetwork-delete", "Delete mesh network", func(s *mcclient.ClientSession, opts *options.MeshNetworkDeleteOptions) error {
mn, err := modules.MeshNetworks.Delete(s, opts.ID, nil)
if err != nil {
return err
}
printObject(mn)
return nil
})
R(&options.MeshNetworkActionRealizeOptions{}, "meshnetwork-realize", "Realize mesh network", func(s *mcclient.ClientSession, opts *options.MeshNetworkActionRealizeOptions) error {
mn, err := modules.MeshNetworks.PerformAction(s, opts.ID, "realize", nil)
if err != nil {
return err
}
printObject(mn)
return nil
})
}

View File

@@ -0,0 +1,134 @@
// 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 cloudnet
import (
"yunion.io/x/onecloud/pkg/mcclient"
modules "yunion.io/x/onecloud/pkg/mcclient/modules/cloudnet"
base_options "yunion.io/x/onecloud/pkg/mcclient/options"
options "yunion.io/x/onecloud/pkg/mcclient/options/cloudnet"
)
func init() {
R(&options.RouterCreateOptions{}, "router-create", "Create router", func(s *mcclient.ClientSession, opts *options.RouterCreateOptions) error {
params, err := opts.Params()
if err != nil {
return err
}
router, err := modules.Routers.Create(s, params)
if err != nil {
return err
}
printObject(router)
return nil
})
R(&options.RouterGetOptions{}, "router-show", "Show router", func(s *mcclient.ClientSession, opts *options.RouterGetOptions) error {
router, err := modules.Routers.Get(s, opts.ID, nil)
if err != nil {
return err
}
printObject(router)
return nil
})
R(&options.RouterListOptions{}, "router-list", "List routers", func(s *mcclient.ClientSession, opts *options.RouterListOptions) error {
params, err := base_options.ListStructToParams(opts)
if err != nil {
return err
}
result, err := modules.Routers.List(s, params)
if err != nil {
return err
}
printList(result, modules.Routers.GetColumns(s))
return nil
})
R(&options.RouterUpdateOptions{}, "router-update", "Update router", func(s *mcclient.ClientSession, opts *options.RouterUpdateOptions) error {
params, err := base_options.StructToParams(opts)
router, err := modules.Routers.Update(s, opts.ID, params)
if err != nil {
return err
}
printObject(router)
return nil
})
R(&options.RouterDeleteOptions{}, "router-delete", "Delete router", func(s *mcclient.ClientSession, opts *options.RouterDeleteOptions) error {
router, err := modules.Routers.Delete(s, opts.ID, nil)
if err != nil {
return err
}
printObject(router)
return nil
})
R(&options.RouterActionJoinMeshNetworkOptions{}, "router-join-meshnetwork", "Router join meshnetwork", func(s *mcclient.ClientSession, opts *options.RouterActionJoinMeshNetworkOptions) error {
params, err := base_options.StructToParams(opts)
if err != nil {
return err
}
router, err := modules.Routers.PerformAction(s, opts.ID, "join-mesh-network", params)
if err != nil {
return err
}
printObject(router)
return nil
})
R(&options.RouterActionLeaveMeshNetworkOptions{}, "router-leave-meshnetwork", "Router leave meshnetwork", func(s *mcclient.ClientSession, opts *options.RouterActionLeaveMeshNetworkOptions) error {
params, err := base_options.StructToParams(opts)
if err != nil {
return err
}
router, err := modules.Routers.PerformAction(s, opts.ID, "leave-mesh-network", params)
if err != nil {
return err
}
printObject(router)
return nil
})
R(&options.RouterActionRegisterIfnameOptions{}, "router-register-ifname", "Router register new ifname", func(s *mcclient.ClientSession, opts *options.RouterActionRegisterIfnameOptions) error {
params, err := base_options.StructToParams(opts)
if err != nil {
return err
}
router, err := modules.Routers.PerformAction(s, opts.ID, "register-ifname", params)
if err != nil {
return err
}
printObject(router)
return nil
})
R(&options.RouterActionUnregisterIfnameOptions{}, "router-unregister-ifname", "Router unregister ifname", func(s *mcclient.ClientSession, opts *options.RouterActionUnregisterIfnameOptions) error {
params, err := base_options.StructToParams(opts)
if err != nil {
return err
}
router, err := modules.Routers.PerformAction(s, opts.ID, "unregister-ifname", params)
if err != nil {
return err
}
printObject(router)
return nil
})
R(&options.RouterActionRealizeOptions{}, "router-realize", "Router realize", func(s *mcclient.ClientSession, opts *options.RouterActionRealizeOptions) error {
params, err := base_options.StructToParams(opts)
if err != nil {
return err
}
router, err := modules.Routers.PerformAction(s, opts.ID, "realize", params)
if err != nil {
return err
}
printObject(router)
return nil
})
}

View File

@@ -0,0 +1,74 @@
// 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 cloudnet
import (
"yunion.io/x/onecloud/pkg/mcclient"
modules "yunion.io/x/onecloud/pkg/mcclient/modules/cloudnet"
base_options "yunion.io/x/onecloud/pkg/mcclient/options"
options "yunion.io/x/onecloud/pkg/mcclient/options/cloudnet"
)
func init() {
R(&options.RouteCreateOptions{}, "router-route-create", "Create router", func(s *mcclient.ClientSession, opts *options.RouteCreateOptions) error {
params, err := base_options.StructToParams(opts)
if err != nil {
return err
}
router, err := modules.Routes.Create(s, params)
if err != nil {
return err
}
printObject(router)
return nil
})
R(&options.RouteGetOptions{}, "router-route-show", "Show router", func(s *mcclient.ClientSession, opts *options.RouteGetOptions) error {
router, err := modules.Routes.Get(s, opts.ID, nil)
if err != nil {
return err
}
printObject(router)
return nil
})
R(&options.RouteListOptions{}, "router-route-list", "List routers", func(s *mcclient.ClientSession, opts *options.RouteListOptions) error {
params, err := base_options.ListStructToParams(opts)
if err != nil {
return err
}
result, err := modules.Routes.List(s, params)
if err != nil {
return err
}
printList(result, modules.Routes.GetColumns(s))
return nil
})
R(&options.RouteUpdateOptions{}, "router-route-update", "Update router", func(s *mcclient.ClientSession, opts *options.RouteUpdateOptions) error {
params, err := base_options.StructToParams(opts)
router, err := modules.Routes.Update(s, opts.ID, params)
if err != nil {
return err
}
printObject(router)
return nil
})
R(&options.RouteDeleteOptions{}, "router-route-delete", "Delete router", func(s *mcclient.ClientSession, opts *options.RouteDeleteOptions) error {
router, err := modules.Routes.Delete(s, opts.ID, nil)
if err != nil {
return err
}
printObject(router)
return nil
})
}

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