Commit Graph
160 Commits
Author SHA1 Message Date
wanyaoqi 45f12d2021 fix(region): network_ip_macs rbac and guestnetwork assign
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-12 17:53:19 +08:00
Jian QiuandQiu Jian 21716cefb5 fix: remove mutual dependency of cloudmux on onecloud (#15621)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-27 01:21:26 +08:00
wanyaoqi 659c455818 fix(region,host): backup guest refactor 2022-12-14 23:58:00 +08:00
屈轩 079be4492d fix(region): task panic (#15345) 2022-11-11 19:51:37 +08:00
wanyaoqi 79dfa27ca5 fix(host): live migrate optimize (#14996)
- support set live migrate bandwidth
- support cancel migrate
- live migrate enable multifd
- cancel set live migrate max downtime in init live migrate
- save and sync guest desc and start script on sync config
- init machine pci addresses on load guest desc
- load memory devices for guests not init pci addresses
- attach network set upscript and downscript
- add a guest launcher for redirect qemu stdout/stderr
- start monitor on guest script start
- fix guest hotplug cpu and mem not update desc
2022-09-23 14:09:33 +08:00
wanyaoqi 63b30cef60 feat(region,host): qga set user password
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-28 13:51:21 +08:00
QIU Jian 293afd2e69 fix: remove apiversion param from session 2022-08-25 09:43:50 +08:00
Jian QiuandQiu Jian 9fbbe05c6a fix: misc fixes 20220712 (#14614)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-12 08:00:57 +08:00
屈轩 037f75815c fix(region): add log for set expire time (#14266) 2022-05-19 01:22:30 +08:00
Yousong Zhou 37fc897a11 Feature/yousong vpc elb (#11423)
* regiondrivers: kvm: lb: make "network" an optional argument

* loadbalancernetworks: add MacAddr field for lb with eip

* apis: compute: add LOADBALANCER to EIP_ASSOCIATE_VALID_TYPES

* regiondrivers: fix typo RequestAssociat{,e}Eip

* regiondrivers: kvm: RequestAssociatEip: standalone func for each type

* regiondrivers: kvm: RequestAssociateEip: support loadbalancer

* tasks: EipAssociateTask: add support for loadbalancer

* tasks: EipAssociateTask: allow using name for referring to instance

* elasticips: PerformAssociate: validate loadbalancer condition

* tasks: EipDissociateTask: support non-managed loadbalancer

* loadbalancers: add StartSyncstatus method for EipAssociateTask

* regiondrivers: kvm: allow creation of vpc lb

* loadbalanceragents: add timestamp fields for network objects

* climc: eips: add associate type loadbalancer

* mcclient: loadbalancernetworks: add Mac_Addr column

* vpcagent: models: add loadbalancernetworks

* vpcagent: ovn: route back vpc cidr block instead of all rest

* vpcagent: ovn: add ClaimLoadbalancerNetwork()

* mcclient: models: add LoadbalancerNetwork

* mcclient: models: add Network

* lbagent: models: use IBaseManager to accomodate joint manager

* lbagent: models: add {,Loadbalancer}Networks

* lbagent: models: export a few fields

* lbagent: models: add fields for vpc lb models

* iproute2: add NewAddressEx constructor

* lbagent: add worker for vpc lb

* vendor: add github.com/coreos/go-iptables

* lbagent: apihelper: use ovn worker

* lbagent: models: use pkg/compute/models

* mcclient: models: remove lb models

* lbagent: api: use pkg/apihelper

* vpcagent: models: add lblisteners and lbacls

* vpcagent: ovn: add lbacl support
2022-05-06 23:22:50 +08:00
Qiu Jian abc7083bc7 fix: logclient i18n for backup ops 2022-04-27 20:41:53 +08:00
Jian QiuandQiu Jian aee2d78186 feature: event log add severity and kind fields (#13919)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-06 06:57:44 +08:00
Jian QiuandQiu Jian 094c643dd0 fix: logout event log (#13916)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-06 01:30:22 +08:00
rainzm f5d58cdee9 feat(cloudcommon): notify when the checksum of db table record test fail
1. remove pkg/cloudcommon/db dependency on pkg/cloudcommon
2. init db notifier in pkg/cloudcommon.InitDB
3. move interface 'IStartable' to pkg/util/logclient package which alone references above interface
2022-04-01 18:50:40 +08:00
Jian QiuandQiu Jian ce836b3f77 feature: qemu encryption support (#13733)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-03-26 14:52:42 +08:00
ioito d7f197a033 fix(region): cloudpods misc fix 2022-03-24 14:33:20 +08:00
Zexi Li c0a0121d2b feat(host): server instance snapshot with memory 2022-03-03 13:53:11 +08:00
Zexi Li b5d8522f37 feat(region,host): server cpuset supported (#13527)
* feat(region,host): server cpuset supported

* feat(region,host): cpuset remove
2022-02-23 16:07:01 +08:00
rainzm 77ea86fafe feat(region,host): support packing and unpacking instancebackup 2022-02-23 10:04:07 +08:00
Zexi Li 807459a49d Merge pull request #13371 from rainzm/secret/resource
Classification of resources
2022-02-16 17:51:51 +08:00
Zexi Li 3e3ce71c60 fix(region): vm_sync_isolated_device i18n (#13419) 2022-02-11 12:16:14 +08:00
rainzm 9a2348e918 feat(region,image): cachedimage inherits the class metadata of image 2022-02-09 15:26:42 +08:00
rainzm 5c6ba0d750 feat(region, host): support disk backup
1. create backup for disk
2. create disk from backup
3. recovery disk directly
4. delete backup
2022-01-19 12:04:27 +08:00
Qiu Jian 92e3b1dba5 fix: add detach network i18n 2022-01-06 11:24:41 +08:00
Jian QiuandQiu Jian 9fa6696e3c feature: vip support (#13020)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-01-02 08:49:32 +08:00
Qiu Jian 41ca44f02e fix: several improvements on qemu migration: 1. enable qemu debug log if
host log_level is debug. 2. disable rng device by default. 3. handle
resume fail post migration
2021-12-30 02:02:35 +08:00
Zexi Li afd5f0f220 fix(region,host): sync usb isolated device error not display 2021-12-29 17:38:56 +08:00
rainzm 7aaf6aee3b feat(region): restart network after change ipaddr for guest 2021-12-22 11:07:45 +08:00
Jian QiuandQiu Jian 049b00435e fix: remove irrelevant codes (#12676)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-15 00:42:59 +08:00
Qiu Jian a5b3345b3d fix: cleanup codes 2021-11-13 18:22:57 +08:00
Qu Xuan 06dc1c1b87 fix(common): split mcclient modules by service 2021-11-05 19:24:50 +08:00
Zexi Li cde34767c0 feat(region,host): implement server change disk storage 2021-11-03 11:01:01 +08:00
zhaoxiangchun 4ac0042153 feat(monitor) 3.7 add monitor resource overview
1. 监控中增加资源统计
2. 资源在报警总览中的状态:
   init--未设置告警;alerting--发生告警;/attach--已关联策略并且报警消息正常
3.只涉及宿主机和虚拟机

https://bug.yunion.io/zentao/task-view-3130.html
2021-06-18 17:46:40 +08:00
Qiu Jian 740b3c94aa fix: missing yunionconf log 2021-05-08 21:49:36 +08:00
Qu Xuan 4ba014cf5c fix(keystone): avoid panic when call logclient 2021-04-28 19:32:23 +08:00
Qu Xuan 7b845d17c7 fix(common): dump task info when stucking 2021-04-26 10:45:38 +08:00
Qu Xuan 05716c7d7a avoid log loss when token expired fix #10738 2021-04-19 11:15:00 +08:00
Qu Xuan 22937c4afb feat(region): nat op support 2021-03-02 20:55:22 +08:00
Qu Xuan 2cfbda9a59 fix(logger): distinct field optimized for logger 2021-02-04 20:40:07 +08:00
rainzm a4d3d5fa39 feat(region): support merging mutli wires to a wire 2021-02-03 12:08:23 +08:00
rainzm cef91402fb feat(region): support synchronize vmware's network configuration to the local
1. move prepare-nets in cloudaccounts_prepare.go
2. when creating vmware account, auto synchronize vmware's network and
synchronize cloudprovider
3. support actively triggering the synchronization of the vmware network
2021-02-03 12:00:24 +08:00
bistuzx@163.com a2ddd93587 add budget set alert log 2021-01-09 15:59:43 +08:00
rainzm 75998a132b fix(notify): repull subcontact after changing config 2020-12-10 10:15:19 +08:00
lvyangyang 2edde62fca feat(region): add bucket cloud tags support 2020-12-04 10:11:25 +08:00
lvyangyang d2e5329f33 fix(region): fix modify tags log 2020-12-03 20:00:29 +08:00
zhaoxiangchun df6a2634f7 fix(monitor): modify influxdbSuggestDriver query err
1.修复influxdb相关的建议规则查询数据失败的问题
2020-12-03 12:59:27 +08:00
lvyangyang 1591f0ab81 feat(region): set qcloud bucket policy 2020-11-27 14:33:58 +08:00
spike.lv eb91e8fcd1 feat(region): inter vpc network 2020-11-20 17:35:12 +08:00
zhaoxiangchun 357dd4e698 detach AlertResource on alertDisable
1. 报警规则禁用时,detach 关联的报警资源

影响范围:报警规则的禁用;logger日志服务i18n的日志展示
2020-11-18 12:19:34 +08:00
lvyangyang 8c29c53961 add:bucket ops const i18n 2020-11-16 15:28:37 +08:00