Commit Graph

83 Commits

Author SHA1 Message Date
wanyaoqi
c1c72cb01c instance snapshot save secgrps 2019-11-20 21:17:00 +08:00
tangbin
1896651d69 redis sync fix 2019-11-11 14:17:29 +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
e9e4dedac8 fix: normalize baremetal sysinfo manufacture 2019-11-10 03:51:20 +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
Qiu Jian
6e6c4d40c8 fix: missing action log for baremetal create and prepare events 2019-11-02 19:51:22 +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
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
ioito
21be27e36c add rds operation 2019-10-24 11:40:22 +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
wanyaoqi
8fc4b2920a - instance snapshot
- instance clone

- create form snapshot don't reset passwd
2019-10-14 21:36:58 +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
wanyaoqi
41317e1a5e io throttle add log event 2019-09-05 20:30:40 +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
wanyaoqi
136033d7d4 host migrate 2019-08-24 17:10:37 +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
wanyaoqi
a0d51a61f4 fix storage attach host sync status 2019-06-19 19:56:09 +08:00
wanyaoqi
cf090235c5 gpfs 2019-06-06 23:11:24 +08:00
Qiu Jian
b7027934db feature: 3-level policies, system/domain/project 2019-05-31 13:56:02 +08:00
wanyaoqi
52b2699615 snapshot policy 2019-05-22 17:16:16 +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
ioito
584279a362 设置端口和权重后同步到公有云上 2019-05-14 20:50:15 +08:00
wanyaoqi
f4dd38a0f3 fix guest delele backup log event 2019-05-13 11:08:41 +08:00
ioito
0c2948ce9a 负载均衡日志补全 2019-05-11 17:16:11 +08:00
wanyaoqi
1f1a23acae optimize image upload and probe 2019-05-08 17:06:27 +08:00
ioito
89c63ec5a0 添加阿里云lb监听参数校验 2019-05-05 11:02:32 +08:00
wanyaoqi
1fc841ce0d fix guest resume on migrate failed, fix snapshot action log 2019-04-22 11:29:29 +08:00
ioito
6a7136f2cc 添加eip相关日志记录 2019-04-17 14:01:58 +08:00
wanyaoqi
0623419b6a action log send to ws service (#224) 2019-04-04 20:39:30 +08:00
wanyaoqi
324f4e9767 bugs fix 2019-04-03 10:46:17 +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
屈轩
2583b4ed83 避免续费时未刷新虚拟机状态 2019-03-29 18:36:43 +08:00
Qiu Jian
004d9b6f95 update copyright headers of all source 2019-03-29 14:47:48 +08:00
李泽玺
87478f4954 Automatic merge from release/2.6.0 -> release/2.7.0
* commit '60aae0b672073eecd0ab12c91cc6c1d8fbc26920':
  + ACT_DELOCATE
2019-03-26 18:47:59 +08:00
Zhang Dongliang
46f68df060 + ACT_DELOCATE 2019-03-26 18:46:46 +08:00
张东亮
7afce01220 Automatic merge from release/2.6.0 -> release/2.7.0
* commit 'ed7a8232e1baf6b0765a2145523706e327c3e611':
  梳理 logclient 事件,增加黑名单
2019-03-26 17:56:38 +08:00
Zhang Dongliang
8a0b325302 梳理 logclient 事件,增加黑名单 2019-03-26 17:53:12 +08:00
Qiu Jian
bc50179bbe Merge branch 'hotfix/qj-resolve-conflict-20190314-2.7.0' of ssh://git.yunion.io/~qiujian/onecloud into hotfix/qj-recode-cloud-account-create-options 2019-03-14 16:21:39 +08:00
Yousong Zhou
4e3925be5b Merge remote-tracking branch 'origin/release/2.6.0' into bugfix/yousong-update-diffs-270 2019-03-14 07:39:01 +00:00
Qiu Jian
e74f31b7c0 fix: cleanup project sync codes 2019-03-14 09:46:29 +08:00
Yousong Zhou
098d62bdc5 treewide: 改进opslog记录update diff
action为ACT_UPDATE,仅当len(UpdateDiffs) > 0时才记录
2019-03-13 14:20:54 +00:00
Qiu Jian
605cbb2558 Merge branch 'release/2.7.0' of ssh://git.yunion.io/~qiujian/onecloud into feature/qj-sync-with-lock 2019-03-04 01:42:39 +08:00
Qiu Jian
61a3845734 fix: add action log for server changing ipaddr 2019-02-22 21:22:45 +08:00
邱剑
0edeb53d28 update models with db.Update interface 2019-02-22 12:06:13 +08:00
邱剑
97247c4c82 Merge pull request #1092 in YUNIONIO/onecloud from ~WANYAOQI/onecloud:bugfix/wyq/switch-to-backup to release/2.6.0
* commit '9ca00e1646e299eb4a6fef7aa75b3457010e1845':
  switch to backup add status
2019-02-21 20:43:12 +08:00
Qiu Jian
9f35039209 add service tag for actionlog 2019-02-18 01:13:40 +08:00
Qiu Jian
8554d13c4a make fmt 2019-02-16 15:17:31 +08:00
Qiu Jian
066d155a16 fix: logger did not record start time of events 2019-02-16 13:47:18 +08:00
Qiu Jian
b215c199df minor fixes 2019-02-09 06:23:23 +08:00
屈轩
53b03c1d59 添加监听同步配置操作 2019-01-25 15:00:05 +08:00