Commit Graph

125 Commits

Author SHA1 Message Date
Qiu Jian
7ab3a06b46 fix: code autogen issues 2020-04-24 20:19:43 +08:00
Qiu Jian
b9a239bd65 fix: sync sharing state 2020-04-11 06:50:48 +08:00
Qiu Jian
7bfdc0dce4 fix: cascading sharing problems 2020-04-11 06:49:55 +08:00
Rain
99bb00948b fix(glance): Fix the return value after creating guest image 2020-04-09 21:10:59 +08:00
Qiu Jian
9b0e464c1f fix: misc bugs in usage data 2020-04-04 23:11:09 +08:00
Qiu Jian
d1346771aa feature: domain resource quota 2020-04-03 02:03:55 +08:00
Qiu Jian
fbb5b9f07f fix: cancel pending usage might not need to update usage 2020-04-01 16:42:32 +08:00
Qiu Jian
732dcdcb61 feature: system resource domainize 2020-03-27 01:20:29 +08:00
Qiu Jian
569f1b204d fix: keystone resources list filter should support array 2020-03-13 17:19:16 +08:00
yunion-ci-robot
e5ed2aaf10 Merge pull request #5454 from rainzm/fix/subimage_createdat
fix(glance): Structured subimage info and add 'created_at' field
2020-03-13 15:33:01 +08:00
Qiu Jian
e11ceb4c4b feature: allow list/export/sort/distict metadata 2020-03-13 13:12:45 +08:00
Qiu Jian
3c9b368c43 feature: fix region list filters round 3 2020-03-12 20:55:22 +08:00
Rain
e185bf9d7e fix(glance): Structured subimage info and add 'created_at' field 2020-03-12 19:25:28 +08:00
Qiu Jian
57933d2497 fix: complete keystone/glance list filter 2020-03-09 01:20:25 +08:00
Qiu Jian
75a8981bf1 fix: 1. image header details should skip "properties" field 2.
cloudprovider details nil pointer panic
2020-03-04 18:58:07 +08:00
Qiu Jian
cf5498ac24 feature: recode structuralized GetExtraDetails and ListItemFilter 2020-03-04 14:01:25 +08:00
Zexi Li
b463203902 Merge pull request #5050 from ioito/hotfix/qx-model-detail
统一 details -> isList
2020-02-10 11:12:21 +08:00
Qiu Jian
4e474e9482 fix: progressively update image size while uploading 2020-02-10 09:28:45 +08:00
Qu Xuan
366cbd4e36 统一 details -> isList 2020-02-07 17:54:48 +08:00
Qiu Jian
91711a1321 feature: fix customized API documents for authenticate and quota 2020-02-06 01:45:15 +08:00
Qu Xuan
76d974f6d8 feature: api -> response struct 2020-02-03 10:22:44 +08:00
wanyaoqi
2e65633c4c is standard domain optional 2020-01-18 19:10:11 +08:00
wanyaoqi
bb82d30331 validate share on delete, update pulibc scope on mark standard 2020-01-14 17:08:29 +08:00
Qiu Jian
45849355e6 fix: list documentation improvements 2020-01-14 04:17:15 +08:00
Qiu Jian
b9be567ebf use deprecated-by tag to describe deprecated fields 2020-01-13 13:19:47 +08:00
Qiu Jian
14c1ddaccb feature: cloudprovider capability filter and listinput recode 2020-01-13 13:19:47 +08:00
wanyaoqi
ab8f96ee67 image-properties-add-disable-delete 2020-01-09 15:40:33 +08:00
yunion-ci-robot
6c7b477956 Merge pull request #4695 from rainzm/bugfix/guest_image_quota
fix(glance): Cancel pending usage of image quota correctly
2020-01-08 16:10:58 +08:00
wanyaoqi
00237495b9 set subimage some field nullable 2020-01-08 15:35:26 +08:00
Rain
1560fb53a9 fix(glance): Cancel pending usage of image quota correctly
ImageNumber always be zero because the 'image_number' in data was
removed so that canceling pending usage not work.
2020-01-08 11:27:02 +08:00
Qiu Jian
bc7f62a2ad scheduler schedule according to quota limit 2020-01-03 13:58:04 +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
Jian Qiu
489c8b3ca9 fix: prevent quota usage from being negative (#4162) 2019-12-14 12:11:21 +08:00
Qiu Jian
2b6c274745 fix: image quota key type mismatch 2019-12-13 16:20:55 +08:00
Qiu Jian
c8a07c87ad fix: init quota with negative value and negative quota means unlimited 2019-12-13 13:00:41 +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
wanyaoqi
24b518a3b7 fix image upload log event 2019-12-11 20:29:18 +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
郑雨
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
wanyaoqi
7c1216697e allow delete standard and shared image 2019-11-18 21:14:32 +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
郑雨
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
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
Yousong Zhou
8ba5986d83 goimports: first run 2019-10-28 06:22:17 +00: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
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
TangBin
59461ce097 reformat import 2019-09-07 22:56:47 +08:00