Commit Graph
136 Commits
Author SHA1 Message Date
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 110c6bc611 mergeInputOutputJson for ValidateCreateData and ValidateUpdateData 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
wanyaoqi 24b518a3b7 fix image upload log event 2019-12-11 20:29:18 +08:00
wanyaoqi 7ed33e7f9b fix image set chksum 2019-11-27 18:22:53 +08:00
Zexi Li d149d84ccc support generate 2019-11-27 10:20:28 +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
Qiu Jian fa461b33e9 fix: error in service config format cause service halt 2019-11-26 02:53:59 +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
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
郑雨 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
Qiu Jian 54ada6b887 feature: keystone add service config API and allow config services by
API
2019-11-10 03:31:50 +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
yunion-ci-robot ef6d7f097d Merge pull request #3021 from Mjoycarry/feature/notify_grpc
Feature: Notify
2019-09-25 17:42:28 +08:00
wanyaoqi dd7fadb8c4 fix add cronjob validate times 2019-09-24 20:21:30 +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
wanyaoqi 4f29f17f8a fix glance save form url save md5 2019-09-12 11:07:18 +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
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
wanyaoqi 9932ee64cc fix glance update mindisk 2019-09-02 13:51:44 +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
wanyaoqi 199b472397 - snapshot support custom snapshot policy 2019-08-21 11:14:16 +08:00
wanyaoqi 72bbe977d3 fix image head no field tenant 2019-08-16 12:14:39 +08:00
Qiu Jian 4b2316208c feature: s3upload support multipart upload 2019-08-12 10:34:51 +08:00
wanyaoqi 2c9dada44c misc bugfix 2019-08-06 15:35:55 +08:00
Qiu Jian c18359def4 fix: role assignments list should include matched policies 2019-07-25 02:26:39 +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
wanyaoqi 506005ace3 fix glance list share resource 2019-07-24 11:54:08 +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
Qiu Jian 9de59c66c6 fix: node count for a virtualized host is always 1 2019-07-20 18:34:22 +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
Zexi 562240120c glance: fix duplicate data for node db_stats 2019-07-18 10:44:46 +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
wanyaoqi 3acf030fef - set mirror status on switch
- deploy agent

- gpfs snapshot

- code fixs
2019-07-10 18:31:40 +08:00
Jian Qiu b08dd390e5 fix: quota encode json allowing zero value (#1570) 2019-07-05 23:03:28 +08:00