Compare commits

..

3714 Commits

Author SHA1 Message Date
Zexi Li
fcabafc742 Merge pull request #5700 from swordqiu/automated-cherry-pick-of-#5698-upstream-release-3.0
Automated cherry pick of #5698: fix: service config changes not effective
2020-04-07 10:38:36 +08:00
Zexi Li
e19c91788c Merge pull request #5706 from wanyaoqi/automated-cherry-pick-of-#5704-upstream-release-3.0
Automated cherry pick of #5704: fix migrate cache cdrom
2020-04-07 10:37:24 +08:00
wanyaoqi
5b9a89d81b fix migrate cache cdrom 2020-04-06 23:19:08 +08:00
Qiu Jian
f685c1b391 fix: service config changes not effective 2020-04-06 16:11:24 +08:00
Zexi Li
089fa77540 Merge pull request #5692 from rainzm/automated-cherry-pick-of-#5691-upstream-release-3.0
Automated cherry pick of #5691: fix(esxi): Fix some question of CheckAndSetCacheImage.
2020-04-05 13:53:07 +08:00
Zexi Li
bf6b6e3f2d Merge pull request #5696 from swordqiu/automated-cherry-pick-of-#5694-upstream-release-3.0
Automated cherry pick of #5694: fix: misc bugs in usage data
2020-04-05 13:52:14 +08:00
Qiu Jian
a53e4d0220 fix: misc bugs in usage data 2020-04-05 08:00:48 +08:00
Rain
fc7240469c fix(esxi): Fix some question of CheckAndSetCacheImage.
1. If there is storagecachedimage in this host's storagecache, use is
instead of another host's one.
2. SrcStorage should be found from srcHost instead host.
2020-04-04 21:53:45 +08:00
Zexi Li
f3e89cc91a Merge pull request #5688 from ioito/automated-cherry-pick-of-#5686-upstream-release-3.0
Automated cherry pick of #5686: fix: 修复重装系统时未能更换指定image问题
2020-04-03 19:43:30 +08:00
Zexi Li
ac14001b1d Merge pull request #5673 from ioito/automated-cherry-pick-of-#5671-upstream-release-3.0
Automated cherry pick of #5671: fix: 华为云rds使用自身的存储类型
2020-04-03 19:41:46 +08:00
Qu Xuan
7451e9cadb fix: 修复重装系统时未能更换指定image问题 2020-04-03 11:35:55 +08:00
Zexi Li
b0774713a1 Merge pull request #5678 from wanyaoqi/automated-cherry-pick-of-#5676-upstream-release-3.0
Automated cherry pick of #5676: host do not set hostname
2020-04-02 19:07:28 +08:00
wanyaoqi
dde3fd44bf host do not set hostname 2020-04-02 18:13:22 +08:00
Qu Xuan
d08bb2700c fix: 华为云rds使用自身的存储类型 2020-04-02 17:30:06 +08:00
Zexi Li
517bca61c0 Merge pull request #5637 from tb365/automated-cherry-pick-of-#5631-upstream-release-3.0
Automated cherry pick of #5631: elb bugfix
2020-04-02 12:47:36 +08:00
Zexi Li
8465defe65 Merge pull request #5665 from swordqiu/automated-cherry-pick-of-#5662-upstream-release-3.0
Automated cherry pick of #5662: fix: disk/nics usage should exclude those pending_deleted
2020-04-02 12:45:49 +08:00
Zexi Li
129c2195e9 Merge pull request #5661 from wanyaoqi/automated-cherry-pick-of-#5659-upstream-release-3.0
Automated cherry pick of #5659: host session use internal endpoint
2020-04-02 12:43:21 +08:00
Qiu Jian
cebee78ee5 fix: disk/nics usage should exclude those pending_deleted 2020-04-02 01:54:45 +08:00
tangbin
c84f5730df elb bugfix 2020-04-01 20:27:36 +08:00
wanyaoqi
0219383e8d host session use internal endpoint 2020-04-01 20:01:30 +08:00
Zexi Li
f4cf25d3e5 Merge pull request #5655 from swordqiu/automated-cherry-pick-of-#5653-upstream-release-3.0
Automated cherry pick of #5653: fix: allow list cloudprovider by default
2020-04-01 18:13:53 +08:00
Zexi Li
28c5dbd1ab Merge pull request #5650 from swordqiu/automated-cherry-pick-of-#5648-upstream-release-3.0
Automated cherry pick of #5648: fix: cancel pending usage might not need to update usage
2020-04-01 18:11:29 +08:00
Qiu Jian
dcc7f2ba5c fix: allow list cloudprovider by default 2020-04-01 17:46:16 +08:00
Qiu Jian
3c4e953843 fix: cancel pending usage might not need to update usage 2020-04-01 16:53:17 +08:00
Zexi Li
bee1582654 Merge pull request #5642 from swordqiu/automated-cherry-pick-of-#5640-upstream-release-3.0
Automated cherry pick of #5640: fix: changes to request_work_count cause apigateway restart
2020-04-01 10:23:32 +08:00
Qiu Jian
f0a6c20c43 fix: changes to request_work_count cause apigateway restart 2020-04-01 10:20:05 +08:00
yunion-ci-robot
3dfce69dbc Merge pull request #5627 from swordqiu/automated-cherry-pick-of-#5623-upstream-release-3.0
Automated cherry pick of #5623: fix: worker may block by worker_chan
2020-03-31 10:29:45 +08:00
Qiu Jian
8c4f18b11f fix: worker may block by worker_chan 2020-03-31 09:52:00 +08:00
Zexi Li
69c2de1fd9 Merge pull request #5621 from swordqiu/automated-cherry-pick-of-#5616-upstream-release-3.0
Automated cherry pick of #5616: fix: increase apigateway default worker count to 32
2020-03-30 19:22:49 +08:00
Qiu Jian
c5ecdd6a42 fix: increase apigateway default worker count to 32 2020-03-30 19:08:43 +08:00
yunion-ci-robot
a79aaaedc7 Merge pull request #5611 from swordqiu/automated-cherry-pick-of-#5608-upstream-release-3.0
Automated cherry pick of #5608: fix: allow list loadbalancer cluster by default
2020-03-28 09:47:41 +08:00
Qiu Jian
b58f78a0c9 fix: allow list loadbalancer cluster by default 2020-03-28 09:05:08 +08:00
Zexi Li
8d9a76e3b3 Merge pull request #5603 from ioito/automated-cherry-pick-of-#5601-upstream-release-3.0
Automated cherry pick of #5601: fix: 修正gcp不支持预付费资源
2020-03-26 20:33:13 +08:00
Qu Xuan
173a8d6d4f fix: 修正gcp不支持预付费资源 2020-03-26 20:02:06 +08:00
Zexi Li
08bf822d17 Merge pull request #5596 from ioito/hotfix/qx-lb-provider
fix: 避免onecloud lb未返回provider及brand信息
2020-03-26 10:41:41 +08:00
Qu Xuan
2bd5b61b61 fix: 避免onecloud lb未返回provider及brand信息 2020-03-25 18:25:29 +08:00
Zexi Li
41d61a77ce Merge pull request #5583 from yousong/automated-cherry-pick-of-#5581-upstream-release-3.0
Automated cherry pick of #5581: webconsole: typo fix accessable -> accessible
2020-03-23 21:14:24 +08:00
Yousong Zhou
ce86a155f8 httperrors: fix passing "params" argument 2020-03-23 16:41:53 +08:00
Yousong Zhou
503b6f0a2a webconsole: typo fix accessable -> accessible 2020-03-23 16:41:53 +08:00
Zexi Li
a5dc903c13 Merge pull request #5580 from zexi/automated-cherry-pick-of-#5577-upstream-release-3.0
Automated cherry pick of #5577: climc: k8s storageclass support
2020-03-23 10:53:14 +08:00
Zexi Li
f8dcc93262 climc: k8s storageclass support 2020-03-23 10:53:41 +08:00
Zexi Li
8085764f20 Merge pull request #5573 from wanyaoqi/automated-cherry-pick-of-#5571-upstream-release-3.0
Automated cherry pick of #5571: guest add metadata cpu mode
2020-03-20 19:39:31 +08:00
wanyaoqi
e8b342dfb2 guest add metadata cpu mode
- live migrate if guest cpu mode is qemu, do not check host cpu mode
- disk name generation replace '_' to '-'
2020-03-20 15:14:36 +08:00
Zexi Li
1a58515573 Merge pull request #5557 from rainzm/automated-cherry-pick-of-#5555-upstream-release-3.0
Automated cherry pick of #5555: feat(notify): Compatibility and repair
2020-03-19 10:06:25 +08:00
yunion-ci-robot
439a02d9c8 Merge pull request #5492 from ioito/automated-cherry-pick-of-#5490-upstream-release-3.0
Automated cherry pick of #5490: fix: class action 统一使用keywords包裹
2020-03-19 08:48:20 +08:00
Rain
8e767cc984 feat(notify): Compatibility and repair 2020-03-18 20:59:25 +08:00
Zexi Li
e444d5e797 Merge pull request #5547 from swordqiu/automated-cherry-pick-of-#5545-upstream-release-3.0
Automated cherry pick of #5545: fix: policy fetcher not retry after initial failure
2020-03-18 10:53:08 +08:00
Qu Xuan
6022e2da2e fix: class action 统一使用keywords包裹 2020-03-17 18:44:31 +08:00
Qiu Jian
dc51ab2ee0 fix: policy fetcher not retry after initial failure 2020-03-17 18:31:00 +08:00
Zexi Li
105c0a1714 Merge pull request #5508 from swordqiu/automated-cherry-pick-of-#5506-upstream-release-3.0
Automated cherry pick of #5506: fix: recode cloudprovider usable filter
2020-03-17 11:39:52 +08:00
yunion-ci-robot
69029c088a Merge pull request #5531 from ioito/automated-cherry-pick-of-#5529-upstream-release-3.0
Automated cherry pick of #5529: fix: 避免重装系统失败后imageId依然发生改变
2020-03-17 08:21:15 +08:00
yunion-ci-robot
cd996659ac Merge pull request #5538 from ioito/automated-cherry-pick-of-#5536-upstream-release-3.0
Automated cherry pick of #5536: fix: 修复谷歌云 cloud-provider-clirc 显示错误问题
2020-03-17 08:12:15 +08:00
Qu Xuan
439e9c23f8 fix: 修复谷歌云 cloud-provider-clirc 显示错误问题 2020-03-16 20:10:04 +08:00
Zexi Li
a259eb1112 Merge pull request #5525 from ioito/automated-cherry-pick-of-#5452-upstream-release-3.0
Automated cherry pick of #5452: fix: 优化rds sku同步逻辑
2020-03-16 18:25:35 +08:00
Zexi Li
c76ca51af5 Merge pull request #5499 from zhaoxiangchun/automated-cherry-pick-of-#5496-upstream-release-3.0
Automated cherry pick of #5496: vmware 宿主机监控信息获取
2020-03-16 12:57:40 +08:00
Qu Xuan
286e001dac fix: 避免重装系统失败后imageId依然发生改变 2020-03-16 11:30:16 +08:00
Qu Xuan
1eb3abf5a1 fix: 优化rds sku同步逻辑 2020-03-16 10:34:13 +08:00
yunion-ci-robot
f51e7d0c7f Merge pull request #5521 from ioito/automated-cherry-pick-of-#5519-upstream-release-3.0
Automated cherry pick of #5519: fix: 避免未传递prority参数导致校验未通过
2020-03-16 09:08:12 +08:00
Qu Xuan
b927fa5708 fix: 避免未传递prority参数导致校验未通过 2020-03-15 13:13:16 +08:00
yunion-ci-robot
9211beb905 Merge pull request #5514 from zexi/automated-cherry-pick-of-#5511-upstream-release-3.0
Automated cherry pick of #5511: scheduler: fix disk allocated not balanced
2020-03-14 17:50:05 +08:00
Zexi Li
8d60b07d80 scheduler: fix disk allocated not balanced 2020-03-14 16:51:15 +08:00
Qiu Jian
39b5d08f14 fix: recode cloudprovider usable filter 2020-03-14 09:06:32 +08:00
Zexi Li
5b4ab09678 Merge pull request #5503 from zexi/automated-cherry-pick-of-#5501-upstream-release-3.0
Automated cherry pick of #5501: auth: check isAuthed if nil
2020-03-13 19:18:22 +08:00
Zexi Li
26802683ce auth: check isAuthed if nil 2020-03-13 19:19:44 +08:00
zhaoxiangchun
25a537c743 vmware 宿主机监控信息获取 2020-03-13 17:22:59 +08:00
yunion-ci-robot
4538ee2487 Merge pull request #5477 from rainzm/automated-cherry-pick-of-#5454-upstream-release-3.0
Automated cherry pick of #5454: fix(glance): Structured subimage info and add 'created_at' field
2020-03-13 15:34:02 +08:00
yunion-ci-robot
e2e33ef7af Merge pull request #5487 from wanyaoqi/automated-cherry-pick-of-#5484-upstream-release-3.0
Automated cherry pick of #5484: download handler set no timeout
2020-03-13 14:33:02 +08:00
wanyaoqi
5e3270b7f4 download handler set no timeout 2020-03-13 11:42:14 +08:00
Zexi Li
f282022f9e Merge pull request #5482 from rainzm/automated-cherry-pick-of-#5480-upstream-release-3.0
Automated cherry pick of #5480: fix(esxi): VlanID '1' is default value
2020-03-13 11:11:23 +08:00
Rain
d02dae88f2 fix(esxi): VlanID '1' is default value 2020-03-12 20:59:03 +08:00
Rain
650745ef1f fix(glance): Structured subimage info and add 'created_at' field 2020-03-12 19:24:18 +08:00
Zexi Li
40cdc198c8 Merge pull request #5461 from bistuzx/automated-cherry-pick-of-#5459-upstream-release-3.0
Automated cherry pick of #5459: add bucket connection test
2020-03-12 16:20:26 +08:00
张旭
a4ef41c5bb change climc bucket options import 2020-03-12 12:27:31 +08:00
张旭
698fc0e1cb add bucket connection test 2020-03-12 12:27:31 +08:00
Zexi Li
2c35de74c8 Merge pull request #5465 from rainzm/feat/vendor_3.0
feat: Update Vendor for release/3.0
2020-03-12 11:48:34 +08:00
Rain
f70d781f0d feat: Update Vendor for release/3.0 2020-03-12 11:46:31 +08:00
yunion-ci-robot
a8ea730823 Merge pull request #5445 from rainzm/automated-cherry-pick-of-#5444-upstream-release-3.0
Automated cherry pick of #5444: fix(esxi): UnitNumber 7 is unavailable for scsi controller
2020-03-12 02:54:01 +08:00
yunion-ci-robot
f4f34c1c3d Merge pull request #5440 from rainzm/automated-cherry-pick-of-#5439-upstream-release-3.0
Automated cherry pick of #5439: fix(esxi): Fix bugs when using network with vlanID
2020-03-12 02:48:01 +08:00
Zexi Li
05ea4797d8 Merge pull request #5449 from zexi/automated-cherry-pick-of-#5447-upstream-release-3.0
Automated cherry pick of #5447: region: host update storage set enabled
2020-03-11 15:58:28 +08:00
Zexi Li
494c540ac1 region: host update storage set enabled 2020-03-11 15:59:05 +08:00
Rain
e0838efff8 fix(esxi): UnitNumber 7 is unavailable for scsi controller
By default, the virtual SCSI controller is assigned to virtual device node (z:7),
so that device node is unavailable for hard disks or other devices.
https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.vm_admin.doc/GUID-5872D173-A076-42FE-8D0B-9DB0EB0E7362.html
2020-03-11 15:17:33 +08:00
Rain
f3f449f27a fix(esxi): Fix bugs when using network with vlanID 2020-03-11 11:02:31 +08:00
Zexi Li
ce74310ca1 Merge pull request #5421 from swordqiu/automated-cherry-pick-of-#5419-upstream-release-3.0
Automated cherry pick of #5419: fix: fail to find esxi admin vnic, use vnic with default IPv4 route
2020-03-10 14:46:02 +08:00
yunion-ci-robot
4ee1079d95 Merge pull request #5431 from ioito/automated-cherry-pick-of-#5429-upstream-release-3.0
Automated cherry pick of #5429: fix: typo for sku sync
2020-03-10 11:14:57 +08:00
yunion-ci-robot
3dbaa6daba Merge pull request #5427 from rainzm/automated-cherry-pick-of-#5424-upstream-release-3.0
Automated cherry pick of #5424: fix(esxi): Add two account with same account name
2020-03-10 11:03:59 +08:00
Qu Xuan
64b9bac4a9 fix: typo for sku sync 2020-03-09 19:59:04 +08:00
Rain
75410934fe fix(esxi): Add two account with same account name 2020-03-09 17:58:56 +08:00
Qiu Jian
fae4cf63e2 fix: fail to find esxi admin vnic, use vnic with default IPv4 route 2020-03-09 15:58:13 +08:00
Zexi Li
0cd71ca469 Merge pull request #5416 from zexi/automated-cherry-pick-of-#5414-upstream-release-3.0
Automated cherry pick of #5414: opslog: notes use text column
2020-03-09 12:36:28 +08:00
Zexi Li
2326f8e397 Merge pull request #5400 from swordqiu/automated-cherry-pick-of-#5398-upstream-release-3.0
Automated cherry pick of #5398: fix: not check domain quota if non_default_domain_project is off
2020-03-09 12:31:54 +08:00
Zexi Li
5e39414807 opslog: notes use text column 2020-03-09 12:31:28 +08:00
Zexi Li
2c3340db6d Merge pull request #5405 from swordqiu/automated-cherry-pick-of-#5403-upstream-release-3.0
Automated cherry pick of #5403: fix: cloudprovider performEnable should also enable its cloudaccount
2020-03-09 12:30:34 +08:00
Zexi Li
54aff23fd2 Merge pull request #5410 from swordqiu/automated-cherry-pick-of-#5408-upstream-release-3.0
Automated cherry pick of #5408: feature: climc docker image add vim
2020-03-09 09:28:01 +08:00
Qiu Jian
c500036b1a feature: climc docker image add vim 2020-03-08 22:47:29 +08:00
Qiu Jian
51fdaed08c fix: cloudprovider performEnable should also enable its cloudaccount 2020-03-08 16:14:10 +08:00
Qiu Jian
1e58907468 fix: not check domain quota if non_default_domain_project is off 2020-03-07 18:17:15 +08:00
Zexi Li
4e7202af40 Merge pull request #5394 from swordqiu/automated-cherry-pick-of-#5392-upstream-release-3.0
Automated cherry pick of #5392: fix: scoped resource should override FetchOwnerId
2020-03-07 15:51:45 +08:00
Qiu Jian
444c2bc56e fix: scoped resource should override FetchOwnerId 2020-03-07 15:42:13 +08:00
Zexi Li
ae5f1e308b Merge pull request #5390 from swordqiu/automated-cherry-pick-of-#5388-upstream-release-3.0
Automated cherry pick of #5388: fix: keystone prefers internal endpoint type
2020-03-06 22:22:55 +08:00
Qiu Jian
12ce1a0056 fix: keystone prefers internal endpoint type 2020-03-06 21:46:30 +08:00
yunion-ci-robot
90008ff727 Merge pull request #5384 from rainzm/automated-cherry-pick-of-#5378-upstream-release-3.0
Automated cherry pick of #5378: fix: Add 'scope=system' and 'system' for Caches when querying from Keystone.
2020-03-06 19:17:50 +08:00
Zexi Li
565696ca54 Merge pull request #5374 from swordqiu/automated-cherry-pick-of-#5372-upstream-release-3.0
Automated cherry pick of #5372: fix: no scope shcedtag should be visible to all
2020-03-06 18:32:33 +08:00
yunion-ci-robot
ae0de12280 Merge pull request #5381 from tb365/automated-cherry-pick-of-#5379-upstream-release-3.0
Automated cherry pick of #5379: huawei reset password bugfix
2020-03-06 18:12:51 +08:00
Rain
bf4ca9c7f4 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:16:23 +08:00
TangBin
f50ffc31a7 ctyun region name fix 2020-03-06 16:51:58 +08:00
TangBin
9a7cad2507 huawei reset password bugfix 2020-03-06 16:51:57 +08:00
Qiu Jian
4efe569446 fix: no scope shcedtag should be visible to all 2020-03-06 15:23:51 +08:00
Zexi Li
ed512d2881 Merge pull request #5368 from rainzm/automated-cherry-pick-of-#5366-upstream-release-3.0
Automated cherry pick of #5366: fix/notify: Fix the resend mechanism
2020-03-06 12:46:08 +08:00
Rain
61d9bd3da9 fix/notify: Fix the resend mechanism 2020-03-06 11:12:59 +08:00
yunion-ci-robot
8e9cd48302 Merge pull request #5356 from rainzm/automated-cherry-pick-of-#5353-upstream-release-3.0
Automated cherry pick of #5353: feature(notify): Add query and return value for contact UPDATE interface
2020-03-05 19:03:51 +08:00
Rain
897410d87f fix the conflict 2020-03-05 17:44:38 +08:00
Rain
cf1ae4cac3 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:43:28 +08:00
Zexi Li
f8358cdde2 Merge pull request #5348 from swordqiu/hotfix/qj-update-autogen-struct-json-fieldname-for-3.0
fix: update autogen struct json fieldname for release/3.0
2020-03-05 14:08:02 +08:00
Qiu Jian
2e51e8d7e8 update autogen struct with comment lines 2020-03-04 21:24:48 +08:00
yunion-ci-robot
7b7d197939 Merge pull request #5345 from ioito/automated-cherry-pick-of-#5343-upstream-release-3.0
Automated cherry pick of #5343: fix: 支持aws rds sync
2020-03-04 20:50:12 +08:00
Qiu Jian
d019dded59 fix: update autogen struct json fieldname for release/3.0 2020-03-04 20:29:55 +08:00
Qu Xuan
6ee9a428d4 fix: 支持aws rds sync 2020-03-04 20:10:43 +08:00
Zexi Li
fe096bc117 Merge pull request #5337 from swordqiu/automated-cherry-pick-of-#5336-upstream-release-3.0
Automated cherry pick of #5336: fix: keystone user password history check should skip system account
2020-03-04 19:16:22 +08:00
Qiu Jian
bf9bcb191d fix: keystone user password history check should skip system account 2020-03-04 18:37:57 +08:00
Zexi Li
cc0377dafb Merge pull request #5326 from swordqiu/automated-cherry-pick-of-#5324-upstream-release-3.0
Automated cherry pick of #5324: fix: clean up pending usage no matter whether object upload is success
2020-03-03 13:14:23 +08:00
yunion-ci-robot
dce85ee9ee Merge pull request #5317 from ioito/automated-cherry-pick-of-#5315-upstream-release-3.0
Automated cherry pick of #5315: fix: 避免旧套餐下架zone信息未知,导致同步rds异常
2020-03-03 02:22:43 +08:00
Qiu Jian
bc3ce3d2a1 fix: clean up pending usage no matter whether object upload is success 2020-03-03 02:13:15 +08:00
Qu Xuan
27bb5eaa2b fix: 避免旧套餐下架zone信息未知,导致同步rds异常 2020-03-02 17:09:37 +08:00
Zexi Li
c630607066 Merge pull request #5314 from wanyaoqi/automated-cherry-pick-of-#5312-upstream-release-3.0
Automated cherry pick of #5312: fix get remote address because of request is proxyed by k8s
2020-02-28 23:57:25 +08:00
yunion-ci-robot
e2762d75ca Merge pull request #5272 from zhaoxiangchun/automated-cherry-pick-of-#5268-upstream-release-3.0
Automated cherry pick of #5268: 谷歌云multicloud监控
2020-02-28 23:17:29 +08:00
wanyaoqi
03f4cf19ed fix get remote address because of request is proxyed by k8s 2020-02-28 22:27:47 +08:00
yunion-ci-robot
c4bbd519bc Merge pull request #5309 from ioito/automated-cherry-pick-of-#5307-upstream-release-3.0
Automated cherry pick of #5307: 修复aliyun没有权限获取余额问题
2020-02-28 22:02:28 +08:00
yunion-ci-robot
79b03d99c6 Merge pull request #5288 from wanyaoqi/automated-cherry-pick-of-#5286-upstream-release-3.0
Automated cherry pick of #5286: host register use default vpc
2020-02-28 21:54:21 +08:00
yunion-ci-robot
32da0918ba Merge pull request #5300 from tb365/bugfix/tb-bugfix-022803
vpc list add param vpc_usable
2020-02-28 21:23:19 +08:00
yunion-ci-robot
e6128db1a4 Merge pull request #5283 from wanyaoqi/automated-cherry-pick-of-#5255-upstream-release-3.0
Automated cherry pick of #5255: fix nic get pci address
2020-02-28 21:08:21 +08:00
yunion-ci-robot
fe5a701849 Merge pull request #5279 from ioito/automated-cherry-pick-of-#5277-upstream-release-3.0
Automated cherry pick of #5277: fix: 新加gcp region 翻译
2020-02-28 20:50:20 +08:00
Qu Xuan
9d2bf8556c 修复aliyun没有权限获取余额问题 2020-02-28 19:55:53 +08:00
wanyaoqi
90ee7c2934 host register use default vpc 2020-02-28 18:37:31 +08:00
TangBin
bff54a22fd vpc list add param vpc_usable 2020-02-28 14:47:56 +08:00
yunion-ci-robot
a166467f75 Merge pull request #5292 from ioito/automated-cherry-pick-of-#5290-upstream-release-3.0
Automated cherry pick of #5290: 添加azure region city信息
2020-02-28 13:16:20 +08:00
Qu Xuan
87377deee7 添加azure region city信息 2020-02-28 11:37:23 +08:00
wanyaoqi
1ade0a645f fix nic get pci address 2020-02-27 22:56:04 +08:00
zhaoxiangchun
ad79f8a557 谷歌云multicloud监控
monitor.go文件中GetMonitorData函数:
 1)首先组装参数信息
 2)通过external_id获取相关id信息,根据restAPI文档中的resource格式拼装完成monitoring相关的resource信息
 3)然后通过monitorList函数获取相关的监控信息

更新go.mod google.golang.org所依赖的google.golang.org/api版本
2020-02-27 19:34:34 +08:00
Qu Xuan
4b1e038ac6 fix: 新加gcp region 翻译 2020-02-27 18:55:07 +08:00
yunion-ci-robot
cf8426fad0 Merge pull request #5264 from rainzm/automated-cherry-pick-of-#5263-upstream-release-3.0
Automated cherry pick of #5263: fix(esxiagent): SSHKey was not unmarshalled correctly
2020-02-27 07:13:13 +08:00
yunion-ci-robot
3cf9b22ae4 Merge pull request #5240 from wanyaoqi/automated-cherry-pick-of-#5238-upstream-release-3.0
Automated cherry pick of #5238: fix host init set reserve memory
2020-02-26 23:03:15 +08:00
yunion-ci-robot
bb8b474b59 Merge pull request #5253 from swordqiu/automated-cherry-pick-of-#5252-upstream-release-3.0
Automated cherry pick of #5252: fix: use globalEndpointType as default endpoint type
2020-02-26 21:03:17 +08:00
wanyaoqi
1a2826d37b makesure /etc/ceph created before connect 2020-02-26 20:45:47 +08:00
Rain
02758cf5e2 fix(esxiagent): SSHKey was not unmarshalled correctly 2020-02-26 20:11:33 +08:00
yunion-ci-robot
5ebf23518d Merge pull request #5233 from ioito/automated-cherry-pick-of-#5231-upstream-release-3.0
Automated cherry pick of #5231: fix: 添加磁盘回滚snapshot日志
2020-02-26 16:00:15 +08:00
yunion-ci-robot
90a6b15c79 Merge pull request #5244 from ioito/automated-cherry-pick-of-#5242-upstream-release-3.0
Automated cherry pick of #5242: fix: 避免根磁盘小于镜像大小导致创建失败
2020-02-26 10:18:13 +08:00
yunion-ci-robot
ac6a4169c3 Merge pull request #5249 from ioito/automated-cherry-pick-of-#5247-upstream-release-3.0
Automated cherry pick of #5247: fix: 返回azure api 错误信息
2020-02-25 21:06:22 +08:00
Qiu Jian
9082f913c2 fix: use globalEndpointType as default endpoint type 2020-02-25 20:46:50 +08:00
Qu Xuan
c05188ef50 fix: 返回azure api 错误信息 2020-02-25 19:31:30 +08:00
Qu Xuan
b69f4b50fb fix: 避免根磁盘小于镜像大小导致创建失败 2020-02-25 15:40:30 +08:00
wanyaoqi
b3b80fbeef fix host register get network filter: add server_type baremetal 2020-02-25 11:33:01 +08:00
wanyaoqi
9bd0d49baa fix guest network get desc 2020-02-25 11:33:01 +08:00
wanyaoqi
23bfba422d fix host init set reserve memory 2020-02-25 11:28:32 +08:00
Qu Xuan
6fa93c25ad fix: 添加磁盘回滚snapshot日志 2020-02-24 16:07:52 +08:00
yunion-ci-robot
12f3df951e Merge pull request #5228 from rainzm/automated-cherry-pick-of-#5186-upstream-release-3.0
Automated cherry pick of #5186: feature(notify): Validate config
2020-02-24 15:27:08 +08:00
Rain
eabed8d47d feature(notify): Validate config 2020-02-24 14:11:56 +08:00
Zexi Li
09e63478c6 Merge pull request #5211 from swordqiu/automated-cherry-pick-of-#5208-upstream-release-3.0
Automated cherry pick of #5208: fix: reset paging limit to 2048 from 20
2020-02-21 16:46:09 +08:00
Zexi Li
3590253480 Merge pull request #5219 from rainzm/automated-cherry-pick-of-#5217-upstream-release-3.0
Automated cherry pick of #5217: fix: Storage filter not work for Esxi
2020-02-21 16:44:42 +08:00
yunion-ci-robot
cd02610f23 Merge pull request #5206 from tb365/automated-cherry-pick-of-#5199-upstream-release-3.0
Automated cherry pick of #5199: cloud region city list add default limit 2048
2020-02-21 15:56:39 +08:00
Rain
d2d551e6cd 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:13:49 +08:00
yunion-ci-robot
0d5dbf62b8 Merge pull request #5215 from ioito/automated-cherry-pick-of-#5213-upstream-release-3.0
Automated cherry pick of #5213: fix: 添加gcp region中文翻译
2020-02-20 21:16:33 +08:00
yunion-ci-robot
de59d8895a Merge pull request #5201 from ioito/automated-cherry-pick-of-#5198-upstream-release-3.0
Automated cherry pick of #5198: fix: 修复azure坐标问题,添加新的azure region城市信息
2020-02-20 21:01:28 +08:00
yunion-ci-robot
f9573c4cbf Merge pull request #5193 from ioito/automated-cherry-pick-of-#5191-upstream-release-3.0
Automated cherry pick of #5191: fix: add aliyun new region info
2020-02-20 18:19:28 +08:00
Qu Xuan
b3d1bfea0c fix: 添加gcp region中文翻译 2020-02-20 17:39:05 +08:00
TangBin
7667ed425e huawei cloud create bugfix 2020-02-20 15:40:17 +08:00
TangBin
20ce2ca01f huawei cloud create bugfix 2020-02-20 15:39:43 +08:00
TangBin
32cdc3e2cd cloud region city list add default limit 2048 2020-02-20 15:39:43 +08:00
yunion-ci-robot
9fb1f6c224 Merge pull request #5189 from ioito/automated-cherry-pick-of-#5187-upstream-release-3.0
Automated cherry pick of #5187: fix: 填充gcp disk_format字段
2020-02-20 15:30:31 +08:00
Qiu Jian
4d44569f40 fix: reset paging limit to 2048 from 20 2020-02-20 15:21:03 +08:00
Qu Xuan
5a14e40ba4 fix: 修复azure坐标问题,添加新的azure region城市信息 2020-02-20 14:55:51 +08:00
Qu Xuan
1081410846 fix: add aliyun new region info 2020-02-20 11:07:36 +08:00
Qu Xuan
942ff1d661 fix: 填充gcp disk_format字段 2020-02-20 10:46:11 +08:00
yunion-ci-robot
ef6e90f9cb Merge pull request #5184 from tb365/automated-cherry-pick-of-#5181-upstream-release-3.0
Automated cherry pick of #5181: aws listener sync fix
2020-02-19 19:18:28 +08:00
tangbin
8bdf8807de huawei http listener sync fix 2020-02-19 18:47:56 +08:00
tangbin
81eab50f3b aws rebuild root fix 2020-02-19 18:47:56 +08:00
tangbin
8c21e3313e aws listener sync fix 2020-02-19 18:47:56 +08:00
yunion-ci-robot
91d09aeba4 Merge pull request #5179 from rainzm/automated-cherry-pick-of-#5178-upstream-release-3.0
Automated cherry pick of #5178: fix(esxi): No distinction between ordinary scsi and pvscsi when creating disks
2020-02-19 17:51:29 +08:00
Rain
c040ed5d74 fix(esxi): No distinction between ordinary scsi and pvscsi when creating disks
parascsi 是 vmware 中一种高性能的 scsi 控制器。

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

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

此外,在 CloneVM 的时候,如果支持,优先使用 parascsi。
2020-02-19 16:58:27 +08:00
yunion-ci-robot
8b8f57e0f7 Merge pull request #5149 from tb365/automated-cherry-pick-of-#5145-upstream-release-3.0
Automated cherry pick of #5145: qcloud elb sync
2020-02-19 16:07:29 +08:00
Yousong Zhou
5c098c6445 Merge pull request #5176 from swordqiu/automated-cherry-pick-of-#5173-upstream-release-3.0
Automated cherry pick of #5173: fix: sync cloud provider should change its cloud account's sync_status
2020-02-19 16:02:43 +08:00
yunion-ci-robot
f4673ee5fc Merge pull request #5165 from tb365/automated-cherry-pick-of-#5162-upstream-release-3.0
Automated cherry pick of #5162: huawei elb backend vpc validate fix
2020-02-19 13:43:29 +08:00
yunion-ci-robot
410e575d8a Merge pull request #5169 from ioito/automated-cherry-pick-of-#5167-upstream-release-3.0
Automated cherry pick of #5167: fix: 避免将虚拟机ip同步到弹性网卡
2020-02-19 12:35:27 +08:00
yunion-ci-robot
16b053349b Merge pull request #5172 from yousong/automated-cherry-pick-of-#5159-upstream-release-3.0
Automated cherry pick of #5159: region: lbagent: deploy: use 'public' endpoint type
2020-02-19 12:04:27 +08:00
Qiu Jian
4937dec5f3 fix: sync cloud provider should change its cloud account's sync_status 2020-02-19 12:02:14 +08:00
Zexi Li
19b98799a0 Merge pull request #5157 from swordqiu/automated-cherry-pick-of-#5156-upstream-release-3.0
Automated cherry pick of #5156: fix: add climc helper scripts into docker images
2020-02-19 02:32:51 +08:00
Zexi Li
ce44e085f8 Merge pull request #5154 from swordqiu/automated-cherry-pick-of-#5151-upstream-release-3.0
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:30:04 +08:00
Yousong Zhou
349c26f39a lbagent: fix config for sticky session cookie
- account for user specific cookie name for insert mode
 - dont tamper cache instructions from backend server for server mode
2020-02-18 20:55:34 +08:00
Yousong Zhou
76d40b0ceb region: lbagent: deploy: use 'public' endpoint type 2020-02-18 20:55:34 +08:00
Qu Xuan
095b70af37 fix: 避免将虚拟机ip同步到弹性网卡 2020-02-18 15:39:26 +08:00
yunion-ci-robot
d090073168 Merge pull request #5140 from ioito/automated-cherry-pick-of-#5138-upstream-release-3.0
Automated cherry pick of #5138: fix: 避免未过滤掉同一个network底下的guest
2020-02-18 14:45:39 +08:00
tangbin
19fda5387f huawei elb backend vpc validate fix 2020-02-18 14:21:02 +08:00
yunion-ci-robot
617cd67b1c Merge pull request #5134 from zhaoxiangchun/automated-cherry-pick-of-#5132-upstream-release-3.0
Automated cherry pick of #5132: zstack监控功能
2020-02-18 12:06:44 +08:00
Qiu Jian
ae63c797d4 fix: add climc helper scripts into docker images 2020-02-18 10:16:56 +08:00
Qiu Jian
51e2c1114a fix: 1. adjust default response header timer to 30 seconds 2. set default paging limit to 20 2020-02-18 08:55:23 +08:00
TangBin
518405e0ca qcloud elb sync 2020-02-17 22:32:25 +08:00
Qu Xuan
e75c0e0fbf fix: 避免未过滤掉同一个network底下的guest 2020-02-17 20:52:34 +08:00
zhaoxiangchun
0c8fc8cf77 zstack监控功能
monitor.go中GetMonitorData函数通过传入的参数拼装请求参数,然后调用zstack.go中的getMonitor(),通过GET请求,获取相应的指标监控数据
2020-02-17 12:02:37 +08:00
yunion-ci-robot
5a2ecc2a1e Merge pull request #5122 from rainzm/automated-cherry-pick-of-#5121-upstream-release-3.0
Automated cherry pick of #5121: fix(esxiagent): Delete image backup file after saving to glance instead of before
2020-02-14 17:42:05 +08:00
Rain
8437d918de fix(esxiagent): Delete image backup file after saving to glance instead of before 2020-02-14 17:16:42 +08:00
yunion-ci-robot
ad9f85ede8 Merge pull request #5119 from ioito/automated-cherry-pick-of-#5117-upstream-release-3.0
Automated cherry pick of #5117: fix: 谷歌新加region翻译
2020-02-14 16:11:04 +08:00
Qu Xuan
e21994d9eb fix: 谷歌新加region翻译 2020-02-14 14:45:00 +08:00
yunion-ci-robot
8eca54f6a7 Merge pull request #5109 from rainzm/automated-cherry-pick-of-#5106-upstream-release-3.0
Automated cherry pick of #5106: fix(notify): Set some default template
2020-02-14 12:21:04 +08:00
yunion-ci-robot
7db5fe8ef7 Merge pull request #5113 from zexi/automated-cherry-pick-of-#5111-upstream-release-3.0
Automated cherry pick of #5111: region: server list by host sn
2020-02-14 12:08:05 +08:00
Zexi Li
320a233155 region: server list by host sn 2020-02-13 21:15:01 +08:00
Rain
60861d4983 fix(notify): Set some default template 2020-02-13 16:53:52 +08:00
yunion-ci-robot
599345c5f0 Merge pull request #5091 from rainzm/automated-cherry-pick-of-#5087-upstream-release-3.0
Automated cherry pick of #5087: fix(esxi): Create one if no suitable driver when creating disk
2020-02-13 14:37:02 +08:00
yunion-ci-robot
9159eae068 Merge pull request #5095 from bistuzx/automated-cherry-pick-of-#5092-upstream-release-3.0
Automated cherry pick of #5092: update account bucket options
2020-02-13 03:48:03 +08:00
张旭
8dc56cd712 update account bucket options 2020-02-12 18:28:58 +08:00
Rain
06ef435ffc fix: resolve compatibility issues 2020-02-12 17:18:10 +08:00
Rain
af4cab0d4e fix(esxi): Create one if no suitable driver when creating disk 2020-02-12 17:16:54 +08:00
yunion-ci-robot
1d4ea408a5 Merge pull request #5063 from zhaoxiangchun/automated-cherry-pick-of-#5061-upstream-release-3.0
Automated cherry pick of #5061: multicloud的vmware监控功能
2020-02-12 15:22:03 +08:00
yunion-ci-robot
b8f05c4ead Merge pull request #5079 from ioito/automated-cherry-pick-of-#5077-upstream-release-3.0
Automated cherry pick of #5077: fix: 修复gcp出方向规则同步问题
2020-02-11 17:39:59 +08:00
yunion-ci-robot
5c587212bc Merge pull request #5074 from ioito/automated-cherry-pick-of-#5072-upstream-release-3.0
Automated cherry pick of #5072: fix: 忽略无权限的资源标签
2020-02-11 17:22:02 +08:00
zhaoxiangchun
133fe47634 multicloud的vmware监控功能
monitor.go中GetMonitorData()函数获取监控数据
2020-02-11 00:45:28 +08:00
Qu Xuan
8efe1c5b45 fix: 修复gcp出方向规则同步问题 2020-02-10 18:48:18 +08:00
Qu Xuan
91ca20d540 fix: 忽略无权限的资源标签 2020-02-10 16:44:56 +08:00
yunion-ci-robot
4d320a22db Merge pull request #5070 from swordqiu/automated-cherry-pick-of-#5065-upstream-release-3.0
Automated cherry pick of #5065: fix: allow empty domain for windows deployment
2020-02-10 10:32:57 +08:00
Qiu Jian
16702ba2f6 fix: allow empty domain for windows deployment 2020-02-10 09:24:35 +08:00
yunion-ci-robot
e227380071 Merge pull request #5056 from swordqiu/automated-cherry-pick-of-#5054-upstream-release-3.0
Automated cherry pick of #5054: fix: createdAt should not be synced when update
2020-02-09 22:08:57 +08:00
Qiu Jian
b5aa5f3682 fix: createdAt should not be synced when update 2020-02-08 21:29:42 +08:00
yunion-ci-robot
7a56e6b74b Merge pull request #5046 from ioito/automated-cherry-pick-of-#5044-upstream-release-3.0
Automated cherry pick of #5044: fix: guest创建兼容keypair参数
2020-02-07 16:03:51 +08:00
Qu Xuan
4fd186a0c0 fix: guest创建兼容keypair参数 2020-02-07 15:12:29 +08:00
Zexi Li
88e4de7b52 Merge pull request #5028 from swordqiu/automated-cherry-pick-of-#5026-upstream-release-3.0
Automated cherry pick of #5026: fix: api gateway rpc handler redudant response
2020-02-07 13:03:31 +08:00
yunion-ci-robot
8bcbd08741 Merge pull request #5040 from ioito/automated-cherry-pick-of-#5038-upstream-release-3.0
Automated cherry pick of #5038: fix: 避免因tenantcache未缓存tenant导致创建云账号失败
2020-02-07 04:54:51 +08:00
yunion-ci-robot
3dc838d47d Merge pull request #5036 from tb365/automated-cherry-pick-of-#5032-upstream-release-3.0
Automated cherry pick of #5032: aws create with eip fix
2020-02-07 04:50:51 +08:00
Qu Xuan
abb954c6c9 fix: 避免因tenantcache未缓存tenant导致创建云账号失败 2020-02-06 18:29:36 +08:00
tangbin
b70a1e5a05 aws create with eip fix 2020-02-06 17:57:55 +08:00
Qiu Jian
5afb250467 fix: api gateway rpc handler redudant response 2020-02-06 17:02:42 +08:00
yunion-ci-robot
394a6f061c Merge pull request #5023 from ioito/automated-cherry-pick-of-#5021-upstream-release-3.0
Automated cherry pick of #5021: fix: 避免因大小写导致linux未注入默认用户
2020-02-06 13:50:52 +08:00
Qu Xuan
fa0cb45ea3 fix: 避免因大小写导致linux未注入默认用户 2020-02-06 12:03:48 +08:00
yunion-ci-robot
1113dfe17b Merge pull request #5019 from swordqiu/automated-cherry-pick-of-#5014-upstream-release-3.0
Automated cherry pick of #5014: fix: support empty dns domain
2020-02-06 09:42:49 +08:00
Qiu Jian
81c31c8c1c fix: support empty dns domain 2020-02-06 03:27:59 +08:00
yunion-ci-robot
8dfad23c2c Merge pull request #4998 from zhaoxiangchun/automated-cherry-pick-of-#4996-upstream-release-3.0
Automated cherry pick of #4996: azure的主机监控信息的获取
2020-02-05 02:11:45 +08:00
zhaoxiangchun
019287b16a modify files by github comments 2020-02-04 10:25:42 +08:00
zhaoxiangchun
ff1dc42c47 azure的主机监控信息的获取
monitor.go中的GetMonitorData函数完成参数的组装,查询获取监控信息
2020-02-04 10:25:42 +08:00
yunion-ci-robot
a3faf13ce7 Merge pull request #5000 from ioito/automated-cherry-pick-of-#4999-upstream-release-3.0
Automated cherry pick of #4999: fix: 避免私有云调整配置匹配不到sku
2020-02-03 16:18:44 +08:00
Qu Xuan
78d7317daa fix: 避免私有云调整配置匹配不到sku 2020-02-03 12:20:54 +08:00
yunion-ci-robot
dc6eab6cd1 Merge pull request #4995 from rainzm/automated-cherry-pick-of-#4994-upstream-release-3.0
Automated cherry pick of #4994: fix(esxiagent): Lead to vCenter server '503' when deleting vm'disk
2020-01-19 23:50:20 +08:00
Rain
48008e1a41 fix(esxiagent): Lead to vCenter server '503' when deleting vm'disk 2020-01-19 18:10:31 +08:00
Zexi Li
8f971c9ce4 Merge pull request #4993 from swordqiu/automated-cherry-pick-of-#4991-upstream-release-3.0
Automated cherry pick of #4991: update vendor
2020-01-19 17:35:33 +08:00
Qiu Jian
dbb4912325 fix: increment paging list order by multiple columns 2020-01-19 17:25:30 +08:00
Qiu Jian
9fdb7cf895 update vendor 2020-01-19 17:25:30 +08:00
yunion-ci-robot
05465b9cbb Merge pull request #4990 from swordqiu/automated-cherry-pick-of-#4988-upstream-release-3.0
Automated cherry pick of #4988: fix: cloudevent_tbl use new primary column event_id
2020-01-19 14:24:14 +08:00
Qiu Jian
e0ee61b94e fix: cloudevent_tbl use new primary column event_id 2020-01-19 12:56:40 +08:00
yunion-ci-robot
6032301cb8 Merge pull request #4979 from tb365/automated-cherry-pick-of-#4977-upstream-release-3.0
Automated cherry pick of #4977: get login-info add 404 return & elasticcache account reset password api add input params
2020-01-19 11:43:12 +08:00
Zexi Li
3894d23991 Merge pull request #4986 from swordqiu/automated-cherry-pick-of-#4983-upstream-release-3.0
Automated cherry pick of #4983: fix: try allocate host access ip from reserved pool
2020-01-19 10:37:40 +08:00
yunion-ci-robot
ae01139c37 Merge pull request #4900 from yousong/automated-cherry-pick-of-#4899-upstream-release-3.0
Automated cherry pick of #4899: validators: ValidatorModelIdOrName: allow empty
2020-01-19 10:29:11 +08:00
yunion-ci-robot
cb9e156628 Merge pull request #4890 from yousong/automated-cherry-pick-of-#4885-upstream-release-3.0
Automated cherry pick of #4885: lb: regiondrivers: remove unneeded Optional(true) call
2020-01-19 10:24:12 +08:00
Qiu Jian
57c266e977 fix: try allocate host access ip from reserved pool 2020-01-19 00:26:42 +08:00
Zexi Li
b1b9c08ea2 Merge pull request #4981 from wanyaoqi/automated-cherry-pick-of-#4980-upstream-release-3.0
Automated cherry pick of #4980: is standard domain optional
2020-01-18 19:16:33 +08:00
wanyaoqi
cc3f382cb8 is standard domain optional 2020-01-18 19:12:21 +08:00
TangBin
f2380b293e get login-info add 404 return & elasticcache account reset password api add input params 2020-01-18 18:39:53 +08:00
yunion-ci-robot
46a7e670b2 Merge pull request #4966 from ioito/automated-cherry-pick-of-#4965-upstream-release-3.0
Automated cherry pick of #4965: fix: 公有云日志添加brand字段
2020-01-18 16:26:10 +08:00
Zexi Li
af7aaff4c9 Merge pull request #4975 from swordqiu/automated-cherry-pick-of-#4973-upstream-release-3.0
Automated cherry pick of #4973: fix: bucket get details missing cloudprovider info
2020-01-18 16:03:58 +08:00
Qu Xuan
7c5f0727b3 fix: 公有云日志添加brand字段 2020-01-18 16:01:00 +08:00
Qiu Jian
c4f6199890 fix: bucket get details missing cloudprovider info 2020-01-18 15:42:59 +08:00
Zexi Li
5f3faf8cb8 Merge pull request #4971 from swordqiu/automated-cherry-pick-of-#4968-upstream-release-3.0
Automated cherry pick of #4968: fix: network-reserve-ip ignores expired reserved ips
2020-01-18 14:25:00 +08:00
Qiu Jian
d7becf89e8 fix: network-reserve-ip ignores expired reserved ips 2020-01-18 11:10:49 +08:00
Zexi Li
d35e6f8fea Merge pull request #4963 from wanyaoqi/automated-cherry-pick-of-#4962-upstream-release-3.0
Automated cherry pick of #4962: fix models renew
2020-01-17 21:55:27 +08:00
wanyaoqi
a3332344a0 fix models renew 2020-01-17 21:51:30 +08:00
yunion-ci-robot
5826a36de4 Merge pull request #4961 from yousong/automated-cherry-pick-of-#4960-upstream-release-3.0
Automated cherry pick of #4960: hostman: linux_bridge: flush addr on member iface down
2020-01-17 21:50:09 +08:00
yunion-ci-robot
b61befef30 Merge pull request #4947 from ioito/automated-cherry-pick-of-#4946-upstream-release-3.0
Automated cherry pick of #4946: fix: 腾讯云主机带宽跟随eip带宽变化而变化
2020-01-17 19:46:09 +08:00
yunion-ci-robot
4bdf3e8404 Merge pull request #4793 from zhaoxiangchun/automated-cherry-pick-of-#4775-upstream-release-3.0
Automated cherry pick of #4775: 新增aws监控代码,GetMonitorData函数,获取监控信息
2020-01-17 19:26:08 +08:00
Zexi Li
00e1911d30 Merge pull request #4958 from wanyaoqi/automated-cherry-pick-of-#4957-upstream-release-3.0
Automated cherry pick of #4957: fix postpaid expire
2020-01-17 18:57:04 +08:00
Yousong Zhou
d26c428b68 hostman: linux_bridge: flush addr on member iface down
Previously it was done by "ifconfig xx 0.0.0.0 down"

Fixes 4d8d20f ("hostman: use package iproute2")
2020-01-17 18:13:10 +08:00
yunion-ci-robot
dc634ad9d0 Merge pull request #4956 from yousong/automated-cherry-pick-of-#4955-upstream-release-3.0
Automated cherry pick of #4955: esxi: dont import hostman pkgs
2020-01-17 18:07:09 +08:00
wanyaoqi
e691d63910 fix postpaid expire 2020-01-17 17:53:27 +08:00
Yousong Zhou
5c325bc6b7 esxi: dont import hostman pkgs
Fix building region on darwin
2020-01-17 16:54:54 +08:00
Zexi Li
00f07f128f Merge pull request #4952 from wanyaoqi/automated-cherry-pick-of-#4950-upstream-release-3.0
Automated cherry pick of #4950: host deployer base version up
2020-01-17 16:39:07 +08:00
wanyaoqi
fdc1bef92e host deployer base version up 2020-01-17 14:44:00 +08:00
yunion-ci-robot
181c1099fe Merge pull request #4936 from yousong/automated-cherry-pick-of-#4935-upstream-release-3.0
Automated cherry pick of #4935: iproute2: test against non-nil dst of routes returned by List4()
2020-01-17 13:48:10 +08:00
Qu Xuan
e20a6a35df fix: 腾讯云主机带宽跟随eip带宽变化而变化 2020-01-17 13:35:10 +08:00
yunion-ci-robot
a4db9de855 Merge pull request #4944 from wanyaoqi/automated-cherry-pick-of-#4943-upstream-release-3.0
Automated cherry pick of #4943: fix snapshot list filter by disk type
2020-01-17 12:59:08 +08:00
wanyaoqi
4e9ca42347 fix snapshot list filter by disk type 2020-01-17 11:59:22 +08:00
yunion-ci-robot
10a04b0005 Merge pull request #4884 from tb365/automated-cherry-pick-of-#4880-upstream-release-3.0
Automated cherry pick of #4880: huawei remove backend group bugfix
2020-01-17 11:01:10 +08:00
yunion-ci-robot
f36f275dc6 Merge pull request #4923 from wanyaoqi/automated-cherry-pick-of-#4922-upstream-release-3.0
Automated cherry pick of #4922: fix detect host info
2020-01-17 10:55:09 +08:00
yunion-ci-robot
4f644f1d80 Merge pull request #4937 from rainzm/automated-cherry-pick-of-#4931-upstream-release-3.0
Automated cherry pick of #4931: bugfix(esxiagent): PrefetchImageCacheByCopy & SHost.FileUrlPathToDsPath
2020-01-17 10:54:10 +08:00
zhaoxiangchun
e1020530e2 add License Head 2020-01-17 10:48:35 +08:00
zhaoxiangchun
a94f55ba91 vendor: update 2020-01-17 10:48:35 +08:00
zhaoxiangchun
b769399a79 新增aws监控代码,GetMonitorData函数,获取监控信息
首先通过monitor.go文件中的GetMonitorData函数组装查询参数,然后通过SRegion中cloudWatchRequest函数组装request信息,
进行查询返回
2020-01-17 10:48:35 +08:00
Rain
0ba856004f bugfix(esxiagent): PrefetchImageCacheByCopy & SHost.FileUrlPathToDsPath
1. Fix the bug when preparing remote image by copy
2. SHost.FileUrlPathToDsPath will not work when shost has multiple storage.
2020-01-17 10:41:00 +08:00
Rain
afefb9464d bugfix(esxiagent): PrefetchImageCacheByCopy & SHost.FileUrlPathToDsPath
1. Fix the bug when preparing remote image by copy
2. SHost.FileUrlPathToDsPath will not work when shost has multiple storage.
2020-01-17 10:41:00 +08:00
yunion-ci-robot
039d7b43f6 Merge pull request #4927 from ioito/automated-cherry-pick-of-#4926-upstream-release-3.0
Automated cherry pick of #4926: cloudevent 支持since until参数过滤
2020-01-17 09:21:07 +08:00
Yousong Zhou
6a4b39085c netutils2: guard against possible nil members 2020-01-16 22:50:01 +08:00
Yousong Zhou
db75a24f73 netutils: DefaultSrcIpDev: use iproute2.RouteGetByDst 2020-01-16 22:50:01 +08:00
Yousong Zhou
ff0e50cce0 iproute2: add RouteGetByDst() 2020-01-16 22:50:01 +08:00
Yousong Zhou
217670326b iproute2: test against non-nil dst of routes returned by List4() 2020-01-16 22:50:01 +08:00
yunion-ci-robot
a655afbbde Merge pull request #4934 from rainzm/automated-cherry-pick-of-#4933-upstream-release-3.0
Automated cherry pick of #4933: fix(hostdeployer): Umount VDDKDisk when IRootFsDriver is nil
2020-01-16 21:48:11 +08:00
yunion-ci-robot
e276ba9582 Merge pull request #4930 from yousong/automated-cherry-pick-of-#4929-upstream-release-3.0
Automated cherry pick of #4929: hostman: fix removing addresses on slave ifaces
2020-01-16 21:24:11 +08:00
Rain
93c5a79afa fix(hostdeployer): Umount VDDKDisk when IRootFsDriver is nil 2020-01-16 21:21:19 +08:00
Yousong Zhou
53f95f775d hostman: replace route command dep with netlink call 2020-01-16 20:48:10 +08:00
Yousong Zhou
b9bab969cb netutils2: replace GetRoutes with netlink call 2020-01-16 20:48:10 +08:00
Yousong Zhou
7835ee1063 iproute2: route operations 2020-01-16 20:48:10 +08:00
Yousong Zhou
675f111084 hostman: add secondary addresses with one iproute2 call 2020-01-16 20:48:10 +08:00
Yousong Zhou
9ccd97a236 hostman: up bridge interface in SetupAddresses
Previously it was done implicitly by ifconfig addr config command
2020-01-16 20:48:10 +08:00
Yousong Zhou
2ea614d38d hostman: fix removing addresses on slave ifaces
Previously it was done with "ifconfig xxx 0 up"

Fixes 4d8d20f ("hostman: use package iproute2")
2020-01-16 20:48:10 +08:00
Qu Xuan
8028577a0b cloudevent 支持since until参数过滤 2020-01-16 19:44:38 +08:00
yunion-ci-robot
7c60fbf66c Merge pull request #4920 from yousong/automated-cherry-pick-of-#4919-upstream-release-3.0
Automated cherry pick of #4919: iproute2: skip setting addrs on parse error
2020-01-16 16:53:07 +08:00
wanyaoqi
bd560a07b6 fix detect host info 2020-01-16 16:50:30 +08:00
Yousong Zhou
a4507e169a netutils: isolate linux dependent parts 2020-01-16 16:35:12 +08:00
Yousong Zhou
a71292cabc iproute2: skip setting addrs on parse error 2020-01-16 16:35:12 +08:00
Yousong Zhou
b8d93a0db7 hostman: fix setting address
Fixes 4d8d20f ("hostman: use package iproute2")
2020-01-16 16:35:12 +08:00
Zexi Li
352800c78d Merge pull request #4915 from wanyaoqi/automated-cherry-pick-of-#4914-upstream-release-3.0
Automated cherry pick of #4914: fix deploy iso failed
2020-01-16 15:33:02 +08:00
yunion-ci-robot
a5ace62220 Merge pull request #4918 from tb365/automated-cherry-pick-of-#4916-upstream-release-3.0
Automated cherry pick of #4916: ctyun bugfix
2020-01-16 15:08:08 +08:00
TangBin
7f20eed8ef comment fix 2020-01-16 14:51:25 +08:00
TangBin
e2b1b53e3e ctyun bugfix 2020-01-16 14:51:25 +08:00
yunion-ci-robot
089652074e Merge pull request #4863 from yousong/automated-cherry-pick-of-#4836-upstream-release-3.0
Automated cherry pick of #4836: iproute2: initial version
2020-01-16 09:59:06 +08:00
yunion-ci-robot
77494e5889 Merge pull request #4913 from tb365/automated-cherry-pick-of-#4911-upstream-release-3.0
Automated cherry pick of #4911: server get login info 404 not found
2020-01-16 09:52:06 +08:00
yunion-ci-robot
ba8142559c Merge pull request #4905 from ioito/automated-cherry-pick-of-#4904-upstream-release-3.0
Automated cherry pick of #4904: fix: 避免创建azure时指定高级ssd失效
2020-01-16 09:51:06 +08:00
wanyaoqi
23515d0c87 fix deploy iso failed 2020-01-15 20:58:36 +08:00
yunion-ci-robot
3a853545ca Merge pull request #4891 from wanyaoqi/automated-cherry-pick-of-#4887-upstream-release-3.0
Automated cherry pick of #4887: validate share on delete, update pulibc scope on mark standard
2020-01-15 20:57:17 +08:00
TangBin
45d1c3c7dd server get login info 404 not found 2020-01-15 19:34:25 +08:00
Qu Xuan
277a1066cd fix: 避免创建azure时指定高级ssd失效 2020-01-15 18:01:25 +08:00
Zexi Li
cb29e4f045 Merge pull request #4903 from wanyaoqi/automated-cherry-pick-of-#4902-upstream-release-3.0
Automated cherry pick of #4902: use executor probe kernel mods
2020-01-15 17:30:23 +08:00
wanyaoqi
753566d3a9 use executor probe kernel mods 2020-01-15 17:20:29 +08:00
Yousong Zhou
4008c25b0a lbagent: tunable tune.http.maxhdr 2020-01-15 12:14:56 +08:00
Yousong Zhou
dad753aaf5 lbagent: fix not logging https listener 2020-01-15 12:14:56 +08:00
Yousong Zhou
6672c2357e lbagent: support accessing backend with tls 2020-01-15 12:14:56 +08:00
Yousong Zhou
5865e393f5 climc: lbbackend: support ssl related options 2020-01-15 12:14:56 +08:00
Yousong Zhou
3d6a14b89b lb: support accessing backend with tls 2020-01-15 12:14:56 +08:00
Yousong Zhou
3af6da558f lb: regiondrivers: remove unneeded Optional(true) call 2020-01-15 12:14:56 +08:00
Yousong Zhou
1e1811c0de hostman: use package iproute2 2020-01-14 21:42:21 +08:00
Yousong Zhou
5b09a45437 hostman: fix setting mtu for tunnel padding 2020-01-14 21:42:21 +08:00
Yousong Zhou
c72322cd5b hostman: hostinfo: use netutils2.DefaultSrcIpDev() 2020-01-14 21:42:21 +08:00
Yousong Zhou
bf5f1f524e vendor: add github.com/vishvananda/netlink 2020-01-14 21:42:21 +08:00
Yousong Zhou
e910967798 netutils2: use netlink to GetAddresses() 2020-01-14 21:42:20 +08:00
Yousong Zhou
aa27f4eeca netutils2: add DefaultSrcIpDev() 2020-01-14 21:42:20 +08:00
Yousong Zhou
232df7b869 iproute2: initial version 2020-01-14 21:42:20 +08:00
Yousong Zhou
88def49fcc climc: lblistener: allow setting backendgroup to empty 2020-01-14 21:38:34 +08:00
Yousong Zhou
fc3aa2acbf mcclient: options: test marshal string ptr 2020-01-14 21:38:34 +08:00
Yousong Zhou
7bb8f0f968 lblistener: allow setting http/https listener backendgroup to empty 2020-01-14 21:38:34 +08:00
Yousong Zhou
79d8abd1ab validators: ValidatorModelIdOrName: allow empty 2020-01-14 21:38:34 +08:00
Zexi Li
101d5de95a Merge pull request #4898 from rainzm/automated-cherry-pick-of-#4895-upstream-release-3.0
Automated cherry pick of #4895: fix(notify): Update template
2020-01-14 18:23:52 +08:00
Rain
11ccfdd5c9 fix(notify): Update template 2020-01-14 18:17:06 +08:00
wanyaoqi
05c85e898d validate share on delete, update pulibc scope on mark standard 2020-01-14 17:41:42 +08:00
Zexi Li
30a4d16628 Merge pull request #4889 from wanyaoqi/automated-cherry-pick-of-#4888-upstream-release-3.0
Automated cherry pick of #4888: host fix env path
2020-01-14 17:35:25 +08:00
wanyaoqi
f9b9856768 host fix env path 2020-01-14 17:20:52 +08:00
TangBin
60b0634e27 aliyun backendgroup bugfix 2020-01-14 15:53:24 +08:00
TangBin
8f574c255d aws backendgroup delete bugfix 2020-01-14 15:53:24 +08:00
TangBin
37ece22817 aws sync routetable 2020-01-14 15:53:24 +08:00
TangBin
e25142ed70 huawei remove backend group bugfix 2020-01-14 15:53:24 +08:00
Zexi Li
e59189d0f5 Merge pull request #4875 from yousong/automated-cherry-pick-of-#4874-upstream-release-3.0
Automated cherry pick of #4874: vendor: update sqlchemy
2020-01-14 13:58:00 +08:00
Zexi Li
5e166849ef Merge pull request #4879 from yousong/automated-cherry-pick-of-#4878-upstream-release-3.0
Automated cherry pick of #4878: lb: fix setting default redirect type
2020-01-14 13:57:23 +08:00
Yousong Zhou
f5af866b39 lb: fix setting default redirect type 2020-01-14 13:32:39 +08:00
Yousong Zhou
5773663e5d vendor: update sqlchemy 2020-01-14 13:26:14 +08:00
Zexi Li
b65ab0361a Merge pull request #4872 from swordqiu/automated-cherry-pick-of-#4869-upstream-release-3.0
Automated cherry pick of #4869: fix: first load of service config not effective
2020-01-14 10:23:49 +08:00
Qiu Jian
eb30360856 fix: first load of service config not effective 2020-01-14 03:04:19 +08:00
yunion-ci-robot
08b7a96309 Merge pull request #4864 from ioito/automated-cherry-pick-of-#4862-upstream-release-3.0
Automated cherry pick of #4862: fix: 仅kvm需要去判断是否需要关机调整配置,公有云私有云默认不需要
2020-01-14 03:02:01 +08:00
yunion-ci-robot
fe99ec0649 Merge pull request #4838 from ioito/automated-cherry-pick-of-#4837-upstream-release-3.0
Automated cherry pick of #4837: fix: 添加磁盘创建失败日志
2020-01-14 02:58:01 +08:00
yunion-ci-robot
f885cfcc4a Merge pull request #4859 from ioito/automated-cherry-pick-of-#4858-upstream-release-3.0
Automated cherry pick of #4858: fix: 恢复公有云日志name
2020-01-14 02:51:02 +08:00
yunion-ci-robot
9b3491cc4e Merge pull request #4830 from ioito/automated-cherry-pick-of-#4829-upstream-release-3.0
Automated cherry pick of #4829: fix: 公有云日志权限列表
2020-01-14 02:31:01 +08:00
yunion-ci-robot
5317b43e13 Merge pull request #4850 from ioito/automated-cherry-pick-of-#4849-upstream-release-3.0
Automated cherry pick of #4849: fix: aliyun rule fix
2020-01-14 02:24:01 +08:00
yunion-ci-robot
633c2c9439 Merge pull request #4800 from yousong/automated-cherry-pick-of-#4799-upstream-release-3.0
Automated cherry pick of #4799: validators: remove unused defaultVal member
2020-01-14 02:04:01 +08:00
Zexi Li
3f15fa2c58 Merge pull request #4843 from ioito/automated-cherry-pick-of-#4842-upstream-release-3.0
Automated cherry pick of #4842: fix: 添加安全组操作日志
2020-01-13 20:50:49 +08:00
Zexi Li
b822c58fc2 Merge pull request #4857 from rainzm/automated-cherry-pick-of-#4856-upstream-release-3.0
Automated cherry pick of #4856: fix(esxi-agent): Export CGO_ENABLED=0 when building esxi-agent
2020-01-13 20:49:25 +08:00
Rain
5171eca046 fix(esxi-agent): Export CGO_ENABLED=0 when building esxi-agent 2020-01-13 20:45:24 +08:00
Qu Xuan
bec1776d7e fix: 仅kvm需要去判断是否需要关机调整配置,公有云私有云默认不需要 2020-01-13 18:53:04 +08:00
Qu Xuan
5ba580878d fix: 恢复公有云日志name 2020-01-13 17:58:03 +08:00
Qu Xuan
7ee21d12ce fix: aliyun rule fix 2020-01-13 17:44:07 +08:00
Qu Xuan
abef1a9f9b fix: 添加安全组操作日志 2020-01-13 15:26:31 +08:00
Qu Xuan
ccd187220c fix: 添加磁盘创建失败日志 2020-01-13 14:54:29 +08:00
yunion-ci-robot
40a211144c Merge pull request #4835 from zexi/automated-cherry-pick-of-#4834-upstream-release-3.0
Automated cherry pick of #4834: action: add esxi agent
2020-01-13 13:28:02 +08:00
Zexi Li
7648c26d75 action: add esxi agent 2020-01-13 13:24:37 +08:00
Qu Xuan
2ee7dca684 fix: 公有云日志权限列表 2020-01-13 11:21:34 +08:00
Zexi Li
f764e5b394 Merge pull request #4820 from swordqiu/automated-cherry-pick-of-#4817-upstream-release-3.0
Automated cherry pick of #4817: fix: non-default-domain-projects changes not take effects after changing through service-config
2020-01-13 10:57:07 +08:00
Zexi Li
c260d81610 Merge pull request #4816 from swordqiu/automated-cherry-pick-of-#4813-upstream-release-3.0
Automated cherry pick of #4813: fix: set default read privileges for reading all quotas
2020-01-13 10:55:15 +08:00
yunion-ci-robot
ef813e062a Merge pull request #4825 from tb365/automated-cherry-pick-of-#4823-upstream-release-3.0
Automated cherry pick of #4823: sku domain filter bugfix
2020-01-13 09:26:59 +08:00
TangBin
2062489bec sku domain filter bugfix 2020-01-12 12:03:49 +08:00
Qiu Jian
0ae98e64ea fix: non-default-domain-projects changes not take effects after changing through service-config 2020-01-12 00:06:34 +08:00
yunion-ci-robot
a1ccae2e23 Merge pull request #4810 from tb365/automated-cherry-pick-of-#4809-upstream-release-3.0
Automated cherry pick of #4809: sku domain filter bugfix
2020-01-11 23:30:03 +08:00
TangBin
0b4a141199 sku domain filter bugfix 2020-01-11 21:29:05 +08:00
Qiu Jian
25f8c71d18 fix: set default read privileges for reading all quotas 2020-01-11 18:01:16 +08:00
Yousong Zhou
1a0df04c83 climc: lb: allow setting redirect parameters 2020-01-10 21:34:32 +08:00
Yousong Zhou
f5c534cb71 climc: lblistenerrule: allow setting request rate 2020-01-10 21:34:32 +08:00
Yousong Zhou
7d1174efad lbagent: support http redirect 2020-01-10 21:34:32 +08:00
Yousong Zhou
e3f654994a lb: support redirect type listener & rule 2020-01-10 21:34:32 +08:00
Yousong Zhou
0dbd73b60b lblistenerrule: validate domain and path on creation 2020-01-10 21:34:31 +08:00
Yousong Zhou
f75ef27fe0 validators: add ValidatorHostPort 2020-01-10 21:34:31 +08:00
Yousong Zhou
dca8b8a9f5 validators: add ValidatorIntChoices 2020-01-10 21:34:31 +08:00
Yousong Zhou
9df932505c validators: remove unused defaultVal member 2020-01-10 21:34:30 +08:00
yunion-ci-robot
423777c775 Merge pull request #4796 from tb365/automated-cherry-pick-of-#4795-upstream-release-3.0
Automated cherry pick of #4795: add filter skus by domain id
2020-01-10 20:25:58 +08:00
yunion-ci-robot
52f2a1f3b4 Merge pull request #4722 from tb365/automated-cherry-pick-of-#4712-upstream-release-3.0
Automated cherry pick of #4712: cloud account support manually sync skus
2020-01-10 20:06:59 +08:00
yunion-ci-robot
dd0ced571d Merge pull request #4806 from tb365/automated-cherry-pick-of-#4801-upstream-release-3.0
Automated cherry pick of #4801: kvm elb listener update bugfix
2020-01-10 19:50:58 +08:00
yunion-ci-robot
dbd959d040 Merge pull request #4767 from tb365/automated-cherry-pick-of-#4766-upstream-release-3.0
Automated cherry pick of #4766: _getModule fix
2020-01-10 19:22:59 +08:00
TangBin
9be50f0007 kvm elb listener update bugfix 2020-01-10 18:52:00 +08:00
TangBin
840b6e9a16 spelling mistakes fix 2020-01-10 17:17:25 +08:00
TangBin
ec83f583c2 user register ingore blank row 2020-01-10 17:17:25 +08:00
TangBin
2983659c53 add filter skus by domain id 2020-01-10 17:17:25 +08:00
Zexi Li
af20c84a50 Merge pull request #4794 from rainzm/automated-cherry-pick-of-#4779-upstream-release-3.0
Automated cherry pick of #4779: fix(esxi-agent): Avoid redundant agent & Adjust workspace path
2020-01-10 11:51:57 +08:00
Rain
5cee576fc4 fix(esxi-agent): Avoid redundant agent & Adjust workspace path
1. There is only one esxi agent needed in OneCloud.
2. Workspace path shoule be EsxiAgentPath not the parent directory of this.
3. The VM name is too long for vcenter when importing VM so that shrink
it.
2020-01-10 11:01:37 +08:00
yunion-ci-robot
ba89e19f3e Merge pull request #4778 from rainzm/automated-cherry-pick-of-#4754-upstream-release-3.0
Automated cherry pick of #4754: fix(region): Sync HostStorage in syncOnPremiseCloudProviderInfo
2020-01-10 10:36:58 +08:00
yunion-ci-robot
73faf76bbb Merge pull request #4762 from wanyaoqi/automated-cherry-pick-of-#4761-upstream-release-3.0
Automated cherry pick of #4761: image-properties-add-disable-delete
2020-01-10 10:28:58 +08:00
yunion-ci-robot
17bd125542 Merge pull request #4769 from wanyaoqi/automated-cherry-pick-of-#4768-upstream-release-3.0
Automated cherry pick of #4768: fix guest start no task complete
2020-01-10 10:22:58 +08:00
yunion-ci-robot
3b14136705 Merge pull request #4783 from swordqiu/automated-cherry-pick-of-#4780-upstream-release-3.0
Automated cherry pick of #4780: fix: initialize service config on keystone when service boot
2020-01-10 10:19:58 +08:00
yunion-ci-robot
a968e3544c Merge pull request #4785 from yousong/automated-cherry-pick-of-#4784-upstream-release-3.0
Automated cherry pick of #4784: dnsrecords: add helper methods
2020-01-10 10:15:57 +08:00
Yousong Zhou
9d20a58a85 dns: chain load records for cname 2020-01-09 23:23:34 +08:00
Yousong Zhou
a719ad6d82 dns: prepare for responding with A record of cname value 2020-01-09 23:23:34 +08:00
Yousong Zhou
2f9e3f7da0 dnsrecords: add helper methods 2020-01-09 23:23:34 +08:00
Qiu Jian
5f8758e5c4 fix: initialize service config on keystone when service boot 2020-01-09 22:15:27 +08:00
Rain
ae2369befd fix(region): Sync HostStorage in syncOnPremiseCloudProviderInfo
情景:绕过OneCloud,删除 storage 上的所有 vm 并且删除 storage 然后新建 storage。

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

修改:如果因为以上原因删除失败的 storage 的 storage_type 为 local
那么就把这个 storage 置为 offline,并且不再阻止 storage cache 的同步。
2020-01-09 21:04:32 +08:00
wanyaoqi
a4a7d004c8 fix guest start no task complete 2020-01-09 17:13:03 +08:00
TangBin
9a7d223311 _getModule fix 2020-01-09 16:42:16 +08:00
wanyaoqi
d9910a0364 image-properties-add-disable-delete 2020-01-09 15:42:02 +08:00
TangBin
6ad8ff188d cloud account support manually sync skus 2020-01-09 11:17:04 +08:00
yunion-ci-robot
641cd05a9a Merge pull request #4756 from rainzm/automated-cherry-pick-of-#4755-upstream-release-3.0
Automated cherry pick of #4755: fix(esxi-agent): Adjust the VM Path in Datastore
2020-01-09 10:28:57 +08:00
Zexi Li
570a6bbab7 Merge pull request #4760 from swordqiu/automated-cherry-pick-of-#4757-upstream-release-3.0
Automated cherry pick of #4757: fix: brand of compute quota key should be fixed
2020-01-09 09:58:54 +08:00
yunion-ci-robot
01a466b989 Merge pull request #4710 from wanyaoqi/automated-cherry-pick-of-#4709-upstream-release-3.0
Automated cherry pick of #4709: host misc fix
2020-01-09 00:05:58 +08:00
yunion-ci-robot
4fd7e6fcf0 Merge pull request #4725 from yousong/automated-cherry-pick-of-#4724-upstream-release-3.0
Automated cherry pick of #4724: wires: lift name length, charset constraint
2020-01-08 23:44:59 +08:00
Qiu Jian
8a2841f672 fix: brand of compute quota key should be fixed 2020-01-08 23:36:12 +08:00
yunion-ci-robot
0adccb5c8b Merge pull request #4751 from ioito/automated-cherry-pick-of-#4750-upstream-release-3.0
Automated cherry pick of #4750: fix: cloudevent 成功条件补充
2020-01-08 23:33:59 +08:00
Rain
a712df096a fix(esxi-agent): Adjust the VM Path in Datastore 2020-01-08 21:09:44 +08:00
Qu Xuan
ed75a7262b fix: cloudevent 成功条件补充 2020-01-08 20:44:13 +08:00
Zexi Li
adea5e3441 Merge pull request #4738 from swordqiu/automated-cherry-pick-of-#4735-upstream-release-3.0
Automated cherry pick of #4735: fix: misc quota bugs 1. snapshot pending usage not cleaned after created 2. server-attach-network error 3. loadbalancer fail to set cloudregion_id
2020-01-08 19:17:40 +08:00
Yousong Zhou
64f29934f0 wires: lift name length, charset constraint 2020-01-08 19:15:17 +08:00
yunion-ci-robot
6cc5c4d942 Merge pull request #4729 from ioito/automated-cherry-pick-of-#4728-upstream-release-3.0
Automated cherry pick of #4728: fix: eip duplicate name
2020-01-08 19:05:57 +08:00
Qiu Jian
e817fb0920 fix: misc quota bugs 1. snapshot pending usage not cleaned after created 2. server-attach-network error 3. loadbalancer fail to set cloudregion_id 2020-01-08 18:53:36 +08:00
Qu Xuan
2c412db6c8 fix: eip duplicate name 2020-01-08 18:11:15 +08:00
yunion-ci-robot
d08761095c Merge pull request #4699 from rainzm/automated-cherry-pick-of-#4695-upstream-release-3.0
Automated cherry pick of #4695: fix(glance): Cancel pending usage of image quota correctly
2020-01-08 16:11:58 +08:00
yunion-ci-robot
03cf19f1db Merge pull request #4705 from tb365/automated-cherry-pick-of-#4701-upstream-release-3.0
Automated cherry pick of #4701: azure skus sync fix
2020-01-08 15:53:59 +08:00
Zexi Li
3c77aa38ff Merge pull request #4715 from wanyaoqi/automated-cherry-pick-of-#4714-upstream-release-3.0
Automated cherry pick of #4714: set subimage some field nullable
2020-01-08 15:42:48 +08:00
wanyaoqi
d3a2ebeacb set subimage some field nullable 2020-01-08 15:36:44 +08:00
yunion-ci-robot
d868952b0d Merge pull request #4706 from ioito/automated-cherry-pick-of-#4655-upstream-release-3.0
Automated cherry pick of #4655: optimized: 优化公有云日志查询
2020-01-08 14:56:57 +08:00
wanyaoqi
9ac505c907 host misc fix 2020-01-08 14:22:18 +08:00
yunion-ci-robot
05ee08e411 Merge pull request #4684 from yousong/automated-cherry-pick-of-#4683-upstream-release-3.0
Automated cherry pick of #4683: hostman: distro name OpenWrt instead of OpenWRT
2020-01-08 12:57:59 +08:00
Qu Xuan
ef39ed3d0c optimized: 优化公有云日志查询 2020-01-08 11:46:38 +08:00
yunion-ci-robot
85ac87b7c9 Merge pull request #4651 from ioito/automated-cherry-pick-of-#4650-upstream-release-3.0
Automated cherry pick of #4650: fix: 避免创建rds account, database后未设置exteranl_id
2020-01-08 11:42:56 +08:00
yunion-ci-robot
3b3480b29b Merge pull request #4637 from ioito/automated-cherry-pick-of-#4636-upstream-release-3.0
Automated cherry pick of #4636: fix: 加强密码校验
2020-01-08 11:38:58 +08:00
TangBin
6628f15ab0 huawei redis sync fix 2020-01-08 11:34:42 +08:00
TangBin
9f55497161 ctyun default gateway fix 2020-01-08 11:34:42 +08:00
TangBin
9e96e4f7e4 huawei network default gateway fix 2020-01-08 11:34:42 +08:00
TangBin
12c87f630a network create GuestIpPrefix fix 2020-01-08 11:34:42 +08:00
TangBin
5d2fb3bf56 azure skus sync fix 2020-01-08 11:34:42 +08:00
Rain
af5b218377 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:33:32 +08:00
yunion-ci-robot
802197f161 Merge pull request #4642 from tb365/automated-cherry-pick-of-#4634-upstream-release-3.0
Automated cherry pick of #4634: huawei image delete bugfix
2020-01-08 11:26:59 +08:00
yunion-ci-robot
45f3ee7989 Merge pull request #4690 from ioito/automated-cherry-pick-of-#4685-upstream-release-3.0
Automated cherry pick of #4685: fix: next marker format
2020-01-08 10:09:57 +08:00
Zexi Li
d9a43ae92a Merge pull request #4682 from swordqiu/automated-cherry-pick-of-#4676-upstream-release-3.0
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:44 +08:00
Zexi Li
8ae4e5bcec Merge pull request #4675 from swordqiu/automated-cherry-pick-of-#4666-upstream-release-3.0
Automated cherry pick of #4666: fix: guess brand on guest create
2020-01-07 19:28:49 +08:00
yunion-ci-robot
67dd167835 Merge pull request #4665 from ioito/automated-cherry-pick-of-#4656-upstream-release-3.0
Automated cherry pick of #4656: fix: 避免拥有带宽包的腾讯云创建机器失败
2020-01-07 18:08:59 +08:00
Qu Xuan
2d1d8db96a fix: next marker format 2020-01-07 18:02:23 +08:00
Yousong Zhou
9e42b83406 hostman: openwrt: deploy public key for root 2020-01-07 18:00:34 +08:00
Yousong Zhou
1a16fbd9cf hostman: split DeployAuthorizedKeys() 2020-01-07 18:00:34 +08:00
Yousong Zhou
77d19d2ec3 hostman: openwrt: support deploy networking scripts 2020-01-07 18:00:34 +08:00
Yousong Zhou
5391943537 hostman: openwrt: deploy hostname with board config 2020-01-07 18:00:34 +08:00
Yousong Zhou
5c1044a1f6 hostman: distro name OpenWrt instead of OpenWRT 2020-01-07 18:00:34 +08:00
yunion-ci-robot
6e87e25b38 Merge pull request #4659 from ioito/automated-cherry-pick-of-#4658-upstream-release-3.0
Automated cherry pick of #4658: fix: 避免同步安全组失败后,没有任何日志记录
2020-01-07 17:09:57 +08:00
Qiu Jian
95565e4b6d fix: guest network default share scope should be system if non-default-domain-projects is off 2020-01-07 16:58:36 +08:00
Qiu Jian
6c0bdeac49 fix: guess brand on guest create 2020-01-07 15:13:40 +08:00
Qu Xuan
5100ced74c fix: 避免拥有带宽包的腾讯云创建机器失败 2020-01-07 14:59:11 +08:00
Qu Xuan
f022f4138e fix: 避免同步安全组失败后,没有任何日志记录 2020-01-07 11:48:43 +08:00
yunion-ci-robot
6ecf644277 Merge pull request #4639 from rainzm/automated-cherry-pick-of-#4635-upstream-release-3.0
Automated cherry pick of #4635: fix: Workmanager delayTaskWithoutReqctx
2020-01-07 09:33:56 +08:00
Rain
ee34fbdafe fix: Workmanager delayTaskWithoutReqctx
The context of delayTaskWithoutReqctx should have 'taskid' value.
2020-01-06 15:21:04 +08:00
yunion-ci-robot
61ff4ddbc8 Merge pull request #4649 from swordqiu/automated-cherry-pick-of-#4645-upstream-release-3.0
Automated cherry pick of #4645: fix: comment out TestDialTimeout
2020-01-06 15:12:59 +08:00
Qu Xuan
ec7bc017dd fix: 避免创建rds account, database后未设置exteranl_id 2020-01-06 13:38:09 +08:00
Qiu Jian
a96d17efcc fix: comment out TestDialTimeout 2020-01-06 13:12:04 +08:00
TangBin
ac1d08d619 huawei image delete bugfix 2020-01-06 11:52:49 +08:00
Qu Xuan
d032dccd91 fix: 加强密码校验 2020-01-06 11:45:03 +08:00
yunion-ci-robot
987495c463 Merge pull request #4633 from wanyaoqi/automated-cherry-pick-of-#4632-upstream-release-3.0
Automated cherry pick of #4632: host image support container deploy:
2020-01-05 19:10:39 +08:00
wanyaoqi
dc2fd237f0 host image support container deploy: 2020-01-05 18:52:11 +08:00
Zexi Li
03cca94b0c Merge pull request #4630 from swordqiu/automated-cherry-pick-of-#4627-upstream-release-3.0
Automated cherry pick of #4627: fix: increase default sync worker count from 2 to 5
2020-01-05 12:22:58 +08:00
Qiu Jian
3365161fa5 fix: increase default sync worker count from 2 to 5 2020-01-05 12:21:27 +08:00
Zexi Li
e810d4567e Merge pull request #4625 from swordqiu/automated-cherry-pick-of-#4601-upstream-release-3.0
Automated cherry pick of #4601: fix: remove bw/ebw quota limit
2020-01-04 23:59:38 +08:00
Qiu Jian
954341e4ab remove bw/ebw quota from scheduler 2020-01-04 23:35:42 +08:00
Qiu Jian
becfe078d5 fix: remove bw/ebw quota limit 2020-01-04 23:35:42 +08:00
Zexi Li
8915b934b1 Merge pull request #4622 from zexi/automated-cherry-pick-of-#4621-upstream-release-3.0
Automated cherry pick of #4621: fix: fmt error
2020-01-04 23:21:01 +08:00
Zexi Li
b67da6996f Merge pull request #4620 from swordqiu/automated-cherry-pick-of-#4616-upstream-release-3.0
Automated cherry pick of #4616: fix: huawei uncache image fail
2020-01-04 23:20:19 +08:00
Zexi Li
ce40f6378f Merge pull request #4610 from ioito/automated-cherry-pick-of-#4609-upstream-release-3.0
Automated cherry pick of #4609: fix: 避免仅删除value时,行为演变为删除标签
2020-01-04 23:17:56 +08:00
Zexi Li
2c2b1544c6 fix: fmt error 2020-01-04 23:12:39 +08:00
Qiu Jian
44114e8d94 fix: huawei uncache image fail 2020-01-04 23:03:53 +08:00
Zexi Li
b9405e72e7 Merge pull request #4608 from rainzm/automated-cherry-pick-of-#4602-upstream-release-3.0
Automated cherry pick of #4602: fix(notify): Fix the error of filter about contacts
2020-01-04 22:29:57 +08:00
Rain
3a5b32fc60 fix(notify): Fix the error of filter about contacts 2020-01-04 22:26:43 +08:00
Qu Xuan
9bbba1a3cc fix: 避免仅删除value时,行为演变为删除标签 2020-01-04 22:16:07 +08:00
Zexi Li
25277900d4 Merge pull request #4600 from rainzm/automated-cherry-pick-of-#4597-upstream-release-3.0
Automated cherry pick of #4597: fix(region): Add reset_password in guest template's ConfigInfo
2020-01-04 22:03:25 +08:00
Rain
4cdf779700 fix(region): Cancel the check about project when creating service catlog 2020-01-04 21:40:16 +08:00
Rain
dc09cb88c4 fix(region): Add reset_password in guest template's ConfigInfo 2020-01-04 21:40:16 +08:00
Zexi Li
155ef44d8f Merge pull request #4595 from rainzm/automated-cherry-pick-of-#4592-upstream-release-3.0
Automated cherry pick of #4592: fix(region): Fix that 'Can_delete' disappears due to parameter structuring
2020-01-04 21:10:02 +08:00
Zexi Li
e08b7ff91d Merge pull request #4591 from rainzm/automated-cherry-pick-of-#4588-upstream-release-3.0
Automated cherry pick of #4588: fix(region): Set normal's snapshotpolicy's status as ready
2020-01-04 21:09:41 +08:00
yunion-ci-robot
fa544dbdc7 Merge pull request #4596 from rainzm/automated-cherry-pick-of-#4419-upstream-release-3.0
Automated cherry pick of #4419: feature(esxi-agent): Esxi Agent Golang
2020-01-04 21:08:41 +08:00
Rain
67f0dc3f8b feature(esxi-agent): Esxi Agent Golang
1. 修改了host-deployer 使其支持 vmware vddk 的 deploy guest fs 操作。
2. esxi agent python ==> Go

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

fix(esxi-agent): Partial parameter structure

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

fix(esxi-agent): Format Code

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

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

fix: DelayTask should have a new Context

fix(esxi-agent): call hostutils.DelayTask

change '_interface' package to 'iagent' package

fix(esxi-agent): Fix some irregular code
2020-01-04 21:04:29 +08:00
Rain
d333e30d52 fix(region): Fix that 'Can_delete' disappears due to parameter structuring 2020-01-04 21:03:56 +08:00
Rain
94068ce53e feature(region): Add bind/unbind-snapshotpolicy api for disk 2020-01-04 21:00:33 +08:00
Rain
7a0b6fd2ee fix(region): Set normal's snapshotpolicy's status as ready 2020-01-04 21:00:33 +08:00
屈轩
c0115d5a9c fix: 子网删除忽略弹性网卡 (#4575) 2020-01-04 20:52:54 +08:00
Jian Qiu
50ea8fc5a8 Automated cherry pick of #4527: fix: httpclient timeout value cleanup, use notimeout client for oss (#4531)
* fix: httpclient timeout value cleanup, use notimeout client for oss

* Adaptive timeout client

* more test cases

* remove resolve timeout test case

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

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

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

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

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

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

To use ClientOption oss.HTTPClient

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

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

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

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

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

docs

auto sync

add performCache for snapshotpolicy

detach snapshotpolicy after detach disk and guest

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

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

pull dingtalk auto

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

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

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

check sourcecidr is available when creating snat

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

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

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

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

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

fix some imprefection

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

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

Ref

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

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

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

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

	/func init()/ {
		next
	}

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

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

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

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

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

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

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

- gpfs snapshot

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

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

View File

@@ -13,17 +13,26 @@ RUN true \
WORKDIR /opt
RUN true \
&& wget https://dl.google.com/go/go1.12.1.linux-amd64.tar.gz \
&& tar xzf go1.12.1.linux-amd64.tar.gz \
&& rm -vf go1.12.1.linux-amd64.tar.gz \
&& wget https://dl.google.com/go/go1.13.3.linux-amd64.tar.gz \
&& tar xzf go1.13.3.linux-amd64.tar.gz \
&& rm -vf go1.13.3.linux-amd64.tar.gz \
&& true
ENV GOROOT="/opt/go"
ENV PATH="/opt/go/bin:${PATH}"
RUN useradd -c "OneCloud Builder" --create-home --home-dir /home/build --shell /bin/bash build
USER build
ENV HOME /home/build
WORKDIR /home/build
USER build
ENV GOPATH="/home/build/go"
ENV PATH="${GOPATH}/bin:${PATH}"
RUN true \
&& mkdir -p "$GOPATH" \
&& d="$GOPATH/src/golang.org/x/tools" \
&& mkdir -p "$d" \
&& git clone --branch yun --depth 8 https://github.com/yousong/tools "$d" \
&& cd "$d" \
&& go install ./cmd/goimports \
&& true

View File

@@ -3,9 +3,24 @@
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2
jobs:
build:
check:
docker:
- image: yunionio/onecloud-ci:20190328
- 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
@@ -15,15 +30,54 @@ jobs:
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:
- build
- check
- build:
requires:
- check
- test:
requires:
- check

4
.dockerignore Normal file
View File

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

View File

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

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

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

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

1
.gitignore vendored
View File

@@ -33,3 +33,4 @@ _output
GPATH
GRTAGS
GTAGS
pkg/generated

View File

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

3
CONTRIBUTING.md Normal file
View File

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

View File

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

1928
Gopkg.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,212 +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"
[[constraint]]
branch = "master"
name = "github.com/libvirt/libvirt-go-xml"

228
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) \
@@ -25,8 +32,12 @@ LDFLAGS := "-w \
#####################################################
GO_BUILD := go build -ldflags $(LDFLAGS)
ifneq ($(DLV),)
GO_BUILD_FLAGS += -gcflags "all=-N -l"
LDFLAGS = ""
endif
GO_BUILD_FLAGS+=-mod vendor -ldflags $(LDFLAGS)
GO_BUILD := go build $(GO_BUILD_FLAGS)
GO_INSTALL := go install -ldflags $(LDFLAGS)
GO_TEST := go test
@@ -36,13 +47,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 +74,32 @@ 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/esxi-agent: prepare_dir
CGO_ENABLED=0 $(GO_BUILD) -o $(BIN_DIR)/$(shell basename $@) $(REPO_PREFIX)/$@
cmd/%: prepare_dir
$(GO_BUILD) -o $(BIN_DIR)/$(shell basename $@) $(REPO_PREFIX)/$@
rpm/%: cmd/%
$(BUILD_SCRIPT) $*
pkg/%: prepare_dir fmt
pkg/%: prepare_dir
$(GO_INSTALL) $(REPO_PREFIX)/$@
build:
$(MAKE) $(cmdTargets)
# a hack
rpm:
$(MAKE) $(patsubst %,cmd/%,$(filter-out $@,$(MAKECMDGOALS)))
$(foreach cmd,$(filter-out $@,$(MAKECMDGOALS)),$(BUILD_SCRIPT) $(cmd);)
$(MAKE) $(rpmTargets)
rpmclean:
rm -fr $(BUILD_DIR)/rpms
@@ -94,14 +114,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,14 +123,152 @@ 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"
.PHONY: help
gen-model-api-check:
which model-api-gen || (GO111MODULE=off go get -u yunion.io/x/code-generator/cmd/model-api-gen)
gen-model-api: gen-model-api-check
$(ROOT_DIR)/scripts/codegen.py model-api
gen-swagger-check:
which swagger || (GO111MODULE=off go get -u github.com/go-swagger/go-swagger/cmd/swagger)
which swagger-gen || (GO111MODULE=off go get -u yunion.io/x/code-generator/cmd/swagger-gen)
which swagger-serve || (GO111MODULE=off go get -u yunion.io/x/code-generator/cmd/swagger-serve)
gen-swagger: gen-swagger-check
$(ROOT_DIR)/scripts/codegen.py swagger-code
$(ROOT_DIR)/scripts/codegen.py swagger-yaml
swagger-serve: gen-swagger
$(ROOT_DIR)/scripts/codegen.py swagger-serve
.PHONY: gen-model-api-check gen-model-api gen-swagger-check gen-swagger swagger-serve
REGISTRY ?= "registry.cn-beijing.aliyuncs.com/yunionio"
VERSION ?= $(shell git describe --exact-match 2> /dev/null || \
git describe --match=$(git rev-parse --short=8 HEAD) --always --dirty --abbrev=8)
image:
TAG=$(VERSION) REGISTRY=$(REGISTRY) $(ROOT_DIR)/scripts/docker_push.sh $(filter-out $@,$(MAKECMDGOALS))
.PHONY: image
%:
@:
docker_build:
$(ROOT_DIR)/build/docker_build.sh

8
OWNERS
View File

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

54
README-CN.md Normal file
View File

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

View File

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

View File

@@ -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"
)

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

1
build/cloudevent/vars Normal file
View File

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

View File

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

1
build/cloudnet/vars Normal file
View File

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

1
build/devtool/vars Normal file
View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,18 +0,0 @@
#!/bin/bash
set -o errexit
set -o nounset
set -o pipefail
SRC_ROOT=$(realpath $(dirname "${BASH_SOURCE[0]}")/..)
BIN_DIR=$SRC_ROOT/_output/bin
WORK_DIR="/go/src/yunion.io/x/onecloud"
docker run --rm -it \
-w $WORK_DIR \
-v $SRC_ROOT:$WORK_DIR \
d3lx/golang:yunion \
make
echo "Build finish"
ls -alh $BIN_DIR

View File

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

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

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

View File

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

View File

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

View File

@@ -0,0 +1 @@
您的{{ .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

View File

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

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"

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

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