Commit Graph

203 Commits

Author SHA1 Message Date
Zexi Li
4a7b6f9418 fix(glance): make image is_standard updatable 2021-05-18 16:43:52 +08:00
Zexi Li
85f85e394d fix(cloudcommon): unify OS_ARCH constants 2021-04-15 11:06:55 +08:00
Qiu Jian
65748b374c fix(image): update min_disk of iso image 2021-03-31 23:25:58 +08:00
wanyaoqi
8287f3767e fix(keystone): service config ignore deploy server socket path 2020-12-18 12:52:52 +08:00
Qu Xuan
c1ecb63309 fix(region,yunionapi,glance): using global proxy 2020-12-10 18:33:40 +08:00
Qiu Jian
6f7a3cf8a5 fix(cloudcommon): disable quota check by default
1. add enable_quota_check common option
2. disable quota check by default
3. specify scope of quota limit in OutOfQuota error message
2020-12-10 01:23:36 +08:00
wanyaoqi
cfa1a4ee4f feat(host-deployer): add deploy driver libguestfs
Add drvier libguestfs to support deploy more operator system,
you can use it by edit host config file add 'image_deploy_driver: libguestfs'.
By the default host-deploy support run three guestfish at the same time.
And host deployer will recycle free guestfish every ten minitues.

cherrypick: release/3.6
2020-12-08 17:50:39 +08:00
wanyaoqi
59102f2dda feat(region/glance): update cpu arch apis
add multi arch resourcebase manager
update multi arch resource list apis

cherrypick: release/3.6
2020-11-26 15:33:40 +08:00
Qiu Jian
4431acde83 fix:
1. server generate name should be historically unique
2. ipaddr of a batch of server is in the same order as generated name
2020-11-05 00:21:12 +08:00
Qiu Jian
354bcd9f07 fix: save service config changes may send invalid action log 2020-10-31 18:57:52 +08:00
yunion-ci-robot
128173d320 Merge pull request #7620 from wanyaoqi/feature/wyq/arm-v2
feature: arm support
2020-10-26 15:50:40 +08:00
rainzm
5824b7add0 fix(glance): allow public and private operations of guestimage
The public and private operations of the guest image depends on these operations of the subimage.
2020-10-23 17:46:49 +08:00
Qiu Jian
2486aa3071 fix: cancel pending-delete should increase resource quota usages 2020-10-19 16:02:50 +08:00
wanyaoqi
686b639979 fix update image status after save failed 2020-09-16 19:00:31 +08:00
rainzm
4b49bcec8f feat: add WithCtx version to notifyclient function 2020-09-14 20:31:17 +08:00
wanyaoqi
53d0914cd9 glance: check min disk size on update 2020-09-03 19:58:22 +08:00
wanyaoqi
e510ed1969 add host cpu archs capabilitie 2020-08-27 11:07:50 +08:00
wanyaoqi
7d94c4e46f support create arm virtual machine 2020-08-27 11:05:21 +08:00
Jian Qiu
cb573d340a fix: turn off some default project policies (#7636)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-26 18:42:35 +08:00
Yousong Zhou
c2bca8ab39 Feature/yousong text (#7487)
* notify: log with context info

* region: guests: log with context info

* region: hosts: log with context info

* region: misc: remove redundant log

* region: skus: use NewInternalServerError instead of NewGeneralError

* appsrv: dispatcher: preserve text id

* appsrv: dispatcher: remove commented-out code

* cloudcommon: db_dispatcher: note errors that won't be translated

* cloudcommon: db: rbac: preserve text id

* cloudcommon: caller: preserve text id

* treewide: fix fmt string

* region: guest_actions: preserve text id

* region: guest_actions: fix fmt string

* region: usages: fix fmt string

* mcclient: hosts: remove redundant return value

* cloudcommon: fetch: preserve text id

* region: guest_template: preserve text id

* cloudcommon: db: db_dispatcher: preserve text id

* region: guest_actions: preserve text id

* httperrors: add funcs for wrap lang tag into context

* vendor: golang.org/x/text

* httperrors: error with context

* httperrors: HTTPError

* treewide: fix typo

* treewide: use en in source code

* locales: initial version
2020-08-25 15:26:31 +08:00
Jian Qiu
ba292dfedc fix: use json to store task error message (#7351)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-07-30 10:34:32 +08:00
Qiu Jian
587f533daa fix: image upload not clean pending usage 2020-07-21 01:38:00 +08:00
Qu Xuan
a07b112be1 feature: CloudId服务支持 2020-06-21 11:30:01 +08:00
Zexi Li
9f4d4a450e refactor ITableSpec signature with context 2020-06-08 11:31:00 +08:00
Qiu Jian
8a77030823 update for doc-gen 2020-05-23 13:42:59 +08:00
Qu Xuan
1354270c51 fix: 上传镜像为转换列表之外时,subformat状态异常 2020-05-21 17:40:27 +08:00
Qu Xuan
f9c794f745 fix: image-list --sub-format support 2020-05-18 21:20:33 +08:00
Qiu Jian
ed5463ca68 fix: disable delete standard image 2020-05-16 00:34:54 +08:00
Qiu Jian
eb54f316c7 fix: set public_scope to system for image with is_public=true 2020-05-15 00:30:03 +08:00
Qiu Jian
6f3e18930e fix: shared resource should not be deletable 2020-05-07 01:37:41 +08:00
Qiu Jian
7ab3a06b46 fix: code autogen issues 2020-04-24 20:19:43 +08:00
Yousong Zhou
59b143f905 image: use identity_apis.EndpointInterfacePublic 2020-04-15 17:59:11 +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
adeda57082 fix: service config changes not effective 2020-04-06 15:43:29 +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
09bc348c66 feature: recode cloudcommon policy default/resource codes 2020-03-30 19:35:55 +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
Zexi Li
284c777db4 Merge pull request #5412 from swordqiu/hotfix/qj-adjust-two-options-default
fix: two default option changes: 1. do not convert vhd by default 2.sync purge server by default
2020-03-09 09:30:58 +08:00
Qiu Jian
63f5d40208 fix: two default option changes: 1. do not convert vhd by default 2.
sync purge server by default
2020-03-09 01:32:27 +08:00
Qiu Jian
57933d2497 fix: complete keystone/glance list filter 2020-03-09 01:20:25 +08:00
Qiu Jian
75a8981bf1 fix: 1. image header details should skip "properties" field 2.
cloudprovider details nil pointer panic
2020-03-04 18:58:07 +08:00