Commit Graph

49 Commits

Author SHA1 Message Date
Qiu Jian
8f1d9998f1 fix: glance use multicloud objectstorage client to manipulate objectstorage 2021-10-17 02:53:28 +08:00
Zexi Li
02dc737ccd fix(glance): s3 uploaded image removed 2021-10-11 12:43:35 +08:00
Zexi Li
48cfdd5ed3 fix(glance): set fail status when upload image to s3 2021-05-12 15:00:13 +08:00
rainzm
c67bd977ee feat: call EventNotify when event occurs 2021-02-18 11:21:25 +08:00
wanyaoqi
a48f0040a8 feat(glance): support backend storage s3 2021-01-20 19:53:03 +08:00
Qu Xuan
57ae689490 fix(region,yunionapi,glance): using global proxy 2020-12-10 18:31:51 +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
4b49bcec8f feat: add WithCtx version to notifyclient function 2020-09-14 20:31:17 +08:00
wanyaoqi
e510ed1969 add host cpu archs capabilitie 2020-08-27 11:07:50 +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
wanyaoqi
00237495b9 set subimage some field nullable 2020-01-08 15:35:26 +08:00
wanyaoqi
7ed33e7f9b fix image set chksum 2019-11-27 18:22:53 +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
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
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
wanyaoqi
3acf030fef - set mirror status on switch
- deploy agent

- gpfs snapshot

- code fixs
2019-07-10 18:31:40 +08:00
wanyaoqi
6fe2a6938f fix image download timout 2019-07-03 17:28:32 +08:00
wanyaoqi
73c14b9e22 optimize sync status with backup 2019-06-26 13:04:33 +08:00
wanyaoqi
a2438c6418 fix glance copy from url set checksum 2019-06-17 12:51:20 +08:00
wanyaoqi
f9aa092dc9 add normal notofy 2019-06-04 21:09:45 +08:00
Qiu Jian
33d22dfae6 feature: support identity provider and more... 2019-05-31 14:10:56 +08:00
wanyaoqi
75fc17dbc1 glance detect disable lvm 2019-05-30 11:29:47 +08:00
wanyaoqi
8014d20122 feature: glance notify, host record kvm info 2019-05-23 15:47:20 +08:00
wanyaoqi
7e9e211fec prob more info 2019-05-15 17:01:40 +08:00
wanyaoqi
1f1a23acae optimize image upload and probe 2019-05-08 17:06:27 +08:00
wanyaoqi
fa3d8ec732 Image probe info on upload 2019-05-07 20:55:49 +08: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
Qiu Jian
004d9b6f95 update copyright headers of all source 2019-03-29 14:47:48 +08:00
Yousong Zhou
8fe4f2ec98 treewide: group imports with goimports
./goimports -w -local yunion.io/x/onecloud/ -corp yunion.io/x/ $GOPATH/src/yunion.io/x/onecloud/{cmd,pkg}
2019-03-13 10:46:12 +00:00
Qiu Jian
cce3d04fc1 Merge branch 'release/2.5.0' of ssh://git.yunion.io/~qiujian/onecloud into hotfix/qj-resolve-conflict-2.6.0-20190305
Conflicts:
	pkg/util/qemuimg/qemuimg.go
2019-03-05 12:28:06 +08:00
Qiu Jian
e289549e5d fix: not set converting status 2019-03-05 09:48:36 +08:00
Qiu Jian
8e65f740cf fix: build error because of notify and actionlog interface change 2019-02-18 15:25:53 +08:00
Qiu Jian
ab2ee8d16d minor fixes 2019-01-05 19:37:00 +08:00
Qiu Jian
aa776b308b 修正:image
import过程为耗时操作,需要在LocalTaskRun里执行,避免占用image的操作锁
2019-01-05 10:21:59 +08:00
邱剑
e768975132 Merge pull request #878 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:hotfix/qj-delete-image-require-override-pending-delete to release/2.5.0
* commit '682d286aa133ec39f5b1284c0719fc9334483e7d':
  伪删除镜像的清理需要增加override-pending-delete的参数
2019-01-04 13:17:44 +08:00
Qiu Jian
71f47e7d32 minor fixes 2019-01-03 23:33:05 +08:00
Qiu Jian
791c9bd49d 修正:
image-import从阿里云导入镜像失败,原因是多设置了content-type的header
2019-01-03 22:58:24 +08:00
Qiu Jian
682d286aa1 伪删除镜像的清理需要增加override-pending-delete的参数 2019-01-03 20:10:49 +08:00
Qiu Jian
018e372173 minor fixes 2018-12-29 13:43:49 +08:00
Qiu Jian
df41b7cdcd use separate worker for long running tasks, such as ImageConvertTask,
ImageCheckTask, CloudProviderSyncInfoTask
2018-12-27 16:19:24 +08:00
Qiu Jian
21558d3dd2 final commit
Conflicts:
	pkg/cloudcommon/policy/policy.go
	pkg/util/azure/storagecache.go
2018-12-26 23:02:19 +08:00
Qiu Jian
b2f4c667eb fix bugs 2018-12-26 22:59:59 +08:00
Qiu Jian
88566645e0 add doc.go && make ParseOptions changes
Conflicts:
	pkg/cloudcommon/options.go
	pkg/compute/service/service.go
	pkg/webconsole/service/service.go
	pkg/yunionconf/service/service.go
2018-12-26 22:59:08 +08:00
Qiu Jian
f9d9617220 update fmt & doc 2018-12-26 22:52:25 +08:00
Qiu Jian
2e587bd6ab glance重构 update 1
Conflicts:
	Gopkg.lock
	pkg/appsrv/appsrv.go
	pkg/cloudcommon/options.go
	pkg/compute/models/hosts.go
	pkg/compute/models/quotas.go
	pkg/compute/service/service.go
	pkg/mcclient/mcclient.go
2018-12-26 22:52:13 +08:00