Compare commits

..

4689 Commits

Author SHA1 Message Date
Jian Qiu
59f51ecae3 fix: allow baremetal to specify external tftp server and file (#15491)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-05 23:41:02 +08:00
Zexi Li
12c84fad68 Merge pull request #15480 from swordqiu/hotfix/qj-host-disable-gso-for-specific-nics
fix: host disable gso for specific nics
2022-12-05 18:19:15 +08:00
Zexi Li
d25fb4d4db Merge pull request #15487 from swordqiu/automated-cherry-pick-of-#15485-upstream-release-3.9
Automated cherry pick of #15485: feature: allow update hostname
2022-12-05 18:16:54 +08:00
Qiu Jian
af74eb78c7 feature: allow update hostname 2022-12-05 17:22:28 +08:00
Qiu Jian
6955c373cf fix: host disable gso for specific nics 2022-12-04 00:52:06 +08:00
Jian Qiu
ed37341f2c fix: lbagent deploy fix release/3.9 (#15474)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-01 08:30:57 +08:00
Jian Qiu
f71ef994cb fix: sync aws os_arch release/3.9 (#15464)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-01 01:22:53 +08:00
Zexi Li
1482f631d9 fix(scheduler): consider storage backend and mediumType size (#15468) 2022-12-01 01:22:11 +08:00
gouqi11
2f4f99692b fix(region): fix modelarts create task setStatus (#15455) 2022-11-28 23:58:20 +08:00
Zexi Li
df8b84fc58 Merge pull request #15447 from swordqiu/automated-cherry-pick-of-#15445-upstream-release-3.9
Automated cherry pick of #15445: fix: vmware convert to kvm need check network configuration
2022-11-28 19:16:22 +08:00
Qiu Jian
7a7d89d3b0 fix: vmware convert to kvm need check network configuration 2022-11-28 02:22:07 +08:00
Zexi Li
b35bf67e88 Merge pull request #15442 from gouqi11/automated-cherry-pick-of-#15440-upstream-release-3.9
Automated cherry pick of #15440: fix(region): add modelarts sku policy
2022-11-25 15:49:58 +08:00
mhf
704496fedd fix(region): add modelarts sku policy 2022-11-25 15:41:32 +08:00
Jian Qiu
5ce9742f09 fix: keep schedtask_label table name (#15433)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-25 15:38:30 +08:00
wanyaoqi
ca58f35451 fix(region,host): check memdev on live migration (#15380)
* fix(region,host): check memdev on live migration

* fix(region,host): live migrate check scsi num queus

* fix(host): change scsi num queues

* fix(host): fix nics pci addr on live migration
2022-11-24 22:17:56 +08:00
gouqi11
21af852658 fix(region): fix modelarts sku purgeall managerId (#15436) 2022-11-24 21:59:42 +08:00
Zexi Li
b91838e57d Merge pull request #15421 from gouqi11/fid/modelartsCreatedFailed
fix(region): fix network status
2022-11-22 15:22:48 +08:00
Zexi Li
5f60e290f2 Merge pull request #15422 from zexi/automated-cherry-pick-of-#15394-upstream-release-3.9
Automated cherry pick of #15394: fix(baremetal): Physical server installation OS optimization
2022-11-22 13:30:52 +08:00
seraphico
e4f8f914be fix(baremetal): When the mac address in nics_standby does not have Index or nic_type, it will cause a panic, which will cause the physical server to fail to switch to bare metal 2022-11-22 13:28:59 +08:00
mhf
2895262df9 fix(region): fix network status 2022-11-22 13:08:19 +08:00
wanyaoqi
523b6a70b0 fix(region,host): live migrate quickly converge (#15418) 2022-11-22 12:25:46 +08:00
Jian Qiu
5b3e16536c fix: filter projects by idp (#15400)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-22 12:24:30 +08:00
Jian Qiu
e551080c73 fix: fail to delete guest due to guestdisk inconsistency (#15403)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-22 12:24:02 +08:00
屈轩
25d4621b05 fix(region): ceph df size (#15411) 2022-11-22 12:23:07 +08:00
wanyaoqi
2d8fa20a22 Automated cherry pick of #15383: Fix/migrate (#15420)
* fix(region): ask host offline on rescue mode migration

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

* fix(host): desc add is_volatile_host

Is volatile host tell sdn agent guest is not final state running on this
host, and do not bind port and report chassis right now.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-11-22 12:22:27 +08:00
Zexi Li
449f1ddfc7 fix(host): filter usb hub devices (#15406) 2022-11-21 17:21:52 +08:00
Zexi Li
f49fbdac8e Merge pull request #15408 from wanyaoqi/automated-cherry-pick-of-#15407-upstream-release-3.9
Automated cherry pick of #15407: fix(host): ceph utils command add timeout
2022-11-21 15:26:19 +08:00
wanyaoqi
676488e991 fix(host): ceph utils command add timeout
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-11-21 15:10:23 +08:00
Zexi Li
6d931b6969 Merge pull request #15397 from ioito/hotfix/qx-self-manage-check
fix(region): cloudpods self manage check
2022-11-18 19:33:39 +08:00
ioito
8e5614fe34 fix(region): cloudpods self manage check 2022-11-18 19:20:38 +08:00
屈轩
4ecb482d65 fix(cloudmon): add process stats metric (#15393) 2022-11-17 20:40:19 +08:00
屈轩
94d492da9d fix(cloudmon): collect system metric (#15386) 2022-11-17 18:39:44 +08:00
Zexi Li
7eed64d26a Merge pull request #15389 from zexi/k8s-cluster-extra-config
feat(climc): k8s cluster extra config
2022-11-17 18:13:01 +08:00
Zexi Li
947d5c6e28 feat(climc): k8s cluster extra config 2022-11-17 17:48:09 +08:00
gouqi11
8ad9a11649 fix(region): modelarts sku external id (#15388) 2022-11-17 16:51:14 +08:00
Zexi Li
5d96284683 Merge pull request #15387 from gouqi11/fix/modelartsManagerIdPanic
fix(region): modelarts sku managerId panic
2022-11-17 15:47:54 +08:00
mhf
501f7d97f6 fix(region): modelarts sku managerId panic 2022-11-17 15:25:54 +08:00
Zexi Li
d00342d7f0 Merge pull request #15381 from gouqi11/fix/modelartsSkuProcessor
fix(region): add modelarts sku list input cpu_arch,processor_type
2022-11-17 14:20:36 +08:00
mhf
c93a306f72 fix(cloudmux): add modelarts sku list input cpu_arch,processor_type 2022-11-16 19:52:21 +08:00
Zexi Li
b2a51d3b21 Merge pull request #15378 from gouqi11/fix/modelartsSkuProcessor
fix(region) :fix modelarts sku bug
2022-11-16 16:42:13 +08:00
屈轩
32148b8ab7 fix(region): account clean host cache (#15376) 2022-11-16 15:50:57 +08:00
mhf
16943ed51a fix(region) :fix modelarts sku bug 2022-11-16 15:39:52 +08:00
Zexi Li
3f5995cd2d Merge pull request #15373 from gouqi11/fix/modelartsNetworkBug
fix(region): fix modelarts network no available bug
2022-11-16 12:03:57 +08:00
mhf
37ac9f2960 fix(region): fix modelarts network no available bug 2022-11-16 11:50:58 +08:00
Jian Qiu
5198de290a fix: vpc secgroup should deny any ingress traffic be default (#15356)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-16 11:17:10 +08:00
Zexi Li
e54e942035 feat(climc): k8s cluster force deploy (#15371) 2022-11-16 10:12:44 +08:00
Zexi Li
5e0473a61f Merge pull request #15366 from swordqiu/automated-cherry-pick-of-#15365-upstream-release-3.9
Automated cherry pick of #15365: fix: automatically set disk is_ssd according to storage medium_type
2022-11-15 23:45:28 +08:00
Zexi Li
6529067de6 Merge pull request #15359 from swordqiu/automated-cherry-pick-of-#15358-upstream-release-3.9
Automated cherry pick of #15358: fix: do not detect vm ips when managing vmware
2022-11-15 10:39:55 +08:00
wanyaoqi
18bc9077be fix(scheduler): ignore fetch disk image failed (#15362) 2022-11-15 00:50:26 +08:00
wanyaoqi
be32ab259b fix(region): dead lock on batch migrate (#15364)
New parallel task will lock Model Manager.
If guests hosts count bigger than one will stuck on Lock
Guest Model Manager.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-11-15 00:49:08 +08:00
Qiu Jian
b73e53b7c2 fix: automatically set disk is_ssd according to storage medium_type 2022-11-15 00:18:08 +08:00
Zexi Li
f99457b780 Merge pull request #15360 from gouqi11/fix/uploadModelartsNetworkCidr
fix(region): add modelarts created failed
2022-11-14 16:21:29 +08:00
mhf
655a693989 fix(region): add modelarts created failed 2022-11-14 12:00:15 +08:00
wanyaoqi
2beaf112c1 fix(host-deployer): os arch and uefi detect (#15352) 2022-11-13 18:19:26 +08:00
Qiu Jian
27f380d235 fix: do not detect vm ips when managing vmware 2022-11-12 22:44:13 +08:00
Zexi Li
d5ff3f313d Merge pull request #15347 from gouqi11/fix/uploadModelartsNetworkCidr
fix(region): upload modelarts network cidr
2022-11-12 18:41:51 +08:00
Zexi Li
6b3fa1fd45 Merge pull request #15349 from swordqiu/automated-cherry-pick-of-#15348-upstream-release-3.9
Automated cherry pick of #15348: fix: scheduler ignore storage capacity constraint if migrating
2022-11-12 18:41:13 +08:00
Zexi Li
0a849c9217 Merge pull request #15354 from swordqiu/automated-cherry-pick-of-#15353-upstream-release-3.9
Automated cherry pick of #15353: fix: make excel output floating number pretty
2022-11-12 18:40:00 +08:00
Qiu Jian
bdc24b38ff fix: make excel output floating number pretty 2022-11-11 22:18:38 +08:00
Qiu Jian
81b7bcdae9 fix: scheduler ignore storage capacity constraint if migrating 2022-11-11 20:49:40 +08:00
mhf
c006f1439d fix(region): upload modelarts network cidr 2022-11-11 20:04:51 +08:00
屈轩
e192dce599 fix(region): task panic (#15346) 2022-11-11 19:51:51 +08:00
Zexi Li
e6cf0f85a8 Merge pull request #15343 from ioito/hotfix/qx-hcso-region-cache
fix(region): hcso region cache
2022-11-11 11:21:55 +08:00
ioito
ec99a501b9 fix(region): hcso region cache 2022-11-11 10:58:09 +08:00
Zexi Li
91eb6b99bb feat(glance): precise_match option of image list input (#15340) 2022-11-11 08:27:40 +08:00
Zexi Li
17096e4815 fix(scheduler): check capacity of disk_schedtag_predicate (#15335)
* only check free_capacity when not migrating or non schared storage

* only check actual_free_capacity when storage is local
2022-11-10 11:42:30 +08:00
Zexi Li
4fc27e11d1 Merge pull request #15332 from swordqiu/hotfix/qj-image-osinfo-nil
fix: image osinfo nil panic
2022-11-09 23:06:35 +08:00
Qiu Jian
b4395aef3c fix: image osinfo nil panic 2022-11-09 14:45:13 +08:00
屈轩
c6c66a927c fix(region): 避免i18n重复删除再创建 (#15325) 2022-11-09 00:10:14 +08:00
Jian Qiu
3a4166fc38 fix: format version for rpm spec (#15329)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-11-09 00:09:09 +08:00
wanyaoqi
58c3d0df77 fix(host-deployer): check /etc/network dir is esixt (#15315) 2022-11-08 11:43:06 +08:00
Zexi Li
76b9ed3273 Merge pull request #15322 from ioito/automated-cherry-pick-of-#15321-upstream-release-3.9
Automated cherry pick of #15321: fix(common): avoid return invalid delete status
2022-11-08 10:20:19 +08:00
ioito
a0c63e314c fix(common): avoid return invalid delete status 2022-11-07 17:35:54 +08:00
Zexi Li
46134dc3ea Merge pull request #15319 from gouqi11/release/3.9
fix(regioin): modelarts refresh status
2022-11-07 15:25:32 +08:00
mhf
3f174b362c fix(regioin): modelarts refresh status 2022-11-07 15:22:14 +08:00
Jian Qiu
119c0ee225 fix: add openstack oscli doc (#15312)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-07 02:51:08 +08:00
Jian Qiu
1fe0399a80 fix: mcclient code cleanup 20221106 (#15311)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-07 02:20:18 +08:00
Jian Qiu
e98e6be8e3 fix: choose available storage by server_id (#15307)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-07 02:19:11 +08:00
wanyaoqi
d33f1f53c6 fix(region,host): disconnect esxi disk on disk delete (#15299) 2022-11-07 02:18:42 +08:00
Zexi Li
bcfa131ddb fix(monitor): only query enabled host for alerting (#15300) 2022-11-07 02:17:30 +08:00
Jian Qiu
ecfedc4705 fix: generate ssh host keys for linux guest (#15304)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-07 02:16:37 +08:00
Jian Qiu
7b2f48091d fix: secgroup peer secgroup constraint (#15309)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-11-07 02:16:01 +08:00
Zexi Li
21110e515e Merge pull request #15296 from gouqi11/automated-cherry-pick-of-#15295-upstream-release-3.9
Automated cherry pick of #15295: fix(region):modelartsTimeout
2022-11-04 17:42:59 +08:00
mhf
d4b30efc64 fix(region):modelartsTimeout 2022-11-04 16:35:36 +08:00
Zexi Li
6984df0233 Merge pull request #15293 from gouqi11/automated-cherry-pick-of-#15292-upstream-release-3.9
Automated cherry pick of #15292: fix(region):modelarts task
2022-11-04 15:27:22 +08:00
mhf
aeb83c10ac fix/modelarts task 2022-11-04 14:56:46 +08:00
Zexi Li
0b38ca8898 Merge pull request #15258 from ioito/automated-cherry-pick-of-#15257-upstream-release-3.9
Automated cherry pick of #15257: fix(keystone): optimzed project list
2022-11-04 14:29:28 +08:00
Zexi Li
03d108fa88 Merge pull request #15291 from ioito/hotfix/qx-hcso-saml
fix(cloudid): hcso saml provider update
2022-11-04 14:15:04 +08:00
ioito
7e8b525f7c fix(cloudid): hcso saml provider update 2022-11-04 14:04:12 +08:00
Zexi Li
700fb9dd54 Merge pull request #15267 from swordqiu/automated-cherry-pick-of-#15266-upstream-release-3.9
Automated cherry pick of #15266: fix: allow duplicate vm ids when sync
2022-11-04 12:27:33 +08:00
Zexi Li
55052f1aef Merge pull request #15289 from zexi/automated-cherry-pick-of-#15280-upstream-release-3.9
Automated cherry pick of #15280: fix: allow upload image via apigateway backend proxy
2022-11-04 12:26:52 +08:00
Qiu Jian
bc3f90fd2d fix: allow upload image via apigateway backend proxy 2022-11-04 12:25:59 +08:00
Zexi Li
abab461012 Merge pull request #15285 from ioito/hotfix/qx-cloudpods-manage
fix(region): check cloudpods self manage
2022-11-04 12:17:50 +08:00
Zexi Li
be37e889fa Merge pull request #15287 from wanyaoqi/automated-cherry-pick-of-#15286-upstream-release-3.9
Automated cherry pick of #15286: fix(host-deployer): add deploy telegraf error info
2022-11-04 12:16:12 +08:00
wanyaoqi
d2a9d25034 fix(host-deployer): add deploy telegraf error info 2022-11-03 20:43:13 +08:00
ioito
ac3fab5a44 fix(region): check cloudpods self manage 2022-11-03 18:51:22 +08:00
Zexi Li
eb6d0d99db Merge pull request #15279 from wanyaoqi/automated-cherry-pick-of-#15276-upstream-release-3.9
Automated cherry pick of #15276: fix(region): implement failed stage: OnDiskLiveChangeStorageReadyFailed
2022-11-03 15:29:28 +08:00
Zexi Li
202d786f4e Merge pull request #15277 from ioito/hotfix/qx-aliyun-dns-record
fix(region): dns record sync
2022-11-03 15:22:08 +08:00
Zexi Li
cab130b9a2 Merge pull request #15273 from wanyaoqi/automated-cherry-pick-of-#15272-upstream-release-3.9
Automated cherry pick of #15272: fix(region): panic on host offline and update health status is nil
2022-11-03 15:21:23 +08:00
Zexi Li
c68b8d1c3f Merge pull request #15283 from zexi/automated-cherry-pick-of-#15268-upstream-release-3.9
Automated cherry pick of #15268: fix: save unsynced ip to metadata
2022-11-03 15:20:32 +08:00
Qiu Jian
d7c67548bb fix: sync unsynced ip to metadata 2022-11-03 15:20:15 +08:00
Zexi Li
1ef2fd93a3 Merge pull request #15282 from gouqi11/automated-cherry-pick-of-#15281-upstream-release-3.9
Automated cherry pick of #15281: fix/modelarts status
2022-11-03 15:17:33 +08:00
mhf
e090712505 fix/modelarts status 2022-11-03 15:03:14 +08:00
wanyaoqi
3a2f2ccdc4 fix(region): implement failed stage: OnDiskLiveChangeStorageReadyFailed 2022-11-02 17:33:59 +08:00
ioito
12fb840668 fix(region): dns record sync 2022-11-02 17:01:30 +08:00
wanyaoqi
32b7d296e2 fix(region): panic on host offline and update health status is nil 2022-11-01 20:49:50 +08:00
Zexi Li
ec321023d2 feat(region): no_bmc option of host create api (#15269) 2022-11-01 17:38:27 +08:00
Qiu Jian
92ba7c6816 fix: allow duplicate vm ids when sync 2022-10-31 23:17:22 +08:00
Zexi Li
3974f48866 Merge pull request #15263 from ioito/automated-cherry-pick-of-#15262-upstream-release-3.9
Automated cherry pick of #15262: fix(region): account balance
2022-10-31 15:18:07 +08:00
ioito
a05a830112 fix(region): account balance 2022-10-31 14:36:59 +08:00
ioito
1cfd1a5545 fix(keystone): optimzed project list 2022-10-31 10:43:24 +08:00
Jian Qiu
d0506b4420 Automated cherry pick of #15244: feature: enable monitor proxy at host metadata server (#15245)
* feature: enable monitor proxy at host metadata server

* fix: host metadatahandler

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-30 09:14:10 +08:00
Zexi Li
8100a32a30 fix(baremetal): panic occured when get server ssh client (#15248) 2022-10-29 06:20:06 +08:00
Zexi Li
e4f8cf043c Merge pull request #15251 from gouqi11/automated-cherry-pick-of-#15246-upstream-release-3.9
Automated cherry pick of #15246: fix(cloudmon):cloudpodsMonitor
2022-10-27 19:34:05 +08:00
mhf
a9ca3137ad cloudpodsMonitor 2022-10-27 18:58:11 +08:00
Zexi Li
c036dceba4 Merge pull request #15235 from gouqi11/automated-cherry-pick-of-#15233-upstream-release-3.9
Automated cherry pick of #15233: controlMetricsGoroutineCount
2022-10-27 18:54:40 +08:00
屈轩
d67d7555e6 fix(region): skip disk sync by system tags (#15232) 2022-10-26 02:10:49 +08:00
Jian Qiu
bbcdbac62f fix: force reset expired password (#15230)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-26 02:07:24 +08:00
Jian Qiu
22a2ffec45 feature: automatically purge expired splitables (#15226)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-26 02:07:04 +08:00
Jian Qiu
3cc2cccb5d fix: ignore secgroup sync error (#15237)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-26 02:06:07 +08:00
mhf
7024da858b controlMetricsGoroutineCount 2022-10-25 20:16:53 +08:00
Jian Qiu
3a11565b7b fix: access backend service by specific region/zone (#15227)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-25 17:05:14 +08:00
Zexi Li
40ca3788af Merge pull request #15220 from gouqi11/automated-cherry-pick-of-#15219-upstream-release-3.9
Automated cherry pick of #15219: fixModelartsNodeCount nullable
2022-10-21 18:56:54 +08:00
mhf
2c79573fca fixModelartsNodeCount nullable 2022-10-21 18:49:45 +08:00
Zexi Li
746b08da99 Merge pull request #15214 from zexi/schedule-disk-tag
fix(scheduler): do free capacity check when storage filter enabled
2022-10-20 16:36:31 +08:00
Zexi Li
3155b0a060 Merge pull request #15218 from gouqi11/automated-cherry-pick-of-#15217-upstream-release-3.9
Automated cherry pick of #15217: fix/remoteFileReturnBug
2022-10-20 16:36:16 +08:00
mhf
4b5a07bb44 fix/remoteFileReturnBug 2022-10-20 16:19:46 +08:00
Zexi Li
c4447e27dc fix(scheduler): do free capacity check when storage filter enabled 2022-10-20 14:56:23 +08:00
Zexi Li
4728af489b Merge pull request #15208 from ioito/automated-cherry-pick-of-#15207-upstream-release-3.9
Automated cherry pick of #15207: fix(cloudmon): default delay time for 6 minutes
2022-10-20 00:31:08 +08:00
Zexi Li
d49bc112dd Merge pull request #15211 from ioito/automated-cherry-pick-of-#15210-upstream-release-3.9
Automated cherry pick of #15210: fix(region): add disk_type for disk short desc
2022-10-19 18:45:50 +08:00
ioito
1c2f2ec3b2 fix(region): add disk_type for disk short desc 2022-10-19 18:19:32 +08:00
ioito
4cba85a812 fix(cloudmon): default delay time for 6 minutes 2022-10-18 11:00:27 +08:00
Zexi Li
8c74fe459c Merge pull request #15204 from zexi/ansible-run-time
fix(ansibleserver): force sleep 50s before running
2022-10-18 10:48:45 +08:00
Zexi Li
f239e34d1b fix(ansibleserver): force sleep 50s before running 2022-10-18 10:23:48 +08:00
屈轩
9c733ff130 fix(websonsole): vnc query (#15197) 2022-10-15 22:05:26 +08:00
屈轩
aacdf17099 fix(glance): esxi vmdk requre streamOptimized (#15181) 2022-10-15 22:03:44 +08:00
Zexi Li
07f6572159 Merge pull request #15200 from gouqi11/automated-cherry-pick-of-#15198-upstream-release-3.9
Automated cherry pick of #15198: fix/huawei-aksk-createdAt
2022-10-14 21:12:33 +08:00
mhf
234741d0c4 fix/huawei-aksk-createdAt 2022-10-14 19:38:23 +08:00
Zexi Li
e842e970ba Merge pull request #15193 from zexi/automated-cherry-pick-of-#15192-upstream-release-3.9
Automated cherry pick of #15192: fix(scheduler): check free capacity of each storage
2022-10-14 13:33:06 +08:00
Zexi Li
acbbb6d6f5 fix(scheduler): check free capacity of each storage 2022-10-14 12:40:26 +08:00
Zexi Li
3769869a08 Merge pull request #15188 from ioito/automated-cherry-pick-of-#15187-upstream-release-3.9
Automated cherry pick of #15187: fix(region): optimized sku list
2022-10-14 10:35:13 +08:00
Zexi Li
4b0bdcfe8b Merge pull request #15184 from ioito/automated-cherry-pick-of-#15183-upstream-release-3.9
Automated cherry pick of #15183: fix(region): skip account check
2022-10-14 10:33:52 +08:00
ioito
9151709473 fix(region): optimized sku list 2022-10-13 18:12:31 +08:00
ioito
fb0645e837 fix(region): skip account check 2022-10-13 17:00:12 +08:00
Zexi Li
cfa36774e7 Merge pull request #15180 from ioito/automated-cherry-pick-of-#15179-upstream-release-3.9
Automated cherry pick of #15179: fix(region): skip duplicate account check
2022-10-13 12:14:38 +08:00
ioito
b4516df1a4 fix(region): skip duplicate account check 2022-10-13 12:07:22 +08:00
Zexi Li
6ccd2801f0 Merge pull request #15178 from swordqiu/automated-cherry-pick-of-#15177-upstream-release-3.9
Automated cherry pick of #15177: fix: disk fallocate support
2022-10-13 09:47:44 +08:00
Zexi Li
0baca192e3 Merge pull request #15164 from swordqiu/automated-cherry-pick-of-#15163-upstream-release-3.9
Automated cherry pick of #15163: fix: ssd(rotation_rate=1) option only applicable to scsi-hd device
2022-10-13 09:46:30 +08:00
Zexi Li
fe7cbbfee8 Merge pull request #15157 from ioito/automated-cherry-pick-of-#15156-upstream-release-3.9
Automated cherry pick of #15156: fix(region): openstack vnc
2022-10-13 09:46:00 +08:00
Zexi Li
fdbf01e158 Merge pull request #15171 from ioito/automated-cherry-pick-of-#15170-upstream-release-3.9
Automated cherry pick of #15170: fix(region): purge vm by tags
2022-10-13 09:45:19 +08:00
Zexi Li
e86e4d64e4 Merge pull request #15173 from ioito/automated-cherry-pick-of-#15172-upstream-release-3.9
Automated cherry pick of #15172: fix(cloudmon): show unmarshal error
2022-10-13 09:44:54 +08:00
Jian Qiu
fc916a22f2 fix: no etcd watching if endpoint type is not internal (#15176)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-13 09:36:52 +08:00
Qiu Jian
2887c8196f fix: disk fallocate support 2022-10-13 02:37:50 +08:00
ioito
3e7a321ad3 fix(cloudmon): show unmarshal error 2022-10-12 17:41:30 +08:00
ioito
dcf7bde095 fix(region): purge vm by tags 2022-10-12 16:36:25 +08:00
Zexi Li
9b2208a565 Merge pull request #15166 from ioito/automated-cherry-pick-of-#15165-upstream-release-3.9
Automated cherry pick of #15165: fix(region): avoid panic
2022-10-12 16:32:41 +08:00
ioito
4dad40e3b2 fix(region): avoid panic 2022-10-12 15:15:09 +08:00
屈轩
4142d03cce fix: climc image cache (#15153) 2022-10-12 14:55:49 +08:00
wanyaoqi
39bcd4c471 fix(region): only kvm use qgs set password in guest running status (#15159)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-12 14:55:12 +08:00
Qiu Jian
9ad72f63f2 fix: ssd(rotation_rate=1) option only applicable to scsi-hd device 2022-10-12 14:54:05 +08:00
Jian Qiu
5150d3d86d fix: debian 11 support missing at release/3.8 (#15161)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-11 21:18:14 +08:00
ioito
47024114c6 fix(region): openstack vnc 2022-10-11 16:52:41 +08:00
Zexi Li
34266ad52e Merge pull request #15151 from wanyaoqi/automated-cherry-pick-of-#15150-upstream-release-3.9
Automated cherry pick of #15150: fix(host-image): cancel auth host-image http requests
2022-10-11 10:45:27 +08:00
Zexi Li
8e942046e6 Merge pull request #15141 from ioito/automated-cherry-pick-of-#15137-upstream-release-3.9
Automated cherry pick of #15137: fix(region): snapshot time zone
2022-10-11 10:43:56 +08:00
Zexi Li
b3afdc7b93 Merge pull request #15135 from swordqiu/automated-cherry-pick-of-#15134-upstream-release-3.9
Automated cherry pick of #15134: fix: override valid os info in metadata
2022-10-11 10:42:38 +08:00
Zexi Li
08411e3061 Merge pull request #15139 from ioito/automated-cherry-pick-of-#15138-upstream-release-3.9
Automated cherry pick of #15138: fix(region): lb sync panic
2022-10-11 10:40:58 +08:00
Zexi Li
d08864d9e7 Merge pull request #15155 from ioito/automated-cherry-pick-of-#15154-upstream-release-3.9
Automated cherry pick of #15154: fix(region): oss permission
2022-10-11 10:38:59 +08:00
ioito
62362a1887 fix(region): oss permission 2022-10-10 19:15:00 +08:00
Zexi Li
167d3d25e8 Merge pull request #15149 from ioito/automated-cherry-pick-of-#15148-upstream-release-3.9
Automated cherry pick of #15148: fix(region): apsara region endpoint
2022-10-10 15:50:47 +08:00
wanyaoqi
a92e4d72a2 fix(host-image): cancel auth host-image http requests 2022-10-10 10:51:07 +08:00
ioito
4d6490e7a1 fix(region): apsara region endpoint 2022-10-10 10:38:40 +08:00
Qiu Jian
807631b7ca fix: override valid os info in metadata 2022-10-09 23:55:34 +08:00
wanyaoqi
be9bd32824 fix(region): recover code remove by #14996 (#15145)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-09 23:53:49 +08:00
wanyaoqi
8742ba05d5 fix(host): marshal cycle struct guest (#15146)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-09 23:49:00 +08:00
ioito
8271d86911 fix(region): snapshot time zone 2022-10-09 16:21:56 +08:00
ioito
04ac34755c fix(region): lb sync panic 2022-10-09 15:46:39 +08:00
Zexi Li
3e6d9f0a59 Merge pull request #15103 from ioito/automated-cherry-pick-of-#15102-upstream-release-3.9
Automated cherry pick of #15102: fix(region): azure resource group
2022-10-09 15:36:09 +08:00
Zexi Li
2fea602ecd Merge pull request #15132 from ioito/automated-cherry-pick-of-#15131-upstream-release-3.9
Automated cherry pick of #15131: fix(region): add project tag short desc
2022-10-09 00:26:16 +08:00
Zexi Li
31540c1feb Merge pull request #15129 from ioito/automated-cherry-pick-of-#15128-upstream-release-3.9
Automated cherry pick of #15128: fix(cloudid): aliyun saml provider name
2022-10-09 00:25:17 +08:00
ioito
c66e16190b fix(region): azure resource group 2022-10-08 21:28:31 +08:00
Zexi Li
8b3f7ef336 optimize(scheduler): global cache for schedtag (#15120)
* optimize(scheduler): global cache for schedtag

* feat(scheduler): informer of schedtag
2022-10-08 20:49:26 +08:00
ioito
57005da632 fix(region): add project tag short desc 2022-10-08 18:21:40 +08:00
ioito
68a98c8eb6 fix(cloudid): aliyun saml provider name 2022-10-08 15:39:25 +08:00
Zexi Li
8dd802204f Merge pull request #15123 from ioito/automated-cherry-pick-of-#15122-upstream-release-3.9
Automated cherry pick of #15122: fix(region): modelarts change config
2022-10-08 14:45:54 +08:00
ioito
043b24cca1 fix(region): modelarts change config 2022-10-08 14:28:34 +08:00
Zexi Li
4534f951b1 Merge pull request #15117 from zexi/monitor-error-msg
fix(monitor): monitor error message
2022-10-08 12:03:24 +08:00
Zexi Li
02447ea1f9 fix(monitor): monitor error message 2022-10-08 11:49:18 +08:00
Jian Qiu
3b64b8709e fix: preserve os info of instance (#15115)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-10-08 11:19:51 +08:00
Jian Qiu
117c5d60f4 update vendor wireguard 20221005 (#15113)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-05 17:17:53 +08:00
Zexi Li
5c9016bd0c Merge pull request #15110 from gouqi11/automated-cherry-pick-of-#15109-upstream-release-3.9
Automated cherry pick of #15109: fix modelarts status bug
2022-09-30 11:53:28 +08:00
mhf
c8c80dc95d fix modelarts status bug 2022-09-30 11:39:13 +08:00
Zexi Li
43154ddc00 Merge pull request #15106 from swordqiu/automated-cherry-pick-of-#15105-upstream-release-3.9
Automated cherry pick of #15105: fix: do not resize partition of unsupported fs
2022-09-29 10:08:07 +08:00
Qiu Jian
60d45f698b fix: do not resize partition of unsupported fs 2022-09-29 00:56:26 +08:00
Zexi Li
a7ee027326 Merge pull request #15101 from ioito/automated-cherry-pick-of-#15100-upstream-release-3.9
Automated cherry pick of #15100: fix(cloudmon): remove cloudmon metadata tag
2022-09-28 19:32:08 +08:00
ioito
b98983a2df fix(cloudmon): remove cloudmon metadata tag 2022-09-28 18:16:58 +08:00
Zexi Li
1b50d263c4 Merge pull request #15097 from zexi/ansible-sleep
fix(ansibleserver): force sleep 15s before running playbook
2022-09-28 17:38:52 +08:00
Zexi Li
24a3ff8fa9 fix(ansibleserver): force sleep 15s before running playbook 2022-09-28 17:21:56 +08:00
wanyaoqi
6d2e8fdfc1 fix(region): check migration bandwidth is nil (#15095) 2022-09-28 16:41:45 +08:00
Zexi Li
6a9dc28b72 Merge pull request #15096 from gouqi11/automated-cherry-pick-of-#15094-upstream-release-3.9
Automated cherry pick of #15094: add modelarts nodecount
2022-09-28 16:11:34 +08:00
mhf
de65b32a47 add modelarts nodecount 2022-09-28 15:49:30 +08:00
屈轩
e715a725db fix(cloudid): azure cloudgroup (#15093) 2022-09-28 15:27:28 +08:00
屈轩
6119e60c46 fix(monitor): rename tags to tag_pairs (#15088) 2022-09-28 15:26:40 +08:00
wanyaoqi
20b7b9b9f6 fix(host): rbd snap delete (#15083) 2022-09-28 15:25:27 +08:00
wanyaoqi
7d0a88a605 Automated cherry pick of #15067: fix(region): host health use sync map (#15085)
* fix(region): host health use sync map

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

* fix auto migrate on host shutdown

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-28 14:12:56 +08:00
Zexi Li
0516f72f46 fix(cloudcommon): notify event of specific resources (#15089) 2022-09-28 13:00:56 +08:00
Zexi Li
c4f0cb4dcd fix(host): out of range when list GPU devices (#15081) 2022-09-28 07:52:56 +08:00
屈轩
f8ef56cf38 fix(region): secgroup rule sync (#15076) 2022-09-27 21:23:00 +08:00
屈轩
aa99aa449e fix(climc): add debug for esxicli (#15060) 2022-09-27 21:22:08 +08:00
Zexi Li
386467927a fix(monitor): not depend taskman to execute async task (#15064) 2022-09-27 21:14:21 +08:00
Zexi Li
f9281c738d fix(cloudcommon): invoke model.PostUpdate when differences exist (#15069) 2022-09-27 21:10:52 +08:00
屈轩
ed8af7fc6f fix(cloudid): azure clouduser (#15073) 2022-09-27 21:10:04 +08:00
屈轩
077390519d fix(cloudmon): remove special characters (#15063) 2022-09-27 21:04:13 +08:00
Zexi Li
791e0753c4 Merge pull request #15058 from zexi/automated-cherry-pick-of-#15053-upstream-release-3.9
Automated cherry pick of #15053: feat(host): deploy telegraf in windows guest
2022-09-27 11:32:14 +08:00
wanyaoqi
ad0d7fde15 feat(host): deploy telegraf in windows guest
depends on telegraf service install command.
2022-09-27 11:31:51 +08:00
Zexi Li
59780e863d Merge pull request #15034 from wanyaoqi/automated-cherry-pick-of-#15033-upstream-release-3.9
Automated cherry pick of #15033: fix(region): migrate forecase add rescue mode
2022-09-26 15:22:59 +08:00
Zexi Li
fec651c425 Merge pull request #15050 from zexi/baremetal-storage
feat(region): is_baremetal option for storage list
2022-09-26 15:20:07 +08:00
Zexi Li
968cd4e6ff Merge pull request #15049 from ioito/automated-cherry-pick-of-#15048-upstream-release-3.9
Automated cherry pick of #15048: fix(monitor): influx query
2022-09-26 15:04:51 +08:00
Zexi Li
ee78115b44 feat(region): is_baremetal option for storage list 2022-09-26 15:02:33 +08:00
ioito
dac5f69abe fix(monitor): influx query 2022-09-26 15:01:24 +08:00
Zexi Li
309c69dcfd Merge pull request #15047 from ioito/automated-cherry-pick-of-#15046-upstream-release-3.9
Automated cherry pick of #15046: Hotfix/qx monitor misc
2022-09-26 14:06:09 +08:00
小林仔
12cbc9c697 support simple query 2022-09-26 13:28:19 +08:00
Zexi Li
8b3bb04adc Merge pull request #15042 from ioito/automated-cherry-pick-of-#15041-upstream-release-3.9
Automated cherry pick of #15041: fix(cloudid): role obs iam
2022-09-23 17:06:08 +08:00
ioito
cc56f30de8 fix(cloudid): role obs iam 2022-09-23 16:47:47 +08:00
Zexi Li
f0d7c4ea09 Merge pull request #15040 from swordqiu/automated-cherry-pick-of-#15039-upstream-release-3.9
Automated cherry pick of #15039: fix: ihost add cpu_architecture interface
2022-09-23 16:07:39 +08:00
QIU Jian
5b54fe3256 fix: ihost add cpu_architecture interface 2022-09-23 14:50:20 +08:00
wanyaoqi
4dd3a6a163 Automated cherry pick of #14996: fix(host): live migrate optimize (#15020)
* fix(host): live migrate optimize

- 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

* feat(region,host): server-monitor support qmp

server-montior add qmp option, default is hmp.

usage:
    climc server-monitor --qmp <ID> <COMMAND>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-23 14:09:47 +08:00
Jian Qiu
32931791cf fix: splitable duplicate records (#15038)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-09-23 14:09:11 +08:00
屈轩
6c680c9294 fix(region): avoid panic when show dns zone (#15036) 2022-09-23 13:52:53 +08:00
wanyaoqi
7db9a50f79 fix(region): migrate forecase add rescue mode
Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2022-09-23 11:02:04 +08:00
Zexi Li
bf98f587b8 Merge pull request #15023 from swordqiu/automated-cherry-pick-of-#15022-upstream-release-3.9
Automated cherry pick of #15022: fix: esxi save image fail
2022-09-23 10:12:58 +08:00
Zexi Li
9f9e5361f3 Merge pull request #15029 from ioito/automated-cherry-pick-of-#15028-upstream-release-3.9
Automated cherry pick of #15028: fix(cloudid): obs iam
2022-09-23 10:11:04 +08:00
ioito
201443dcec fix(cloudid): obs iam 2022-09-22 22:58:00 +08:00
Zexi Li
034c743ba6 Merge pull request #15027 from gouqi11/automated-cherry-pick-of-#15024-upstream-release-3.9
Automated cherry pick of #15024: HCSO modelarts monitor
2022-09-22 20:42:33 +08:00
mhf
2dca05c9c2 delete huaweiClient 2022-09-22 18:45:39 +08:00
Qiu Jian
2462128a32 fix: esxi save image fail 2022-09-22 02:10:15 +08:00
Zexi Li
6d6e46083d Merge pull request #15021 from gouqi11/automated-cherry-pick-of-#15018-upstream-release-3.9
Automated cherry pick of #15018: [WIP]add hcso modelarts
2022-09-21 20:56:26 +08:00
mhf
a0efef4c4d resert endpoint 2022-09-21 17:55:14 +08:00
mhf
5cd9d07115 add hcso modelarts 2022-09-21 17:55:14 +08:00
Zexi Li
c9fa13c63b Merge pull request #15014 from ioito/automated-cherry-pick-of-#15013-upstream-release-3.9
Automated cherry pick of #15013: fix(region): qcloud and google system tag
2022-09-21 14:35:39 +08:00
Zexi Li
9379930c21 Merge pull request #15017 from gouqi11/automated-cherry-pick-of-#15011-upstream-release-3.9
Automated cherry pick of #15011: add hcso aksk
2022-09-20 20:26:02 +08:00
mhf
0a1307bb4d add hcso aksk 2022-09-20 20:23:33 +08:00
Zexi Li
905dc803b9 Merge pull request #15016 from ioito/automated-cherry-pick-of-#15015-upstream-release-3.9
Automated cherry pick of #15015: fix(hostman): host and vm metric id
2022-09-20 18:41:34 +08:00
Zexi Li
a7824c6e42 Merge pull request #15012 from ioito/automated-cherry-pick-of-#15009-upstream-release-3.9
Automated cherry pick of #15009: fix(cloudid): clear cloudid error
2022-09-20 18:40:08 +08:00
ioito
ce6d4da16b fix(hostman): host and vm metric id 2022-09-20 18:03:59 +08:00
ioito
fdfd9ad858 fix(region): qcloud and google system tag 2022-09-20 17:41:36 +08:00
ioito
f68f09f067 fix(cloudid): clear cloudid error 2022-09-20 16:30:00 +08:00
Zexi Li
44fc286a9c Merge pull request #15005 from zexi/update-net-vlan-id
fix(climc): always net vlan_id to 1 when updating network
2022-09-20 10:46:28 +08:00
Zexi Li
3491ebdcb9 fix(climc): always net vlan_id to 1 when updating network 2022-09-20 10:44:08 +08:00
Zexi Li
409dd98850 Merge pull request #15002 from zexi/bm-no-cache
feat(baremetal,region): support disable_image_cache for baremetalagent
2022-09-20 10:29:35 +08:00
Zexi Li
21b831252d feat(baremetal,region): support disable_image_cache for baremetalagent 2022-09-20 10:04:21 +08:00
屈轩
26c351796f fix(cloudmon): unified metric id with resource id (#14998) 2022-09-19 22:55:30 +08:00
Zexi Li
7b78f205a9 Merge pull request #14955 from wanyaoqi/automated-cherry-pick-of-#14954-upstream-release-3.9
Automated cherry pick of #14954: feat(region,host): check disk type of gpfs mountpoint
2022-09-19 22:31:16 +08:00
Zexi Li
ea99da1fb5 Merge pull request #15004 from zexi/automated-cherry-pick-of-#14954-upstream-release-3.9
Automated cherry pick of #14954: feat(region,host): check disk type of gpfs mountpoint
2022-09-19 22:28:58 +08:00
wanyaoqi
b13417cba2 feat(region,host): check disk type of gpfs mountpoint
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-19 22:28:27 +08:00
Zexi Li
3a573a2242 Merge pull request #15000 from gouqi11/automated-cherry-pick-of-#14987-upstream-release-3.9
Automated cherry pick of #14987: fix modelarts create bug
2022-09-19 21:23:39 +08:00
mhf
7554a59eea fix modelarts create bug 2022-09-19 19:43:58 +08:00
屈轩
16d3cdc7aa fix(region): cloudaccount options (#14991) 2022-09-17 19:38:36 +08:00
wanyaoqi
f272e65780 feat(region,host): check disk type of gpfs mountpoint
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-16 18:27:48 +08:00
Zexi Li
5d6a431902 fix(monitor,region,climc): use commonalert api for scaling policy (#14979)
* fix(monitor,region,climc): use commonalert api for scaling policy

* fix(monitor): use commonalert as nodealert's backend
2022-09-16 10:33:59 +08:00
Zexi Li
a9c27a2273 Merge pull request #14975 from ioito/automated-cherry-pick-of-#14974-upstream-release-3.9
Automated cherry pick of #14974: fix(cloudmon): azure windows disk usage
2022-09-16 03:06:25 +08:00
wanyaoqi
7cbf045638 fix(host): get gpu qemu params (#14982)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-15 22:48:53 +08:00
Zexi Li
1de4e19670 Merge pull request #14984 from gouqi11/automated-cherry-pick-of-#14983-upstream-release-3.9
Automated cherry pick of #14983: bugfix(modelarts)
2022-09-15 21:42:07 +08:00
mhf
e8228e4e3c modelartsBugFix 2022-09-15 21:40:07 +08:00
Zexi Li
077fd3f891 fix(host): no vm_scaling_group_id in hostmetrics (#14976) 2022-09-15 01:16:23 +08:00
ioito
4975acb914 fix(cloudmon): azure windows disk usage 2022-09-14 19:41:12 +08:00
Zexi Li
85c5e33cf9 Merge pull request #14973 from gouqi11/automated-cherry-pick-of-#14972-upstream-release-3.9
Automated cherry pick of #14972: modelarts
2022-09-14 16:00:44 +08:00
mhf
6671cf9fab modelarts 2022-09-14 15:34:19 +08:00
Zexi Li
6e987b0ba7 Merge pull request #14963 from ioito/automated-cherry-pick-of-#14962-upstream-release-3.9
Automated cherry pick of #14962: fix(region): azure win disk usage percent
2022-09-14 10:12:07 +08:00
Zexi Li
c9b3a4e95c Merge pull request #14964 from zexi/alert-not-recover
fix(monitor): alert resource not recorverd
2022-09-14 10:05:27 +08:00
Zexi Li
6a0b463874 Merge pull request #14968 from swordqiu/automated-cherry-pick-of-#14967-upstream-release-3.9
Automated cherry pick of #14967: fix: set vfs_cache_pressure to 350
2022-09-14 01:05:50 +08:00
Qiu Jian
cfa1f8d3a1 fix: set vfs_cache_pressure to 350 2022-09-13 17:01:29 +08:00
Zexi Li
91b1236e3f fix(monitor): alert resource not recorverd 2022-09-13 13:43:46 +08:00
ioito
586fb7f7cf fix(region): azure win disk usage percent 2022-09-13 10:40:11 +08:00
Zexi Li
8fee86088b Merge pull request #14960 from swordqiu/automated-cherry-pick-of-#14959-upstream-release-3.9
Automated cherry pick of #14959: fix: remove irrelevant common options
2022-09-13 08:56:55 +08:00
Qiu Jian
77f0dcb4c8 fix: remove irrelevant common options 2022-09-12 18:23:29 +08:00
Zexi Li
0e215facb9 fix(baremetal): clean UEFI info for baremetal host (#14956) 2022-09-12 18:19:51 +08:00
Zexi Li
4bfabe8c01 Merge pull request #14953 from wanyaoqi/automated-cherry-pick-of-#14952-upstream-release-3.9
Automated cherry pick of #14952: fix(region): format and check existing path
2022-09-09 10:01:12 +08:00
Zexi Li
eb079f2dc0 Merge pull request #14951 from wanyaoqi/automated-cherry-pick-of-#14950-upstream-release-3.9
Automated cherry pick of #14950: fix(region): check qga set password username is equal login_account
2022-09-09 10:00:50 +08:00
wanyaoqi
24acccc0bf fix(region): format and check existing path
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-08 20:25:52 +08:00
wanyaoqi
ae43d31287 fix(region): check qga set password username is equal login_account
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-08 18:01:34 +08:00
Zexi Li
5a113a4078 Merge pull request #14946 from zexi/fix-gpu-models
fix(region): gpu_models in capabilities' response
2022-09-08 14:05:33 +08:00
Zexi Li
43450da351 fix(region): gpu_models in capabilities' response 2022-09-08 13:02:42 +08:00
Zexi Li
64612c0f61 Merge pull request #14928 from wanyaoqi/automated-cherry-pick-of-#14927-upstream-release-3.9
Automated cherry pick of #14927: feat(region): set password use same interface
2022-09-07 10:48:11 +08:00
Zexi Li
d3a8fa1315 fix(scheduler): testing failed (#14942) 2022-09-07 10:47:36 +08:00
Zexi Li
70d67f9b0d Merge pull request #14923 from ioito/automated-cherry-pick-of-#14922-upstream-release-3.9
Automated cherry pick of #14922: fix(region): secgroup rule sync
2022-09-07 10:47:24 +08:00
Zexi Li
1c0b7be8f7 Merge pull request #14934 from swordqiu/automated-cherry-pick-of-#14933-upstream-release-3.9
Automated cherry pick of #14933: fix: fail to create ceph disk, missing disk credential
2022-09-07 10:38:34 +08:00
Zexi Li
1f4f93c518 Merge pull request #14931 from ioito/automated-cherry-pick-of-#14930-upstream-release-3.9
Automated cherry pick of #14930: fix(region): cloudprovider tenant id
2022-09-07 10:37:55 +08:00
Zexi Li
3fa9918f3d Merge pull request #14936 from swordqiu/automated-cherry-pick-of-#14935-upstream-release-3.9
Automated cherry pick of #14935: fix: agent pull list with system scope
2022-09-07 10:37:01 +08:00
Zexi Li
c6d0a96db9 Merge pull request #14940 from swordqiu/automated-cherry-pick-of-#14939-upstream-release-3.9
Automated cherry pick of #14939: fix: add HSTS (RFC 6797) header if TLS enabled
2022-09-07 10:36:22 +08:00
Qiu Jian
5d490741a0 fix: add HSTS (RFC 6797) header if TLS enabled https://www.tenable.com/plugins/nessus/142960 2022-09-07 10:05:02 +08:00
Qiu Jian
fffbab915b fix: agent pull list with system scope 2022-09-07 00:45:42 +08:00
Qiu Jian
3b93dfdd98 fix: fail to create ceph disk, missing disk credential 2022-09-07 00:39:43 +08:00
ioito
97df9f264d fix(region): cloudprovider tenant id 2022-09-06 20:27:23 +08:00
Zexi Li
de1d772814 Merge pull request #14926 from zexi/automated-cherry-pick-of-#14924-upstream-release-3.9
Automated cherry pick of #14924: fix(scheduler): fill storage and network results
2022-09-06 20:00:11 +08:00
wanyaoqi
489d75a5ed feat(region): set password use same interface
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-06 15:53:38 +08:00
Zexi Li
9c2203a73d fix(scheduler): fill storage and network results 2022-09-06 12:04:49 +08:00
wanyaoqi
64d0e84d73 feat(region,host): deploy telegraf (#14919)
Support deploy telegraf on server deploy.
Add start telegraf on guest reboot crontab in guest os.
2022-09-06 00:13:32 +08:00
ioito
dd08d21b82 fix(region): secgroup rule sync 2022-09-05 17:28:00 +08:00
Zexi Li
0b2a20f06b Merge pull request #14921 from ioito/automated-cherry-pick-of-#14920-upstream-release-3.9
Automated cherry pick of #14920: fix(cloudmon): aliyun redis metric
2022-09-05 17:09:47 +08:00
ioito
a869940020 fix(cloudmon): aliyun redis metric 2022-09-05 16:38:46 +08:00
Zexi Li
30d1798767 Merge pull request #14917 from swordqiu/automated-cherry-pick-of-#14916-upstream-release-3.9
Automated cherry pick of #14916: fix(keystone): ldap search with pagination
2022-09-05 16:16:46 +08:00
Qiu Jian
60f868b259 fix(keystone): ldap search with pagination 2022-09-04 19:31:34 +08:00
Jian Qiu
e31524bc5d feature: webhook support notification of user update (#14913)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-09-04 05:04:23 +08:00
Zexi Li
c7fc21fe79 Merge pull request #14911 from ioito/automated-cherry-pick-of-#14910-upstream-release-3.9
Automated cherry pick of #14910: fix(cloudmon): server metric tag
2022-09-02 18:08:56 +08:00
ioito
93193e0170 fix(cloudmon): server metric tag 2022-09-02 18:03:04 +08:00
Zexi Li
c051f8f27e Merge pull request #14904 from ioito/automated-cherry-pick-of-#14903-upstream-release-3.9
Automated cherry pick of #14903: fix(cloudmon): alert history
2022-09-02 12:11:35 +08:00
Zexi Li
f9aade9c97 Merge pull request #14902 from ioito/automated-cherry-pick-of-#14901-upstream-release-3.9
Automated cherry pick of #14901: fix(cloudmon): qcloud redis metric
2022-09-02 10:45:40 +08:00
Jian Qiu
338f814cbc fix: allow update server pending deleted at (#14906)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-09-02 10:04:56 +08:00
ioito
0b984efb97 fix(cloudmon): alert history 2022-09-01 19:27:25 +08:00
ioito
982f4fa909 fix(cloudmon): qcloud redis metric 2022-09-01 15:41:13 +08:00
Jian Qiu
965ba3ee77 fix: support huawei sms service (#14896)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-09-01 14:49:27 +08:00
Zexi Li
9b2b4141ad Merge pull request #14898 from ioito/automated-cherry-pick-of-#14897-upstream-release-3.9
Automated cherry pick of #14897: fix(region): support distinct sku by name
2022-09-01 12:07:53 +08:00
Zexi Li
b8e1a841f1 Merge pull request #14900 from ioito/automated-cherry-pick-of-#14899-upstream-release-3.9
Automated cherry pick of #14899: fix(cloudmon): 添加监控指标描述信息
2022-09-01 12:03:07 +08:00
ioito
16fbba70c8 fix(cloudmon): 添加监控指标描述信息 2022-09-01 11:55:54 +08:00
ioito
0ca039b3ae fix(region): support distinct sku by name 2022-09-01 10:33:48 +08:00
Zexi Li
b58bcf5a74 Merge pull request #14892 from ioito/automated-cherry-pick-of-#14891-upstream-release-3.9
Automated cherry pick of #14891: fix(region): aws not found error
2022-08-31 21:00:03 +08:00
Zexi Li
3e14278698 Merge pull request #14894 from ioito/automated-cherry-pick-of-#14893-upstream-release-3.9
Automated cherry pick of #14893: fix(cloudmon): k8s metric
2022-08-31 20:59:15 +08:00
ioito
866facb6c1 fix(cloudmon): k8s metric 2022-08-31 17:58:05 +08:00
Jian Qiu
4b442acb68 feature(host-deployer): support neokylin (#14887)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-31 11:21:31 +08:00
ioito
37f59cc9eb fix(region): aws not found error 2022-08-31 10:42:44 +08:00
Zexi Li
9c097bddc1 Merge pull request #14884 from ioito/automated-cherry-pick-of-#14883-upstream-release-3.9
Automated cherry pick of #14883: fix(cloudmon): bucket and redis metric
2022-08-30 19:42:27 +08:00
ioito
098b65c25d fix(cloudmon): bucket and redis metric 2022-08-30 19:17:37 +08:00
Jian Qiu
551b7dcc73 fix(notify): fail to create deleted contacts (#14882)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-30 17:59:37 +08:00
Zexi Li
f6a9a12b6a Merge pull request #14880 from ioito/automated-cherry-pick-of-#14879-upstream-release-3.9
Automated cherry pick of #14879: fix(cloudmon): qcloud k8s metric
2022-08-30 17:34:41 +08:00
ioito
24fb95b01b fix(cloudmon): qcloud k8s metric 2022-08-30 17:23:02 +08:00
Zexi Li
4113a0fb24 Merge pull request #14878 from ioito/automated-cherry-pick-of-#14877-upstream-release-3.9
Automated cherry pick of #14877: fix(cloudmon): azure windows metric
2022-08-30 14:24:42 +08:00
Zexi Li
b8ad367a8c Merge pull request #14870 from ioito/automated-cherry-pick-of-#14869-upstream-release-3.9
Automated cherry pick of #14869: fix(region): show huawei cloudprovider with region name
2022-08-30 14:19:58 +08:00
ioito
a09bcb6667 fix(cloudmon): azure windows metric 2022-08-30 12:39:35 +08:00
Zexi Li
b5238c42ac Merge pull request #14872 from wanyaoqi/automated-cherry-pick-of-#14854-upstream-release-3.9
Automated cherry pick of #14854: fix(host): get unused port
2022-08-30 11:37:05 +08:00
Zexi Li
760a53ac30 Merge pull request #14853 from wanyaoqi/automated-cherry-pick-of-#14841-upstream-release-3.9
Automated cherry pick of #14841: feat(region,host): qga set user password
2022-08-30 11:36:10 +08:00
Zexi Li
f32e044737 Merge pull request #14868 from ioito/automated-cherry-pick-of-#14867-upstream-release-3.9
Automated cherry pick of #14867: fix(cloudid): support redirect url for qcloud aliyun and aws
2022-08-30 11:35:23 +08:00
Zexi Li
e274120935 Merge pull request #14856 from ioito/automated-cherry-pick-of-#14855-upstream-release-3.9
Automated cherry pick of #14855: fix(region): support enable aws monitor agent
2022-08-30 11:34:47 +08:00
Zexi Li
8c1ca83b23 Merge pull request #14874 from swordqiu/automated-cherry-pick-of-#14873-upstream-release-3.9
Automated cherry pick of #14873: fix: policy cache get/set with atomic ops
2022-08-30 11:33:55 +08:00
Zexi Li
be400a0e6e Merge pull request #14876 from ioito/automated-cherry-pick-of-#14875-upstream-release-3.9
Automated cherry pick of #14875: fix(cloudmon): huawei metric pull
2022-08-30 11:33:27 +08:00
ioito
585fa7bd35 fix(cloudmon): huawei metric pull 2022-08-30 11:11:38 +08:00
Qiu Jian
b1a5ccd153 fix: policy cache get/set with atomic ops 2022-08-30 07:34:04 +08:00
wanyaoqi
404fe5eaf7 fix(host): get unused port
add sync map avoid use the same port repeatedly.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-30 00:01:07 +08:00
ioito
0b3d196bfd fix(region): show huawei cloudprovider with region name 2022-08-29 20:29:49 +08:00
ioito
04902ddd20 fix(cloudid): support redirect url for qcloud aliyun and aws 2022-08-29 19:57:37 +08:00
屈轩
37cc198f81 fix(region): jdcloud misc (#14864) 2022-08-29 18:09:48 +08:00
Jian Qiu
282cfb079f fix: add password info to server vnc info (#14862)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-29 18:09:04 +08:00
Jian Qiu
02359b0bf8 feature: verify user with sms code (#14859)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-29 15:39:29 +08:00
Zexi Li
3a0e3140dc Merge pull request #14852 from swordqiu/automated-cherry-pick-of-#14851-upstream-release-3.9
Automated cherry pick of #14851: feature: auth user with sms code
2022-08-29 10:50:27 +08:00
ioito
82fd9c0a7e fix(region): support enable aws monitor agent 2022-08-29 10:47:38 +08:00
wanyaoqi
1a7cd22bb8 fix: gen copyright
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-28 13:28:54 +08:00
wanyaoqi
07ece80f42 feat(qga): add server-qga-command
usage:
climc server-qga-command <ID> <QGA_RAW_COMMAND>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-28 13:01:12 +08:00
wanyaoqi
95c836bed5 feat(region,host): qga set user password
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-28 13:01:11 +08:00
Qiu Jian
1d75cff5b4 feature: verify user with sms code 2022-08-28 12:30:12 +08:00
wanyaoqi
c524d488a9 fix(region): update host cpu_reserved on reserve cpus (#14848)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-27 06:57:26 +08:00
Zexi Li
dcd06f7c94 Merge pull request #14849 from ioito/automated-cherry-pick-of-#14752-upstream-release-3.9
Automated cherry pick of #14752: refactor(cloudmon): metric collect
2022-08-26 19:40:07 +08:00
ioito
683bc536bd refactor(cloudmon): metric collect 2022-08-26 19:38:53 +08:00
Zexi Li
898e62c42c Merge pull request #14845 from wanyaoqi/automated-cherry-pick-of-#14844-upstream-release-3.9
Automated cherry pick of #14844: feat(region,host): custom usb controller type
2022-08-26 17:10:24 +08:00
wanyaoqi
5e9dafe4a8 feat(region,host): custom usb controller type
support usb controller type: qemu-xhci, usb-ehci.
qemu-xhci is much more virtualization-friendly when compared to EHCI and UHCI.
but guest supports XHCI which should be the case for any operating system
released around 2010 or later.
So sometimes wo need use usb controller type EHCI.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-26 12:32:55 +08:00
Zexi Li
19b2bbc88a Merge pull request #14840 from ioito/automated-cherry-pick-of-#14839-upstream-release-3.9
Automated cherry pick of #14839: fix(region): api version for k8s
2022-08-25 14:27:20 +08:00
ioito
ec3b2c321e fix(region): api version for k8s 2022-08-25 14:26:12 +08:00
Zexi Li
1d775f6f25 Merge pull request #14837 from swordqiu/automated-cherry-pick-of-#14836-upstream-release-3.9
Automated cherry pick of #14836: fix: remove apiversion param from session
2022-08-25 10:25:04 +08:00
Zexi Li
dfeaa43200 Merge pull request #14829 from ioito/automated-cherry-pick-of-#14828-upstream-release-3.9
Automated cherry pick of #14828: fix(region): billing cycle
2022-08-25 10:23:24 +08:00
Zexi Li
bf6a45d9f2 Merge pull request #14832 from ioito/automated-cherry-pick-of-#14831-upstream-release-3.9
Automated cherry pick of #14831: fix(region): k8s purge when deleted
2022-08-25 10:22:53 +08:00
Zexi Li
1fbcfa4867 Merge pull request #14835 from ioito/automated-cherry-pick-of-#14834-upstream-release-3.9
Automated cherry pick of #14834: fix(region): apsara instance id
2022-08-25 10:22:09 +08:00
QIU Jian
3098a7b857 fix: remove apiversion param from session 2022-08-25 10:08:30 +08:00
ioito
c22dcb4c59 fix(region): apsara instance id 2022-08-24 19:40:06 +08:00
ioito
29387cd62e fix(region): k8s purge when deleted 2022-08-24 16:05:04 +08:00
ioito
ccec0e22a8 fix(region): billing cycle 2022-08-24 11:20:33 +08:00
Zexi Li
cf8485e5e6 Merge pull request #14818 from swordqiu/automated-cherry-pick-of-#14817-upstream-release-3.9
Automated cherry pick of #14817: fix(cloudmon): allow disable ping probe
2022-08-22 17:09:33 +08:00
Zexi Li
1bc690d229 Merge pull request #14823 from ioito/automated-cherry-pick-of-#14822-upstream-release-3.9
Automated cherry pick of #14822: fix: cloud_env options
2022-08-22 17:03:41 +08:00
ioito
7e6765f413 fix: cloud_env options 2022-08-19 17:06:49 +08:00
Zexi Li
c9816d0663 Merge pull request #14819 from zexi/choose-storage
fix(region): choose storage when no medium specified
2022-08-19 14:42:22 +08:00
Zexi Li
201ecfc7fe fix(region): choose storage when no medium specified 2022-08-19 14:39:40 +08:00
Qiu Jian
814541dc9e fix(cloudmon): allow disable ping probe 2022-08-19 11:08:13 +08:00
Zexi Li
7934cb2b3d Merge pull request #14812 from swordqiu/automated-cherry-pick-of-#14811-upstream-release-3.9
Automated cherry pick of #14811: fix: host mem_commit_bound typo
2022-08-18 17:14:19 +08:00
Zexi Li
599c423df9 Merge pull request #14815 from gouqi11/automated-cherry-pick-of-#14814-upstream-release-3.9
Automated cherry pick of #14814: order-by-guest-count
2022-08-18 11:10:25 +08:00
mhf
722f835f27 order-by-guest-count 2022-08-18 09:57:20 +08:00
QIU Jian
04285fa2f1 fix: host mem_commit_bound typo 2022-08-18 01:40:40 +08:00
Zexi Li
e5cdd8911f Merge pull request #14808 from ioito/automated-cherry-pick-of-#14807-upstream-release-3.9
Automated cherry pick of #14807: fix(climc): options for network address
2022-08-17 16:16:41 +08:00
ioito
e00921a1e6 fix(climc): options for network address 2022-08-17 16:14:29 +08:00
Zexi Li
f1544348d8 Merge pull request #14802 from swordqiu/automated-cherry-pick-of-#14801-upstream-release-3.9
Automated cherry pick of #14801: feature(apigateway): SP-initiated logout
2022-08-17 10:40:54 +08:00
Zexi Li
2006a1d0b8 Merge pull request #14803 from swordqiu/automated-cherry-pick-of-#14766-upstream-release-3.9
Automated cherry pick of #14766: fix(region): add cloud_env filter options for network address
2022-08-17 10:39:55 +08:00
Zexi Li
a5bbb4d41e Merge pull request #14806 from gouqi11/automated-cherry-pick-of-#14805-upstream-release-3.9
Automated cherry pick of #14805: 阿里云内网connectionStr
2022-08-17 10:39:44 +08:00
Jian Qiu
0ab602ae1d fix: allow start vm on raspberry pi 4 (#14764)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-16 19:04:16 +08:00
mhf
11320a6c40 阿里云内网connectionStr 2022-08-16 14:09:12 +08:00
ioito
fd20c71c21 fix(region): add cloud_env filter options for network address 2022-08-16 01:59:56 +08:00
Qiu Jian
7b61454b32 feature(apigateway): SP-initiated logout 2022-08-16 01:52:08 +08:00
Zexi Li
32089b6a46 Merge pull request #14789 from ioito/automated-cherry-pick-of-#14788-upstream-release-3.9
Automated cherry pick of #14788: fix(region): add interface for metric
2022-08-12 08:48:39 +08:00
Zexi Li
50d353a576 Merge pull request #14783 from ioito/automated-cherry-pick-of-#14782-upstream-release-3.9
Automated cherry pick of #14782: fix(region): huawei lb rule sync
2022-08-12 08:46:23 +08:00
Zexi Li
f85ba93f91 Merge pull request #14793 from ioito/automated-cherry-pick-of-#14792-upstream-release-3.9
Automated cherry pick of #14792: fix(region): secgroup rule sync
2022-08-12 08:45:40 +08:00
Zexi Li
1ddb597aa3 Merge pull request #14796 from gouqi11/automated-cherry-pick-of-#14795-upstream-release-3.9
Automated cherry pick of #14795: 虚拟机、磁盘排序与过滤
2022-08-12 08:45:02 +08:00
mhf
f1d69fe3fa 虚拟机、磁盘排序与过滤 2022-08-11 19:34:13 +08:00
ioito
e4869f6f5f fix(region): secgroup rule sync 2022-08-11 18:33:29 +08:00
wanyaoqi
709eb0e23e feat(region): add virtio vga type support (#14786)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-11 18:00:30 +08:00
ioito
c7657a5e87 fix(region): add interface for metric 2022-08-11 14:29:06 +08:00
ioito
381f3aaa9a fix(region): huawei lb rule sync 2022-08-11 09:48:02 +08:00
Zexi Li
658f9d7303 Merge pull request #14775 from gouqi11/automated-cherry-pick-of-#14770-upstream-release-3.9
Automated cherry pick of #14770: 修改getYears,getMonth顺序bug
2022-08-09 12:08:02 +08:00
Jian Qiu
20b8327c75 fix: no log for storage enable/disable (#14769)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-08-09 08:58:40 +08:00
wanyaoqi
c519e23dbd fix(host): uefi boot firmwaire use pflash options (#14757)
option '-bios OVMF.fd' accidental hang on uefi boot.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-08 22:41:30 +08:00
mhf
31f6abc0dc 修改getYears,getMonth顺序bug 2022-08-08 20:36:53 +08:00
Zexi Li
599617aa20 Merge pull request #14771 from swordqiu/automated-cherry-pick-of-#14767-upstream-release-3.9
Automated cherry pick of #14767: fix(apigateway): edit http redirect code 301 to 302
2022-08-08 19:55:43 +08:00
huangzekeng
5abb23aba9 fix(apigateway): edit http redirect code 301 to 302 2022-08-08 17:46:03 +08:00
Jian Qiu
3f89f26985 fix: opsadmin no log permission (#14760)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-07 11:56:30 +08:00
Zexi Li
bb31d79be0 Merge pull request #14754 from wanyaoqi/automated-cherry-pick-of-#14753-upstream-release-3.9
Automated cherry pick of #14753: fix(region): use virtio replace ide on diskattach
2022-08-05 17:52:22 +08:00
wanyaoqi
ac850697f6 fix(region): use virtio replace ide on diskattach
If disk driver not assign, default use previous disk driver.
Bus windows server can't recognize hot attached 'ide' disk,
use 'virtio' replace 'ide' driver on diskattach.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-05 14:17:44 +08:00
Zexi Li
4a7f8cd30f Merge pull request #14751 from swordqiu/automated-cherry-pick-of-#14750-upstream-release-3.9
Automated cherry pick of #14750: fix: allow dmidecode not working for hostman
2022-08-05 11:41:37 +08:00
Qiu Jian
3aa4be3d66 fix: allow dmidecode not working for hostman 2022-08-05 08:26:08 +08:00
Zexi Li
36eacaf6a2 Merge pull request #14748 from wanyaoqi/automated-cherry-pick-of-#14743-upstream-release-3.9
fix cherry pick of #14743
2022-08-02 11:58:17 +08:00
wanyaoqi
57fe475917 fix cherry pick of #14743
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-02 10:06:57 +08:00
Zexi Li
3cc7a08531 Merge pull request #14733 from ioito/automated-cherry-pick-of-#14732-upstream-release-3.9
Automated cherry pick of #14732: fix(region): 避免缺失department信息导致获取bucket容量失败
2022-08-02 09:51:24 +08:00
Zexi Li
1bfb01368d Merge pull request #14746 from wanyaoqi/automated-cherry-pick-of-#14743-upstream-release-3.9
Automated cherry pick of #14743: fix(region,host): mount fusefs on guest start
2022-08-02 09:49:58 +08:00
Zexi Li
8afa855dfd Merge pull request #14735 from swordqiu/automated-cherry-pick-of-#14734-upstream-release-3.9
Automated cherry pick of #14734: fix: choose host storage without considering storage capacity
2022-08-02 09:47:45 +08:00
Zexi Li
19a817c690 Merge pull request #14738 from swordqiu/automated-cherry-pick-of-#14737-upstream-release-3.9
Automated cherry pick of #14737: fix: climc detach disk ignore keep_disk param
2022-08-02 09:44:48 +08:00
wanyaoqi
2f2c17b666 fix(region,host): mount fusefs on guest start
In case of host shutdown, fusefs will not mount on host reboot.
Add check and mount fusefs on guest start.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-01 13:35:29 +08:00
Zexi Li
936af083db Merge pull request #14744 from zexi/k8s-cluster-domain
fix(region): sync domain_id to kubeserver
2022-08-01 13:08:05 +08:00
Zexi Li
e7f0779150 fix(region): sync domain_id to kubeserver 2022-08-01 10:52:20 +08:00
Qiu Jian
6f6928493f fix: clicm detach disk ignore keep_disk param 2022-07-29 22:39:50 +08:00
Qiu Jian
553ce9952f fix: choose host storage without considering storage capacity 2022-07-29 22:11:37 +08:00
ioito
2fd7030523 fix(region): 避免缺失department信息导致获取bucket容量失败 2022-07-29 20:00:00 +08:00
Zexi Li
375d3a101a Merge pull request #14729 from ioito/automated-cherry-pick-of-#14728-upstream-release-3.9
Automated cherry pick of #14728: fix(region): sync aliyun local disk
2022-07-29 10:12:15 +08:00
Zexi Li
c55f306c7a Merge pull request #14727 from wanyaoqi/automated-cherry-pick-of-#14726-upstream-release-3.9
Automated cherry pick of #14726: fix(host-deployer): mount kvm rootfs
2022-07-29 10:11:45 +08:00
Zexi Li
e2a14e445a Merge pull request #14725 from wanyaoqi/automated-cherry-pick-of-#14724-upstream-release-3.9
Automated cherry pick of #14724: fix(region,host): disk live change storage
2022-07-29 10:11:08 +08:00
Zexi Li
647727c0c2 Merge pull request #14718 from gouqi11/automated-cherry-pick-of-#14713-upstream-release-3.9
Automated cherry pick of #14713: 添加mongodb最大链接数、所用磁盘占比等、、、
2022-07-28 21:19:24 +08:00
Zexi Li
88aa73540c Merge pull request #14713 from gouqi11/add_disk_size
添加mongodb最大链接数、所用磁盘占比等、、、
2022-07-28 21:19:14 +08:00
ioito
e1c42689e5 fix(region): sync aliyun local disk 2022-07-28 20:53:34 +08:00
wanyaoqi
1a041636da fix(host-deployer): mount kvm rootfs
NewAggregate return nil when len(errs) == 0.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-28 20:50:10 +08:00
wanyaoqi
9d2a0f930b fix(region,host): disk change storage
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-28 18:35:48 +08:00
Zexi Li
e42610a39b Merge pull request #14721 from zexi/automated-cherry-pick-of-#14720-upstream-release-3.9
Automated cherry pick of #14720: fix(region): baremetal host ping forbidden
2022-07-28 16:38:02 +08:00
Zexi Li
f2bbe28052 fix(region): baremetal host ping forbidden 2022-07-28 14:47:00 +08:00
Jian Qiu
41ab2d5cd6 remove circle cache (#14717)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-27 22:44:10 +08:00
mhf
4b3bad4811 添加mongodb最大链接数、所用磁盘占比等、、、 2022-07-27 19:08:31 +08:00
mhf
7430561794 添加mongodb最大链接数、所用磁盘占比等、、、 2022-07-27 18:55:34 +08:00
Jian Qiu
9ab8af0fd4 feature: add syslog webservice apis (#14715)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-27 00:19:43 +08:00
wanyaoqi
210fc05e10 chore(build): add memclean pkg required files (#14710)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-26 22:41:12 +08:00
屈轩
301ee9b2af fix(region): vm user data (#14706) 2022-07-26 07:29:08 +08:00
Jian Qiu
843523e210 fix: remove circle ci store artifacts (#14709)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-26 07:28:30 +08:00
Jian Qiu
bc7bb2760b feat(region,host): mem clean after guest exited. (#14704)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Co-authored-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-25 09:17:53 +08:00
Jian Qiu
2c697f9b99 fix: logger syslog format update (#14701)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-23 12:41:01 +08:00
Jian Qiu
889a8fd044 fix: verbose vpcagent sync error (#14699)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-23 11:22:00 +08:00
Zexi Li
340de4a276 fix(monitor): sync cache when migrated successfully (#14696) 2022-07-23 11:21:25 +08:00
屈轩
ca9b9e89ce fix(region): mark cachedimage deleted (#14693) 2022-07-23 11:20:38 +08:00
Zexi Li
420fdd49b4 Merge pull request #14695 from gouqi11/automated-cherry-pick-of-#14645-upstream-release-3.9
Automated cherry pick of #14645: 对mongodb、磁盘添加IPOS字段
2022-07-22 19:10:30 +08:00
mahongfei
30bfff1576 对mongodb、磁盘添加IPOS字段 2022-07-22 10:59:58 +08:00
Jian Qiu
888a41ce6e fix: minor fixes for creating disks from exisint file (#14687)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-20 22:17:02 +08:00
Zexi Li
9f0f01a634 Merge pull request #14689 from ioito/automated-cherry-pick-of-#14688-upstream-release-3.9
Automated cherry pick of #14688: fix(cloudid): 华为云idp sso跳转指定页面
2022-07-20 20:57:13 +08:00
ioito
a050714137 fix(cloudid): 华为云idp sso跳转指定页面 2022-07-20 20:06:10 +08:00
Zexi Li
2da604b8f4 Merge pull request #14681 from ioito/automated-cherry-pick-of-#14680-upstream-release-3.9
Automated cherry pick of #14680: fix(keystone): mobile typo
2022-07-20 11:45:23 +08:00
Zexi Li
589fed1154 Merge pull request #14684 from ioito/automated-cherry-pick-of-#14683-upstream-release-3.9
Automated cherry pick of #14683: fix(monitor): avoid panic
2022-07-20 11:43:15 +08:00
ioito
8adf37fde2 fix(monitor): avoid panic 2022-07-20 10:24:24 +08:00
ioito
f018ee1ef2 fix(keystone): mobile typo 2022-07-20 10:00:53 +08:00
Jian Qiu
c37ee75891 feat(region,host): create disk from existing path (#14679)
Server create disk from existing path.

Usage:

climc server-create --disk storage=<storage>:existing_path=<path> ...
climc disk-create storage=<storage>:existing_path=<path> DISKNAME

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Co-authored-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-19 20:02:20 +08:00
Zexi Li
d307fa9201 feat(climc): k8s grafana db configuration (#14671) 2022-07-19 20:01:45 +08:00
Zexi Li
0e0d63d933 Merge pull request #14676 from ioito/automated-cherry-pick-of-#14675-upstream-release-3.9
Automated cherry pick of #14675: fix(region): 默认用户注入
2022-07-19 17:09:32 +08:00
ioito
7a2bd37d6c fix(region): 默认用户注入 2022-07-19 16:13:02 +08:00
Zexi Li
837e121c64 Merge pull request #14669 from zexi/ansiblebase-image
fix(ansibleserver): update base image to v1.1.1
2022-07-19 11:29:50 +08:00
Zexi Li
8b9d9864a5 fix(ansibleserver): update base image to v1.1.1 2022-07-19 11:25:07 +08:00
Zexi Li
59bd217d68 Merge pull request #14668 from wanyaoqi/automated-cherry-pick-of-#14658-upstream-release-3.9
Automated cherry pick of #14658: fix(host): fix set cgroup unmarshal cpuset
2022-07-19 00:13:55 +08:00
wanyaoqi
e1723d28fa fix(host): fix set cgroup unmarshal cpuset
Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2022-07-18 23:13:00 +08:00
屈轩
fcaeee80a1 fix(cloudid): huawei saml provider (#14665) 2022-07-18 23:04:01 +08:00
Zexi Li
e2c4dd2f5f Merge pull request #14662 from ioito/automated-cherry-pick-of-#14661-upstream-release-3.9
Automated cherry pick of #14661: fix(cloudmon): azure rds metric
2022-07-18 21:02:50 +08:00
Zexi Li
f19ffd3a22 Merge pull request #14660 from ioito/automated-cherry-pick-of-#14659-upstream-release-3.9
Automated cherry pick of #14659: fix(region): azure account read only
2022-07-18 21:00:15 +08:00
ioito
2a4e6056d8 fix(cloudmon): azure rds metric 2022-07-18 17:02:06 +08:00
ioito
3dd6e35f85 fix(region): azure account read only 2022-07-18 15:29:24 +08:00
Zexi Li
21b8d55550 Merge pull request #14656 from zexi/update-bm-base-img
update baremetal base image
2022-07-17 13:42:16 +08:00
Zexi Li
14f602e815 update baremetal base image 2022-07-17 13:39:03 +08:00
屈轩
b629bf8741 fix(region): hw eip associate type (#14652) 2022-07-16 13:40:42 +08:00
Jian Qiu
ded05e140c fix: make sure to call virtual functions (#14654)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-16 13:40:19 +08:00
Zexi Li
a597060f3a feat(baremetal): update base image to support lvm (#14649) 2022-07-16 12:26:24 +08:00
Zexi Li
666b54e4f6 Merge pull request #14647 from ioito/automated-cherry-pick-of-#14646-upstream-release-3.9
Automated cherry pick of #14646: fix(common): pretty error msg for invalid joint filter
2022-07-15 14:59:32 +08:00
Zexi Li
7632566a11 Merge pull request #14628 from wanyaoqi/automated-cherry-pick-of-#14627-upstream-release-3.9
Automated cherry pick of #14627: fix(region): disable ping detect task
2022-07-15 10:52:24 +08:00
Zexi Li
688da39980 Merge pull request #14642 from zexi/commonalert-validate
fix(monitor): onecloud notifiers role_ids validation
2022-07-14 21:27:09 +08:00
ioito
2547c57598 fix(common): pretty error msg for invalid joint filter 2022-07-14 20:33:20 +08:00
lzx
c4a03ff57c fix(monitor): onecloud notifiers role_ids validation 2022-07-14 18:09:39 +08:00
Zexi Li
3b55153b75 Merge pull request #14641 from ioito/automated-cherry-pick-of-#14640-upstream-release-3.9
Automated cherry pick of #14640: fix(region): google request retry
2022-07-14 17:41:52 +08:00
ioito
43ca8f3559 fix(region): google request retry 2022-07-14 17:11:57 +08:00
Zexi Li
7a07c44cc3 fix(monitor): balancer source specified host (#14632) 2022-07-14 12:21:27 +08:00
Jian Qiu
41cd602625 fix: not detect arm physical nics (#14636)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-14 08:52:55 +08:00
Jian Qiu
28570cbbb3 fix: allow set splitable max duration (#14634)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-14 08:51:46 +08:00
Zexi Li
e42934dcfb Merge pull request #14619 from ioito/automated-cherry-pick-of-#14618-upstream-release-3.9
Automated cherry pick of #14618: fix(region): apsara storage type
2022-07-13 18:08:15 +08:00
Zexi Li
a67da57ee5 Merge pull request #14623 from zexi/pprof-handler-prefix
feat(appsrv): pprof handler with prefix
2022-07-13 18:05:56 +08:00
Zexi Li
ccd7738984 Merge pull request #14621 from zexi/monitor-notify-scope
feat(monitor): common alert notify by role scope
2022-07-13 18:05:13 +08:00
Zexi Li
eb918704e6 Merge pull request #14630 from ioito/automated-cherry-pick-of-#14620-upstream-release-3.9
Automated cherry pick of #14620: fix(region): 默认安全组规则同步问题修复
2022-07-13 18:00:18 +08:00
Zexi Li
f133f19b9b feat(monitor): common alert notify by role scope 2022-07-13 17:52:27 +08:00
ioito
448a6edb92 fix(region): 默认安全组规则同步问题修复 2022-07-13 14:13:56 +08:00
wanyaoqi
c003ce9598 fix(region): disable ping detect task
disable ping detect host task on health checker enabled

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-13 11:21:27 +08:00
Jian Qiu
d53bb57bf1 fix: do not migrate memory snapshot in rescue mode (#14626)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-13 07:03:01 +08:00
Zexi Li
f317111343 feat(appsrv): pprof handler with prefix 2022-07-12 21:48:16 +08:00
wanyaoqi
8578c12de8 fix(region,host): host health reconnect etcd add timeout (#14616)
- host: host health reconnect etcd add timeout
- region: request health status use 'GET' method
- region: only migrate running guests on host down
- etcd: keepalive use background context

Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2022-07-12 10:38:28 +08:00
ioito
064bf47bbc fix(region): apsara storage type 2022-07-12 10:34:50 +08:00
Jian Qiu
a9f9180613 fix: misc fixes 20220712 (#14615)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-12 08:01:09 +08:00
屈轩
4b1c69d001 fix(region): huawei prepaid instance params (#14612) 2022-07-12 07:40:56 +08:00
wanyaoqi
896b90f428 feat(host): qemu process add threads name (#14608)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-12 06:59:38 +08:00
Zexi Li
22a9438eb8 feat(log,notify): notification of action log exceed count (#14605) 2022-07-12 06:58:35 +08:00
屈轩
58155a7795 fix(region): apsara bucket acl (#14602) 2022-07-08 21:54:17 +08:00
Jian Qiu
9edc998ea9 fix: recover opslog roles definition (#14604)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-08 21:53:00 +08:00
Zexi Li
2894795644 fix(cloudcommon): record checksum in list (#14599) 2022-07-08 21:48:16 +08:00
wanyaoqi
3f522540de fix(host): prepare guest config on state paused (#14598)
run onGuestPrelaunch on guest state paused

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-08 21:36:02 +08:00
Zexi Li
7e4886f036 fix(cloudcommon): record checksum in list (#14599) 2022-07-08 20:14:15 +08:00
Zexi Li
f9efcf451f Merge pull request #14588 from zexi/bm-serial
fix(baremetal): best effort to disable/enable serial
2022-07-08 11:03:31 +08:00
Jian Qiu
60ed172549 fix: fail to sync metadata table for splitable (#14596)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-08 09:38:07 +08:00
Jian Qiu
2ca075a0c6 fix: remote duplicate enable_remote_executor option (#14595)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-08 09:37:56 +08:00
Zexi Li
f47c4437d4 Merge pull request #14589 from zexi/baremetal-monitor-no-data
fix(monitor): no metrics of baremetal server
2022-07-08 09:36:16 +08:00
Zexi Li
8cc5f0358c fix(monitor): no metrics of baremetal server 2022-07-07 22:40:52 +08:00
Zexi Li
bb18e41696 fix(baremetal): best effort to disable/enable serial 2022-07-07 22:34:02 +08:00
wanyaoqi
242055a434 fix(region, host): misc fix host health checker (#14582)
- hostagent remove option enable host health, default enabled,
  its rely on etcd endpoint register.
- add option auto migrate on host shutdown.
- fix hostman check network is available.
- use hostname instead hostId as etcd key
- init health checker before host instace init.
- refector host_health checker.

Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2022-07-07 10:35:29 +08:00
Zexi Li
ed8f7cc9c1 Merge pull request #14587 from swordqiu/automated-cherry-pick-of-#14586-upstream-release-3.9
Automated cherry pick of #14586: fix: log admin action logs in separate logs
2022-07-07 09:36:49 +08:00
Qiu Jian
294e281476 fix: log admin action logs in separate logs 2022-07-07 07:46:07 +08:00
Zexi Li
4ade2852d6 Merge pull request #14584 from zexi/receiver-mail-len
fix(notify): adjust email width of receiver to 128
2022-07-06 16:10:43 +08:00
Zexi Li
5ede7c4ad2 fix(notify): adjust email width of receiver to 128 2022-07-06 16:08:44 +08:00
Zexi Li
8f77626cfc fix(host): aarch64 cpu info (#14580) 2022-07-05 16:32:49 +08:00
Jian Qiu
bf93fdfda7 fix: update vendor 20220705 (#14579)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-05 16:15:26 +08:00
Zexi Li
13c90c7005 Merge pull request #14574 from zhasm/automated-cherry-pick-of-#14573-upstream-release-3.9
Automated cherry pick of #14573: fix: add timestamp for temp docker container name during compilation
2022-07-04 16:44:08 +08:00
Zhang Dongliang
3d76f91a0d fix: add timestamp for temp docker container name during compilation 2022-07-04 16:40:29 +08:00
Jian Qiu
12c498f1a9 update vendor for sqlchemy update master 20220703 (#14572)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-03 12:51:32 +08:00
wanyaoqi
50e98e6e0f Automated cherry pick of #14558: feat(region,host): refector guests cgroups (#14565)
* feat(region,host): refector guests cgroups

hostagent will create a root group cloudpods.hostagent at init.
guests group under cloudpods.hostagent. Qemu start params add '-S'
option freeze guest at first, after guest set cgroup or other initialize
hostagent will resume guest.

host support reserve cpus. if has reserved cpus, hostagent will create a
group cloudpods.hostagent.reserved, one thing to note is set host
reserved cpus must ensure host no guests running.

climc usage:
  climc host-reserve-cpus --cpus '2-3,32-33' --mems '0-1' \
    --disable-sched-load-balance <IDS>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

* hostman: disable cpuset balancer

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-02 18:01:02 +08:00
屈轩
504335da4f fix(region): 修复同步dns解析不生效问题 (#14561) 2022-07-02 18:00:10 +08:00
屈轩
965e37caa1 fix(region): redis attr and disk iops (#14559) 2022-07-02 17:59:40 +08:00
Jian Qiu
24ff77ba90 update vendor master 20220702 (#14569)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-02 10:32:19 +08:00
Jian Qiu
baca3190e0 fix: convert clickhouse connection string with auth info (#14567)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-02 10:15:00 +08:00
Jian Qiu
762b858eb4 fix: convert clickhouse sqlstr from v1 to v2 (#14554)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-02 07:57:20 +08:00
Jian Qiu
e13475aa1a fix: preserve aws root account name (#14552)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-01 22:36:16 +08:00
Jian Qiu
c3a416463f fix: update vendor master 20220701 (#14564)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-01 21:12:02 +08:00
Jian Qiu
f168e863a0 fix: update vendor 20220701 (#14557)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-01 15:51:03 +08:00
Jian Qiu
eb9449ce91 fix: update vendor master 20220630 (#14550)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-06-30 21:32:30 +08:00
Zexi Li
493675c2dc Merge pull request #14545 from zexi/host-go-build
fix(host): use alpine-build:3.16.0-go-1.18.2-0
2022-06-30 14:23:23 +08:00
Zexi Li
329f410616 fix(host): use alpine-build:3.16.0-go-1.18.2-0 2022-06-30 14:21:16 +08:00
Zexi Li
49d7be2205 Merge pull request #14543 from swordqiu/automated-cherry-pick-of-#14542-upstream-release-3.9
Automated cherry pick of #14542: fix: typo of clickhouse_db
2022-06-29 11:27:03 +08:00
QIU Jian
220565ff61 fix: typo of clickhouse_db 2022-06-29 09:40:06 +08:00
Zexi Li
5aaede1eb3 fix(monitor): cpu usage score (#14539) 2022-06-28 20:34:03 +08:00
Zexi Li
f5e96aa284 Merge pull request #14536 from zexi/alpine-build-error
fix(build): fatal: unsafe repository ('/root/go/src/yunion.io/x/onecl…
2022-06-28 12:13:39 +08:00
Zexi Li
b43e4e1cdf fix(build): fatal: unsafe repository ('/root/go/src/yunion.io/x/onecloud' is owned by someone else) 2022-06-28 11:50:08 +08:00
Jian Qiu
d4fef79e92 Automated cherry pick of #14534: fix: make condition eval compatible with go 1.18 (#14535)
* fix: make condition eval compatible with go 1.18

* fix: update circle-ci image to yunion/centos-build:go-1.18.3-0

* update go,mod go version to 1.18

* update vendor

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-28 00:30:06 +08:00
Zexi Li
ea275f9bf4 Merge pull request #14531 from ioito/automated-cherry-pick-of-#14530-upstream-release-3.9
Automated cherry pick of #14530: fix(region): azure region city
2022-06-27 11:34:55 +08:00
ioito
d1bfc59704 fix(region): azure region city 2022-06-27 11:00:17 +08:00
Jian Qiu
b28cca1809 Automated cherry pick of #14520: fix: update vendor for clickhouse v2 (#14521)
* fix: update vendor for clickhouse v2

* fix: fix go vet

* fix: unreachable codes

* fix: composite literal uses unkeyed fields

* fix: ignore bad syntax for struct tag value

* fix: use make test to do test ci job

* fix: specify circleci resource_class

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-25 15:53:32 +08:00
Jian Qiu
ec5b60616a fix: upgrade go version to 1.16 for build docker images (#14527)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-25 02:21:38 +08:00
wanyaoqi
132169a28e host_health: auto migrate on host shutdown (#14524)
Before this patch, host guests will not migrate on host manual shutdown.
This patch from k8s node status check host still on line, if node status
not ready, region will migrate guests on host.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-06-25 00:05:54 +08:00
Zexi Li
ac52bfbe23 Merge pull request #14518 from zexi/automated-cherry-pick-of-#14517-upstream-release-3.9
Automated cherry pick of #14517: fix(telegraf-raid-plugin): release-1.6.4 image
2022-06-24 01:19:03 +08:00
Zexi Li
0480aaa4bb fix(telegraf-raid-plugin): release-1.6.4 image 2022-06-24 00:36:33 +08:00
Zexi Li
c678ac0a5d Merge pull request #14495 from ioito/automated-cherry-pick-of-#14494-upstream-release-3.9
Automated cherry pick of #14494: fix(region): user data fix
2022-06-23 17:01:28 +08:00
Zexi Li
5345c6054d Merge pull request #14510 from zexi/automated-cherry-pick-of-#14493-upstream-release-3.9
Automated cherry pick of #14493: feat(monitor): VMs of host loadbalance
2022-06-23 17:00:53 +08:00
Zexi Li
220da6f562 Merge pull request #14514 from swordqiu/automated-cherry-pick-of-#14513-upstream-release-3.9
Automated cherry pick of #14513: fix: fail to detect host physical nics
2022-06-23 16:58:17 +08:00
Zexi Li
bee362c54e Merge pull request #14516 from zexi/automated-cherry-pick-of-#14515-upstream-release-3.9
Automated cherry pick of #14515: fix(cloudmon): GetAdminSession by configuration
2022-06-23 16:57:37 +08:00
Zexi Li
a86e9d3d46 fix(cloudmon): GetAdminSession by configuration (#14515) 2022-06-23 16:27:29 +08:00
wanyaoqi
e2a32d853f Automated cherry pick of #14497: fix(region,host): auto migrate on host down (#14512)
* fix(region,host): auto migrate on host down

This patch fix source servers not shutdown on network unreachable.
Restart etcd session add timeout, and shutdown servers add force
option incase host stuck on scriptStop.

Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>

* host_health: add check network available

On host etcd keep alive failed, add check networks is available.
If networks available, may be is the etcd not work, in this case
we will net shutdowns servers and wait for etcd ready.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-06-23 16:26:32 +08:00
Zexi Li
3184713fef fix(cloudmon): GetAdminSession by configuration 2022-06-23 14:59:13 +08:00
Qiu Jian
2a6414fc19 fix: fail to detect host physical nics 2022-06-23 13:33:53 +08:00
Zexi Li
e9d1dc27cc feat(monitor): VMs of host loadbalance 2022-06-23 00:25:23 +08:00
Jian Qiu
170f9f5621 fix: migrate failure for encrypted local vm (#14509)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-06-22 23:10:56 +08:00
Jian Qiu
3a5647172f fix: cleanup tap flows and services for deleted guest and host (#14504)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-22 23:10:23 +08:00
Jian Qiu
3043a3ca89 fix: imageinfo.OsInfo empty (#14506)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-22 23:09:29 +08:00
Jian Qiu
07dca8df6e fix: splitable auto_incremental steps should be more than 1 (in case of HA setup) (#14500)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-22 06:36:20 +08:00
Jian Qiu
899bf67b4d fix: clickhouse set max idle connections (#14498)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-22 06:35:48 +08:00
ioito
85d2985867 fix(region): user data fix 2022-06-21 20:09:01 +08:00
Jian Qiu
bd7677a148 fix(region): not delete groupnetwork when deleting guest (#14489)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-21 11:29:07 +08:00
Jian Qiu
9d7033e0c8 fix: climc create aksk not return access_key (#14484)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-21 11:28:36 +08:00
Jian Qiu
d325ea4baa fix: nas support create from encrypted snapshot (#14482)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-21 11:28:01 +08:00
屈轩
b219a51f1b feat(region): add tablestore sync (#14473) 2022-06-18 10:18:37 +08:00
Zexi Li
426625653d Merge pull request #14486 from swordqiu/automated-cherry-pick-of-#14480-upstream-release-3.9
Automated cherry pick of #14480: fix: scheduler options not updated by OptionManager
2022-06-17 23:33:03 +08:00
Qiu Jian
3d9960bba3 fix: scheduler options not updated by OptionManager 2022-06-17 23:13:53 +08:00
Jian Qiu
aa9e1d8fc1 fix: tap flow check duplicity (#14479)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-16 14:15:53 +08:00
Jian Qiu
dccd99d4d0 Automated cherry pick of #14476: Hotfix/qj tap service mirrorfixes2 (#14477)
* fix: no details for net_tap_flows

* fix: tap support bugfixes

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-16 02:56:27 +08:00
屈轩
aeb98452e2 fix(region): show more statistic info (#14475) 2022-06-16 02:48:36 +08:00
Zexi Li
9cb0c50249 fix(baremetal): EnableSerialConsole of UOS (#14470) 2022-06-16 02:47:10 +08:00
Jian Qiu
d0fb9f10dd feature: support tap service phase 2 (#14467)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-15 05:21:31 +08:00
Zexi Li
de76acbdb9 feat(baremetal): wrap pxe error (#14462) 2022-06-15 04:46:59 +08:00
Zexi Li
6d75537899 feat(climc): server-list --os-arch (#14464) 2022-06-15 04:46:13 +08:00
Jian Qiu
22bc81f173 feature: tap service support (#14460)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-14 17:24:02 +08:00
Jian Qiu
b1c7ffddfd feat(region,host): support multiqueues on vhost network (#14458)
Guest network add attribute num_queues, one is default.
And we can assign queues on guest create, eg:
server-create --net num-queues=4

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Co-authored-by: wanyaoqi <wanyaoqi@baidu.com>
2022-06-14 02:39:24 +08:00
屈轩
00eb08c33c fix(cloudmon): aliyun rds metric debug log (#14445) 2022-06-14 02:39:11 +08:00
屈轩
eaa368652f fix(region): custom user data (#14450) 2022-06-14 01:52:08 +08:00
Jian Qiu
64761dbfe9 fix: fail to update billingresourcecheck_tbl (#14457)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-14 01:50:24 +08:00
屈轩
ae42ac3154 fix(cloudevent): allow disable sync cloudevent (#14447) 2022-06-14 00:46:50 +08:00
屈轩
d4a454eb72 fix(region): eip sync (#14454) 2022-06-14 00:45:52 +08:00
屈轩
d766cedf05 fix(region): aliyun readonly (#14452) 2022-06-14 00:44:42 +08:00
Jian Qiu
2994b2b42f fix: add CreateByInsertOrUpdate flag (#14443)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-13 02:27:34 +08:00
Jian Qiu
e7b4ddd895 fix: keystoen cronman use uninitialized admin token (#14440)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-13 02:27:00 +08:00
Jian Qiu
096019508e fix: splitable add index should modify base spec (#14435)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-12 20:34:48 +08:00
Zexi Li
99b6737578 Merge pull request #14432 from swordqiu/automated-cherry-pick-of-#14431-upstream-release-3.9
Automated cherry pick of #14431: fix: move hostoptions of qemu_version and host_cpu_passthrough to base options
2022-06-11 19:35:26 +08:00
Qiu Jian
8c1c7877f7 fix: move hostoptions of qemu_version and host_cpu_passthrough to base options 2022-06-11 19:25:45 +08:00
Jian Qiu
fa85a5aa18 fix: manage_ntp_configuration not effective (#14427)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-11 19:16:57 +08:00
Jian Qiu
be035c6146 update vendor 20220611 (#14430)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-11 19:16:29 +08:00
Zexi Li
0481d4ac0c fix(baremetal): storcli set sysblock rotational of SSD logical volume (#14420) 2022-06-10 18:22:01 +08:00
Zexi Li
85e67cc4ac Merge pull request #14422 from zexi/automated-cherry-pick-of-#14421-upstream-release-3.9
Automated cherry pick of #14421: fix(host): Telegraf 1.19.2 conf
2022-06-09 15:12:16 +08:00
Zexi Li
bf1c0164c6 fix(host): Telegraf 1.19.2 conf 2022-06-09 12:57:01 +08:00
Zexi Li
971970b16d Merge pull request #14418 from zexi/sched-uefi-image
fix(scheduler): check if chached image supports UEFI
2022-06-08 16:57:41 +08:00
Zexi Li
fc6d86e6e1 fix(scheduler): check if chached image supports UEFI 2022-06-08 16:45:15 +08:00
Zexi Li
a6b4618efc Merge pull request #14416 from ioito/automated-cherry-pick-of-#14415-upstream-release-3.9
Automated cherry pick of #14415: fix(host): ceph pool size
2022-06-07 21:53:35 +08:00
ioito
00a82535e7 fix(host): ceph pool size 2022-06-07 17:09:30 +08:00
Zexi Li
1790362ca3 Merge pull request #14414 from ioito/automated-cherry-pick-of-#14413-upstream-release-3.9
Automated cherry pick of #14413: fix(climc): support proxy for climc
2022-06-07 07:57:16 +08:00
Zexi Li
eddee946f5 Merge pull request #14411 from ioito/automated-cherry-pick-of-#14410-upstream-release-3.9
Automated cherry pick of #14410: fix(region): api doc replace tab to space
2022-06-06 14:37:52 +08:00
ioito
1cae93c1e8 fix(climc): support proxy for climc 2022-06-06 14:19:50 +08:00
ioito
a3d9932efb fix(region): api doc replace tab to space 2022-06-06 11:31:35 +08:00
Zexi Li
2d255b3bdb Merge pull request #14409 from swordqiu/automated-cherry-pick-of-#14406-upstream-release-3.9
Automated cherry pick of #14406: feature: support apigatewa type of endpoint
2022-06-05 22:27:28 +08:00
Qiu Jian
ce92c90ed2 feature: support apigatewa type of endpoint 2022-06-05 19:01:06 +08:00
Jian Qiu
bce7d6b2ca update vendor 3.9 20220605 (#14408)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-05 18:36:40 +08:00
Jian Qiu
2a9c2dc3d6 fix(region):资源统计bug,已使用资源统计包含裸金属资源,总数未包含,导致资源使用率统计异常。 guestUsage统计中排除掉裸金属资源,hypervisors.Delete(api.HYPERVISOR_CONTAINER, api.HYPERVISOR_BAREMETAL) (#14402)
Co-authored-by: chenxiaochen <chenxiaochen@bonc.com.cn>
2022-06-05 18:10:45 +08:00
Jian Qiu
70dad62096 update vendor 20220604 3.9 (#14400)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-04 23:41:43 +08:00
Jian Qiu
300fb781cb feature: fetch options of an application via api (#14397)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-04 10:33:20 +08:00
Zexi Li
3388c86694 fix(host): openvswitch service name on UOS (#14393) 2022-06-03 01:50:16 +08:00
屈轩
dcb7401801 fix(region): eip allocate (#14390) 2022-06-03 01:49:48 +08:00
Jian Qiu
63fe172906 feat(host,region): suport live change disk storage (#14363)
Guest start drive mirror job to copy full disk to target, after drive
mirror job ready, guest reopen target disk to replace source disk.
Qemu must support block reopen image feature.

Supported storage: local, ceph

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Co-authored-by: wanyaoqi <d3lx.yq@gmail.com>
2022-06-03 01:48:04 +08:00
Zexi Li
2aa4785cc5 Merge pull request #14388 from ioito/automated-cherry-pick-of-#14387-upstream-release-3.9
Automated cherry pick of #14387: fix(region): apsara bucket limit size
2022-06-02 16:31:59 +08:00
Zexi Li
f9eeca1cd7 Merge pull request #14386 from ioito/automated-cherry-pick-of-#14385-upstream-release-3.9
Automated cherry pick of #14385: optimize(region): add more image dist
2022-06-02 16:31:28 +08:00
Zexi Li
00313d8e15 Merge pull request #14384 from ioito/automated-cherry-pick-of-#14383-upstream-release-3.9
Automated cherry pick of #14383: fix(region): api doc
2022-06-02 16:25:00 +08:00
ioito
7c1d0c483a optimize(region): add more image dist 2022-06-02 16:20:57 +08:00
ioito
0fe882fe1c fix(region): apsara bucket limit size 2022-06-02 16:07:50 +08:00
ioito
3d7343e18d fix(region): api doc 2022-06-02 15:40:03 +08:00
Zexi Li
c1dae4b25d Merge pull request #14373 from ioito/automated-cherry-pick-of-#14372-upstream-release-3.9
Automated cherry pick of #14372: fix(region): 避免加锁导致设置标签超时
2022-06-02 10:20:47 +08:00
Zexi Li
c34aee5443 Merge pull request #14378 from ioito/automated-cherry-pick-of-#14377-upstream-release-3.9
Automated cherry pick of #14377: fix(region): disk save task
2022-06-02 10:20:09 +08:00
Zexi Li
7fb88d0dfa Merge pull request #14381 from ioito/automated-cherry-pick-of-#14380-upstream-release-3.9
Automated cherry pick of #14380: fix(region): clean vm misc options
2022-06-02 10:18:59 +08:00
ioito
2ea4b86ee3 fix(region): clean vm misc options 2022-06-02 10:12:08 +08:00
Zexi Li
3bb788e673 Merge pull request #14376 from swordqiu/automated-cherry-pick-of-#14375-upstream-release-3.9
Automated cherry pick of #14375: fix: remove virtio-blk num-queues param
2022-06-01 23:49:02 +08:00
ioito
62dfe45b7a fix(region): disk save task 2022-06-01 15:48:04 +08:00
Qiu Jian
0cd6c6b658 fix: remove virtio-blk num-queues param 2022-06-01 12:28:01 +08:00
ioito
0e0c513542 fix(region): 避免加锁导致设置标签超时 2022-06-01 12:01:39 +08:00
Zexi Li
0ddc9792da Merge pull request #14365 from ioito/automated-cherry-pick-of-#14364-upstream-release-3.9
Automated cherry pick of #14364: fix(region): aliyun bucket access url
2022-06-01 09:39:35 +08:00
Zexi Li
48ce3f43a1 Merge pull request #14368 from swordqiu/hotfix/qj-disable-disk-io-multiqueue
Hotfix/qj disable disk io multiqueue
2022-06-01 09:38:26 +08:00
Qiu Jian
7644641143 add options to set disk driver and cachemode 2022-05-31 20:55:53 +08:00
Qiu Jian
53311dbd03 fix: disable disk multi-queue 2022-05-31 20:45:07 +08:00
Zexi Li
b0d6318ace Merge pull request #14362 from swordqiu/automated-cherry-pick-of-#14359-upstream-release-3.9
Automated cherry pick of #14359: fix: wrong hypervisor in kvm vnc info
2022-05-31 11:04:03 +08:00
ioito
28b414c282 fix(region): aliyun bucket access url 2022-05-31 10:50:35 +08:00
Jian Qiu
c39fda77c5 fix: more detailed log for server hange_config (#14360)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-31 09:43:01 +08:00
Qiu Jian
ca381f1ce4 fix: wrong hypervisor in kvm vnc info 2022-05-31 01:09:44 +08:00
Zexi Li
f8b7b92f38 Merge pull request #14356 from swordqiu/automated-cherry-pick-of-#14344-upstream-release-3.9
Automated cherry pick of #14344: fix: allow set pagination order
2022-05-30 23:51:44 +08:00
Zexi Li
f13d04b229 Merge pull request #14349 from ioito/automated-cherry-pick-of-#14348-upstream-release-3.9
Automated cherry pick of #14348: fix(region): public cloud user data
2022-05-30 23:48:23 +08:00
Zexi Li
dfd0b32a5f Merge pull request #14355 from swordqiu/hotfix/qj-update-vendor-3.9-20220530
update vendor 3.9 20220530
2022-05-30 23:44:43 +08:00
Zexi Li
77f37ea0c2 Merge pull request #14352 from ioito/automated-cherry-pick-of-#14351-upstream-release-3.9
Automated cherry pick of #14351: fix(region): aliyun disk external id
2022-05-30 23:43:35 +08:00
Qiu Jian
1a043c7958 fix: allow set pagination order 2022-05-30 23:41:54 +08:00
Zexi Li
3e803aed1a Merge pull request #14346 from swordqiu/automated-cherry-pick-of-#14345-upstream-release-3.9
Automated cherry pick of #14345: fix: recover host status if maintain an empty host
2022-05-30 23:41:07 +08:00
Qiu Jian
ffb86dfca2 update vendor 3.9 20220530 2022-05-30 21:30:57 +08:00
ioito
936771a7eb fix(region): aliyun disk external id 2022-05-30 16:03:31 +08:00
ioito
3087bf44e6 fix(region): public cloud user data 2022-05-30 14:53:39 +08:00
Qiu Jian
3e9c83e7f1 fix: recover host status if maintain an empty host 2022-05-30 14:42:22 +08:00
Jian Qiu
9c88fe5bb6 fix: backup pack missing encrypt_key_id (#14337)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-29 10:12:58 +08:00
Jian Qiu
c1bac685a1 fix: server associate eip check (#14340)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-29 10:12:21 +08:00
Jian Qiu
13cab82e50 fix: hide server rtc_change event log (#14335)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-28 09:07:34 +08:00
Zexi Li
f72699d691 Merge pull request #14331 from ioito/automated-cherry-pick-of-#14330-upstream-release-3.9
Automated cherry pick of #14330: fix(region): huawei lb eip sync
2022-05-27 02:30:12 +08:00
Zexi Li
06f2f0d553 Merge pull request #14329 from ioito/automated-cherry-pick-of-#14328-upstream-release-3.9
Automated cherry pick of #14328: fix(region): apsara bucket limit
2022-05-27 02:29:38 +08:00
ioito
0c84e1cc02 fix(region): huawei lb eip sync 2022-05-26 19:57:10 +08:00
ioito
b5a0f62841 fix(region): apsara bucket limit 2022-05-26 19:18:28 +08:00
Zexi Li
1622eb010b Merge pull request #14319 from swordqiu/automated-cherry-pick-of-#14318-upstream-release-3.9
Automated cherry pick of #14318: fix: make server is_daemon an admin attribute
2022-05-26 12:13:44 +08:00
Qiu Jian
268f7e8436 fix: make server is_daemon an admin attribute 2022-05-26 08:14:53 +08:00
Zexi Li
a29f9e782d Merge pull request #14313 from ioito/automated-cherry-pick-of-#14312-upstream-release-3.9
Automated cherry pick of #14312: fix(region): aliyun oss https
2022-05-25 18:41:15 +08:00
ioito
6075b8464c fix(region): aliyun oss https 2022-05-25 16:54:08 +08:00
Zexi Li
c1cc7672b6 Merge pull request #14309 from ioito/automated-cherry-pick-of-#14308-upstream-release-3.9
Automated cherry pick of #14308: fix(region): azure disk status
2022-05-25 14:44:54 +08:00
Zexi Li
bc91525232 Merge pull request #14311 from ioito/automated-cherry-pick-of-#14310-upstream-release-3.9
Automated cherry pick of #14310: fix(region): eip update
2022-05-25 14:44:35 +08:00
ioito
6733570353 fix(region): eip update 2022-05-25 12:17:57 +08:00
ioito
b3fd54e964 fix(region): azure disk status 2022-05-25 11:45:13 +08:00
Zexi Li
396db51c31 Merge pull request #14306 from ioito/automated-cherry-pick-of-#14300-upstream-release-3.9
Automated cherry pick of #14300: fix(region): eip associate type
2022-05-25 11:16:27 +08:00
ioito
3da67e2055 fix(region): eip associate type 2022-05-25 10:17:42 +08:00
Zexi Li
34dd8e27bf Merge pull request #14296 from ioito/automated-cherry-pick-of-#14295-upstream-release-3.9
Automated cherry pick of #14295: fix(region): account probe lock
2022-05-25 10:17:20 +08:00
Zexi Li
e901a62ea4 Merge pull request #14294 from zexi/automated-cherry-pick-of-#14293-upstream-release-3.9
Automated cherry pick of #14293: feat(climc): feature configuration
2022-05-25 10:09:38 +08:00
Zexi Li
be5eb40de8 Merge pull request #14305 from swordqiu/automated-cherry-pick-of-#14304-upstream-release-3.9
Automated cherry pick of #14304: feature: daemon server support
2022-05-25 10:03:44 +08:00
Zexi Li
63d6d325e2 feat(climc): feature configuration 2022-05-25 10:01:48 +08:00
Qiu Jian
48350323f8 feature: daemon server support 2022-05-25 08:41:13 +08:00
Zexi Li
eee02b8a68 Merge pull request #14302 from ioito/automated-cherry-pick-of-#14301-upstream-release-3.9
Automated cherry pick of #14301: fix(region): huawei object temp url
2022-05-24 18:27:12 +08:00
ioito
faecd33aee fix(region): huawei object temp url 2022-05-24 16:27:27 +08:00
Zexi Li
9d81b63ccf Merge pull request #14298 from ioito/automated-cherry-pick-of-#14297-upstream-release-3.9
Automated cherry pick of #14297: fix(region): avoid panic with qcloud sync
2022-05-24 14:17:01 +08:00
ioito
e4a5a30ed4 fix(region): avoid panic with qcloud sync 2022-05-24 11:38:46 +08:00
ioito
ba6182db98 fix(region): account probe lock 2022-05-24 11:30:57 +08:00
Zexi Li
bc7be4a64e Merge pull request #14292 from ioito/automated-cherry-pick-of-#14291-upstream-release-3.9
Automated cherry pick of #14291: fix(region): input apsara organization id
2022-05-23 19:27:36 +08:00
ioito
124751949e fix(region): input apsara organization id 2022-05-23 18:50:57 +08:00
Zexi Li
02348c46f3 Merge pull request #14289 from ioito/automated-cherry-pick-of-#14288-upstream-release-3.9
Automated cherry pick of #14288: fix(host): optimized disk resize
2022-05-23 14:51:53 +08:00
ioito
443a7a5923 fix(host): optimized disk resize 2022-05-23 11:02:26 +08:00
Zexi Li
e2856c35f4 Merge pull request #14284 from swordqiu/automated-cherry-pick-of-#14283-upstream-release-3.9
Automated cherry pick of #14283: fix: fail to recogonize vmdk image
2022-05-22 22:01:52 +08:00
Zexi Li
8d083a57c4 Merge pull request #14281 from swordqiu/automated-cherry-pick-of-#14280-upstream-release-3.9
Automated cherry pick of #14280: fix: force invalidate cached image early
2022-05-22 22:01:05 +08:00
屈轩
4985d69a7f fix(host-deployer): ignore root fs mount error (#14286) 2022-05-22 17:19:03 +08:00
Qiu Jian
7574722120 fix: fail to recogonize vmdk image 2022-05-21 17:58:44 +08:00
Qiu Jian
c0cb70d35b fix: force invalidate cached image early 2022-05-21 02:55:38 +08:00
Zexi Li
2098ca1d00 Merge pull request #14279 from ioito/automated-cherry-pick-of-#14278-upstream-release-3.9
Automated cherry pick of #14278: fix(cloudmon): report influxdb data
2022-05-20 19:13:32 +08:00
ioito
07ef57f823 fix(monitor): vm_disk userd_percent 2022-05-20 18:35:48 +08:00
ioito
37a6982f5c fix(cloudmon): report influxdb data 2022-05-20 18:35:48 +08:00
Zexi Li
0d4b9009f8 Merge pull request #14276 from swordqiu/automated-cherry-pick-of-#14275-upstream-release-3.9
Automated cherry pick of #14275: fix: fail to update isolated_devices of type USB
2022-05-19 10:03:31 +08:00
Qiu Jian
7b523ae500 fix: fail to update isolated_devices of type USB 2022-05-19 02:04:21 +08:00
屈轩
084f92996f fix(region): add log for set expire time (#14267) 2022-05-19 01:22:43 +08:00
Zexi Li
0e5257138f fix(region): GPU device type update supported (#14270) 2022-05-19 01:21:43 +08:00
Zexi Li
fa1644134e Merge pull request #14273 from ioito/automated-cherry-pick-of-#14272-upstream-release-3.9
Automated cherry pick of #14272: fix(region): check is gpu by server sku
2022-05-18 23:11:43 +08:00
ioito
93eaf16d13 fix(region): check is gpu by server sku 2022-05-18 21:24:27 +08:00
屈轩
3803cd603b fix(common): data resp (#14265) 2022-05-17 16:37:04 +08:00
Zexi Li
1bfe1d83cd Merge pull request #14263 from swordqiu/automated-cherry-pick-of-#14262-upstream-release-3.9
Automated cherry pick of #14262: fix: kvm resume should be treated as start
2022-05-16 10:50:05 +08:00
Zexi Li
dfe0d9edc1 Merge pull request #14261 from swordqiu/automated-cherry-pick-of-#14260-upstream-release-3.9
Automated cherry pick of #14260: fix: adjust logger events
2022-05-16 10:34:32 +08:00
Qiu Jian
d2dede18f2 fix: kvm resume should be treated as start 2022-05-16 02:20:10 +08:00
Qiu Jian
2602fea916 fix: adjust logger events 2022-05-16 01:53:38 +08:00
Jian Qiu
e74f6ec59e feat(host): create disk from encrypted snapshot (#14258)
support create disk from encrypted snapshot, new disk encrypt info must
same with snapshot, and should used with libqemuio2.12.

area: host,host-image,fetcherfs
Signed-off-by: wanyaoqi <wanyaoqi1995@163.com>

Co-authored-by: wanyaoqi <wanyaoqi1995@163.com>
2022-05-16 00:34:17 +08:00
Jian Qiu
2c5601dcd5 fix: host ping piggyback storage info (#14259)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-16 00:34:05 +08:00
Zexi Li
df2cf4222b Merge pull request #14254 from swordqiu/automated-cherry-pick-of-#14249-upstream-release-3.9
Automated cherry pick of #14249: fix(apigateway): 修复oidc认证中,返回的id_token为空
2022-05-15 15:08:55 +08:00
huangzekeng
0d51c655c9 fix(apigateway): 修复oidc认证中,返回的id_token为空
修复odic认证返回的id_token为空
2022-05-13 21:52:11 +08:00
Zexi Li
65699fd86e Merge pull request #14248 from zexi/automated-cherry-pick-of-#14246-upstream-release-3.9
Automated cherry pick of #14246: feat(climc): SERVERIDS of devtool batch apply
2022-05-13 17:35:48 +08:00
屈轩
23322273b7 fix(reigon): ecloud sign time (#14251) 2022-05-13 17:28:26 +08:00
Zexi Li
5cae5af87e Merge pull request #14241 from ioito/automated-cherry-pick-of-#14240-upstream-release-3.9
Automated cherry pick of #14240: fix(region): secgroup guest cnt
2022-05-13 15:23:33 +08:00
Zexi Li
4e08d1f911 feat(climc): SERVERIDS of devtool batch apply 2022-05-13 13:41:52 +08:00
Zexi Li
65326923bf Merge pull request #14244 from swordqiu/automated-cherry-pick-of-#14243-upstream-release-3.9
Automated cherry pick of #14243: fix: set procutils execution LANG env
2022-05-13 10:05:12 +08:00
Qiu Jian
aaad00bfd0 fix: set procutils execution LANG env 2022-05-12 19:03:53 +08:00
ioito
65125c8dcf fix(region): secgroup guest cnt 2022-05-12 18:03:33 +08:00
Zexi Li
1227bd28b0 fix(region): get spec of baremetal in ready status (#14234) 2022-05-11 08:29:50 +08:00
Zexi Li
91e5679fe0 fix(cloudcommon): update splittable checksum (#14231) 2022-05-11 08:29:12 +08:00
Zexi Li
5bc9bb75e0 Merge pull request #14239 from ioito/automated-cherry-pick-of-#14238-upstream-release-3.9
Automated cherry pick of #14238: fix(region): json name
2022-05-10 16:59:34 +08:00
ioito
a1ae4f6b84 fix(region): json name 2022-05-10 16:56:56 +08:00
Zexi Li
55dfe366fb Merge pull request #14237 from ioito/automated-cherry-pick-of-#14236-upstream-release-3.9
Automated cherry pick of #14236: fix(region): return storage info with topology
2022-05-10 14:02:09 +08:00
ioito
3dd861eccb fix(region): return storage info with topology 2022-05-10 13:55:45 +08:00
Zexi Li
f828be614a Merge pull request #14226 from ioito/automated-cherry-pick-of-#14225-upstream-release-3.9
Automated cherry pick of #14225: fix(regoon): search rds by ip addr
2022-05-10 09:18:30 +08:00
Zexi Li
c1544714c8 Merge pull request #14230 from swordqiu/automated-cherry-pick-of-#14229-upstream-release-3.9
Automated cherry pick of #14229: fix: adjust opsadmin and secadmin policy
2022-05-10 09:18:06 +08:00
Zexi Li
6f8b39e87b Merge pull request #14228 from swordqiu/automated-cherry-pick-of-#14227-upstream-release-3.9
Automated cherry pick of #14227: fix: host sync wire class metadata
2022-05-10 09:17:43 +08:00
Qiu Jian
cfc52229f9 fix: adjust opsadmin and secadmin policy 2022-05-10 00:18:52 +08:00
Qiu Jian
e98e58c5f0 fix: host sync wire class metadata 2022-05-09 23:04:24 +08:00
ioito
24064b5c06 fix(regoon): search rds by ip addr 2022-05-09 22:18:25 +08:00
Jian Qiu
202c3b3f9f fix: adjust syslog format (#14224)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-09 08:01:20 +08:00
Jian Qiu
633b30326d fix: ignore no partition error for initial deployment (#14221)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-08 23:42:51 +08:00
Jian Qiu
27b7c6b617 fix: adjust secadmin and opsadmin policies (#14219)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-08 23:42:16 +08:00
屈轩
ebf671af8f fix(region): remove metadata (#14215) 2022-05-07 20:35:16 +08:00
yunion-ci-robot
ebb4bd87b4 Merge pull request #14211 from zexi/server-usb-filter
Server usb filter
2022-05-07 19:34:25 +08:00
Zexi Li
6763716c52 fix(region): server usb filter 2022-05-07 19:21:49 +08:00
Jian Qiu
71d6f9a448 fix: adjust opsadmin policy (#14208)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-07 01:19:43 +08:00
Zexi Li
4f6d1e5422 fix(build): model api gen updated (#14206) 2022-05-06 23:22:27 +08:00
Zexi Li
361941aee7 Merge pull request #14204 from ioito/automated-cherry-pick-of-#14203-upstream-release-3.9
Automated cherry pick of #14203: fix(region): rds ip addr
2022-05-05 20:10:01 +08:00
Zexi Li
e6a5b3588f Merge pull request #14202 from ioito/automated-cherry-pick-of-#14201-upstream-release-3.9
Automated cherry pick of #14201: fix(region): apsara bucket capacity
2022-05-05 20:09:13 +08:00
ioito
9241c500fc fix(region): apsara bucket capacity 2022-05-05 18:44:35 +08:00
ioito
6d5fc745f0 fix(region): rds ip addr 2022-05-05 18:42:21 +08:00
Jian Qiu
c22f333b00 fix: backup recover failure (#14200)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-04 23:28:17 +08:00
Jian Qiu
4928252b53 fix: disk reset encrypted disks (#14196)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-04 23:08:59 +08:00
Jian Qiu
194ef77ee8 fix: add more deetails for sub-snapshot/sub-backup/sub-images (#14198)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-04 23:08:28 +08:00
Jian Qiu
1c0dd752e2 fix: live migrate encrypted server (#14193)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-04 01:19:33 +08:00
Jian Qiu
2e653f48ce Automated cherry pick of #14191: Feature/qj encryption support snapshot backup (#14192)
* feature: encryption support snapshot and backup

* fix: encrypted snapshot create

* fix issues with backup encryption

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-03 11:40:12 +08:00
Jian Qiu
bad3b197ba fix: save guest image with empty partition fail (#14190)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-02 16:29:39 +08:00
Jian Qiu
cd19a9bb04 fix: deploy encrypted disk (#14188)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-02 09:07:15 +08:00
Jian Qiu
082f153b49 fix: add image set class metadata climc (#14186)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-02 09:06:51 +08:00
Jian Qiu
f76a6a3de9 fix: adaptively enable NetworkManager (#14184)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-02 09:06:28 +08:00
Zexi Li
4e88127181 fix(baremetal): try clear jbod devices before create (#14178) 2022-05-01 21:35:53 +08:00
Jian Qiu
facfe4a096 fix: clean temp server when migrate prepare dest fail (#14175)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-29 08:11:03 +08:00
Jian Qiu
7c222fc636 fix(host): fix get disk pci addr (#14172)
Fix hot-plug virtio disk failed.
after add usb and rng deivce, available pci address should update.

Signed-off-by: wanyaoqi <wanyaoqi1995@163.com>

Co-authored-by: wanyaoqi <wanyaoqi1995@163.com>
2022-04-29 02:46:09 +08:00
Rain Zheng
0643d0cda6 Automated cherry pick of #14062: Windows monitor agent (#14063)
* feat: add pywinrm to ansibleserver-base

* feat(devtool,ansibleserver): support install monitor agent to windows
2022-04-29 00:38:39 +08:00
Zexi Li
aa5db88d3d Merge pull request #14166 from ioito/automated-cherry-pick-of-#14165-upstream-release-3.9
Automated cherry pick of #14165: fix(region): qcloud account read only
2022-04-28 20:46:37 +08:00
Zexi Li
81079fcf62 Merge pull request #14170 from ioito/automated-cherry-pick-of-#14169-upstream-release-3.9
Automated cherry pick of #14169: fix(region): remove account sync pre check
2022-04-28 20:43:49 +08:00
ioito
04b9dd9489 fix(region): remove account sync pre check 2022-04-28 20:41:14 +08:00
Jian Qiu
9e28180c01 fix: cleanup s3 mount directory before glance start (#14168)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-28 16:50:09 +08:00
ioito
96270ef1c4 fix(region): qcloud account read only 2022-04-28 14:46:15 +08:00
Zexi Li
3db70ae86d Merge pull request #14161 from swordqiu/automated-cherry-pick-of-#14160-upstream-release-3.9
Automated cherry pick of #14160: fix: logclient i18n for backup ops
2022-04-28 09:45:57 +08:00
Zexi Li
bafca6e2fc Merge pull request #14157 from swordqiu/automated-cherry-pick-of-#14156-upstream-release-3.9
Automated cherry pick of #14156: fix: apigateway sends encrypt_passwd to indicate passwd encryption
2022-04-28 09:45:46 +08:00
Zexi Li
54ef5cf130 Merge pull request #14163 from swordqiu/automated-cherry-pick-of-#14162-upstream-release-3.9
Automated cherry pick of #14162: fix: guest vdi spec override image spec
2022-04-28 09:44:51 +08:00
Zexi Li
c08ba48863 fix(baremetal): disable use perccli temporarily (#14145) 2022-04-28 09:42:29 +08:00
Jian Qiu
d258d9b6c7 fix: mount disk readonly (#14164)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-28 09:34:50 +08:00
Qiu Jian
4cc1bd9eec fix: guest vdi spec override image spec 2022-04-27 20:58:19 +08:00
Qiu Jian
6f9d26b603 fix: logclient i18n for backup ops 2022-04-27 20:44:04 +08:00
Zexi Li
14bbe5f43c Merge pull request #14159 from swordqiu/automated-cherry-pick-of-#14158-upstream-release-3.9
Automated cherry pick of #14158: fix: glance convert vmdk fail
2022-04-27 14:33:51 +08:00
Qiu Jian
41308b1884 fix: glance convert vmdk fail 2022-04-27 14:05:50 +08:00
Qiu Jian
7fd32926ce fix: apigateway sends encrypt_passwd to indicate passwd encryption 2022-04-27 13:05:17 +08:00
Zexi Li
f1cb546b76 Merge pull request #14138 from ioito/automated-cherry-pick-of-#14135-upstream-release-3.9
Automated cherry pick of #14135: fix(region): account probe time
2022-04-27 08:58:33 +08:00
Zexi Li
49c6a911a8 Merge pull request #14137 from ioito/automated-cherry-pick-of-#14136-upstream-release-3.9
Automated cherry pick of #14136: fix(region): ipv6 gateway purge
2022-04-26 10:24:43 +08:00
Zexi Li
f24187ec41 Merge pull request #14140 from ioito/automated-cherry-pick-of-#14139-upstream-release-3.9
Automated cherry pick of #14139: fix(region): openstack vm nic
2022-04-26 10:21:33 +08:00
Zexi Li
94515b7493 fix(baremetal): bond network not config and chage not found (#14148) 2022-04-26 02:49:54 +08:00
Zexi Li
5f91fbd917 Merge pull request #14142 from swordqiu/automated-cherry-pick-of-#14141-upstream-release-3.9
Automated cherry pick of #14141: fix: fail to delete storages with fake-deleted snapshots
2022-04-26 02:25:49 +08:00
Qiu Jian
077f7ab32a fix: fail to delete storages with fake-deleted snapshots 2022-04-25 22:44:44 +08:00
ioito
ab65271ecd fix(region): openstack vm nic 2022-04-25 16:59:22 +08:00
ioito
7204f92e6d fix(region): account probe time 2022-04-25 14:35:48 +08:00
ioito
e7f3ea9e2e fix(region): ipv6 gateway purge 2022-04-25 14:30:43 +08:00
Zexi Li
d92f702ee6 Merge pull request #14134 from ioito/automated-cherry-pick-of-#14133-upstream-release-3.9
Automated cherry pick of #14133: fix(region): hw request api
2022-04-24 19:21:55 +08:00
Zexi Li
b5b8a50f08 Merge pull request #14131 from ioito/automated-cherry-pick-of-#14130-upstream-release-3.9
Automated cherry pick of #14130: fix(region): vdi check
2022-04-24 19:20:25 +08:00
ioito
dcad355462 fix(region): hw request api 2022-04-24 17:54:38 +08:00
ioito
7b3f3ce656 fix(region): vdi check 2022-04-24 17:12:30 +08:00
Zexi Li
b1a86f59a1 Merge pull request #14125 from ioito/automated-cherry-pick-of-#14120-upstream-release-3.9
Automated cherry pick of #14120: fix(host): mount disk error
2022-04-24 15:05:25 +08:00
Zexi Li
b4db10a6d4 Merge pull request #14127 from zexi/automated-cherry-pick-of-#14123-upstream-release-3.9
Automated cherry pick of #14123: fix(region): make access_ip of host updatable
2022-04-24 14:29:35 +08:00
Zexi Li
24974a0495 fix(region): make access_ip of host updatable 2022-04-24 11:52:57 +08:00
ioito
33b3a63aa3 fix(host): mount disk error 2022-04-24 11:48:19 +08:00
Zexi Li
0f380935e1 Merge pull request #14122 from zexi/automated-cherry-pick-of-#14121-upstream-release-3.9
Automated cherry pick of #14121: fix(webconsole): record command input and ps1
2022-04-24 10:26:21 +08:00
Zexi Li
06e54c9988 fix(webconsole): record command input and ps1 2022-04-23 23:27:23 +08:00
Jian Qiu
2ad8d75482 feature: uos guest support (#14118)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-23 19:22:19 +08:00
Jian Qiu
8ad5da9eb2 fix: imags peripherals missing id (#14115)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-23 19:21:44 +08:00
Zexi Li
4cb9a859bf fix(webconsole): ssh command log with login user (#14113) 2022-04-23 19:21:16 +08:00
Zexi Li
eab2d5f862 Merge pull request #14110 from zexi/automated-cherry-pick-of-#14072-upstream-release-3.9
Automated cherry pick of #14072: feat(webconsole): ssh command log
2022-04-22 14:33:43 +08:00
Zexi Li
8ebcc6439b feat(webconsole): ssh command log 2022-04-22 14:22:59 +08:00
Zexi Li
be6e52fae9 Merge pull request #14106 from ioito/automated-cherry-pick-of-#14105-upstream-release-3.9
Automated cherry pick of #14105: fix(region): avoid panic
2022-04-22 14:20:28 +08:00
Zexi Li
e54ace048b Merge pull request #14109 from ioito/automated-cherry-pick-of-#14108-upstream-release-3.9
Automated cherry pick of #14108: fix(region): secgroup created time
2022-04-22 14:19:08 +08:00
ioito
2186835816 fix(region): secgroup created time 2022-04-22 14:07:31 +08:00
Zexi Li
15e5b9308d Merge pull request #14103 from zhaoxiangchun/automated-cherry-pick-of-#14102-upstream-release-3.9
Automated cherry pick of #14102: fix(cloudmon): add apsarea diskusage metric
2022-04-22 11:41:18 +08:00
ioito
deef04747f fix(region): avoid panic 2022-04-22 11:02:51 +08:00
zhaoxiangchun
bde8f46c77 fix(cloudmon): add apsarea diskusage metric 2022-04-21 20:25:48 +08:00
Zexi Li
bd527d2ce3 Merge pull request #14101 from ioito/automated-cherry-pick-of-#14100-upstream-release-3.9
Automated cherry pick of #14100: fix(region): sync resource created time
2022-04-21 20:08:14 +08:00
ioito
9a06a0ae37 fix(region): sync resource created time 2022-04-21 19:47:40 +08:00
Zexi Li
d56774b68f Merge pull request #14094 from ioito/automated-cherry-pick-of-#14093-upstream-release-3.9
Automated cherry pick of #14093: fix(region): avoid panic
2022-04-21 19:06:21 +08:00
Zexi Li
84bb52da9b Merge pull request #14097 from ioito/automated-cherry-pick-of-#14096-upstream-release-3.9
Automated cherry pick of #14096: fix(region): sync vm name
2022-04-21 19:05:44 +08:00
Zexi Li
cd9b5e1986 Merge pull request #14099 from ioito/automated-cherry-pick-of-#14098-upstream-release-3.9
Automated cherry pick of #14098: feat(region): ipv6 gateway sync for apsara
2022-04-21 19:04:35 +08:00
ioito
05d38e8f8a feat(region): ipv6 gateway sync for apsara 2022-04-21 17:47:35 +08:00
ioito
616f981535 fix(region): avoid panic 2022-04-21 17:09:45 +08:00
ioito
956a78245a fix(region): sync vm name 2022-04-21 17:04:01 +08:00
Zexi Li
aed5a2f9e6 Merge pull request #14092 from ioito/automated-cherry-pick-of-#14091-upstream-release-3.9
Automated cherry pick of #14091: fix(region): apsara oss to asapi
2022-04-20 21:57:25 +08:00
ioito
e7af9354a8 fix(region): apsara oss to asapi 2022-04-20 20:31:30 +08:00
Jian Qiu
102198fa81 fix: always recycle disk files (#14067)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-20 16:43:06 +08:00
Jian Qiu
d7d406a43f fix: adjust opsadmin permission (#14087)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-20 16:28:21 +08:00
Jian Qiu
6198ad0003 fix: arm support spice (#14090)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-20 16:27:59 +08:00
Jian Qiu
ae7bf39ada fix: cached image fail to refresh (#14082)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-20 15:02:28 +08:00
Jian Qiu
6b47369d36 fix: make notify template example field nullable (#14084)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-20 15:01:16 +08:00
Zexi Li
e33c3e60a2 Merge pull request #14077 from ioito/automated-cherry-pick-of-#14076-upstream-release-3.9
Automated cherry pick of #14076: fix(region): account sync
2022-04-19 19:43:39 +08:00
Zexi Li
99d66a42e7 Merge pull request #14080 from ioito/automated-cherry-pick-of-#14079-upstream-release-3.9
Automated cherry pick of #14079: fix(region): refactor huawei eip api
2022-04-19 19:43:17 +08:00
ioito
7e98279e2d fix(region): refactor huawei eip api 2022-04-19 18:53:24 +08:00
ioito
df5c5b0630 fix(region): account sync 2022-04-19 16:48:15 +08:00
Zexi Li
40c318af79 Merge pull request #14070 from ioito/automated-cherry-pick-of-#14069-upstream-release-3.9
Automated cherry pick of #14069: fix(region): enable and disable log for provider regions
2022-04-19 16:25:17 +08:00
Zexi Li
5c18ed6eb2 Merge pull request #14075 from ioito/automated-cherry-pick-of-#14074-upstream-release-3.9
Automated cherry pick of #14074: fix(region): apsara credential update
2022-04-19 16:21:31 +08:00
ioito
ba1ae72d80 fix(region): apsara credential update 2022-04-19 16:09:18 +08:00
ioito
729994ab4f fix(region): enable and disable log for provider regions 2022-04-19 11:44:39 +08:00
Zexi Li
8759cc1b07 Merge pull request #14064 from ioito/automated-cherry-pick-of-#14036-upstream-release-3.9
Automated cherry pick of #14036: fix(region): huawei lb api
2022-04-18 18:32:38 +08:00
ioito
e3c290c5ee fix(region): huawei lb api 2022-04-18 18:01:04 +08:00
Zexi Li
0412a519e4 Merge pull request #14056 from swordqiu/automated-cherry-pick-of-#14055-upstream-release-3.9
Automated cherry pick of #14055: feature: user reset credential
2022-04-18 16:29:50 +08:00
Zexi Li
2b399c40d5 Merge pull request #14061 from zhasm/automated-cherry-pick-of-#14060-upstream-release-3.9
Automated cherry pick of #14060: fix(notify): 通知模板更新
2022-04-18 15:57:54 +08:00
Zhang Dongliang
e34a8422b8 fix(notify): 通知模板更新 2022-04-18 15:49:15 +08:00
Zexi Li
72114cf293 Merge pull request #14059 from ioito/automated-cherry-pick-of-#14057-upstream-release-3.9
Automated cherry pick of #14057: fix(apigateway): log export timeout
2022-04-18 14:39:36 +08:00
ioito
89c76341ea fix(apigateway): log export timeout 2022-04-18 14:24:29 +08:00
Qiu Jian
a7f176cc42 feature: user reset credential 2022-04-18 00:18:35 +08:00
Jian Qiu
78af815471 fix: user project lists with metadata (#14054)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-18 00:06:11 +08:00
Jian Qiu
0fb04f2e22 fix: extend guest disk attributes (#14051)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-17 23:08:42 +08:00
Jian Qiu
a80340d8ac fix: allow opsadmin view logs (#14049)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-17 23:08:17 +08:00
Jian Qiu
3ac9208175 fix: guest backup bufixes (#14047)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-17 23:07:50 +08:00
Zexi Li
54f403a80d Merge pull request #14031 from ioito/automated-cherry-pick-of-#14030-upstream-release-3.9
Automated cherry pick of #14030: fix(region): qcloud bandwidth and networkinterface
2022-04-17 12:39:15 +08:00
Zexi Li
5ba1145c46 Merge pull request #14012 from ioito/automated-cherry-pick-of-#14011-upstream-release-3.9
Automated cherry pick of #14011: feat(region): external project create
2022-04-17 00:35:30 +08:00
Zexi Li
6e94f8ea37 Merge pull request #14034 from ioito/automated-cherry-pick-of-#14033-upstream-release-3.9
Automated cherry pick of #14033: fix(region): azure created time sync
2022-04-17 00:33:58 +08:00
Zexi Li
cb420ba554 Merge pull request #13859 from zhaoxiangchun/automated-cherry-pick-of-#13858-upstream-release-3.9
Automated cherry pick of #13858: feat(cloudmon): support bingo cloud metric pull
2022-04-17 00:32:47 +08:00
Jian Qiu
3ee0a77e7b fix: log auth fail event (#14044)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-16 18:35:20 +08:00
Jian Qiu
f874969910 fix: guest save image inherit projects of guest (#14042)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-16 09:34:46 +08:00
Zexi Li
f5c2ac5304 Merge pull request #14040 from swordqiu/automated-cherry-pick-of-#14039-upstream-release-3.9
Automated cherry pick of #14039: fix permission 20220416
2022-04-16 03:56:08 +08:00
Zexi Li
408cc8618b Merge pull request #14038 from swordqiu/automated-cherry-pick-of-#14037-upstream-release-3.9
Automated cherry pick of #14037: fix: sync IDP domain default project
2022-04-16 03:37:13 +08:00
Qiu Jian
39d0433190 fix permission 20220416 2022-04-16 02:33:40 +08:00
Qiu Jian
98ecbe4d19 fix: sync IDP domain default project 2022-04-16 00:24:29 +08:00
ioito
05efa456d3 fix(region): azure created time sync 2022-04-15 17:36:25 +08:00
ioito
3c153a189d fix(region): qcloud bandwidth and networkinterface 2022-04-15 16:11:04 +08:00
Zexi Li
e99ff7becb Merge pull request #14026 from ioito/automated-cherry-pick-of-#14025-upstream-release-3.9
Automated cherry pick of #14025: fix(region): apsara resource groups
2022-04-15 11:35:16 +08:00
Zexi Li
74603b4322 Merge pull request #14028 from ioito/automated-cherry-pick-of-#14027-upstream-release-3.9
Automated cherry pick of #14027: fix(climc): eip change bw cli
2022-04-15 11:33:59 +08:00
ioito
3fafd34406 fix(climc): eip change bw cli 2022-04-15 11:14:45 +08:00
Zexi Li
a92fc2ce99 Merge pull request #14024 from ioito/automated-cherry-pick-of-#14023-upstream-release-3.9
Automated cherry pick of #14023: fix(logger): action log export timeout
2022-04-14 20:41:03 +08:00
ioito
df00af8a5f fix(region): apsara resource groups 2022-04-14 20:38:39 +08:00
ioito
e387f8dbca fix(logger): action log export timeout 2022-04-14 14:42:29 +08:00
zhaoxiangchun
d9c0afc613 feat(cloudmon): support bingo cloud metric pull 2022-04-14 12:46:22 +08:00
Jian Qiu
7fbd233102 fix: encrypt by user id (#14022)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-14 07:55:07 +08:00
Jian Qiu
3c62aaa161 fix: log roles support utf8 (#14018)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-14 00:50:34 +08:00
Jian Qiu
67e3c9afbd fix: use user owner key to create user (#14016)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-13 23:16:04 +08:00
屈轩
ccb7e96095 fix(keystone): remove notify (#14014) 2022-04-13 23:15:24 +08:00
ioito
df0a76ece7 feat(region): external project create 2022-04-13 17:11:13 +08:00
Zexi Li
9c236c4803 Merge pull request #14008 from ioito/automated-cherry-pick-of-#14007-upstream-release-3.9
Automated cherry pick of #14007: fix(region): avoid export duplicate tag key
2022-04-13 16:21:00 +08:00
Zexi Li
269236e25f Merge pull request #14006 from rainzm/automated-cherry-pick-of-#14005-upstream-release-3.9
Automated cherry pick of #14005: feat(notify): add topic_type in notification details
2022-04-13 16:20:31 +08:00
ioito
c60c1c1aad fix(region): avoid export duplicate tag key 2022-04-13 16:09:10 +08:00
rainzm
1efc554ed5 feat(notify): add topic_type in notification details 2022-04-13 16:03:33 +08:00
Zexi Li
97b061e96d Merge pull request #14003 from ioito/automated-cherry-pick-of-#14002-upstream-release-3.9
Automated cherry pick of #14002: fix(region): host order by commit rate
2022-04-13 12:18:52 +08:00
ioito
ddb8d743fe fix(region): host order by commit rate 2022-04-13 11:29:17 +08:00
Jian Qiu
2d778cb80f fix: backup bugifxes: 1. not inherit projects of disk. 2. class not inherit by disk 3. fail to creat guest image (#14001)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-13 01:39:45 +08:00
Zexi Li
01cf767c33 Merge pull request #13981 from zexi/isp-mul-disks
fix(region): multi disk created after instance snapshot
2022-04-13 00:55:56 +08:00
Zexi Li
5ab684ea52 Merge pull request #13999 from swordqiu/automated-cherry-pick-of-#13998-upstream-release-3.9
Automated cherry pick of #13998: fix: adjust admin default permissions
2022-04-13 00:55:32 +08:00
Zexi Li
b34a607f46 Merge pull request #13997 from swordqiu/automated-cherry-pick-of-#13996-upstream-release-3.9
Automated cherry pick of #13996: fix: migrate set down time
2022-04-13 00:55:03 +08:00
Qiu Jian
3dd40047cf fix: adjust admin default permissions 2022-04-12 21:03:19 +08:00
Qiu Jian
4d05122d78 fix: migrate set down time 2022-04-12 20:25:05 +08:00
Zexi Li
ea79ab321c Merge pull request #13993 from ioito/automated-cherry-pick-of-#13987-upstream-release-3.9
Automated cherry pick of #13987: fix(region): huawei api
2022-04-12 16:45:28 +08:00
ioito
25ce1c4633 fix(region): huawei api 2022-04-12 16:01:39 +08:00
Zexi Li
4661d0b602 Merge pull request #13990 from ioito/automated-cherry-pick-of-#13989-upstream-release-3.9
Automated cherry pick of #13989: fix(region): avoid panic
2022-04-12 15:05:59 +08:00
ioito
a3ec1b4509 fix(region): avoid panic 2022-04-12 14:56:38 +08:00
Zexi Li
9cc827b9c0 Merge pull request #13980 from swordqiu/automated-cherry-pick-of-#13979-upstream-release-3.9
Automated cherry pick of #13979: fix: change qemu default version to 4.2.0
2022-04-12 14:38:12 +08:00
Zexi Li
ee74a8e8f4 Merge pull request #13986 from rainzm/automated-cherry-pick-of-#13985-upstream-release-3.9
Automated cherry pick of #13985: feat(notify): filter notification by topic_type
2022-04-12 14:37:49 +08:00
rainzm
115b91e681 feat(notify): filter notification by topic_type
之前的模型,消息和Event是一一对应的,一个Event可以和多个Topic对应,
为了支持通过Topic Type过滤消息,现在Event和Topic是一一对应的。
2022-04-12 14:23:53 +08:00
Zexi Li
60e13cc618 fix(region): multi disk created after instance snapshot 2022-04-12 13:53:26 +08:00
Jian Qiu
80848c95d7 fix: more detailed privilege hint (#13976)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-12 12:10:29 +08:00
Qiu Jian
56d76b4682 fix: change qemu default version to 4.2.0 2022-04-12 12:08:06 +08:00
Jian Qiu
559c3ae1d2 fix: encrypt server cannot attach disk with conflict encrypt key (#13974)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-12 10:12:26 +08:00
Jian Qiu
b3e2e9856b fix: disk create input preserve encrypt info (#13972)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-12 10:11:45 +08:00
Jian Qiu
1985bced03 fix: schduler not sync cached image class metadata (#13970)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-12 10:09:47 +08:00
Zexi Li
d161e5b6a8 Merge pull request #13968 from swordqiu/automated-cherry-pick-of-#13967-upstream-release-3.9
Automated cherry pick of #13967: fix: create table missing indexes
2022-04-11 22:59:27 +08:00
Qiu Jian
3af22d20b5 fix: create table missing indexes 2022-04-11 22:13:07 +08:00
Zexi Li
8880a44bfd Merge pull request #13963 from ioito/automated-cherry-pick-of-#13962-upstream-release-3.9
Automated cherry pick of #13962: fix(region): aws all regions
2022-04-11 20:46:21 +08:00
ioito
ab52a8fcac fix(region): aws all regions 2022-04-11 20:01:08 +08:00
Zexi Li
cccb5182b0 Merge pull request #13961 from zexi/automated-cherry-pick-of-#13960-upstream-release-3.9
Automated cherry pick of #13960: feat(region): kvm qemu version and cmdline info
2022-04-11 18:57:00 +08:00
Zexi Li
5915a2a3bb Merge pull request #13959 from ioito/automated-cherry-pick-of-#13958-upstream-release-3.9
Automated cherry pick of #13958: fix(region): cloud lake of permissions
2022-04-11 18:56:08 +08:00
Zexi Li
4239057b1d Merge pull request #13955 from zhaoxiangchun/automated-cherry-pick-of-#13954-upstream-release-3.9
Automated cherry pick of #13954: fix(region): app replace backgroud ctx
2022-04-11 18:37:58 +08:00
Zexi Li
92c5fd463f feat(region): kvm qemu version and cmdline info 2022-04-11 18:24:28 +08:00
ioito
97f03c87aa fix(region): cloud lake of permissions 2022-04-11 16:48:20 +08:00
Jian Qiu
3f34b2cbb3 fix: disable lock ctx check (#13957)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-11 14:56:14 +08:00
zhaoxiangchun
9c7b3a47a5 fix(region): app replace backgroud ctx 2022-04-11 14:52:05 +08:00
Jian Qiu
4d7496418b fix: support create encrypt key on create (#13951)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-11 14:41:24 +08:00
Zexi Li
12ae5f2f18 Merge pull request #13944 from ioito/automated-cherry-pick-of-#13940-upstream-release-3.9
Automated cherry pick of #13940: fix(region): google label encode
2022-04-11 09:53:09 +08:00
Zexi Li
0a434f7f75 Merge pull request #13953 from swordqiu/automated-cherry-pick-of-#13952-upstream-release-3.9
Automated cherry pick of #13952: fix: fangde desktop
2022-04-11 09:51:30 +08:00
Qiu Jian
38b01d5fc3 fix: fangde desktop 2022-04-11 09:32:47 +08:00
Jian Qiu
981715c0a0 fix: keystone issues: 1. add no_policy_violation_check (#13949)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-11 06:39:20 +08:00
Zexi Li
d4ac70645a Merge pull request #13942 from rainzm/automated-cherry-pick-of-#13941-upstream-release-3.9
Automated cherry pick of #13941: fix(region): exclude the host whose config or config.network is nil
2022-04-09 14:32:07 +08:00
Zexi Li
0244f5ce37 Merge pull request #13947 from ioito/automated-cherry-pick-of-#13946-upstream-release-3.9
Automated cherry pick of #13946: fix(region): read only fix
2022-04-08 20:11:21 +08:00
ioito
85ba3dad83 fix(region): read only fix 2022-04-08 19:51:15 +08:00
ioito
c226a684bf fix(region): google label encode 2022-04-08 17:54:49 +08:00
rainzm
b7d63ef3d1 fix(region): exclude the host whose config or config.network is nil 2022-04-08 17:49:50 +08:00
Zexi Li
d0f5ff6d3e Merge pull request #13939 from zexi/automated-cherry-pick-of-#13938-upstream-release-3.9
Automated cherry pick of #13938: fix(notify): lock panic when InitializeData
2022-04-08 15:20:25 +08:00
Zexi Li
85ff236532 fix(notify): lock panic when InitializeData 2022-04-08 15:11:16 +08:00
Zexi Li
f6cbc261d7 Merge pull request #13932 from ioito/automated-cherry-pick-of-#13922-upstream-release-3.9
Automated cherry pick of #13922: fix(region): account read only
2022-04-08 09:58:31 +08:00
Zexi Li
3f567afcc5 Merge pull request #13937 from zexi/automated-cherry-pick-of-#13936-upstream-release-3.9
Automated cherry pick of #13936: feat(build): add onecloud-base:v3.15.4-0 image build file
2022-04-08 09:41:01 +08:00
Zexi Li
7178f2a92d feat(build): add onecloud-base:v3.15.4-0 image build file 2022-04-08 09:39:23 +08:00
屈轩
17d232ce6a fix(region): qcloud client no need fetch bucket (#13921) 2022-04-08 01:36:01 +08:00
Jian Qiu
77eea49817 host: fix isImportFromLibvirt (#13934)
should check __origin_id not getOriginId

Signed-off-by: wanyaoqi <wanyaoqi1995@163.com>

Co-authored-by: wanyaoqi <wanyaoqi1995@163.com>
2022-04-08 01:30:15 +08:00
Zexi Li
5f26d49b3f Merge pull request #13902 from swordqiu/automated-cherry-pick-of-#13901-upstream-release-3.9
Automated cherry pick of #13901: fix: scheduler add missing context
2022-04-07 22:07:03 +08:00
ioito
944c62a933 fix(region): account read only 2022-04-07 19:28:23 +08:00
Zexi Li
3999950ee7 Merge pull request #13929 from ioito/automated-cherry-pick-of-#13928-upstream-release-3.9
Automated cherry pick of #13928: fix(region): aws storage type sync
2022-04-07 17:46:20 +08:00
ioito
d1bc8e0460 fix(region): aws storage type sync 2022-04-07 17:31:02 +08:00
Zexi Li
2cb105944f Merge pull request #13926 from ioito/automated-cherry-pick-of-#13923-upstream-release-3.9
Automated cherry pick of #13923: fix(region): cloudpods misc fix
2022-04-07 17:31:01 +08:00
Zexi Li
95d2be18a4 Merge pull request #13925 from ioito/automated-cherry-pick-of-#13924-upstream-release-3.9
Automated cherry pick of #13924: fix(region): ctx lock panic
2022-04-07 17:29:36 +08:00
ioito
38626f5f3e fix(region): ctx lock panic 2022-04-07 15:00:02 +08:00
ioito
0ff06fbb90 fix(region): cloudpods misc fix 2022-04-06 16:38:51 +08:00
Zexi Li
a0bbbf3c0f Merge pull request #13911 from swordqiu/automated-cherry-pick-of-#13910-upstream-release-3.9
Automated cherry pick of #13910: fix: migrate set downtime
2022-04-06 12:49:10 +08:00
Zexi Li
2be3d2f1de Merge pull request #13889 from swordqiu/automated-cherry-pick-of-#13888-upstream-release-3.9
Automated cherry pick of #13888: fix: panic when locking on Background or TODO context
2022-04-06 12:20:32 +08:00
Jian Qiu
14e1b8ee41 feature: event log add severity and kind fields (#13920)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-06 06:57:58 +08:00
Jian Qiu
4d3299b892 fix: logout event log (#13917)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-06 01:30:44 +08:00
Jian Qiu
dde16447dd fix: typos in predefined policy yaml (#13915)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 16:15:37 +08:00
Jian Qiu
48d3c1138b fix: chage parameter not compatible with fangde OS (#13908)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 16:14:46 +08:00
Jian Qiu
5fbf6eaf47 fix: save image for aarch64 os show os_arch of x86_64 (#13904)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 16:12:44 +08:00
Jian Qiu
bd5df1445c fix: update vendor for sqlchemy (#13913)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 16:11:53 +08:00
Qiu Jian
62fb3da5f9 fix: migrate set downtime 2022-04-05 15:17:23 +08:00
Qiu Jian
ec66231da5 fix: scheduler add missing context 2022-04-05 14:22:33 +08:00
屈轩
5378e21231 fix(region): sync aliyun remark to cloud (#13847) 2022-04-05 11:22:05 +08:00
屈轩
ed809bc3b9 fix(region): optimized disk-list (#13875) 2022-04-05 11:20:27 +08:00
Jian Qiu
23364d81c3 fix: cloudaccounts getMoreDetails should pass ctx (#13885)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 11:18:38 +08:00
Jian Qiu
3d2b7c796f fix: better handling of network not avaiable on host error (#13891)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 11:18:03 +08:00
Jian Qiu
5a8b0c95f1 fix: make temporary snapshots invisible (#13882)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 11:16:06 +08:00
Jian Qiu
ab0c8b6c20 fix: opsadmin should have project list and get permission (#13895)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 11:15:15 +08:00
Jian Qiu
fe929274eb Automated cherry pick of #13896: fix: host inherit class metadata from wire (#13897)
* fix: host inherit class metadata from wire

* deal with host delete exit

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 11:14:37 +08:00
Jian Qiu
8c7dee6f90 fix: make test format errors (#13899)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 11:14:08 +08:00
Qiu Jian
932d067334 fix: panic when locking on Background or TODO context 2022-04-05 00:13:40 +08:00
Zexi Li
2ae4863b09 Merge pull request #13864 from ioito/automated-cherry-pick-of-#13863-upstream-release-3.9
Automated cherry pick of #13863: fix(apigateway): convert net err to service error
2022-04-03 10:54:09 +08:00
Zexi Li
097b7b3b1b Merge pull request #13878 from rainzm/automated-cherry-pick-of-#13877-upstream-release-3.9
Automated cherry pick of #13877: fix(notify): enable websocket notifications defaultly for event notify
2022-04-02 18:59:33 +08:00
rainzm
a408a7634f fix(notify): enable websocket notifications defaultly for event notify 2022-04-02 18:51:53 +08:00
Zexi Li
e611ecfaa6 Merge pull request #13866 from rainzm/automated-cherry-pick-of-#13865-upstream-release-3.9
Automated cherry pick of #13865: Security notify
2022-04-02 18:11:59 +08:00
Zexi Li
9e5e3a2ecf Merge pull request #13873 from rainzm/automated-cherry-pick-of-#13872-upstream-release-3.9
Automated cherry pick of #13872: feat(region): add reason when syning status for backup storage
2022-04-02 18:02:51 +08:00
Zexi Li
7420715087 Merge pull request #13870 from ioito/automated-cherry-pick-of-#13869-upstream-release-3.9
Automated cherry pick of #13869: fix(region): vm public ip sync
2022-04-02 14:55:59 +08:00
rainzm
1b95d8d6ad feat(region): add reason when syning status for backup storage 2022-04-02 14:36:04 +08:00
Zexi Li
6b7cb73243 Merge pull request #13840 from ioito/automated-cherry-pick-of-#13839-upstream-release-3.9
Automated cherry pick of #13839: fix(region): qcloud use new dns api
2022-04-02 14:14:56 +08:00
ioito
6e42103d5e fix(region): qcloud use new dns api 2022-04-02 14:09:08 +08:00
ioito
75e0dc0a16 fix(region): vm public ip sync 2022-04-02 11:54:28 +08:00
Zexi Li
eec313cc98 Merge pull request #13868 from swordqiu/automated-cherry-pick-of-#13867-upstream-release-3.9
Automated cherry pick of #13867: fix: support qemu backing file with json format
2022-04-01 23:07:02 +08:00
Zexi Li
1872eb87ab Merge pull request #13861 from zhaoxiangchun/automated-cherry-pick-of-#13860-upstream-release-3.9
Automated cherry pick of #13860: fix(cloudmon): fix gcp metric pull
2022-04-01 23:03:59 +08:00
Qiu Jian
7ce2e36867 fix: support qemu backing file with json format 2022-04-01 21:10:44 +08:00
Zexi Li
300a7079fb Merge pull request #13849 from ioito/automated-cherry-pick-of-#13848-upstream-release-3.9
Automated cherry pick of #13848: fix(region): show account lake of permission
2022-04-01 19:48:56 +08:00
rainzm
590dd27358 feat(climc): add notify-event-send 2022-04-01 19:03:41 +08:00
rainzm
2c348ae64c feat(keystone): call event notify when user is locked 2022-04-01 19:03:41 +08:00
rainzm
e50cc0207d feat(host): notify when snapshot memory checksum test fail 2022-04-01 19:03:41 +08:00
rainzm
9e6248edd3 feat(image): notify when image checksum test fail 2022-04-01 19:03:41 +08:00
rainzm
18cb197a9e 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 19:03:41 +08:00
rainzm
640c4a286a feat(cloudcommon): add SystemEventNotify and SystemExceptionNotifyWithResult 2022-04-01 19:03:41 +08:00
rainzm
1b662edde5 feat(notify): add topic 'checksum test faile' and 'user lock' 2022-04-01 19:03:41 +08:00
ioito
b9502a5c63 fix(apigateway): convert net err to service error 2022-04-01 15:40:02 +08:00
zhaoxiangchun
a16f80f153 fix(cloudmon): fix gcp metric pull
1. external_id format
2022-04-01 14:51:41 +08:00
Jian Qiu
b59cfa64f0 fix: fail to snapshot and clone due to mismatch class metadata (#13857)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-01 13:19:14 +08:00
Jian Qiu
0d0d1feaf5 fix: cloudshell use dynamic keystone endpoint (#13854)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-01 13:14:56 +08:00
Zexi Li
053257b34d Merge pull request #13851 from zexi/fix-arm-ovmf
fix(host): arm ovmf not injected
2022-04-01 12:28:57 +08:00
Zexi Li
7bf1531c66 fix(host): arm ovmf not injected 2022-04-01 11:51:46 +08:00
ioito
fdf2af3e23 fix(region): show account lake of permission 2022-04-01 11:43:05 +08:00
Jian Qiu
4651414f9d fix: aarch64 ensure UEFI (#13845)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-03-31 18:16:07 +08:00
Zexi Li
d739ac9278 Merge pull request #13843 from swordqiu/automated-cherry-pick-of-#13842-upstream-release-3.9
Automated cherry pick of #13842: fix: region should be refered by consts.GetRegion()
2022-03-31 17:01:57 +08:00
Qiu Jian
4bc8425073 fix: region should be refered by consts.GetRegion() 2022-03-31 16:59:28 +08:00
屈轩
042ab4eb02 fix(apigateway): export timeout (#13828) 2022-03-31 13:51:12 +08:00
Jian Qiu
1378c8a358 feature: add webconsole enabled user the default webconsole policy (#13838)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-03-31 13:50:53 +08:00
Jian Qiu
60ba75ca0d fix: image may missing os_arch and checksum (#13836)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-03-31 13:50:19 +08:00
Zexi Li
c1c870c2fa Merge pull request #13825 from ioito/automated-cherry-pick-of-#13824-upstream-release-3.9
Automated cherry pick of #13824: fix(region): curl vender update
2022-03-30 16:56:04 +08:00
Zexi Li
97e3fe16ca Merge pull request #13832 from rainzm/automated-cherry-pick-of-#13831-upstream-release-3.9
Automated cherry pick of #13831: fix(glance): check image after initializing s3
2022-03-30 16:53:17 +08:00
rainzm
10a3662a0e fix(glance): check image after initializing s3 2022-03-30 16:03:06 +08:00
ioito
810823080e fix(region): curl vender update 2022-03-30 11:05:20 +08:00
Zexi Li
5d9f026d5f Merge pull request #13822 from swordqiu/automated-cherry-pick-of-#13821-upstream-release-3.9
Automated cherry pick of #13821: fix: remote file not move
2022-03-30 10:14:37 +08:00
Zexi Li
f74793fc2c fix(telegraf-raid-plugin): zombies recycle (#13816) 2022-03-30 07:40:47 +08:00
Qiu Jian
db58d52881 fix: remote file not move 2022-03-30 07:36:01 +08:00
Zexi Li
15f6e65c97 Merge pull request #13814 from ioito/automated-cherry-pick-of-#13813-upstream-release-3.9
Automated cherry pick of #13813: fix(apigateway): report data for cloudpods
2022-03-29 22:38:11 +08:00
ioito
cdceda5876 fix(apigateway): report data for cloudpods 2022-03-29 18:18:58 +08:00
Zexi Li
adf4b78566 Merge pull request #13812 from swordqiu/automated-cherry-pick-of-#13811-upstream-release-3.9
Automated cherry pick of #13811: fix: change arm default machine virt
2022-03-29 13:27:38 +08:00
Qiu Jian
c48171a6b3 fix: change arm default machine virt 2022-03-29 12:45:34 +08:00
Zexi Li
44c3495e8e Merge pull request #13809 from ioito/automated-cherry-pick-of-#13808-upstream-release-3.9
Automated cherry pick of #13808: fix(region): cloudprovider distinct
2022-03-29 11:53:48 +08:00
Zexi Li
3b237fda58 Merge pull request #13804 from ioito/automated-cherry-pick-of-#13803-upstream-release-3.9
Automated cherry pick of #13803: fix(region): order by host storage
2022-03-29 11:53:16 +08:00
ioito
b7bedb5830 fix(region): cloudprovider distinct 2022-03-29 09:51:59 +08:00
Zexi Li
1e17d1d038 feat(keystone): config option db record checksum (#13807) 2022-03-28 12:40:41 +08:00
ioito
8920f31c67 fix(region): order by host storage 2022-03-28 11:33:13 +08:00
Jian Qiu
a93bf7aa58 fix: predefined ops/sec/adt manager roles (#13802)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-03-27 22:49:36 +08:00
Jian Qiu
971fb2336a fix: add GetEncryptKeysRpc (#13800)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-03-27 14:49:12 +08:00
Jian Qiu
be6ebcc5f9 region/host: fix reset ceph root disk after rebuild root (#13797)
Ceph storage disk rebuild root will rename origin disk to backing
disk, so we need use backing disk reset snapshot.

Signed-off-by: wanyaoqi <wanyaoqi1995@163.com>

Co-authored-by: wanyaoqi <wanyaoqi1995@163.com>
2022-03-27 11:34:46 +08:00
Zexi Li
a509068e52 fix(logger): SActionlog should return ActionLogManager (#13796) 2022-03-27 11:01:40 +08:00
Zexi Li
63d6da7540 feat(vendor): update vendor for master (#13793) 2022-03-27 11:01:12 +08:00
Zexi Li
1c315881a1 Merge pull request #13791 from zexi/automated-cherry-pick-of-#13788-upstream-release-3.9
Automated cherry pick of #13788: update ghw dependency
2022-03-26 19:05:30 +08:00
Tai Groot
24fdff215f update vendor modules 2022-03-26 19:05:00 +08:00
Tai Groot
709535c1bb update ghw dependency 2022-03-26 19:05:00 +08:00
Zexi Li
58d1eda84e Merge pull request #13781 from zhaoxiangchun/automated-cherry-pick-of-#13780-upstream-release-3.9
Automated cherry pick of #13780: fix(cloudmon): cloudmon fix
2022-03-26 19:01:16 +08:00
Zexi Li
e0dc71164c Merge pull request #13790 from swordqiu/automated-cherry-pick-of-#13789-upstream-release-3.9
Automated cherry pick of #13789: fix: aes decrypt failure
2022-03-26 19:00:52 +08:00
Zexi Li
941122e6fc Merge pull request #13786 from swordqiu/automated-cherry-pick-of-#13785-upstream-release-3.9
Automated cherry pick of #13785: fix: instance group with classic network cannot associate with eip
2022-03-26 19:00:21 +08:00
Qiu Jian
8fd80418d2 fix: aes decrypt failure 2022-03-26 15:19:58 +08:00
Jian Qiu
abc7643e65 feature: qemu encryption support (#13776)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-03-26 14:52:56 +08:00
Qiu Jian
74e1d3c296 fix: instance group with classic network cannot associate with eip 2022-03-26 03:26:38 +08:00
Zexi Li
4dd3c499fd fix(host-deployer): chage for exists cloudroot user (#13783) 2022-03-25 20:10:21 +08:00
zhaoxiangchun
aa3655122f fix(cloudmon): cloudmon fix
1. 增加account tag
2. aws region pull metric add lock
2022-03-25 16:31:26 +08:00
Zexi Li
c511f30bde Merge pull request #13778 from ioito/automated-cherry-pick-of-#13777-upstream-release-3.9
Automated cherry pick of #13777: fix(region): cpu float to int
2022-03-25 11:45:24 +08:00
ioito
2354905bed fix(region): cpu float to int 2022-03-25 11:30:50 +08:00
Zexi Li
7bcbdda962 Merge pull request #13773 from ioito/automated-cherry-pick-of-#13772-upstream-release-3.9
Automated cherry pick of #13772: fix(region): bingo node attr
2022-03-24 21:25:27 +08:00
Zexi Li
1eab1c3734 Merge pull request #13770 from ioito/automated-cherry-pick-of-#13769-upstream-release-3.9
Automated cherry pick of #13769: fix(region): cloudpods misc fix
2022-03-24 21:24:32 +08:00
Zexi Li
104bec269d Merge pull request #13775 from ioito/automated-cherry-pick-of-#13774-upstream-release-3.9
Automated cherry pick of #13774: fix(region): add seclib aes
2022-03-24 18:53:59 +08:00
ioito
d70ccebf95 fix(region): add seclib aes 2022-03-24 18:09:04 +08:00
ioito
1010efd110 fix(region): bingo node attr 2022-03-24 17:05:34 +08:00
ioito
0909ee914e fix(region): cloudpods misc fix 2022-03-24 14:33:51 +08:00
Zexi Li
163502760d Merge pull request #13768 from swordqiu/automated-cherry-pick-of-#13767-upstream-release-3.9
Automated cherry pick of #13767: fix: host deploy chmod after mkdir to ensure permission
2022-03-23 23:45:25 +08:00
Zexi Li
1a22106a4b Merge pull request #13754 from ioito/automated-cherry-pick-of-#13753-upstream-release-3.9
Automated cherry pick of #13753: fix(region): clean glance image cache
2022-03-23 23:44:23 +08:00
Qiu Jian
19d8d579e4 fix: host deploy chmod after mkdir to ensure permission 2022-03-23 20:37:22 +08:00
Zexi Li
21d72cb847 Merge pull request #13765 from rainzm/automated-cherry-pick-of-#13764-upstream-release-3.9
Automated cherry pick of #13764: fix(region): release lock in SyncAppEnvironments
2022-03-23 16:41:20 +08:00
rainzm
023e1d55fa fix(region): release lock in SyncAppEnvironments 2022-03-23 16:32:52 +08:00
Zexi Li
da24a2ac0d Merge pull request #13763 from ioito/automated-cherry-pick-of-#13762-upstream-release-3.9
Automated cherry pick of #13762: fix(region): bingocloud sync fix
2022-03-23 15:58:29 +08:00
ioito
9256fbb8b0 fix(region): bingocloud sync fix 2022-03-23 15:47:29 +08:00
Zexi Li
686052e22d Merge pull request #13750 from ioito/automated-cherry-pick-of-#13749-upstream-release-3.9
Automated cherry pick of #13749: fix(region): vmware no need secgroup
2022-03-23 11:00:13 +08:00
Zexi Li
11ebed2582 Merge pull request #13758 from ioito/automated-cherry-pick-of-#13757-upstream-release-3.9
Automated cherry pick of #13757: fix(region): host sched tag sync
2022-03-23 00:28:14 +08:00
Zexi Li
fc845fee4d Merge pull request #13761 from swordqiu/automated-cherry-pick-of-#13760-upstream-release-3.9
Automated cherry pick of #13760: fix: add more set class metadata commands
2022-03-23 00:27:25 +08:00
Qiu Jian
30f35398e2 fix: add more set class metadata commands 2022-03-22 22:06:39 +08:00
ioito
7e1afd56a6 fix(region): host sched tag sync 2022-03-22 18:54:39 +08:00
ioito
a99734a4ac fix(region): clean glance image cache 2022-03-22 17:30:17 +08:00
ioito
daf743a269 fix(region): vmware no need secgroup 2022-03-21 20:09:17 +08:00
Zexi Li
eeab97193d Merge pull request #13748 from zexi/automated-cherry-pick-of-#13747-upstream-release-3.9
Automated cherry pick of #13747: fix(region): add host cpuset used cores
2022-03-21 18:39:55 +08:00
Zexi Li
f02a91d947 fix(region): add host cpuset used cores 2022-03-21 18:18:34 +08:00
Zexi Li
2e6ce0c630 Merge pull request #13688 from ioito/automated-cherry-pick-of-#13687-upstream-release-3.9
Automated cherry pick of #13687: fix(region): log export
2022-03-21 18:17:43 +08:00
Zexi Li
e117144b20 feat(region,host): memory snapshot checksum (#13746) 2022-03-21 17:54:42 +08:00
Zexi Li
15e0d71739 Merge pull request #13742 from ioito/automated-cherry-pick-of-#13738-upstream-release-3.9
Automated cherry pick of #13738: fix(region): elastic search public connection
2022-03-21 16:41:13 +08:00
Zexi Li
b234a36a3e Merge pull request #13745 from zexi/automated-cherry-pick-of-#13744-upstream-release-3.9
Automated cherry pick of #13744: fix(region): guest and host cpuset one-to-one validate
2022-03-21 16:40:25 +08:00
Zexi Li
f0760c979f feat(cloudcommon,region,keystone,logger): use enable_db_checksum_tables option control checksum record (#13737)
region: guests_tbl
keystone: user
logger: action_tbl
2022-03-21 13:28:37 +08:00
Zexi Li
0736f06021 fix(region): guest and host cpuset one-to-one validate 2022-03-21 12:54:15 +08:00
Zexi Li
4fbff1ea98 Merge pull request #13740 from ioito/automated-cherry-pick-of-#13739-upstream-release-3.9
Automated cherry pick of #13739: fix(region): sku init
2022-03-21 12:52:14 +08:00
Zexi Li
5bf40fd644 Merge pull request #13722 from zhaoxiangchun/automated-cherry-pick-of-#13721-upstream-release-3.9
Automated cherry pick of #13721: fix(host): fix guest nicStat  Metric in host
2022-03-21 12:51:15 +08:00
ioito
d27529a07d fix(region): elastic search public connection 2022-03-21 12:10:08 +08:00
ioito
35ee1afbd5 fix(region): sku init 2022-03-21 11:46:52 +08:00
Zexi Li
46576944d9 Merge pull request #13728 from ioito/automated-cherry-pick-of-#13727-upstream-release-3.9
Automated cherry pick of #13727: fix(region): sku name
2022-03-21 11:38:42 +08:00
Zexi Li
6919512044 Merge pull request #13735 from rainzm/automated-cherry-pick-of-#13734-upstream-release-3.9
Automated cherry pick of #13734: fix(region): get project id correctly when recovery guest
2022-03-21 11:26:39 +08:00
rainzm
2c58779569 fix(region): get project id correctly when recovery guest 2022-03-21 11:04:16 +08:00
Zexi Li
68d1e126f4 Merge pull request #13731 from rainzm/automated-cherry-pick-of-#13730-upstream-release-3.9
Automated cherry pick of #13730: fix(region): use ServerCreateInput as instanceBackup.ServerConfig
2022-03-18 19:52:35 +08:00
rainzm
05e4869013 fix(region): use ServerCreateInput as instanceBackup.ServerConfig 2022-03-18 19:28:11 +08:00
ioito
9d865538d9 fix(region): sku name 2022-03-18 18:08:48 +08:00
Rain Zheng
41eb60b651 fix(region): use original project to recovery from instance backup (#13726) 2022-03-18 17:09:19 +08:00
zhaoxiangchun
01c18c93e0 fix(host): fix guest nicStat Metric in host 2022-03-18 15:46:45 +08:00
Zexi Li
ac97daa1c4 Merge pull request #13719 from ioito/automated-cherry-pick-of-#13718-upstream-release-3.9
Automated cherry pick of #13718: fix(region): host schedtags with topology
2022-03-18 14:36:39 +08:00
ioito
c0a78b2b1a fix(region): host schedtags with topology 2022-03-18 14:11:27 +08:00
Zexi Li
611ce88ec7 Merge pull request #13716 from ioito/automated-cherry-pick-of-#13715-upstream-release-3.9
Automated cherry pick of #13715: fix(region): sku init
2022-03-18 11:52:03 +08:00
ioito
05501e7457 fix(region): sku init 2022-03-18 10:08:42 +08:00
Zexi Li
d0adedd2b2 Merge pull request #13709 from ioito/automated-cherry-pick-of-#13708-upstream-release-3.9
Automated cherry pick of #13708: fix(region): google gcp and label
2022-03-17 21:27:45 +08:00
Zexi Li
c3d29ec4da Merge pull request #13712 from swordqiu/automated-cherry-pick-of-#13711-upstream-release-3.9
Automated cherry pick of #13711: fix: host deploy mkdir permission
2022-03-17 21:24:59 +08:00
Qiu Jian
73f5c5e102 fix: host deploy mkdir permission 2022-03-17 16:52:57 +08:00
ioito
1752d6bc48 fix(region): google gcp and label 2022-03-17 16:25:44 +08:00
Zexi Li
5c02b0bab4 Merge pull request #13703 from ioito/automated-cherry-pick-of-#13702-upstream-release-3.9
Automated cherry pick of #13702: fix(region): sync with storagecachedimage status
2022-03-16 18:10:23 +08:00
Zexi Li
cca80f3471 Merge pull request #13697 from ioito/automated-cherry-pick-of-#13696-upstream-release-3.9
Automated cherry pick of #13696: fix(region): cloudpods error
2022-03-16 17:46:09 +08:00
Zexi Li
5170ec6285 Merge pull request #13700 from ioito/automated-cherry-pick-of-#13699-upstream-release-3.9
Automated cherry pick of #13699: fix(region): sync owner id
2022-03-16 17:36:57 +08:00
Zexi Li
f08c97223f Merge pull request #13706 from rainzm/automated-cherry-pick-of-#13705-upstream-release-3.9
Automated cherry pick of #13705: feat(region,esxiagent): support specifying storage when creating a data disk
2022-03-16 17:36:15 +08:00
rainzm
003729723d feat(region,esxiagent): support specifying storage when creating a data disk 2022-03-16 16:40:15 +08:00
ioito
2799b73bb2 fix(region): sync with storagecachedimage status 2022-03-16 14:42:37 +08:00
ioito
517209b05c fix(region): sync owner id 2022-03-15 21:34:50 +08:00
ioito
54aea36d90 fix(region): cloudpods error 2022-03-15 20:20:56 +08:00
Zexi Li
be314acf88 Merge pull request #13694 from ioito/automated-cherry-pick-of-#13693-upstream-release-3.9
Automated cherry pick of #13693: fix(region): redis project sync
2022-03-15 20:01:03 +08:00
ioito
ee88ba74ba fix(region): redis project sync 2022-03-15 19:51:25 +08:00
Zexi Li
aa67d7c4c1 Merge pull request #13692 from zexi/automated-cherry-pick-of-#13691-upstream-release-3.9
Automated cherry pick of #13691: Db checksum
2022-03-15 14:23:47 +08:00
Zexi Li
b456aa32ec fix(keystone): db_checksum_skip_init blacklist 2022-03-15 11:34:30 +08:00
Jian Qiu
e95f3519a8 fix(host/region): fix import servers from libvirt (#13689)
make servers_import_from_libvirt workable in container environment.
bindmount libvirt monitor dir to host container and use procutils read
guest xml configure.

Signed-off-by: wanyaoqi <wanyaoqi1995@163.com>

Co-authored-by: wanyaoqi <wanyaoqi1995@163.com>
2022-03-15 00:51:23 +08:00
屈轩
63a3064544 fix(host): upload storage info with zone id (#13560) 2022-03-15 00:50:53 +08:00
Zexi Li
2537062ee9 feat(cloudcommon): db record checksum for consistency (#13682) 2022-03-14 23:30:26 +08:00
ioito
1f8af4eac1 fix(region): log export 2022-03-14 15:23:24 +08:00
Zexi Li
1d1d26e35f Merge pull request #13684 from ioito/automated-cherry-pick-of-#13683-upstream-release-3.9
Automated cherry pick of #13683: fix(region): remove random sync
2022-03-14 15:11:29 +08:00
ioito
f23fb2e79e fix(region): remove random sync 2022-03-14 10:36:28 +08:00
屈轩
ad5b3e1ea0 fix(keystone): auth token error (#13192) 2022-03-12 16:52:08 +08:00
Zexi Li
a3568a77ca Merge pull request #13678 from swordqiu/automated-cherry-pick-of-#13677-upstream-release-3.9
Automated cherry pick of #13677: fix: server inherit the vdi_protocol of image property
2022-03-11 21:09:25 +08:00
Qiu Jian
d4ea856caa fix: server inherit the vdi_protocol of image property 2022-03-11 19:48:38 +08:00
屈轩
b6bccf3b8f fix(glance): image save (#13674) 2022-03-11 16:16:52 +08:00
屈轩
a343308554 fix(region): google disk name (#13671) 2022-03-11 16:15:32 +08:00
Zexi Li
b193c8e08e Merge pull request #13644 from ioito/automated-cherry-pick-of-#13643-upstream-release-3.9
Automated cherry pick of #13643: fix(region): bingo cloud request proxy
2022-03-11 10:18:47 +08:00
屈轩
2c21ac9810 fix(climc): add purge splitable for action and cloudevent (#13664) 2022-03-10 23:41:58 +08:00
Zexi Li
73f67385b9 Merge pull request #13646 from ioito/automated-cherry-pick-of-#13645-upstream-release-3.9
Automated cherry pick of #13645: fix(region): remove nullable tag
2022-03-10 19:36:55 +08:00
Zexi Li
07ae798843 Merge pull request #13660 from swordqiu/automated-cherry-pick-of-#13659-upstream-release-3.9
Automated cherry pick of #13659: fix: aws s3 object with leading slash
2022-03-10 18:51:07 +08:00
Zexi Li
100a3f6023 Merge pull request #13668 from rainzm/automated-cherry-pick-of-#13667-upstream-release-3.9
Automated cherry pick of #13667: fix(host): avoid deadlock when fetch image fails
2022-03-10 18:50:24 +08:00
rainzm
4355b3e79d fix(host): avoid deadlock when fetch image fails 2022-03-10 18:38:11 +08:00
Qiu Jian
d4554e22da fix: aws s3 object with leading slash 2022-03-10 11:03:29 +08:00
Zexi Li
47138ad84d Merge pull request #13642 from rainzm/automated-cherry-pick-of-#13641-upstream-release-3.9
Automated cherry pick of #13641: optimization for class metadata and instance backup
2022-03-10 01:12:46 +08:00
Zexi Li
2b76012cf5 Merge pull request #13658 from ioito/automated-cherry-pick-of-#13657-upstream-release-3.9
Automated cherry pick of #13657: fix(region): host guest cnt for deleted
2022-03-10 01:11:11 +08:00
ioito
3aa63bea58 fix(region): host guest cnt for deleted 2022-03-09 15:57:45 +08:00
Zexi Li
19d8d389dc Merge pull request #13648 from ioito/automated-cherry-pick-of-#13647-upstream-release-3.9
Automated cherry pick of #13647: fix(region): huawei storage type
2022-03-09 14:58:28 +08:00
Zexi Li
91e1cc28dd Merge pull request #13654 from zhaoxiangchun/automated-cherry-pick-of-#13652-upstream-release-3.9
Automated cherry pick of #13652: fix(cloudmon): 3.9 release add Usage pull func
2022-03-09 14:58:03 +08:00
Zexi Li
104941e750 Merge pull request #13653 from rainzm/automated-cherry-pick-of-#13651-upstream-release-3.9
Automated cherry pick of #13651: fix(scheduler): init db after init auth
2022-03-09 14:57:02 +08:00
ioito
6be5c30d1f fix(region): huawei storage type 2022-03-09 14:45:56 +08:00
zhaoxiangchun
80a4ed6516 fix(cloudmon): 3.9 release add Usage pull func 2022-03-09 14:35:11 +08:00
rainzm
0735ea23a2 fix(scheduler): init db after init auth 2022-03-09 14:33:59 +08:00
ioito
0cd13477b9 fix(region): remove nullable tag 2022-03-09 11:58:52 +08:00
屈轩
4614e07920 fix(region): show guest cnt for host (#13640) 2022-03-09 10:07:20 +08:00
ioito
754ab9dc22 fix(region): bingo cloud request proxy 2022-03-08 20:49:27 +08:00
rainzm
44c9dece67 feat(region): try to restore to the original project when the instance backup is recoveryed 2022-03-08 19:08:30 +08:00
rainzm
5d63202e2e fix(region): get mountpoint from guestdisk not disk's metadata 2022-03-08 19:08:30 +08:00
rainzm
19530722da feat(scheduler): class metadata ignore public system image 2022-03-08 19:08:30 +08:00
Zexi Li
041d99db8b Merge pull request #13616 from ioito/automated-cherry-pick-of-#13569-upstream-release-3.9
Automated cherry pick of #13569: feat(region): support bingocloud sync
2022-03-08 14:47:47 +08:00
Zexi Li
3aae7b9113 Merge pull request #13637 from rainzm/automated-cherry-pick-of-#13636-upstream-release-3.9
Automated cherry pick of #13636: fix(region): add generate_name if not before validate guest creating data
2022-03-08 13:04:11 +08:00
Zexi Li
aee9ee2abf Merge pull request #13547 from zexi/update-etcd-package-v3.9
feat(vendor): update etcd package for v3.9
2022-03-08 10:41:56 +08:00
Zexi Li
f3b0275885 Merge pull request #13630 from zexi/automated-cherry-pick-of-#13629-upstream-release-3.9
Automated cherry pick of #13629: feat(region): instance snapshot with_memory filter
2022-03-08 10:40:57 +08:00
Zexi Li
aba19b4f42 Merge pull request #13632 from rainzm/automated-cherry-pick-of-#13631-upstream-release-3.9
Automated cherry pick of #13631: Instancebackup force delete
2022-03-08 10:40:30 +08:00
Zexi Li
396f2d81d5 Merge pull request #13634 from ioito/automated-cherry-pick-of-#13633-upstream-release-3.9
Automated cherry pick of #13633: fix(region): allow skip server sync by system tags
2022-03-08 10:34:34 +08:00
rainzm
7e8b30f0be fix(region): add generate_name if not before validate guest creating data 2022-03-07 19:00:01 +08:00
ioito
63f2c992b1 fix(region): allow skip server sync by system tags 2022-03-07 17:45:26 +08:00
rainzm
aaa70fe02e feat(region): support for forced deletion of instance backups 2022-03-07 17:39:33 +08:00
rainzm
f3d0364d6a feat(climc): add DeleteWithParam 2022-03-07 17:39:33 +08:00
rainzm
0cb26254bb feat(region): check backup storage status before making backup 2022-03-07 17:39:33 +08:00
Zexi Li
e3c4e0685f Merge pull request #13607 from swordqiu/automated-cherry-pick-of-#13606-upstream-release-3.9
Automated cherry pick of #13606: fix: disable cache for oidc auth callback
2022-03-07 16:01:05 +08:00
Zexi Li
23e1af8cc5 Merge pull request #13621 from ioito/automated-cherry-pick-of-#13620-upstream-release-3.9
Automated cherry pick of #13620: fix(region): qcloud disk range changed
2022-03-07 16:00:16 +08:00
Zexi Li
53b3a78657 Merge pull request #13625 from zexi/automated-cherry-pick-of-#13624-upstream-release-3.9
Automated cherry pick of #13624: feat(telegraf-raid-plugin): update rootfs and image version
2022-03-07 15:59:32 +08:00
Zexi Li
0c9cf44129 feat(region): instance snapshot with_memory filter 2022-03-07 15:58:50 +08:00
Zexi Li
f9b9cf321f feat(telegraf-raid-plugin): update rootfs and image version 2022-03-07 12:14:40 +08:00
ioito
5e296d3324 fix(region): qcloud disk range changed 2022-03-07 11:14:24 +08:00
Rain Zheng
fe8ee9b4fb Automated cherry pick of #13618: Instancebackup/syncstatus (#13619)
* feat(region): add status in snapshot or save phase for instancebackup

* feat(region): add sync_status for instancebackup

* fix(region): ignore uefi support check when related property is empty

* feat(region): add syncstatus for backup storage

* fix(region): correct stage for InstanceBackupDeleteTask

* feat(climc): add syncstatus for backupstorage and instancebackup
2022-03-07 09:52:32 +08:00
ioito
935aaca3c6 feat(region): support bingocloud sync 2022-03-06 17:28:50 +08:00
Rain Zheng
d473a7f162 fix(scheduledtask): treat hour and minute as utc time (#13611) 2022-03-06 17:08:00 +08:00
屈轩
1436a28bb8 fix(region): rds project sync (#13614) 2022-03-06 17:07:14 +08:00
Qiu Jian
f1448583d0 fix: disable cache for oidc auth callback 2022-03-06 12:01:25 +08:00
Zexi Li
3c33be673a Merge pull request #13604 from ioito/automated-cherry-pick-of-#13603-upstream-release-3.9
Automated cherry pick of #13603: fix(region): expend length lb info
2022-03-06 11:07:17 +08:00
ioito
a8a8b5e5ac fix(region): expend length lb info 2022-03-06 11:05:47 +08:00
Zexi Li
9c36ddc1a3 Merge pull request #13583 from ioito/automated-cherry-pick-of-#13582-upstream-release-3.9
Automated cherry pick of #13582: fix(keystone, apigateway): project role with metadata
2022-03-06 10:21:18 +08:00
Zexi Li
fb21daf79a Merge pull request #13601 from ioito/automated-cherry-pick-of-#13600-upstream-release-3.9
Automated cherry pick of #13600: fix(region): remote useless info of azure lb
2022-03-06 10:20:08 +08:00
ioito
20bbe57327 fix(region): remote useless info of azure lb 2022-03-06 10:03:11 +08:00
Zexi Li
3f240113cb Merge pull request #13597 from rainzm/automated-cherry-pick-of-#13596-upstream-release-3.9
Automated cherry pick of #13596: fix(ansible): use the correct length value 'text'
2022-03-04 22:00:30 +08:00
rainzm
2e321832eb fix(ansible): use the correct length value 'text' 2022-03-04 16:13:31 +08:00
Zexi Li
008614798b Merge pull request #13594 from ioito/automated-cherry-pick-of-#13593-upstream-release-3.9
Automated cherry pick of #13593: fix(region): external project filter by manager id
2022-03-04 12:28:30 +08:00
ioito
fb886df9fe fix(region): external project filter by manager id 2022-03-04 12:03:43 +08:00
Zexi Li
22d9c5961e Merge pull request #13580 from zexi/automated-cherry-pick-of-#13577-upstream-release-3.9
Automated cherry pick of #13577: feat(host): server instance snapshot with memory
2022-03-04 10:17:18 +08:00
Zexi Li
6b0710028f Merge pull request #13574 from rainzm/automated-cherry-pick-of-#13573-upstream-release-3.9
Automated cherry pick of #13573: class metadata limit for vpc, wire and network
2022-03-03 21:01:25 +08:00
Zexi Li
4f5766d858 Merge pull request #13590 from rainzm/automated-cherry-pick-of-#13589-upstream-release-3.9
Automated cherry pick of #13589: fix(region,devtool): get ssh port from 'servers/<id>/sshport' api
2022-03-03 21:00:20 +08:00
Zexi Li
49140e8d42 Merge pull request #13585 from ioito/automated-cherry-pick-of-#13584-upstream-release-3.9
Automated cherry pick of #13584: fix(region): not allow merge default secgroup
2022-03-03 20:59:23 +08:00
rainzm
588eab575d fix(region,devtool): get ssh port from 'servers/<id>/sshport' api 2022-03-03 19:05:04 +08:00
Zexi Li
2042799c16 Merge pull request #13579 from zexi/automated-cherry-pick-of-#13578-upstream-release-3.9
Automated cherry pick of #13578: fix(host): remove addr of qemu nic option
2022-03-03 16:25:29 +08:00
Zexi Li
f2e59887f6 Merge pull request #13588 from zexi/automated-cherry-pick-of-#13581-upstream-release-3.9
Automated cherry pick of #13581: fix(region): instance snapshot reset should match self guest
2022-03-03 16:25:03 +08:00
Zexi Li
98f8c76dd0 fix(region): instance snapshot reset should match self guest 2022-03-03 15:52:50 +08:00
ioito
2688dbe4a8 fix(region): not allow merge default secgroup 2022-03-03 15:49:59 +08:00
ioito
00fdad777f fix(keystone, apigateway): project role with metadata 2022-03-03 15:35:27 +08:00
Zexi Li
b211b8e569 feat(host): server instance snapshot with memory 2022-03-03 14:37:29 +08:00
Zexi Li
74a7ada3c1 Merge pull request #13576 from swordqiu/automated-cherry-pick-of-#13575-upstream-release-3.9
Automated cherry pick of #13575: fix: host update sn
2022-03-03 09:29:43 +08:00
Zexi Li
2cc257cb75 fix(host): remove addr of qemu nic option 2022-03-03 09:29:06 +08:00
Qiu Jian
e5ec456608 fix: host update sn 2022-03-02 20:35:58 +08:00
rainzm
39289c486b fix(scheduler): ignore classmetadata check when it is nil 2022-03-02 17:32:42 +08:00
rainzm
08c03964c0 feat(region): increase classmetadata limit for vpc, wire, network and host
host will inherit wire's classmetadata when adding netif and netif is
admin type
2022-03-02 17:32:42 +08:00
Zexi Li
fc423dadd6 Merge pull request #13571 from ioito/automated-cherry-pick-of-#13570-upstream-release-3.9
Automated cherry pick of #13570: fix(host): rbd disk path
2022-03-02 12:01:03 +08:00
ioito
ff8dac1f29 fix(host): rbd disk path 2022-03-02 11:44:41 +08:00
Zexi Li
2aa6d5d680 Merge pull request #13567 from ioito/automated-cherry-pick-of-#13566-upstream-release-3.9
Automated cherry pick of #13566: fix(notify): add panic notify
2022-03-01 19:18:52 +08:00
Zexi Li
e583935aa5 Merge pull request #13564 from rainzm/automated-cherry-pick-of-#13563-upstream-release-3.9
Automated cherry pick of #13563: fix(region): expiration notification works for resources after renewal
2022-03-01 19:06:46 +08:00
rainzm
6040286514 fix(region): expiration notification works for resources after renewal 2022-03-01 17:22:48 +08:00
ioito
fe48e8a04c fix(notify): add panic notify 2022-03-01 17:19:19 +08:00
Zexi Li
a6b5c8ad1c Merge pull request #13556 from ioito/automated-cherry-pick-of-#13555-upstream-release-3.9
Automated cherry pick of #13555: fi(apigateway): user info with totp
2022-03-01 11:15:12 +08:00
Zexi Li
9ca75daa3b Merge pull request #13562 from ioito/automated-cherry-pick-of-#13561-upstream-release-3.9
Automated cherry pick of #13561: fix(climc): add cmd for global vpc
2022-03-01 11:07:57 +08:00
Zexi Li
0faa4af662 Merge pull request #13553 from ioito/automated-cherry-pick-of-#13552-upstream-release-3.9
Automated cherry pick of #13552: fix(yunionapi): reset password with base64
2022-03-01 11:04:29 +08:00
ioito
bc5c833ce5 fix(climc): add cmd for global vpc 2022-02-28 15:25:39 +08:00
Zexi Li
ed1933e1ef Merge pull request #13550 from ioito/automated-cherry-pick-of-#13529-upstream-release-3.9
Automated cherry pick of #13529: fix(region): aws rds create
2022-02-28 15:14:43 +08:00
ioito
70e6f06452 fi(apigateway): user info with totp 2022-02-28 11:16:10 +08:00
ioito
e461367556 fix(yunionapi): reset password with base64 2022-02-28 10:55:38 +08:00
Zexi Li
4e15212c64 Merge pull request #13294 from rainzm/automated-cherry-pick-of-#13293-upstream-release-3.9
Automated cherry pick of #13293: fix(glance): convert image in s3 storage
2022-02-28 10:48:30 +08:00
Zexi Li
9c3aafce7b feat(region): add server-cpuset-cores cmd to get pinned and usable cores (#13549) 2022-02-26 21:44:01 +08:00
屈轩
f4a68dbde4 fix(region): project tags filter for usages (#13477) 2022-02-26 14:28:27 +08:00
rainzm
c4160e72b4 fix(glance): re-convert as long as subformat is not active
之前的写法会导致saving或者save_fail状态的subformat,不会再次
转换。而且镜像是否需要转换,由ImageCheckTask决定了,ImageConvertTask
只需要注意不重新转换active的subformat就好了,save失败的subformat
也应该设置状态为save_fail。
2022-02-25 18:54:45 +08:00
rainzm
485157fb9e fix(glance): convert image in s3 storage 2022-02-25 18:54:45 +08:00
ioito
4971ad5450 fix(region): aws rds create 2022-02-25 18:35:36 +08:00
Zexi Li
70d434662e feat(vendor): update etcd package 2022-02-25 16:50:53 +08:00
Zexi Li
cfba372181 Merge pull request #13537 from ioito/automated-cherry-pick-of-#13536-upstream-release-3.9
Automated cherry pick of #13536: fix(region): nutanix nic sync
2022-02-25 16:39:19 +08:00
Zexi Li
6fd4523655 Merge pull request #13544 from zexi/automated-cherry-pick-of-#13543-upstream-release-3.9
Automated cherry pick of #13543: fix(host): arm kvm duplicate video0 device
2022-02-25 10:14:17 +08:00
Zexi Li
b371c1b493 Merge pull request #13540 from ioito/automated-cherry-pick-of-#13539-upstream-release-3.9
Automated cherry pick of #13539: fix(climc): add --help for other cli
2022-02-24 23:48:59 +08:00
Zexi Li
99d108b4f4 fix(host): arm kvm duplicate video0 device 2022-02-24 23:18:41 +08:00
Zexi Li
dae58011b8 Merge pull request #13542 from rainzm/automated-cherry-pick-of-#13541-upstream-release-3.9
Automated cherry pick of #13541: fix(region): call parent's PostCreate in virtualResourceBase.PostCreate
2022-02-24 19:08:44 +08:00
rainzm
7a11e76f2d fix(region): call parent's PostCreate in virtualResourceBase.PostCreate 2022-02-24 18:53:10 +08:00
ioito
b04015baa1 fix(climc): add --help for other cli 2022-02-24 16:16:33 +08:00
ioito
4cb1b83dba fix(region): nutanix nic sync 2022-02-24 14:35:38 +08:00
Zexi Li
8a33d4adb1 Merge pull request #13530 from swordqiu/automated-cherry-pick-of-#13510-upstream-release-3.9
Automated cherry pick of #13510: fix: allow IDP initiated SAML login
2022-02-24 11:53:39 +08:00
Zexi Li
085dbd32f2 Merge pull request #13535 from ioito/automated-cherry-pick-of-#13480-upstream-release-3.9
Automated cherry pick of #13480: fix(climc): support --help args
2022-02-24 11:53:18 +08:00
ioito
64e93c485a fix(climc): support --help args 2022-02-24 11:16:23 +08:00
Zexi Li
3956fb2c74 Merge pull request #13532 from rainzm/automated-cherry-pick-of-#13531-upstream-release-3.9
Automated cherry pick of #13531: fix(region): init scalinggroup controller in correct order
2022-02-24 10:18:05 +08:00
rainzm
8082ef4f63 fix(region): init scalinggroup controller in correct order 2022-02-23 20:14:48 +08:00
Zexi Li
ab7cd85201 Automated cherry pick of #13527: feat(region,host): server cpuset supported (#13528)
* feat(region,host): server cpuset supported

* feat(region,host): cpuset remove
2022-02-23 16:07:15 +08:00
Qiu Jian
bf4a0ae949 fix: allow IDP initiated SAML login 2022-02-23 15:31:40 +08:00
Zexi Li
23b6f965b3 Merge pull request #13526 from rainzm/automated-cherry-pick-of-#13525-upstream-release-3.9
Automated cherry pick of #13525: feat(region,host): support packing and unpacking instancebackup
2022-02-23 14:54:20 +08:00
rainzm
3068e081b7 fix: update generated model 2022-02-23 14:45:52 +08:00
rainzm
8f22e72399 feat(region,host): support packing and unpacking instancebackup 2022-02-23 14:30:41 +08:00
Zexi Li
48f45387cf Merge pull request #13519 from ioito/automated-cherry-pick-of-#13518-upstream-release-3.9
Automated cherry pick of #13518: fix(region): vm nic sync with network
2022-02-22 19:23:18 +08:00
Rain Zheng
f58eba6ff0 fix(region): delete disk actually when cleaning disks (#13522) 2022-02-22 17:59:13 +08:00
ioito
26041425e5 fix(region): vm nic sync with network 2022-02-22 15:58:43 +08:00
Zexi Li
0ebd63b325 Merge pull request #13516 from ioito/automated-cherry-pick-of-#13515-upstream-release-3.9
Automated cherry pick of #13515: fix(host): host register
2022-02-22 15:53:20 +08:00
ioito
b981dcf280 fix(host): host register 2022-02-22 15:29:36 +08:00
Zexi Li
a4a8ff15ac Merge pull request #13512 from ioito/automated-cherry-pick-of-#13511-upstream-release-3.9
Automated cherry pick of #13511: fix(host): ceph df with total_bytes
2022-02-22 11:04:00 +08:00
ioito
a97c3c0282 fix(host): ceph df with total_bytes 2022-02-22 09:48:18 +08:00
Zexi Li
165d3de4c4 fix(region): live migrate skip_kernel_check api (#13509) 2022-02-21 21:22:30 +08:00
Zexi Li
8b58ae5991 Merge pull request #13497 from ioito/automated-cherry-pick-of-#13496-upstream-release-3.9
Automated cherry pick of #13496: fix(host): add host online offline log
2022-02-21 18:11:34 +08:00
Zexi Li
4d71e83fcb Merge pull request #13494 from zexi/automated-cherry-pick-of-#13493-upstream-release-3.9
Automated cherry pick of #13493: fix(host-image): update build flags
2022-02-21 18:10:20 +08:00
Zexi Li
07e0e0d455 Merge pull request #13500 from swordqiu/automated-cherry-pick-of-#13499-upstream-release-3.9
Automated cherry pick of #13499: feature: policy limited by time range
2022-02-21 18:09:54 +08:00
Zexi Li
0862edc3dc Merge pull request #13503 from ioito/automated-cherry-pick-of-#13502-upstream-release-3.9
Automated cherry pick of #13502: fix(climc): log purge
2022-02-21 18:09:19 +08:00
Zexi Li
e00c2a7312 Merge pull request #13505 from swordqiu/automated-cherry-pick-of-#13504-upstream-release-3.9
Automated cherry pick of #13504: fix: user create user nil pointer error
2022-02-21 16:53:21 +08:00
Qiu Jian
c0860eb514 fix: user create user nil pointer error 2022-02-21 12:17:35 +08:00
ioito
8dcf415f15 fix(climc): log purge 2022-02-21 10:46:57 +08:00
Qiu Jian
5635ff99e1 feature: policy limited by time range 2022-02-20 02:17:40 +08:00
ioito
2270b3d595 fix(host): add host online offline log 2022-02-18 18:31:37 +08:00
Zexi Li
223872fe1f fix(host-image): update build flags 2022-02-18 10:54:25 +08:00
Zexi Li
53c545c49c Merge pull request #13490 from rainzm/automated-cherry-pick-of-#13489-upstream-release-3.9
Automated cherry pick of #13489: feat(climc): add public and private for backupstorage
2022-02-18 09:50:39 +08:00
Zexi Li
028d83d534 Merge pull request #13479 from ioito/automated-cherry-pick-of-#13478-upstream-release-3.9
Automated cherry pick of #13478: fix(climc): server create with disk desc
2022-02-18 09:50:04 +08:00
Zexi Li
5f595f2b8e Merge pull request #13492 from zexi/automated-cherry-pick-of-#13485-upstream-release-3.9
Automated cherry pick of #13485: fix(baremetal): update baremetal-base image version
2022-02-18 09:48:08 +08:00
Zexi Li
1dd1457de5 fix(baremetal): update baremetal-base image version 2022-02-17 22:10:02 +08:00
rainzm
b88cacf7d7 feat(climc): add public and private for backupstorage 2022-02-17 19:23:30 +08:00
Zexi Li
2c28f3f47e Merge pull request #13487 from rainzm/automated-cherry-pick-of-#13486-upstream-release-3.9
Automated cherry pick of #13486: fix(region): send SERVER_DELETE event notify when guest is actually deleted
2022-02-17 17:55:13 +08:00
rainzm
8eaf0cd8ac fix(region): send SERVER_DELETE event notify when guest is actually deleted 2022-02-17 17:45:09 +08:00
Zexi Li
b46633c317 Merge pull request #13476 from swordqiu/automated-cherry-pick-of-#13475-upstream-release-3.9
Automated cherry pick of #13475: fix: not initialize input BIOS
2022-02-17 11:59:01 +08:00
Zexi Li
d54392d89d Merge pull request #13482 from rainzm/automated-cherry-pick-of-#13481-upstream-release-3.9
Automated cherry pick of #13481: Fix for secret/resource
2022-02-16 20:24:54 +08:00
rainzm
db9ef0985e fix: add common Inherit 2022-02-16 20:16:51 +08:00
rainzm
918772bdb7 fix(image): add independent PerformChangeOwner for image 2022-02-16 20:16:51 +08:00
Zexi Li
13571fcb48 Merge pull request #13372 from rainzm/automated-cherry-pick-of-#13371-upstream-release-3.9
Automated cherry pick of #13371: Classification of resources
2022-02-16 17:52:03 +08:00
rainzm
d55330da2d fix(scheduler): add GetAllClassMedata in mock test 2022-02-16 17:45:01 +08:00
rainzm
e54788521d feat: add GetAllClassMetadata for tenantcache 2022-02-16 17:45:01 +08:00
rainzm
7b03a02c90 feat: add project with class metadata 2022-02-16 17:45:01 +08:00
rainzm
3f057a6fa5 feat(climc): add (set-)class-metadata 2022-02-16 17:45:01 +08:00
rainzm
e9b34f2842 fix(region): remove secret level resource 2022-02-16 17:45:01 +08:00
rainzm
4a1460d1cf feat(region): add class-metadata for standaloneAnonResource 2022-02-16 17:45:01 +08:00
rainzm
c3976861d1 feat(region): check class_metadate when attach disk to guest 2022-02-16 17:45:01 +08:00
rainzm
2d7c77d8c2 feat(region,image): inherit between resources
host -> guest -> disk -> image/backup/snapshot
          |
instance image/backup/snapshot -> image/backup/snapshot
2022-02-16 17:45:01 +08:00
rainzm
5d0707a4e8 feat(scheduler): add class_metadata predicate 2022-02-16 17:45:00 +08:00
rainzm
a78fdaa975 feat(region,image): cachedimage inherits the class metadata of image 2022-02-16 17:45:00 +08:00
rainzm
761defc187 feat(region,image): add SecretResourceBase 2022-02-16 17:45:00 +08:00
rainzm
3d97646620 feat(region): add metadata prefix 'cls'
Such tags have inherited and isolated properties
2022-02-16 17:45:00 +08:00
ioito
890fbd5ea4 fix(climc): server create with disk desc 2022-02-16 16:25:08 +08:00
Qiu Jian
8aeebbad16 fix: not initialize input BIOS 2022-02-16 14:24:36 +08:00
Zexi Li
e2bde82254 Merge pull request #13469 from ioito/automated-cherry-pick-of-#13468-upstream-release-3.9
Automated cherry pick of #13468: fix(glance): image statistics
2022-02-16 10:27:19 +08:00
Zexi Li
4b0f456a2f Merge pull request #13458 from ioito/automated-cherry-pick-of-#13457-upstream-release-3.9
Automated cherry pick of #13457: fix(keyston): add sync log for ldap
2022-02-15 19:04:25 +08:00
Zexi Li
570b08328a Merge pull request #13464 from ioito/automated-cherry-pick-of-#13463-upstream-release-3.9
Automated cherry pick of #13463: fix(region): tag key export
2022-02-15 19:02:53 +08:00
Zexi Li
08a86eddb9 fix(baremetal): grub msdos partition detected (#13467) 2022-02-15 18:58:12 +08:00
ioito
7f47724ebe fix(glance): image statistics 2022-02-15 18:47:47 +08:00
ioito
2f9a1ceb1a fix(region): tag key export 2022-02-15 18:16:38 +08:00
Zexi Li
c43e03fcb3 Merge pull request #13461 from ioito/automated-cherry-pick-of-#13460-upstream-release-3.9
Automated cherry pick of #13460: fix(region): qcloud tdsql tags
2022-02-15 17:54:38 +08:00
ioito
f9d49a6a74 fix(region): qcloud tdsql tags 2022-02-15 17:30:54 +08:00
ioito
d7209a17d6 fix(keyston): add sync log for ldap 2022-02-15 15:48:03 +08:00
Zexi Li
839f95014a Merge pull request #13452 from swordqiu/automated-cherry-pick-of-#13451-upstream-release-3.9
Automated cherry pick of #13451: fix: class network mtu should consider default_mtu
2022-02-15 15:25:17 +08:00
Zexi Li
4a4089482e Merge pull request #13455 from zexi/automated-cherry-pick-of-#13454-upstream-release-3.9
Automated cherry pick of #13454: fix(host): aarch64 vm usb id duplicated
2022-02-15 15:24:26 +08:00
Zexi Li
49ebfa9d32 fix(host): aarch64 vm usb id duplicated 2022-02-15 11:36:06 +08:00
Qiu Jian
1338845c0a fix: class network mtu should consider default_mtu 2022-02-15 09:59:39 +08:00
Zexi Li
d84eb997ad Merge pull request #13449 from swordqiu/automated-cherry-pick-of-#13442-upstream-release-3.9
Automated cherry pick of #13442: fix: filter server by vip or eip of vip
2022-02-15 09:52:37 +08:00
Qiu Jian
f480e8d8fd fix: filter server by vip or eip of vip 2022-02-15 08:59:05 +08:00
Zexi Li
0ade12c14d Merge pull request #13447 from ioito/automated-cherry-pick-of-#13446-upstream-release-3.9
Automated cherry pick of #13446: fix(host): arm qemu remove -no-kvm
2022-02-14 21:31:54 +08:00
Zexi Li
ab25805da5 Merge pull request #13444 from ioito/automated-cherry-pick-of-#13443-upstream-release-3.9
Automated cherry pick of #13443: fix(region): minio s3 object set acl error
2022-02-14 18:59:14 +08:00
ioito
dcea58a705 fix(host): arm qemu remove -no-kvm 2022-02-14 17:47:18 +08:00
ioito
3741b588c6 fix(region): minio s3 object set acl error 2022-02-14 15:23:50 +08:00
Zexi Li
57e46a5694 Merge pull request #13440 from swordqiu/automated-cherry-pick-of-#13439-upstream-release-3.9
Automated cherry pick of #13439: fix: delete disk skip recycle_bin
2022-02-14 09:59:43 +08:00
Zexi Li
7bab145b3b Merge pull request #13410 from ioito/automated-cherry-pick-of-#13409-upstream-release-3.9
Automated cherry pick of #13409: fix(region): associate manager with external project
2022-02-14 09:59:00 +08:00
Qiu Jian
90f7b9aa8a fix: delete disk skip recycle_bin 2022-02-13 20:46:40 +08:00
Zexi Li
f7d881a830 Merge pull request #13427 from swordqiu/automated-cherry-pick-of-#13426-upstream-release-3.9
Automated cherry pick of #13426: fix: delay block stream after server start
2022-02-12 21:15:23 +08:00
Zexi Li
b27c2f3b3f Merge pull request #13431 from swordqiu/automated-cherry-pick-of-#13430-upstream-release-3.9
Automated cherry pick of #13430: feature: local user add need_reset_password field
2022-02-12 21:14:42 +08:00
Zexi Li
4e783b2ab8 Merge pull request #13434 from swordqiu/automated-cherry-pick-of-#13433-upstream-release-3.9
Automated cherry pick of #13433: feature: customizable totp issuer string
2022-02-12 21:14:07 +08:00
Zexi Li
f085291db3 Merge pull request #13437 from swordqiu/automated-cherry-pick-of-#13436-upstream-release-3.9
Automated cherry pick of #13436: fix: missing instance type for cloned server
2022-02-12 21:13:36 +08:00
Qiu Jian
85be7c2894 fix: missing instance type for cloned server 2022-02-12 06:18:01 +08:00
Qiu Jian
8f851c4bda feature: local user add need_reset_password field 2022-02-12 02:21:33 +08:00
Qiu Jian
359b257195 feature: customizable totp issuer string 2022-02-12 02:18:27 +08:00
Qiu Jian
ad0c588520 fix: delay block stream after server start 2022-02-12 00:34:18 +08:00
Zexi Li
4aa675515c Merge pull request #13423 from ioito/automated-cherry-pick-of-#13422-upstream-release-3.9
Automated cherry pick of #13422: feat(region): bingo cloud cli
2022-02-11 20:13:47 +08:00
ioito
c3523cff4f feat(region): bingo cloud cli 2022-02-11 18:26:02 +08:00
Zexi Li
0493496015 fix(region): vm_sync_isolated_device i18n (#13420) 2022-02-11 12:16:27 +08:00
Zexi Li
b0cdde4a4c feat(baremetal): grub http boot initrd and kernel (#13416) 2022-02-11 12:14:53 +08:00
Zexi Li
68824c3ae9 Merge pull request #13417 from ioito/automated-cherry-pick-of-#13415-upstream-release-3.9
Automated cherry pick of #13415: fix(region): action log
2022-02-11 11:38:00 +08:00
ioito
3e7c86f7ac fix(region): action log 2022-02-11 11:12:09 +08:00
Zexi Li
8d878bb795 Merge pull request #13407 from ioito/automated-cherry-pick-of-#13406-upstream-release-3.9
Automated cherry pick of #13406: fix(region): skip first sync waf rule
2022-02-10 18:26:48 +08:00
Zexi Li
1dfd878c35 Merge pull request #13412 from swordqiu/automated-cherry-pick-of-#13411-upstream-release-3.9
Automated cherry pick of #13411: feature: policy import/export utils
2022-02-10 18:25:51 +08:00
Qiu Jian
cae3bd6849 feature: policy import/export utils 2022-02-10 18:16:05 +08:00
ioito
b61f3f9b49 fix(region): associate manager with external project 2022-02-10 17:17:29 +08:00
ioito
858aa15700 fix(region): skip first sync waf rule 2022-02-10 16:23:51 +08:00
Zexi Li
32d94e25cd fix(baremetal): add boot_loader syslinux and grub option (#13402) 2022-02-09 20:36:33 +08:00
Zexi Li
d67cf16a10 Merge pull request #13405 from zhaoxiangchun/automated-cherry-pick-of-#13404-upstream-release-3.9
Automated cherry pick of #13404: fix(cloudmon): fix  Apsara elb metric
2022-02-09 17:40:43 +08:00
Zexi Li
0523a79d23 Merge pull request #13399 from ioito/automated-cherry-pick-of-#13398-upstream-release-3.9
Automated cherry pick of #13398: fix(region): huawei routetable
2022-02-09 17:35:39 +08:00
zhaoxiangchun
6a87e9f2b1 fix(cloudmon): fix Apsara elb metric 2022-02-09 17:29:57 +08:00
ioito
0bf93d3cea fix(region): huawei routetable 2022-02-09 14:07:33 +08:00
Zexi Li
eb652dc041 Merge pull request #13397 from ioito/automated-cherry-pick-of-#13396-upstream-release-3.9
Automated cherry pick of #13396: fix(host): sparse file seek
2022-02-09 10:40:16 +08:00
ioito
700053515e fix(host): sparse file seek 2022-02-09 10:31:57 +08:00
Zexi Li
856282c9c8 Merge pull request #13394 from zexi/automated-cherry-pick-of-#13392-upstream-release-3.9
Automated cherry pick of #13392: fix(host): make tls-creds empty when no tls migrate
2022-02-08 16:45:24 +08:00
Zexi Li
474f3ae550 fix(host): make tls-creds empty when no tls migrate 2022-02-08 16:42:34 +08:00
Zexi Li
798b9207a9 Merge pull request #13391 from zexi/automated-cherry-pick-of-#13389-upstream-release-3.9
Automated cherry pick of #13389: fix(region): batch migrate use enable_tls_migration option
2022-02-08 16:13:22 +08:00
Zexi Li
6227df8e3d fix(region): batch migrate use enable_tls_migration option 2022-02-08 15:13:09 +08:00
Zexi Li
20f7d3f270 Merge pull request #13387 from zexi/automated-cherry-pick-of-#13386-upstream-release-3.9
Automated cherry pick of #13386: fix(host): dist prepare migrate_certs
2022-02-08 12:36:30 +08:00
Zexi Li
bb08fcc7b2 fix(host): dist prepare migrate_certs 2022-02-08 12:30:44 +08:00
Zexi Li
b166e1ec58 Merge pull request #13383 from swordqiu/automated-cherry-pick-of-#13382-upstream-release-3.9
Automated cherry pick of #13382: fix: qemu-img info force share (-U)
2022-02-08 10:09:49 +08:00
Qiu Jian
b3f7eb473f fix: qemu-img info force share (-U) 2022-02-08 02:27:22 +08:00
Zexi Li
7d1468e3ad feat(region,keystone): add enable_tls_migration config (#13380) 2022-02-07 15:24:34 +08:00
Zexi Li
e6ab6ebdc5 Merge pull request #13377 from swordqiu/automated-cherry-pick-of-#13376-upstream-release-3.9
Automated cherry pick of #13376: feature: cleanup native hugepage codes
2022-02-07 14:20:31 +08:00
Qiu Jian
df8d6e155a feature: cleanup native hugepage codes 2022-02-06 17:59:47 +08:00
Jian Qiu
9314f0e1ce feature: baremetal tftp send customized files according to a file map (#13375)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-02-03 21:21:26 +08:00
Rain Zheng
cb06987b01 fix(host): judge whether the resource exists correctly (#13369) 2022-01-29 00:58:27 +08:00
屈轩
993f714856 fix(region): optimized public image sync (#13356) 2022-01-29 00:56:49 +08:00
Jian Qiu
3f58cc45e4 fix: test secgroup rules to ovn ACL and recode guest adminSecgroup (#13362)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-01-29 00:51:30 +08:00
屈轩
0f356fbb51 fix(region): update go mod (#13365) 2022-01-28 15:28:39 +08:00
屈轩
05aedacc62 fix(common): tenant cache name (#13367) 2022-01-28 15:28:14 +08:00
屈轩
ae641bb72a fix(host,region): add action log (#13303) 2022-01-28 11:18:02 +08:00
屈轩
0a16ceb2bb fix(region): set sys disk index to 0 (#13323) 2022-01-28 11:16:55 +08:00
屈轩
b3dbbe867a fix(region): 支持同时指定项目切自动创建项目 (#13360) 2022-01-28 11:13:24 +08:00
Zexi Li
414953534c Merge pull request #13354 from ioito/automated-cherry-pick-of-#13341-upstream-release-3.9
Automated cherry pick of #13341: feat(host): transfer sparse file over network
2022-01-27 15:33:50 +08:00
Zexi Li
9e7c4eb939 Merge pull request #13349 from ioito/automated-cherry-pick-of-#13348-upstream-release-3.9
Automated cherry pick of #13348: fix(region): clear vm secgroup
2022-01-27 15:28:55 +08:00
Zexi Li
94e9506f9f Merge pull request #13351 from zexi/automated-cherry-pick-of-#13339-upstream-release-3.9
Automated cherry pick of #13339: Tls migration
2022-01-27 15:28:18 +08:00
ioito
72584a936e feat(host): transfer sparse file over network 2022-01-27 14:33:57 +08:00
Zexi Li
1eb2b52f6c Merge pull request #13346 from ioito/automated-cherry-pick-of-#13345-upstream-release-3.9
Automated cherry pick of #13345: fix(region): nutanix disk
2022-01-27 12:25:33 +08:00
Zexi Li
bbbed559a3 feat(region,host): tls live migrating 2022-01-27 12:05:32 +08:00
Zexi Li
d900384c10 feat(util): add tls util 2022-01-27 12:05:31 +08:00
ioito
47842e63e8 fix(region): clear vm secgroup 2022-01-27 11:17:30 +08:00
ioito
b398a22233 fix(region): nutanix disk 2022-01-27 10:17:09 +08:00
Zexi Li
940a94dd79 Merge pull request #13343 from swordqiu/automated-cherry-pick-of-#13342-upstream-release-3.9
Automated cherry pick of #13342: feature: support fangde OS
2022-01-27 01:37:11 +08:00
Qiu Jian
b637dc414f feature: support fangde OS 2022-01-26 23:27:38 +08:00
Zexi Li
61feb018a9 Merge pull request #13337 from ioito/automated-cherry-pick-of-#13336-upstream-release-3.9
Automated cherry pick of #13336: fix(region): huawei rtb name
2022-01-26 19:08:06 +08:00
Zexi Li
cfc62fac68 Merge pull request #13333 from ioito/automated-cherry-pick-of-#13332-upstream-release-3.9
Automated cherry pick of #13332: fix(region): nutanix image and vpc vlan id
2022-01-26 18:38:49 +08:00
Zexi Li
982783ed36 Merge pull request #13328 from rainzm/automated-cherry-pick-of-#13327-upstream-release-3.9
Automated cherry pick of #13327: fix(scheduledtask): format time from utc_offset
2022-01-26 17:48:38 +08:00
ioito
eaddf74eee fix(region): huawei rtb name 2022-01-26 16:13:42 +08:00
ioito
9f60311a75 fix(region): nutanix image and vpc vlan id 2022-01-26 15:48:40 +08:00
Zexi Li
273bb7bb98 Merge pull request #13331 from swordqiu/automated-cherry-pick-of-#13330-upstream-release-3.9
Automated cherry pick of #13330: fix: support qemu 4.2.0
2022-01-26 13:56:25 +08:00
Qiu Jian
06fd0efdbe fix: support qemu 4.2.0 2022-01-26 13:47:40 +08:00
rainzm
5229646094 fix(scheduledtask): format time from utc_offset 2022-01-26 12:02:53 +08:00
Zexi Li
ab873ee0c2 Merge pull request #13315 from ioito/automated-cherry-pick-of-#13314-upstream-release-3.9
Automated cherry pick of #13314: fix(keystone): add global setting
2022-01-26 10:47:57 +08:00
Zexi Li
9f2e16aa94 Merge pull request #13326 from rainzm/automated-cherry-pick-of-#13325-upstream-release-3.9
Automated cherry pick of #13325: Bugfix/bakcup
2022-01-26 10:47:04 +08:00
Zexi Li
d7d1f602bf Merge pull request #13320 from ioito/automated-cherry-pick-of-#13319-upstream-release-3.9
Automated cherry pick of #13319: fix(region): nutanix disk type
2022-01-26 10:30:00 +08:00
rainzm
1f613a9961 fix(region): marshall correctly SDiskBackup.DiskConfig 2022-01-25 17:53:21 +08:00
rainzm
237d9b650b fix(host): init local backup dir 2022-01-25 17:53:21 +08:00
ioito
717d6025bd fix(region): nutanix disk type 2022-01-25 16:52:27 +08:00
Zexi Li
575b49aa87 Merge pull request #13317 from ioito/automated-cherry-pick-of-#13316-upstream-release-3.9
Automated cherry pick of #13316: fix(region): nutanix instance vcpu
2022-01-25 14:58:00 +08:00
ioito
37ea4ad7bb fix(region): nutanix instance vcpu 2022-01-25 14:46:45 +08:00
ioito
5f2c6b4964 fix(keystone): add global setting 2022-01-25 14:15:58 +08:00
Zexi Li
457f3f80fb Merge pull request #13309 from swordqiu/automated-cherry-pick-of-#13308-upstream-release-3.9
Automated cherry pick of #13308: fix: allow view events of owner objects
2022-01-25 11:18:02 +08:00
Zexi Li
d0dbd264b3 Merge pull request #13312 from ioito/automated-cherry-pick-of-#13311-upstream-release-3.9
Automated cherry pick of #13311: fix(region): nutanix misc fix
2022-01-25 11:17:25 +08:00
ioito
88599207fd fix(region): nutanix misc fix 2022-01-25 11:10:55 +08:00
Qiu Jian
6fcb4daf3d fix: allow view events of owner objects 2022-01-25 02:08:20 +08:00
Zexi Li
27dc458b8f Merge pull request #13300 from ioito/automated-cherry-pick-of-#13299-upstream-release-3.9
Automated cherry pick of #13299: fix(region): nutanix duplicate vlan id
2022-01-24 23:29:59 +08:00
Zexi Li
6e939b250f Merge pull request #13306 from swordqiu/automated-cherry-pick-of-#13305-upstream-release-3.9
Automated cherry pick of #13305: fix: rng device should use urandom instead of random
2022-01-24 23:26:51 +08:00
Qiu Jian
bda29b5d39 fix: rng device should use urandom instead of random 2022-01-24 23:19:49 +08:00
Zexi Li
22ab0614bc Merge pull request #13242 from rainzm/automated-cherry-pick-of-#13239-upstream-release-3.9
Automated cherry pick of #13239: Instance/Disk Backup Support
2022-01-24 18:13:51 +08:00
ioito
f8d9b467fc fix(region): nutanix duplicate vlan id 2022-01-24 14:18:33 +08:00
Zexi Li
8f95d417e6 Merge pull request #13291 from swordqiu/automated-cherry-pick-of-#13290-upstream-release-3.9
Automated cherry pick of #13290: fix: baremetal mismatch with empty Guid
2022-01-24 10:46:45 +08:00
Qiu Jian
f6d5487709 fix: baremetal mismatch with empty Guid 2022-01-22 18:55:01 +08:00
Zexi Li
694356eda2 Merge pull request #13280 from ioito/automated-cherry-pick-of-#13216-upstream-release-3.9
Automated cherry pick of #13216: feat(region): support nutanix
2022-01-22 18:24:11 +08:00
Zexi Li
319056ac07 Merge pull request #13289 from zexi/automated-cherry-pick-of-#13288-upstream-release-3.9
Automated cherry pick of #13288: fix(region): add generate_name before validate creating data
2022-01-22 16:43:30 +08:00
rainzm
7d2ee93f0f fix(region): add generate_name before validate creating data 2022-01-22 16:43:09 +08:00
rainzm
3d7ec819dc fix(region): optimize codes
1. do not ignore err
2. replace jsonutils.JSONObject with specific structure
3. delete redundant code
4. fix edge problems
2022-01-22 15:37:30 +08:00
rainzm
9fb7c3c0aa fix(region): set status creating for instance backup when creating 2022-01-22 15:37:30 +08:00
rainzm
bec0637184 feat(climc): add climc command for instance/disk backup 2022-01-22 15:37:30 +08:00
rainzm
38cc99242a feat(region): support instance backup
Instance backup is a logical collection of multiple disk backups
2022-01-22 15:37:30 +08:00
rainzm
155f3b96e9 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-22 15:37:30 +08:00
rainzm
f886fba591 fix(cloudcommon): splice notifyurl correctly 2022-01-22 15:37:30 +08:00
Zexi Li
de5926159f Merge pull request #13283 from ioito/automated-cherry-pick-of-#13282-upstream-release-3.9
Automated cherry pick of #13282: fix(common): always return next_marker
2022-01-22 12:19:46 +08:00
Zexi Li
62d299fe14 Merge pull request #13286 from swordqiu/automated-cherry-pick-of-#13285-upstream-release-3.9
Automated cherry pick of #13285: fix: arm image support UEFI by default
2022-01-22 12:19:03 +08:00
Qiu Jian
ed2764c35c fix: arm image support UEFI by default 2022-01-21 19:04:36 +08:00
ioito
339aa215cb fix(common): always return next_marker 2022-01-21 18:44:29 +08:00
ioito
552cdee2a6 feat(region): support nutanix 2022-01-21 14:04:57 +08:00
Zexi Li
a43a0a393f fix(host): enable qemu log (#13279) 2022-01-21 13:19:42 +08:00
Zexi Li
0634c2cc4d Merge pull request #13277 from zexi/automated-cherry-pick-of-#12901-upstream-release-3.9
Automated cherry pick of #12901: feat(host): qemu 4.0.1 supported
2022-01-21 11:58:09 +08:00
Zexi Li
46087b57a1 fix(host): qmpmon typo 2022-01-21 11:52:41 +08:00
Zexi Li
406059b10d feat(host): qemu 4.0.1 supported 2022-01-21 11:52:41 +08:00
Zexi Li
41fb28b711 Merge pull request #13275 from zexi/automated-cherry-pick-of-#13274-upstream-release-3.9
Automated cherry pick of #13274: fix(hostman): cmdline option range panic
2022-01-21 11:51:06 +08:00
Zexi Li
47f2fee07d fix(hostman): cmdline option range panic 2022-01-21 11:47:14 +08:00
Zexi Li
b9e72e5529 Merge pull request #13266 from swordqiu/automated-cherry-pick-of-#13265-upstream-release-3.9
Automated cherry pick of #13265: fix: batch migrate in parrallel
2022-01-21 10:12:45 +08:00
Zexi Li
5e89424002 Merge pull request #13271 from swordqiu/automated-cherry-pick-of-#13269-upstream-release-3.9
Automated cherry pick of #13269: feature: support log to remote syslog server
2022-01-21 10:12:11 +08:00
Zexi Li
fa9278f982 Merge pull request #13270 from zexi/automated-cherry-pick-of-#13268-upstream-release-3.9
Automated cherry pick of #13268: Qemu migrate args
2022-01-21 09:55:59 +08:00
Zexi Li
13a1a6a3d1 feat(host,region): unify target qemu commandline from source 2022-01-21 00:37:46 +08:00
Qiu Jian
8308fe55c3 feature: support log to remote syslog server 2022-01-21 00:11:31 +08:00
Qiu Jian
49e6d9ad9a fix: batch migrate in parrallel 2022-01-20 21:41:56 +08:00
Zexi Li
c5f6500d9d Merge pull request #13261 from rainzm/automated-cherry-pick-of-#13260-upstream-release-3.9
Automated cherry pick of #13260: fix(host): Stop the retry of purge when the target does not exist
2022-01-20 21:09:17 +08:00
Zexi Li
f847705265 Merge pull request #13264 from zhaoxiangchun/automated-cherry-pick-of-#13263-upstream-release-3.9
Automated cherry pick of #13263: fix(cloudmon): fix cloudmon GetResourceByOperator
2022-01-20 21:08:49 +08:00
zhaoxiangchun
09d5a2d137 fix(cloudmon): fix cloudmon GetResourceByOperator 2022-01-20 19:02:07 +08:00
rainzm
99a40aae1e fix(host): Stop the retry of purge when the target does not exist 2022-01-20 18:08:43 +08:00
Zexi Li
c7a4f4087c Merge pull request #13258 from ioito/automated-cherry-pick-of-#13257-upstream-release-3.9
Automated cherry pick of #13257: fix(common): metadata update key
2022-01-20 17:43:43 +08:00
ioito
f7f89723df fix(common): metadata update key 2022-01-20 15:18:47 +08:00
Zexi Li
d3934c1ad9 Merge pull request #13244 from rainzm/automated-cherry-pick-of-#13243-upstream-release-3.9
Automated cherry pick of #13243: feat(notify): judge whether to enable automatic renewal when the expiration notice is given
2022-01-20 09:54:15 +08:00
Zexi Li
b8ae224679 Merge pull request #13256 from swordqiu/automated-cherry-pick-of-#13226-upstream-release-3.9
Automated cherry pick of #13226: fix: usages should be filtered by policy tags
2022-01-20 09:45:30 +08:00
Zexi Li
992cd0255c Merge pull request #13241 from swordqiu/automated-cherry-pick-of-#13240-upstream-release-3.9
Automated cherry pick of #13240: fix: add header x-xss-protection
2022-01-20 09:44:37 +08:00
Zexi Li
0e9d7e1d6a Merge pull request #13254 from swordqiu/automated-cherry-pick-of-#13253-upstream-release-3.9
Automated cherry pick of #13253: fix: vpcagent nil pointer panic
2022-01-20 09:43:50 +08:00
Qiu Jian
ed2e26be16 fix: usages should be filered by policy tags 2022-01-20 00:47:35 +08:00
Qiu Jian
2f5d34185b fix: vpcagent nil pointer panic 2022-01-20 00:44:27 +08:00
Zexi Li
656e8ebb4d fix(baremetal): raid ssd disk as firstly root disk (#13248) 2022-01-20 00:42:18 +08:00
Zexi Li
b032b49fb8 Merge pull request #13250 from ioito/automated-cherry-pick-of-#13249-upstream-release-3.9
Automated cherry pick of #13249: fix(apigateway): add is forget login user option
2022-01-19 20:06:20 +08:00
ioito
a0d1be21c1 fix(apigateway): add is forget login user option 2022-01-19 20:01:50 +08:00
rainzm
43af7d7c3a fix(region,notify): add create, delete and sync notification of loadbalancerbackendgroup 2022-01-19 19:21:50 +08:00
rainzm
c23f50c3cf feat(notify): judge whether to enable automatic renewal when the expiration notice is given 2022-01-19 19:21:50 +08:00
Qiu Jian
0221f03e4d fix: add header x-xss-protection 2022-01-19 13:00:40 +08:00
Zexi Li
af70990130 Merge pull request #13236 from ioito/automated-cherry-pick-of-#13235-upstream-release-3.9
Automated cherry pick of #13235: fix(region): vpc tag sync
2022-01-19 11:01:18 +08:00
ioito
885b271bbd fix(region): vpc tag sync 2022-01-19 10:58:30 +08:00
Zexi Li
97db184568 Merge pull request #13233 from ioito/automated-cherry-pick-of-#13232-upstream-release-3.9
Automated cherry pick of #13232: fix(region): qcloud lb bandwidth
2022-01-19 00:43:47 +08:00
ioito
da14e94e4a fix(region): qcloud lb bandwidth 2022-01-18 22:14:18 +08:00
Zexi Li
f970eb5245 Merge pull request #13228 from swordqiu/automated-cherry-pick-of-#13227-upstream-release-3.9
Automated cherry pick of #13227: fix: list join resource nil pointer access
2022-01-18 16:56:45 +08:00
Zexi Li
8299ab8b8d Merge pull request #13230 from zexi/automated-cherry-pick-of-#13229-upstream-release-3.9
Automated cherry pick of #13229: feat(build): make glance-base image
2022-01-18 16:46:49 +08:00
Zexi Li
1dfd8e2418 feat(build): make glance-base image 2022-01-18 16:22:27 +08:00
Qiu Jian
6abe033a80 fix: list join resource nil pointer access 2022-01-18 09:21:28 +08:00
Zexi Li
73c8ed7b68 fix(hostman): config BONDING_OPTS for ifcfg-bondx (#13224) 2022-01-18 02:46:51 +08:00
Zexi Li
a3a938c386 Merge pull request #13218 from swordqiu/automated-cherry-pick-of-#13217-upstream-release-3.9
Automated cherry pick of #13217: fix: full sync of project and domain metadata
2022-01-18 00:32:52 +08:00
Qiu Jian
69c05bb126 fix: full sync of project and domain metadata 2022-01-17 21:55:59 +08:00
Zexi Li
cd1a0419b8 Merge pull request #13220 from ioito/automated-cherry-pick-of-#13219-upstream-release-3.9
Automated cherry pick of #13219: fix(region): sync tags for vpc and network
2022-01-17 20:41:15 +08:00
ioito
cb875c98dd fix(region): sync tags for vpc and network 2022-01-17 20:37:47 +08:00
Zexi Li
e7a6bf633d Merge pull request #13214 from zexi/automated-cherry-pick-of-#13213-upstream-release-3.9
Automated cherry pick of #13213: fix(region): create wire input bw deprecated
2022-01-17 18:38:51 +08:00
Zexi Li
524cc2e7e0 fix(region): create wire input bw deprecated 2022-01-17 14:55:47 +08:00
Zexi Li
c8d1fe18dc Merge pull request #13204 from ioito/automated-cherry-pick-of-#13203-upstream-release-3.9
Automated cherry pick of #13203: fix(region): add cidr filter for route table
2022-01-17 10:09:49 +08:00
Zexi Li
7e1d311046 Merge pull request #13210 from swordqiu/automated-cherry-pick-of-#13207-upstream-release-3.9
Automated cherry pick of #13207: fix: handle exception that qemu quit or cancel migrate during migration
2022-01-17 10:09:25 +08:00
Zexi Li
b062507c24 Merge pull request #13211 from swordqiu/automated-cherry-pick-of-#13209-upstream-release-3.9
Automated cherry pick of #13209: feature: support dhcp relay information option 82
2022-01-17 10:08:16 +08:00
Qiu Jian
455a12a157 feature: support dhcp relay information option 82 2022-01-17 01:08:32 +08:00
Qiu Jian
12f0788f5a fix: handle exception that qemu quit or cancel migrate during migration 2022-01-17 01:07:59 +08:00
ioito
a44c9d9c7a fix(region): add cidr filter for route table 2022-01-15 16:14:33 +08:00
Zexi Li
02d0cc8307 Merge pull request #13202 from zhaoxiangchun/automated-cherry-pick-of-#13200-upstream-release-3.9
Automated cherry pick of #13200: fix(common): ListItemFilter func exec in the end
2022-01-15 10:42:02 +08:00
zhaoxiangchun
67374efb6c fix(common): ListItemFilter func exec in the end
1.ListItemFilter 中如果有group by 操作(meter服务),如果使用框架解析filter参数,
会把filter 解析加入到 having结构中。
2022-01-15 10:37:56 +08:00
Zexi Li
6759c2bb10 Merge pull request #13197 from zhaoxiangchun/automated-cherry-pick-of-#13196-upstream-release-3.9
Automated cherry pick of #13196: fix(monitor): alerting resourece filter by scope
2022-01-14 10:33:24 +08:00
Zexi Li
215665a0c2 Merge pull request #13194 from ioito/automated-cherry-pick-of-#13193-upstream-release-3.9
Automated cherry pick of #13193: feat(region): add nutanix sync
2022-01-13 19:09:20 +08:00
zhaoxiangchun
170681b13d fix(monitor): alerting resourece filter by scope 2022-01-13 18:46:27 +08:00
ioito
513bbb0188 feat(region): add nutanix sync 2022-01-13 18:08:08 +08:00
Zexi Li
df4c3936ef Merge pull request #13189 from zhaoxiangchun/automated-cherry-pick-of-#13187-upstream-release-3.9
Automated cherry pick of #13187: fix(s3gateway): delete dbinit
2022-01-13 10:34:27 +08:00
Zexi Li
752ddaf7c7 Merge pull request #13191 from ioito/automated-cherry-pick-of-#13168-upstream-release-3.9
Automated cherry pick of #13168: fix(region): show worker and tasks list by service type
2022-01-13 10:28:57 +08:00
Zexi Li
a8e2cf7e6f Merge pull request #13190 from ioito/automated-cherry-pick-of-#13188-upstream-release-3.9
Automated cherry pick of #13188: fix(region): wire statusinfras
2022-01-13 10:28:29 +08:00
ioito
66a17faad2 fix(region): show worker and tasks list by service type 2022-01-13 10:26:08 +08:00
ioito
64125a6f69 fix(region): wire statusinfras 2022-01-13 10:25:36 +08:00
zhaoxiangchun
8604bb2b5c fix(s3gateway): delete dbinit 2022-01-13 10:23:14 +08:00
Zexi Li
a67326f405 Merge pull request #13186 from zexi/automated-cherry-pick-of-#13185-upstream-release-3.9
Automated cherry pick of #13185: fix(baremetal): perccli image update
2022-01-11 18:51:07 +08:00
Zexi Li
ca23ac0a8d fix(baremetal): perccli image update 2022-01-11 18:24:43 +08:00
Zexi Li
971cfc83f7 Merge pull request #13184 from zexi/automated-cherry-pick-of-#13167-upstream-release-3.9
Automated cherry pick of #13167: feat(baremetal): megaraid perccli supported
2022-01-11 18:18:28 +08:00
Zexi Li
481fcca40b feat(baremetal): megaraid perccli supported 2022-01-11 17:30:47 +08:00
Zexi Li
0c064191d6 Merge pull request #13179 from swordqiu/automated-cherry-pick-of-#13169-upstream-release-3.9
Automated cherry pick of #13169: fix: guest sync status persistent block_stream status
2022-01-11 10:32:08 +08:00
Zexi Li
f5cb4ff0f0 Merge pull request #13177 from swordqiu/automated-cherry-pick-of-#13176-upstream-release-3.9
Automated cherry pick of #13176: fix: add snapshot_and_clone event notes
2022-01-11 10:31:13 +08:00
Qiu Jian
166de5471a fix: guest sync status persistent block_stream status 2022-01-11 10:13:57 +08:00
Qiu Jian
a814a47605 fix: add snapshot_and_clone event notes 2022-01-11 09:35:05 +08:00
Zexi Li
1172cf3304 Merge pull request #13175 from zexi/automated-cherry-pick-of-#13125-upstream-release-3.9
Automated cherry pick of #13125: fix(region,scheduler): live migrate target host kernel version check
2022-01-11 09:29:35 +08:00
Zexi Li
2f8d882fd2 fix(region,scheduler): live migrate target host kernel version check 2022-01-11 09:29:19 +08:00
Zexi Li
d30c4680f8 Merge pull request #13174 from zexi/automated-cherry-pick-of-#13139-upstream-release-3.9
Automated cherry pick of #13139: feat(scheduler): baremetal uefi image filter
2022-01-11 09:27:23 +08:00
Zexi Li
e1a1218b5b feat(scheduler): baremetal uefi image filter 2022-01-11 09:26:50 +08:00
Zexi Li
5351f3aa0a Merge pull request #13173 from zexi/automated-cherry-pick-of-#13171-upstream-release-3.9
Automated cherry pick of #13171: fix: ceph clone image across pool should use pool of target image
2022-01-11 09:23:18 +08:00
Qiu Jian
5bb4296f06 fix: ceph clone image across pool should use pool of target image 2022-01-11 09:22:43 +08:00
Zexi Li
037fc1cd5a Merge pull request #13165 from rainzm/restartnetwork/blockstream
fix(region): reset status to block_stream after restarting network
2022-01-10 15:35:13 +08:00
rainzm
0d5642ea72 fix(region): reset status to block_stream after restarting network 2022-01-10 15:28:58 +08:00
Zexi Li
f232e8e90c Merge pull request #13158 from ioito/hotfix/qx-vm-remove-update
fix(region): kvm vm no need remote update
2022-01-10 15:08:38 +08:00
Zexi Li
748aacb65e Merge pull request #13163 from rainzm/restartnetwork/blockstream
feat(region): allow restart network when guest in block stream status
2022-01-10 14:55:46 +08:00
rainzm
1d4a7445f9 feat(region): allow restart network when guest in block stream status 2022-01-10 14:44:55 +08:00
ioito
447240cb5a fix(region): kvm vm no need remote update 2022-01-10 11:06:27 +08:00
Jian Qiu
d1a270baaa fix: not using MarshalAll for output jsonobject (#13156)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-01-10 09:53:30 +08:00
Jian Qiu
a8f3d54259 fix: vpcagent access group panic (#13146)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-01-10 09:15:42 +08:00
Zexi Li
07d25018c7 Merge pull request #13153 from swordqiu/hotfix/qj-windows-hostname-limited-to-15-chars
fix: windows server name cannot be longer than 15 chars
2022-01-09 21:30:35 +08:00
Qiu Jian
a229cc3cec fix: windows server name cannot be longer than 15 chars 2022-01-09 19:37:41 +08:00
Zexi Li
eac221344c Merge pull request #13148 from swordqiu/feature/qj-perform-image-probe
feature: add API for image perform probe
2022-01-09 14:37:12 +08:00
Zexi Li
ec26a562d9 Merge pull request #13150 from swordqiu/hotfix/qj-spice-args-fix
fix: usb id in spice command args conflict with usb-xhci
2022-01-09 14:36:21 +08:00
Qiu Jian
0859eded3f fix: usb id in spice command args conflict with usb-xhci 2022-01-08 02:28:43 +08:00
Qiu Jian
140b1ee005 feature: add API for image perform probe 2022-01-08 02:01:00 +08:00
Zexi Li
5764f631cb Merge pull request #13143 from ioito/hotfix/qx-cloudevent-ski-init-data
fix(cloudevent): skip cloudevent init data
2022-01-07 22:42:13 +08:00
ioito
3928a4c228 fix(cloudevent): skip cloudevent init data 2022-01-07 19:33:16 +08:00
Zexi Li
e9016592f8 Merge pull request #13141 from zexi/batch-migrate-cpu-check
refix(region): skip_cpu_check for batch migrate api
2022-01-07 16:31:12 +08:00
Zexi Li
39885b6cb0 fix(region): skip_cpu_check for batch migrate api 2022-01-07 15:48:26 +08:00
Zexi Li
b3a633b2f8 Merge pull request #13136 from swordqiu/hotfix/qj-detach-network-i18n
fix: add detach network i18n
2022-01-06 18:52:29 +08:00
Qiu Jian
92e3b1dba5 fix: add detach network i18n 2022-01-06 11:24:41 +08:00
Zexi Li
78ae625c5e Merge pull request #13132 from swordqiu/hotfix/qj-fetch-iso-img-properties
fix: fetch image properties from iso properly
2022-01-05 22:06:41 +08:00
Zexi Li
98b2534614 Merge pull request #13129 from ioito/hotfix/qx-image-not-found-err-details
fix(region): image not found details error
2022-01-05 22:05:13 +08:00
Zexi Li
476e853ca4 Merge pull request #13134 from zexi/isolated-device-purge
fix(host): purge isolated_device not work
2022-01-05 17:59:10 +08:00
Zexi Li
10e460c39d fix(host): purge isolated_device not work 2022-01-05 17:34:40 +08:00
Qiu Jian
548d6a900f fix: fetch image properties from iso properly 2022-01-05 16:40:11 +08:00
ioito
4fb6833502 fix(region): image not found details error 2022-01-05 11:55:38 +08:00
Zexi Li
b704adce55 Merge pull request #13126 from zexi/isodev-probe
fix(host): unplugged isolated devices probe not deleted
2022-01-05 10:42:17 +08:00
Zexi Li
a79b8bb73e fix(host): qemu usb passthrough option convert to int 2022-01-04 20:28:12 +08:00
Zexi Li
4158671cc5 fix(host): unplugged isolated devices probe not deleted 2022-01-04 18:36:35 +08:00
Zexi Li
be9c1760cd Merge pull request #13123 from ioito/hotfix/qx-qemu-block-dev
Hotfix/qx qemu block dev
2022-01-04 17:09:30 +08:00
ioito
2bfdc5fe75 fix(host): migrate progress 2022-01-04 15:58:36 +08:00
Zexi Li
ea9728502c Merge pull request #13120 from rainzm/guest_create/eip
fix(region): check whether ipProvider is nil
2022-01-04 14:35:10 +08:00
rainzm
0a52b0e373 fix(region): check whether ipProvider is nil 2022-01-04 11:45:30 +08:00
Zexi Li
c43dc47748 Merge pull request #13117 from swordqiu/hotfix/qj-set-default-gc-thresh
fix: host tune system set default arp gc threshold
2022-01-04 11:44:58 +08:00
Qiu Jian
c0ddbbac83 fix: host tune system set default arp gc threshold 2022-01-04 11:00:05 +08:00
Zexi Li
2d222700df Merge pull request #13113 from swordqiu/hotfix/qj-qemu-img-convert-hang
fix: qemu-img convert may hang on aarach64
2022-01-04 09:35:44 +08:00
Zexi Li
62c79877b8 Merge pull request #13115 from swordqiu/hotfix/qj-fix-vpc-mtu
fix: automatic set ovsbridge MTU, consistent MTU settings
2022-01-04 09:35:13 +08:00
Zexi Li
098f06a46c Merge pull request #13111 from swordqiu/hotfix/qj-migrate-change-host-id
fix: update server desc host_id after migration
2022-01-04 09:34:13 +08:00
Qiu Jian
2a5e04abed fix: automatic set ovsbridge MTU, consistent MTU settings 2022-01-04 00:19:02 +08:00
Qiu Jian
ca10cc1bef fix: qemu-img convert may hang on aarach64 2022-01-03 02:52:57 +08:00
Qiu Jian
690bc4c3d1 fix: update server desc host_id after migration 2022-01-02 12:28:30 +08:00
Jian Qiu
9fa6696e3c feature: vip support (#13020)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-01-02 08:49:32 +08:00
Zexi Li
3555090f41 Merge pull request #13109 from ioito/hotfix/qx-glance-progress
fix(glance): add progress for image save
2022-01-01 13:49:22 +08:00
Zexi Li
3f34f18a6c Merge pull request #13107 from ioito/hotfix/qx-lb-bandwidth
fix(region): qcloud lb support bandwidth
2022-01-01 13:48:40 +08:00
ioito
1a828d1d87 fix(glance): add progress for image save 2021-12-31 18:10:21 +08:00
ioito
244d643680 fix(host): qemu block device 2021-12-31 17:36:40 +08:00
ioito
d5a19885ca fix(region): qcloud lb support bandwidth 2021-12-31 15:46:16 +08:00
Zexi Li
6176260927 Merge pull request #13103 from swordqiu/feature/qj-climc-add-storage-ceph-run
feature: climc add storage-ceph-run to ease ceph diag
2021-12-31 12:28:30 +08:00
Zexi Li
9bcc8f195f Merge pull request #13104 from ioito/hotfix/qx-migrate-complete-set-progress
fix(host): clean progress when migrate complete
2021-12-31 10:30:17 +08:00
ioito
6bcb02f098 fix(host): clean progress when migrate complete 2021-12-31 10:25:51 +08:00
Rain Zheng
9b6278b5e0 fix(yunionconf): register metadata model (#13100) 2021-12-31 06:09:42 +08:00
屈轩
9f92441349 fix(host): add progress for migrate (#13101) 2021-12-31 06:09:16 +08:00
Qiu Jian
b96960d5ae feature: climc add storage-ceph-run to ease ceph diag 2021-12-31 06:07:26 +08:00
Zexi Li
71c646128a Merge pull request #13081 from ioito/hotfix/qx-storage-status
fix(region): storage add unmount status
2021-12-30 17:47:50 +08:00
Zexi Li
95f70c4160 Merge pull request #13098 from ioito/hotfix/qx-block-complete
fix(host): guest clone progress complete
2021-12-30 16:58:41 +08:00
ioito
ef7c263bb2 fix(host): guest clone progress complete 2021-12-30 16:52:09 +08:00
Zexi Li
f2bcc85772 Merge pull request #13093 from zexi/isolated-dev-list
feat(region): isolated devices filter by guest_id
2021-12-30 13:36:06 +08:00
Zexi Li
4cb791c352 Merge pull request #13095 from swordqiu/hotfix/qj-start-block-stream-detach-startup-task
fix: start block stream detach qemu startup task
2021-12-30 13:19:14 +08:00
Qiu Jian
0dbc69c617 fix: start block stream detach qmu startup task 2021-12-30 12:48:16 +08:00
Zexi Li
0107c9e8c1 Merge pull request #12773 from zexi/baremetal-grub
feat(baremetal): aarch64 supported and grub as bootloader
2021-12-30 12:00:17 +08:00
Zexi Li
67e5fd618b feat(region): isolated devices filter by guest_id 2021-12-30 11:46:38 +08:00
Zexi Li
6bcacb67c6 Merge pull request #13091 from zexi/guest-isolated-dev
feat(compute): server probe isolated devices supported
2021-12-30 11:27:12 +08:00
Zexi Li
d9c9057813 feat(compute): server probe isolated devices supported 2021-12-30 11:05:34 +08:00
Zexi Li
5b23f4c1bf Merge pull request #13071 from ioito/hotfix/qx-keystone-policy
fix(region): keystone default policy
2021-12-30 10:45:24 +08:00
Zexi Li
9ebe178778 Merge pull request #13049 from ioito/hotfix/qx-sync-by-resource
fix(region): sync resource by network
2021-12-30 10:42:33 +08:00
Zexi Li
9a4a02078c Merge pull request #13089 from zexi/isolated-dev-typo
fix(region): isolated device reserved memory default typo
2021-12-30 10:27:13 +08:00
Zexi Li
2ba910b27d fix(region): isolated device reserved memory default typo 2021-12-30 10:25:41 +08:00
Zexi Li
de1d23514d Merge pull request #13085 from zexi/migrate-status
fix(region): not override migrating status when manually sync status
2021-12-30 10:04:21 +08:00
Zexi Li
0d00627bed Merge pull request #13087 from swordqiu/hotfix/qj-migration-improvements-20211229
fix: several improvements on qemu migration:
2021-12-30 10:04:01 +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
56cf35fa4d Merge pull request #13078 from ioito/hotfix/qx-server-template-validate
fix(region): server templete validate
2021-12-30 01:07:01 +08:00
Zexi Li
7e38f44a04 fix(region): not override migrating status when manually sync status 2021-12-29 23:15:15 +08:00
Zexi Li
72f14851a7 Merge pull request #13073 from ioito/hotfix/qx-lb-filter-by-owner
fix(region): lb filter by owner
2021-12-29 19:24:51 +08:00
Zexi Li
f2645bd1e3 Merge pull request #13063 from rainzm/guestimage/fix
fix(region): distinguish guests_ Root and data of image sub image
2021-12-29 19:23:07 +08:00
Zexi Li
72baf16c7e Merge pull request #13083 from zexi/isolated-dev-hotplug
fix(region,host): sync usb isolated device error not display
2021-12-29 17:42:27 +08:00
Zexi Li
afd5f0f220 fix(region,host): sync usb isolated device error not display 2021-12-29 17:38:56 +08:00
Zexi Li
f78e4696ac Merge pull request #13076 from ioito/hotfix/qx-wire-topology-name
fix(region): wire topology name
2021-12-29 17:38:05 +08:00
Zexi Li
cf3037b8f6 Merge pull request #13079 from swordqiu/hotfix/qj-empty-disk-storage-type
fix: fail to fetch disk storage_type
2021-12-29 17:36:59 +08:00
ioito
9781a06bc3 fix(region): storage add unmount status 2021-12-29 17:30:21 +08:00
Qiu Jian
e8c684ecfb fix: fail to fetch disk storage_type 2021-12-29 17:23:32 +08:00
ioito
e090460c20 fix(region): server templete validate 2021-12-29 17:17:23 +08:00
ioito
c07b865ad5 fix(region): wire topology name 2021-12-29 16:36:04 +08:00
ioito
f9ce860436 fix(region): lb filter by owner 2021-12-29 14:50:48 +08:00
ioito
16d2ed2924 fix(region): keystone default policy 2021-12-29 11:20:57 +08:00
Zexi Li
889c94196c Merge pull request #13056 from ioito/hotfix/qx-sku-sync-zone-id
fix(region): ignore invalid zone id skus
2021-12-29 11:13:29 +08:00
Zexi Li
4e18752fa9 Merge pull request #13067 from ioito/hotfix/qx-vpc-topology-owner-status
fix(region): add owner status for vpc topology
2021-12-28 19:48:09 +08:00
Zexi Li
3de7e2e1f5 Merge pull request #13069 from zexi/device-model-len
fix(region): set isolated_device model 512 length
2021-12-28 19:42:43 +08:00
Zexi Li
0052e9db83 fix(region): set isolated_device model 512 length 2021-12-28 19:41:07 +08:00
ioito
0b67893d92 fix(region): add owner status for vpc topology 2021-12-28 19:40:39 +08:00
Zexi Li
78466d5a06 Merge pull request #13026 from zexi/usb-passthrough
feat(region,host): usb passthrough
2021-12-28 19:21:29 +08:00
Zexi Li
8423aa9e63 feat(region,host): usb passthrough 2021-12-28 19:05:42 +08:00
rainzm
af7b675b42 fix(region): distinguish guests_ Root and data of image sub image 2021-12-28 18:28:51 +08:00
Zexi Li
ad587af395 Merge pull request #13059 from ioito/hotfix/qx-vpc-topology-scope
fix(region): vpc topology scope with system
2021-12-28 16:27:51 +08:00
ioito
25f71da5ec fix(region): vpc topology scope with system 2021-12-28 16:19:05 +08:00
ioito
767e0ffa36 fix(region): ignore invalid zone id skus 2021-12-28 14:39:20 +08:00
Zexi Li
2184959ef2 Merge pull request #13050 from ioito/hotfix/qx-aws-secgroup-name
fix(region): aws security group name generate
2021-12-28 10:56:23 +08:00
Zexi Li
cac10f815a Merge pull request #13008 from ioito/hotfix/qx-secgroup-purge
fix(region): secgroup purge with cloudaccount deleted
2021-12-28 10:55:33 +08:00
Zexi Li
ce403aea25 Merge pull request #13053 from ioito/hotfix/qx-json-to-string
fix(region): json to string fix
2021-12-28 10:53:51 +08:00
ioito
ec453b0413 fix(region): json to string fix 2021-12-28 10:41:26 +08:00
ioito
9006e0225c fix(region): aws security group name generate 2021-12-28 09:56:09 +08:00
ioito
21ad3c093b fix(region): sync resource by network 2021-12-27 17:49:42 +08:00
Zexi Li
c974692962 Merge pull request #13047 from ioito/hotfix/qx-vpc-topology-for-host
fix(region): vpc topology data fix
2021-12-27 15:57:24 +08:00
ioito
ad68340d63 fix(region): vpc topology data fix 2021-12-27 15:30:23 +08:00
Zexi Li
f29426fc4d Merge pull request #13042 from swordqiu/hotfix/qj-migrate-progress-update
Hotfix/qj migrate progress update
2021-12-27 12:16:59 +08:00
Zexi Li
2e56910e4d Merge pull request #13031 from rainzm/email/delete_config
fix(notify): real delete for email and mobile
2021-12-27 12:14:01 +08:00
Zexi Li
94e446af7b Merge pull request #13010 from ioito/hotfix/qx-vm-stop-status
fix(region): 删除vm中间不会出现ready状态,避免前端停止刷新
2021-12-27 12:12:49 +08:00
Zexi Li
00bd35904a Merge pull request #13036 from swordqiu/hotfix/qj-enable-kvm-pv-eoi-by-default
fix: enable kvm_pv_eoi by default
2021-12-27 12:10:20 +08:00
Zexi Li
4596e92fe0 Merge pull request #13040 from swordqiu/hotfix/qj-hostinfo-onfail-not-return
fix: hostinfo onfail should return immediately
2021-12-27 12:08:53 +08:00
Zexi Li
9b9187bd83 Merge pull request #13045 from ioito/hotfix/qx-vpc-topology-for-host
fix(region): add vpc host topology
2021-12-27 11:08:02 +08:00
ioito
8433fc5ffb fix(region): add vpc host topology 2021-12-27 10:48:39 +08:00
屈轩
67a0073b2f fix(region): host name validate with generate name (#12980) 2021-12-26 09:02:28 +08:00
Qiu Jian
255be9e2c3 fix: add migrate progress metrics 2021-12-26 00:15:16 +08:00
Qiu Jian
c367780fd1 feature: migrate progress update 2021-12-25 15:47:19 +08:00
yunion-ci-robot
5c8b9b0215 Merge pull request #13033 from ioito/hotfix/qx-vm-clone-speed
fix(host): add vm clonse progress and mbps
2021-12-25 15:32:39 +08:00
Qiu Jian
34aeb755d1 fix: hostinfo onfail should return immediately 2021-12-25 14:47:54 +08:00
yunion-ci-robot
c004bc0748 Merge pull request #13030 from swordqiu/hotfix/qj-arm-supported-max-cpu-64
fix: arm supported maxcpu<64
2021-12-24 21:58:41 +08:00
Qiu Jian
71eb0fd87a fix: enable kvm_pv_eoi by default 2021-12-24 21:45:22 +08:00
ioito
db981a146b fix(host): add vm clonse progress and mbps 2021-12-24 20:03:31 +08:00
rainzm
021fc5647e fix(notify): real delete for email and mobile 2021-12-24 18:52:23 +08:00
Zexi Li
b3eafddcf2 Merge pull request #13018 from swordqiu/hotfix/qj-hide-systemd-detection-logs
fix: hide systemd detection logs
2021-12-24 18:24:07 +08:00
Zexi Li
6e79c52195 Merge pull request #13027 from ioito/hotfix/qx-google-secgroup
fix(region): google security group fix
2021-12-24 18:23:05 +08:00
Zexi Li
96b86c83c7 Merge pull request #13015 from ioito/hotfix/qx-vpc-tags
fix(region): vpc create with tags
2021-12-24 18:11:06 +08:00
Zexi Li
1a37eb70bf Merge pull request #13024 from zexi/automated-cherry-pick-of-#13022-upstream-master
Automated cherry pick of #13022: fix(region): gpu fuzzy match model name exactly
2021-12-24 18:10:02 +08:00
Zexi Li
a3078c79f4 Merge pull request #13013 from ioito/hotfix/qx-vpc-peer-connection-sync
fix(region): 对等连接同步状态恢复对端id
2021-12-24 18:09:22 +08:00
Qiu Jian
e9d0ffa102 fix: arm supported maxcpu<64 2021-12-24 17:58:21 +08:00
ioito
3f51296ae7 fix(region): google security group fix 2021-12-24 17:36:50 +08:00
Zexi Li
c8ba25b154 fix(region): gpu fuzzy match model name exactly 2021-12-24 14:54:10 +08:00
Qiu Jian
e4bf8dc3ab fix: hide systemd detection logs 2021-12-23 20:30:21 +08:00
ioito
f4b7c31653 fix(region): vpc create with tags 2021-12-23 19:38:15 +08:00
ioito
595fd8b3a9 fix(region): 对等连接同步状态恢复对端id 2021-12-23 18:27:49 +08:00
ioito
e1615e42ac fix(region): 删除vm中间不会出现ready状态,避免前端停止刷新 2021-12-23 18:02:36 +08:00
Zexi Li
dfda9d51b0 Merge pull request #13005 from ioito/hotfix/qx-server-sku-scheduler-sync
fix(region): sku scheduler sync
2021-12-23 16:19:27 +08:00
ioito
0cdda0c629 fix(region): secgroup purge with cloudaccount deleted 2021-12-23 16:18:05 +08:00
ioito
0685c2f737 fix(region): sku scheduler sync 2021-12-23 14:50:17 +08:00
Zexi Li
97f7220a7d Merge pull request #13003 from rainzm/network/restart_fix
Fixex for restart network
2021-12-23 14:45:55 +08:00
rainzm
9737f52387 fix(region): Make function calls to the region instead of API calls in task
The mechanism of task resource locking will lead to the blocking and blocking of API calls
2021-12-23 14:36:45 +08:00
rainzm
d7f1fb242f feat(region, host): allow open forward with specified remote addr 2021-12-23 14:31:50 +08:00
Zexi Li
ab4d1b863f feat(baremetal): support aarch64 and use grub as bootloader 2021-12-23 14:07:11 +08:00
Zexi Li
277bf5f611 Merge pull request #12987 from ioito/hotfix/qx-auto-switch-server-sku
fix(region): auto switch server sku when create vm fail
2021-12-23 10:33:29 +08:00
Zexi Li
7fcd5699dc Merge pull request #13001 from swordqiu/hotfix/qj-migrate-no-event-notes
fix: migrate no event notes
2021-12-23 09:59:27 +08:00
Zexi Li
8b603dd723 Merge pull request #12998 from swordqiu/hotfix/qj-fix-migrate-timeout-error
fix: migrate timeout error
2021-12-23 09:58:51 +08:00
Zexi Li
1da7ac8f97 Merge pull request #12995 from swordqiu/hotfix/qj-migrate-timeout-error
fix: 1. migration timeout applicable to shared storage migrate only
2021-12-23 09:58:21 +08:00
Qiu Jian
8d53a3d8e2 fix: migrate no event notes 2021-12-23 07:58:24 +08:00
Qiu Jian
54d0b2bff7 fix: migrate timeout error 2021-12-23 07:54:18 +08:00
Qiu Jian
9856331086 fix: 1. migration timeout applicable to shared storage migrate only
2. migration timeout logic error
3. cancel host download handler timeout
4. add enable_vm_uuid option
5. add migrate event log notes
2021-12-23 01:34:30 +08:00
Zexi Li
dc2e97f8ae Merge pull request #12993 from rainzm/webhook/fix_2
fix(region): replace vpc_delete with vpc_sync_delete when sycnRemoveVpc
2021-12-22 22:31:33 +08:00
rainzm
664fe61a4e fix(region): replace vpc_delete with vpc_sync_delete when sycnRemoveVpc 2021-12-22 21:38:55 +08:00
Zexi Li
a11ed2275f Merge pull request #12991 from rainzm/webhook/fix_1
Webhook fix for notify
2021-12-22 19:45:36 +08:00
rainzm
a100d4f245 feat(notify): add topic 'resource release due 30 day' 2021-12-22 19:21:33 +08:00
rainzm
0a4f087786 fix(notify): add missing webhook notification 2021-12-22 19:21:30 +08:00
Zexi Li
7f28a5db2b Merge pull request #12986 from zexi/webconsole-interface-cast
fix(webconsole): ISessionData convert to *session.RemoteConsoleInfo
2021-12-22 17:07:07 +08:00
ioito
9e0bb622b0 fix(region): auto switch server sku when create vm fail 2021-12-22 17:05:25 +08:00
Zexi Li
a655cd723f fix(webconsole): ISessionData convert to *session.RemoteConsoleInfo 2021-12-22 17:02:21 +08:00
Zexi Li
f04fdf10f0 Merge pull request #12969 from rainzm/network/restart
feat(region): restart network after change ipaddr for guest
2021-12-22 16:56:33 +08:00
Zexi Li
412e2cfea0 Merge pull request #12981 from ioito/hotfix/qx-vpc-peer-connection
fix(region): qcloud vpc peer connection
2021-12-22 15:52:22 +08:00
Zexi Li
beaa15cd11 Merge pull request #12984 from ioito/hotfix/qx-vpc-topology
fix(region): add vpc topology
2021-12-22 15:51:45 +08:00
Zexi Li
b8c73a1d77 Merge pull request #12983 from zexi/build-host-image
feat(host-image): build host-image
2021-12-22 15:36:21 +08:00
ioito
ae5dbb19c6 fix(region): add vpc topology 2021-12-22 15:09:09 +08:00
Zexi Li
1b34d8c102 feat(host-image): build host-image 2021-12-22 15:08:39 +08:00
ioito
0cc1da8552 fix(region): qcloud vpc peer connection 2021-12-22 14:17:30 +08:00
Zexi Li
96c8776ef4 Merge pull request #12978 from zexi/build-baremetal-base
fix(build): move librbd librados to baremetal-agent-base image
2021-12-22 11:15:10 +08:00
Zexi Li
f447dde7e5 fix(build): move librbd librados to baremetal-agent-base image 2021-12-22 11:11:49 +08:00
rainzm
7aaf6aee3b feat(region): restart network after change ipaddr for guest 2021-12-22 11:07:45 +08:00
Zexi Li
c748418975 Merge pull request #12958 from ioito/hotfix/qx-qcloud-secgroup-rule-sync
fix(region): qcloud secgroup rule sync
2021-12-22 10:36:18 +08:00
Zexi Li
95f5ed6ed1 Merge pull request #12961 from ioito/hotfix/qx-aws-capability
fix(region): aws capability
2021-12-22 10:28:52 +08:00
Zexi Li
0bc5eab42f Merge pull request #12965 from ioito/hotfix/qx-disabled-brands-empty-array
fix(region): show empty array disabled brands
2021-12-22 10:27:40 +08:00
Zexi Li
9401545bc0 Merge pull request #12963 from ioito/hotfix/qx-vmware-fix-ip
fix(region): vmware sync fix ip
2021-12-22 10:26:04 +08:00
Zexi Li
aeaec0c1e7 Merge pull request #12967 from ioito/hotfix/qx-aws-eip-dissociate
fix(region): aws eip dissociate
2021-12-22 10:25:24 +08:00
Zexi Li
39b6a502fd Merge pull request #12971 from ioito/hotfix/qx-secgroup-filter
fix(region): security group cache filter
2021-12-22 10:24:31 +08:00
Zexi Li
ab4d88587b Merge pull request #12956 from swordqiu/hotfix/qj-system-server-no-vpc-network
fix: system server randomly lose connectivity in vpc network
2021-12-22 10:24:14 +08:00
Qiu Jian
bb193f7941 fix: system server randomly lose connectivity in vpc network 2021-12-22 02:43:23 +08:00
Zexi Li
54e0c33047 fix(host): update vlan (#12974) 2021-12-22 00:59:03 +08:00
Zexi Li
5fd55d9008 optimize(host-image,fetcherfs): download disk speed too slow (#12976) 2021-12-22 00:56:49 +08:00
ioito
34a031938d fix(region): security group cache filter 2021-12-21 21:26:01 +08:00
ioito
9e5229bc53 fix(region): aws eip dissociate 2021-12-21 19:39:46 +08:00
ioito
a7db932c28 fix(region): vmware sync fix ip 2021-12-21 16:35:16 +08:00
ioito
82fa2676e3 fix(region): show empty array disabled brands 2021-12-21 16:06:43 +08:00
ioito
f92d775382 fix(region): aws capability 2021-12-21 14:31:59 +08:00
ioito
ec1695a48c fix(region): qcloud secgroup rule sync 2021-12-21 14:20:03 +08:00
Zexi Li
ea59c62d6a Merge pull request #12909 from ioito/hotfix/qx-block-job-speed
fix(host): add speed info for block-job
2021-12-20 15:59:18 +08:00
ioito
d62d6abf7a fix(host): add speed info for block-job 2021-12-20 15:52:45 +08:00
Zexi Li
9e71aef9dd Merge pull request #12929 from ioito/hotfix/qx-secgroup-name-generate
fix(region): security group name generate for every cloud platform
2021-12-20 13:02:53 +08:00
Zexi Li
56ac545396 Merge pull request #12941 from zhaoxiangchun/feature/zxc-cloudmon-master
fix(cloudmon): 飞天云监控中拉取metadata信息
2021-12-20 13:02:25 +08:00
Zexi Li
a0d16b5ade Merge pull request #12955 from swordqiu/hotfix/qj-show-ovn-mapped-ip-in-host-list
fix: show host ovn_mapped_ip_addr
2021-12-20 13:02:03 +08:00
Zexi Li
7207464d78 Merge pull request #12942 from ioito/hotfix/qx-scope-resource-count
fix(keystone): scope resource count
2021-12-20 13:00:33 +08:00
Qiu Jian
a6d2770055 fix: show host ovn_mapped_ip_addr 2021-12-20 01:49:56 +08:00
Zexi Li
e1c2833fd1 Merge pull request #12938 from swordqiu/hotfix/qj-server-migrate-failed-due-to-stop-event
fix: server migration halted by an unexpected STOP event
2021-12-19 18:33:13 +08:00
Qiu Jian
c67f1bde5b fix: server migration halted by an unexpected STOP event 2021-12-18 22:00:06 +08:00
Zexi Li
386caa0f9d Merge pull request #12946 from ioito/hotfix/qx-dns-zone-cache-purge
fix(region): dns zone cache purge
2021-12-18 01:05:43 +08:00
Zexi Li
e04dd2a356 Merge pull request #12951 from ioito/hotfix/qx-eip-name-with-pinyin
fix(region): eip name with pinyin
2021-12-18 01:05:29 +08:00
Zexi Li
8c04f718df Merge pull request #12950 from ioito/hotfix/qx-zstack-vm-name-cn-messy-code
fix(region): avoid vm name messy code with zhCN for zstack
2021-12-18 01:05:12 +08:00
ioito
4d55056c9b fix(region): eip name with pinyin 2021-12-17 18:33:22 +08:00
ioito
9d98d8d016 fix(region): avoid vm name messy code with zhCN for zstack 2021-12-17 18:23:01 +08:00
ioito
65ca022d49 fix(region): dns zone cache purge 2021-12-17 18:05:59 +08:00
ioito
d70decfd4f fix(keystone): scope resource count 2021-12-17 16:09:34 +08:00
Zexi Li
888099b52b Merge pull request #12884 from rainzm/resizefs
feat(hostdeployer): use resizepart directly
2021-12-17 15:36:08 +08:00
Zexi Li
db257d7c4f Merge pull request #12933 from ioito/hotfix/qx-eip-bandwidth-storage-usage
fix(region): add eip and disk usage
2021-12-17 14:34:21 +08:00
Zexi Li
b99c19b2f8 Merge pull request #12939 from zexi/vm-start-failed-log
fix(region): vm start failed stage not invoked
2021-12-17 11:24:00 +08:00
zhaoxiangchun
488f7d30b2 fix(cloudmon): 飞天云监控中拉取metadata信息 2021-12-17 11:22:49 +08:00
Zexi Li
7135ebbfd2 fix(region): vm start failed stage not invoked 2021-12-17 11:19:11 +08:00
Zexi Li
4eb1f866f0 Merge pull request #12827 from zhaoxiangchun/feature/zxc-k8s-cloudmon-master
feat(cloudmon): aliyun,qcloud,azure k8s monitor metric
2021-12-17 11:06:45 +08:00
屈轩
efa89ad2e0 fix(region): merge input and output json (#12920) 2021-12-16 21:18:42 +08:00
Zexi Li
aeb5b4655d fix(host): more readable error info of GetWireOfIp (#12935) 2021-12-16 21:13:33 +08:00
ioito
be997f90df fix(region): add eip and disk usage 2021-12-16 16:34:40 +08:00
Zexi Li
1706a0408a Merge pull request #12914 from rainzm/disk/disk_type
feat(region): support detach disk with disk_type 'sys'
2021-12-16 15:16:14 +08:00
rainzm
54907dd4d8 feat(region): support detach disk with disk_type 'sys' 2021-12-16 15:06:17 +08:00
ioito
e9c3a244d9 fix(region): security group name generate for every cloud platform 2021-12-16 14:26:33 +08:00
Zexi Li
35704864bc Merge pull request #12913 from ioito/hotfix/qx-vpc-peer-fix
fix(region): vpc sync misc fix
2021-12-16 10:50:49 +08:00
Zexi Li
40144353c6 Merge pull request #12885 from ioito/feat/qx-aws-nat-read
feat(region): aws nat gateway read
2021-12-16 10:40:54 +08:00
Zexi Li
6ea79d03a4 Merge pull request #12925 from swordqiu/hotfix/qj-lbagent-pull-onecloud-only
fix: lbagent pull resources of OneCloud only
2021-12-16 10:39:56 +08:00
Qiu Jian
533b10f4c2 fix: lbagent pull resources of OneCloud only 2021-12-15 22:41:02 +08:00
Zexi Li
9f956bbcff Merge pull request #12922 from zexi/cold-migrate-disk-removed
fix(host): cold migration disk removed
2021-12-15 19:12:07 +08:00
Zexi Li
14dfea8450 fix(host): cold migration disk removed 2021-12-15 18:24:16 +08:00
ioito
7d9ca023a1 fix(region): vpc sync misc fix 2021-12-15 16:39:41 +08:00
Zexi Li
e45a0bd85d Merge pull request #12916 from zexi/x86-file-locking
fix(host): enable file.locking=off option for local disk
2021-12-15 16:28:57 +08:00
Zexi Li
4a787ee982 fix(host): enable file.locking=off option for local disk 2021-12-15 16:20:32 +08:00
Zexi Li
a5a3c19706 Merge pull request #12911 from zexi/fix-migrate-target-storage-id
fix(region): live migrate target_storage_id quoted
2021-12-15 15:09:30 +08:00
Zexi Li
810edac622 fix(region): live migrate target_storage_id quoted 2021-12-15 14:57:50 +08:00
Rain Zheng
fc087f03b5 feat(region): add storage_id in GuestDiskInfo (#12881) 2021-12-15 04:17:11 +08:00
Zexi Li
939ebc8030 Merge pull request #12902 from zexi/qemu-uuid
feat(host): qemu add uuid option
2021-12-14 21:25:36 +08:00
Zexi Li
0bd53ce5ff Merge pull request #12906 from rainzm/snapshot/disk
fix(region): respect disk's snapshotId in disk_batch_create_task
2021-12-14 21:23:54 +08:00
rainzm
50c95b66f1 fix(region): respect disk's snapshotId in disk_batch_create_task 2021-12-14 21:15:34 +08:00
Zexi Li
10c57ecb07 Merge pull request #12891 from ioito/hotfix/qx-aliyun-trans
fix(region): aliyun error translation
2021-12-14 21:11:25 +08:00
Zexi Li
2dcd7fc045 Merge pull request #12898 from ioito/hotfix/qx-image-upload-progress
fix(climc): add progress for image upload
2021-12-14 21:11:03 +08:00
Zexi Li
ac30fbc5b5 Merge pull request #12893 from ioito/hotfix/qx-openstack-proxy
fix(region): openstack use proxy
2021-12-14 21:08:31 +08:00
Zexi Li
d4f8482f7f feat(host): qemu add uuid option 2021-12-14 21:02:25 +08:00
ioito
2b916f7c40 fix(climc): add progress for image upload 2021-12-14 14:41:50 +08:00
ioito
311243b9a3 fix(region): openstack use proxy 2021-12-14 14:32:08 +08:00
ioito
da454317d9 fix(region): aliyun error translation 2021-12-14 11:41:13 +08:00
Zexi Li
c2c013cc1e Merge pull request #12887 from ioito/hotfix/qx-global-vpc-filter
fix(region): add filter for global vpc
2021-12-13 22:55:11 +08:00
Zexi Li
b877709289 Merge pull request #12889 from ioito/hotfix/qx-cloudprovider-region-enabled-set
fix(region): set cloudproviderregions enabled status
2021-12-13 22:54:38 +08:00
Zexi Li
ab8357de0d Merge pull request #12869 from ioito/hotfix/qx-vpc-filter
fix(region): vpc filter params
2021-12-13 17:15:43 +08:00
Zexi Li
28c311fa21 Merge pull request #12861 from rainzm/storagentcacheimage/active
fix(hostman): update storagecacheimage status from 'ready' to 'avtive'
2021-12-13 17:15:01 +08:00
Zexi Li
e308f1938f Merge pull request #12856 from ioito/hotfix/qx-google-disk
fix(region): google vm disk attach
2021-12-13 17:14:31 +08:00
Zexi Li
2c0dfb49bb Merge pull request #12853 from swordqiu/hotfix/qj-fail-to-start-arm-vm
fix: fail to start arm vm
2021-12-13 17:14:03 +08:00
Zexi Li
8d9f000997 Merge pull request #12848 from ioito/hotfix/qx-auto-renew-duration
fix(region): set auto renew with duration
2021-12-13 17:13:02 +08:00
ioito
98ff5fcb28 fix(region): set cloudproviderregions enabled status 2021-12-13 17:11:51 +08:00
ioito
31ca83d091 fix(region): add filter for global vpc 2021-12-13 16:54:30 +08:00
ioito
dbaab28274 feat(region): aws nat gateway read 2021-12-13 16:37:35 +08:00
Zexi Li
511326239d Merge pull request #12873 from ioito/hotfix/qx-vpc-peer-connection-panic
fix(region): avoid panic when sync vpc peer connection
2021-12-13 16:23:22 +08:00
Zexi Li
8c3a3d7ff9 Merge pull request #12871 from ioito/hotfix/qx-global-vpc-details
fix(region): show more global vpc details
2021-12-13 16:22:37 +08:00
rainzm
5fe399bfdd feat(region): use resizepart directly 2021-12-13 14:21:01 +08:00
Zexi Li
a74893506b fix(region): inject OsArch to scheduler input when change config 2021-12-13 12:19:46 +08:00
Jian Qiu
5f58994459 fix: cloudevent not initialize cloudevents_tbl in clickhouse (#12880)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-12-12 15:59:56 +08:00
Zexi Li
9b623b4cd8 Merge pull request #12875 from swordqiu/feature/qj-suppor-galaxy-kylin-os
feature: support galaxy kylin guest OS
2021-12-12 12:12:40 +08:00
Zexi Li
f8c9a502e3 Merge pull request #12855 from swordqiu/feature/qj-ops-log-use-clickhouse
feature: use clickhouse as opslog storage
2021-12-12 12:11:28 +08:00
Qiu Jian
ff9fcbb121 feature: support galaxy kylin guest OS 2021-12-11 13:20:33 +08:00
ioito
c7e8beb9a6 fix(region): avoid panic when sync vpc peer connection 2021-12-10 17:51:43 +08:00
ioito
324fbf121d fix(region): show more global vpc details 2021-12-10 17:31:45 +08:00
ioito
cac3d1d2fb fix(region): vpc filter params 2021-12-10 17:26:42 +08:00
Zexi Li
9de50ae887 Merge pull request #12850 from ioito/hotfix/qx-time-format
fix(region): format time output
2021-12-10 16:59:26 +08:00
Zexi Li
1dc5a47499 Merge pull request #12847 from ioito/hotfix/qx-deployer--hostname
fix(hostdeployer): deployer hostname
2021-12-10 16:58:31 +08:00
Zexi Li
a0c3cfaf63 Merge pull request #12858 from ioito/hotfix/qx-zstack-auth
fix(region): zstack time zone auth
2021-12-10 16:57:22 +08:00
Zexi Li
d91c7679bb Merge pull request #12864 from ioito/hotfix/qx-aliyun-route-table-sync
fix(region): aliyun route table sync
2021-12-10 16:54:50 +08:00
Zexi Li
4444356620 Merge pull request #12867 from ioito/hotfix/qx-google-vpc-delete
fix(region): unified vpc not found error
2021-12-10 16:54:14 +08:00
ioito
ee4060b591 fix(region): unified vpc not found error 2021-12-10 16:41:41 +08:00
ioito
06945a4ceb fix(region): aliyun route table sync 2021-12-10 16:32:52 +08:00
ioito
dad31f0ef0 fix(region): google vm disk attach 2021-12-10 15:33:30 +08:00
rainzm
19ddeda614 fix(hostman): update storagecacheimage status from 'ready' to 'avtive' 2021-12-10 15:28:48 +08:00
ioito
98764a0998 fix(region): zstack time zone auth 2021-12-10 15:06:37 +08:00
Qiu Jian
8b6f7305d6 feature: use clickhouse to storage opslogs 2021-12-10 09:23:33 +08:00
Qiu Jian
abbbf636a8 fix: fail to start arm vm 2021-12-10 02:02:04 +08:00
Zexi Li
3499630fb5 Merge pull request #12851 from ioito/hotfix/qx-google-eip-snapshot-fix
fix(region): google eip and snapshot op fix
2021-12-09 23:07:59 +08:00
ioito
919342adbf fix(region): google eip and snapshot op fix 2021-12-09 18:39:42 +08:00
ioito
3552156e35 fix(region): format time output 2021-12-09 17:51:13 +08:00
ioito
63c0e59f7c fix(region): set auto renew with duration 2021-12-09 17:14:40 +08:00
ioito
476684de9d fix(hostdeployer): deployer hostname 2021-12-09 16:08:21 +08:00
Zexi Li
c1b9d6ef20 Merge pull request #12835 from rainzm/hostdeployer/vgrename
fix(hostdeployer): Operate with the original name when vgrename fails
2021-12-09 11:22:22 +08:00
Zexi Li
6fa65c18b1 Merge pull request #12792 from ioito/hotfix/qx-optimized-sync
fix(region): optimized cloudaccount sync resources
2021-12-09 11:14:12 +08:00
Zexi Li
5fafdf175f Merge pull request #12843 from ioito/hotfix/qx-google-misc
fix(region): google sync fix
2021-12-09 01:01:21 +08:00
Zexi Li
21253502aa Merge pull request #12841 from ioito/hotfix/qx-es-access-info
fix(region): add access info for es
2021-12-09 01:00:46 +08:00
Zexi Li
2607da3bfb Merge pull request #12845 from ioito/hotfix/qx-qcloud-kafka-fix
fix(region): kafka data
2021-12-09 00:58:37 +08:00
ioito
c2c8670444 fix(region): kafka data 2021-12-08 19:18:40 +08:00
ioito
6e71ef5d50 fix(region): google sync fix 2021-12-08 18:56:41 +08:00
ioito
9b3cd5fd54 fix(region): add access info for es 2021-12-08 18:03:18 +08:00
Zexi Li
2c69ed60b8 Merge pull request #12837 from swordqiu/hotfix/qj-fail-to-recove-disk-in-unknown-status
fix: fail to recover disk status if disk in unknown status
2021-12-08 12:44:53 +08:00
Zexi Li
18f5b1357b Merge pull request #12811 from zexi/block-stream-freq
fix(host): adjust kvm block_stream query frequency and speed limit
2021-12-08 12:44:30 +08:00
Zexi Li
70edbdcb3c fix(host): adjust kvm block_stream query frequency and speed limit 2021-12-08 10:17:28 +08:00
Qiu Jian
c8a142fc7f fix: fail to recover disk status if disk in unknown status 2021-12-08 00:27:08 +08:00
ioito
fa8f9f946b fix(region): optimized cloudaccount sync resources 2021-12-07 20:24:23 +08:00
rainzm
f9a0f956f7 fix(hostdeployer): Operate with the original name when vgrename fails 2021-12-07 20:21:58 +08:00
Zexi Li
172484e82e Merge pull request #12833 from ioito/hotfix/qx-google-id
fix(region): google replace globalid
2021-12-07 19:43:47 +08:00
Zexi Li
49a9aaef85 Merge pull request #12794 from ioito/hotfix/qx-join-list-export
fix(apigateway): support export for join module
2021-12-07 19:43:34 +08:00
Qu Xuan
d87901b259 fix(region): google replace globalid 2021-12-07 19:18:54 +08:00
zhaoxiangchun
fc69fe9a22 feat(monitor): add k8s metric describetion 2021-12-07 17:02:19 +08:00
Zexi Li
06f75b37b1 Merge pull request #12793 from ioito/hotfix/qx-network-filter-by-route-table
fix(region): add route table filter for networks
2021-12-07 12:05:35 +08:00
Zexi Li
27c5d7c6b0 Merge pull request #12829 from swordqiu/hotfix/qj-opslog-empty-usercred
fix: opslog might log event with empty usercred
2021-12-07 10:24:14 +08:00
Zexi Li
73da91e63c Merge pull request #12828 from swordqiu/hotfix/qj-support-anolis-os
feature: support Anolis OS
2021-12-07 10:23:40 +08:00
Jian Qiu
b03bbfde7c fix: mcclient modules not fully loaded (#12832)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-12-06 23:06:50 +08:00
Qiu Jian
de2ea33411 fix: opslog might log event with empty usercred 2021-12-06 22:14:45 +08:00
Qiu Jian
bf170f8cdf feature: support Anolis OS 2021-12-06 21:18:27 +08:00
zhaoxiangchun
5c9cf5b725 feat(cloudmon): aliyun,qcloud,azure k8s monitor metric 2021-12-06 16:40:29 +08:00
Zexi Li
4d718c5bf6 Merge pull request #12807 from rainzm/sort/modify
fix(scheduler): consider perfer and avoid score when sorting HostPrirityList
2021-12-06 14:49:10 +08:00
Zexi Li
eddc7861e2 Merge pull request #12825 from swordqiu/feature/qj-set-default-docker-daemon-mtu
feature: set docker daemon default mtu when deploy
2021-12-06 10:08:00 +08:00
Qiu Jian
5caa123bd1 feature: set docker daemon default mtu when deploy 2021-12-06 07:15:49 +08:00
Zexi Li
158518373c Merge pull request #12819 from swordqiu/hotfix/qj-logger-create-fail-for-empty-notes
fix: fail to insert action log with empty notes
2021-12-06 00:03:58 +08:00
Zexi Li
93c3f38f4c Merge pull request #12822 from swordqiu/hotfix/qj-image-allow-empty-tracker
fix: image service can start without valid track endpoints
2021-12-06 00:03:17 +08:00
Qiu Jian
12acff6e8f fix: image service can start without valid track endpoints 2021-12-05 23:27:36 +08:00
Qiu Jian
1a7db803ad fix: fail to insert action log with empty notes 2021-12-05 23:22:30 +08:00
Zexi Li
ba9af9571a Merge pull request #12817 from swordqiu/feature/qj-server-create-with-existing-disks
feature: server create with existing disks
2021-12-05 23:19:50 +08:00
Qiu Jian
7a7a4bd5a2 feature: server create with existing disks 2021-12-05 17:48:30 +08:00
Jian Qiu
f1a613e15a fix: check permission for getallmetadata params (#12815)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-12-05 08:59:12 +08:00
Zexi Li
e57b5117e3 Merge pull request #12774 from swordqiu/feature/qj-cascading-project-support
Feature/qj cascading project support
2021-12-05 00:18:47 +08:00
Qiu Jian
bdc99987f8 fix: no filter does not work 2021-12-04 21:02:28 +08:00
rainzm
02656f6c59 fix(scheduler): consider perfer and avoid score when sorting HostPriorityList 2021-12-03 14:54:48 +08:00
Zexi Li
dca6a87957 Merge pull request #12803 from zexi/docker-image-unify-utc
fix(build): unify docker image UTC timezone
2021-12-03 11:36:12 +08:00
Zexi Li
67aea1add2 fix(build): unify docker image UTC timezone 2021-12-03 11:28:33 +08:00
Zexi Li
8b06cbd9e3 Merge pull request #12805 from clamyang/bugfix/add-select-cond
fix(region): filter deleted storages
2021-12-03 10:34:05 +08:00
yangbaoqiang
abf6ca2f91 fix(region): filter deleted storages
In some situation, getValidStorages return deleted storage and the zone was deleted from
remote(openstack or others).
2021-12-02 23:01:15 +08:00
Zexi Li
15f8c53029 Merge pull request #12797 from rainzm/sort/modify
fix(scheduler): correct sorting for HostPriorityList
2021-12-02 21:14:59 +08:00
rainzm
a66adb55e7 fix(scheduler): correct sorting for HostPriorityList 2021-12-02 20:57:38 +08:00
Zexi Li
c0e2115f0c Merge pull request #12796 from ioito/hotfix/qx-apsara-tags
fix(region): project tags
2021-12-02 19:30:53 +08:00
ioito
61755e30e8 fix(region): project tags 2021-12-02 19:10:54 +08:00
Zexi Li
4266115019 Merge pull request #12795 from ioito/hotfix/qx-apsara-tags
fix(region): apsara tags sync for project
2021-12-02 18:24:51 +08:00
ioito
921fd1e8fc fix(region): apsara tags sync for project 2021-12-02 17:53:32 +08:00
ioito
b8115d4f03 fix(apigateway): support export for join module 2021-12-02 17:40:08 +08:00
ioito
22a75b9f33 fix(region): add route table filter for networks 2021-12-02 17:02:48 +08:00
Zexi Li
9f53ef9723 Merge pull request #12783 from ioito/hotfix/qx-apsara-project-tags
fix(region): set tags for project
2021-12-02 14:54:30 +08:00
ioito
af93d52eda fix(region): set tags for project 2021-12-02 14:23:36 +08:00
Zexi Li
18377b96aa Merge pull request #12787 from rainzm/imagestatus/active
fix(esxiagent): update storagecachedimage status from 'ready' to 'active'
2021-12-02 14:14:59 +08:00
rainzm
ca38104875 fix(esxiagent): update storagecachedimage status from 'ready' to 'active' 2021-12-02 11:21:24 +08:00
Qiu Jian
1d354d8919 1. Remove is_rbac_enable option
2. code changes due to interface change
2021-12-02 10:24:23 +08:00
Qiu Jian
fbe741f6cd tag filter for rbac 2021-12-02 07:43:10 +08:00
Qiu Jian
ae7c972afc update vendor 2021-12-02 07:43:10 +08:00
Qiu Jian
5eac5832b9 minor fixes 2021-12-02 07:43:10 +08:00
Qiu Jian
84a9ae95f6 feature: policy support tags 2021-12-02 07:43:10 +08:00
Zexi Li
d6b8dcfe8e Merge pull request #12780 from ioito/hotfix/qx-sql-backend
fix(yunionconf): use sqlchemy backend
2021-12-01 19:17:29 +08:00
Zexi Li
2699374bd2 Merge pull request #12785 from zexi/automated-cherry-pick-of-#12784-upstream-master
Automated cherry pick of #12784: fix(region): host support list by os_arch
2021-12-01 18:20:47 +08:00
Zexi Li
dba51f3976 fix(region): host support list by os_arch 2021-12-01 17:44:43 +08:00
Zexi Li
aeaf2f9e3d Merge pull request #12781 from zexi/improve-machine-validate-msg
fix(region): improve validate machine type message
2021-12-01 15:35:51 +08:00
Zexi Li
ad61aaeac8 fix(region): improve validate machine type message 2021-12-01 15:20:36 +08:00
ioito
80b610acf3 fix(yunionconf): use sqlchemy backend 2021-12-01 10:55:48 +08:00
Zexi Li
26cd2be7d7 Merge pull request #12777 from rainzm/ansibleserver/file-repo
fix(ansibleserver): update file-repo from v0.3.3 to v0.3.4
2021-11-30 20:16:06 +08:00
rainzm
79601d3ad9 fix(ansibleserver): update file-repo from v0.3.3 to v0.3.4
1. When checking telegraf, it is compatible with higher version Debian
2. Debian compatible when getting the installation package name
2021-11-30 17:48:38 +08:00
Zexi Li
b3f42a6cfe Merge pull request #12775 from rainzm/cnddomain/createfix
fix(region): setExteranlId and upload tags after creating cdndomain
2021-11-30 17:38:27 +08:00
rainzm
4b32d707ff fix(region): setExteranlId and upload tags after creating cdndomain 2021-11-30 17:08:54 +08:00
Zexi Li
336a6c8fff Merge pull request #12763 from ioito/hotfix/qx-remove-not-found-res
fix(region): delete vm and disk when it was not found
2021-11-30 00:04:15 +08:00
Zexi Li
bf0dbd0c50 Merge pull request #12762 from ioito/hotfix/qx-apigateway-scheduler
fix(apigateway): add scheduler module
2021-11-30 00:03:34 +08:00
Zexi Li
afbf3e9938 Merge pull request #12770 from ioito/hotfix/qx-account-region-sync
fix(region): sync with checked regions
2021-11-30 00:03:15 +08:00
Zexi Li
21bdadce5c Merge pull request #12766 from ioito/hotfix/qx-qcloud-cdn-third_party
fix(region): add third_party for qcloud
2021-11-30 00:02:40 +08:00
Jian Qiu
d1ecca0361 fix: make test for a moving server options (#12772)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-29 23:55:45 +08:00
Jian Qiu
b9b688dd17 update vendor 20211129 (#12771)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-29 23:41:41 +08:00
ioito
dd8d9db55e fix(region): add third_party for qcloud 2021-11-29 19:12:36 +08:00
ioito
42b6455c76 fix(region): sync with checked regions 2021-11-29 19:00:03 +08:00
Zexi Li
6552bc871d Merge pull request #12768 from ioito/hotfix/qx-azure-json
fix(region): azure json unmarshal
2021-11-29 17:44:11 +08:00
ioito
cf39fa720e fix(region): azure json unmarshal 2021-11-29 17:14:11 +08:00
ioito
3a408fc8fd fix(region): delete vm and disk when it was not found 2021-11-29 15:48:44 +08:00
屈轩
68694df3de fix(apigateway): add scheduler module 2021-11-29 15:34:21 +08:00
Zexi Li
e6814568bc Merge pull request #12747 from swordqiu/hotfix/qj-vpcagent-refresh-session-token
fix: vpcagent fail to refresh session token
2021-11-28 18:12:44 +08:00
Zexi Li
c115c029aa Merge pull request #12754 from ioito/hotfix/qx-cdn-create
fix(region): cdn create fix
2021-11-28 18:12:13 +08:00
Zexi Li
ea89b80ad6 Merge pull request #12757 from ioito/hotfix/qx-nas-create-with-tag
fix(region): support nas create with tag
2021-11-28 18:11:31 +08:00
Jian Qiu
e6a7d160e6 feature: support tag tree (#12751)
* feature: support tag tree

* update vendor

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-28 11:58:38 +08:00
Rain Zheng
486a1bb5b0 feat(region): Regularly and automatically synchronize the status of cloud accounts (#12750) 2021-11-27 22:34:22 +08:00
zhaoxiangchun
37e76cd37d fix(cloudcommon): checksync commitSqlDiffWithName (#12760) 2021-11-27 22:33:55 +08:00
Qu Xuan
690b91afc5 fix(region): cdn create fix 2021-11-26 18:18:01 +08:00
Qu Xuan
0d53c000a1 fix(region): support nas create with tag 2021-11-26 18:17:20 +08:00
Qiu Jian
09f4097545 fix: vpcagent fail to refresh session token 2021-11-26 01:09:18 +08:00
Rain Zheng
bff2aaf037 fix(scheduledtask): import sqlchemy backend (#12730) 2021-11-25 22:48:37 +08:00
Zexi Li
e4719be1c0 Merge pull request #12738 from ioito/feat/qx-cdn-create
feat(region): add cdn create op for qcloud
2021-11-25 21:40:15 +08:00
Zexi Li
061fc9440b Merge pull request #12745 from ioito/hotfix/qx-aliyun-kube-cluster-404
fix(region): aliyun kube cluster 404 error
2021-11-25 21:36:12 +08:00
Zexi Li
f1b26a5d64 Merge pull request #12740 from rainzm/rows/close
fix: close it after using sql.Rows
2021-11-25 21:35:30 +08:00
Zexi Li
f99f18f676 Merge pull request #12737 from clamyang/bugfix/add-conn-close
fix(region): add rows.Close func
2021-11-25 21:35:02 +08:00
Qu Xuan
c61e890c38 fix(region): aliyun kube cluster 404 error 2021-11-25 18:03:44 +08:00
rainzm
a71d30cfa6 fix: close it after using sql.Rows 2021-11-25 17:39:50 +08:00
Qu Xuan
dae6799784 feat(region): add cdn create op for qcloud 2021-11-25 15:46:35 +08:00
yangbaoqiang
704de226ed fix(region): add rows.Close func 2021-11-25 15:18:32 +08:00
Zexi Li
8d829db0a6 Merge pull request #12686 from ioito/hotfix/qx-hostname
fix(region): hostname for vm and host
2021-11-25 09:59:31 +08:00
Zexi Li
20a5e361b6 Merge pull request #12732 from ioito/hotfix/qx-apsara-rds-network
fix(region): apsara rds network sync
2021-11-25 00:43:04 +08:00
Qu Xuan
59ec7b3021 fix(region): apsara rds network sync 2021-11-24 16:24:19 +08:00
Zexi Li
38abd92222 Merge pull request #12716 from swordqiu/hotfix/qj-correct-policy-definitions
fix: correct prefined policies definitions
2021-11-23 10:13:23 +08:00
Zexi Li
6d381697dd Merge pull request #12720 from swordqiu/hotfix/qj-disk-driver-persistence
fix: disk driver persistence
2021-11-23 10:12:54 +08:00
Zexi Li
3c0167680a Merge pull request #12724 from clamyang/bugfix/openstack-after-rebuild
fix(region): adjust the logic of rebuild guest
2021-11-23 10:09:21 +08:00
Jian Qiu
5e6cf8ee8c fix: update vendor to fix union error (#12726)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-23 00:42:37 +08:00
Qiu Jian
17556ea721 fix: disk driver persistence 2021-11-22 20:49:45 +08:00
yangbaoqiang
8c80205ecc fix(region): openstack.go
1.调整eip解绑后,重新绑定函数位置
2.调整guest数据盘卸载后,重新挂载函数位置
2021-11-22 19:26:01 +08:00
Jian Qiu
804bd0f713 update version of sqlite3 (#12723)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-22 15:26:18 +08:00
Jian Qiu
da6429a926 fix: update scheduler using new sqlchemy (#12721)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-21 20:46:29 +08:00
Jian Qiu
844eda13e3 fix: sqlite3 needs to load inet extension to work with region (#12719)
* fix: sqlite3 needs to load inet extension to work with region

* modify Makefile to remove CGO_ENABLED=0 for esxi_agent

* update vendor 20211121

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-21 15:01:45 +08:00
Jian Qiu
9cc9fd0872 fix: update vendor 20211121 (#12718)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-21 10:01:18 +08:00
Qiu Jian
6ac807abe6 fix: correct prefined policies definitions 2021-11-20 10:37:41 +08:00
Zexi Li
a945095772 Merge pull request #12711 from swordqiu/feature/qj-ethtool-enable-gso-option
fix: add host option for ethtool_enable_gso
2021-11-19 18:30:14 +08:00
Zexi Li
c469096cd3 Merge pull request #12713 from rainzm/notify/mod_init
fix: adjust the initialization order of init function contents
2021-11-19 18:29:50 +08:00
Zexi Li
859c8a94c3 Merge pull request #12715 from rainzm/api/scheduledtask
feat(apigateway): init scheduledtask packages
2021-11-19 18:29:20 +08:00
rainzm
eaf41c5c59 feat(apigateway): init scheduledtask packages 2021-11-19 18:27:27 +08:00
rainzm
411d67c231 fix: adjust the initialization order of init function contents
改之前,mod_notification.go的init执行在mod_notify.go之前,但是mod_notification.go
init的初始化内容又依赖于mod_notify.go 所以现在合并一起
2021-11-19 12:24:46 +08:00
Qu Xuan
5b383afd57 fix(region): hostname for vm and host 2021-11-19 10:16:30 +08:00
Qiu Jian
718dbd3cb8 fix: add host option for ethtool_enable_gso 2021-11-19 03:14:25 +08:00
Zexi Li
887c7f0641 Merge pull request #12700 from ioito/hotfix/qx-filename-export
fix(apigateway): support filename export
2021-11-18 22:24:48 +08:00
Zexi Li
8391e67830 Merge pull request #12707 from zhaoxiangchun/feature/zxc-cloudmon-master-update-2
feat(cloudmon): cloudmon support aws rds,redis metric
2021-11-18 22:24:24 +08:00
Zexi Li
1be9672387 Merge pull request #12701 from zexi/arm-local-disk-file-locking
fix(host): only local disk enable file.locking option on arm64 host
2021-11-18 22:23:10 +08:00
Zexi Li
a9c7eabb3b Merge pull request #12705 from tb365/bugfix/tb-bugfix-111801
gcp lb sync address bugfix
2021-11-18 22:22:48 +08:00
zhaoxiangchun
9e1c0df7de feat(cloudmon): cloudmon support aws rds,redis metric 2021-11-18 14:19:48 +08:00
tb365
107581d532 gcp lb sync address bugfix 2021-11-18 13:22:53 +08:00
Zexi Li
6600e919a6 fix(host): only local disk enable file.locking option on arm64 host 2021-11-18 10:45:39 +08:00
Zexi Li
aaddc08700 Merge pull request #12670 from zhaoxiangchun/feature/zxc-cloudmon-master-update-2
feat(cloudmon): modify cloudmon deployment
2021-11-18 10:34:10 +08:00
Zexi Li
97f8a668cc Merge pull request #12699 from rainzm/timedtasklabel
feat(scheduledtask): support filter scheduledtask with label
2021-11-18 10:33:46 +08:00
Qu Xuan
2cb7c38ffa fix(apigateway): support filename export 2021-11-18 10:05:57 +08:00
rainzm
b2c1fde548 feat(scheduledtask): support filter scheduledtask with label 2021-11-18 10:04:47 +08:00
Jian Qiu
ae3104e980 fix: add switch of sdnagent tc man (#12697)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-18 05:16:42 +08:00
Zexi Li
9dbf74f77d Merge pull request #12640 from swordqiu/hotfix/qj-validate-vm-vdi-vga-machine
fix: validate VM vdi,vga,machine input
2021-11-17 16:53:00 +08:00
Zexi Li
1762796981 Merge pull request #12687 from ioito/hotfix/qx-qcloud-event-time
fix(cloudevent): qcloud event time
2021-11-17 16:40:54 +08:00
Zexi Li
ef0a970a7c Merge pull request #12065 from swordqiu/feature/qj-support-clickhouse
feature: adapt to new version of sqlchemy that supports sqlite&clickhouse
2021-11-17 15:57:19 +08:00
Zexi Li
4669ac1fff Merge pull request #12626 from swordqiu/fix/qj-extra-options-multi-values
fix: qemu extra options support multiple values
2021-11-17 15:44:48 +08:00
Zexi Li
a9bfe4dd92 Merge pull request #12692 from tb365/bugfix/tb-bugfix-111701
gcp lb sync ip address fix
2021-11-17 15:43:59 +08:00
tb365
2453c2a5a7 lb cloudregion overwrite fix 2021-11-17 14:54:56 +08:00
tb365
ebb11f80e1 gcp lb sync ip address fix 2021-11-17 11:25:31 +08:00
Qiu Jian
e391ae173e fix: validate VM vdi,vga,machine input 2021-11-17 07:51:18 +08:00
Qiu Jian
0f50e85f46 fix: qemu extra options support multiple values 2021-11-17 07:35:06 +08:00
Qiu Jian
97a3ab12a2 support sqlite 2021-11-17 07:25:00 +08:00
Qiu Jian
e6fca7ff3d update vendor 2021-11-17 00:02:06 +08:00
Qiu Jian
139054e0af feature: adapt to new version of sqlchemy that supports clickhouse 2021-11-17 00:02:06 +08:00
Qu Xuan
11256c0f6f fix(cloudevent): qcloud event time 2021-11-16 17:39:37 +08:00
Zexi Li
c2c6595918 Merge pull request #12681 from swordqiu/hotfix/qj-eip-allocate-prefer-owner-network
fix: server-create-eip allocation prefer owner's eip network
2021-11-16 16:10:56 +08:00
Zexi Li
1b1af80abf Merge pull request #12685 from rainzm/timedtask
Independent scheduledtask service
2021-11-16 10:18:41 +08:00
Zexi Li
fde8181829 Merge pull request #12664 from tb365/feature/tb-support-ctyun-crm-account
ctyun support crm account
2021-11-16 10:16:04 +08:00
Zexi Li
06c56d24f5 Merge pull request #12679 from ioito/hotfix/qx-fix-tags
fix(region): tag sync
2021-11-16 10:15:14 +08:00
Zexi Li
fe6883a79f Merge pull request #12683 from ioito/hotfix/qx-user-tag-export
fix(region): export user_tags
2021-11-16 09:11:26 +08:00
rainzm
c44f0c5ec3 fix(notify): modify scheduledtaks const reference 2021-11-15 19:35:04 +08:00
Qiu Jian
e96585a2e4 fix: server-create-eip allocation prefer owner's eip network 2021-11-15 19:30:46 +08:00
rainzm
278dd51950 feat(region): do not actively detach scheduledtask when deleting a guest 2021-11-15 19:24:08 +08:00
rainzm
09ac144e93 fix: add doc.go 2021-11-15 19:12:27 +08:00
rainzm
5c8d51d175 feat(region): remove scheduled_task 2021-11-15 19:01:10 +08:00
rainzm
c46b26573e feat(region): remove auto clouaccount syncing coronjob 2021-11-15 19:01:10 +08:00
rainzm
1b9d4a8f15 feat(scheduledtask): support sync cloudaccount 2021-11-15 19:01:10 +08:00
rainzm
6285fdb53a feat(scheduledtask): initialize scheduledtask service
climc
2021-11-15 19:01:09 +08:00
Zexi Li
2abe797d19 Merge pull request #12671 from zhaoxiangchun/bugfix/zxc-monitor
fix(monitor): 告警历史问题修复
2021-11-15 18:25:12 +08:00
Qu Xuan
e16901ce2c fix(region): export user_tags 2021-11-15 17:34:51 +08:00
zhaoxiangchun
2af6bf5d0d Merge branch 'master' of https://github.com/yunionio/cloudpods into bugfix/zxc-monitor 2021-11-15 17:04:09 +08:00
Qu Xuan
48ce6f0bd6 fix(region): tag sync 2021-11-15 17:03:05 +08:00
Jian Qiu
049b00435e fix: remove irrelevant codes (#12676)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-15 00:42:59 +08:00
Zexi Li
fa8a7d4a35 Merge pull request #12672 from ioito/hotfix/qx-waf-app-tag
fix(region): waf app tag sync
2021-11-13 18:52:58 +08:00
Zexi Li
d435bb2c37 Merge pull request #12675 from swordqiu/hotfix/qj-cleanup-codes-20211113
fix: cleanup codes
2021-11-13 18:52:42 +08:00
Qiu Jian
a5b3345b3d fix: cleanup codes 2021-11-13 18:22:57 +08:00
zhaoxiangchun
018a653deb fix(monitor): remove websocket import in monitor service 2021-11-12 16:31:18 +08:00
Qu Xuan
fd3e3e82dd fix(region): waf app tag sync 2021-11-12 16:29:44 +08:00
zhaoxiangchun
979da5107b fix(monitor): 告警历史问题修复
1.https://bug.yunion.io/zentao/bug-view-7933.html
2021-11-12 16:21:32 +08:00
tb365
93e8233a12 Merge branch 'master' into feature/tb-support-ctyun-crm-account 2021-11-12 15:11:48 +08:00
tb365
f8536611e4 ctyun support crm account 2021-11-12 11:09:50 +08:00
zhaoxiangchun
7335593a98 Merge branch 'master' of https://github.com/yunionio/cloudpods into feature/zxc-cloudmon-master-update-2 2021-11-12 10:05:34 +08:00
zhaoxiangchun
8f77174771 feat(cloudmon): modify cloudmon deployment 2021-11-11 20:09:15 +08:00
Zexi Li
72f4ce4a5e Merge pull request #12663 from zexi/cloud-k8s-sync-info
fix(region): sync k8s cluster info to kubeserver
2021-11-11 13:28:24 +08:00
Zexi Li
91853cadb1 fix(region): sync k8s cluster info to kubeserver 2021-11-11 11:21:04 +08:00
Zexi Li
0537dae03c Merge pull request #12661 from ioito/hotfix/qx-cli-proxy
fix(climc): fix proxy for cli
2021-11-11 10:06:53 +08:00
Zexi Li
7728501139 Merge pull request #12666 from swordqiu/hotfix/qj-fail-free-reserved-ip-in-non-owner-project
fix: fail to free reserved ip in non-owner project
2021-11-11 10:06:00 +08:00
Zexi Li
9fa061439e Merge pull request #12629 from ioito/hotfix/qx-vpc-peering-api
fix(region): add api field for vpc-peering
2021-11-11 10:05:07 +08:00
Qiu Jian
a7461d21d1 fix: fail to free reserved ip in non-owner project 2021-11-11 07:32:45 +08:00
Qu Xuan
acd042921f fix(climc): fix proxy for cli 2021-11-10 15:47:15 +08:00
Qu Xuan
28c46058df fix(region): add api field for vpc-peering 2021-11-10 15:15:15 +08:00
Zexi Li
d07702c57f Merge pull request #12616 from tb365/bugfix/tb-bugfix-110501
Bugfix/tb bugfix 110501
2021-11-10 12:22:10 +08:00
Zexi Li
43e35a8d87 Merge pull request #12656 from swordqiu/hotfix/qj-allocate-eip-from-poll-of-same-project
fix: allocate eip from network that belong sto the same project
2021-11-10 12:21:06 +08:00
Zexi Li
2db0a1dfcd Merge pull request #12658 from ioito/hotfix/qx-google-secgroup-sync
fix(region): google secgroup sync
2021-11-10 12:20:45 +08:00
Zexi Li
a77506fac7 Merge pull request #12597 from swordqiu/feature/qj-pass-ntp-server-by-dhcp
feature: pass ntp server by DHCP option
2021-11-10 12:16:29 +08:00
Qiu Jian
9a269325cc update vendor 2021-11-10 11:24:17 +08:00
Qiu Jian
eaaa3061c1 update vendor 2021-11-10 11:18:43 +08:00
Qu Xuan
f302243c9a fix(region): google secgroup sync 2021-11-10 11:05:55 +08:00
Qiu Jian
ed686cf2e3 fix: fixed on merge Input json 2021-11-10 10:26:58 +08:00
Qiu Jian
5cd4e094c9 update vendor 2021-11-10 10:26:58 +08:00
Qiu Jian
307a381482 feature: pass ntp server by DHCP option 2021-11-10 10:26:58 +08:00
Qiu Jian
d932a26b4c fix: allocate eip from network that belong sto the same project 2021-11-10 01:22:24 +08:00
Zexi Li
c998867d88 Merge pull request #12641 from swordqiu/hotfix/qj-false-deleted-field-for-deleted-resource
fix: false delted field for deleted resources
2021-11-09 20:46:19 +08:00
屈轩
4025fabd8b fix(climc): json output (#12651)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2021-11-09 19:33:24 +08:00
Zexi Li
20b8f4c716 Merge pull request #12649 from zexi/automated-cherry-pick-of-#12647-upstream-master
Automated cherry pick of #12647: fix(webconsole): host ssh use cloudroot user error
2021-11-09 19:32:11 +08:00
Zexi Li
1b5e9e54bb fix(webconsole): host ssh use cloudroot user error 2021-11-09 18:34:05 +08:00
Zexi Li
e96200b277 Merge pull request #12642 from zexi/fix-nfs-clone-disk
fix(host): nfs clone disk from storage not implement
2021-11-09 18:14:37 +08:00
Zexi Li
e666c82a46 Merge pull request #12644 from ioito/hotfix/qx-climc-output
fix(climc): climc json output
2021-11-09 18:13:44 +08:00
Qu Xuan
7012a6bdd2 fix(climc): climc json output 2021-11-09 17:14:49 +08:00
Zexi Li
8839e9e2fe fix(host): nfs clone disk from storage not implement 2021-11-09 10:03:19 +08:00
Zexi Li
dea48b318d Merge pull request #12627 from swordqiu/hotfix/qj-optimize-vm-performance
fix: optimize vm disk io parameters
2021-11-09 01:18:00 +08:00
Zexi Li
e25c3a32c4 Merge pull request #12631 from ioito/hotfix/qx-cloudpods-metadata-sync
fix(region): sync cloudpods metadata
2021-11-09 01:17:02 +08:00
Zexi Li
7a6a04c7b9 Merge pull request #12633 from ioito/hotfix/qx-aws-redis-fix
fix(region): aws redis not found error
2021-11-09 01:16:13 +08:00
Zexi Li
18dd23daab Merge pull request #12636 from tb365/bugfix/tb-bugfix-110803
qcloud&aliyun update backend weight value range fix
2021-11-09 01:15:23 +08:00
Qiu Jian
8978d7d890 fix: false delted field for deleted resources 2021-11-09 00:13:15 +08:00
Zexi Li
175079d881 Merge pull request #12639 from ioito/hotfix/qx-aliyun-k8s
fix(region): sync aliyun k8s by region
2021-11-08 20:27:52 +08:00
Qu Xuan
f10f203d55 fix(region): sync aliyun k8s by region 2021-11-08 19:01:11 +08:00
tb365
4e1794855b qcloud&aliyun update backend weight value range fix 2021-11-08 17:22:28 +08:00
Qu Xuan
e573f46c46 fix(region): aws redis not found error 2021-11-08 14:56:35 +08:00
Qu Xuan
dc29e3d9ee fix(region): sync cloudpods metadata 2021-11-08 14:22:40 +08:00
Zexi Li
dc2cf168b1 Merge pull request #12623 from swordqiu/hotfix/qj-storage-cached-image-manger-account-info
fix: provide manager/account info for storagecachedimage
2021-11-08 12:44:10 +08:00
Qiu Jian
7d8f079178 minor fixes 2021-11-08 12:21:27 +08:00
Qiu Jian
c4871168be fix: provide manager/account info for storagecachedimage 2021-11-08 12:07:02 +08:00
Zexi Li
2190b5a7f6 Merge pull request #12589 from ioito/hotfix/qx-image-download-progress-bar
fix(climc): add progress bar for image download
2021-11-08 11:05:29 +08:00
Zexi Li
95a5d7c342 Merge pull request #12580 from ioito/hotfix/qx-progress
fix(region): support progress for resource status
2021-11-08 11:04:54 +08:00
Zexi Li
356dccc6fe Merge pull request #12615 from ioito/hotfix/qx-mcclient-modules
fix(common): split mcclient modules by service
2021-11-08 11:04:35 +08:00
Qiu Jian
528eb2ab30 fix: optimize vm disk io parameters 2021-11-08 10:05:16 +08:00
Jian Qiu
1b5ec22599 fix: cleanup compile warnings (#12620)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-06 12:29:35 +08:00
Qu Xuan
06dc1c1b87 fix(common): split mcclient modules by service 2021-11-05 19:24:50 +08:00
tb365
0fd3f99045 loadbalancer sync remove backend group 2021-11-05 19:08:57 +08:00
Zexi Li
dfbd439135 Merge pull request #12570 from ioito/hotfix/qx-account-sync
fix(region): enable sync account by resource
2021-11-05 18:49:45 +08:00
Zexi Li
17203d06d2 Merge pull request #12558 from ioito/hotfix/qx-sub-accounts
fix(region): cloud account sync optimized
2021-11-05 18:39:24 +08:00
Zexi Li
c5f5a4d862 Merge pull request #12613 from zhaoxiangchun/bugfix/zxc-monitor
fix(monitor): monitor host query fix
2021-11-05 18:37:08 +08:00
zhaoxiangchun
5f6330dcaf fix(monitor): monitor host query fix 2021-11-05 14:12:04 +08:00
Zexi Li
8840065c8d Merge pull request #12609 from ioito/hotfix/qx-sec-rule-update-cidr
fix(region): avoid cidr change 0.0.0.0/0
2021-11-05 10:39:59 +08:00
tb365
7eb2365595 loadbalancer ipfronts 2021-11-05 10:39:52 +08:00
Qu Xuan
16666d9cb4 fix(region): avoid cidr change 0.0.0.0/0 2021-11-05 10:03:38 +08:00
Zexi Li
18ccc6b6d2 Merge pull request #12600 from tb365/feature/tb-gcp-lb-read
support gcp regional lb sync
2021-11-05 01:15:23 +08:00
Zexi Li
6c0b66e54b Merge pull request #12603 from ioito/hotfix/qx-openstack-no-vnc
fix(webconsole): support vnc for openstack
2021-11-05 01:14:41 +08:00
Zexi Li
d0cbc99423 feat(region,host): create or update server add machine option (#12605) 2021-11-04 22:26:47 +08:00
Qu Xuan
5f497f2d6a fix(webconsole): support vnc for openstack 2021-11-04 19:24:52 +08:00
Zexi Li
2196265a68 Merge pull request #12602 from zexi/readme-install-ansible
fix(readme): install ansible
2021-11-04 17:26:58 +08:00
Zexi Li
880c2e4a41 fix(readme): install ansible 2021-11-04 17:24:28 +08:00
tb365
5b573b66ea support gcp regional lb sync 2021-11-04 16:58:54 +08:00
Zexi Li
acaba56c88 Merge pull request #12595 from zhaoxiangchun/bugfix/zxc-monitor
fix(monitor): monitor alert support:{level} filter
2021-11-04 16:24:59 +08:00
zhaoxiangchun
23ebe099cc fix(monitor): add monitor sheild {expired} state 2021-11-04 16:19:09 +08:00
zhaoxiangchun
20e16dc86b fix(monitor): onecloud notifier send sys when user_ids and robot_ids
length == 0
2021-11-04 15:42:08 +08:00
Qu Xuan
8161430590 fix(region): support progress for resource status 2021-11-04 10:35:30 +08:00
Zexi Li
9ebbd54e17 Merge pull request #12598 from rainzm/robot/system
fix(notify): init system tenant_id for robot without tenant_id
2021-11-03 22:56:01 +08:00
rainzm
ef57e07fba fix(notify): init system tenant_id for robot without tenant_id 2021-11-03 19:57:16 +08:00
Zexi Li
d6abd6a606 Merge pull request #12593 from rainzm/esxi/ip_sync
fix(region): avoid syncing when starting or stoping esxi vm
2021-11-03 18:08:31 +08:00
Zexi Li
ca7f38c8b5 Merge pull request #12590 from rainzm/dvs/uplink
fix(esxi): avoid uplink dvpg
2021-11-03 18:07:06 +08:00
rainzm
4cb043f814 fix(region): avoid syncing when starting or stoping esxi vm 2021-11-03 17:43:09 +08:00
Zexi Li
781f238b7f Merge pull request #12585 from zexi/server-disk-change-storage
feat(region,host): implement server change disk storage
2021-11-03 17:14:07 +08:00
zhaoxiangchun
f3e16e85b1 fix(monitor): monitor alert support:{level} filter 2021-11-03 17:04:05 +08:00
rainzm
cdbe3aa015 fix(esxi): avoid uplink dvpg 2021-11-03 17:02:03 +08:00
Qu Xuan
4d93929c17 fix(climc): add progress bar for image download 2021-11-03 16:08:17 +08:00
Zexi Li
cde34767c0 feat(region,host): implement server change disk storage 2021-11-03 11:01:01 +08:00
Jian Qiu
1b5b1c9796 fix: disable MFA by default (#12586) 2021-11-03 01:31:26 +08:00
Zexi Li
d409bdc7c3 Merge pull request #12561 from swordqiu/hotfix/qj-delay-gpu-probe-on-host-init
fix: delayed probing GPU on host init and add disable_gpu option
2021-11-03 00:00:27 +08:00
Zexi Li
8dd85953d1 Merge pull request #12577 from rainzm/isp/delete
fix(region): delete instance snapshot itself after deleting subsnapshots
2021-11-02 23:47:41 +08:00
Zexi Li
504d23e4a9 Merge pull request #12581 from ioito/hotfix/qx-cdn-purge
fix(region): cdn purge
2021-11-02 23:46:24 +08:00
Zexi Li
52626e9133 Merge pull request #12583 from rainzm/robot/init1
fix(notify): init ProjectId for robots without ProjectId
2021-11-02 23:45:15 +08:00
rainzm
0a2e1b84c2 fix(notify): init ProjectId for robots without ProjectId 2021-11-02 20:18:19 +08:00
Qu Xuan
7e9306c283 fix(region): cdn purge 2021-11-02 19:25:14 +08:00
rainzm
1710c4ce0d fix(region): delete instance snapshot itself after deleting subsnapshots 2021-11-02 10:26:16 +08:00
Zexi Li
da8f6c7f56 Merge pull request #12571 from ioito/hotfix/qx-avoid-panic
fix(region): avoid panic when query is nil
2021-11-01 20:28:13 +08:00
Zexi Li
e67e07e838 Merge pull request #12574 from rainzm/agent/fix1
Flag for installing agent
2021-11-01 20:27:20 +08:00
rainzm
fe4b19a757 feat(region): add have-agent action for guest 2021-11-01 19:38:14 +08:00
rainzm
f46e3747ff feat(cloudproxy): add purge-forward for proxy endpoint 2021-11-01 19:37:38 +08:00
Qu Xuan
9e4e49ba62 fix(region): avoid panic when query is nil 2021-11-01 16:30:07 +08:00
Qu Xuan
8e90725e6e fix(region): enable sync account by resource 2021-11-01 14:15:40 +08:00
Zexi Li
bfaf8729ed Merge pull request #12559 from rainzm/notify/fix7
fixes for notify
2021-11-01 10:07:26 +08:00
Zexi Li
3a0dab1235 Merge pull request #12564 from rainzm/schedulertask/init
fix(region): init timerQueue correctly
2021-11-01 10:05:25 +08:00
yunion-ci-robot
adc98502f6 Merge pull request #12568 from swordqiu/hotfix/qj-cleanup-region-data
fix: clean up region data
2021-11-01 09:50:09 +08:00
Qiu Jian
5efddfe95c fix: clean up region data 2021-10-30 22:06:01 +08:00
rainzm
76ff9de58b fix(region): init timerQueue correctly 2021-10-30 17:59:30 +08:00
Qiu Jian
a970249cc1 fix: delayed probing GPU on host init and add disable_gpu option 2021-10-30 11:46:16 +08:00
rainzm
2a3dccfe15 feat(notify): add WebconsoleDisable for topic 2021-10-29 19:33:15 +08:00
Qu Xuan
afa7a650a3 fix(region): cloud account sync optimized 2021-10-29 19:18:27 +08:00
rainzm
123cd0addc fix(notify): init robot project info 2021-10-29 16:47:15 +08:00
Zexi Li
df82bd1cb9 Merge pull request #12556 from ioito/hotfix/qx-vm-nic
fix(region): avoid empty ip addr for vm
2021-10-29 15:23:16 +08:00
Zexi Li
a3b38971f1 Merge pull request #12554 from ioito/hotfix/qx-vpc-usable-zone
fix(region): filter vpcs by zone
2021-10-29 15:21:08 +08:00
Qu Xuan
ce64d2dcc0 fix(region): filter vpcs by zone 2021-10-29 14:32:28 +08:00
Qu Xuan
d0f2c5e4a5 fix(region): avoid empty ip addr for vm 2021-10-29 11:50:08 +08:00
Zexi Li
6a9d681168 Merge pull request #12551 from ioito/hotfix/qx-qemu-img-panic
fix(host): avoid panic when qemu-img info error
2021-10-29 11:37:02 +08:00
Qu Xuan
07cc843b2b fix(host): avoid panic when qemu-img info error 2021-10-29 11:16:53 +08:00
Zexi Li
2911f24528 Merge pull request #12484 from tb365/bugfix/tb-bugfix-101802
ctyun api updates
2021-10-29 11:09:11 +08:00
Zexi Li
2aad91fb8b Merge pull request #12548 from swordqiu/hotfix/qj-apigateway-refresh-api-server-option
fix: apigateway request api_server option directly from keystone
2021-10-29 11:08:24 +08:00
Zexi Li
f563e964b7 Merge pull request #12474 from ioito/feat/qx-k8s
feat(region): kube cluster sync
2021-10-29 11:07:51 +08:00
Qu Xuan
4fbd23d730 feat(region): kube cluster sync 2021-10-29 10:44:10 +08:00
Qiu Jian
9fb27993eb fix: apigateway request api_server option directly from keystone 2021-10-28 23:51:17 +08:00
Zexi Li
4ae0a419d2 Merge pull request #12546 from ioito/hotfix/qx-cephx-none
fix(host): cephx closed
2021-10-28 21:01:24 +08:00
Qu Xuan
24376647f8 fix(host): cephx closed 2021-10-28 20:04:04 +08:00
Zexi Li
fd23aad54a Merge pull request #12540 from ioito/hotfix/qx-rbd-storage-attach
fix(host): avoid storage attach not report error
2021-10-28 18:24:54 +08:00
Zexi Li
67ff676e5c Merge pull request #12544 from rainzm/notify/generate_name
fix(notify): be compatible with Chinese when generating names
2021-10-28 18:17:13 +08:00
rainzm
635423218e fix(notify): be compatible with Chinese when generating names 2021-10-28 17:06:07 +08:00
Qu Xuan
b6c5df2784 fix(host): avoid storage attach not report error 2021-10-28 16:59:35 +08:00
Zexi Li
e69cba7ef9 Merge pull request #12535 from ioito/hotfix/qx-validate-update
fix(region): validate update
2021-10-28 16:36:29 +08:00
Zexi Li
ee9c4b43d9 Merge pull request #12504 from ioito/hotfix/qx-qemu-img
fix(host): qemu-image info with json
2021-10-28 16:30:38 +08:00
Zexi Li
c6d45adecc Merge pull request #12531 from ioito/hotfix/qx-aliyun-cdn
fix(region): add cdn domain
2021-10-28 10:03:22 +08:00
Zexi Li
e99013d548 Merge pull request #12533 from ioito/hotfix/qx-waf-app-tags-sync
Hotfix/qx waf app tags sync
2021-10-28 09:55:21 +08:00
Zexi Li
b7cfd04185 Merge pull request #12538 from ioito/hotfix/qx-api-server-changed
fix(apigateway): api_server changed
2021-10-28 09:53:04 +08:00
Qu Xuan
e4fa104f71 fix(apigateway): api_server changed 2021-10-27 19:37:05 +08:00
Qu Xuan
21dbc49528 fix(region): validate update 2021-10-27 17:53:57 +08:00
yunion-ci-robot
0ff3227ced Merge pull request #12495 from zhaoxiangchun/fix/zxc-dispatcher-master
fix(cloudcommon): update db_dispatcher set order by to sqlchemy.SQuery
2021-10-27 17:26:45 +08:00
Qu Xuan
b4eaa34ffb fix(region): add waf and app tags sync 2021-10-27 17:00:03 +08:00
Qu Xuan
2679f944f6 fix(region): add cdn domain 2021-10-27 15:37:45 +08:00
Zexi Li
ff320eb9e0 Merge pull request #12485 from zhaoxiangchun/feature/zxc-monitor-resource-master
feat(monitor): monitor resource pull region  metadata info
2021-10-27 10:37:58 +08:00
Zexi Li
1455599035 Merge pull request #12469 from tb365/bugfix/tb-bugfix-101902
eip bind aws server fix
2021-10-27 10:00:39 +08:00
Zexi Li
ea7540cb14 Merge pull request #12527 from zhaoxiangchun/feature/zxc-azure-metric
feat(monitor,cloudmon): add azure rds,redis,lb metric
2021-10-26 19:34:20 +08:00
Zexi Li
20be215e40 Merge pull request #12517 from tb365/bugfix/tb-bugfix-102601
cn-southwest-2 default bgp type 5_sbgp
2021-10-26 19:31:45 +08:00
Zexi Li
df4f157974 Merge pull request #12523 from ioito/hotfix/qx-openstack-sync-panic
fix(region): openstack eip sync
2021-10-26 19:15:50 +08:00
zhaoxiangchun
e20c47a0f9 feat(monitor,cloudmon): add azure rds,redis,lb metric
1.支持azure相关资源监控
2021-10-26 17:37:25 +08:00
Qu Xuan
219f280dc2 fix(region): openstack eip sync 2021-10-26 15:34:36 +08:00
yunion-ci-robot
790227c1bc Merge pull request #12476 from rainzm/webhook/extend
Webhook/extend
2021-10-26 15:18:45 +08:00
rainzm
98f501b0e6 feat(notify): configure the new resource and its translation 2021-10-26 14:44:56 +08:00
rainzm
2a8cfa612b feat(region): add some resources to create deleted webhook notifications 2021-10-26 14:41:16 +08:00
Zexi Li
3d0fa46021 Merge pull request #12520 from zexi/cdn-gen-code
fix(region): cdn generated code
2021-10-26 11:02:07 +08:00
Zexi Li
66c8609748 fix(region): cdn generated code 2021-10-26 10:59:23 +08:00
rainzm
e5cefa54f5 feat(notify): add Action sync_create, sync_update, sync_delete 2021-10-26 10:50:12 +08:00
rainzm
a7d54f8044 feat(notify): update topic 2021-10-26 10:50:12 +08:00
tb365
d30b57efb6 cn-southwest-2 default bgp type 5_sbgp 2021-10-26 09:27:59 +08:00
Zexi Li
129f2525c3 Merge pull request #12510 from zexi/baremetal-options-worker-count
fix(baremetal): TaskWorkerCount options not init
2021-10-25 15:34:44 +08:00
Zexi Li
b3d3c8de66 fix(baremetal): TaskWorkerCount options not init 2021-10-25 11:55:43 +08:00
yunion-ci-robot
f7406fad88 Merge pull request #12505 from ioito/hotfix/qx-qcloud-nic-disk
fix(region): qcloud classic nic and storage sync
2021-10-24 16:56:08 +08:00
Qu Xuan
0698b074b2 fix(region): qcloud classic nic and storage sync 2021-10-22 18:24:48 +08:00
Qu Xuan
0e3b83f85b fix(host): qemu-image info with json 2021-10-22 17:23:16 +08:00
Zexi Li
91f41cb7da Merge pull request #12498 from ioito/hotfix/qx-rbd-secret
fix(region): hide rbd disk secret
2021-10-22 16:50:40 +08:00
Zexi Li
ccbe03881e Merge pull request #12496 from ioito/hotfix/qx-ceph-snap-delete
fix(host): ceph snap delete
2021-10-22 15:26:49 +08:00
Qu Xuan
e26074b4c6 fix(region): hide rbd disk secret 2021-10-22 15:05:19 +08:00
Qu Xuan
756f13dd7c fix(host): ceph snap delete 2021-10-22 14:45:03 +08:00
zhaoxiangchun
d313c79a43 fix(cloudcommon): update db_dispatcher set order by to sqlchemy.SQuery
1. 支持对使用了聚合函数的field进行orderby 操作,如:sum(amount) as
   amount
2021-10-22 14:28:04 +08:00
Zexi Li
cb56269f43 Merge pull request #12491 from ioito/hotfix/qx-change-config-with-snapshot
fix(region): set storage with snapshot id when change vm disk config
2021-10-22 13:12:29 +08:00
Zexi Li
d922783fe3 Merge pull request #12486 from ioito/hotfix/qx-struct-disk-create-params
fix(host): struct disk create params
2021-10-22 11:51:26 +08:00
Qu Xuan
c6a1d5f3f9 fix(region): set storage with snapshot id when change vm disk config 2021-10-22 11:45:35 +08:00
yunion-ci-robot
5d0087d585 Merge pull request #12487 from zexi/arm-snapshot-locking
fix(host): disk snapshot file locking off
2021-10-22 11:40:04 +08:00
Qu Xuan
6fda698eef fix(host): struct disk create params 2021-10-22 11:25:48 +08:00
Zexi Li
b2c17142a6 fix(host): disk snapshot file locking off 2021-10-22 11:19:10 +08:00
Zexi Li
4c6069a222 Merge pull request #12471 from tb365/bugfix/tb-bugfix-102001
host count add filters
2021-10-21 20:08:55 +08:00
Zexi Li
6f2ccf15e5 Merge pull request #12481 from ioito/hotfix/qx-rbd-storage-mount-point
fix(host): same mountpoint rbd storage
2021-10-21 17:11:10 +08:00
zhaoxiangchun
5ed88ef90d feat(monitor): monitor resource pull region metadata info 2021-10-21 16:09:58 +08:00
tb365
8353530cc7 ctyun api updates 2021-10-21 14:44:48 +08:00
Qu Xuan
206702298a fix(host): same mountpoint rbd storage 2021-10-21 14:35:19 +08:00
tb365
a12a36bfc3 eip bind aws server fix 2021-10-21 11:56:11 +08:00
Zexi Li
cfac1bd222 Merge pull request #12478 from zexi/automated-cherry-pick-of-#12477-upstream-master
Automated cherry pick of #12477: fix(baremetal): rebuild root calculate root disk partitions incorrect
2021-10-21 11:27:58 +08:00
Zexi Li
cc9ce71790 fix(baremetal): rebuild root calculate root disk partitions incorrect 2021-10-21 01:06:42 +08:00
tb365
70b15d19dc host count add filters 2021-10-20 16:45:41 +08:00
Zexi Li
bfddbaed9a Merge pull request #12457 from zexi/bm-task-worker-option
fix(baremetal): add task_worker_count option
2021-10-19 22:40:32 +08:00
Zexi Li
7c4e7a503f Merge pull request #12460 from ioito/optimized/qx-qemu-img-convert
optimized(region): improve img convert speed
2021-10-19 22:38:37 +08:00
Zexi Li
109b38fdea Merge pull request #12467 from ioito/hotfix/qx-cdn-origins
fix(region): sync cdn domain origins
2021-10-19 22:31:29 +08:00
Zexi Li
40e1d658dc Merge pull request #12464 from swordqiu/hotfix/qj-fix-glance-missing-s3fs
fix: glance depends s3fs
2021-10-19 22:29:03 +08:00
Qu Xuan
89a701e5bb fix(region): sync cdn domain origins 2021-10-19 16:10:38 +08:00
Qu Xuan
25666b7895 optimized(region): improve img convert speed 2021-10-19 10:55:12 +08:00
Qiu Jian
f038ae7247 fix: glance depends s3fs 2021-10-19 10:31:35 +08:00
Zexi Li
6e3c7a44d3 fix(baremetal): add task_worker_count option 2021-10-18 22:41:27 +08:00
Zexi Li
e3d43f8485 Merge pull request #12455 from ioito/hotfix/qx-metadata-list
fix(region): tag list for natgateways
2021-10-18 22:16:30 +08:00
Qu Xuan
55ab564042 fix(region): tag list for natgateways 2021-10-18 19:04:52 +08:00
Zexi Li
59666a0bdb Merge pull request #12347 from tb365/bugfix/tb-bugfix-093001
ctyun api updates
2021-10-18 18:19:53 +08:00
Zexi Li
26c4aa7b8f Merge pull request #12452 from ioito/hotfix/qx-capacities-length-overflow
fix(region): capacities overflow with azure
2021-10-18 17:20:24 +08:00
Zexi Li
2433c369ce Merge pull request #12438 from ioito/hotfix/qx-account-sync
fix(region): allow account sync when auto sync enabled
2021-10-18 17:20:04 +08:00
Qu Xuan
05f27b5b5c fix(region): capacities overflow with azure 2021-10-18 16:12:12 +08:00
Zexi Li
78da1aa7ee Merge pull request #12447 from swordqiu/feature/qj-phoenix-os-support
feature: support PhoenixOS guest
2021-10-18 15:22:27 +08:00
Zexi Li
33312a1e30 Merge pull request #12449 from swordqiu/hotfix/qj-update-vga-vdi-correlation
fix: update server vdi and vga with correlation
2021-10-18 15:15:38 +08:00
Zexi Li
8f0031d44f Merge pull request #12444 from swordqiu/hotfix/qj-glance-use-multicloud-objectstorage-client
fix: glance use multicloud objectstorage client to manipulate objectstorage
2021-10-18 15:14:21 +08:00
Qiu Jian
f6fc04fad7 fix: update server vdi and vga with correlation 2021-10-17 22:09:39 +08:00
Qiu Jian
b4c6ee7a48 feature: support PhoenixOS guest 2021-10-17 04:19:10 +08:00
Qiu Jian
b53ca64176 fix: remove s3fs client from docker image 2021-10-17 02:52:19 +08:00
Qiu Jian
21cc4903f2 fix: make minio endpoint compatible with multicloud objectstorage 2021-10-17 02:51:44 +08:00
Qiu Jian
3d9a7792d3 fix: glance use multicloud objectstorage client to manipulate
objectstorage
2021-10-17 02:20:00 +08:00
Qu Xuan
fd17400461 fix(region): waf and app tags sync 2021-10-15 16:56:30 +08:00
Qu Xuan
ea38a691f5 fix(region): allow account sync when auto sync enabled 2021-10-15 14:09:49 +08:00
Zexi Li
674e8340b0 Merge pull request #12409 from tb365/feature/tb-vm-image-download
add image download api
2021-10-15 09:49:50 +08:00
Zexi Li
54ddbd8e0a Merge pull request #12412 from ioito/hotfix/qx-xfs-lock
fix(host): xfs unlock
2021-10-15 09:46:28 +08:00
Zexi Li
52d0d339c5 Merge pull request #12423 from ioito/hotfix/qx-google-rds-tags-sync
fix(region): google rds tags sync
2021-10-15 09:42:33 +08:00
Zexi Li
58e8065180 Merge pull request #12426 from rainzm/st/fix
fix(region): wait all goroutine finished when execute scheduled_tasks
2021-10-15 09:38:15 +08:00
Zexi Li
21548c55d7 Merge pull request #12429 from rainzm/robot/list
fix(notify): robot ListItemFilter
2021-10-15 09:37:36 +08:00
Zexi Li
c895cfb459 Merge pull request #12434 from swordqiu/feature/qj-mac-prefix-option
feature: add global mac prefix option
2021-10-15 09:36:50 +08:00
Zexi Li
5a4e863208 Merge pull request #12432 from swordqiu/hotfix/qj-set-cpu-sockets-to-two
fix: set qemu cpu sockets to 2 for x86 cpu
2021-10-15 09:36:07 +08:00
Qiu Jian
6a169b4161 feature: add global mac prefix option 2021-10-15 01:06:17 +08:00
Qiu Jian
ad7f8b0fac fix: set qemu cpu sockets to 2 for x86 cpu 2021-10-14 23:22:49 +08:00
tb365
6f42858527 add image download api 2021-10-14 18:55:32 +08:00
rainzm
1e9410fc57 fix(notify): robot ListItemFilter 2021-10-14 17:01:19 +08:00
rainzm
de397db1bc fix(region): wait all goroutine finished when execute scheduled_tasks 2021-10-14 16:00:27 +08:00
Qu Xuan
eb3d0fc78d fix(region): google rds tags sync 2021-10-14 15:22:24 +08:00
yunion-ci-robot
3d96a4c730 Merge pull request #12406 from seraphico/bugfix/fix2021013
fix(region,compute): clean up redundant error checking
2021-10-14 12:50:44 +08:00
Zexi Li
e2461c3967 Merge pull request #12398 from ioito/hotfix/qx-nat-cdn-tags
Hotfix/qx nat cdn tags
2021-10-14 12:45:03 +08:00
Zexi Li
bac5ba2345 Merge pull request #12403 from rainzm/agent/metadata
fix(devtool): change agent install metadata key
2021-10-14 12:43:58 +08:00
Zexi Li
3b6c540fe3 Merge pull request #12407 from rainzm/subsriber/change
Fix changing of subscribers
2021-10-14 12:42:20 +08:00
Zexi Li
d144eda4df Merge pull request #12410 from rainzm/robot/climc
fix(climc): set param 'enable' as *bool
2021-10-14 12:07:28 +08:00
Zexi Li
2bf7639f4c Merge pull request #12413 from rainzm/topic/modify
fix(notify): modify resource list of topic
2021-10-14 12:05:58 +08:00
Zexi Li
13e62ff263 Merge pull request #12415 from swordqiu/hotfix/qj-windows-enable-selected-user
fix: enable disabled select user for windows (especially for windows 10)
2021-10-14 12:05:18 +08:00
Zexi Li
cee35c6cd5 Merge pull request #12396 from tb365/feature/tb-batch-add-user-add-displayname
batch add user add displayname
2021-10-14 11:15:02 +08:00
Qiu Jian
1594704ed1 fix: enable disabled select user for windows (especially for windows 10) 2021-10-14 00:35:31 +08:00
rainzm
35b5a049ef fix(notify): modify resource list of topic 2021-10-13 19:56:16 +08:00
Qu Xuan
1f90b5aa7f fix(host): xfs unlock 2021-10-13 19:15:12 +08:00
rainzm
68833094e1 fix(climc): set param 'enable' as *bool 2021-10-13 18:40:41 +08:00
rainzm
b2a45cb98e fix(notify): support modify rolescope when change subscriber 2021-10-13 16:43:21 +08:00
rainzm
517da1d61b fix(notify): use roleCache to display role info 2021-10-13 16:33:17 +08:00
rainzm
9e64205386 fix(notify): SetModelManager to delete successfully 2021-10-13 16:32:35 +08:00
xingyaodong
02381d439e fix(region,compute): clean up redundant error checking 2021-10-13 12:05:21 +08:00
Qu Xuan
97951872ba fix(region): cdn nat tags sync 2021-10-13 12:01:01 +08:00
Qu Xuan
508bb8b0f0 fix(region): sync nat and cnd tags 2021-10-13 12:01:01 +08:00
rainzm
fc6c741b1f fix(devtool): change agent install metadata key
The tag beginning with sys will be overwritten by the cloud
2021-10-13 11:41:52 +08:00
Zexi Li
1332c7de4f Merge pull request #12401 from rainzm/cloudproxy/generatename
feat(cloudproxy): support generateName for createFromServer
2021-10-13 10:02:34 +08:00
rainzm
7cb1d8286d feat(cloudproxy): support generateName for createFromServer 2021-10-12 20:31:21 +08:00
Zexi Li
e3d0aeb945 Merge pull request #12394 from rainzm/notify/fixc
Notify fixes
2021-10-12 19:57:06 +08:00
Zexi Li
85d44ef36e Merge pull request #12391 from ioito/hotfix/qx-aliyun-rds-tags
fix(region): aliyun rds tags sync
2021-10-12 19:55:45 +08:00
rainzm
9d3a853b94 fix: change errors package 2021-10-12 18:09:05 +08:00
Qu Xuan
baa6557b82 fix(region): aliyun rds tags sync 2021-10-12 18:04:08 +08:00
tb365
18eaf73da5 batch add user add displayname 2021-10-12 17:39:04 +08:00
rainzm
04946cb7f6 fix(notify): modify 'dingtalk-robot' to 'workwx-robot' 2021-10-12 15:36:06 +08:00
rainzm
1adca2120a fix(notify): remove "已经" in templ 2021-10-12 15:31:58 +08:00
rainzm
c4feb6af95 fix(notify): add PENDING_DELETE tmpl 2021-10-12 15:21:56 +08:00
Zexi Li
ecd36b289c Merge pull request #12226 from zexi/redfish-panic
fix(baremetal): avoid redfish resp nil cause panic
2021-10-12 11:43:44 +08:00
Zexi Li
2f99fba893 Merge pull request #12387 from ioito/hotfix/qx-mongodb-tag
fix(region): support tag sync for mongodb
2021-10-11 19:18:13 +08:00
rainzm
4bbc096a4d fix(notify): get the receivers that need to be added and deleted correctly 2021-10-11 17:46:51 +08:00
Qu Xuan
e608a22a75 fix(region): support tag sync for mongodb 2021-10-11 17:08:55 +08:00
yunion-ci-robot
4e309a24ed Merge pull request #12384 from zexi/glance-s3-image-removed
fix(glance): s3 uploaded image removed
2021-10-11 14:08:43 +08:00
Zexi Li
4ee582154a Merge pull request #12381 from rainzm/devtool/forward
fix(devtool): creates a forward using the specified address
2021-10-11 12:45:14 +08:00
Zexi Li
6d21e5ecb0 fix(glance): s3 uploaded image removed 2021-10-11 12:40:30 +08:00
rainzm
c3aa1f2b6d fix(devtool): creates a forward using the specified address 2021-10-11 09:58:52 +08:00
屈轩
e0b5e1efa4 fix(host): show disk details error (#12373)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2021-10-10 12:03:05 +08:00
屈轩
127584f07f fix(glance): remove image clean (#12372)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2021-10-10 12:02:49 +08:00
Zexi Li
07f8709cbd fix(climc): host-ssh use privateKey when ciphertext too short (#12370) 2021-10-10 12:02:20 +08:00
Zexi Li
ff20135968 Merge pull request #12378 from zexi/fix-monitor-swagger-gen
fix(monitor): use swagger ignore comment out structs
2021-10-09 21:47:17 +08:00
Zexi Li
5b65cee385 fix(monitor): use swagger ignore comment out structs 2021-10-09 21:11:32 +08:00
Zexi Li
65d72e4bed Merge pull request #12364 from ioito/hotfix/qx-cloudpods-misc
fix(region): fix cloudpods scheduler error
2021-10-09 09:17:13 +08:00
Zexi Li
dd1632fdb6 Merge pull request #12366 from zhaoxiangchun/feature/zxc-monitor_sheild_master
fix(monitor): alert record details add trigger_time field
2021-10-09 09:15:47 +08:00
Zexi Li
f8cf2551ff Merge pull request #12368 from rainzm/notify/fix
Fixes for Notify Subscribers
2021-10-09 09:15:20 +08:00
rainzm
27fac4b484 fix(notify): update mobile where appropriate 2021-10-08 21:24:11 +08:00
rainzm
09a670d67b fix(notify): modify the width of ReceiverId 2021-10-08 21:24:11 +08:00
rainzm
1e9e192a9c fix(notify): add default policy for subscribers 2021-10-08 21:22:17 +08:00
zhaoxiangchun
0dd1071fb9 fix(monitor): alert record details add trigger_time field 2021-10-08 17:11:28 +08:00
Qu Xuan
ee6251c4af fix(region): fix cloudpods scheduler error 2021-10-08 15:10:39 +08:00
Zexi Li
80d9bf5ebb Merge pull request #12362 from ioito/hotfix/qx-sync-by-capability
fix(region): sync resource by capability with read only
2021-10-08 12:07:59 +08:00
Qu Xuan
a8f8ecf363 fix(region): sync resource by capability with read only 2021-10-08 11:46:03 +08:00
Zexi Li
d4fe8236bc Merge pull request #12359 from tb365/bugfix/tb-bugfix-100601
kvm lb update lb listener redirect code fix
2021-10-08 10:13:37 +08:00
Zexi Li
3e71cb6b97 Merge pull request #12353 from swordqiu/hotfix/qj-webconsole-close-connection-on-error
fix: webconsole close socket when read on error
2021-10-08 10:12:14 +08:00
tangbin
693dd26641 kvm lb update lb listener redirect code fix 2021-10-06 22:08:03 +08:00
yunion-ci-robot
c2dc4436d5 Merge pull request #12355 from zexi/bm-cat-path
fix(baremetal): change cat path
2021-10-06 20:50:41 +08:00
Zexi Li
ce12d9a690 fix(baremetal): change cat path 2021-10-05 21:20:21 +08:00
Qiu Jian
ec53154eee fix: webconsole close socket when read on error 2021-10-03 10:50:11 +08:00
yunion-ci-robot
e9be54f9bc Merge pull request #12350 from ioito/hotfix/qx-network-brand
fix(region): network brand
2021-10-01 11:55:38 +08:00
Qu Xuan
c18971e527 fix(region): network brand 2021-10-01 11:42:43 +08:00
tb365
9b4ab1ca6e ctyun api updates 2021-09-30 15:40:15 +08:00
Zexi Li
012317f366 Merge pull request #12317 from ioito/hotfix/qx-readonly-capability
fix(region): read only capability
2021-09-30 10:09:36 +08:00
Zexi Li
ebe7e79acd Merge pull request #12343 from ioito/hotfix/qx-resize-failed-error
fix(host): show error for online resize
2021-09-30 09:48:58 +08:00
Qu Xuan
ab2cd9ff55 fix(host): show error for online resize 2021-09-29 20:18:23 +08:00
Zexi Li
5d5aa2e54d Merge pull request #12335 from zexi/adaptec-raid-mode
fix(baremetal): adjust adaptec raid logical volume order
2021-09-29 17:35:40 +08:00
Zexi Li
c93574eaa2 Merge pull request #12341 from zhaoxiangchun/feature/zxc-monitor_sheild_master
fix(monitor): update usage query param and alert record query support tigger_time
2021-09-29 17:26:55 +08:00
zhaoxiangchun
83e80c8733 fix(monitor): update usage query param and alert record query support
tigger_time
2021-09-29 15:49:25 +08:00
Zexi Li
f89c412897 Merge pull request #12316 from rainzm/notify/better
Notify Bug Fixes
2021-09-29 14:51:23 +08:00
rainzm
8d32750850 fix(notify): optimization of message template 2021-09-29 14:12:28 +08:00
Zexi Li
bcca2290ca fix(baremetal): adjust adaptec raid logical volume order 2021-09-29 12:03:19 +08:00
Zexi Li
3752b63caa Merge pull request #12333 from zhaoxiangchun/feature/zxc-monitor_sheild_master
fix(monitor): shield list support alert_name and res_name like query
2021-09-29 11:29:05 +08:00
Zexi Li
0ebd7d313c Merge pull request #12104 from ioito/hotfix/qx-vm-sync-optimized
fix(region): optimized vm disk sync
2021-09-29 11:28:13 +08:00
zhaoxiangchun
bf4b98ca36 fix(monitor): shield list support alert_name and res_name like query 2021-09-28 20:38:48 +08:00
Zexi Li
1a3d417678 Merge pull request #12325 from rainzm/sshproxy/fix
fix(region): avoid duplicate playbook names
2021-09-28 19:58:01 +08:00
Zexi Li
cf0520b6f1 Merge pull request #12328 from ioito/hotfix/qx-dns-zone-sync-records
fix(region): optimized dns zone sync
2021-09-28 19:56:05 +08:00
Qu Xuan
d5005bfedf fix(region): optimized dns zone sync 2021-09-28 19:30:41 +08:00
Zexi Li
722ac974c7 Merge pull request #12322 from ioito/hotfix/qx-domain-project-statistic-params
fix(region): support query for project domain statistic
2021-09-28 17:58:56 +08:00
Zexi Li
dd19cc8374 Merge pull request #12320 from ioito/hotfix/qx-google-vm-running
fix(region): set google vm running after start
2021-09-28 17:58:21 +08:00
Zexi Li
3e22ce0883 Merge pull request #12318 from zhaoxiangchun/feature/zxc-usage-domain-3.8
feat(cloudmon): usage add domain.servers and project.servers statistic
2021-09-28 17:57:39 +08:00
rainzm
a2104db323 fix(region): avoid duplicate playbook names 2021-09-28 17:11:16 +08:00
rainzm
de0db5ac3d fix(notify): add connect info in EXPIRED_RELEASE template 2021-09-28 11:30:14 +08:00
rainzm
8cb7ef24f2 fix(notify): remove disk in 'update' topic 2021-09-27 19:54:35 +08:00
rainzm
e1f8850f25 fix(notify): solve the permission problem of subscriber 2021-09-27 19:06:24 +08:00
rainzm
e300795f42 fix(notify): allow list and get topics for all 2021-09-27 18:24:20 +08:00
Qu Xuan
f99e105ae6 fix(region): support query for project domain statistic 2021-09-27 17:09:44 +08:00
Qu Xuan
abfe35dce3 fix(region): set google vm running after start 2021-09-27 16:50:58 +08:00
rainzm
78115949a0 fix(notify): correctly use tenant cache to query domain 2021-09-27 16:41:58 +08:00
Qu Xuan
4711bd9087 fix(region): read only capability 2021-09-27 16:37:53 +08:00
rainzm
16fc73f355 fix(notify): check for duplicate subscribers when creating 2021-09-27 16:15:02 +08:00
rainzm
66dc7388b5 fix(notify): update database when change subscriber's identification 2021-09-27 15:53:35 +08:00
zhaoxiangchun
6f2c6dca33 feat(cloudmon): usage add domain.servers and project.servers statistic 2021-09-27 15:13:04 +08:00
rainzm
c5ea363f43 fix(cloudcommon): set Priority as normal when calling EventNotify 2021-09-27 11:38:01 +08:00
rainzm
8d70077da4 fix(notify): repull subcontact correctly when creating or deleting config 2021-09-27 11:04:00 +08:00
rainzm
964a64949e fix(notify): modify NotifyRobotWithCtx 2021-09-27 11:04:00 +08:00
rainzm
29d53eb04a fix(notify): change the delivery format of config and eliminate some redundant steps of sending messages 2021-09-27 11:03:59 +08:00
Zexi Li
8a597e1bf4 Merge pull request #12307 from zhaoxiangchun/fix/zxc-monitor-notify-3.8
fix(monitor): monitor alert support multi robot
2021-09-27 00:43:27 +08:00
Zexi Li
74a4451254 Merge pull request #12301 from ioito/hotfix/qx-isolated-dev-domain
fix(region): usage for domain isolated dev
2021-09-27 00:42:27 +08:00
Zexi Li
89176f1d6e Merge pull request #12302 from ioito/hotfix/qx-aliyun-rds-billing-type
fix(region): aliyun rds billing type
2021-09-26 20:10:40 +08:00
Zexi Li
b8cb0a9cc1 Merge pull request #12311 from swordqiu/hotfix/qj-add-disable-kvm-option
fix: host add disable_kvm option
2021-09-26 20:09:44 +08:00
Zexi Li
f15d5e744b Merge pull request #12314 from zhaoxiangchun/feature/zxc-monitor_sheild_master
fix(monitor): monitor shield fix
2021-09-26 20:09:03 +08:00
zhaoxiangchun
46de2ec5a3 fix(monitor): monitor shield fix
1.支持resName过滤
2.告警屏蔽默认屏蔽时间为100year
2021-09-26 19:12:42 +08:00
yunion-ci-robot
6a85dbb654 Merge pull request #12309 from tb365/bugfix/tb-bugfix-092603
climc update: google account update
2021-09-26 17:39:34 +08:00
Qiu Jian
a8df3cef5a fix: host add disable_kvm option 2021-09-26 17:35:16 +08:00
tb365
ba0e096b9a climc update: google account update 2021-09-26 17:22:56 +08:00
yunion-ci-robot
ea9f462449 Merge pull request #12241 from zexi/bm-adaptec-raid
feat(baremetal): adaptec raid driver
2021-09-26 17:17:34 +08:00
Qu Xuan
47f918bd84 fix(region): optimized vm disk sync 2021-09-26 16:51:14 +08:00
zhaoxiangchun
b499eaeb06 fix(monitor): monitor alert support multi robot
1. 机器人下放到域后监控报警支持
2021-09-26 16:34:13 +08:00
Qu Xuan
aa937d3e0a fix(region): aliyun rds billing type 2021-09-26 15:53:02 +08:00
Qu Xuan
1046213b33 fix(region): usage for domain isolated dev 2021-09-26 14:43:17 +08:00
Zexi Li
90138e1f5b feat(baremetal): adaptec raid driver 2021-09-26 11:44:00 +08:00
Zexi Li
9c1b82180b Merge pull request #12291 from zhaoxiangchun/bugfix/zxc-monitor
fix(monitor): project view hide cloudaccount resource
2021-09-26 10:05:42 +08:00
Zexi Li
c507a78298 Merge pull request #12259 from ioito/hotfix/qx-optimized-list-query
fix(region): optimized validate delete condition query
2021-09-26 10:03:18 +08:00
Zexi Li
6fccf60d26 Merge pull request #12293 from ioito/hotfix/qx-project-domain-statistic
fix(region): add project and domain statistic
2021-09-26 09:57:45 +08:00
Zexi Li
c8f0c63506 Merge pull request #12295 from swordqiu/hotfix/qj-cleanup-openvswitch-conf
fix: clean openvswitch config files when save images
2021-09-26 09:56:50 +08:00
Qiu Jian
a3fc6c282c fix: clean openvswitch config files when save images 2021-09-24 21:56:55 +08:00
Qu Xuan
c730e58e75 fix(region): add project and domain statistic 2021-09-24 18:58:34 +08:00
zhaoxiangchun
68734afe05 fix(monitor): project view hide cloudaccount resource 2021-09-24 17:54:54 +08:00
Zexi Li
d7f77fff84 Merge pull request #12278 from ioito/hotfix/qx-google-mac-addr
fix(region): google vm mac addr
2021-09-24 15:25:22 +08:00
Zexi Li
922957b179 Merge pull request #12275 from ioito/hotfix/qx-aws-rds
fix(region): sync aws rds mem size
2021-09-24 15:25:00 +08:00
Zexi Li
b0aa2ad18b Merge pull request #12281 from swordqiu/hotfix/qj-disable-password-expiration-for-cloudroot
fix: disable password expiration for cloudroot
2021-09-24 15:24:05 +08:00
Zexi Li
786989adc1 Merge pull request #12285 from ioito/hotfix/qx-duplicate-field-vpc
fix(region): export field duplicate vpc
2021-09-24 15:23:28 +08:00
Zexi Li
0533394797 Merge pull request #12272 from zhaoxiangchun/bugfix/zxc-monitor
fix(monitor): fix cloudaccount monitor query return field err
2021-09-24 10:27:03 +08:00
Qu Xuan
72895b1e48 fix(region): export field duplicate vpc 2021-09-24 09:59:19 +08:00
Qiu Jian
91c595d4f7 fix: disable password expiration for cloudroot 2021-09-24 01:25:41 +08:00
yunion-ci-robot
763fcd51e5 Merge pull request #12268 from zexi/win10-disable-kbd
fix(host): disable usb-kbd for windows 10
2021-09-24 00:25:35 +08:00
Qu Xuan
3c2212d158 fix(region): google vm mac addr 2021-09-23 20:27:50 +08:00
Qu Xuan
9aaa497a11 fix(region): sync aws rds mem size 2021-09-23 20:04:39 +08:00
zhaoxiangchun
7220836f9d fix(monitor): fix alert record shield
1. 修复报警屏蔽列表不显示时间的问题
2. 未恢复报警增加报警策略名称字段
2021-09-23 18:08:50 +08:00
zhaoxiangchun
7ba3aec725 fix(monitor): fix cloudaccount monitor query return field err 2021-09-23 17:52:52 +08:00
Zexi Li
924265f8cc fix(host): disable usb-kbd for windows 10 2021-09-23 14:33:34 +08:00
Qu Xuan
8ba5393ae5 fix(region): optimized validate delete condition query 2021-09-23 09:58:54 +08:00
Zexi Li
d778289826 Merge pull request #12258 from swordqiu/hotfix/qj-verify-token-with-expired-at
fix: verify token with expired_at field instead of depending on options.TokenExpirationSeconds
2021-09-23 09:37:37 +08:00
Zexi Li
e6884cc017 Merge pull request #12263 from ioito/hotfix/qx-external-domain
fix(region): external project support domain sync
2021-09-23 09:36:10 +08:00
Qu Xuan
1412939fcb fix(region): external project support domain sync 2021-09-22 23:09:16 +08:00
Zexi Li
07368eb9ff Merge pull request #12243 from rainzm/mergewire
fix(region): consider the network of the entire VPC when merging networks
2021-09-22 11:56:59 +08:00
Zexi Li
ae95414dff Merge pull request #12222 from zexi/sched-arch-match
fix(scheduler): cpu arch match
2021-09-22 11:42:16 +08:00
Zexi Li
5b2b0912a8 Merge pull request #12253 from ioito/hotfix/qx-optimzed-network-vnic-query
fix(region): optimzed network query
2021-09-22 11:29:55 +08:00
Qiu Jian
9e5529d584 fix: verify token with expired_at field instead of
options.TokenExpirationSeconds
2021-09-22 11:20:53 +08:00
Zexi Li
d5ef3c1307 fix(scheduler): cpu arch match 2021-09-22 11:13:01 +08:00
Qu Xuan
7bbed78111 fix(region): optimzed network query 2021-09-18 18:57:46 +08:00
Zexi Li
43466858f1 Merge pull request #12236 from rainzm/vgrename
fix: ensure the success of vgrenam
2021-09-18 16:36:23 +08:00
Zexi Li
cbf16d97dc Merge pull request #12254 from ioito/hotfix/qx-ceph-fix
fix(host): ceph snap delete
2021-09-18 16:27:11 +08:00
Qu Xuan
9d292a409a fix(host): ceph snap delete 2021-09-18 14:18:56 +08:00
Zexi Li
61effcd532 Merge pull request #12240 from ioito/hotfix/qx-rbd-command
fix(hostman): rbd command
2021-09-17 16:52:19 +08:00
Zexi Li
683dbf01cf Merge pull request #12250 from ioito/hotfix/qx-region-driver
fix(region): get region driver
2021-09-17 16:46:51 +08:00
Zexi Li
69bd4180e3 Merge pull request #12247 from ioito/hotfix/qx-scheduler-openstack
fix(scheduler): openstack scheduler options
2021-09-17 16:33:48 +08:00
Qu Xuan
a6f77b2f13 fix(region): get region driver 2021-09-17 16:20:36 +08:00
Qu Xuan
0dae07682d fix(scheduler): openstack scheduler options 2021-09-17 16:06:05 +08:00
rainzm
1986ea0048 fix(region): consider the network of the entire VPC when merging networks 2021-09-17 14:49:33 +08:00
Qu Xuan
0634920240 fix(hostman): rbd command 2021-09-17 14:18:04 +08:00
Zexi Li
0c324146dd Merge pull request #12213 from ioito/hotfix/qx-apsara-monitor
fix(cloudmon): batch send data
2021-09-17 09:35:25 +08:00
Qu Xuan
a4e4b72b27 fix(cloudmon): batch send data 2021-09-16 19:40:35 +08:00
rainzm
a545ad10e1 fix(host-deployer): ensure the success of vgrenam 2021-09-16 17:43:19 +08:00
rainzm
454ebe49e1 feat(host-deployer): try again if the partition cannot be found 2021-09-16 17:38:35 +08:00
yunion-ci-robot
77543f1bc9 Merge pull request #12227 from Stargic/feature/implement-x
feat(climc): SSH login of a host by private key
2021-09-16 15:11:28 +08:00
Stargic
83090fba22 feat(climc): SSH login of a host by private key 2021-09-16 11:16:59 +08:00
Zexi Li
5468b34011 Merge pull request #12219 from ioito/hotfix/qx-disk-master-host
fix(region): disk choice master host with os arch
2021-09-15 22:31:20 +08:00
Zexi Li
f94fa92216 Merge pull request #12228 from swordqiu/hotfix/qj-event-show-filter-by-resource-name
fix: climc event-show filter by resource name
2021-09-15 22:17:16 +08:00
yunion-ci-robot
6989f57994 Merge pull request #12230 from zexi/fix-mptsas
fix(baremetal): parse mptsas duplicated devices
2021-09-15 21:56:29 +08:00
Zexi Li
76e2f3e254 fix(baremetal): parse mptsas duplicated devices 2021-09-15 21:09:16 +08:00
Qiu Jian
ae9ab6a8e5 fix: climc event-show filter by resource name 2021-09-15 20:01:20 +08:00
Zexi Li
37d62d1411 fix(baremetal): avoid redfish resp nil cause panic 2021-09-15 15:14:07 +08:00
Qu Xuan
cac72654e3 fix(region): disk choice master host with os arch 2021-09-15 12:17:01 +08:00
Zexi Li
da9f4a32cb Merge pull request #12214 from zhaoxiangchun/feature/zxc-cloudmon-master
fix(cloudmon): Azure metric pull support metric interval
2021-09-15 10:01:48 +08:00
Zexi Li
18775b18c4 Merge pull request #12206 from swordqiu/hotfix/qj-aws-assume-role-with-optional-name
fix: AWS asume role with optional name
2021-09-15 01:14:55 +08:00
yunion-ci-robot
7f8c50bc0b Merge pull request #12202 from Stargic/feature/implement-x
feat(climc): SSH Login with cloudroot (add new parameter --use-cloudroot in server-ssh)
2021-09-15 01:09:28 +08:00
zhaoxiangchun
70bc4bdf85 fix(cloudmon): Azure metric pull support metric interval 2021-09-14 19:36:12 +08:00
Stargic
e33411d926 feat(climc): SSH Login with cloudroot (add new parameter --use-cloudroot in server-ssh)
fix(climc): Fixed the code logic error of FOR loop in server-ssh
2021-09-14 16:27:59 +08:00
Zexi Li
8a51a2b786 Merge pull request #12166 from rainzm/withcache
feat(region): add cloudcache for dnszone and secgroup details
2021-09-14 16:19:33 +08:00
Zexi Li
2903d04373 Merge pull request #12199 from ioito/hotfix/qx-apsara-monitor
fix(region): apsara metric data
2021-09-14 16:17:49 +08:00
Zexi Li
278751385c Merge pull request #12209 from tb365/bugfix/tb-bugfix-091401
fix(region): change aws disk iops
2021-09-14 16:15:14 +08:00
tb365
77725fa8f8 fix(region): change aws disk iops 2021-09-14 16:01:40 +08:00
Qu Xuan
1467c0bc84 fix(region): apsara metric data 2021-09-14 11:34:45 +08:00
Qiu Jian
9c4ee62c94 fix: AWS asume role with optional name 2021-09-14 00:38:33 +08:00
yunion-ci-robot
8dfa31ea08 Merge pull request #12203 from zexi/azure-classic-metrics
feat(cloudmon): support classic vm metrics
2021-09-13 22:59:29 +08:00
Zexi Li
c1d0f7d413 feat(cloudmon): support classic vm metrics 2021-09-13 22:30:42 +08:00
Zexi Li
4467de37eb Merge pull request #12196 from tb365/bugfix/tb-bugfix-091301
pure hcso zone is not empty fix
2021-09-13 17:07:04 +08:00
Zexi Li
fedc742917 Merge pull request #12193 from ioito/hotfix/qx-apsara-resource-group
fix(region): apsara resource group
2021-09-13 17:05:20 +08:00
tb365
78788b4e18 pure hcso zone is not empty fix 2021-09-13 11:47:03 +08:00
Qu Xuan
92945d37f7 fix(region): apsara resource group 2021-09-13 10:12:21 +08:00
Zexi Li
55cb7ef439 Merge pull request #12189 from zexi/gpu-addr-missing
fix(region): isolated_device desc include addr
2021-09-10 20:30:31 +08:00
Zexi Li
d6596b37af fix(region): isolated_device desc include addr 2021-09-10 19:35:15 +08:00
yunion-ci-robot
dfa571e970 Merge pull request #12184 from ioito/hotfix/qx-qcloud-rds-database-sync
fix(region): qcloud database sync
2021-09-10 19:16:27 +08:00
Zexi Li
3be6c60335 Merge pull request #12176 from ioito/hotfix/qx-huawei-region-id
fix(region): huawei region id with project name
2021-09-10 19:08:48 +08:00
Zexi Li
1f8a91890b Merge pull request #12181 from ioito/hotfix/qx-apsara-project
Hotfix/qx apsara project
2021-09-10 19:08:02 +08:00
Qu Xuan
22aa15b722 fix(region): qcloud database sync 2021-09-10 18:27:49 +08:00
Qu Xuan
0ac575ef1e fix(region): sync apsara project info 2021-09-10 18:00:20 +08:00
Qu Xuan
d233597017 fix(region): 不能通过华为云用户创建时间判断云账号注册时间 2021-09-10 17:17:22 +08:00
Qu Xuan
f2c568f187 fix(region): support apsara project 2021-09-10 16:08:27 +08:00
Qu Xuan
121d024ef4 fix(region): huawei region id with project name 2021-09-10 15:02:35 +08:00
yunion-ci-robot
8649a42b35 Merge pull request #12125 from Stargic/feature/implement-x
fix(climc): SSH terminal window changes with the change of local terminal
2021-09-10 11:56:26 +08:00
Zexi Li
dab3ec9512 Merge pull request #12171 from ioito/hotfix/qx-scheduler-option
fix(scheduler): options for openstack scheduler
2021-09-10 11:53:56 +08:00
Stargic
6b70362275 fix(climc): SSH terminal window changes with the change of local terminal 2021-09-09 20:49:33 +08:00
Zexi Li
7fa1c7ef49 Merge pull request #12168 from ioito/hotfix/qx-qcloud-tag-sync
fix(region): optimized qcloud tag sync
2021-09-09 20:25:51 +08:00
Qu Xuan
272283831b fix(scheduler): options for openstack scheduler 2021-09-09 17:53:41 +08:00
Qu Xuan
61bf81d71a fix(region): optimized qcloud tag sync 2021-09-09 17:38:33 +08:00
rainzm
aa274ddc40 feat(region): add cloudcache for dnszone and secgroup details 2021-09-09 16:38:14 +08:00
Zexi Li
a7b45eb105 Merge pull request #12162 from ioito/hotfix/qx-apsara-bucket-regionid
fix(region): sync apsara region
2021-09-09 16:29:27 +08:00
Qu Xuan
dda9ae25f6 fix(region): sync apsara region 2021-09-09 15:36:03 +08:00
Zexi Li
9dbdab3f3b Merge pull request #12157 from swordqiu/hotfix/qj-esxi-kvm-convert-set-driver-revisited
fix: set disk driver and network driver for converting esxi to kvm
2021-09-08 23:06:19 +08:00
Zexi Li
b863ef977d Merge pull request #12152 from zhaoxiangchun/feature/zxc-monitor_sheild_master
fix(monitor): add record shield details param
2021-09-08 23:05:44 +08:00
Zexi Li
f1f67f0c35 Merge pull request #12149 from zhaoxiangchun/feature/zxc-commalert
fix(monitor): add monitor resource details field
2021-09-08 22:52:11 +08:00
Zexi Li
0c8cfb9840 Merge pull request #12154 from ioito/hotfix/qx-project-default-project
fix(region): sync aliyun qcloud default project
2021-09-08 22:51:27 +08:00
Qiu Jian
fe5724e89a fix: set disk driver and network driver for converting esxi to kvm 2021-09-08 22:26:18 +08:00
Qu Xuan
a6071995e1 fix(region): sync aliyun qcloud default project 2021-09-08 20:26:40 +08:00
zhaoxiangchun
bf69b62569 fix(monitor): add record shield details param 2021-09-08 18:01:12 +08:00
zhaoxiangchun
52a5ad0799 fix(monitor): add monitor resource details field 2021-09-08 17:36:56 +08:00
Zexi Li
52d887f955 Merge pull request #12141 from rainzm/agent/tenant_id
fix(devtool): get tenant info via correct field
2021-09-08 16:25:12 +08:00
Zexi Li
79295f2588 Merge pull request #12145 from ioito/hotfix/qx-apsara-acs-instance-id
fix(region): resource apsara resource id not found error
2021-09-08 16:20:25 +08:00
Qu Xuan
38dbc4ab4b fix(region): resource apsara resource id not found error 2021-09-08 15:51:29 +08:00
rainzm
ab9f28deec fix(devtool): get tenant info via correct field 2021-09-08 15:31:40 +08:00
Zexi Li
3d307418d7 Merge pull request #12126 from ioito/hotfix/qx-apsara-default-region
fix(region): apsara default region
2021-09-08 13:58:07 +08:00
Zexi Li
cd3293f6f0 Merge pull request #12134 from swordqiu/hotfix/qj-esxi-kvm-convert-set-driver
fix(region): change disk and network drivers for Esxi converted VM
2021-09-08 12:01:28 +08:00
Qiu Jian
fd5c9b8e6b fix(region): change disk and network drivers for Esxi converted VM 2021-09-08 11:38:36 +08:00
Qu Xuan
0c10274058 fix(region): apsara default region 2021-09-08 11:23:05 +08:00
Zexi Li
66839dbdb7 Merge pull request #12130 from tb365/bugfix/tb-bugfix-090801
fix(region): hcso sync server fix
2021-09-08 10:47:16 +08:00
tb365
e2dfa9940c fix(region): hcso sync server fix 2021-09-08 10:39:47 +08:00
Zexi Li
478340dc16 Merge pull request #12121 from ioito/hotfix/qx-apsara-endpoint
fix(region): apsara endpoint fix
2021-09-07 15:25:36 +08:00
Qu Xuan
b63d0a081b fix(region): apsara endpoint fix 2021-09-07 14:27:11 +08:00
Zexi Li
53be6b7bd7 Merge pull request #12117 from rainzm/fix/serviceurl
fix(devtool): create serviceurl
2021-09-07 10:49:35 +08:00
rainzm
70e58c1577 fix(devtool): create serviceurl 2021-09-07 10:33:32 +08:00
Zexi Li
d73b553f1a Merge pull request #12114 from tb365/bugfix/tb-bugfix-090601
NetworkUsableZoneIds remove duplicate zone ids
2021-09-06 21:47:51 +08:00
tb365
b9ac763c17 NetworkUsableZoneIds remove duplicate zone ids 2021-09-06 14:21:08 +08:00
yunion-ci-robot
45674df6a0 Merge pull request #12112 from ioito/hotfix/qx-sku-region-info
fix(region): sku region info
2021-09-06 00:16:24 +08:00
Qu Xuan
8033631f43 fix(region): sku region info 2021-09-05 22:55:03 +08:00
yunion-ci-robot
e7ef470652 Merge pull request #12105 from rainzm/devtool/devcheck
feat(devtool): add sshinfo and serviceurl
2021-09-05 16:59:23 +08:00
rainzm
9623c1585c feat(devtool): add sshinfo and serviceurl 2021-09-04 18:25:27 +08:00
yunion-ci-robot
4dcb2e741c Merge pull request #12102 from ioito/hotfix/qx-host-image-cache-error
fix(host): return cache image error
2021-09-03 14:59:23 +08:00
Qu Xuan
b0600af43f fix(host): return cache image error 2021-09-03 10:46:26 +08:00
Zexi Li
6e9c12cd6e fix(baremetal): reindex nic (#12086) 2021-09-03 02:38:48 +08:00
Zexi Li
6bac6f333f Merge pull request #12075 from ioito/hotfix/qx-json-desc
fix(region): struct guest json desc
2021-09-02 23:15:38 +08:00
Zexi Li
852f7fc0a5 Merge pull request #12090 from zexi/update-climc-base
fix(climc-base): update tag to 20210901
2021-09-02 23:14:28 +08:00
Zexi Li
e90a591dd2 Merge pull request #12094 from tb365/bugfix/tb-bugfix-090202
fix(region): lb list search address fix
2021-09-02 18:32:14 +08:00
Zexi Li
9cafb1d4b4 Merge pull request #12097 from zhaoxiangchun/bugfix/zxc-mon
fix(monitor): monitor resource apiHelper fix
2021-09-02 18:27:09 +08:00
Zexi Li
951e82894a Merge pull request #12100 from ioito/hotfix/qx-cloudpods
fix(region): cloudpods misc fix
2021-09-02 18:26:11 +08:00
Qu Xuan
2a74203508 fix(region): cloudpods network scheduler 2021-09-02 17:21:17 +08:00
Qu Xuan
4bb0e79ba1 fix(region): cloudpods misc fix 2021-09-02 15:50:45 +08:00
zhaoxiangchun
b0924ddc2d fix(monitor): monitor resource apiHelper fix
1. apiHeleper 中增加interface,对应的ModelSet可以指定资源过滤参数
2. monitor删除过期的资源
2021-09-02 14:24:40 +08:00
tb365
440e952f66 fix(region): lb list search address fix 2021-09-02 14:13:19 +08:00
Zexi Li
8afeea1054 Merge pull request #12067 from rainzm/ssh/port
feat(region): allow custom sshport when make sshable
2021-09-02 11:43:21 +08:00
Zexi Li
8f9375bdda fix(climc-base): update tag to 20210901 2021-09-01 20:15:25 +08:00
Zexi Li
495abf2f73 Merge pull request #12080 from ioito/hotfix/qx-access-group-cache-policy
fix(region): access group policy
2021-09-01 16:35:44 +08:00
Zexi Li
576eb81e91 Merge pull request #12077 from tb365/bugfix/tb-bugfix-090101
lb list api support search elastic ip
2021-09-01 15:16:35 +08:00
Zexi Li
54bceb9591 Merge pull request #12083 from swordqiu/hotfix/qj-add-ceph-common-to-climc-base-image
fix: add ceph-common to climc image, so as to make rbcli work
2021-09-01 14:47:54 +08:00
Qiu Jian
a785612872 fix: add ceph-common to climc image, so as to make rbcli work 2021-09-01 12:33:54 +08:00
rainzm
9103e4fba5 feat(region): allow custom sshport when make sshable 2021-09-01 11:42:28 +08:00
Qu Xuan
715dcce485 fix(region): access group policy 2021-09-01 11:16:50 +08:00
tb365
1934ea3edc lb list api support search elastic ip 2021-09-01 10:34:20 +08:00
Qu Xuan
5bd9059493 fix(region): struct guest json desc 2021-09-01 09:44:12 +08:00
Zexi Li
626ad20587 Merge pull request #12072 from swordqiu/hotfix/qj-not-lock-system-account
fix: do not lock system account user
2021-08-31 21:01:39 +08:00
Zexi Li
828a815c1f Merge pull request #12071 from zexi/automated-cherry-pick-of-#12066-upstream-master
Automated cherry pick of #12066: fix(climc): host-delete use batch delete function
2021-08-31 18:34:37 +08:00
Qiu Jian
a5054a23f2 fix: do not lock system account user 2021-08-31 17:44:01 +08:00
Zexi Li
c11700b04e Merge pull request #12043 from tb365/bugfix/tb-bugfix-082701
count host fix
2021-08-31 16:24:55 +08:00
tb365
75a0dee0e4 change host type to hcso 2021-08-31 15:48:56 +08:00
tb365
27e4fc31f9 count host fix 2021-08-31 15:47:04 +08:00
Zexi Li
bcdaf1e2fe Merge pull request #12062 from tb365/bugfix/tb-bugfix-083101
Bugfix/tb bugfix 083101
2021-08-31 15:16:05 +08:00
Zexi Li
bba90f21f3 fix(climc): host-delete use batch delete function 2021-08-31 15:13:38 +08:00
Zexi Li
bc2c0e4cd5 Merge pull request #12059 from ioito/hotfix/qx-eip-project-sync
fix(region): eip project sync
2021-08-31 11:31:49 +08:00
tb365
cd25e9dcbd make fmt 2021-08-31 11:09:34 +08:00
tb365
907095670c rename huaweicloudstack to hcso 2021-08-31 11:07:44 +08:00
tb365
41861f68f8 syncRemoveCloudHost purge host 2021-08-31 10:54:13 +08:00
Qu Xuan
fdcdb28dd2 fix(region): eip project sync 2021-08-31 10:33:01 +08:00
Zexi Li
68fbe72b6d Merge pull request #12040 from rainzm/server/notags
feat(region): add no_tags options to filter guests
2021-08-31 10:00:41 +08:00
Zexi Li
d14237111a Merge pull request #12056 from rainzm/notify/nullable
fix(region): delete the wrong tag 'nullable:false'
2021-08-31 09:56:31 +08:00
rainzm
52d9142b4d fix(region): delete the wrong tag 'nullable:false' 2021-08-30 16:52:34 +08:00
rainzm
a48c43220c feat(region): add no_tags options to filter guests
no_tags filter the guests without `no_tags`
2021-08-30 16:39:16 +08:00
Zexi Li
66495788df Merge pull request #12053 from ioito/hotfix/qx-os-type
fix(region): sync vm os type
2021-08-30 15:04:13 +08:00
Qu Xuan
6eb1dab59b fix(region): sync vm os type 2021-08-30 14:29:06 +08:00
Zexi Li
b316ab6737 Merge pull request #12050 from zexi/image-fuzzy-match
fix(glance): image fuzzy match by distro
2021-08-27 18:02:29 +08:00
Zexi Li
4ac7f74c41 fix(glance): image fuzzy match by distro 2021-08-27 18:01:09 +08:00
Zexi Li
9889b40f77 Merge pull request #12038 from zhaoxiangchun/feature/zxc-agent-metirc
fix(monitor): monitor rds sync
2021-08-27 16:56:42 +08:00
Zexi Li
7d0958f530 Merge pull request #11987 from ioito/feat/qx-cloudpods-optimized
feat(region): cloudpods operation
2021-08-27 16:49:42 +08:00
zhaoxiangchun
63c36639d1 fea(monitor): monitor apiHelper add domain,project 2021-08-27 15:55:36 +08:00
Qu Xuan
d5afe46774 feat(region): cloudpods operation 2021-08-27 15:44:45 +08:00
Zexi Li
5d1fb2c3b1 Merge pull request #12030 from zexi/appsrv-mul-http-srv
fix(keystone): appsrv listen multi port failed cause of race condition
2021-08-27 14:29:41 +08:00
Zexi Li
f2f3ad2d31 Merge pull request #12034 from ioito/hotfix/qx-aliyun-classic-vm
fix(region): sync aliyun classic network ip addr
2021-08-26 18:03:57 +08:00
zhaoxiangchun
402fb9b406 fix(monitor): monitor rds sync 2021-08-26 17:41:46 +08:00
Qu Xuan
4d383c423c fix(region): sync aliyun classic network ip addr 2021-08-26 17:14:50 +08:00
Zexi Li
738aaa7ab8 fix(keystone): appsrv listen multi port failed cause of race condition 2021-08-26 16:52:54 +08:00
Zexi Li
f1cbdee139 Merge pull request #12024 from zhaoxiangchun/fix/zxc-node-alert-vm
feat(cloudmon): support HuaweiCloudStack rds metric
2021-08-26 12:34:36 +08:00
Zexi Li
6b2ce52a39 Merge pull request #11999 from tb365/feature/tb-huawei-private-cloud6
hcso support sync vm host
2021-08-26 12:06:08 +08:00
Zexi Li
b2bccc8ae6 Merge pull request #12027 from zexi/fix-pty
fix(vendor): use creack/pty v1.1.11 to adapt go 1.15
2021-08-26 12:03:14 +08:00
Zexi Li
46c77129e9 fix(vendor): use creack/pty v1.1.11 to adapt go 1.15 2021-08-26 11:40:50 +08:00
Zexi Li
5c94a3ad32 Merge pull request #12006 from rainzm/direct/vpc
feat(region): add direct vpc options
2021-08-26 11:25:51 +08:00
zhaoxiangchun
0e12f15637 feat(cloudmon): support HuaweiCloudStack rds metric 2021-08-26 11:19:00 +08:00
rainzm
6e7e02edd8 feat(region): add direct field for vpc
This field describes whether the VPC can be connected directly
2021-08-26 11:08:25 +08:00
Zexi Li
3774e118f4 Merge pull request #12003 from rainzm/esxi/instancesnapshot_check
fix(region): check instancesnapshot in correct place when resize disk
2021-08-26 10:42:27 +08:00
Zexi Li
0b88893843 Merge pull request #12014 from zexi/fix-etcd-dependency
fix(cloudcommon): avoid service exit when etcd unreachable
2021-08-26 10:41:22 +08:00
Zexi Li
1656b903e1 Merge pull request #12020 from zexi/ignore-non-running-opt
feat(cloudcommon): move ignore_nonrunning_guests option to common
2021-08-26 10:30:02 +08:00
Zexi Li
9af8e601b6 Merge pull request #12018 from ioito/hotfix/qx-cdn-fix
fix(region): cdn misc fix
2021-08-26 00:15:44 +08:00
Zexi Li
b3a648fc76 feat(cloudcommon): move ignore_nonrunning_guests option to common 2021-08-25 21:02:50 +08:00
Zexi Li
601fb58968 Merge pull request #12009 from ioito/hotfix/qx-rds-network
fix(region): aliyun rds network sync
2021-08-25 20:17:38 +08:00
Qu Xuan
7be2ae5f63 fix(region): cdn misc fix 2021-08-25 20:15:11 +08:00
tb365
370a7f94d8 hcso support sync vm host 2021-08-25 20:07:58 +08:00
Zexi Li
057de7d59f fix(cloudcommon): avoid service exit when etcd unreachable 2021-08-25 19:44:15 +08:00
Qu Xuan
3ba32b401b fix(region): aliyun rds network sync 2021-08-25 18:54:00 +08:00
rainzm
fe05fa11ae fix(region): check instancesnapshot in correct place when resize disk 2021-08-25 17:09:46 +08:00
Zexi Li
71be0e5ff7 Merge pull request #11995 from zhaoxiangchun/fix/zxc-node-alert-vm
fix(monitor):fix monitor query top 5
2021-08-25 10:16:00 +08:00
zhaoxiangchun
9b3d68acbd fix(monitor):fix monitor query top 5 2021-08-25 10:00:02 +08:00
yunion-ci-robot
c069a687ca Merge pull request #11991 from zexi/find-medium-matched-storage
fix(region): try to find mediumType matched storage when create disk …
2021-08-25 08:49:05 +08:00
Zexi Li
15bad7664c Merge pull request #11983 from ioito/hotfix/qx-zstack-ipaddr
fix(region): enable zstack allocate ip by itself
2021-08-24 22:56:22 +08:00
Zexi Li
2f687370be Merge pull request #11988 from ioito/hotfix/qx-hcso-custom-role
fix(cloudid): hcso custom role
2021-08-24 22:55:03 +08:00
Zexi Li
8e12e27bdf fix(region): try to find mediumType matched storage when create disk for kvm 2021-08-24 21:34:29 +08:00
Qu Xuan
5fbfbaed43 fix(cloudid): hcso custom role 2021-08-24 20:52:02 +08:00
Qu Xuan
87d35a4a2c fix(region): enable zstack allocate ip by itself 2021-08-24 16:07:18 +08:00
Zexi Li
338a921368 Merge pull request #11568 from rainzm/hostdeployer/vg1
Avoid duplicate vg name causing deploy failure
2021-08-24 11:49:06 +08:00
rainzm
de60724ba9 feat(hostdeployer): find vg name and id via pv 2021-08-24 11:28:52 +08:00
rainzm
3db8adc38f feat: update host-deployer-base from 0.6 to 1.0 2021-08-24 11:26:05 +08:00
Zexi Li
653fac4d88 Merge pull request #11837 from zhaoxiangchun/fix/zxc-node-alert-vm
feat(monitor): add dashboard and panel clone
2021-08-24 11:20:11 +08:00
zhaoxiangchun
65f0f61430 feat(monitor): add dashboard and panel clone 2021-08-24 11:10:42 +08:00
Zexi Li
bcee3cb130 Merge pull request #11975 from ioito/hotfix/qx-cachedimage-resource-count
fix(region): resource count for cachedimages
2021-08-23 19:59:10 +08:00
Zexi Li
4d40722269 Merge pull request #11979 from zexi/image-filter-by-os
feat(glance): image support filter by os_type and distribution
2021-08-23 16:14:33 +08:00
Zexi Li
3b235402ae feat(glance): image support filter by os_type and distribution 2021-08-23 15:45:51 +08:00
Qu Xuan
b19715d453 fix(region): resource count for cachedimages 2021-08-23 14:22:30 +08:00
Zexi Li
24f33159f0 Merge pull request #11971 from zhaoxiangchun/feature/zxc-monitor-resource-master
fix(monitor): update apiHelper field and log
2021-08-23 12:16:49 +08:00
yunion-ci-robot
7b612ae02c Merge pull request #11970 from zexi/allow-bw-zero
fix(region): allow guest network zero bandwidth limit
2021-08-23 12:14:12 +08:00
Zexi Li
ab496d0e4f fix(region): allow guest network zero bandwidth limit 2021-08-23 10:23:14 +08:00
zhaoxiangchun
1285bcb066 fix(monitor): update apiHelper field and log 2021-08-23 10:18:39 +08:00
Zexi Li
865524ace8 Merge pull request #11958 from zhaoxiangchun/feature/zxc-monitor-resource-master
fix(monitor): fix monitor slow query
2021-08-23 10:03:30 +08:00
zhaoxiangchun
b8bdcb0774 fix(monitor): fix monitor slow query
1. 使用apihelper 增量查询监控数据
2. 通过apihelper中set进行对应的资源过滤
2021-08-20 21:39:07 +08:00
Zexi Li
3329227a01 Merge pull request #11966 from ioito/feat/qx-cdn
feat(region): add qcloud cdn
2021-08-20 18:43:42 +08:00
Zexi Li
87b10a9c80 Merge pull request #11967 from ioito/hotfix/qx-cloudpods-secrule
fix(region): sync cloudpods secgroup
2021-08-20 18:41:33 +08:00
Qu Xuan
3ce18ea71f feat(region): add qcloud cdn 2021-08-20 18:29:48 +08:00
Qu Xuan
baa48550d0 fix(region): sync cloudpods secgroup 2021-08-20 18:27:45 +08:00
Zexi Li
0ff6bfec13 Merge pull request #11964 from ioito/hotfix/qx-hcso-saml-provider
fix(cloudid): hcso enable multi tenant saml provider
2021-08-20 17:05:39 +08:00
Qu Xuan
1eec6039e2 fix(cloudid): hcso enable multi tenant saml provider 2021-08-20 16:07:08 +08:00
Zexi Li
34993740d9 Merge pull request #11960 from rainzm/scaling/alarm
fix(region): adjust the query range corresponding to the alarm strategy
2021-08-20 11:34:56 +08:00
rainzm
56e9d95763 fix(region): adjust the query range corresponding to the alarm strategy
The data in the cycle range may not be available yet, and the data in the last hour can be queried fixedly
2021-08-20 11:10:17 +08:00
Zexi Li
5c5f919899 Merge pull request #11959 from swordqiu/hotfix/qj-disable-pretty-table-try-os-width-by-default
Hotfix/qj disable pretty table try os width by default
2021-08-20 10:17:37 +08:00
Qiu Jian
4e76d35710 fix: truncate columns longer than 512 bytes by default
Set OS_MAX_COLUMN_TEXT_LENGTH=-1 to disable auto text truncation
2021-08-20 09:38:19 +08:00
Qiu Jian
6b24c0600d fix: disable pretty table try os width by default 2021-08-20 08:45:28 +08:00
Zexi Li
af886f4e55 Merge pull request #11954 from ioito/hotfix/qx-worker-sync
fix(region): sync with multi worker
2021-08-19 16:11:50 +08:00
Qu Xuan
345f78621b fix(region): sync with multi worker 2021-08-19 15:10:35 +08:00
Zexi Li
1a02080085 Merge pull request #11951 from panda-lab/bugfix/xfs-duplicate-uuid
fix(host-deployer): XFS uuid冲突 无法 mount
2021-08-19 14:47:21 +08:00
panda
1248b88c75 fix(host-deployer): XFS uuid冲突 无法 mount
pkg/hostman/diskutils/fsutils/fsutils.go

1. ResizeFs 操作中 ResizePartitionFs 未对 xfs uuid 加锁
     导致挂载相同uuid 磁盘异异常
 - dmesg 显示
[86653.888361] XFS (nbd2p1): Filesystem has duplicate UUID f4553201-609a-4657-87aa-994cc6339f50 - can't mount

 - 批量创建虚拟机, 虚拟机磁盘为xfs, 多台虚拟机调度到同一宿主机时
   DeployGuestFs 无法 chroot password root
2021-08-19 14:41:31 +08:00
Zexi Li
48a0fbc287 Merge pull request #11945 from swordqiu/hotfix/qj-remove-meter-client-codes
fix: remove meter client codes
2021-08-19 14:29:11 +08:00
Zexi Li
963df8a443 Merge pull request #11950 from tb365/bugfix/tb-bugfix-081901
add azure capacity
2021-08-19 14:27:46 +08:00
Zexi Li
e52c883171 Merge pull request #11948 from tb365/bugfix/tb-bugfix-081902
huawei cloud getInstanceByIP add ip filter
2021-08-19 14:26:37 +08:00
tb365
972bdb8e7f add azure capacity 2021-08-19 11:24:15 +08:00
tb365
5ca544400b huawei cloud getInstanceByIP add ip filter 2021-08-19 11:20:06 +08:00
Qiu Jian
567856cada fix: remove meter client codes 2021-08-19 01:49:19 +08:00
Zexi Li
e5cc08d33b Merge pull request #11927 from tb365/bugfix/tb-bugfix-081201
zone list timeout fix
2021-08-18 20:48:09 +08:00
Zexi Li
18f7a8959b Merge pull request #11939 from ioito/hotfix/qx-lb-resource-count
fix(region): lb resource count
2021-08-18 20:47:14 +08:00
Zexi Li
4275b9a63b Merge pull request #11812 from rainzm/agent/batch
feat(devtool): support batch applying for virtual machines
2021-08-18 18:14:25 +08:00
tb365
cfae948719 zone list timeout fix 2021-08-18 15:34:16 +08:00
Qu Xuan
7e838d61b8 fix(region): lb resource count 2021-08-18 15:27:46 +08:00
Zexi Li
1c4b115f78 Merge pull request #11931 from ioito/hotfix/qx-azure-dtu
fix(region): azure sqlserver dtu
2021-08-18 10:25:14 +08:00
Zexi Li
8edfb1fa2c Merge pull request #11932 from ioito/hotfix/qx-nas-tag
fix(region): empty aliyun resource tag
2021-08-18 10:06:26 +08:00
Zexi Li
101a088c68 Merge pull request #11936 from swordqiu/hotfix/qj-dhcp-route-encoding-error
fix: dhcp classless route encoding error
2021-08-18 10:03:17 +08:00
yunion-ci-robot
beb66d4783 Merge pull request #11934 from zexi/update-base-image
feat(misc): update build and service base image to use go v1.15.15
2021-08-17 23:31:46 +08:00
Qiu Jian
381b7e6949 fix: dhcp classless route encoding error 2021-08-17 22:43:50 +08:00
Zexi Li
d0dd242bc2 feat(misc): update build and service base image to use go v1.15.15 2021-08-17 20:08:22 +08:00
Qu Xuan
82b9cdc1ca fix(region): empty aliyun resource tag 2021-08-17 19:23:01 +08:00
Qu Xuan
68bb75b415 fix(region): azure sqlserver dtu 2021-08-17 17:27:38 +08:00
Zexi Li
bc653ce7fc Merge pull request #11921 from ioito/hotfix/qx-azure-clouduser
fix(cloudid): azure attach enabled subscription policy
2021-08-16 21:42:59 +08:00
Qu Xuan
59e5e22b5e fix(cloudid): avoid sync clouduser twice 2021-08-16 15:11:12 +08:00
Qu Xuan
163a4e14f7 fix(cloudid): azure attach enabled subscription policy 2021-08-16 14:28:13 +08:00
Zexi Li
1db801181c Merge pull request #11917 from swordqiu/hotfix/qj-climc-bill-tasks-create
fix: bill-tasks-create parameters
2021-08-15 18:30:10 +08:00
Zexi Li
76a46ec361 Merge pull request #11915 from zhaoxiangchun/feature/zxc-agent-metirc
feat(monitor): 处理编排mysql,redis,rabbitmq 相关监控
2021-08-15 18:29:23 +08:00
zhaoxiangchun
a191838ef6 Merge branch 'master' of https://github.com/yunionio/cloudpods into feature/zxc-agent-metirc 2021-08-15 18:02:12 +08:00
yunion-ci-robot
a8d22e274c Merge pull request #11918 from tb365/bugfix/tb-bugfix-081503
ProviderFactory add method IsMultiTenant
2021-08-15 17:38:21 +08:00
tb365
7b579e80cf ProviderFactory add method IsMultiTenant 2021-08-15 17:27:14 +08:00
Qiu Jian
ae1894003d fix: bill-tasks-create parameters 2021-08-15 16:36:32 +08:00
Zexi Li
164dc31fb2 Merge pull request #11911 from tb365/bugfix/tb-bugfix-081503
add default dns for subnet
2021-08-15 16:36:26 +08:00
Zexi Li
19114b3cd3 Merge pull request #11913 from ioito/hotfix/qx-cloudevent-hcso
fix(cloudevent): hcso resource name
2021-08-15 16:26:52 +08:00
yunion-ci-robot
31ea81d4a9 Merge pull request #11853 from zexi/fix-bms-reuse-ipaddr
Fix bms reuse ipaddr
2021-08-15 16:25:22 +08:00
tb365
444ebd9526 add default dns for subnet 2021-08-15 16:14:08 +08:00
Qu Xuan
013b9b0e35 fix(cloudevent): hcso resource name 2021-08-15 16:12:49 +08:00
zhaoxiangchun
edaf51e5d8 feat(monitor): 处理编排mysql,redis,rabbitmq 相关监控 2021-08-15 16:04:17 +08:00
Zexi Li
e44976c2cb Merge pull request #11909 from tb365/bugfix/tb-bugfix-081501
fix(region): huawei cloud sync vm os arch
2021-08-15 14:05:08 +08:00
tb365
fffe8c6509 fix(region): huawei cloud sync vm os arch 2021-08-15 13:32:33 +08:00
Zexi Li
cbfaca01f7 Merge pull request #11896 from ioito/hotfix/qx-azure-rds-mem
fix(region): sync azure rds memeory
2021-08-15 11:15:56 +08:00
Zexi Li
eaaa92aff8 Merge pull request #11900 from zhaoxiangchun/feature/zxc-agent-metirc
feat(monitor): add ext mysql,rabbitmq,redis metric
2021-08-15 11:01:00 +08:00
Zexi Li
0054ad16d0 Merge pull request #11907 from zexi/update-glance-img
feat(build): update glance and torrent base image
2021-08-15 02:17:38 +08:00
Zexi Li
3b11bda683 feat(build): update glance and torrent base image 2021-08-15 02:15:10 +08:00
Zexi Li
c4c979deca Merge pull request #11905 from ioito/hotfix/qx-cloudevent-hcso
fix(cloudevent): hcso event fix
2021-08-15 00:12:38 +08:00
Qu Xuan
6f129378e0 fix(cloudevent): hcso event fix 2021-08-15 00:05:50 +08:00
yunion-ci-robot
569bde0a3d Merge pull request #11902 from zexi/update-k8s-monitor-opts
feat(mcclient): add k8s cluster monitor component disable option
2021-08-14 00:25:22 +08:00
Zexi Li
a152a9e940 Merge pull request #11895 from ioito/hotfix/qx-region-sql
fix(region): return region sql error
2021-08-13 21:15:48 +08:00
Zexi Li
28eb0ab983 feat(mcclient): add k8s cluster monitor component disable option 2021-08-13 21:13:22 +08:00
zhaoxiangchun
e9f3def6e0 feat(monitor): add ext mysql,rabbitmq,redis metric 2021-08-13 20:02:15 +08:00
Zexi Li
24c8bd3e15 Merge pull request #11897 from swordqiu/hotfix/qj-update-readme-install-steps
fix: update README installation steps
2021-08-13 18:06:34 +08:00
Qiu Jian
f408012c90 fix: update README installation steps 2021-08-13 18:02:03 +08:00
Qu Xuan
3488515fb5 fix(region): sync azure rds memeory 2021-08-13 17:24:41 +08:00
Qu Xuan
e79abc5d6e fix(region): return region sql error 2021-08-13 16:24:47 +08:00
Zexi Li
edae1e8688 Merge pull request #11887 from swordqiu/hotfix/qj-two-nics-vm-default-prefix-routes
fix: routes to private prefixes should be distributed on private nic
2021-08-13 14:30:41 +08:00
Zexi Li
ff5bac80df Merge pull request #11894 from ioito/hotfix/qx-misc-mongodb
fix(region): mongodb zone&network sync fix
2021-08-13 14:29:49 +08:00
Zexi Li
7e26bcb44a Merge pull request #11892 from ioito/hotfix/qx-hcso-eip-filter
fix(region): hcso regional eip
2021-08-13 14:29:09 +08:00
Qu Xuan
aa493f6c84 fix(region): mongodb zone&network sync fix 2021-08-13 11:54:32 +08:00
Qu Xuan
a0d43326d7 fix(region): hcso regional eip 2021-08-13 11:00:52 +08:00
Qiu Jian
3672f1bddc fix: routes to private prefixes should be distributed on private nic 2021-08-12 22:53:44 +08:00
Zexi Li
391b792064 Merge pull request #11870 from zhaoxiangchun/feature/zxc-hwstack-cloudmon
feat(cloudmon): support huaweistack monitor metric
2021-08-12 21:02:54 +08:00
Zexi Li
15c607c22c Merge pull request #11883 from ioito/hotfix/qx-azure-vm-disk
fix(region): azure vm disk size
2021-08-12 20:47:40 +08:00
Zexi Li
9500ede076 Merge pull request #11882 from ioito/hotfix/qx-mongodb-misc
fix(region): mongodb misc fix
2021-08-12 20:47:17 +08:00
Qu Xuan
b6d1029c7a fix(region): azure vm disk size 2021-08-12 20:26:03 +08:00
Zexi Li
55487628e2 Merge pull request #11875 from zexi/monitor-temperature
Monitor temperature
2021-08-12 18:21:30 +08:00
Qu Xuan
d2b19ae001 fix(region): mongodb misc fix 2021-08-12 18:02:23 +08:00
Zexi Li
b9f8c57f42 Merge pull request #11879 from ioito/hotfix/qx-hcso-iam
add: hcso iam
2021-08-12 17:06:33 +08:00
Qu Xuan
42fda4401a add: hcso iam 2021-08-12 16:51:19 +08:00
Zexi Li
754551ce9c feat(ansibleserver): update file-repo to v0.3.3 and use telegraf 1.19.2 2021-08-12 16:26:02 +08:00
Zexi Li
9ff03af402 feat(monitor): support temperature metrics 2021-08-12 16:26:02 +08:00
Zexi Li
6a84a0f434 Merge pull request #11877 from tb365/feature/tb-huawei-private-cloud2
huawei cloud stack client fix
2021-08-12 15:04:15 +08:00
tb365
e7bc6614a0 Merge branch 'master' into feature/tb-huawei-private-cloud2 2021-08-12 14:38:04 +08:00
tb365
682a27633a huawei cloud stack client fix 2021-08-12 14:33:44 +08:00
Zexi Li
d2cec75a88 Merge pull request #11872 from ioito/hotfix/qx-vpc-delete
fix(region): delete dirty network
2021-08-12 10:55:41 +08:00
Qu Xuan
11c0bc8264 fix(region): delete dirty network 2021-08-11 20:11:26 +08:00
Zexi Li
bce1f198db Merge pull request #11862 from zhaoxiangchun/feature/zxc-meter-pro-domain-master
fix(monitor): add used_by list filter
2021-08-11 20:04:39 +08:00
Zexi Li
21501494e6 Merge pull request #11867 from ioito/hotfix/qx-sql-error
fix(region): return sql error
2021-08-11 20:03:43 +08:00
zhaoxiangchun
a6f5b047de feat(cloudmon): support huaweistack monitor metric 2021-08-11 20:03:04 +08:00
Qu Xuan
f664cc25a9 fix(region): return sql error 2021-08-11 19:13:25 +08:00
Zexi Li
e95f6570c5 Merge pull request #11864 from swordqiu/hotfix/qj-fix-permission-issues-for-samlusers-quotas
fix: resolve permission issues for samlusers and quotas
2021-08-11 17:50:35 +08:00
Qiu Jian
afe11dbeef fix: resolve permission issues for samlusers and quotas 2021-08-11 17:15:29 +08:00
zhaoxiangchun
bdb2a85ae5 fix(monitor): add used_by list filter
支持其他全服务通过used_by 字段进行相关过滤
2021-08-11 12:03:06 +08:00
Zexi Li
1306de980a Merge pull request #11860 from ioito/hotfix/qx-hcso-rds-sku
feat: hcso sku sync
2021-08-11 11:29:45 +08:00
Qu Xuan
963cc7fac1 feat: hcso sku sync 2021-08-11 10:25:17 +08:00
yunion-ci-robot
75d1115a87 Merge pull request #11848 from Stargic/feature/implement-x
feat(climc): add SSH through EIP in server-ssh
2021-08-10 15:52:00 +08:00
Zexi Li
ab33fcc373 fix(region): baremetal server reuse ip address condition 2021-08-10 10:43:02 +08:00
Zexi Li
259b25f92f Merge pull request #11852 from swordqiu/hotfix/qj-allow-server-disk-update-cache-directsync
fix: allow set server-disk cache mode as directsync
2021-08-10 10:13:53 +08:00
Zexi Li
122a76cc6c Merge pull request #11849 from swordqiu/hotfix/qj-eip-bandwidth-limit-inter-vm-traffic
fix: inter-vm traffic limited by eip bandwidth limit
2021-08-10 10:07:12 +08:00
Qiu Jian
4fc194a1b7 fix: allow set server-disk cache mode as directsync 2021-08-10 00:24:39 +08:00
yunion-ci-robot
51493dd659 Merge pull request #11840 from zexi/bm-maintenance-mode
fix(region): not set baremetal is_maintenance when action is start
2021-08-10 00:19:02 +08:00
yunion-ci-robot
9e9bd364c8 Merge pull request #11844 from zexi/bm-ipmitool-reboot
fix(baremetal): increase ipmitool reboot sleep wait time
2021-08-10 00:17:01 +08:00
Qiu Jian
93bceeafdd fix: inter-vm traffic limited by eip bandwidth limit 2021-08-10 00:13:03 +08:00
Stargic
d42b2a6ddc feat(climc): add SSH through EIP in server-ssh 2021-08-09 23:55:59 +08:00
Zexi Li
b24335917e Merge pull request #11847 from tb365/feature/tb-huawei-private-cloud
fix(region): update huawei cloud stack update credential
2021-08-09 18:59:08 +08:00
tb365
d36878bbca fix(region): update huawei cloud stack update credential 2021-08-09 17:48:55 +08:00
Zexi Li
784e996901 fix(baremetal): increase ipmitool reboot sleep wait time 2021-08-09 16:50:04 +08:00
Zexi Li
48e5bfba67 Merge pull request #11843 from tb365/feature/tb-huawei-private-cloud
huawei client update
2021-08-09 16:11:02 +08:00
tb365
4cf354fcf7 fix(region): goimport fix 2021-08-09 16:00:10 +08:00
tb365
88efcda2f5 huawei client update 2021-08-09 15:55:12 +08:00
Zexi Li
bf904da0f6 fix(region): not set baremetal is_maintenance when action is start 2021-08-09 15:22:05 +08:00
Zexi Li
3b89514bbd Merge pull request #11781 from ioito/feat/qx-cloudpods-add
feat(region): add cloudpods
2021-08-07 22:13:48 +08:00
Zexi Li
83253e547e Merge pull request #11832 from ioito/hotfix/qx-openstack-storage-sync
fix(region): sync openstack multi zone storages
2021-08-07 14:29:51 +08:00
Zexi Li
b7527119f1 Merge pull request #11833 from rainzm/host/filter
Filter wires and networks from host_type of host
2021-08-07 14:28:42 +08:00
Qu Xuan
a1501da0c8 fix(region): sync openstack multi zone storages 2021-08-06 15:45:46 +08:00
rainzm
2d7fba494d feat(region): add host_type filter for listing network
Also fixed the previous problem of using host to filter the network of yunioncloud
2021-08-06 15:43:37 +08:00
rainzm
47da51e04e feat(region): add host_type filter for listing wires 2021-08-06 15:41:49 +08:00
Zexi Li
ea75f2fb77 Merge pull request #10925 from ioito/hotfix/qx-multi-region-sync
fix(region): sync multi region resource at same time
2021-08-06 15:09:36 +08:00
Zexi Li
04afa13f77 Merge pull request #10962 from ioito/feat/qx-sync-cost-time
fix(region): record sync cost time
2021-08-06 15:08:57 +08:00
Zexi Li
6c6161462e Merge pull request #11814 from ioito/hotfix/qx-kafka-purge
fix(region): kafka purge
2021-08-06 15:07:44 +08:00
Zexi Li
ccca2503fb Merge pull request #11830 from tb365/bugfix/tb-bugfix-080601
fix(apigateway): totp passcode verify error code fix
2021-08-06 11:24:11 +08:00
tb365
c377f19725 fix(apigateway): totp passcode verify error code fix 2021-08-06 10:55:31 +08:00
Zexi Li
f97a2c756f Merge pull request #11820 from ioito/hotfix/qx-nas-tags
fix(region): support nas tags
2021-08-06 10:23:04 +08:00
Zexi Li
dd5b427def Merge pull request #11823 from rainzm/disk/instance_snapshot
fix(region): prohibit resizing the disk of a esxi vm with instance snapshots
2021-08-06 10:21:07 +08:00
Zexi Li
7946bf53ea Merge pull request #11826 from ioito/hotfix/qx-status-filter
fix(region): add resource statistics filter params
2021-08-06 10:03:15 +08:00
Zexi Li
b02a25da64 Merge pull request #11828 from ioito/hotfix/qx-jdcloud-webconsole
fix(webconsole): add jdcloud vnc
2021-08-06 00:40:26 +08:00
Qu Xuan
c1be18524c fix(webconsole): add jdcloud vnc 2021-08-05 20:39:54 +08:00
Qu Xuan
3a380377a8 fix(region): add resource statistics filter params 2021-08-05 19:42:33 +08:00
rainzm
a493c7022a fix(region): prohibit resizing the disk of a esxi vm with instance snapshots 2021-08-05 18:59:35 +08:00
Qu Xuan
8db0a79fac fix(region): support nas tags 2021-08-05 17:28:13 +08:00
Zexi Li
f481850c6a Merge pull request #11808 from ioito/hotfix/qx-openstack-vm-hostid
fix(region): avoid get openstack hostid panic
2021-08-05 17:18:27 +08:00
Zexi Li
8d4c75f32c Merge pull request #11815 from rainzm/host/check
feat(region): check whether the esxi host is ip or domain name
2021-08-05 17:17:48 +08:00
rainzm
6af6c8167a feat(region): check whether the esxi host is ip or domain name 2021-08-05 15:58:33 +08:00
Qu Xuan
3ff012f8c1 fix(region): kafka purge 2021-08-05 15:09:13 +08:00
rainzm
39d93ebb92 feat(devtool): support batch applying for virtual machines 2021-08-05 15:00:01 +08:00
Qu Xuan
6632d5f14d fix(region): avoid get openstack hostid panic 2021-08-05 14:17:56 +08:00
Qu Xuan
7fc35d0e0c fix(region): record sync cost time 2021-08-04 20:39:26 +08:00
yunion-ci-robot
da1114898f Merge pull request #11803 from zexi/fix-bm-iso-boot-mac-order
fix(baremetal): inject mac when admin nic found
2021-08-04 20:09:00 +08:00
Zexi Li
865e2671e6 fix(baremetal): inject mac when admin nic found 2021-08-04 18:53:05 +08:00
Zexi Li
e685e1eacf Merge pull request #11799 from ioito/hotfix/qx-mongodb-fix
fix(region): add trans and mongodb backup list
2021-08-04 16:15:22 +08:00
Zexi Li
6185d618a8 Merge pull request #11796 from rainzm/vmware/copydisk
fix(esxiagetn): keep compatible with the lower version vcenter when copying the disk
2021-08-04 16:14:26 +08:00
Qu Xuan
3110923be4 fix(region): add trans and mongodb backup list 2021-08-04 11:37:28 +08:00
Zexi Li
1df7d271b7 Merge pull request #11783 from ioito/hotfix/qx-mongodb-fix
fix(region): mongodb sync fix
2021-08-04 10:23:41 +08:00
Zexi Li
f7a3ead15a Merge pull request #11792 from swordqiu/hotfix/qj-cloud-events-purge-2
fix: add purge split log commands for cloudevent and cloudlog
2021-08-04 10:23:10 +08:00
yunion-ci-robot
88bb1e2086 Merge pull request #11789 from zexi/automated-cherry-pick-of-#11788-upstream-master
Automated cherry pick of #11788: fix(region): baremetal server resued address nic count should be subtracted
2021-08-03 23:55:57 +08:00
Zexi Li
8435e98aff Merge pull request #11794 from swordqiu/hotfix/qj-server-migrate-network-with-vlan
fix: server migrate network to a vlan network
2021-08-03 20:05:14 +08:00
Zexi Li
b3339a9de9 Merge pull request #11791 from rainzm/subscriber/fix
fix for subscriber
2021-08-03 20:03:29 +08:00
yunion-ci-robot
a1221ded1a Merge pull request #11784 from zexi/fix-baremetal-iso-boot
fix(baremetal): inject mac to cmdline
2021-08-03 18:58:55 +08:00
rainzm
f6648296ad fix(esxiagetn): keep compatible with the lower version vcenter when copying the disk 2021-08-03 18:01:40 +08:00
Qiu Jian
c53b87cc5c fix: server migrate network to a vlan network 2021-08-03 17:54:28 +08:00
Qiu Jian
c8e8818743 fix: add purge split log commands for cloudevent and cloudlog 2021-08-03 17:17:27 +08:00
rainzm
fc1adcedf5 fix(notify): fix create and list of subscriber 2021-08-03 17:13:20 +08:00
rainzm
c89ae949e0 fix(notify): add list option 'enabled' for topic 2021-08-03 17:12:11 +08:00
rainzm
3dea565c8a fix(notify): fix for subscriber_receiver 2021-08-03 17:10:54 +08:00
rainzm
c2d7dd6a45 feat(notify): add ResourceAttributionName for subscriber 2021-08-03 17:08:57 +08:00
rainzm
edcd98e5fe fix(notify): optimization of print log
1. remomve unnecessary log
2. reduce the level of some logs, such as info -> debug
2021-08-03 17:06:55 +08:00
Zexi Li
71b16e5e9d fix(region): baremetal server resued address nic count should be subtracted 2021-08-03 15:38:52 +08:00
yunion-ci-robot
caa15ce0f8 Merge pull request #11768 from Stargic/feature/implement-x
feat(climc): add Port-Forward SSH  in server-ssh
2021-08-03 14:32:34 +08:00
Zexi Li
96dc4ca4df fix(baremetal): inject mac to cmdline 2021-08-03 12:26:33 +08:00
Qu Xuan
b5d0467bd2 fix(region): mongodb sync fix 2021-08-03 11:59:56 +08:00
Zexi Li
d67159616b Merge pull request #11782 from ioito/hotfix/qx-mongodb-fix
fix(region): mongodb sync fix
2021-08-03 11:44:59 +08:00
Qu Xuan
b5a45e8535 fix(region): mongodb sync fix 2021-08-03 11:00:46 +08:00
Stargic
0a48cde828 fix(climc): modify the code logic of starting "Port-Forward SSH" 2021-08-02 23:18:26 +08:00
Stargic
d5298db0bb feat(climc): add Port-Forward SSH in server-ssh 2021-08-02 23:18:26 +08:00
Qu Xuan
6a735d4850 feat(region): add cloudpods 2021-08-02 20:45:06 +08:00
Zexi Li
5548a00f2d Merge pull request #11777 from zhaoxiangchun/feature/zxc-meter-pro-domain-master
fix(monitor): fix resource details can't show monitor metric
2021-08-02 19:57:27 +08:00
Zexi Li
cc3d992791 Merge pull request #11774 from rainzm/scheduler/quota
fix(scheduler): make option EnableQuotaCheck work
2021-08-02 18:00:35 +08:00
zhaoxiangchun
f3ddc97472 fix(monitor): fix resource details can't show monitor metric 2021-08-02 17:30:20 +08:00
rainzm
a34e59f21f fix(scheduler): make option EnableQuotaCheck work 2021-08-02 14:25:47 +08:00
Zexi Li
c81bd1c418 Merge pull request #11772 from rainzm/webapp/azure
Webapp in azure
2021-08-02 12:09:13 +08:00
rainzm
cd79e2d4a3 feat(climc): add operation of app and appenvironment 2021-08-02 11:46:09 +08:00
rainzm
64f5e09439 feat(multicloud): support webapp for azure 2021-08-02 11:45:50 +08:00
rainzm
f8e53027d6 feat(region): add App and AppEnvironment 2021-08-02 11:44:25 +08:00
Zexi Li
c2f27f7d7d Merge pull request #11770 from tb365/bugfix/tb-bugfix-080201
add host type count api
2021-08-02 11:34:38 +08:00
tb365
7aa8802a1f add host type count api 2021-08-02 10:51:26 +08:00
Zexi Li
7843f36b81 Merge pull request #11761 from rainzm/scheduler/fix_network_nic_count
fix: avoid double counting when compute networks nic count
2021-07-31 11:38:23 +08:00
yunion-ci-robot
c095acc039 Merge pull request #11758 from zexi/fix-baremetal-spec
fix(region): baremetal spec condition
2021-07-31 01:47:36 +08:00
rainzm
7d2fadb84c fix: avoid double counting when compute networks nic count 2021-07-30 20:01:19 +08:00
Zexi Li
e3a15c04d2 fix(region): baremetal spec condition 2021-07-30 17:07:27 +08:00
yunion-ci-robot
794c3cc34e Merge pull request #11754 from zexi/update-ansible-dockerfile
feat(build): update ansibleserver dockerfile
2021-07-29 19:31:33 +08:00
Zexi Li
3469c17b8e Merge pull request #11752 from zexi/disable-health-checker
fix(host,region): disable health checker by default
2021-07-29 19:23:51 +08:00
Zexi Li
e49a25adb1 feat(build): update ansibleserver dockerfile 2021-07-29 19:21:17 +08:00
Zexi Li
2b404c89d0 fix(host,region): disable health checker by default 2021-07-29 19:07:30 +08:00
Zexi Li
96655df67b Merge pull request #11748 from zexi/ansibleserver-tmp-cmd
feat(ansibleserver): record running cmd to debug
2021-07-29 16:40:03 +08:00
Zexi Li
ffb3cb06a9 Merge pull request #11741 from rainzm/vmware/net_dup
fix(region): prevent the creation of redundant network segments when managing vmware
2021-07-29 16:38:39 +08:00
yunion-ci-robot
861c1eea18 Merge pull request #11736 from zexi/fix/raise-network-attach-error
fix(region): raise GetNamedNetworkConfiguration error
2021-07-29 15:40:33 +08:00
Zexi Li
e36d317453 Merge pull request #11746 from swordqiu/hotfix/qj-cloud-events-purge
fix: purge splitable logs for cloudevents and logger
2021-07-29 15:39:40 +08:00
Zexi Li
33e45e46c8 feat(ansibleserver): record running cmd to debug 2021-07-29 12:01:59 +08:00
Qiu Jian
8f16f7eee3 fix: purge splitable logs for cloudevents and logger 2021-07-29 00:46:35 +08:00
Zexi Li
ef13e49acb Merge pull request #11743 from ioito/hotfix/qx-version-list
fix(climc): add version list command
2021-07-28 20:02:51 +08:00
Qu Xuan
1f87214bb9 fix(climc): add version list command 2021-07-28 19:45:44 +08:00
rainzm
b02a8a4ee6 fix(region): prevent the creation of redundant network segments when managing vmware 2021-07-28 17:41:47 +08:00
Zexi Li
cc5bc646bf fix(region): raise GetNamedNetworkConfiguration error 2021-07-28 17:23:29 +08:00
Zexi Li
705d7a0076 Merge pull request #11734 from zhaoxiangchun/bugfix/zxc-monitor-alert
feat(climc): register billsanalysis climc
2021-07-28 14:46:55 +08:00
zhaoxiangchun
ba50eed634 feat(climc): register billsanalysis climc 2021-07-28 11:59:14 +08:00
Zexi Li
3a0ef9d8d1 Merge pull request #11672 from zhaoxiangchun/bugfix/zxc-monitor-alert
fix(monitor): fix monitor bug
2021-07-28 10:17:22 +08:00
Zexi Li
3653a2dced Merge pull request #11673 from zexi/k8s-monitor-minio
feat(climc): add enable monitor minio component command
2021-07-27 18:08:06 +08:00
Zexi Li
78f3853c05 feat(climc): add enable monitor minio component command 2021-07-27 17:45:20 +08:00
Zexi Li
a23819c8d4 Merge pull request #11534 from ioito/hotfix/qx-swagger-api-update
fix(region): update swagger api
2021-07-27 11:56:05 +08:00
Qu Xuan
fa5d5a6eb9 fix(region): update swagger api 2021-07-27 11:46:31 +08:00
Zexi Li
73977d7f27 Merge pull request #11729 from swordqiu/hotfix/qj-simplify-project-domain-distinct-fields
fix: simplify SQL for distinct field query of tenant or domain names
2021-07-27 10:29:37 +08:00
Zexi Li
1b4fb41104 Merge pull request #11727 from ioito/hotfix/qx-status-resource-count
feat(region): add status count filter by params
2021-07-27 10:28:58 +08:00
Qiu Jian
a1d472d41c fix: simplify SQL for distinct field query of tenant or domain names 2021-07-27 01:16:47 +08:00
Zexi Li
7d5e37fd99 Merge pull request #11724 from rainzm/sotrage/sync_fix
fix(region): fetch zone before syncing promise cloud provider storages
2021-07-26 18:56:33 +08:00
Zexi Li
d1d48fc077 Merge pull request #11720 from ioito/hotfix/qx-openstack-ip-pre-allocate
fix(region): openstack ip pre allocate
2021-07-26 18:43:42 +08:00
Qu Xuan
d7f4eafee1 feat(region): add status count filter by params 2021-07-26 17:56:36 +08:00
rainzm
84f2e555e5 fix(region): fetch zone before syncing promise cloud provider storages 2021-07-26 17:18:13 +08:00
Zexi Li
73133de5bc Merge pull request #11719 from zexi/fix-dependabot-alerts
fix(vendor): github dependabot alerts
2021-07-26 15:30:01 +08:00
Qu Xuan
6b2999e151 fix(region): openstack ip pre allocate 2021-07-26 15:26:23 +08:00
Zexi Li
306cacce47 Merge pull request #11715 from ioito/hotfix/qx-cpu-desc
fix(region): cpu desc too long
2021-07-26 14:35:53 +08:00
Zexi Li
375d8bf4b4 fix(vendor): github dependabot alerts 2021-07-26 14:27:52 +08:00
Qu Xuan
e82228ac10 fix(region): cpu desc too long 2021-07-26 10:04:57 +08:00
yunion-ci-robot
f5a0fbc920 Merge pull request #11711 from zexi/hotfix/host-gpu-iommu-group
fix(host): find same vendor iommu_group devices
2021-07-25 00:13:31 +08:00
Zexi Li
675fc64fa1 fix(host): find same vendor iommu_group devices 2021-07-24 21:40:27 +08:00
Zexi Li
4d71dc11cf Merge pull request #11707 from ioito/hotfix/qx-qcloud-secgroup-update
fix(region): update qcloud secgroup rule
2021-07-23 18:22:09 +08:00
Qu Xuan
4f8942974f fix(region): update qcloud secgroup rule 2021-07-23 17:34:49 +08:00
Zexi Li
f4512a85db Merge pull request #11701 from ioito/hotfix/qx-azure-quota-sync
fix(region): azure quota sync
2021-07-23 14:22:09 +08:00
Zexi Li
1798f6a562 Merge pull request #11691 from ioito/hotfix/qx-account-aksk-err
fix(region): account aksk error
2021-07-23 14:21:37 +08:00
Zexi Li
251397f487 Merge pull request #11700 from rainzm/notify/get_types
feat(notify): add receivers query in receivers/get-types
2021-07-22 19:41:56 +08:00
Zexi Li
7cb8a308ef Merge pull request #11699 from ioito/hotfix/qx-waf-default-action
fix(region): sync aws waf default action
2021-07-22 19:41:22 +08:00
Qu Xuan
9193558e03 fix(region): azure quota sync 2021-07-22 19:34:25 +08:00
Qu Xuan
42046aaf6f fix(region): sync aws waf default action 2021-07-22 16:29:14 +08:00
zhaoxiangchun
303b7e1a52 Merge branch 'master' of https://github.com/yunionio/onecloud into bugfix/zxc-monitor-alert 2021-07-22 15:39:45 +08:00
Zexi Li
fe427e4fc5 Merge pull request #11693 from rainzm/agent/baremetal
feat: support install monitor agent in baremetal
2021-07-22 15:29:34 +08:00
Zexi Li
50641a1240 Merge pull request #11698 from rainzm/storage/sync_lock
fix(region): avoid panic when locking
2021-07-22 15:28:20 +08:00
Zexi Li
7827869c04 Merge pull request #11695 from swordqiu/hotfix/qj-qemu-img-create-large-local-disk-fail
fix: qemu-img create disk may fail to preallocation=metadata enable for large disk
2021-07-22 15:27:44 +08:00
rainzm
9058aecac1 feat(notify): add receivers query in receivers/get-types 2021-07-22 12:19:46 +08:00
Qiu Jian
af03ed60ea fix: qemu-img create disk may fail to preallocation=metadata enable for
large disk

error report: failed to flush the refcount block cache: File too large
2021-07-22 12:15:13 +08:00
rainzm
3485be17e5 fix(region): avoid panic when locking 2021-07-22 11:12:04 +08:00
rainzm
83b73bf63f feat: support install monitor agent in baremetal 2021-07-21 19:46:04 +08:00
Qu Xuan
07f6771f26 fix(region): account aksk error 2021-07-21 18:57:35 +08:00
Zexi Li
f266d883dd Merge pull request #11685 from ioito/hotfix/qx-kafka-delete
fix(region): aliyun kafka delete
2021-07-20 21:16:29 +08:00
Zexi Li
53b6f037d2 Merge pull request #11686 from rainzm/agent/custom_telegraf
Use custom version Telegraf as monitor agent
2021-07-20 21:15:58 +08:00
Zexi Li
3d925988a8 Merge pull request #11681 from ioito/hotfix/qx-policy-filter-by-role
fix(keystone): policy filter by role
2021-07-20 21:15:12 +08:00
Zexi Li
d0dabe0e19 Merge pull request #11682 from ioito/hotfix/qx-waf-cloud-resource
fix(region): waf cloud resources
2021-07-20 21:13:34 +08:00
rainzm
bbb95343e2 feat: update file-repo version 2021-07-20 19:42:15 +08:00
rainzm
0e06f9c6cc feat: use yunion's customized version of telegraf in file-repo 2021-07-20 19:41:23 +08:00
Zexi Li
45c96f3837 Merge pull request #11663 from rainzm/hostdeployer/checkOrAddUser
feat(hostdeployer): change UserAdd to CheckOrAddUser
2021-07-20 18:54:12 +08:00
Qu Xuan
7cfbaaf0e0 fix(region): aliyun kafka delete 2021-07-20 17:43:09 +08:00
Qu Xuan
7ec42db3ca fix(keystone): policy filter by role 2021-07-20 14:32:28 +08:00
Qu Xuan
fe84e0f0e8 fix(region): waf cloud resources 2021-07-20 14:19:43 +08:00
Zexi Li
6ca9ef3e45 Merge pull request #11645 from zhaoxiangchun/feature/zxc-cloudmon-master
feat(cloudmon): add cloudmon component
2021-07-20 10:01:51 +08:00
Zexi Li
c6c7ff2c30 Merge pull request #11679 from zexi/automated-cherry-pick-of-#11678-upstream-master
Automated cherry pick of #11678: fix(build): baremetal arm64 build
2021-07-19 20:22:27 +08:00
Zexi Li
9617ca4379 fix(build): baremetal arm64 build 2021-07-19 20:21:25 +08:00
Zexi Li
8fb3c9c342 Merge pull request #11674 from ioito/hotfix/qx-rds-network-sync
fix(region): rds network sync
2021-07-19 18:50:03 +08:00
Qu Xuan
155b036524 fix(region): return rds networks info 2021-07-19 17:28:36 +08:00
Qu Xuan
b8c443263b fix(region): rds network sync 2021-07-19 17:15:09 +08:00
zhaoxiangchun
1eaccaf72f fix(monitor): fix monitor bug
1.支持修改默认报警策略:查询周期、连续周期和静默期
2.监控总览-图表中过滤已删除机器信息
2021-07-19 15:54:51 +08:00
Zexi Li
4b5e36af87 Merge pull request #11671 from ioito/hotfix/qx-kafka-usage
fix(region): kafka usage
2021-07-19 15:48:18 +08:00
Qu Xuan
ca7989c76d fix(region): kafka usage 2021-07-19 15:38:07 +08:00
Zexi Li
bd3cb27061 Merge pull request #11646 from ioito/feat/qx-kafka
Feat/qx kafka
2021-07-19 15:02:37 +08:00
Qu Xuan
d725cf0597 feat(region): add kafka sync 2021-07-19 14:40:45 +08:00
Zexi Li
53583e101d Merge pull request #11667 from ioito/hotfix/qx-id-sql
fix(keystone): avoid sql error
2021-07-19 14:21:56 +08:00
Zexi Li
8f73468124 Merge pull request #11664 from ioito/hotfix/qx-waf-sync-id
fix(region): avoid aws waf sync lost id
2021-07-19 14:19:28 +08:00
Qu Xuan
4fe0e8e5be fix(keystone): avoid sql error 2021-07-19 14:03:29 +08:00
rainzm
941b6df117 feat(hostdeployer): change UserAdd to CheckOrAddUser
If the user already exists, use the existing user and its information; otherwise, create a new user
2021-07-19 11:15:30 +08:00
Qu Xuan
d881abf9a0 fix(region): avoid aws waf sync lost id 2021-07-19 10:57:09 +08:00
zhaoxiangchun
8fa4e577dd feat(cloudmon): add cloudmon component 2021-07-16 12:20:52 +08:00
Zexi Li
b611779d6e Merge pull request #11658 from ioito/hotfix/qx-azure-subscription-state
fix(region): sync auzre subscription health status
2021-07-16 11:24:08 +08:00
Zexi Li
27ba9f4616 Merge pull request #11661 from ioito/hotfix/qx-climc-fix
fix(climc): json tag
2021-07-16 11:13:44 +08:00
Qu Xuan
4bb922eb08 fix(climc): json tag 2021-07-16 11:06:43 +08:00
Qu Xuan
75f7188bc6 fix(region): sync auzre subscription health status 2021-07-16 10:53:16 +08:00
Zexi Li
9157bd7ba0 Merge pull request #11643 from zhaoxiangchun/feature/zxc-monitor_sheild_master
feat(monitor): monitor alertRecord support set shield
2021-07-16 10:24:07 +08:00
Zexi Li
a351d9bcaf Merge pull request #11641 from swordqiu/feature/qj-server-migrate-network
feature: allow server switch network without service interruption
2021-07-15 19:17:19 +08:00
yunion-ci-robot
112f96f3c6 Merge pull request #11647 from zexi/fix/megaraid-sn-empty
fix(baremetal): compatible with SN empty of MegaRaid
2021-07-15 18:27:04 +08:00
Zexi Li
f4c56684de Merge pull request #11634 from rainzm/notify/get_types
Fix for Notify Config and Robot
2021-07-15 18:26:45 +08:00
Zexi Li
e9a71b803f Merge pull request #11657 from ioito/hotfix/qx-aws-waf-label
fix(region): support aws waf label
2021-07-15 18:24:53 +08:00
Zexi Li
5c7bbd0131 Merge pull request #11644 from tb365/bugfix/tb-bugfix-0701401
azure lb sync listener frontip fix
2021-07-15 18:24:08 +08:00
Qu Xuan
144ffbf593 fix(region): support aws waf label 2021-07-15 16:42:20 +08:00
Zexi Li
625d1451f4 fix(baremetal): compatible with SN empty of MegaRaid 2021-07-15 10:29:06 +08:00
Zexi Li
7555235dc1 Merge pull request #11642 from ioito/hotfix/qx-waf-sync
fix(region): aws waf sync
2021-07-15 09:44:12 +08:00
Zexi Li
5d22442439 Merge pull request #11637 from ioito/feat/qx-tdsql
fix(region): add qcloud tdsql
2021-07-15 09:44:00 +08:00
Qiu Jian
d3da7426f2 fix: migrate interface before commit desc 2021-07-14 21:05:31 +08:00
Zexi Li
7cfdc7f04f Merge pull request #11650 from bistuzx/master
feat(meter): add meter cost conversion
2021-07-14 18:52:16 +08:00
bistuzx@163.com
afd560c6f9 add meter cost conversion 2021-07-14 18:05:59 +08:00
Qiu Jian
fe1dd1daa1 minor fixes 2021-07-14 16:53:07 +08:00
Qiu Jian
58313432f1 fix: add codes to switch bridge of ovs port 2021-07-14 16:31:22 +08:00
Qiu Jian
0d3cfac329 feature: allow server switch network without service interruption 2021-07-14 16:31:22 +08:00
zhaoxiangchun
805c80370e feat(monitor): support monitor shield
1.报警屏蔽功能:
  1)以报警资源为基础需求中报警数据中拆分的要求
2021-07-14 12:20:11 +08:00
tb365
05729f87ff azure health check fix 2021-07-14 11:49:18 +08:00
Zexi Li
1490260d19 Merge pull request #11626 from swordqiu/hotfix/qj-support-bfq-io-scheduler
fix: compatible with new io scheduler(bfq/mq-deadline) of new Linux kernel
2021-07-14 11:07:08 +08:00
tb365
9d0f27f734 azure lb sync listener frontip fix 2021-07-14 10:03:25 +08:00
Qiu Jian
0529327e13 fix: compatible with new io scheduler(bfq/mq-deadline) of new Linux kernel
1. support bfq/mq-deadline multiqueue io scheduler
2. add delay for link setup
2021-07-14 02:18:05 +08:00
zhaoxiangchun
0a7c587117 feat(monitor): monitor alertRecord support set shield
1.报警记录支持设置屏蔽时间
2.报警记录展示重构
3.报警通知中过滤已经设置屏蔽的资源
2021-07-13 20:14:39 +08:00
Zexi Li
ac13da6bb8 Merge pull request #11638 from ioito/hotfix/qx-remove-debug-info
fix(region): remove debug info
2021-07-13 20:10:51 +08:00
Qu Xuan
809448134d fix(region): add qcloud tdsql 2021-07-13 19:48:10 +08:00
Qu Xuan
53825d5362 fix(region): aws waf sync 2021-07-13 18:59:08 +08:00
Qu Xuan
20b151fbc2 fix(region): remove debug info 2021-07-13 17:25:58 +08:00
rainzm
8b0b4bdf30 fix(notify): init config name 2021-07-13 15:36:48 +08:00
rainzm
cd8529556d fix(notify): init robot correctly from old data 2021-07-13 15:36:48 +08:00
rainzm
f591013358 feat(notify): Gets the available notification types for the receiver 2021-07-13 15:36:45 +08:00
Zexi Li
cc5578e31d Merge pull request #11600 from rainzm/vmware/storage_sync
fix(region): sync storage before syncing host in syncOnPremiseCloudProviderInfo
2021-07-13 10:46:36 +08:00
Zexi Li
585f9e802f Merge pull request #11635 from tb365/bugfix/tb-pre-login-hook-fix
feat(yunionapi): pre login hook fix
2021-07-13 10:45:55 +08:00
tb365
6f91fa7a45 feat(yunionapi): pre login hook fix 2021-07-13 10:13:39 +08:00
Zexi Li
820492aa9c Merge pull request #11627 from ioito/hotfix/qx-server-eip-allocate
fix(region): allocate server eip without hostwire restrict
2021-07-12 18:40:13 +08:00
Zexi Li
b959476732 Merge pull request #11595 from ioito/feat/qx-elk
Feat/qx elk
2021-07-12 16:04:08 +08:00
Zexi Li
12b485caab Merge pull request #11582 from rainzm/robot/update
fix(notify): Support selective update of robot field
2021-07-12 14:54:32 +08:00
yunion-ci-robot
57a1832ff8 Merge pull request #11628 from tb365/bugfix/tb-keystone-user-not-found-fix
fix(keystone): user not found error fix
2021-07-12 13:58:01 +08:00
tb365
05b8eccb17 fix(keystone): user not found error fix 2021-07-12 13:37:10 +08:00
Qu Xuan
04872867c3 fix(region): allocate server eip without hostwire restrict 2021-07-12 11:52:03 +08:00
Zexi Li
fedfe32ada Merge pull request #11592 from rainzm/agent/install
feat(devtool): use server forward direct for guest with kvm hypervisor
2021-07-12 10:28:17 +08:00
Zexi Li
b9a7b19282 Merge pull request #11617 from zhaoxiangchun/fix/zxc-query-restType
fix(monitor): fix monitor resourece update
2021-07-12 10:27:32 +08:00
Qu Xuan
021f5d9241 feat(region): support elasticsearch sync 2021-07-12 09:48:54 +08:00
Zexi Li
89d86f6ac5 Merge pull request #11622 from rainzm/esxi/dbackend
fix(region): set DefaultSysDiskBackend as empty for esxi guest
2021-07-10 10:53:55 +08:00
rainzm
606045bcef fix(region): sync storage before syncing host in syncOnPremiseCloudProviderInfo
场景:重新构建了某个存储,相当于把之前某个存储上的所有虚拟机迁移到一个新的存储上。

因为没有syncStorage,所以在同步syncHostStorge的时候无法disconnect host
和 没有的storage,这是因为storage上还有host的虚拟机。syncHostStorages
会失败,storageCache 也就不会同步,上面的icloudImage也不会同步。
2021-07-09 19:19:53 +08:00
rainzm
8f92195928 fix(region): set DefaultSysDiskBackend as empty for esxi guest 2021-07-09 19:09:57 +08:00
yunion-ci-robot
0d9403a298 Merge pull request #11609 from zexi/hotfix/baremetal-redfish-poweron-fallback
fix(baremetal): use ipmitool power reset when redfish power on error
2021-07-09 18:52:00 +08:00
Zexi Li
815cd9faf7 Merge pull request #11620 from tb365/bugfix/tb-update-vendor-070901
update vendor
2021-07-09 17:22:18 +08:00
rainzm
955cf6500b feat(devtool): use server forward direct for guest with kvm hypervisor 2021-07-09 16:10:59 +08:00
tb365
a83ff5bf98 update vendor 2021-07-09 16:07:29 +08:00
Zexi Li
539f68309b fix(baremetal): use ipmitool power reset when redfish power on error 2021-07-09 14:43:12 +08:00
zhaoxiangchun
4c2bca8f8b fix(monitor): fix monitor resourece update
1.通过region返回的obj更新监控资源时 remove掉id信息
2021-07-09 12:36:46 +08:00
Zexi Li
713278b457 Merge pull request #11603 from zhaoxiangchun/fix/zxc-query-restType
fix(monitor):  alert policy use ownerId when update
2021-07-09 12:06:57 +08:00
Zexi Li
1cd0995efa Merge pull request #11610 from swordqiu/hotfix/qj-host-detach-wire-bugs
fix: host detach wire not update netinterface
2021-07-09 11:49:49 +08:00
Qiu Jian
184a6a0817 fix: host detach wire not update netinterface 2021-07-09 10:35:24 +08:00
Zexi Li
6cfdfb4002 Merge pull request #11593 from tb365/bugfix/tb-bugfix-0700701
Bugfix/tb bugfix 0700701
2021-07-09 10:32:59 +08:00
zhaoxiangchun
3c499f209c fix(monitor): alert policy use ownerId when update
1.根据参数中的project和domain属性调用FetchOwnerId方法,然后确定报警策略归属并进行监控查询过滤
2021-07-09 10:10:30 +08:00
Zexi Li
72fc836846 Merge pull request #11601 from swordqiu/feature/qj-google-oidc-identity-provider
Feature/qj google oidc identity provider
2021-07-09 10:00:00 +08:00
Qiu Jian
788ad518c2 minor fixes 2021-07-08 22:44:42 +08:00
Zexi Li
89e9ad2339 Merge pull request #11580 from ioito/hotfix/qx-manager-name-update
fix(region): update manager name
2021-07-08 22:15:45 +08:00
yunion-ci-robot
f5133e156c Merge pull request #11563 from zexi/host-aware-kubelet-config
feat(host): aware of kubelet eviction config
2021-07-08 20:03:01 +08:00
yunion-ci-robot
b77be40a30 Merge pull request #11597 from rainzm/lvm/fine
fix(host-deployer): make SKVMGuestLVMPartition work find
2021-07-08 18:40:59 +08:00
rainzm
0a75aaad6e fix(host-deployer): make SKVMGuestLVMPartition work fine
1. add needChangeName to indicate whether to change the name when
   putting down
2. remove unnecessary IsVgActice
3. findPartitions from /dev/{vgname}/{lvname} or
   /dev/mapper/{vgname}-{lvname}
2021-07-08 18:15:56 +08:00
Zexi Li
79a4303be8 Merge pull request #11590 from ioito/hotfix/qx-jdcloud-rds-err
fix(region): validate jdcloud rds err
2021-07-08 11:28:08 +08:00
Zexi Li
65cf01b029 Merge pull request #11588 from ioito/hotfix/qx-azure-china-redis
fix(region): avoid sync azure china redis failed
2021-07-08 11:27:57 +08:00
Zexi Li
d9c5e408b3 Merge pull request #11548 from ioito/hotfix/qx-mongodb
feat(region): add mongodb
2021-07-08 11:26:55 +08:00
Zexi Li
d23ff37679 Merge pull request #11587 from zhaoxiangchun/fix/zxc-query-restType
feat(monitor): update monitor resource overview
2021-07-08 10:30:35 +08:00
Qiu Jian
f08ea8b2c8 feature: support Google Oauth2.0 2021-07-08 02:27:05 +08:00
Zexi Li
e770f4f653 feat(host): aware of kubelet eviction config 2021-07-07 21:27:39 +08:00
zhaoxiangchun
0919c2ee3e feat(monitor): update monitor resource overview
1.调整监控总览-报警资源逻辑
启用禁用策略时对报警资源进行对应的挂载和解绑
2021-07-07 20:36:11 +08:00
Zexi Li
119c5b155d Merge pull request #11583 from rainzm/error/handle
fix(region): handle the error of RequestGuestCreateAllDisks
2021-07-07 20:29:07 +08:00
tb365
5649af2192 azure elb support sync ip backend 2021-07-07 20:13:56 +08:00
tb365
be5aeda1b1 azure application lb sync fix 2021-07-07 18:17:36 +08:00
Qu Xuan
875abe66d6 fix(region): validate jdcloud rds err 2021-07-07 18:09:54 +08:00
Qu Xuan
247d10f65b fix(region): avoid sync azure china redis failed 2021-07-07 17:53:14 +08:00
Zexi Li
818c2ae917 Merge pull request #11586 from ioito/hotfix/qx-azure-redis-capability
fix(region): azure cache capability
2021-07-07 17:19:14 +08:00
Qu Xuan
7f3ac39f30 fix(region): azure cache capability 2021-07-07 17:02:51 +08:00
rainzm
4dd1ecc793 fix(region): handle the error of RequestGuestCreateAllDisks 2021-07-07 15:43:36 +08:00
rainzm
06f23b26e8 fix(notify): Support selective update of robot field 2021-07-07 15:38:11 +08:00
Zexi Li
45be44e179 Merge pull request #11575 from rainzm/gst
fix(notify): set default lang 'zh_CN' for robot
2021-07-07 09:38:12 +08:00
Zexi Li
7b0d4f8826 Merge pull request #11579 from ioito/hotfix/qx-jd-rds-port
fix(region): update jdcloud rds port
2021-07-07 09:37:50 +08:00
Zexi Li
fa2ce19c74 Merge pull request #11570 from rainzm/hostdeployer/win10_pwd
feat(hostdeployer): change the way fo GetLoginAccount in windows
2021-07-06 22:22:26 +08:00
Zexi Li
5c1006d0f9 Merge pull request #11557 from tb365/feature/tb-support-azure-elb
support azure elb sync
2021-07-06 20:42:06 +08:00
Qu Xuan
9187d9abf7 fix(region): update manager name 2021-07-06 20:23:57 +08:00
Qu Xuan
53746609ab fix(region): update jdcloud rds port 2021-07-06 19:51:06 +08:00
yunion-ci-robot
c64a29c3b9 Merge pull request #11574 from zexi/fix-uefi-probe
fix(host-deployer): detect UEFI supported not correct
2021-07-06 19:51:03 +08:00
rainzm
5ab4cc9e7f fix(notify): set default lang 'zh_CN' for robot 2021-07-06 19:25:53 +08:00
Zexi Li
cf7b226c37 fix(host-deployer): detect UEFI supported not correct 2021-07-06 18:16:16 +08:00
rainzm
6e164070d3 feat(hostdeployer): change the way fo GetLoginAccount in windows
首先,如果不是win10,并且 windowsDefaultAdminUser 置为 true,以及
Administrator 没有lock,那么使用 Administrator。
否则,优先使用第一个没有被锁定且不是 Administrator 的user,如果最后没有
符合条件的user,且Adminstrator 没有被lock,就是用 Administrator。
否则,报错。
2021-07-06 17:35:33 +08:00
yunion-ci-robot
dd5f6595b0 Merge pull request #11564 from zexi/open-euler-support
feat(host): add openEuler rootFs driver
2021-07-06 15:29:00 +08:00
tb365
a0a5d088d0 azure lb global id to lowercase 2021-07-06 15:10:47 +08:00
Zexi Li
6e8993a220 feat(host): add openEuler rootFs driver 2021-07-06 14:49:34 +08:00
Zexi Li
ca21e3d122 Merge pull request #11567 from ioito/hotfix/qx-azure-waf-sync
fix(region): sync azure waf instance
2021-07-06 14:36:54 +08:00
Qu Xuan
67e393b673 fix(region): sync azure waf instance 2021-07-06 14:34:41 +08:00
Zexi Li
1c824eb2e3 Merge pull request #11547 from ioito/hotfix/qx-guest-disk-info
fix(region): return disk type
2021-07-06 12:24:17 +08:00
tb365
eb55569436 lb backend group details add lb_listener_count 2021-07-06 09:49:40 +08:00
Qu Xuan
69a6aedf17 feat(region): add mongodb 2021-07-05 16:49:48 +08:00
Zexi Li
9d97fdf4eb Merge pull request #11560 from zexi/update-owners
update OWNERS
2021-07-05 15:55:25 +08:00
Zexi Li
75a745368f update OWNERS 2021-07-05 15:53:17 +08:00
tb365
bb10f3ef3a support azure elb sync 2021-07-05 11:22:21 +08:00
Zexi Li
4302385438 Merge pull request #11554 from swordqiu/hotfix/qj-add-cloudroot-as-system-account
fix: add cloudroot as system account, so as not using normal user id
2021-07-04 10:26:31 +08:00
Qiu Jian
31b5866e47 fix: add cloudroot as system account, so as not using normal user id 2021-07-03 17:25:28 +08:00
Jian Qiu
64af16114b fix: minor changes of LICENSE and README (#11553)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-07-03 12:36:18 +08:00
Qu Xuan
5d1b907933 fix(region): return disk type 2021-07-02 15:44:49 +08:00
Zexi Li
116b8b81a8 Merge pull request #11537 from rainzm/notify/template
Notify templates
2021-07-02 11:36:56 +08:00
Zexi Li
681be2df90 Merge pull request #11543 from zexi/automated-cherry-pick-of-#11542-upstream-master
Automated cherry pick of #11542: fix(climc): update climc-base image to 20210701
2021-07-02 11:28:33 +08:00
Zexi Li
3b06b4c0ef fix(climc): update climc-base image to 20210701 2021-07-02 10:13:54 +08:00
Zexi Li
a4a04866a7 Merge pull request #11539 from swordqiu/hotfix/qj-abort-windows-ntfs-resize-for-2003
fix: do not use ntfsresize to resize NTFS partition
2021-07-02 10:01:04 +08:00
Qiu Jian
179562bc40 fix: do not use ntfsresize to resize NTFS partition
This makes resizing windows 2003 ntfs partition non-functional
2021-07-02 09:13:37 +08:00
rainzm
0b3f18830c feat(notify): add save api for notify template 2021-07-01 18:44:39 +08:00
rainzm
cd40909dec fix(notify): add create tag fro Attribution in SConfig 2021-07-01 18:42:15 +08:00
Zexi Li
11b04454f2 Merge pull request #11372 from ioito/hotfix/qx-dry-run
fix(common): supported dry run
2021-06-30 20:41:53 +08:00
Zexi Li
f06e5d8f7e Merge pull request #11530 from ioito/hotfix/qx-aliyun-vnc
fix(webconsole): aliyun vnc windows ctl+alt+del
2021-06-30 20:09:28 +08:00
Qu Xuan
1498e69e46 fix(webconsole): aliyun vnc windows ctl+alt+del 2021-06-30 19:58:50 +08:00
Zexi Li
8437d59c5f Merge pull request #11522 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
fix(monitor): update alert panel scope by  alert dashboard
2021-06-30 10:30:47 +08:00
Zexi Li
38b465d766 Merge pull request #11527 from zhaoxiangchun/fix/zxc-query-restType
fix(monitor): fix monitor process alert
2021-06-30 10:25:52 +08:00
zhaoxiangchun
9c6d0b8252 fix(monitor): fix monitor process alert
修复进程监控报警后,没有触发前端报警提示的问题
2021-06-30 09:46:44 +08:00
yunion-ci-robot
573aad4093 Merge pull request #11524 from zexi/fix/sched-baremetal-network
fix(scheduler): baremetal network free address out of count
2021-06-29 23:24:16 +08:00
Zexi Li
c8facc9489 fix(scheduler): baremetal network free address out of count 2021-06-29 20:24:35 +08:00
zhaoxiangchun
b2835c5d8a fix(monitor): update alert panel scope by alert dashboard 2021-06-29 17:23:41 +08:00
Zexi Li
fd2e0f7ddf Merge pull request #11506 from ioito/hotfix/qx-qcloud-memcache
fix(region): add qcloud memcached sync
2021-06-29 10:01:52 +08:00
Zexi Li
20feba39ca Merge pull request #11483 from ioito/hotfix/qx-jd-balanec
fix(region): format jd cloud balance
2021-06-29 10:01:07 +08:00
Zexi Li
885bc8e540 Merge pull request #11518 from swordqiu/hotfix/qj-servers-directory-in-symbol-link-dir
fix(host): allow server directory a symbol link to directory in other location
2021-06-29 10:00:27 +08:00
Zexi Li
b54f7f4087 Merge pull request #11521 from swordqiu/hotfix/qj-update-readme-simplify-install-steps
fix: simplify installation stes to two steps
2021-06-29 09:57:37 +08:00
Qiu Jian
09570b0f16 fix: simplify installation stes to two steps 2021-06-29 01:38:31 +08:00
Qiu Jian
7765ec0e3b fix(host): allow server directory a symbol link to directory in other
location
2021-06-29 00:01:19 +08:00
Zexi Li
79865d12ef Merge pull request #11514 from zhaoxiangchun/feature/zxc-alertpanel-name
fix(monitor): fix alert record not return resource details
2021-06-28 20:21:46 +08:00
Qu Xuan
f615862db3 fix(region): add qcloud memcached sync 2021-06-28 19:51:05 +08:00
Zexi Li
1f70773522 Merge pull request #11490 from ioito/feat/qx-redis-azure
feat(region): add azure redis
2021-06-28 19:43:03 +08:00
Zexi Li
022863ff10 Merge pull request #11503 from ioito/hotfix/qx-opslog-id
fi(region): avoid opslog without resource id
2021-06-28 19:41:40 +08:00
Zexi Li
dcf4d23d16 Merge pull request #11502 from ioito/hotfix/qx-waf-purge
fix(region): waf purge with account delete
2021-06-28 19:41:12 +08:00
Zexi Li
4b9626d9e4 Merge pull request #11494 from zhaoxiangchun/feature/zxc-overview-monitor-resource
fix(monitor): update monitor resourece joint scope
2021-06-28 19:40:38 +08:00
zhaoxiangchun
7310d612e6 fix(monitor): fix alert record not return resource details 2021-06-28 19:39:03 +08:00
Zexi Li
e6e2f21f5e Merge pull request #11507 from ioito/hotfix/qx-snapshot-sync
fix(region): avoid panic when sync snapshot project
2021-06-28 19:36:34 +08:00
Zexi Li
f2b252a4ad Merge pull request #11509 from rainzm/esxi/host_datacenter
fix: get datacenter of host via GetDatacenter
2021-06-28 19:35:34 +08:00
Qu Xuan
049cf670ad fix(region): avoid panic when sync snapshot project 2021-06-28 18:14:03 +08:00
rainzm
e52a9a7add fix: get datacenter of host via GetDatacenter 2021-06-28 18:13:45 +08:00
Qu Xuan
7fc23cb683 fi(region): avoid opslog without resource id 2021-06-28 17:19:35 +08:00
Qu Xuan
71b0c07bc2 fix(region): waf purge with account delete 2021-06-28 16:37:50 +08:00
Zexi Li
72c8aa74f0 Merge pull request #11500 from zexi/automated-cherry-pick-of-#11498-upstream-master
Automated cherry pick of #11498: fix(region): baremetal server change ip address reuse
2021-06-28 15:07:25 +08:00
Zexi Li
2d5e9b1574 fix(region): baremetal server change ip address reuse 2021-06-28 14:45:17 +08:00
zhaoxiangchun
f8b690602d fix(monitor): update monitor resourece joint scope
1.将agent监控报警策略关联到虚拟机资源
2021-06-28 12:16:00 +08:00
Zexi Li
0911c243aa Merge pull request #11492 from zhaoxiangchun/feature/zxc-customsize-billing
feat(climc): update meter dimension climc
2021-06-28 11:36:41 +08:00
Qu Xuan
59eb84fb27 feat(region): add azure redis 2021-06-28 10:56:38 +08:00
zhaoxiangchun
cff9cbc2f8 feat(climc): update meter dimension climc 2021-06-26 22:20:28 +08:00
Zexi Li
bc7d77cd0c Merge pull request #11489 from rainzm/region/remove_debug
fix(cloudcommon): remove unnecessary  debug info
2021-06-25 18:31:39 +08:00
Zexi Li
1137ac549c Merge pull request #11486 from ioito/hotfix/qx-batch-validate-create
fix(common): batch validate create
2021-06-25 18:31:15 +08:00
Zexi Li
60cc2cbc1e Merge pull request #10970 from rainzm/scheduler/hostnetwork
feat(scheduler): optimize the speed of network predicate
2021-06-25 18:27:19 +08:00
rainzm
15ee20a4ab fix(cloudcommon): remove unnecessary debug info 2021-06-25 17:03:50 +08:00
rainzm
cc5b93ea41 feat: add interface INetworkNicCountGetter 2021-06-25 15:54:48 +08:00
rainzm
bf977bb745 feat(scheduler): optimize the speed of network predicate 2021-06-25 15:53:59 +08:00
Qu Xuan
a87a8f2f41 fix(common): batch validate create 2021-06-25 15:49:02 +08:00
Zexi Li
1766549f2d Merge pull request #11478 from rainzm/notify/distinct
fix(notify): distinct field of receivers
2021-06-24 20:14:25 +08:00
Zexi Li
2d77a1a048 Merge pull request #11484 from ioito/hotfix/qx-remove-app-gateway
fix(region): remove app gateway
2021-06-24 20:13:26 +08:00
Qu Xuan
9d6dc3540f fix(region): remove app gateway 2021-06-24 17:39:40 +08:00
Qu Xuan
bc4d1d7b8b fix(region): format jd cloud balance 2021-06-24 15:37:37 +08:00
Zexi Li
4183fdbd46 Merge pull request #11424 from rainzm/notify/domain_subs
Notify managed by domain admin
2021-06-24 10:42:16 +08:00
rainzm
1c865268f8 fix(notify): distinct field of receivers 2021-06-24 10:39:15 +08:00
rainzm
cb335c1086 feat(region): remove webhook notify in guest.PostUpdate 2021-06-24 10:30:06 +08:00
rainzm
83ac629652 feat(notify): compatible with webhook configuration 2021-06-24 10:30:06 +08:00
rainzm
311d0efb80 feat(notify,region): improvement of news subscription 2021-06-24 10:30:01 +08:00
rainzm
7630589465 feat(notify): add action 'change_ipaddr' for notify topic 2021-06-24 10:29:35 +08:00
rainzm
066efeea65 feat(notify): adjust subscribers when deleting bots and recipients 2021-06-24 10:29:35 +08:00
rainzm
04d930ab2b feat(notify): topic and subscriber at the domain level 2021-06-24 10:29:35 +08:00
rainzm
1d1bb6c381 feat(notify): advanced notify config and robot
1. Notify config has now become a domain resource, so that each domain can have its own configuration about notify.
   The domains has no configuration will use system config.
2. Robot separates from config and becomes a shared project resource. Sending information to robot can
   choose which robot to send to.
2021-06-24 10:29:35 +08:00
Zexi Li
c22c9eb021 Merge pull request #11471 from zhaoxiangchun/feature/zxc-overview-monitor-resource
feat(monitor): add jenkins metric desc
2021-06-24 10:02:30 +08:00
Zexi Li
06180e53b5 Merge pull request #11473 from rainzm/region/sync_faster_v1
Sync VMware resource faster
2021-06-24 10:01:24 +08:00
rainzm
17db82c1ee feat(esxi): disable sync cloudimage from image cache 2021-06-23 17:01:29 +08:00
rainzm
9a114b5fe5 feat(esxi): reduce the number of requests and the amount of data transferred 2021-06-23 17:01:28 +08:00
rainzm
9f0fdb2913 feat(region): add ProhibitRefreshingCloudImage for options 2021-06-23 17:01:28 +08:00
zhaoxiangchun
589c80356f feat(monitor): add jenkins metric desc 2021-06-23 15:27:19 +08:00
Zexi Li
92f81cee39 Merge pull request #11453 from ioito/hotfix/qx-skip-qcloud-start-err
fix(region): ignore qcloud vm start error
2021-06-23 11:54:42 +08:00
yunion-ci-robot
22e73bd5cd Merge pull request #11457 from zexi/vm-netplan
feat(host): support netplan configuration
2021-06-23 11:39:11 +08:00
Zexi Li
fe1b4e5370 Merge pull request #11463 from ioito/hotfix/qx-server-stop-reason
fix(hostman): show server status changed reason
2021-06-23 10:53:20 +08:00
Zexi Li
2e4fef2f29 Merge pull request #11461 from zhaoxiangchun/feature/zxc-overview-monitor-resource
fix(monitor): fix monitor overview
2021-06-23 10:51:37 +08:00
Zexi Li
02e57f7e8f feat(host): support netplan configuration 2021-06-23 10:08:09 +08:00
Zexi Li
5c6200af4b Merge pull request #11460 from ioito/feat/qx-jd-cloud-rds
feat(region): support jd cloud rds
2021-06-22 18:40:08 +08:00
Zexi Li
8f307e4b38 Merge pull request #11458 from ioito/hotfix/qx-azure-rds-sql-server
fix(region): add azure sql server
2021-06-22 18:39:34 +08:00
Qu Xuan
dc879ab8d7 fix(hostman): show server status changed reason 2021-06-22 17:58:26 +08:00
zhaoxiangchun
e228f19bb4 Merge branch 'master' of https://github.com/yunionio/onecloud into feature/zxc-overview-monitor-resource 2021-06-22 17:06:49 +08:00
zhaoxiangchun
f6d7f07c7e fix(monitor): fix monitor overview
1.监控总览中资源报警统计支持项目钻取
2. 资源报警状态修复
2021-06-22 17:04:09 +08:00
Qu Xuan
89f06f2f1f fix(region): add azure sql server 2021-06-22 16:48:48 +08:00
Qu Xuan
11f1f9756e feat(region): support jd cloud rds 2021-06-22 16:01:00 +08:00
Zexi Li
9766509e3e Merge pull request #11454 from zhaoxiangchun/bugfix/zxc-mon
fix(monitor): exit monitor engine in time when happen err
2021-06-21 23:49:37 +08:00
zhaoxiangchun
9b493fb593 fix(monitor): exit monitor engine in time when happen err 2021-06-21 16:08:48 +08:00
Qu Xuan
1c27836c7c fix(region): ignore qcloud vm start error 2021-06-21 14:32:28 +08:00
Zexi Li
145463eeb0 Merge pull request #11448 from zexi/baremetal-remove-bundle-lib
fix(baremetal): remove bundle libs build
2021-06-21 10:42:48 +08:00
Zexi Li
54250d3d80 fix(baremetal): remove bundle libs build 2021-06-21 10:29:41 +08:00
Zexi Li
0276d6a5de Merge pull request #11443 from zhaoxiangchun/feature/zxc-agent-metirc
fix(monitor): fix agent monitor query
2021-06-21 00:34:37 +08:00
Zexi Li
2ca045cc3a Merge pull request #11439 from rainzm/receiver/filter
feat(notify): filter all recipients in this domain and recipients who have joined projects in this domain
2021-06-21 00:34:20 +08:00
Zexi Li
1c69f5c1cc Merge pull request #11428 from zhaoxiangchun/feature/zxc-overview-monitor-resource
feat(monitor) 3.7 add monitor resource overview
2021-06-21 00:33:31 +08:00
Zexi Li
89005b9a4a Merge pull request #11316 from ioito/feat/qx-aliyun-waf
feat(region): waf
2021-06-21 00:32:59 +08:00
yunion-ci-robot
b18fcc3c30 Merge pull request #11433 from zexi/scheduler-reuse-baremetal-ip
fix(region,scheduler): baremetal reuse ip
2021-06-19 22:39:58 +08:00
Zexi Li
3348d708a3 Merge pull request #11446 from swordqiu/hotfix/qj-update-readme-20210618
fix: update README to add user list and bilibili URL
2021-06-19 15:34:11 +08:00
Zexi Li
ecd52cbb82 Merge pull request #11447 from yunionio/add-code-of-conduct-1
Create CODE_OF_CONDUCT.md
2021-06-19 12:57:29 +08:00
Jian Qiu
d0a7d89f3e Create CODE_OF_CONDUCT.md 2021-06-19 00:03:50 +08:00
Qiu Jian
32bfd5211f fix: update README to add user list and bilibili URL 2021-06-18 23:42:14 +08:00
Qu Xuan
f3dbe33671 feat(region): waf 2021-06-18 19:14:27 +08:00
Zexi Li
257fc28196 Merge pull request #11422 from ioito/feat/qx-app-gateway
feat(region): add app gateway resource
2021-06-18 19:09:26 +08:00
zhaoxiangchun
40f33db2a2 fix(monitor): fix agent monitor query
1.修复agent监控查询图表显示id的问题
2021-06-18 18:52:34 +08:00
Zexi Li
2b390f0a1e Merge pull request #11441 from ioito/hotfix/qx-pm-disable
fix(region): skip disabled project mapping
2021-06-18 18:32:22 +08:00
zhaoxiangchun
640dfe7b4e Merge branch 'master' of https://github.com/yunionio/onecloud into feature/zxc-overview-monitor-resource 2021-06-18 18:18:25 +08:00
Qu Xuan
711fbb6c3b fix(region): skip disabled project mapping 2021-06-18 18:04:04 +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
Zexi Li
8c8d779f80 Merge pull request #11419 from ioito/hotfix/qx-cloudprovider-filter
fix(region): add project filter for cloudprovider
2021-06-18 16:21:06 +08:00
Zexi Li
97a9060bc8 Merge pull request #11436 from ioito/hotfix/qx-manager-extra-filed
fix(region): manager distinct field
2021-06-18 16:20:56 +08:00
Zexi Li
49749609b4 fix(region,scheduler): baremetal reuse ip 2021-06-18 15:45:50 +08:00
rainzm
ed5dac6244 feat(notify): filter all recipients in this domain and recipients who have joined projects in this domain 2021-06-18 15:20:30 +08:00
Qu Xuan
bda4737518 fix(region): manager distinct field 2021-06-18 14:19:23 +08:00
Zexi Li
16109e41a9 Merge pull request #11430 from zexi/fix/host-sched-cache
fix(region): clean schedule cache when host add or delete netif
2021-06-18 11:16:06 +08:00
Zexi Li
574e1f3cdf fix(region): clean schedule cache when host add or delete netif 2021-06-18 11:02:40 +08:00
yunion-ci-robot
6e43c3f972 Merge pull request #11425 from bistuzx/master
add meter billing exchange rate module
2021-06-17 23:53:53 +08:00
bistuzx@163.com
f88ea19a76 add module billing exchange rate 2021-06-17 19:36:35 +08:00
Qu Xuan
77c8d9f787 feat(region): add app gateway resource 2021-06-17 18:12:07 +08:00
Qu Xuan
8ab645e60d fix(region): add project filter for cloudprovider 2021-06-17 17:18:10 +08:00
Zexi Li
7959fb28a4 Merge pull request #11402 from ioito/hotfix/qx-pm-info
fix(region): show project mapping managers info
2021-06-17 14:57:00 +08:00
Zexi Li
d146d72284 Merge pull request #11413 from swordqiu/hotfix/qj-support-windows-2003
fix: support windows 2003
2021-06-17 10:18:27 +08:00
Zexi Li
036b1fa6fd Merge pull request #11415 from swordqiu/hotfix/qj-skip-resize-lvm-partition
fix: do not resize LVM paritition and skip and return success
2021-06-17 09:48:04 +08:00
Qiu Jian
56025bc557 fix: support windows 2003 2021-06-17 09:44:47 +08:00
Qiu Jian
4e65ec00c4 fix: do not resize LVM paritition and skip and return success 2021-06-17 01:53:09 +08:00
yunion-ci-robot
6110b13ff9 Merge pull request #11205 from zexi/feat/bm-no-bmc-management
feat(baremetal): support management of none BMC host
2021-06-16 23:26:53 +08:00
Zexi Li
c6dd12a813 Merge pull request #11404 from ioito/hotfix/qx-qcloud-bw
fix(region): ignore qcloud bw pkg error
2021-06-16 20:09:47 +08:00
Zexi Li
0956a55189 Merge pull request #11406 from yousong/feature/yousong-webconsole-zombie
webconsole: wait zombies
2021-06-16 20:08:51 +08:00
Yousong Zhou
f519b88f69 webconsole: wait zombies 2021-06-16 19:32:20 +08:00
Qu Xuan
502718ec19 fix(region): ignore qcloud bw pkg error 2021-06-16 18:18:11 +08:00
Qu Xuan
b5cc187ec1 fix(region): show project mapping managers info 2021-06-16 16:53:33 +08:00
Zexi Li
6179886b7c fix(baremetal): record uefi info 2021-06-16 12:49:17 +08:00
Zexi Li
331f6c1f6e Merge pull request #11397 from ioito/hotfix/qx-resource-status
fix(region): add status resource statistic
2021-06-15 16:32:00 +08:00
Qu Xuan
aef09a0504 fix(region): add status resource statistic 2021-06-15 14:10:13 +08:00
Jian Qiu
93d946816f fix: change site URL to www.cloudpods.org (#11396)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-06-13 03:21:31 +08:00
Zexi Li
d7670a7de0 Merge pull request #11380 from rainzm/notify/verified
fix(notify): clean verifiedNote when marking verified
2021-06-11 17:48:55 +08:00
Zexi Li
4e8b343b46 Merge pull request #11376 from ioito/hotfix/qx-qcloud-bandwidth-pkg
fix(region): qcloud bandwidth pkg
2021-06-11 17:48:49 +08:00
Zexi Li
83d89d1a61 Merge pull request #11375 from ioito/hotfix/qx-host-storage-update
fix(host): update rbd storage capacity
2021-06-11 17:46:28 +08:00
Zexi Li
279eacd9be Merge pull request #11367 from ioito/hotfix/qx-manager-tag-sync
fix(region): support cloudprovider bind project mapping
2021-06-11 17:45:48 +08:00
Zexi Li
72060e0c0a Merge pull request #11388 from zexi/doc-issue-template
fix(github): document template add enhancement label
2021-06-11 16:45:58 +08:00
Zexi Li
e709bb2f98 fix(github): document template add enhancement label 2021-06-11 16:45:02 +08:00
Zexi Li
36e4ee6ffb Merge pull request #11374 from swordqiu/hotfix/qj-update-readme
fix: update README 20210610
2021-06-11 16:20:38 +08:00
Qu Xuan
4763059f7d fix(region): qcloud bandwidth pkg 2021-06-11 14:43:03 +08:00
Zexi Li
b67c9dec06 Merge pull request #11383 from zexi/doc-issue-template
feat(github): add document issue template
2021-06-11 14:04:52 +08:00
Zexi Li
9790f54b7a feat(github): add document issue template 2021-06-11 14:03:07 +08:00
rainzm
6f0290ca72 fix(notify): clean verifiedNote when marking verified 2021-06-11 10:04:46 +08:00
Qiu Jian
b4bb9c724b fix: update README 20210610 2021-06-11 00:40:57 +08:00
Qu Xuan
d76f366c57 fix(host): update rbd storage capacity 2021-06-10 19:33:14 +08:00
Qu Xuan
1bc8e38452 fix(region): support cloudprovider bind project mapping 2021-06-10 15:48:16 +08:00
Zexi Li
519b774e73 Merge pull request #11347 from zhaoxiangchun/feature/zxc-customsize-billing
feat(mcclient): add bills dimension climc
2021-06-10 05:33:46 +08:00
Zexi Li
39888576c2 Merge pull request #11369 from ioito/hotfix/qx-rbd-storage-used
fix(host): get ceph used capacity
2021-06-10 05:32:29 +08:00
Zexi Li
75f45a5440 Merge pull request #11373 from swordqiu/hotfix/qj-update-readme
fix: update README 20210610
2021-06-10 05:30:38 +08:00
Qiu Jian
2354722cce fix: update README 20210610 2021-06-10 01:10:54 +08:00
Qu Xuan
705e068a6e fix(common): supported dry run 2021-06-09 20:12:44 +08:00
Qu Xuan
0144f03cd6 fix(host): get ceph used capacity 2021-06-09 19:24:28 +08:00
zhaoxiangchun
79f08937ab feat(mcclient): add bills dimension climc 2021-06-09 11:15:13 +08:00
Zexi Li
0b0ac0f151 Merge pull request #11310 from ioito/hotfix/qx-sync-panic
fix(region): avoid vmware sync hosts panic
2021-06-08 23:28:55 +08:00
Zexi Li
67dae3171a Merge pull request #11338 from rainzm/agent/tags
Add some tags to the monitoring data generated by the agent
2021-06-08 23:27:11 +08:00
Zexi Li
893030a080 Merge pull request #11340 from ioito/hotfix/qx-huawei-group-role
fix(cloudid): huawei group role attach and detach
2021-06-08 23:14:58 +08:00
Zexi Li
044227f20c Merge pull request #11349 from ioito/hotfix/qx-saml-provider-create
fix(cloudid): avoid duplicate create saml provider
2021-06-08 23:13:12 +08:00
Zexi Li
303844ce97 Merge pull request #11354 from ioito/feat/qx-export-keys
feat(apigateway): support export dict keys
2021-06-08 23:11:45 +08:00
Zexi Li
14e811f954 Merge pull request #11357 from ioito/hotfix/qx-storage-update
fix(region): avoid storage update not work
2021-06-08 23:09:58 +08:00
Zexi Li
18c1cc28ac Merge pull request #11361 from ioito/hotfix/qx-snapshot-validate
fix(region): validate disk status when create snapshot
2021-06-08 23:08:11 +08:00
Qu Xuan
82af2f702b fix(region): validate disk status when create snapshot 2021-06-08 20:04:50 +08:00
Qu Xuan
9c520ee7a7 fix(region): avoid storage update not work 2021-06-08 17:32:24 +08:00
Qu Xuan
557fd96cc0 feat(apigateway): support export dict keys 2021-06-08 16:14:01 +08:00
Qu Xuan
6ff1610ff3 fix(cloudid): avoid duplicate create saml provider 2021-06-08 14:18:07 +08:00
yunion-ci-robot
82f969e408 Merge pull request #11311 from ioito/hotfix/qx-huawei-disk-tags
fix(region): huawei disk tags
2021-06-08 10:50:26 +08:00
Zexi Li
35e4258898 fix(baremetal): nvme allocable 2021-06-07 18:11:36 +08:00
Zexi Li
72a6fab20b Merge pull request #11332 from ioito/hotfix/qx-sku-attachd-disk
fix(region): validate attached disk size and backend
2021-06-07 17:43:23 +08:00
Zexi Li
9198c4d94e Merge pull request #11335 from zhaoxiangchun/feature/zxc-customsize-billing
fix(telegraf-raid-plugin): add image-telegraf-raid-plugin in Makefile
2021-06-07 17:42:33 +08:00
Qu Xuan
85f3ddc3f7 fix(cloudid): huawei group role attach and detach 2021-06-07 17:28:01 +08:00
rainzm
95412c1290 feat(build): change file repo version in Dockerfile.ansibleserver 2021-06-07 17:01:14 +08:00
rainzm
0d33ecd28c feat(devtool): add some tags 2021-06-07 17:00:15 +08:00
rainzm
9a01d83eeb fix(anisbleserver): support complex yaml config in ansibleplaybook_instance 2021-06-07 16:59:01 +08:00
zhaoxiangchun
9a3310b92d fix(telegraf-raid-plugin): add image-telegraf-raid-plugin in Makefile 2021-06-07 16:18:07 +08:00
Qu Xuan
90cc8250b6 fix(region): validate attached disk size and backend 2021-06-07 15:43:35 +08:00
Zexi Li
d23b0a51f1 Merge pull request #11306 from ioito/hotfix/qx-skip-quota-check
fix(region): skip server migrate quota check
2021-06-07 10:28:11 +08:00
Qu Xuan
ba25d3910e fix(region): skip server migrate quota check 2021-06-07 10:13:13 +08:00
Zexi Li
865cd5b48d Merge pull request #11331 from swordqiu/hotfix/qj-add-reddit
fix: add reddit contact
2021-06-06 12:20:52 +08:00
Qiu Jian
cfd3a15b66 fix: add reddit contact 2021-06-06 10:10:36 +08:00
Zexi Li
d555adc7f7 Merge pull request #11326 from ioito/hotfix/qx-guest-tags
fix(region): sync tags with new guest
2021-06-06 00:54:24 +08:00
Zexi Li
96a8c09f37 Merge pull request #11330 from swordqiu/hotfix/qj-update-readme-20210606
fix: update README embed image
2021-06-06 00:53:53 +08:00
Qiu Jian
13f61a1d71 fix: update README embed image 2021-06-06 00:50:14 +08:00
Zexi Li
a459586e43 Merge pull request #11329 from swordqiu/hotfix/qj-improve-documentation-20210605
fix: README improvement
2021-06-06 00:07:57 +08:00
Qiu Jian
cd1c242908 fix: README improvement 2021-06-05 23:43:39 +08:00
Zexi Li
516837ab22 Merge pull request #11320 from zhaoxiangchun/feature/zxc-jdcloud-monitor
fix: 修复云账号和宿主机报警问题
2021-06-05 12:16:30 +08:00
Zexi Li
565b2db732 Merge pull request #11328 from swordqiu/hotfix/qj-improve-documentation-20200604
fix: improve documentation
2021-06-05 12:15:47 +08:00
Qiu Jian
2cc64af6fc fix: improve documentation 2021-06-05 03:40:05 +08:00
Qu Xuan
e461f87a9e fix(region): sync tags with new guest 2021-06-04 23:09:00 +08:00
Zexi Li
ee82adba4f Merge pull request #11297 from tb365/bugfix/tb-bugfix-060301
fix(region): lb local cert sync fix
2021-06-04 21:09:46 +08:00
Zexi Li
6016ae2121 Merge pull request #11299 from swordqiu/hotfix/qj-hpsactl-skip-empty-slots
fix: hpssacli should skip empty slots
2021-06-04 21:04:07 +08:00
Zexi Li
a63864b04a Merge pull request #11324 from swordqiu/hotfix/qj-readme-improvement-20210604
fix: improve readme
2021-06-04 21:02:52 +08:00
Qiu Jian
89a83dea5d fix: improve readme 2021-06-04 20:44:29 +08:00
yunion-ci-robot
88df4c912a Merge pull request #11325 from yousong/bugfix/yousong-readme-icon
README.md: update icon URLs
2021-06-04 20:35:27 +08:00
Yousong Zhou
98d5fb0728 README.md: update icon URLs 2021-06-04 20:25:46 +08:00
Zexi Li
ea1d46efe3 Merge pull request #11318 from ioito/hotfix/qx-guest-delete-with-disk
fix(region): avoid guest delete not with disks
2021-06-04 19:46:22 +08:00
zhaoxiangchun
cf29c44bbb fix: 修复云账号和宿主机报警问题
1.云账号报警时过滤掉已经禁用的云账号
2.修复宿主机报警时资源名称重复的问题
2021-06-04 19:23:25 +08:00
Qu Xuan
b5aa64d91b fix(region): avoid guest delete not with disks 2021-06-04 19:15:28 +08:00
Qu Xuan
7b6f28eefa fix(region): huawei disk tags 2021-06-04 14:36:20 +08:00
Qu Xuan
0a5ec52484 fix(region): avoid vmware sync hosts panic 2021-06-04 12:04:41 +08:00
Zexi Li
fb7b322256 Merge pull request #11305 from swordqiu/hotfix/qj-update-readme-20210604
fix: improve README
2021-06-04 09:53:56 +08:00
Qiu Jian
09e1e1ced2 fix: improve README 2021-06-04 02:01:38 +08:00
Qiu Jian
b7133f715b fix: hpssacli should skip empty slots
hpssacli may fail when detect disks on empty slots, which cause raid
detection failure
2021-06-03 19:31:52 +08:00
Zexi Li
ef7bc9e09d feat(baremetal): add UEFI related util 2021-06-03 19:02:52 +08:00
tb365
daf496a5b6 fix(region): lb local cert sync fix 2021-06-03 18:46:06 +08:00
Zexi Li
7e83136fe0 Merge pull request #11296 from zhaoxiangchun/feature/zxc-jdcloud-monitor
feat: support jdcloud pull monitor metric
2021-06-03 18:10:29 +08:00
zhaoxiangchun
81da6c3af9 feat: support jdcloud pull monitor metric 2021-06-03 15:11:22 +08:00
Zexi Li
88b8a97c63 Merge pull request #11289 from ioito/hotfix/qx-guest-start-params
fix(host): avoid panic when params is nil
2021-06-03 11:42:21 +08:00
Qu Xuan
8192af65ef fix(host): avoid panic when params is nil 2021-06-03 11:24:31 +08:00
Zexi Li
3f87a6fc6f fix(baremetal): close ssh test client 2021-06-03 02:43:31 +08:00
Zexi Li
7c6e861d71 Merge pull request #11284 from zexi/glance-s3-image-check-status
fix(glance): add option of s3 image status check
2021-06-02 11:17:55 +08:00
Zexi Li
00069a6070 fix(glance): add option of s3 image status check 2021-06-02 10:44:16 +08:00
Zexi Li
1b25544bc6 Merge pull request #11279 from ioito/hotfix/qx-disk-resize-deadlock
fix(region): avoid deadlock when resize disk
2021-06-01 19:19:10 +08:00
Zexi Li
03e2e2f816 Merge pull request #11274 from ioito/hotfix/qx-disable-auto-ip-allocate
fix(region): disable public cloud ip pre allocate
2021-06-01 18:55:08 +08:00
Zexi Li
2923ce2e13 Merge pull request #11261 from rainzm/jdcloud/init
Jdcloud/init
2021-06-01 18:52:38 +08:00
rainzm
276102a229 fix: add default security group rules and priorities to JDCloud 2021-06-01 18:36:29 +08:00
rainzm
bbbcadcedb add secgroup-list 2021-06-01 18:35:28 +08:00
rainzm
74f1868556 fix(multicloud): get the storage type of the disk correctly 2021-06-01 15:43:10 +08:00
Qu Xuan
30800f7320 fix(region): avoid deadlock when resize disk 2021-06-01 14:09:40 +08:00
Zexi Li
2814f482b0 Merge pull request #11268 from swordqiu/hotfix/qj-windows-extend-file-system
fix: windows resize file system
2021-06-01 11:54:46 +08:00
Qiu Jian
6c8b8441d4 fix: windows resize file system 2021-05-31 23:59:17 +08:00
Qu Xuan
a7c9ba3760 fix(region): disable public cloud ip pre allocate 2021-05-31 15:06:01 +08:00
rainzm
4783fb7540 feat(multicloud): add JdcloudTags 2021-05-31 10:15:53 +08:00
rainzm
928a801c87 update vendor 2021-05-31 10:15:53 +08:00
rainzm
00f94399fb feat: support JDCloud (Host read only) 2021-05-31 10:15:50 +08:00
Zexi Li
0f4de0dbdf Merge pull request #11266 from ioito/hotfix/qx-aws-json-unmarshal
fix(region): fix aws json unmarshal error
2021-05-31 09:56:02 +08:00
tb365
458ff46624 add jdcloud reigon&host&guest driver 2021-05-31 09:31:33 +08:00
tb365
4c369d19f3 add jd cloud constants 2021-05-31 09:31:33 +08:00
Qu Xuan
4a2e3e066f fix(region): fix aws json unmarshal error 2021-05-29 12:30:46 +08:00
Zexi Li
c712b71533 Merge pull request #11264 from ioito/hotfix/qx-tag-base
fix(region): split provider tag sync
2021-05-28 20:36:18 +08:00
Qu Xuan
4af24a2928 fix(region): split provider tag sync 2021-05-28 20:18:10 +08:00
yunion-ci-robot
04c97d538b Merge pull request #11258 from zhaoxiangchun/feature/zxc-raid-plugin
fix(host): raid status
2021-05-28 20:10:17 +08:00
zhaoxiangchun
219b853ecc fix(host): raid status 2021-05-28 19:56:14 +08:00
Zexi Li
f56b5352b1 Merge pull request #11253 from tb365/bugfix/tb-bugfix-052801
fix(region): lbcert cache clean duplicate data fix
2021-05-28 19:18:08 +08:00
Zexi Li
3fcaef556f Merge pull request #11256 from ioito/hotfix/qx-request-timeout
fix(cloudid): remove debug code
2021-05-28 19:17:29 +08:00
Zexi Li
5b4192a018 Merge pull request #11249 from ioito/hotfix/qx-project-sync-optimized
fix(region): optimized disk eip snapshot project sync
2021-05-28 19:17:01 +08:00
Qu Xuan
814bec45f9 fix(cloudid): remove debug code 2021-05-28 15:53:35 +08:00
tb365
9cfc6a1e59 fix(region): lbcert cache clean duplicate data fix 2021-05-28 15:45:39 +08:00
Zexi Li
15b5034695 Merge pull request #11245 from swordqiu/hotfix/qj-apigateway-regions-filter-by-domain-illegal-mix-of-collations
fix: get apigateway auth/regions with error of illegal mix of collations
2021-05-28 15:43:22 +08:00
Zexi Li
06f4b32e4c Merge pull request #11251 from ioito/hotfix/qx-project-mapping-sync
fix(region): project sync condition
2021-05-28 15:28:54 +08:00
Qu Xuan
ec72fbbcc4 fix(region): project sync condition 2021-05-28 15:14:32 +08:00
Qu Xuan
e80be2b586 fix(region): optimized disk eip snapshot project sync 2021-05-28 14:31:51 +08:00
Qiu Jian
a087863ab0 fix: get apigateway auth/regions with error of illegal mix of collations 2021-05-28 09:37:43 +08:00
Zexi Li
7f7651c6d5 Merge pull request #11217 from ioito/hotfix/qx-qcloud-tags
fix(region): optimized aliyun qcloud tags sync
2021-05-27 20:33:24 +08:00
Zexi Li
b1e5fa1fb5 Merge pull request #11228 from ioito/hotfix/qx-secgroup-typo
fix(region): translation errors
2021-05-27 19:49:52 +08:00
Zexi Li
7163831fe0 Merge pull request #11226 from tb365/bugfix/tb-bugfix-052601
fix(region): lb cert name fix
2021-05-27 19:45:21 +08:00
Zexi Li
88e6f8acb0 Merge pull request #11240 from zexi/hotfix/resuce-mode-migrate
fix(region): migrate use rescue mode
2021-05-27 19:43:27 +08:00
Zexi Li
2ff170229c Merge pull request #11242 from zexi/revert-raid-status
Revert "fix(host): raid status fix"
2021-05-27 19:42:37 +08:00
Zexi Li
54855736a6 Revert "fix(host): raid status fix"
This reverts commit 392f5ab237.
2021-05-27 19:39:39 +08:00
Zexi Li
67f4bc5bbc Merge pull request #11233 from zhaoxiangchun/feature/zxc-raid-plugin
fix(host): raid status fix
2021-05-27 19:36:13 +08:00
Zexi Li
72d779c1b9 fix(region): migrate use rescue mode 2021-05-27 19:32:46 +08:00
zhaoxiangchun
392f5ab237 fix(host): raid status fix
1. All status are online except offline.
2021-05-27 15:59:24 +08:00
Qu Xuan
d1c34a60c2 fix(region): optimized azure aliyun qcloud tags sync 2021-05-27 10:53:17 +08:00
Qu Xuan
314d664ff2 fix(region): translation errors 2021-05-27 10:46:16 +08:00
tb365
2252e1951a fix(region): lb cert name fix 2021-05-26 17:20:21 +08:00
Zexi Li
f5f3619f03 Merge pull request #11219 from ioito/hotfix/qx-kvm-local-disk
fix(host): avoid delete removed disk failed
2021-05-26 14:21:48 +08:00
Zexi Li
6c5bba7dd2 feat(baremetal): support management of none BMC host 2021-05-25 21:06:47 +08:00
Qu Xuan
352ceefedd fix(host): avoid delete removed disk failed 2021-05-25 20:59:57 +08:00
Zexi Li
39e5d51f6a Merge pull request #11201 from ioito/hotfix/qx-azure-deploy-failed
fix(region): show azure deploy failed error
2021-05-25 19:08:30 +08:00
Zexi Li
6ed30e7b9d Merge pull request #11212 from ioito/hotfix/qx-aws-tag
fix(region): aws vpc network eip disk tags sync
2021-05-25 19:07:43 +08:00
Qu Xuan
920369021d fix(region): aws vpc network eip disk tags sync 2021-05-25 17:43:11 +08:00
Zexi Li
932d194a85 Merge pull request #11166 from zexi/feat/migrate-forecast
feat(region): add server migration predication API
2021-05-25 17:03:27 +08:00
Qu Xuan
f8d58a4eda fix(region): show azure deploy failed error 2021-05-25 10:33:47 +08:00
Zexi Li
0333d41fb8 Merge pull request #11198 from ioito/hotfix/qx-project-mapping-with-account
fix(region): restrict account project mapping
2021-05-24 18:16:34 +08:00
Zexi Li
cb12ff21ab Merge pull request #11191 from ioito/hotfix/qx-azure-tags
fix(region): azure uniform tags
2021-05-24 17:23:08 +08:00
Zexi Li
ff7c514f55 feat(region): add server migration predication API 2021-05-24 17:00:32 +08:00
Qu Xuan
8907dd4e8a fix(region): restrict account project mapping 2021-05-24 16:46:00 +08:00
Qu Xuan
ef70a95da9 fix(region): azure uniform tags 2021-05-24 15:01:31 +08:00
Zexi Li
83ab0f5925 Merge pull request #11178 from ioito/hotfix/qx-project-mapping-rules
fix(region): add project and domain info for project mapping rules
2021-05-24 10:15:52 +08:00
Zexi Li
bf1bd9aade Merge pull request #11177 from tb365/bugfix/tb-bugfix-052101
feat(region): loadbalancer certificate add purge methods
2021-05-24 10:14:57 +08:00
Zexi Li
eb79c9f311 Merge pull request #11180 from ioito/hotfix/qx-guest-disks
fix(region): avoid only query one guest disk
2021-05-23 00:12:30 +08:00
TangBin
f119385596 fix(region): gofmt fix 2021-05-21 10:20:27 +08:00
Qu Xuan
e7502720ae fix(region): avoid only query one guest disk 2021-05-21 09:49:46 +08:00
Qu Xuan
9d6813cee6 fix(region): add project and domain info for project mapping rules 2021-05-20 20:39:27 +08:00
Qu Xuan
74f0d51aee fix(region): check sku request error 2021-05-20 20:00:12 +08:00
Zexi Li
66c37925d6 Merge pull request #11168 from ioito/hotfix/qx-storage-filter
fix(region): add host_id options for storage filter
2021-05-20 18:54:17 +08:00
Zexi Li
5321302a93 Merge pull request #11170 from ioito/hotfix/qx-aws-session-cache
fix(region): avoid aws session not assume role
2021-05-20 18:52:53 +08:00
Zexi Li
f609004a4d Merge pull request #11172 from zhaoxiangchun/feature/zxc-storage-monitor
fix(monitor): fix storage tag
2021-05-20 18:51:38 +08:00
zhaoxiangchun
391b8b5175 fix(monitor): fix storage tag 2021-05-20 17:23:40 +08:00
Qu Xuan
6456fa3af0 fix(region): avoid aws session not assume role 2021-05-20 16:40:54 +08:00
Qu Xuan
4fcbef3e7f fix(region): add host_id options for storage filter 2021-05-20 14:38:49 +08:00
Zexi Li
ffe5b989c2 Merge pull request #11025 from zhaoxiangchun/feature/zxc-storage-monitor
feat(monitor): add storage monitor metric
2021-05-20 09:53:45 +08:00
Zexi Li
5f75296b6e Merge pull request #11164 from zexi/fix/pr-template-typo
fix(github): PR template typo
2021-05-20 09:46:42 +08:00
Zexi Li
995eb229a3 fix(github): PR template typo 2021-05-20 09:45:21 +08:00
Zexi Li
650588bd2e Merge pull request #11160 from ioito/hotfix/qx-sku-sync-err
fix(region): check sku request error
2021-05-19 23:30:45 +08:00
Qu Xuan
b12c265877 fix(region): check sku request error 2021-05-19 19:25:35 +08:00
Zexi Li
552c240590 Merge pull request #11159 from zexi/update-github-template
feat(github): update github PR and issue template
2021-05-19 18:33:34 +08:00
Zexi Li
2b475685eb feat(github): update github PR and issue template 2021-05-19 18:33:08 +08:00
Zexi Li
8c446c28c9 Merge pull request #11154 from ioito/hotfix/qx-azure-secgroup
fix(region): avoid azure secgroup sync removed
2021-05-19 17:41:14 +08:00
Zexi Li
c66fa8353d Merge pull request #11152 from ioito/hotfix/qx-project-mapping-index
fix(region): avoid index out of range panic
2021-05-19 17:40:03 +08:00
Zexi Li
b1ff45e91f Merge pull request #11158 from zexi/fix/readme-deadlinks
fix(readme): remove deadlinks
2021-05-19 17:38:13 +08:00
Zexi Li
fc2088dee8 fix(readme): remove deadlinks 2021-05-19 17:35:06 +08:00
Qu Xuan
d83bc8477d fix(region): avoid azure secgroup sync removed 2021-05-19 15:56:34 +08:00
Qu Xuan
df26704b36 fix(region): avoid index out of range panic 2021-05-19 15:34:08 +08:00
Zexi Li
b64934e330 Merge pull request #11148 from rainzm/ansible/opt
feat(ansible): add rolePublic and timeout options
2021-05-19 15:23:23 +08:00
Zexi Li
28c897d76e Merge pull request #11146 from ioito/hotfix/qx-project-mapping-details
fix(region): more accounts details for project mapping
2021-05-19 15:23:10 +08:00
Zexi Li
93889d2a7b Merge pull request #11139 from tb365/bugfix/tb-bugfix-051801
fix(region): ctyun delete secgroup fix
2021-05-19 15:22:05 +08:00
rainzm
8b3e591cfc feat(ansible): add rolePublic and timeout options 2021-05-19 11:23:03 +08:00
Qu Xuan
a33179e76e fix(region): more accounts details for project mapping 2021-05-18 17:55:38 +08:00
Zexi Li
4c5c713b41 Merge pull request #11142 from zexi/fix/image-nonstandard-update
fix(glance): make image is_standard updatable
2021-05-18 17:18:19 +08:00
Zexi Li
d88af7a6f7 fix(glance): make image is_standard updatable 2021-05-18 16:40:26 +08:00
Zexi Li
3b249f2402 Merge pull request #11134 from ioito/hotfix/qx-azure-domain
fix(cloudid): clouduser use default domain
2021-05-18 15:56:26 +08:00
Qu Xuan
8bc0ad557f fix(cloudid): clouduser use default domain 2021-05-18 15:18:05 +08:00
TangBin
33b0517d4a fix(region): ctyun delete secgroup fix 2021-05-18 14:54:33 +08:00
Zexi Li
227509fdca Merge pull request #11126 from rainzm/is/create
fix(region): check whether the disks of the instance snapshot is empty when creating vm
2021-05-17 22:36:47 +08:00
Zexi Li
d8bb4b6b4e Merge pull request #11130 from ioito/hotfix/qx-swagger-api
fix(docs): update swagger api
2021-05-17 22:36:00 +08:00
Qu Xuan
23290092d7 fix(docs): update swagger api 2021-05-17 19:59:00 +08:00
rainzm
2d725011d3 fix(region): check whether the disks of the instance snapshot is empty when creating vm 2021-05-17 17:06:00 +08:00
Zexi Li
fef8c6ddf4 Merge pull request #11052 from ioito/hotfix/qx-guest-list-optimized
fix(region): optimzed guest disks
2021-05-17 10:09:52 +08:00
Zexi Li
645f3aa254 Merge pull request #11101 from ioito/hotfix/qx-sku-optimized
fix(region): optimized server sku sku
2021-05-17 10:08:11 +08:00
Zexi Li
c607ce3fcd Merge pull request #11116 from rainzm/webhook/fix
webhook fix
2021-05-17 10:07:23 +08:00
Zexi Li
496569ad9e Merge pull request #11107 from rainzm/esxi/copydisk
fix(esxiagent): make the copied disk type as thin
2021-05-17 10:06:57 +08:00
Zexi Li
1df401cacf Merge pull request #11121 from rainzm/esxi/deploy
fix(esxiagent): execute deploy operation by default in AgentDeployGuest
2021-05-17 10:06:03 +08:00
yunion-ci-robot
b3485c997f Merge pull request #11123 from ioito/hotfix/qx-project-mapping-optional
fix(region): project mapping optional
2021-05-16 16:07:58 +08:00
屈轩
0fbbe57e4a fix(region): project mapping optional 2021-05-16 14:07:40 +08:00
rainzm
b44a6a053a fix(esxiagent): execute deploy operation by default in AgentDeployGuest 2021-05-14 19:04:15 +08:00
Zexi Li
4d7fa332ac Merge pull request #11112 from tb365/bugfix/tb-bugfix-051401
fix(region): aws sync disk missing image id fix
2021-05-14 17:32:44 +08:00
rainzm
f3e3a94eda fix(region): send webhook when the creation task is completely completed 2021-05-14 17:06:00 +08:00
rainzm
4a83028f7e fix(region): send webhook notification when delete dbinstance 2021-05-14 16:46:26 +08:00
TangBin
7a861689ff fix(region): aws sync disk missing image id fix 2021-05-14 15:17:42 +08:00
rainzm
5d32571262 fix(esxiagent): make the copied disk type as thin
磁盘首选精简制备,但是copy disk默认是预分配,所以需要特别指定为
精简制备
2021-05-14 14:59:53 +08:00
Qu Xuan
ec45559d32 fix(region): optimized server sku sku 2021-05-13 20:55:28 +08:00
Zexi Li
a737ab7346 Merge pull request #11094 from tb365/bugfix/tb-bugfix-051301
fix(region): remove snapshots checking for huawei cloud while delete …
2021-05-13 20:28:56 +08:00
Zexi Li
f213fab8e4 Merge pull request #11097 from ioito/hotfix/qx-sku-update
fix(region): allow update sku status
2021-05-13 20:27:26 +08:00
Qu Xuan
d35206bf1c fix(region): allow update sku status 2021-05-13 19:44:51 +08:00
Zexi Li
eeffacaee0 Merge pull request #11032 from ioito/hotfix/qx-aliyun-vpc-endpoint
fix(region): aliyun vpc endpoint
2021-05-13 18:51:40 +08:00
Zexi Li
3bbfbd75aa Merge pull request #11053 from ioito/hotfix/qx-sku-sched-clear
fix(region): optimized sku sched clear
2021-05-13 18:49:21 +08:00
Zexi Li
40e1d4112a Merge pull request #11095 from rainzm/event/notify
fix(region): use the previous method for guest notification instead of message subscription
2021-05-13 18:48:28 +08:00
rainzm
f5008a4329 fix(region): use the previous method for guest notification instead of message subscription 2021-05-13 17:38:15 +08:00
TangBin
113ef352ce fix(region): remove snapshots checking for huawei cloud while delete server 2021-05-13 15:28:13 +08:00
yunion-ci-robot
ed6511471c Merge pull request #11050 from rainzm/nginx/test
fix(ansibleserver): correct playbook path and role path
2021-05-13 11:55:56 +08:00
Qu Xuan
65d52dbabb fix(region): optimized sku sched clear 2021-05-13 11:05:53 +08:00
Qu Xuan
7f37398ae4 fix(region): aliyun vpc endpoint 2021-05-12 16:26:33 +08:00
Qu Xuan
8c21558fe5 fix(region): optimzed guest disks 2021-05-12 16:22:04 +08:00
rainzm
cb410623d4 fix(ansibleserver): correct playbook path 2021-05-12 16:21:33 +08:00
zhaoxiangchun
8685e96198 feat(monitor): add storage monitor metric
1.增加块存储storage监控信息:
  1)增加对应翻译信息
  2)监控信息和modules.Strorages接口进行交集取值
  3)返回信息处理
2021-05-12 16:19:47 +08:00
Zexi Li
a1a32a91bb Merge pull request #11048 from zexi/fix/glance-s3-put-image
fix(glance): set fail status when upload image to s3
2021-05-12 15:15:54 +08:00
Zexi Li
48cfdd5ed3 fix(glance): set fail status when upload image to s3 2021-05-12 15:00:13 +08:00
Zexi Li
707722e3e5 Merge pull request #11046 from zexi/automated-cherry-pick-of-#11045-upstream-master
Automated cherry pick of #11045: fix(baremetal): register baremetal name invalid
2021-05-12 14:52:51 +08:00
Zexi Li
64878713ef fix(baremetal): register baremetal name invalid 2021-05-12 13:07:11 +08:00
Zexi Li
3d9d4aa349 Merge pull request #11043 from rainzm/webhook/compatible
maintain compatibility with previous webhooks
2021-05-12 12:19:34 +08:00
Zexi Li
5c10959639 Merge pull request #11030 from rainzm/vmware/remote_update
fix(region): add RequestRemoteUpdate for ESXiGuestDriver
2021-05-12 12:01:48 +08:00
rainzm
ff47f8177d fix(region): maintain compatibility with webhook notify 2021-05-12 10:35:27 +08:00
rainzm
a28ff0400a fix(cloudcommon): disable EventNotify for now
The front end is not yet open, temporarily disable it to avoid meaningless logic and requests
2021-05-12 10:34:41 +08:00
Zexi Li
b5213930b4 Merge pull request #11036 from ioito/hotfix/qx-aliyun-nas-endpoint
fix(region): aliyun nas endpoint
2021-05-12 10:23:50 +08:00
Zexi Li
66f017fd87 Merge pull request #11041 from swordqiu/hotfix/qj-climc-docker-build-fail
fix: resolve conflict of climc docker build
2021-05-12 09:34:28 +08:00
Qiu Jian
49807175fe fix: resolve conflict of climc docker build 2021-05-12 09:04:52 +08:00
Zexi Li
d8a671e60b Merge pull request #11039 from zexi/fix/climc-rpm
fix(climc): mv climc rpm package .bashrc to /etc/profile.d/climc.sh
2021-05-11 18:18:01 +08:00
Zexi Li
386b8e5c7f fix(climc): mv climc rpm package .bashrc to /etc/profile.d/climc.sh 2021-05-11 18:15:07 +08:00
Qu Xuan
b725729f0b fix(region): aliyun nas endpoint 2021-05-11 15:39:46 +08:00
rainzm
2c26b6fb3f fix(region): add RequestRemoteUpdate for ESXiGuestDriver 2021-05-11 11:38:18 +08:00
Zexi Li
7f1f68b57c Merge pull request #11010 from ioito/hotfix/qx-project-mapping
fix(region): support project mapping
2021-05-11 10:10:24 +08:00
Yousong Zhou
7bd835b8c8 Merge pull request #11023 from yousong/bugfix/yousong-cloudproxy
Bugfix/yousong cloudproxy
2021-05-11 09:52:58 +08:00
yunion-ci-robot
28e151ab34 Merge pull request #11027 from rainzm/lastseen/fix
fix for installing agent for vm
2021-05-11 09:51:54 +08:00
rainzm
9b7a33f432 fix(devtool): set 'task_id' and 'task_notify_url' in header 2021-05-10 19:54:11 +08:00
rainzm
09a9d4e493 fix(devtool): get 'lastseen' not 'last_seen' of forward 2021-05-10 18:53:17 +08:00
rainzm
f261db7ae8 feat(cloudproxy): add GetDetailsLastseen for forwards 2021-05-10 18:53:17 +08:00
Yousong Zhou
59f99c653a guests: sshable: fix breaking out from wait loop 2021-05-10 17:07:51 +08:00
Yousong Zhou
f6271885c1 cloudproxy: agent: no collision between ports of ssh conn and forwards 2021-05-10 17:07:51 +08:00
Qu Xuan
ff43472c61 fix(region): support project mapping 2021-05-10 16:13:29 +08:00
Yousong Zhou
a4d35457ca cloudproxy: agent: refresh every 11 seconds 2021-05-10 14:16:30 +08:00
Yousong Zhou
1457b37c7d cloudproxy: agent: ssh: wait ssh conn state while passing it out 2021-05-10 13:43:07 +08:00
Zexi Li
0319f28da6 Merge pull request #11011 from rainzm/pe/projectId
fix(cloudproxy): correct fetch projectId from server for PE
2021-05-10 12:07:49 +08:00
Zexi Li
5400c4ed03 Merge pull request #10996 from rainzm/snapshot/autosync
fix(region): continue to sync the snapshots that are being created when syncing auto created snapshot
2021-05-10 12:05:38 +08:00
Zexi Li
e5a87af6fd Merge pull request #11016 from swordqiu/hotfix/qj-cloud-shell-init-by-backends
fix: init cloud shell by apigateway
2021-05-10 12:02:39 +08:00
Zexi Li
5e9f028b14 Merge pull request #11013 from swordqiu/hotfix/qj-missing-yunionconf-log
fix: missing yunionconf log
2021-05-10 12:00:04 +08:00
Qiu Jian
ea6797c606 fix: init cloud shell by apigateway 2021-05-09 01:33:36 +08:00
rainzm
f906d15a5e fix(cloudproxy): correct fetch projectId from server for PE 2021-05-08 22:25:00 +08:00
Qiu Jian
740b3c94aa fix: missing yunionconf log 2021-05-08 21:49:36 +08:00
Zexi Li
cd9c7290d9 Merge pull request #11005 from zhaoxiangchun/bugfix/zxc-monitor
fix(monitor): alertpanel update don't chcek uniq name
2021-05-08 20:38:53 +08:00
Zexi Li
9576874b63 Merge pull request #11008 from yousong/feature/yousong-cloudproxy-pe-test
cloudproxy: test proxy endpoint connectivity and remote config
2021-05-08 20:38:33 +08:00
Yousong Zhou
cba91b54db cloudproxy: test proxy endpoint connectivity and remote config 2021-05-08 19:30:31 +08:00
zhaoxiangchun
ef607c52fa fix(monitor): alertpanel update don't chcek uniq name 2021-05-08 17:44:36 +08:00
zhaoxiangchun
6bb09d027b Merge branch 'master' of https://github.com/yunionio/onecloud into bugfix/zxc-monitor 2021-05-08 17:30:31 +08:00
Zexi Li
8f6141ac42 Merge pull request #10978 from zhaoxiangchun/feature/zxc-agent-metirc
feat(monitor): add agent monitor metric
2021-05-08 17:27:01 +08:00
Zexi Li
6087a08de5 Merge pull request #10983 from zhaoxiangchun/bugfix/zxc-monitor
fix(monitor): monitor query : cloudaccount no data fix
2021-05-08 17:25:26 +08:00
Zexi Li
2fdacf53db Merge pull request #11000 from ioito/hotfix/qx-classic-network-sql
fix(region): wire sql fix
2021-05-08 16:09:59 +08:00
Qu Xuan
e2efeece3d fix(region): wire sql fix 2021-05-08 15:48:25 +08:00
zhaoxiangchun
c4d3ef6bd2 Merge branch 'master' into bugfix/zxc-monitor 2021-05-08 15:31:31 +08:00
zhaoxiangchun
2703c0c460 Merge branch 'master' into feature/zxc-agent-metirc 2021-05-08 15:30:33 +08:00
rainzm
a966210432 fix(region): continue to sync the snapshots that are being created when syncing auto created snapshot 2021-05-08 11:04:21 +08:00
Zexi Li
074c68f251 Merge pull request #10985 from ioito/hotfix/qx-azure-databricks
fix: add tag for databricks vm
2021-05-08 10:36:07 +08:00
Zexi Li
2887c9a5ca Merge pull request #10988 from ioito/hotfix/qx-empty-result
fix: avoid return no data result
2021-05-08 10:35:22 +08:00
yunion-ci-robot
32ac58aa68 Merge pull request #10990 from rainzm/agent/install
fix for install monitor agent
2021-05-08 10:31:40 +08:00
yunion-ci-robot
413c01f1c6 Merge pull request #10993 from yousong/bugfix/yousong-cloudproxy-wait-on-error
Bugfix/yousong cloudproxy wait on error
2021-05-08 10:29:40 +08:00
zhaoxiangchun
4c932ee961 feat(monitor): add agent monitor metric
1.增加对agent采集数据的翻译
2021-05-08 09:45:33 +08:00
Qu Xuan
12b72a6e10 fix: add tag for databricks vm 2021-05-08 09:28:00 +08:00
Yousong Zhou
ce98d7dd13 guests: sshable: wait and retry for newly created forward 2021-05-07 19:40:01 +08:00
Yousong Zhou
1c18dbb7d9 guests: sshable: log error should unmarshal fail 2021-05-07 19:28:56 +08:00
Yousong Zhou
1a93f26dd0 cloudproxy: agent: more verbose log for ssh connect failure 2021-05-07 19:28:56 +08:00
Yousong Zhou
d5f1627872 cloudproxy: agent: wait a while on connect error 2021-05-07 19:28:56 +08:00
Yousong Zhou
532961f520 cloudproxy: forwards: show details for fwd returned from create-from-server 2021-05-07 19:28:56 +08:00
Yousong Zhou
627ea8ccc9 db: add GetItemDetails 2021-05-07 19:28:56 +08:00
rainzm
13768a053a fix: update version of file-repo 2021-05-07 18:31:06 +08:00
rainzm
c6ae4706d7 fix(devtool): wait for the remote forward to run normally 2021-05-07 18:29:54 +08:00
rainzm
314ac5ac49 fix(devtool): extend the waiting time when checking remote forward 2021-05-07 18:28:38 +08:00
rainzm
33bdc9d2f2 fix(devtool): add scope=system query when list proxy endpoints 2021-05-07 18:27:35 +08:00
rainzm
489ddc90f7 fix(devtool): correct output error 2021-05-07 18:26:11 +08:00
Qu Xuan
298179baa7 fix: avoid return no data result 2021-05-07 17:34:42 +08:00
zhaoxiangchun
ddfd563ec2 Merge branch 'master' of https://github.com/yunionio/onecloud into bugfix/zxc-monitor 2021-05-07 17:10:01 +08:00
yunion-ci-robot
62f38187b1 Merge pull request #10979 from rainzm/cloudproxy/fix
fix for creating proxy endpoint
2021-05-07 14:30:41 +08:00
Zexi Li
d2d4296bc6 Merge pull request #10981 from zexi/feat/host-list-order
feat(region): host list order by server count
2021-05-07 10:34:24 +08:00
zhaoxiangchun
f0eb80a2ae fix(monitor): monitor query : cloudaccount no data fix
1.修复云账号余额监控查询无数据返回
2021-05-07 09:39:21 +08:00
Zexi Li
ac491f4f58 feat(region): host list order by server count 2021-05-06 20:53:04 +08:00
rainzm
0e77703c76 fix(region): allow domain admin to obtain ssh private keys 2021-05-06 16:38:24 +08:00
rainzm
51e75c48f8 fix(cloudproxy): keep the proxy endpoint project and server consistent 2021-05-06 16:33:52 +08:00
yunion-ci-robot
67f6aa11a5 Merge pull request #10975 from zhasm/feature/rex-disable-rbdcli-for-arm
feat(arm64,build): arm 编译时,不编译 rbdcli
2021-05-06 15:12:39 +08:00
Zhang Dongliang
a54becaf2e feat(arm64,build): arm 编译时,不编译 rbdcli 2021-05-06 11:44:57 +08:00
Zexi Li
668f200f25 Merge pull request #10972 from rainzm/receiver/join_domain
fix(notify): correctly filter those recipients who join the domain
2021-04-30 09:58:56 +08:00
rainzm
5a39fc18c0 fix(notify): correctly filter those recipients who join the domain 2021-04-29 20:12:14 +08:00
Zexi Li
c26ef9108d Merge pull request #10964 from tb365/bugfix/tb-bugfix-042801
Bugfix/tb bugfix 042801
2021-04-29 09:46:42 +08:00
Zexi Li
016e1f6037 Merge pull request #10967 from ioito/hotfix/qx-keystone-logclient-panic
fix(keystone): avoid panic when call logclient
2021-04-29 09:46:10 +08:00
Qu Xuan
4ba014cf5c fix(keystone): avoid panic when call logclient 2021-04-28 19:32:23 +08:00
TangBin
d4255d71e0 feat(region): add zone disk capability api 2021-04-28 18:09:09 +08:00
TangBin
65b597566b feat(region): cloudregion add disk capability api 2021-04-28 16:42:25 +08:00
yunion-ci-robot
9184fb26b8 Merge pull request #10956 from ioito/hotfix/qx-host-worker-lock
fix: avoid host worker is locked when image cache is deleted
2021-04-28 09:56:28 +08:00
yunion-ci-robot
e422244e1c Merge pull request #10940 from swordqiu/hotfix/qj-import-user-require-password
Hotfix/qj import user require password
2021-04-28 09:54:27 +08:00
Qiu Jian
896596731a fix: require password for imported user 2021-04-28 01:11:56 +08:00
Qu Xuan
b13cdefb72 fix: avoid host worker is locked when image cache is deleted 2021-04-27 20:37:06 +08:00
Zexi Li
4cd56ff66d Merge pull request #10932 from rainzm/sshable/fix
Correctly execute the ansible playbook with the specified private key
2021-04-27 20:12:42 +08:00
Zexi Li
ae59a669ab Merge pull request #10954 from zhaoxiangchun/bugfix/zxc-dashboard
fix(monitor): alertdashboard setscope
2021-04-27 20:12:10 +08:00
Zexi Li
f96d5ff17c Merge pull request #10952 from ioito/hotfix/qx-storage-optimized
fix: optimized rbd storage input and update
2021-04-27 20:11:44 +08:00
Zexi Li
3c15efc7de Merge pull request #10948 from rainzm/agent/fix
Makes the process of installing the agent more rigorous
2021-04-27 20:10:49 +08:00
Zexi Li
d0928e1de0 Merge pull request #10941 from zexi/fix/migrate-from-source-host
fix(region): download cached image from source host before migrating
2021-04-27 20:09:18 +08:00
Zexi Li
4be6772544 Merge pull request #10944 from ioito/hotfix/qx-metadata-ci
fix(region): tag list key case insensitive
2021-04-27 17:21:03 +08:00
Zexi Li
3a6e7f55ab fix(region): download cached image from source host before migrating 2021-04-27 17:13:30 +08:00
zhaoxiangchun
d62467097d fix(monitor): alertdashboard setscope
1.监控面板归属展示问题修复
2021-04-27 17:09:55 +08:00
Qu Xuan
f83b8b0436 fix: optimized rbd storage input and update 2021-04-27 15:42:34 +08:00
rainzm
fd458a6030 feat(devtool): makes the process of installing the agent more rigorous
1. Use the method returned by server sshable to execute ansible playbook
2. Use direct connection and cloud proxy to find the url that the remote machine
can send data back to local influxdb
2021-04-27 11:58:34 +08:00
Qu Xuan
3e3e9b7cf2 fix(region): tag list key case insensitive 2021-04-27 11:54:10 +08:00
Zexi Li
5788704501 Merge pull request #10937 from swordqiu/hotfix/qj-baremetal-missing-cloudroot
fix(baremetal,esxiagent): no cloudroot user initialized
2021-04-27 10:17:14 +08:00
Zexi Li
20a893d504 Merge pull request #10934 from swordqiu/hotfix/qj-any-pool-usage-key
fix(region): add all.servers.any_pool/all.hosts.any_pool metrics
2021-04-27 10:16:18 +08:00
Qiu Jian
952cc03ae6 fix(baremetal,esxiagent): no cloudroot user initialized 2021-04-27 01:58:35 +08:00
Qiu Jian
86c282c0a4 fix(region): add all.servers.any_pool/all.hosts.any_pool metrics 2021-04-27 01:47:21 +08:00
rainzm
67d7c571f2 fix(ansibleserver): be compatible with empty params 2021-04-26 19:26:04 +08:00
rainzm
9a651dad3f feat(region): return forwardDetails when query server sshable 2021-04-26 19:25:18 +08:00
Zexi Li
5c5023184c Merge pull request #10922 from ioito/hotfix/qx-keystone-tag-list
fix(keystone): tag list for keystone service
2021-04-26 19:10:46 +08:00
Zexi Li
9085799c32 Merge pull request #10926 from zhaoxiangchun/bugfix/zxc-dashboard
fix(monitor): alertpanel create fix; nodealert filterbyowner fix
2021-04-26 19:09:08 +08:00
Zexi Li
55df3a1450 Merge pull request #10928 from ioito/hotfix/qx-account-arrears
fix(region): account arrears
2021-04-26 19:08:09 +08:00
rainzm
0d1f54bab1 fix(ansibleserver): add LF for privateKey if not 2021-04-26 18:56:46 +08:00
rainzm
0894df5e14 feat(ansibleserver): respect keepTmpdir when running ansibleplaybook v1 2021-04-26 18:56:08 +08:00
rainzm
cad24302d8 fix(ansibleserver): don't init privateKey for ansibleplaybook if it already have one 2021-04-26 18:53:07 +08:00
Qu Xuan
f233311ccf fix(region): account arrears 2021-04-26 17:56:05 +08:00
zhaoxiangchun
3a10cd66b7 fix(monitor): alertpanel create fix; nodealert filterbyowner fix
1.监控图表保存时取消重名检测,允许图表重名
2.虚拟机详情页设置报警时,不同视图下设置报警权限调整

https://bug.yunion.io/zentao/bug-view-7063.html
2021-04-26 16:16:30 +08:00
Qu Xuan
acad675555 fix(region): sync multi region resource at same time 2021-04-26 14:47:07 +08:00
Qu Xuan
ad68cfbeb3 fix(keystone): tag list for keystone service 2021-04-26 11:39:29 +08:00
Zexi Li
a08e5c8f41 Merge pull request #10903 from rainzm/devtool/server_metadata
feat(region): set metadata for guest with agent installed
2021-04-26 11:39:10 +08:00
Zexi Li
ebfebe7c26 Merge pull request #10920 from ioito/hotfix/qx-set-tags
fix(region): avoid set multi resources tags failed
2021-04-26 11:38:47 +08:00
Zexi Li
527f5c498c Merge pull request #9933 from ioito/hotfix/qx-task-info-dump
fix(common): dump task info when stucking
2021-04-26 11:38:24 +08:00
Zexi Li
d3b337b418 Merge pull request #8016 from ioito/optimized/cloud-resource-sync
fix: 优化同步,避免长时间加锁
2021-04-26 11:38:11 +08:00
Qu Xuan
7b845d17c7 fix(common): dump task info when stucking 2021-04-26 10:45:38 +08:00
Qu Xuan
ea8638b0cd fix(region): avoid set multi resources tags failed 2021-04-25 18:04:54 +08:00
yunion-ci-robot
ecae338a49 Merge pull request #10911 from tb365/bugfix/tb-bugfix-042301
fix ssh proxy endpoint&match query
2021-04-25 17:23:53 +08:00
yunion-ci-robot
03066fed94 Merge pull request #10913 from yousong/bugfix/yousong-vpc-vm-backup
hostman: ovn: do not set external_ids:iface-id for backup
2021-04-25 12:03:54 +08:00
TangBin
62f9243ba2 fix(cloudproxy): ssh proxy endpoint&match query 2021-04-23 19:38:34 +08:00
ioito
f9f0c8f3cb fix: 优化同步,避免长时间加锁 2021-04-23 18:55:02 +08:00
yunion-ci-robot
66587cfb6e Merge pull request #10906 from rainzm/syncprovider/localtask
fix(region): use special localtask to run time-consuming provider synchronization task
2021-04-23 17:38:51 +08:00
Yousong Zhou
db89640dfe hostman: ovn: do not set external_ids:iface-id for backup 2021-04-23 17:17:30 +08:00
rainzm
520fae50a6 fix(region): use special localtask to run time-consuming provider synchronization task
CloudProviderSyncInfoTask will local cloudprovider. Make locaktask run
time-consuming task can avoid holding locks for a long time.
2021-04-23 17:01:12 +08:00
rainzm
e20fd94b54 feat(region): set metadata for guest with agent installed 2021-04-23 11:00:14 +08:00
yunion-ci-robot
d62d6704a4 Merge pull request #10901 from yousong/feature/yousong-cloudproxy
cloudproxy: proxy_endpoints: create-from-server: allow name as arg
2021-04-23 09:48:51 +08:00
Zexi Li
55500a2797 Merge pull request #10893 from rainzm/spcache/delete
fix(region): allow owner to operate snapshotpolicy cache
2021-04-22 21:09:31 +08:00
Zexi Li
a2eaf04932 Merge pull request #10897 from rainzm/stask/ijoint
fix(region): make SScheduledTaskLabel implement IJointModelManager
2021-04-22 21:08:11 +08:00
Yousong Zhou
675fe334ff cloudproxy: proxy_endpoints: create-from-server: allow name as arg 2021-04-22 20:45:30 +08:00
Zexi Li
1e55efeeec Merge pull request #10891 from zhaoxiangchun/feature/zxc-ecloud-monitor
feat(suggestion,mcclient): add suggestsysalert-delete climc
2021-04-22 20:25:21 +08:00
rainzm
bc9264b1c3 fix(region): make SScheduledTaskLabel implement IJointModelManager 2021-04-22 18:14:11 +08:00
rainzm
1eb493b111 fix(region): allow owner to operate snapshotpolicy cache 2021-04-22 17:37:38 +08:00
zhaoxiangchun
28858d9470 feat(suggestion,mcclient): add suggestsysalert-delete climc 2021-04-22 16:56:55 +08:00
Zexi Li
88a8a65887 Merge pull request #10885 from rainzm/notify/fix_admin_update
fix(region): admin update without verification
2021-04-22 16:55:30 +08:00
Zexi Li
e8d2debe4d Merge pull request #10888 from ioito/hotfix/qx-task-ctx
fix(region): avoid panic when sync resources
2021-04-22 16:52:34 +08:00
Zexi Li
8ffc02eea9 Merge pull request #10882 from ioito/hotfix/qx-lock-debug-info
fix(common): add debug info for lock
2021-04-22 16:51:06 +08:00
Qu Xuan
568687c436 fix(region): avoid panic when sync resources 2021-04-22 16:23:01 +08:00
Qu Xuan
5edf37c549 fix(common): add debug info for lock 2021-04-22 16:09:32 +08:00
rainzm
38debd3865 fix(region): admin update without verification 2021-04-22 11:42:54 +08:00
Zexi Li
56c3b704fc Merge pull request #10867 from ioito/hotfix/qx-vpc-wire
fix(region): avoid network create failed when vpc is ok but wire not sync
2021-04-22 10:24:10 +08:00
Zexi Li
ca16403467 Merge pull request #10878 from ioito/hotfix/qx-lb-params-missing
fix(region): add egress_mbps params for lb
2021-04-22 10:23:23 +08:00
Zexi Li
7310543908 Merge pull request #10876 from zexi/fix/glance-image-remove
fix(glance): image can't removed when size is 0
2021-04-21 22:40:46 +08:00
Qu Xuan
dd427a0146 fix(region): add egress_mbps params for lb 2021-04-21 21:44:18 +08:00
Zexi Li
35ad91f705 fix(glance): image can't removed when size is 0 2021-04-21 20:57:15 +08:00
yunion-ci-robot
d9c2463b9d Merge pull request #10863 from rainzm/region/sync_provider
fix(region): make cloudprovider sync worker configurable
2021-04-21 15:30:52 +08:00
Qu Xuan
63a2faea7d fix(region): avoid network create failed when vpc is ok but wire not sync 2021-04-21 14:50:05 +08:00
rainzm
10793b9859 fix(region): make cloudprovider sync worker configurable
这个参数意味着,同时允许多少个 provider 来把自己同步的 region 任务放进后
面的队列。
进一步说,配置数量之外的 provider 必须等待前面的 provider 同步完所有的 region
之后,才有机会开始同步自己的region。
此限制的必要性不高,所以默认值设置比较大,为"10"。
2021-04-21 12:14:44 +08:00
yunion-ci-robot
09c3527fa7 Merge pull request #10709 from ioito/hotfix/qx-secrule-sync-fix
Hotfix/qx secrule sync fix
2021-04-21 11:29:51 +08:00
Zexi Li
35e6abd7f9 Merge pull request #10834 from zexi/automated-cherry-pick-of-#10833-upstream-master
Automated cherry pick of #10833: fix(region): fetch cached image from glance by default
2021-04-21 11:19:10 +08:00
Zexi Li
350fbc3c73 Merge pull request #10855 from swordqiu/hotfix/qj-ipmi-probe-reset-link-up-state
fix(baremetal): baremetal ipmi probe reset link up state
2021-04-21 10:12:33 +08:00
yunion-ci-robot
fd75e5611f Merge pull request #10849 from yousong/feature/yousong-zombie
Feature/yousong zombie
2021-04-21 10:11:50 +08:00
Zexi Li
32ec7f68b1 Merge pull request #10851 from rainzm/syncaccount/localtask
fix(region): avoid using LocalTaskWorker in time-consuming synchronization of cloudaccount
2021-04-21 10:09:28 +08:00
Yousong Zhou
3a18af8d72 treewide: wait possible zombies 2021-04-20 22:01:02 +08:00
Qiu Jian
55cfb0ba45 fix(baremetal): baremetal ipmi probe reset link up state 2021-04-20 21:36:13 +08:00
Zexi Li
e5d94d3b17 Merge pull request #10845 from ioito/hotfix/qx-vm-account-name
fix(region): optimized vm account name code
2021-04-20 20:15:07 +08:00
rainzm
ea790cc82b fix(region): avoid using LocalTaskworker in time-consuming synchronization of cloudaccount 2021-04-20 19:57:38 +08:00
Yousong Zhou
709ddccc2f procutils: WaitZombieLoop: remove unneeded info request 2021-04-20 19:27:24 +08:00
Yousong Zhou
f970e22b97 procutils: WaitZombieLoop: less verbose iota 2021-04-20 19:27:24 +08:00
Yousong Zhou
26013e66bf procutils: WaitZombieLoop: use const str "1" for my pid 2021-04-20 19:27:24 +08:00
Yousong Zhou
a1044c1afc procutils: add WaitZombieLoop 2021-04-20 19:27:24 +08:00
Zexi Li
519997fd52 Merge pull request #10839 from ioito/hotfix/qx-aliyun-vswitch-sync
fix(region): avoid panic when sync aliyun networks
2021-04-20 18:51:10 +08:00
Zexi Li
1a37eaadcb Merge pull request #10838 from rainzm/ansibleserver/file_repo
feat(ansibleserver): update file_reop version in dockerfile
2021-04-20 18:50:11 +08:00
Zexi Li
cde29f7d3b Merge pull request #10829 from ioito/hotfix/qx-order-by-disk
fix(region): vm list order by disk size
2021-04-20 18:49:17 +08:00
Zexi Li
49c9c6b70a Merge pull request #10817 from rainzm/vmware/image_sync
fix(esxi): prevent fake template and real template from duplication
2021-04-20 18:45:42 +08:00
Qu Xuan
45667bffea fix(region): optimized vm account name code 2021-04-20 18:25:56 +08:00
Qu Xuan
3f485c7c31 fix(region): avoid panic when sync aliyun networks 2021-04-20 17:53:28 +08:00
Zexi Li
c3cad7ef01 fix(region): fetch cached image from glance by default 2021-04-20 17:51:57 +08:00
rainzm
ac06c8fb19 feat(ansibleserver): update file_reop version in dockerfile 2021-04-20 17:47:44 +08:00
Zexi Li
9411cfebd0 Merge pull request #10825 from ioito/hotfix/qx-pre-allocate-ip
fix(region): avoid assign vm ip addr not effect
2021-04-20 17:15:39 +08:00
Zexi Li
3d58162d97 Merge pull request #10822 from rainzm/ecloud/snapshots
feat(multicloud): add snapshots list for ecloud
2021-04-20 17:14:48 +08:00
Qu Xuan
add10f340e fix(region): vm list order by disk size 2021-04-20 16:51:59 +08:00
Qu Xuan
44a48fef6e fix(region): avoid assign vm ip addr not effect 2021-04-20 16:29:14 +08:00
Qu Xuan
7aa9bda8e1 fix(region): optimized peer secgroup 2021-04-20 15:23:14 +08:00
rainzm
85c761e021 feat(multicloud): add snapshots list for ecloud 2021-04-20 11:52:25 +08:00
Zexi Li
1c88efdf85 Merge pull request #10794 from rainzm/devtool/script
Devtool script optimization and fix
2021-04-20 10:45:05 +08:00
rainzm
ca0f88877e fix(esxi): prevent fake template and real template from duplication 2021-04-20 10:25:07 +08:00
rainzm
d7224cd064 feat(region): increase the log for debugging when syncing cloudimage 2021-04-20 10:24:18 +08:00
Zexi Li
93ce4b3dbd Merge pull request #10811 from ioito/hotfix/qx-nas-wait-time
fix(region): wait more time for creating nas
2021-04-19 21:08:05 +08:00
Zexi Li
313d812431 Merge pull request #10810 from rainzm/ecloud/vpc
fix(multicloud): set isEmulated as false for ecloud vpc
2021-04-19 21:06:27 +08:00
Zexi Li
f56c585072 Merge pull request #10804 from ioito/hotfix/qx-mt-ag-policy
fix: owner id fix
2021-04-19 21:05:23 +08:00
Zexi Li
fd7bf98aab Merge pull request #10796 from ioito/hotfix/qx-aliyun-tag-region
fix: add region id params
2021-04-19 21:05:00 +08:00
Qu Xuan
a6ef9b66f6 fix(region): wait more time for creating nas 2021-04-19 19:59:00 +08:00
rainzm
2d04115ab5 fix(multicloud): set isEmulated as false for ecloud vpc 2021-04-19 18:59:24 +08:00
Zexi Li
b3fb82b343 Merge pull request #10806 from ioito/hotfix/qx-aliyun-nas-access-group
fix: ignore aliyun region not supported error
2021-04-19 18:50:26 +08:00
Zexi Li
38939c44d6 Merge pull request #10808 from ioito/hotfix/qx-public-ip-convert
fix(region): convert eip with same project with vm
2021-04-19 18:49:43 +08:00
Qu Xuan
1f2099ac01 fix(region): nas owner id fix 2021-04-19 18:00:16 +08:00
Qu Xuan
7df3891a9e fix(region): convert eip with same project with vm 2021-04-19 17:53:26 +08:00
Zexi Li
9c8a318c5a Merge pull request #10776 from tb365/bugfix/tb-bugfix-041601
fix(region): qcloud redis sync fix
2021-04-19 16:18:12 +08:00
Qu Xuan
c85d4ac719 fix(region): ignore aliyun region not supported error 2021-04-19 16:08:48 +08:00
tangbin
7c56f4fbb3 fix(region): qcloud redis sync fix 2021-04-19 15:12:56 +08:00
Zexi Li
c8f24759b7 Merge pull request #10777 from ioito/hotfix/qx-vm-private-ip-pre-allocate
fix: add options for pre allow ip add
2021-04-19 14:54:41 +08:00
Qu Xuan
8de1b3c69f fix: add region id params 2021-04-19 14:14:02 +08:00
Zexi Li
3a32a4a223 Merge pull request #10790 from ioito/hotfix/qx-panic-vpc-peer
fix: avoid panic
2021-04-19 13:15:57 +08:00
Zexi Li
37ef7a2e16 Merge pull request #10786 from yousong/bugfix/yousong-cloudproxy
cloudproxy: agent: return when ctx is Done
2021-04-19 13:15:20 +08:00
Zexi Li
e251e8bf47 Merge pull request #10793 from ioito/hotfix/qx-loss-of-log
avoid log loss when token expired fix #10738
2021-04-19 11:26:11 +08:00
Qu Xuan
05716c7d7a avoid log loss when token expired fix #10738 2021-04-19 11:15:00 +08:00
rainzm
9b994792ec fix(devtool): fix a bug that may trigger panic 2021-04-19 11:12:25 +08:00
rainzm
f246e66790 feat(devtool): add ScriptApplyId fro ScriptApplyRecord 2021-04-19 11:11:31 +08:00
Qu Xuan
ab2fc8feb9 fix: avoid panic 2021-04-19 10:40:07 +08:00
Yousong Zhou
cd14aa1118 cloudproxy: agent: return when ctx is Done 2021-04-19 10:38:07 +08:00
Zexi Li
eb299119e3 Merge pull request #10784 from yousong/bugfix/yousong-cloudproxy
cloudproxy: agent: avoid stallment caused by client timeout
2021-04-17 21:14:15 +08:00
Yousong Zhou
bd21223573 cloudproxy: agent: avoid stallment caused by client timeout 2021-04-16 19:42:24 +08:00
Qu Xuan
5be136c9ca fix: add options for pre allow ip add 2021-04-16 17:02:09 +08:00
Zexi Li
368a0c9fd1 Merge pull request #10774 from yousong/bugfix/yousong-make-sshable
region: guests: sshable: more compact make-sshable-cmd
2021-04-16 16:53:39 +08:00
Yousong Zhou
5b2fe2100c region: guests: sshable: more compact make-sshable-cmd 2021-04-16 16:27:46 +08:00
Zexi Li
b7935f6df7 Merge pull request #10727 from zhaoxiangchun/feature/zxc-ecloud-monitor
feat(region): add ecloud monitor metric
2021-04-16 16:01:31 +08:00
Zexi Li
557ef5c9eb Merge pull request #10771 from ioito/hotfix/qx-rbdcli
fix: add rbdcli commond for debug
2021-04-16 15:59:35 +08:00
Qu Xuan
8a26d54a99 fix: add rbdcli commond for debug 2021-04-16 15:27:58 +08:00
yunion-ci-robot
57c73fe0b4 Merge pull request #10713 from yousong/feature/yousong-make-sshable
Feature/yousong make sshable
2021-04-16 13:16:48 +08:00
Zexi Li
bb9ab80ad6 Merge pull request #10765 from yousong/bugfix/yousong-ansibleserver-wait-zombie
ansibleserver: wait zombie subprocesses
2021-04-16 13:15:17 +08:00
Zexi Li
ec70ecc5b9 Merge pull request #10750 from yousong/bugfix/yousong-vpc-acl
vpcagent: ovn: fix port match condition formation
2021-04-16 10:07:01 +08:00
Zexi Li
9522566cfa Merge pull request #10761 from rainzm/esxi/sync_network
fix(region): Remind that cloud account synchronization failed due to network synchronization failure
2021-04-16 10:06:26 +08:00
Zexi Li
c02779ec26 Merge pull request #10757 from rainzm/ecloud/validate_fix
Validate creating cloud account data about ecloud
2021-04-16 10:06:15 +08:00
Zexi Li
a4fac4beaf Merge pull request #10763 from rainzm/instancesnapshot/purge
fix(region): purge instancesnapshot when purging guest
2021-04-16 10:02:37 +08:00
Yousong Zhou
89b4f6e9f6 ansibleserver: wait zombie subprocesses 2021-04-16 09:46:28 +08:00
rainzm
a80fdaaddf fix(region): purge instancesnapshot when purging guest
fix #10760
2021-04-15 18:58:39 +08:00
rainzm
f8a37d9419 fix(region): Remind that cloud account synchronization failed due to network synchronization failure 2021-04-15 18:32:18 +08:00
zhaoxiangchun
4365c28ae0 feat(region): add ecloud monitor metric 2021-04-15 18:11:18 +08:00
Yousong Zhou
1e330e8f3c climc: add commands server-make-sshable, server-make-sshable-cmd 2021-04-15 16:41:40 +08:00
Yousong Zhou
264c58073e region: guests: sshable: add GET /servers/<server-id>/make-sshable-cmd 2021-04-15 16:41:40 +08:00
Yousong Zhou
b090a63c3b region: guests: sshable: add POST /servers/<server-id>/make-sshable 2021-04-15 16:41:39 +08:00
rainzm
ee834af5b5 fix(region): remove useless Environment 2021-04-15 16:39:25 +08:00
rainzm
a417344820 fix(region): try to connect when new a SEcloudClient 2021-04-15 16:38:12 +08:00
Yousong Zhou
cba83b48a8 region: guests: sshable: add field sshable_last_state 2021-04-15 16:38:05 +08:00
Yousong Zhou
98489ca038 region: guests: sshable: refactor for reusability 2021-04-15 16:38:05 +08:00
Yousong Zhou
cc7ffd707a regions: lbagents: move pb update/create as mcclient module method 2021-04-15 16:38:04 +08:00
Yousong Zhou
de402bcf2d build: ansibleserver: use ansibleserver-base:v1.0.3 2021-04-15 16:38:04 +08:00
Yousong Zhou
a0d066ab06 build: ansibleserver-base: v1.0.3: add sshpass
Required for using ansible with ansible_password
2021-04-15 16:38:04 +08:00
Yousong Zhou
c800b240d4 vpcagent: ovn: fix port match condition formation 2021-04-15 16:05:55 +08:00
Zexi Li
453c4cb99f Merge pull request #10746 from ioito/hotfix/qx-wire-status
fix wire status close #10737
2021-04-15 15:05:45 +08:00
Qu Xuan
be0117dd71 fix wire status close #10737 2021-04-15 14:45:10 +08:00
Zexi Li
c69132410c Merge pull request #10723 from ioito/hotfix/qx-aliyun-lb-charge
fix: aliyun lb charge type
2021-04-15 12:41:59 +08:00
Zexi Li
56e5481e93 Merge pull request #10729 from rainzm/esxi/imagePath
fix(esxi): correctly set the imagePath outside the if block
2021-04-15 12:40:57 +08:00
Zexi Li
625118057f Update feature_request.md 2021-04-15 12:35:02 +08:00
Zexi Li
0424ad704e Merge pull request #10734 from zexi/fix/os-arch-consts
fix(cloudcommon): unify OS_ARCH constants
2021-04-15 12:21:34 +08:00
Zexi Li
6aa8aa269f Update bug_report.md 2021-04-15 11:13:15 +08:00
Zexi Li
e82a3deb7e fix(cloudcommon): unify OS_ARCH constants 2021-04-15 10:52:34 +08:00
rainzm
1d732e913f fix(esxi): correctly set the imagePath outside the if block 2021-04-14 18:58:07 +08:00
Qu Xuan
7c4e4645bf fix: aliyun lb charge type 2021-04-14 17:59:11 +08:00
yunion-ci-robot
9468493156 Merge pull request #10718 from zexi/fix/baremetal-cmd-timeout
fix(baremetal): use command timeout context replace timeout command
2021-04-14 17:41:47 +08:00
Zexi Li
7741bee778 Merge pull request #10716 from ioito/hotfix/qx-nas-misc-fix
fix: nas misc
2021-04-14 17:28:50 +08:00
Zexi Li
532ee005da Merge pull request #10714 from ioito/hotfix/qx-opentack-cloudprovider-health-status
fix: openstack health should be normal
2021-04-14 17:23:49 +08:00
Zexi Li
0bb78f1b4c fix(baremetal): use command timeout context replace timeout command 2021-04-14 17:13:41 +08:00
Qu Xuan
e35c1d48b8 fix: nas misc 2021-04-14 17:06:21 +08:00
Zexi Li
1e3e541e1c Merge pull request #10710 from zexi/fix/decouple-region-etcd
fix(region): decouple region and etcd service
2021-04-14 16:58:42 +08:00
Qu Xuan
5ab3d3ab2b fix: openstack health should be normal 2021-04-14 14:22:55 +08:00
Zexi Li
8dbc2213f1 fix(region): decouple region and etcd service 2021-04-13 18:32:08 +08:00
Zexi Li
cd68b296e0 Merge pull request #10705 from rainzm/rbac/GetModelProperty
fix(cloudcommon): use rbac authentication dedicated to the list interface in GetModelProperty
2021-04-13 16:55:52 +08:00
Zexi Li
94e39f0d3a Merge pull request #10702 from zexi/fix/vm-ext4-fmt
fix(host-deployer): mkfs.ext4 add '-T largefile' option
2021-04-13 15:44:22 +08:00
rainzm
ed6f183db6 fix(cloudcommon): use rbac authentication dedicated to the list interface in GetModelProperty 2021-04-13 14:40:08 +08:00
Zexi Li
7a58f98fe8 Merge pull request #10669 from yousong/bugfix/yousong-sshable
region: guests: sshable: more friendly fail reason for proxy_forward
2021-04-13 11:44:34 +08:00
Zexi Li
97bb297ecd Merge pull request #10695 from rainzm/cloudaccount/update
feat(region): allow to update account with provider vmware
2021-04-13 10:25:39 +08:00
Zexi Li
dccea8d3ec Merge pull request #10699 from zexi/feature/fetchfs-pkg
feat(fetcherfs): make rpm and deb package
2021-04-13 10:24:56 +08:00
Zexi Li
768ab3036f fix(host-deployer): mkfs.ext4 add '-T largefile' option 2021-04-12 21:30:27 +08:00
Zexi Li
811730e7cf feat(fetcherfs): make rpm and deb package 2021-04-12 21:27:22 +08:00
Yousong Zhou
460e54c919 region: guests: sshable: only check sshable state when in running state 2021-04-12 17:33:42 +08:00
Yousong Zhou
ba71fcaaa2 region: guests: sshable: return early on sshable=true 2021-04-12 16:52:07 +08:00
Yousong Zhou
012df167d5 region: guests: sshable: more friendly fail reason for proxy_forward 2021-04-12 16:51:26 +08:00
rainzm
be1f33c601 feat(region): allow to update account with provider vmware 2021-04-12 15:55:15 +08:00
Zexi Li
7a03b9378e Merge pull request #10671 from zhaoxiangchun/feature/zxc-alertpanel-name
fix(monitor): alertPanel add dumplicate name check
2021-04-12 13:17:45 +08:00
Zexi Li
3cb5243a3e Merge pull request #10688 from ioito/hotfix/qx-logger-project-doamin-filter
fix: actions domain filter by project doamin id
2021-04-12 13:17:00 +08:00
Zexi Li
3fbeb0533d Merge pull request #10692 from zexi/fix/rename-onecloud
fix(readme): rename OneCloud to YunionCloud
2021-04-12 13:15:46 +08:00
Zexi Li
6020035668 Merge pull request #10683 from swordqiu/hotfix/qj-baremetal-status-probe
fix(baremetal-agent): baremetal will probe status in status unknown
2021-04-12 13:15:18 +08:00
Zexi Li
71e9e953e2 fix(readme): rename OneCloud to YunionCloud 2021-04-12 13:13:19 +08:00
Qu Xuan
12bb6ac8e5 fix: actions domain filter by project doamin id 2021-04-12 11:40:57 +08:00
Qiu Jian
b91e41e71a fix(baremetal-agent): baremetal will probe status in status unknown 2021-04-12 00:20:17 +08:00
Zexi Li
7f7745bb55 Merge pull request #10681 from ioito/feat/qx-nas-for-huawei
fix: nas for huawei
2021-04-10 12:02:13 +08:00
Qu Xuan
a3c676f7e8 fix: nas for huawei 2021-04-09 19:43:43 +08:00
Zexi Li
33eb61a557 Merge pull request #10537 from rainzm/ecloud/init
Ecloud support
2021-04-09 17:55:19 +08:00
Zexi Li
86493f6ae6 Merge pull request #10678 from zexi/hotfix/host-ovs-probe
fix(host): detect ovs version
2021-04-09 17:19:17 +08:00
Zexi Li
26b586e04d Merge pull request #10667 from rainzm/notify/exempt_verify_update
feat(notify): exempt the administrator to update the receiver verification
2021-04-09 17:02:28 +08:00
Zexi Li
5afa999fe0 fix(host): detect ovs version 2021-04-09 16:56:34 +08:00
Zexi Li
2ee1931300 Merge pull request #10666 from ioito/feat/qx-nas
feat: add nas sync
2021-04-09 11:19:32 +08:00
Qu Xuan
8639e95a34 feat: add nas sync 2021-04-09 10:43:53 +08:00
Zexi Li
7f4d86e145 Merge pull request #10675 from ioito/hotfix/qx-trans-sec
fix: add trans info
2021-04-09 10:39:40 +08:00
Zexi Li
07892a5a23 Merge pull request #10673 from ioito/hotfix/qx-aliyun-err
fix: optimized aliyun error
2021-04-09 10:39:05 +08:00
zhaoxiangchun
d73a76b12b fix(monitor): set alertdashboard scope 2021-04-09 10:34:35 +08:00
Qu Xuan
fdc8f8b3e8 fix: add trans info 2021-04-08 21:16:47 +08:00
Qu Xuan
bef65e7d74 fix: optimized aliyun error 2021-04-08 20:53:35 +08:00
zhaoxiangchun
d361c2dbbc fix(monitor): alertPanel add dumplicate name check
1.重名自动+1
2021-04-08 19:30:35 +08:00
Zexi Li
6fcd59c0ce Merge pull request #10592 from zhaoxiangchun/fix/zxc-node-alert-vm
fix(host): update host metric tags when server or host  changeowner
2021-04-08 18:13:05 +08:00
rainzm
a9f3392e73 feat(notify): exempt the administrator to update the receiver verification 2021-04-08 17:19:00 +08:00
zhaoxiangchun
14f0342b36 fix(host): update host metric tags when server or host changeowner 2021-04-08 17:17:45 +08:00
rainzm
77457fbae4 feat(region): support Ecloud (readonly) 2021-04-08 11:38:20 +08:00
Zexi Li
0e21d2490b Merge pull request #10664 from ioito/hotfix/qx-qcloud-eip-bw
fix: qcloud eip bandwidth
2021-04-08 11:27:42 +08:00
Qu Xuan
e088570afe fix: qcloud eip bandwidth 2021-04-08 11:11:44 +08:00
Zexi Li
dd650b00b6 Merge pull request #10662 from rainzm/region/rm_url
fix(region): remove code about getting service url
2021-04-08 10:53:36 +08:00
rainzm
790376c531 fix(region): remove code about getting service url 2021-04-08 10:45:02 +08:00
Zexi Li
0b7a41087c Merge pull request #10619 from swordqiu/hotfix/qj-remove-i18n-lock
fix(region): remove i18n lock and logs
2021-04-08 10:34:04 +08:00
Zexi Li
d5308c0030 Merge pull request #10586 from ioito/hotfix/qx-secgroupcache-policy
fix: secgroup cache policy
2021-04-08 10:33:07 +08:00
Zexi Li
e98c8c0b6b Merge pull request #10658 from swordqiu/hotfix/qj-ipmi-probe-sync-config
fix(region): sync baremetal desc before do ipmi probing
2021-04-08 10:14:18 +08:00
Qu Xuan
e806674a0b fix: secgroup cache policy 2021-04-08 09:46:13 +08:00
Qiu Jian
ca3e60d27b fix(region): sync baremetal desc before do ipmi probing 2021-04-08 01:27:11 +08:00
Zexi Li
16ed1d8fcd Merge pull request #10656 from ioito/hotfix/qx-secgroup-validate-delete
fix: validate secgroup references
2021-04-07 21:47:47 +08:00
Zexi Li
1ef4f9d8d2 Merge pull request #10654 from rainzm/notify/exempt_verify_fix
fix(notify): exempt the administrator to create the receiver verification
2021-04-07 21:47:18 +08:00
Zexi Li
9f757bd692 Merge pull request #10497 from yousong/feature/yousong-vpc-route
Feature/yousong vpc route
2021-04-07 21:31:46 +08:00
Zexi Li
c5cef885aa Merge pull request #9824 from rainzm/ab/template
Install monitor agent for VM
2021-04-07 21:22:00 +08:00
Qu Xuan
d44403d691 fix: validate secgroup references 2021-04-07 21:00:34 +08:00
rainzm
390476e69f fix(notify): exempt the administrator to create the receiver verification 2021-04-07 19:16:55 +08:00
rainzm
7e452712ee feat(devtool): check sshable before applying ansible playbook for server 2021-04-07 18:49:34 +08:00
Zexi Li
50c185823f Merge pull request #10650 from rainzm/notify/domain_filter
feat(notify): filter receivers who join the project under the domain where the requester is currently located
2021-04-07 18:08:24 +08:00
Zexi Li
c1c2f376cc Merge pull request #10652 from rainzm/wire/merge
fix(region): rigorously merge the network under wire
2021-04-07 18:07:41 +08:00
Zexi Li
e581183565 Merge pull request #10644 from swordqiu/hotfix/qj-allow-ipmi-probe-in-unknown-state
fix(region): allow ipmi probe in status unknown
2021-04-07 17:55:40 +08:00
Zexi Li
4349bfe68d Merge pull request #10647 from rainzm/gt/save
fix(region): avoid refreshing when checking the image
2021-04-07 17:37:25 +08:00
rainzm
1cc917e98a feat(devtool): add script
Script in devtool is a program or configuration that can be applied to the target host,
currently only supports ansible playbook
2021-04-07 17:01:08 +08:00
rainzm
f7add55303 feat(cloudcommon): set TaskNotifyUrl in GetTaskRequestHeader
To support cross-service task callbacks, you must set TaskNotifyUrl,
which is automatically added to TaskRequestHeader here
2021-04-07 17:01:08 +08:00
rainzm
f8f99365a2 feat(ansibleserver): add reference and instance
Reference is a reference to a local or remote playbook without certain inventory
and its location is determined by playbookPath.
Instance is a complete playbook that can be executed directly, it is filled with inventory and config.
Instance ensures that the playbook is executed successfully as far as
possible without exceeding the maximum number of attempts
2021-04-07 17:01:08 +08:00
rainzm
4250b14754 feat(docker): inject playbook and telegraf installation packages 2021-04-07 17:01:08 +08:00
rainzm
692754b941 fix(region): rigorously merge the network under wire
网络a和网络b能不能合并 = 网络a能不能合并到网络b || 网络b能不能合并到网络a
2021-04-07 16:56:54 +08:00
rainzm
c88d015984 feat(notify): filter receivers who join the project under the domain where the requester is currently located 2021-04-07 16:08:28 +08:00
rainzm
170ceb1b56 fix(region): avoid refreshing when checking the image 2021-04-07 10:52:40 +08:00
Qiu Jian
0a5c5a44be fix(region): allow ipmi probe in status unknown 2021-04-07 00:57:39 +08:00
Zexi Li
23115f3d55 Merge pull request #10599 from yousong/feature/yousong-sshable
Feature/yousong sshable
2021-04-06 18:41:18 +08:00
Zexi Li
58218db303 Merge pull request #10629 from rainzm/storagecache/fix
feat(region): virtually display the esxiagent of the cached image as a host
2021-04-06 18:39:31 +08:00
Zexi Li
618be06cf4 Merge pull request #10637 from tb365/bugfix/tb-bugfix-040601
fix(region): guest associate eip checking fix
2021-04-06 18:37:48 +08:00
Zexi Li
9d21a7cefc Merge pull request #10638 from rainzm/notify/exempt_verify
feat(notify): 管理后台新建的联系人,手机号和邮箱无需进行校验
2021-04-06 18:26:01 +08:00
tangbin
3be7a103c3 fix(region): guest sync eip fix 2021-04-06 18:13:41 +08:00
rainzm
623f1f17f1 feat(notify): 管理后台新建的联系人,手机号和邮箱无需进行校验 2021-04-06 17:12:54 +08:00
Zexi Li
ed46b2f1a1 Merge pull request #10631 from yousong/bugfix/yousong-apigw-cloudproxy
apigateway: handler: add cloudproxy
2021-04-06 17:09:23 +08:00
Zexi Li
a9b2bc266c Merge pull request #10633 from ioito/hotfix/qx-private-cloud-sku-attached-disk
fix: private cloud sku attached disk count
2021-04-06 17:08:30 +08:00
tangbin
cd9a97aef5 fix(region): guest associate eip checking fix 2021-04-06 15:29:11 +08:00
Qu Xuan
73f952a5b4 fix: private cloud sku attached disk count 2021-04-06 15:01:45 +08:00
Yousong Zhou
a16cea6faf climc: compute: add command server-sshable 2021-04-06 13:02:14 +08:00
Yousong Zhou
d340911271 region: guests: add GET /servers/<guest-id>/sshable 2021-04-06 13:02:14 +08:00
Yousong Zhou
a4697d081b cloudproxy: agent: ssh: cancel on return from Start 2021-04-06 13:02:14 +08:00
Yousong Zhou
43f48e6b3a cloudproxy: add metadata model 2021-04-06 13:02:14 +08:00
Yousong Zhou
d57e2d2495 cloudproxy: agent: fix possible invalid memory access 2021-04-06 13:02:14 +08:00
Yousong Zhou
8ee5978185 cloudproxy: agent: use yunion.io/x/onecloud/pkg/util/ssh 2021-04-06 13:02:14 +08:00
Yousong Zhou
e3a54dcfd1 cloudproxy: forwards: more list filter conditional keys 2021-04-06 13:02:14 +08:00
Yousong Zhou
43a4cc6bed cloudproxy: apis: add ForwardDetails definition 2021-04-06 13:02:14 +08:00
Yousong Zhou
bbd2114f94 util: ssh: add ConnectContext method for ClientConfig 2021-04-06 13:02:14 +08:00
rainzm
961d6e484c feat(region): virtually display the esxiagent of the cached image as a host 2021-04-06 11:33:21 +08:00
Yousong Zhou
6137a3d452 apigateway: handler: add cloudproxy 2021-04-06 11:06:27 +08:00
Zexi Li
e4a47a1e61 Merge pull request #10622 from swordqiu/hotfix/qj-role-assignment-ignore-no-user-groups
fix(keystone): role_assignment effective list ignore groups without user
2021-04-06 10:18:15 +08:00
Zexi Li
15dcaa1a5e Merge pull request #10627 from swordqiu/feature/qj-standalone-dhcp-relay
feature: add a standalone dhcp relay service
2021-04-06 10:16:29 +08:00
Qiu Jian
f5a1522abf feature: add a standalone dhcp relay service 2021-04-06 08:50:02 +08:00
Qiu Jian
e9a4a659f0 fix(keystone): role_assignment effective list ignore groups without user 2021-04-05 17:18:51 +08:00
Qiu Jian
c03f0da14e fix(region): remove i18n lock and logs 2021-04-05 16:34:57 +08:00
Zexi Li
c50abb085b Merge pull request #10612 from swordqiu/hotfix/qj-add-usage-cache
fix(region): add usage cache, speedup response
2021-04-05 00:55:13 +08:00
yunion-ci-robot
cdc4d9ff7e Merge pull request #10616 from ioito/hotfix/qx-aws-new-region
fix(region): new aws region
2021-04-04 20:14:44 +08:00
yunion-ci-robot
6ebc9db0a7 Merge pull request #10608 from ioito/hotfix/qx-account-sync-time
fix: time sync duration
2021-04-04 20:11:42 +08:00
Qiu Jian
8dff784225 response scope-specific metrics 2021-04-04 20:04:19 +08:00
Qu Xuan
432435e5b3 fix: new aws region 2021-04-03 12:20:19 +08:00
Qiu Jian
82d2604d79 fix(region): add usage cache, speedup response 2021-04-03 07:47:20 +08:00
Qu Xuan
f9ce72ca62 fix: time sync duration 2021-04-02 20:53:33 +08:00
Zexi Li
9709ebf459 Merge pull request #10601 from rainzm/hostwire/fix
Fix the problem of hostwire producted by #9723
2021-04-02 20:04:38 +08:00
Zexi Li
a0867750f0 Merge pull request #10603 from zexi/hotfix/baremetal-sas-parse
fix(baremetal): sas2iru parse line
2021-04-02 20:03:38 +08:00
Zexi Li
13b4652d33 Merge pull request #10576 from swordqiu/hotfix/qj-allow-ipmi-probe-when-fail
fix(region): allow ipmi probe when probe fail
2021-04-02 19:44:30 +08:00
Zexi Li
4d4920a42f Merge pull request #10581 from swordqiu/hotfix/qj-recycle-disk-when-rebuild-root
fix(hostman): recycle local disk file when rebuilding root
2021-04-02 19:42:41 +08:00
Zexi Li
f531e41095 Merge pull request #10590 from ioito/hotfix/qx-secgroup-reference
fix: secgroup cache reference
2021-04-02 19:41:15 +08:00
Zexi Li
a1f06e6350 Merge pull request #10595 from rainzm/iso/fix
Fixes problem of Esxi Disk with iso creating
2021-04-02 19:40:07 +08:00
Zexi Li
0895945998 fix(baremetal): sas2iru parse line 2021-04-02 19:27:04 +08:00
rainzm
3ba9adeea8 fix(region): expand the bridge field
由于 esxi 中,bridge 是 dvs 的一个路径,长度为 16 字段会不够用
2021-04-02 19:10:41 +08:00
rainzm
21285f7530 fix(region): de-duplication when obtaining the number of hosts 2021-04-02 19:09:53 +08:00
rainzm
564470de0e fix(esxi): determine whether the disk is a root disk more reasonably
The order of the device is often sorted according to the size of the
key. The disk pointed to by the smallest key is not necessarily the
root disk or the first disk which often has the label of 'Hard disk 1'.
We try to find the label, if not, use the Key again to determine who
is the root disk.
2021-04-02 18:35:35 +08:00
rainzm
f71f1d8318 feat(esxi): change parameters for NewDiskDev and avoid unnecessary deploy
1. The fields UnitNumber and Index should be independent
2. Avoid unnecessary deploy, such create vm with iso not image
2021-04-02 18:35:31 +08:00
rainzm
b073ae9cb0 fix(esxi): add ListPath for storage and use it to check iso
When remote iso file is used, CheckFile will failed.
2021-04-02 16:52:12 +08:00
Qu Xuan
b7fe92f503 fix: secgroup cache reference 2021-04-02 16:20:03 +08:00
Zexi Li
da90be0616 Merge pull request #7047 from swordqiu/hotfix/qj-adjust-utf8-utf8mb4
fix: adjust primary key length when sqlchemy utf8 default to utf8mb4
2021-04-02 15:10:41 +08:00
Qiu Jian
6c66f89131 fix: adjust primary key length when sqlchemy utf8 default to utf8mb4 2021-04-02 15:05:27 +08:00
Qiu Jian
225afd4473 fix(hostman): recycle local disk file when rebuilding root 2021-04-02 02:14:15 +08:00
yunion-ci-robot
f33f6f7581 Merge pull request #10568 from ioito/hotfix/qx-mccclient-worker
fix: avoid listener worker leak
2021-04-01 22:33:41 +08:00
yunion-ci-robot
d0266fe7c5 Merge pull request #10482 from ioito/hotfix/qx-imported-at-time
fix: before insert
2021-04-01 22:26:48 +08:00
Qiu Jian
848a5b9a16 fix(region): allow ipmi probe when probe fail 2021-04-01 21:42:53 +08:00
Qu Xuan
7f8cf5adc3 fix: before insert 2021-04-01 21:24:11 +08:00
Zexi Li
cd53e0853d Merge pull request #10546 from zexi/fix/arm-virtio-net-pci
fix(host): arm vm virtio-net-pci without addr
2021-04-01 20:52:45 +08:00
Zexi Li
efe5ce4508 Merge pull request #10549 from swordqiu/hotfix/qj-image-update-iso-min-disk
fix(image): update min_disk of iso image
2021-04-01 20:51:44 +08:00
Zexi Li
af9c89f3bb Merge pull request #10552 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
fix(monitor):修复监控总览图标钻取后返回数据异常的问题
2021-04-01 20:50:58 +08:00
Zexi Li
cd2d4109f1 Merge pull request #10555 from ioito/hotfix/qx-nas-sku-policy
fix: nat sku domain policy
2021-04-01 20:50:32 +08:00
Zexi Li
0b498a6db1 Merge pull request #10557 from ioito/hotfix/qx-account-auto-sync
fix: cloudaccount auto sync
2021-04-01 20:49:51 +08:00
Zexi Li
1dcea165f0 Merge pull request #10561 from ioito/hotfix/qx-vender-update
fix: vendor update
2021-04-01 20:48:43 +08:00
Zexi Li
cc8c1c2113 Merge pull request #10565 from rainzm/hostconfig/nil
fix(esxi): be compatible with disconnected host
2021-04-01 20:47:43 +08:00
Zexi Li
2dd832ad9c Merge pull request #10573 from ioito/hotfix/qx-sec-rule-update
fix: avoid update protocol with any faild
2021-04-01 20:44:39 +08:00
Qu Xuan
80580fa2e4 fix: avoid update protocol with any faild 2021-04-01 17:35:31 +08:00
Qu Xuan
2a4e808792 fix: avoid listener worker leak 2021-04-01 17:26:24 +08:00
rainzm
885a483e0f fix(esxi): be compatible with disconnected host 2021-04-01 17:16:24 +08:00
Qu Xuan
a4b387dd26 fix: vendor update 2021-04-01 16:53:16 +08:00
Qu Xuan
b9627f034d fix: cloudaccount auto sync 2021-04-01 16:16:03 +08:00
Qu Xuan
baacfddbd0 fix: nat sku domain policy 2021-04-01 10:31:32 +08:00
zhaoxiangchun
1391839ad9 fix(monitor):修复监控总览图标钻取后返回数据异常的问题 2021-04-01 10:02:35 +08:00
Qiu Jian
298568772a fix(image): update min_disk of iso image 2021-03-31 22:39:41 +08:00
Zexi Li
c7b85ca303 fix(host): arm vm virtio-net-pci without addr 2021-03-31 18:51:55 +08:00
Yousong Zhou
c34d6984d5 Merge pull request #10543 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
fix(host): modification of netio collection field  of local virtual machine
2021-03-31 15:17:21 +08:00
yunion-ci-robot
62215f9245 Merge pull request #10538 from swordqiu/hotfix/qj-add-more-usage-metrics
fix(region): add more usage metrics, e.g. ports.eip, servers.last_week, pending_delete_servers.last_week
2021-03-31 15:12:42 +08:00
zhaoxiangchun
8c5915067e fix(host): modification of netio collection field of local virtual machine
1.本地虚拟机指标保存时field存在转换关系
bits_recv
bits_sent
2021-03-31 10:31:55 +08:00
Qiu Jian
e76a84a01b fix(region): add more usage metrics, e.g. ports.eip, servers.last_week,
pending_delete_servers.last_week
2021-03-31 03:36:30 +08:00
rainzm
8009ca8d70 feat(region): disable synchronization of some special storage 2021-03-30 22:45:59 +08:00
Zexi Li
d0c981fce7 Merge pull request #10525 from ioito/hotfix/qx-peer-secgroup-fix
fix: peer secgroup rule fix
2021-03-30 19:47:29 +08:00
Zexi Li
1de8172dd9 Merge pull request #10529 from ioito/hotfix/qx-qcloud-eip
fix: instance with eip charge type
2021-03-30 19:46:15 +08:00
Zexi Li
b011158786 Merge pull request #10527 from ioito/hotfix/qx-nat-public
fix: vpc public with nat
2021-03-30 19:45:17 +08:00
Zexi Li
f149d0cc02 Merge pull request #10534 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
fix(monitor): alertQuery fix
2021-03-30 19:43:50 +08:00
zhaoxiangchun
cb177bc4db fix(monitor): alertQuery fix
1.兼容meter相关的监控数据查询
2.根据groupby
  确定resType,从而确定云管中对应的资源,然后进行属性填充,解决资源属性修改的问题
2021-03-30 18:14:24 +08:00
Zexi Li
833225367a Merge pull request #10531 from swordqiu/hotfix/qj-show-storage-capacity-to-project
fix(region): show storage capacity to project users
2021-03-30 15:53:47 +08:00
Qiu Jian
d6f588c5c3 fix(region): show storage capacity to project users 2021-03-30 12:24:37 +08:00
Qu Xuan
f387f32fa4 fix: instance with eip charge type 2021-03-30 11:45:50 +08:00
Qu Xuan
e1de34e9ab fix: vpc public with nat 2021-03-29 17:47:13 +08:00
Qu Xuan
97f086cc26 fix: peer secgroup rule fix 2021-03-29 17:27:36 +08:00
Zexi Li
43312da552 Merge pull request #10516 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
fix(monitor): filter alertquery result according to onecloud resources
2021-03-29 17:15:44 +08:00
Zexi Li
38398bbeca Merge pull request #10510 from ioito/hotfix/qx-rds-sku-zone
fix: sku zone
2021-03-29 12:15:08 +08:00
Zexi Li
5d8e08e3d6 Merge pull request #10514 from zhaoxiangchun/feature/zxc-notify-onecloud
fix(monitor): registry alertPanel in mcclient
2021-03-29 12:14:41 +08:00
Zexi Li
7be373b59c Merge pull request #10521 from ioito/hotfix/qx-auto-sync
fix: account auto sync time
2021-03-29 12:13:26 +08:00
Qu Xuan
6b89fb57ee fix: account auto sync time 2021-03-29 11:04:11 +08:00
Zexi Li
96a2070d83 Merge pull request #10519 from swordqiu/hotfix/qj-aws-sts-assume-role-break-initialization
fix(region): aws sts assume role fail break account initialization
2021-03-29 09:51:47 +08:00
Qiu Jian
9f81122cb8 fix(region): aws sts assume role fail break account initialization 2021-03-29 06:30:08 +08:00
zhaoxiangchun
beff4578c9 fix(monitor): filter alertquery result according to onecloud resources
1.排除已经删除的资源
2.对已经删除的资源不再持续报警
2021-03-28 18:52:12 +08:00
zhaoxiangchun
ed4bffa9ab fix(monitor): registry alertPanel in mcclient 2021-03-27 21:57:08 +08:00
Qu Xuan
888c8c2003 fix: sku zone 2021-03-26 16:44:13 +08:00
Zexi Li
7cdda78b24 Merge pull request #10499 from yousong/bugfix/yousong-eip-qos
vpcagent: ovn: fix qos for eip upload
2021-03-26 15:18:03 +08:00
Zexi Li
4df3c60fa0 Merge pull request #10505 from swordqiu/hotfix/qj-megactl-fail-find-device
fix(baremetal): megactl driver fail to find device by key
2021-03-26 15:09:25 +08:00
Yousong Zhou
e5a44d2b69 vpcagent: ovn: fix qos for eip upload 2021-03-26 10:27:12 +08:00
Qiu Jian
ffc67460b6 fix(baremetal): megactl driver fail to find device by key 2021-03-26 03:18:05 +08:00
Yousong Zhou
bf5ef89a95 vpcagent: ovn: add ClaimRoutes 2021-03-24 20:16:19 +08:00
Yousong Zhou
5fd1c309c8 vpcagent: ovn: resolveRoutes from API models 2021-03-24 20:16:19 +08:00
Yousong Zhou
1b2878d699 vpcagent: models: annotate guest with guestnetworks 2021-03-24 20:16:19 +08:00
Yousong Zhou
3b8e4811bc vpcagent: models: add route tables 2021-03-24 20:16:19 +08:00
Yousong Zhou
98cd08bac7 region: apis: route: add nexthop type "IP" 2021-03-24 20:16:19 +08:00
Zexi Li
7a6aa3116d Merge pull request #10490 from ioito/hotfix/qx-nas-fix
fix: nat delete and create fix
2021-03-24 19:35:26 +08:00
Zexi Li
7194a693c8 Merge pull request #10494 from zhaoxiangchun/feature/zxc-notify-onecloud
fix(monitor): modify onecloud replacement code
2021-03-24 19:34:31 +08:00
Zexi Li
7cc77626d9 Merge pull request #10483 from tb365/bugfix/tb-bugfix-032304
fix(region): qcloud elb https listener create fix
2021-03-24 18:51:22 +08:00
zhaoxiangchun
65a9d79453 fix(monitor): modify onecloud replacement code
1.增加copyright api查询逻辑
2021-03-24 18:05:34 +08:00
tangbin
dea9f77a2b fix(region): qcloud elb https listener create fix 2021-03-24 14:15:42 +08:00
Zexi Li
e2211caaa0 Merge pull request #10487 from ioito/hotfix/qx-qcloud-prefix
fix: remove qcloud region and zone prefix
2021-03-24 12:22:18 +08:00
Zexi Li
61c47dd39c fix(build): build telegraf-raid-plugin 2021-03-24 11:45:57 +08:00
Qu Xuan
45d3e83299 fix: nat delete and create fix 2021-03-24 10:33:10 +08:00
Qu Xuan
adaf389bf8 fix: remove qcloud region and zone prefix 2021-03-23 17:42:33 +08:00
Zexi Li
6be2d4e533 Merge pull request #10474 from yousong/bugfix/yousong-guestnic
Bugfix/yousong guestnic
2021-03-23 10:39:22 +08:00
Zexi Li
cc092cff33 Merge pull request #10480 from zexi/automated-cherry-pick-of-#10479-upstream-master
Automated cherry pick of #10479: fix(host): ignore parted resize disk unknown partition table error
2021-03-23 10:38:30 +08:00
Zexi Li
bf13a14ed5 fix(host): ignore parted resize disk unknown partition table error 2021-03-23 10:00:27 +08:00
Yousong Zhou
5ede377c82 region: fix setting nic index
When a guest has two nics, changing ip address of the 1st will cause
the new nic after detach then attach to be "1", colliding with the
original nic of index 1
2021-03-22 19:31:08 +08:00
Yousong Zhou
5fda85f831 region: attachnetwork: allow attach by network name
isValidNetworkInfo allows names.  Otherwise the code will panic when
a named was passed and nil was returned by the fetch call
2021-03-22 19:31:08 +08:00
Zexi Li
59473b8428 Merge pull request #10468 from swordqiu/hotfix/qj-baremetal-event-log-filters
fix(log): add filters to baremetal event logs
2021-03-22 16:09:00 +08:00
Zexi Li
2641cb2342 Merge pull request #10451 from ioito/hotfix/qx-qcloud-lb-tags
fix: add qcloud get tags and remove unused interface
2021-03-22 14:02:09 +08:00
Zexi Li
1d8fc15317 Merge pull request #10471 from swordqiu/hotfix/qj-user-info-add-sendpoint-service-type
fix(apigateway): use info response service type of console endpoints
2021-03-22 14:00:28 +08:00
Qiu Jian
d4a2dbbeaf fix(log): add filters to baremetal event logs 2021-03-22 10:47:53 +08:00
Zexi Li
8f9b0ad6c7 Merge pull request #10462 from ioito/hotfix/qx-cachedimages-index
fix: add index for image_type
2021-03-22 10:45:14 +08:00
Zexi Li
d77c13813a Merge pull request #10460 from rainzm/notify/robot1
fix(notify): be compatible with robots and webhooks
2021-03-22 10:44:20 +08:00
Zexi Li
f32c4470d7 Merge pull request #10449 from ioito/hotfix/qx-nat-sku
fix: nat sku env
2021-03-22 10:41:45 +08:00
Zexi Li
a4ff2ece2a Merge pull request #10450 from ioito/hotfix/qx-license-upload
fix: add license upload
2021-03-22 10:41:35 +08:00
Zexi Li
d1002324a9 Merge pull request #10455 from swordqiu/hotfix/qj-allow-join-projects-across-domains-by-default
fix(keystone): allow joint projects across domains by default
2021-03-22 10:39:06 +08:00
Qiu Jian
bfc522a89c fix(apigateway): use info response service type of console endpoints 2021-03-22 09:58:26 +08:00
Zexi Li
4baa4c6d85 Merge pull request #10452 from ioito/hotfix/qx-vpc-peer-panic
fix: avoid panic when use idc vpc
2021-03-19 18:23:15 +08:00
Qu Xuan
2218e46244 fix: add index for image_type 2021-03-19 14:27:58 +08:00
rainzm
6b1f63efc9 fix(notify): be compatible with robots and webhooks 2021-03-19 11:02:32 +08:00
Qiu Jian
bf1aed7a14 fix(keystone): allow joint projects across domains by default 2021-03-18 23:56:36 +08:00
Qu Xuan
e723b24188 fix: avoid panic when use idc vpc 2021-03-18 21:03:15 +08:00
Qu Xuan
7c3c8bc2b5 fix: add qcloud get tags and remove unused interface 2021-03-18 20:03:51 +08:00
Qu Xuan
6b35605de0 fix: add license upload 2021-03-18 17:27:56 +08:00
Qu Xuan
0446859f0e fix: nat sku env 2021-03-18 16:07:51 +08:00
Zexi Li
40644f73b8 Merge pull request #10448 from zexi/automated-cherry-pick-of-#10446-upstream-master
Automated cherry pick of #10446: feat(host): adjust qemu args to support aarch64
2021-03-18 15:22:48 +08:00
Zexi Li
3b21605525 feat(host): adjust qemu args to support aarch64 2021-03-18 15:00:09 +08:00
Zexi Li
49a798ad0e Merge pull request #10431 from rainzm/hostnetwork/details
feat(region): add wire info in HostNetwork details
2021-03-18 10:24:31 +08:00
Zexi Li
bb7712920b Merge pull request #10437 from swordqiu/hotfix/qj-scoped-policy-filter-by-project-id
fix(region): scoped policy filter by project id
2021-03-18 10:23:51 +08:00
Zexi Li
c631353bfa Merge pull request #10441 from swordqiu/hotfix/qj-add-domain-info-to-project-role-results
fix(region): including domain info in project-role results
2021-03-18 10:23:23 +08:00
Zexi Li
a3f0e40408 Merge pull request #10162 from ioito/hotfix/qx-server-detach-network
fix(region): struct input for detach server network
2021-03-18 10:18:20 +08:00
Zexi Li
a263fb853a Merge pull request #10399 from ioito/hotfix/qx-tag-sync-optimized
fix: optimzed tag update and sync
2021-03-18 10:17:59 +08:00
Zexi Li
479a1a679d Merge pull request #10433 from ioito/hotfix/qx-aws-stop
fix: avoid stop or start vm failed
2021-03-18 10:17:13 +08:00
Zexi Li
55d6de0e3b Merge pull request #10429 from ioito/hotfix/qx-nat-entry-optimized
fix: optimized nat entry
2021-03-18 10:16:15 +08:00
Qiu Jian
42b40b8e25 fix(region): including domain info in project-role results 2021-03-18 00:29:41 +08:00
Qiu Jian
7613e287ed fix(region): scoped policy filter by project id 2021-03-17 22:58:15 +08:00
Qu Xuan
e08a990613 fix: avoid stop or start vm failed 2021-03-17 20:02:14 +08:00
rainzm
01ce700ec9 feat(region): add wire info in HostNetwork details 2021-03-17 15:39:35 +08:00
Zexi Li
42ee3751d3 Merge pull request #10425 from ioito/hotifx/qx-rds-change-config-skus
fix: change rds config skip zone check
2021-03-17 11:43:09 +08:00
Qu Xuan
20a64f9343 fix: optimized nat entry 2021-03-17 11:26:18 +08:00
Zexi Li
7410c583b7 Merge pull request #10418 from zhaoxiangchun/feature/zxc-raid-plugin
fix(telegraf): megactl raid  add rebuild status
2021-03-15 18:45:50 +08:00
Zexi Li
2a0fd9afbb Merge pull request #10421 from ioito/hotfix/qx-bucket-refer
fix: qcloud bucket refer
2021-03-15 17:52:12 +08:00
Qu Xuan
8eaa256255 fix: change rds config skip zone check 2021-03-15 17:41:10 +08:00
Qu Xuan
113e2ab874 fix: qcloud bucket refer 2021-03-15 15:45:45 +08:00
zhaoxiangchun
5e86cb2205 Merge branch 'master' of https://github.com/yunionio/onecloud into feature/zxc-raid-plugin 2021-03-15 10:03:08 +08:00
zhaoxiangchun
ff644319c7 fix(telegraf): megactl raid add rebuild status 2021-03-15 09:50:38 +08:00
yunion-ci-robot
1a04bd9614 Merge pull request #10414 from ioito/hotfix/qx-bucket-tag-sync
fix: sync cloud tags when set tags
2021-03-14 01:24:36 +08:00
Qu Xuan
511111aec0 fix: sync cloud tags when set tags 2021-03-13 20:45:28 +08:00
yunion-ci-robot
59889ab372 Merge pull request #10410 from ioito/hotfix/qx-rds-change-config-sku
fix: skip zone check when rds change config
2021-03-13 19:08:24 +08:00
Qu Xuan
6bd71f5eb0 fix: skip zone check when rds change config 2021-03-13 18:53:40 +08:00
Zexi Li
7ac819e20c Merge pull request #10402 from swordqiu/hotfix/qj-cloud-provider-filter-by-owner
fix(region): cloud provider filter by domain_id ignore private case
2021-03-12 21:17:10 +08:00
Qiu Jian
18d495f108 fix(region): cloud provider filter by domain_id ignore private case 2021-03-12 20:11:49 +08:00
Zexi Li
c11ecbd566 Merge pull request #10387 from swordqiu/hotfix/qj-fail-update-network-gateway
fix(region): fail to update network gateway
2021-03-12 17:37:52 +08:00
Zexi Li
f8c614c56f Merge pull request #10391 from ioito/hotfix/qx-azure-new-resource-group
fix: sync new project for azure resource group
2021-03-12 17:35:12 +08:00
Zexi Li
9102a5a4c0 Merge pull request #10395 from rainzm/esxi/guestos
feat(esxi): update guest os info
2021-03-12 17:33:52 +08:00
Qu Xuan
e71b6fce41 fix: optimzed tag update and sync 2021-03-11 18:01:35 +08:00
rainzm
0d5a44155d feat(esxi): update guest os info 2021-03-11 16:40:20 +08:00
Qu Xuan
11be3494c9 fix: sync new project for azure resource group 2021-03-11 14:59:16 +08:00
Qiu Jian
2bca43bc5f fix(region): fail to update network gateway 2021-03-11 14:49:38 +08:00
Zexi Li
3c6a76a81d Merge pull request #10370 from ioito/hotfix/qx-prepaid-change-config
Hotfix/qx prepaid change config
2021-03-11 11:45:10 +08:00
Zexi Li
acebb5fad2 Merge pull request #10374 from ioito/hotfix/qx-aliyun-public-bandwidth
fix: aliyun public ip bandwidth
2021-03-11 11:43:33 +08:00
Zexi Li
5b64bb28c5 Merge pull request #10378 from ioito/hotfix/qx-aliyun-tag
fix: aliyun tag list api
2021-03-11 11:42:13 +08:00
Zexi Li
36c060adca Merge pull request #10380 from ioito/hotfix/qx-bucket-delete-tooltip
fix: add bucket tooltip
2021-03-11 11:41:30 +08:00
Zexi Li
6aeda12032 Merge pull request #10382 from swordqiu/hotfix/qj-cloud-provider-filter-by-domain
fix(region): cloud provider filter by domain
2021-03-11 11:38:27 +08:00
Zexi Li
c5721fa3e5 Merge pull request #10365 from rainzm/schedtag/filter
feat(region): filter schedtags from cloudprovider_id
2021-03-11 11:36:54 +08:00
yunion-ci-robot
6d399614b7 Merge pull request #10357 from tb365/feature/tb-qcloud-redis-support-multi-zones
qcloud redis support multi zones
2021-03-11 10:21:22 +08:00
Qiu Jian
9b7796bb60 fix(region): cloud provider filter by domain 2021-03-11 01:06:41 +08:00
Qu Xuan
db11d67f43 fix: add bucket tooltip 2021-03-10 21:05:35 +08:00
Qu Xuan
56948a97ee fix: optimize change vm config and prepaid change config 2021-03-10 20:34:51 +08:00
Qu Xuan
4d9f007727 fix: aliyun tag list api 2021-03-10 20:31:39 +08:00
tangbin
ebdb9fbc94 fix(region) qcloud multi zone instance sync account fix 2021-03-10 18:50:26 +08:00
rainzm
f8c7abf374 feat(region): filter schedtags from cloudprovider_id 2021-03-10 18:15:39 +08:00
Qu Xuan
02fa0373b8 fix: aliyun public ip bandwidth 2021-03-10 17:30:46 +08:00
Zexi Li
756e1c1b26 Merge pull request #10351 from swordqiu/hotfix/qj-network-eip-usage
fix(region): network eip stats not correct
2021-03-10 16:30:40 +08:00
Zexi Li
a9e20f22ed Merge pull request #10367 from zexi/fix/dokcer-cli-enable
fix(build): DOCKER_CLI_EXPERIMENTAL=enabled
2021-03-10 16:28:50 +08:00
Zexi Li
cac364054c fix(build): DOCKER_CLI_EXPERIMENTAL=enabled 2021-03-10 16:20:58 +08:00
tangbin
33285eb777 feat(region) qcloud redis support multi zones 2021-03-10 11:57:15 +08:00
Zexi Li
b061515f6b Merge pull request #10358 from ioito/hotfix/qx-nat-sku-sync
fix: sync nat sku when sync cloudaccount
2021-03-09 18:07:58 +08:00
Zexi Li
1caf8abadc Merge pull request #10361 from swordqiu/hotfix/qj-change-default-role-policy-name
fix(keystone): update default role associated policy name
2021-03-09 18:06:27 +08:00
Qiu Jian
4490adedb1 fix(keystone): update default role associated policy name 2021-03-09 17:49:32 +08:00
Qu Xuan
91abafe715 fix: sync nat sku when sync cloudaccount 2021-03-09 15:28:04 +08:00
Qu Xuan
cf0b2f5565 fix: support prepaid instance change config 2021-03-09 11:38:50 +08:00
Qiu Jian
a2ff5b38ce fix(region): network eip stats not correct 2021-03-09 02:45:08 +08:00
Qu Xuan
95a9327d90 fix(region): struct input for detach server network 2021-03-08 20:53:38 +08:00
Zexi Li
ad205f0577 Merge pull request #10275 from swordqiu/hotfix/qj-auto-set-object-mime-type-when-upload
fix: automatically setup object miemtype when uploading
2021-03-08 20:18:41 +08:00
yunion-ci-robot
f8a76397df Merge pull request #10345 from zexi/feature/build-manifest-image
feat(build): make multi arch manifest docker image
2021-03-08 20:17:05 +08:00
Zexi Li
9a33236275 Merge pull request #10340 from yousong/bugfix/yousong-map-conc-write
etcd: fix "fatal error: concurrent map writes"
2021-03-08 14:18:38 +08:00
Zexi Li
3f6ba75f50 Merge pull request #10348 from ioito/hotfix/qx-nat-cancel-expire
fix: add cancel expire action
2021-03-08 14:15:04 +08:00
Zexi Li
230103264d Merge pull request #10329 from ioito/hotfix/qx-bucket-tag-sync
fix: optimized bucket tag
2021-03-08 14:13:24 +08:00
Zexi Li
1ac228f1a9 Merge pull request #10334 from ioito/hotfix/qx-nat-sku-policy
fix: add nat sku policy
2021-03-08 14:10:27 +08:00
Zexi Li
44d6c90a12 feat(build): make multi arch manifest docker image 2021-03-08 12:52:00 +08:00
Qu Xuan
c3b80cb6b0 fix: add cancel expire action 2021-03-08 12:11:58 +08:00
Yousong Zhou
651c4b687d etcd: fix "fatal error: concurrent map writes"
Trace

	goroutine 1270434 [running]:
	runtime.throw(0x4b0cc5e, 0x15)
		/home/yousong/.usr/go/goroot-1.15.6/src/runtime/panic.go:1116 +0x72 fp=0xc0011151f8 sp=0xc0011151c8 pc=0x439292
	runtime.mapdelete_faststr(0x40876e0, 0xc0006a54a0, 0xc001e84200, 0x3e)
		/home/yousong/.usr/go/goroot-1.15.6/src/runtime/map_faststr.go:377 +0x34c fp=0xc001115260 sp=0xc0011151f8 pc=0x41664c
	yunion.io/x/onecloud/pkg/cloudcommon/etcd.(*SEtcdClient).Unwatch(0xc0003130e0, 0xc001e84200, 0x3e)
		/home/yousong/go/src/yunion.io/x/onecloud/pkg/cloudcommon/etcd/etcd.go:353 +0x134 fp=0xc0011152d0 sp=0xc001115260 pc=0x10031f4
	yunion.io/x/onecloud/pkg/compute/models.(*SHostHealthChecker).WatchHost(0xc000c222a0, 0x5229ca0, 0xc000122000, 0xc001fbc4e0, 0x24)
		/home/yousong/go/src/yunion.io/x/onecloud/pkg/compute/models/host_health.go:149 +0xd5 fp=0xc001115338 sp=0xc0011152d0 pc=0x1816395
	yunion.io/x/onecloud/pkg/compute/models.(*SHost).PerformOnline(0xc001fd8400, 0x5229d20, 0xc001c4d440, 0x52a0c60, 0xc000957c40, 0x5298900, 0xc001629aa0, 0x5298900, 0xc001629ae0, 0xc000957c40, ...)
		/home/yousong/go/src/yunion.io/x/onecloud/pkg/compute/models/hosts.go:3829 +0x227 fp=0xc0011153a0 sp=0xc001115338 pc=0x185a387
	yunion.io/x/onecloud/pkg/compute/models.(*SHost).PerformPing(0xc001fd8400, 0x5229d20, 0xc001c4d440, 0x52a0c60, 0xc000957c40, 0x5298900, 0xc001629aa0, 0x5298900, 0xc001629ae0, 0x0, ...)
		/home/yousong/go/src/yunion.io/x/onecloud/pkg/compute/models/hosts.go:3891 +0xbd fp=0xc001115430 sp=0xc0011153a0 pc=0x185acbd
2021-03-08 09:54:24 +08:00
yunion-ci-robot
765366f8bc Merge pull request #10336 from rainzm/fix/filter_receiver
fix(notify): enable filter of contact type 'email' and 'mobile'
2021-03-06 10:57:27 +08:00
rainzm
c3b4cbef59 fix(notify): enable filter of contact type 'email' and 'mobile' 2021-03-06 01:06:17 +08:00
Qu Xuan
04ad3d4df0 fix: add nat sku policy 2021-03-05 17:26:25 +08:00
Qu Xuan
531e142a1c fix: optimized bucket tag 2021-03-05 15:37:17 +08:00
Zexi Li
b03d01fa01 Merge pull request #10327 from zexi/fix/service-option-auth-domain
fix(cloudcommon): add default domain of common options
2021-03-05 11:22:35 +08:00
Zexi Li
29ef9d8ba6 fix(cloudcommon): add default domain of common options 2021-03-05 10:49:03 +08:00
Zexi Li
42af169241 Merge pull request #10320 from ioito/hotfix/qx-secgroup-filter
fix: add secgroup filter opts
2021-03-05 10:15:57 +08:00
Zexi Li
8ecfcd43ce Merge pull request #10322 from tb365/bugfix/tb-bugfix-030403
copyright update brand_cn&brand_en fix
2021-03-05 10:12:33 +08:00
tangbin
ff51bf449f copyright update brand_cn&brand_en fix 2021-03-05 09:55:01 +08:00
Zexi Li
421b4519b1 Merge pull request #10314 from ioito/hotfix/qx-nat-sku-filter
fix: add nat sku provider filter
2021-03-04 21:00:27 +08:00
Zexi Li
0f1b16f4d7 Merge pull request #10312 from ioito/hotfix/qx-tag-fix
fix: optimzed tag sync
2021-03-04 21:00:10 +08:00
Qu Xuan
169b1ec864 fix: add secgroup filter opts 2021-03-04 20:56:01 +08:00
Zexi Li
c10bf3e789 Merge pull request #10316 from rainzm/fix/guest_nil
fix(region): check whether guest is nil
2021-03-04 19:38:21 +08:00
Qu Xuan
2af2a977be fix: add nat sku provider filter 2021-03-04 17:49:52 +08:00
rainzm
74a8cc7f4e fix(region): check whether guest is nil 2021-03-04 17:49:28 +08:00
Qu Xuan
68e28bfe49 fix: optimzed tag sync 2021-03-04 17:30:56 +08:00
Zexi Li
24045dc8ae Merge pull request #10310 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
bugfix(monitor): 导出信息中添加全局字典配置
2021-03-04 16:53:47 +08:00
Zexi Li
062388f729 Merge pull request #10305 from tb365/bugfix/tb-bugfix-030403
infos copyright add brand_en&brand_cn
2021-03-04 15:25:29 +08:00
zhaoxiangchun
3ba8168a6f bugfix(monitor): 导出信息中添加全局字典配置
1. 域信息中添加全局字典的域配置
2021-03-04 12:09:58 +08:00
tangbin
e277370372 infos copyright add brand_en&brand_cn 2021-03-04 11:17:05 +08:00
Zexi Li
875b7083c3 Merge pull request #10301 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
feat(mcclient,itsm): modify itsm mcclient rpc func
2021-03-04 10:01:02 +08:00
Zexi Li
b232b1693e Merge pull request #10303 from ioito/feat/qx-nat
feat(region): nat op support
2021-03-04 09:59:57 +08:00
Zexi Li
68c29af5f2 Merge pull request #10299 from tb365/bugfix/tb-bugfix-030101
redis update tags fix
2021-03-04 09:59:45 +08:00
Qu Xuan
b21e6ff25b feat(region): nat op support 2021-03-03 21:25:32 +08:00
zhaoxiangchun
2bae6527dd feat(mcclient,itsm): modify itsm mcclient rpc func
1.统计返回技术支持工单信息
2021-03-03 17:48:32 +08:00
Zexi Li
34d1d9ec01 Merge pull request #10295 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
feat(monitor): alert policy filter by res_type
2021-03-03 10:27:18 +08:00
Zexi Li
0c744bda44 Merge pull request #10297 from ioito/feat/qx-nat
feat(region): nat op support
2021-03-03 10:26:32 +08:00
Qu Xuan
22937c4afb feat(region): nat op support 2021-03-02 20:55:22 +08:00
tangbin
c45573b779 redis update tags fix 2021-03-02 16:36:38 +08:00
zhaoxiangchun
e37ee880f9 feat(monitor): alert policy filter by res_type
1.增加资源类型的过滤处理
2.报警消息内容处理
2021-03-02 16:11:32 +08:00
Zexi Li
0eeb75d945 Merge pull request #10292 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
fix(monitor): fix monitor export err
2021-03-02 14:29:34 +08:00
zhaoxiangchun
97c107f7e9 fix(monitor): fix monitor export err
1.修复监控导出报错
2.db_dispatcher.ListItems 方法中对exportKeys的处理新增了一个方法
2021-03-02 11:52:44 +08:00
Zexi Li
5c3f40d3ae Merge pull request #10289 from swordqiu/hotfix/qj-adjust-default-policy-name
fix(keystone): adjust default system policy names
2021-03-02 10:16:40 +08:00
yunion-ci-robot
01520577f9 Merge pull request #10286 from zexi/hotfix/windows-umount-leak
fix(hostdeployer): windows rootfs umount leak
2021-03-02 10:11:21 +08:00
Zexi Li
b72f60f340 fix(hostdeployer): windows rootfs umount leak 2021-03-02 09:51:41 +08:00
yunion-ci-robot
3d35618c87 Merge pull request #10284 from yousong/bugfix/yousong-net-server-type-no-update
networks: server_type: do not allow update
2021-03-01 22:12:26 +08:00
Qiu Jian
222f9cdebe fix(keystone): adjust default system policy names 2021-03-01 21:28:28 +08:00
Yousong Zhou
d54fdf6e71 networks: server_type: do not allow update
Transition between guest, baremetal, ipmi, eip, etc. all requires
sanity checks on relevant types allocated from the network
2021-03-01 19:05:44 +08:00
Zexi Li
c0438d45f1 Merge pull request #10208 from rainzm/fix/wire_merge
fix(region): pull the network correctly
2021-03-01 11:39:39 +08:00
Zexi Li
3eeabaa295 Merge pull request #10278 from swordqiu/hotfix/qj-baremetal-fail-to-power-off-soft
fix(baremetal-agent): baremetal fail to stop due to power off soft failed
2021-03-01 10:13:10 +08:00
yunion-ci-robot
c551a2dcc0 Merge pull request #10276 from yousong/bugfix/yousong-cloudproxy
Bugfix/yousong cloudproxy
2021-02-27 21:52:19 +08:00
Qiu Jian
75d7b30d2d fix(baremetal-agent): baremetal fail to stop due to power off soft
failed
2021-02-27 21:47:48 +08:00
Yousong Zhou
d9b3d3ee85 cloudproxy: agent: refresh bindAddr, advertiseAddr when needed 2021-02-26 19:19:38 +08:00
Qiu Jian
e2e18efd15 fix: automatically setup object miemtype when uploading 2021-02-26 14:13:21 +08:00
Zexi Li
d3f06ef1e9 Merge pull request #10270 from ioito/hotfix/qx-cloudevent-sql-optimized
fix(cloudevent): optimized cloudevent sql
2021-02-25 11:35:34 +08:00
Qu Xuan
8837b2d64c fix(cloudevent): optimized cloudevent sql 2021-02-25 11:32:14 +08:00
Zexi Li
01729ded9c Merge pull request #10261 from swordqiu/hotfix/qj-objectstore-put-object-in-directory
feature(climc): support put objects in directory
2021-02-25 11:25:01 +08:00
Zexi Li
0437633ba5 Merge pull request #10262 from swordqiu/hotfix/qj-avoid-compare-id-with-utf8
fix(keystone): ensure comparing id with non-utf8 string
2021-02-25 11:24:11 +08:00
Zexi Li
dea3a973ba Merge pull request #10265 from ioito/hotfix/qx-azure-new-region
fix(region): add azure new region
2021-02-25 11:22:59 +08:00
Qu Xuan
ada5fd0d1b fix(region): add azure new region 2021-02-25 10:22:04 +08:00
Qiu Jian
c68c3f17a2 fix(keystone): ensure comparing id with non-utf8 string 2021-02-25 02:28:50 +08:00
Yousong Zhou
e3e51731ac build: cloudproxy: add dockerfile 2021-02-24 22:22:07 +08:00
Qiu Jian
b264a0eba6 feature(climc): support put objects in directory 2021-02-24 21:47:28 +08:00
yunion-ci-robot
36b2580e88 Merge pull request #10176 from yousong/feature/yousong-cloudproxy
Feature/yousong cloudproxy
2021-02-24 19:51:38 +08:00
Zexi Li
5471cd6357 Merge pull request #10254 from ioito/hotfix/qx-aliyun-request
fix(region): aliyun request retry
2021-02-24 18:09:41 +08:00
Zexi Li
ec790a8105 Merge pull request #10256 from ioito/hotfix/qx-qcloud-start-vm
fix(region): optimized qcloud error code
2021-02-24 16:53:05 +08:00
Zexi Li
8ec37ed233 Merge pull request #10258 from tb365/bugfix/tb-bugfix-022401
fix(region): redis change spec bugfix
2021-02-24 16:06:24 +08:00
tangbin
e08c07bb8d fix(region): redis change spec bugfix 2021-02-24 11:19:01 +08:00
Qu Xuan
34c6c52575 fix(region): optimized qcloud error code 2021-02-23 20:43:05 +08:00
Yousong Zhou
1bcaa9b3fc climc: add commands for cloudproxy 2021-02-23 15:32:56 +08:00
Yousong Zhou
22145cbe0f cloudproxy: initial version 2021-02-23 15:31:47 +08:00
Yousong Zhou
4c550665fb apihelper: move to yunion.io/x/onecloud/pkg/{vpcagent/,}apihelper 2021-02-23 15:31:44 +08:00
Yousong Zhou
8ab1db998f mcclient: models: Server: add fields for eip and nics 2021-02-23 15:29:12 +08:00
Yousong Zhou
44871c6b1c ansibleserver: use mcclient module method for fetching keypair info 2021-02-23 15:29:12 +08:00
Yousong Zhou
21032a1df7 mcclient: Sshkeypairs: add FetchPrivateKey 2021-02-23 15:29:12 +08:00
Yousong Zhou
87f93c2872 mcclient: auth: add SessionCache 2021-02-23 15:29:12 +08:00
Yousong Zhou
2f7bd7a7a2 validators: set xx_id when possible 2021-02-23 15:29:12 +08:00
Qu Xuan
0a06c7486e fix(region): aliyun request retry 2021-02-23 11:55:11 +08:00
Zexi Li
9f09117cd6 Merge pull request #10224 from ioito/hotfix/qx-aws-cloudtrail
fix(region): optimized aws cloudtrail sync
2021-02-22 21:25:13 +08:00
Zexi Li
bba0e9f3d6 Merge pull request #10223 from swordqiu/hotfix/qj-host-deployer-mount-retry
fix(host-deployer): mount may fail to lock /etc/mtab, add retrier
2021-02-22 21:18:27 +08:00
Zexi Li
644d706c97 Merge pull request #10246 from ioito/hotfix/qx-aws-region-err
fix(region): more details for get aws region error
2021-02-22 21:14:07 +08:00
Zexi Li
710a1c0884 Merge pull request #10231 from tb365/bugfix/tb-bugfix-022202
Bugfix/tb bugfix 022202
2021-02-22 21:13:28 +08:00
Zexi Li
d363806dc3 Merge pull request #10244 from ioito/hotfix/qx-rds-fix
fix(region): fix rds tag set error
2021-02-22 21:05:44 +08:00
Qu Xuan
b02fb7eac0 fix(region): more details for get aws region error 2021-02-22 20:52:51 +08:00
Zexi Li
2e1d654986 Merge pull request #10227 from ioito/hotfix/qx-qcloud-quota-sync
fix(region): qcloud quota sync
2021-02-22 20:42:31 +08:00
Zexi Li
deb18965a2 Merge pull request #10233 from ioito/feat/qx-peer-secgroup
fix(region): support peer secgroup
2021-02-22 20:39:36 +08:00
Qu Xuan
5882c20419 fix(region): fix rds tag set error 2021-02-22 20:04:44 +08:00
Zexi Li
184ea3da62 Merge pull request #9071 from zexi/feature/k8s-cluster-addon-opt
feat(climc): k8s cluster addon add enable native ip alloc option
2021-02-22 19:51:04 +08:00
Zexi Li
23a2a1a702 Merge pull request #10234 from ioito/hotfix/qx-dns-zone-sync
fix(region): avoid not sync dns zone
2021-02-22 19:49:12 +08:00
Zexi Li
8dfd53bfc4 Merge pull request #10240 from tb365/bugfix/tb-bugfix-022203
fix(region): set redis reboot timeout to 30 mins
2021-02-22 19:47:53 +08:00
tangbin
a8aa18f0d3 fix(region): set redis reboot timeout to 30 mins 2021-02-22 18:40:11 +08:00
Qu Xuan
7417452ec6 fix(region): support peer secgroup 2021-02-22 16:18:36 +08:00
Qu Xuan
da83837b69 fix(region): avoid not sync dns zone 2021-02-22 16:13:32 +08:00
TangBin
4875397252 fix(region): aws rebuild instance os_arch mismatch fix 2021-02-22 15:05:43 +08:00
TangBin
dac711343e aws change flavor fix 2021-02-22 15:05:33 +08:00
Qu Xuan
d1de64ce0d fix(region): qcloud quota sync 2021-02-22 14:55:02 +08:00
Qu Xuan
941ff2992a fix(region): optimized aws cloudtrail sync 2021-02-22 11:39:35 +08:00
Zexi Li
41dabf28cc Merge pull request #10213 from swordqiu/feature/qj-support-aws-organization
feature(region): support AWS organization
2021-02-22 09:45:32 +08:00
Qiu Jian
63bbd5c343 fix(host-deployer): mount may fail to lock /etc/mtab, add retrier 2021-02-22 09:18:27 +08:00
Zexi Li
a757361465 Merge pull request #10202 from swordqiu/feature/qj-live-migration-skip-cpu-check
feature(compute): allow live migration without checking Host CPU modes
2021-02-22 08:59:16 +08:00
Qiu Jian
c6cd80351b fix: add more organization command 2021-02-20 23:11:47 +08:00
Zexi Li
a323921f8b Merge pull request #10214 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
feat(monitor): monitor add trigger value when send notify info
2021-02-20 19:32:26 +08:00
Zexi Li
93def21110 Merge pull request #10217 from tb365/bugfix/tb-bugfix-01021902
server create sku parameter fix
2021-02-20 19:31:40 +08:00
Zexi Li
72de1aed3a Merge pull request #10220 from ioito/hotfix/qx-rebuild-root-stage
fix(region): set next stage for start vm
2021-02-20 19:30:01 +08:00
Qu Xuan
39dfce961a fix(region): set next stage for start vm 2021-02-20 16:43:30 +08:00
TangBin
176f32e802 server create sku parameter fix 2021-02-19 19:42:20 +08:00
Qiu Jian
6815f63c12 fix: get region nil pointer error 2021-02-19 18:59:36 +08:00
Qiu Jian
567990df19 feature(region): support AWS organization 2021-02-19 15:39:40 +08:00
zhaoxiangchun
0e7a043502 feat(monitor): monitor add trigger value when send notify info
1.监控消息中增加触发值
2021-02-19 10:28:46 +08:00
Zexi Li
5e21790ad4 Merge pull request #10210 from tb365/bugfix/tb-bugfix-021801
change os_arch_arm to os_arch_aarch64
2021-02-18 15:01:11 +08:00
Zexi Li
28e97ba711 Merge pull request #9904 from rainzm/notify/subs
Notification Subscription
2021-02-18 11:52:52 +08:00
tangbin
03d96ca48b change os_arch_arm to os_arch_aarch64 2021-02-18 11:27:33 +08:00
rainzm
fd7b2a7ff1 feat(notify): remove disk's event notify for now 2021-02-18 11:21:25 +08:00
rainzm
c7b8d88d75 feat(notify): be compatible with mobile in event notify 2021-02-18 11:21:25 +08:00
rainzm
334a47e383 feat(keystone): support filter 'project_domain_id' in role_assignments 2021-02-18 11:21:25 +08:00
rainzm
31c23b45b2 feat: change go version from 1.12 to 1.13 in go.mod 2021-02-18 11:21:25 +08:00
rainzm
340b914db2 update vendor 2021-02-18 11:21:25 +08:00
rainzm
650e25560c fix(notify): get the receiver corresponding to the role correctly 2021-02-18 11:21:25 +08:00
rainzm
c67bd977ee feat: call EventNotify when event occurs 2021-02-18 11:21:25 +08:00
Zexi Li
88cd588c72 Merge pull request #10205 from swordqiu/hotfix/qj-host-search-by-ip
fix(region): host search by any ip
2021-02-18 11:16:58 +08:00
rainzm
b45edf2f18 feat: support EventNotify 2021-02-18 11:16:57 +08:00
rainzm
a6b24e373d feat(notify): add local template 2021-02-18 11:14:58 +08:00
rainzm
3719b8b7f1 feat(notify): add subscription in notify 2021-02-18 11:14:58 +08:00
rainzm
f352cf4e31 feat(cloudcommon): add rolecache
rolecache 在原有cache的基础上,使用了 watch
的功能,所以数据的过期时间可以调的高一些,这里使用
roleCacheExpireHours 进行控制,默认设置为24小时。
2021-02-18 11:14:58 +08:00
rainzm
f204b5e605 feat(util): support uint64 in bitmap
The bitmap feature of low-digit uint type can be implemented by this of uint64
2021-02-18 11:14:58 +08:00
rainzm
b3d876a6c7 fix(region): pull the network correctly 2021-02-18 10:52:47 +08:00
Jian Qiu
9ba3709b31 fix(keystone): policy name duplication (#10199)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-14 19:13:51 +08:00
Qiu Jian
b459bc7e8b fix(region): host search by any ip 2021-02-13 23:11:03 +08:00
Qiu Jian
3944d9ce07 feature(compute): allow live migration with checking Host CPU modes 2021-02-13 16:30:56 +08:00
yunion-ci-robot
3587659de8 Merge pull request #10197 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
fix(monitor): fix 报警静默期和未恢复告警策略的兼容
2021-02-09 13:13:01 +08:00
zhaoxiangchun
8fb4e1555b fix(monitor): fix 报警静默期和未恢复告警策略的兼容
1.处于告警静默期内的报警策略仍可以在未恢复告警策略中进行查询
2021-02-09 12:50:05 +08:00
Jian Qiu
010049e5e3 fix(keystone): hide system scope policies in domain scope view (#10194)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-08 12:16:45 -03:00
Jian Qiu
3bb48e9371 fix(scheduler): storage medium type should not exact match (#10190)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-08 12:16:28 -03:00
yunion-ci-robot
1b9d0f0de6 Merge pull request #10149 from wanyaoqi/feat/wyq/deb-build-script
chore(utils): add deb build script
2021-02-08 05:50:58 +08:00
yunion-ci-robot
b61f527ada Merge pull request #10189 from zhasm/hotfix/rex-arm64-for-host
host 编译跨平台兼容
2021-02-07 19:02:02 +08:00
Zhang Dongliang
c7782f2404 host 编译跨平台兼容 2021-02-07 18:58:00 +08:00
yunion-ci-robot
e65fd35f8f Merge pull request #10183 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
fix(monitor,host): replace space to '+' when write to influxdb and replace '+' to space  when query
2021-02-07 16:07:00 +08:00
zhaoxiangchun
1e08a51999 fix(monitor,host): replace space to '+' when write to influxdb and replace '+' to space when query
1.写入influxdb时tag 中不允许存在空格
2021-02-07 14:57:14 +08:00
Jian Qiu
c96c0cc267 fix(apigateway): add auth/stats api to retrieve system info (#10181)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-06 22:41:14 -03:00
yunion-ci-robot
3871cf0076 Merge pull request #10179 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
fix(monitor): fix update alert duration fail
2021-02-06 20:49:34 +08:00
zhaoxiangchun
be4b9a580b fix(monitor): fix update alert duration fail
1.修复无法更新报警持续周期的问题
2021-02-06 19:51:54 +08:00
Zexi Li
1d94da1b6a Merge pull request #10177 from tb365/bugfix/tb-bugfix-01020601
imagetools NormalizeImageInfo update
2021-02-06 18:39:28 +08:00
Zexi Li
902081c7bf Merge pull request #10166 from tb365/bugfix/tb-bugfix-01020502
warp aws err with errors.Wrap
2021-02-06 18:38:45 +08:00
yunion-ci-robot
93faf828dd Merge pull request #10146 from zexi/feature/baremetal-h3c-oem
Feature/baremetal h3c oem
2021-02-06 13:32:24 +08:00
TangBin
dba28b7fae imagetools NormalizeImageInfo update 2021-02-06 12:26:27 +08:00
Zexi Li
f21ca16f20 Merge pull request #10169 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
feat(monitor): alert record add silentPeriod info
2021-02-06 10:36:43 +08:00
Zexi Li
16e7c86a16 Merge pull request #10173 from swordqiu/hotfix/qj-cas-sso-create-duplicate-projects
fix(keystone): cas sso may create new project whenever user login
2021-02-06 10:35:46 +08:00
Zexi Li
d23063b86b Merge pull request #10171 from swordqiu/hotfix/qj-idp-match-sso-domain
fix(keystone): idp filter by sso_domain returns domain's idp only
2021-02-06 10:35:05 +08:00
Qiu Jian
515a4de9bc fix(keystone): cas sso may create new project whenever user login 2021-02-06 03:12:02 +08:00
Qiu Jian
01abd8997c fix(keystone): idp filter by sso_domain returns domain's idp only 2021-02-06 02:54:00 +08:00
zhaoxiangchun
730c13b837 feat(monitor): alert record add silentPeriod info
1.报警记录中增加静默期等信息
2021-02-05 19:56:38 +08:00
Zexi Li
ce9848e85a Merge pull request #10133 from rainzm/fix/merge_wire
fix(region): init and change status
2021-02-05 17:29:31 +08:00
Zexi Li
00c597f5dd Merge pull request #10135 from ioito/hotfix/qx-sku-disable
fix(region,scheduler): filter enabled skus
2021-02-05 14:55:23 +08:00
Zexi Li
c3f226e34f Merge pull request #10143 from swordqiu/hotfix/qj-try-channel-8-for-default-baremetal-profile
fix(baremetal): try channel 8 for default profile
2021-02-05 14:54:15 +08:00
Zexi Li
e309bce029 Merge pull request #10154 from ioito/hotfix/qx-action-log-distinct-field
fix(logger): distinct field optimized for logger
2021-02-05 14:53:32 +08:00
Zexi Li
2506aabcef Merge pull request #10163 from ioito/hotfix/qx-role-sync-policy
fix(cloudid): sync role policy
2021-02-05 14:36:07 +08:00
Zexi Li
e1d3ef31dd Merge pull request #10152 from rainzm/notice/domain
To support domain notice
2021-02-05 14:35:17 +08:00
rainzm
2283caa460 fix(region): fetch wires correctly 2021-02-05 14:33:57 +08:00
Qu Xuan
04afc689e9 fix(cloudid): sync role policy 2021-02-05 13:59:19 +08:00
TangBin
3f4094e9df warp aws err with errors.Wrap 2021-02-05 13:47:16 +08:00
Zexi Li
c98df7d8ff Merge pull request #10156 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
fix(monitor): 3.7 nodata and alertOverview fix
2021-02-05 09:42:07 +08:00
Jian Qiu
1af001357f fix(keystone): add alertrecords to default dashboard permission (#10160)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-05 02:57:34 +08:00
Jian Qiu
7191d9df10 fix(apigateway): add enable_quota_check and return-domain-list (#10158)
attributes to fe params

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-05 02:56:47 +08:00
zhaoxiangchun
4e0ce5b9e8 fix(monitor): 3.7 nodata and alertOverview fix
1.nodata相关逻辑调整
2.监控总览视图穿透,报警数量不一致问题修复
2021-02-04 20:52:53 +08:00
Qu Xuan
2cfbda9a59 fix(logger): distinct field optimized for logger 2021-02-04 20:40:07 +08:00
rainzm
45159e2ec3 refactor(climc): use shell.NewResourceCmd for notice 2021-02-04 17:33:54 +08:00
rainzm
ec4dfc471a fix(cloudcommon): use NewGeneralError to construct error 2021-02-04 17:06:25 +08:00
wanyaoqi
429b872664 chore(utils): add deb build script 2021-02-04 14:40:09 +08:00
Zexi Li
3a3675108e feat(baremetal): support H3C oem baremetal 2021-02-04 14:09:58 +08:00
yunion-ci-robot
9c6b15033f Merge pull request #10140 from swordqiu/hotfix/qj-remove-invalid-bucket-size-stats
fix(region): bucket size stats should not count invalid sizes of -1
2021-02-04 13:16:51 +08:00
Qiu Jian
fee2ef355a fix(baremetal): try channel 8 for default profile 2021-02-04 12:58:26 +08:00
Zexi Li
92c9019eaf Merge pull request #10137 from ioito/hotfix/qx-disk-delete
fix(region): delete not exist disk failed
2021-02-04 11:36:56 +08:00
Qiu Jian
0733e4575a fix(region): bucket size stats should not count invalid sizes of -1 2021-02-04 11:13:47 +08:00
Qu Xuan
5aa26cd36c fix(region): delete not exist disk failed 2021-02-04 11:00:55 +08:00
Qu Xuan
4a6474caff fix(region,scheduler): filter enabled skus 2021-02-03 20:42:24 +08:00
Zexi Li
8c20bd78a7 Merge pull request #10130 from ioito/hotfix/qx-kvm-disk-create
fix(hostman): fix kvm create disk failed error
2021-02-03 20:38:12 +08:00
rainzm
be5d6ca77b fix(wire): init and change status 2021-02-03 20:24:55 +08:00
Qu Xuan
bf6cadd5aa fix(hostman): fix kvm create disk failed error 2021-02-03 20:08:56 +08:00
Zexi Li
69a5898392 Merge pull request #10127 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
feat(monitor): alert add silent period param
2021-02-03 18:20:20 +08:00
Zexi Li
45bb9e2dd4 Merge pull request #10041 from lvyangyang/aws-elasticache
feat(region): aws elasticahe
2021-02-03 18:14:43 +08:00
Zexi Li
a563e4f608 Merge pull request #9723 from rainzm/vmware/dvs_wire
Optimization of vmware network
2021-02-03 18:06:45 +08:00
Zexi Li
1971ff9974 Merge pull request #10126 from ioito/hotfix/qx-distinct-field
fix(cloudevent): add distinct filed for cloudevent
2021-02-03 17:59:57 +08:00
Qu Xuan
cdd111ca00 fix(cloudevent): add distinct filed for cloudevent 2021-02-03 17:48:24 +08:00
rainzm
6309e2da85 feat(region): add host count when list wires 2021-02-03 14:37:06 +08:00
zhaoxiangchun
352fc030e4 feat(monitor): alert add silent period param
1. 报警静默期支持
2021-02-03 13:06:13 +08:00
rainzm
a4d3d5fa39 feat(region): support merging mutli wires to a wire 2021-02-03 12:08:23 +08:00
rainzm
4be58eef5a feat(esxiagent): determine vs by bridge and network when creating vm 2021-02-03 12:08:23 +08:00
rainzm
2177b62110 feat(region): support merging wire
1. support merging networks under a wire
2. auto merge networks under a wire when set 'merge_network' when merge
this wire
2021-02-03 12:08:23 +08:00
rainzm
e2bbb4e739 feat(region): sync Esxi HostWire for esxi host 2021-02-03 12:00:24 +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
rainzm
e4fc71eca6 feat(esxi): fetch vmware network configuration info
1. vswitch and distributed vswitch info
2. ip, vlanId and vswitch of host and vm
2021-02-03 11:57:24 +08:00
Zexi Li
392174825d Merge pull request #10096 from ioito/hotfix/qx-vpc-filter
fix(region): filter resource by classic vpc
2021-02-03 09:48:13 +08:00
Zexi Li
10d859023f Merge pull request #10099 from ioito/hotfix/qx-hostman-disk-action
fix(hostman): avoid panic when disk is nil
2021-02-03 09:47:21 +08:00
Zexi Li
b2ed0dd5ba Merge pull request #10102 from rainzm/vmware/iso
feat(esxi): support iso when creating vm
2021-02-03 09:45:56 +08:00
yunion-ci-robot
97be7e553a Merge pull request #10091 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
fix(monitor): fix alert duration
2021-02-02 23:46:37 +08:00
zhaoxiangchun
70c9dd397f feat(monitor): meter相关报警内容处理
1. meter 相关单位处理
2. 报警静默配置
3. meter 短信模版
2021-02-02 23:34:17 +08:00
zhaoxiangchun
ac0bb066d5 fix(monitor): fix alert duration
1.修改报警连续周期逻辑
2021-02-02 23:11:03 +08:00
Zexi Li
3a49f1a6ab Merge pull request #10109 from ioito/hotfix/qx-huawei-subaccount
fix(region): avoid sync huawei unusable account
2021-02-02 22:06:22 +08:00
Zexi Li
8dc1e4e1eb Merge pull request #10104 from ioito/hotfix/qx-network-delete
fix(region): delete virtual nics with network
2021-02-02 20:59:00 +08:00
Zexi Li
52d1cffbb4 Merge pull request #10114 from yousong/bugfix/yousong-usage
Bugfix/yousong usage
2021-02-02 20:13:43 +08:00
Zexi Li
3660dc2596 Merge pull request #10117 from wanyaoqi/fix/wyq/add-option-auto-reconcile-backup-servers
fix(region): add option auto reconcile backup servers
2021-02-02 20:09:13 +08:00
Zexi Li
06e8cf64f5 Merge pull request #10122 from rainzm/preparenets/fix
fix(region): check the global network situation when expanding the network
2021-02-02 20:05:54 +08:00
Zexi Li
cd443b9421 Merge pull request #10113 from rainzm/notify/email_style
feat(notify): verification email style optimization
2021-02-02 20:05:00 +08:00
rainzm
5906cf8a0d fix(region): check the global network situation when expanding the network 2021-02-02 19:43:24 +08:00
wanyaoqi
37a479075b fix(region): add option auto reconcile backup servers 2021-02-02 17:52:45 +08:00
rainzm
195e3c5c63 feat(notify): verification email style optimization 2021-02-02 16:09:27 +08:00
Yousong Zhou
79a4f27ec5 region: usages: add [{all,domain}.]networks etc. 2021-02-02 16:07:03 +08:00
Yousong Zhou
b471c727a3 region: wires: totalCountQ: filter networks by scope and owner 2021-02-02 16:07:02 +08:00
Yousong Zhou
aa60527b8d region: usages: fix field name of vpcs for system scope 2021-02-02 16:07:02 +08:00
Qu Xuan
38266154b9 fix(region): avoid sync huawei unusable account 2021-02-02 14:31:01 +08:00
Qu Xuan
f78fa04b1c fix(region): delete virtual nics with network 2021-02-02 10:51:33 +08:00
rainzm
cd97edf07d feat(esxi): support iso when creating vm 2021-02-02 10:33:17 +08:00
Qu Xuan
19705cc05f fix(hostman): avoid panic when disk is nil 2021-02-01 22:02:03 +08:00
Zexi Li
fb4156499c Merge pull request #10093 from ioito/hotfix/qx-metadata-sync
fix(region): avoid update tags task loop
2021-02-01 20:34:32 +08:00
Qu Xuan
6bb9098d0d fix(region): filter resource by classic vpc 2021-02-01 20:14:00 +08:00
Qu Xuan
965315ac77 fix(region): avoid update tags task loop 2021-02-01 19:56:40 +08:00
Zexi Li
5b800ea1c3 Merge pull request #9901 from wanyaoqi/feature/wyq/glance-support-s3
feat(glance): support backend storage s3
2021-02-01 09:56:38 +08:00
Zexi Li
870e2b90d1 Merge pull request #10067 from swordqiu/hotfix/qj-sso-create-user-duplicate-name
fix(keystone): SSO created user name may be duplicated
2021-01-30 10:41:47 +08:00
Zexi Li
4b4dc8ceec Merge pull request #10073 from wanyaoqi/bugfix/wyq/remove-escape-character-on-windows-passwd
fix(host-deployer): remove escape character on windows passwd
2021-01-30 10:39:58 +08:00
Zexi Li
a2a9686042 Merge pull request #10079 from zhaoxiangchun/bugfix/zxc-commonalert
fix(monitor): modify nodata feishu notifyinfo; fix send email err
2021-01-30 10:37:55 +08:00
Zexi Li
89bef2ccad Merge pull request #10081 from rainzm/notify/imobile_default
feat(notify): add default area code for mobile
2021-01-30 10:37:26 +08:00
Zexi Li
1ff61b0a89 Merge pull request #10083 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
fix(monitor): fix alert notify info do not contain resourceName
2021-01-30 10:37:06 +08:00
Zexi Li
79d598b128 Merge pull request #10086 from rainzm/notify/type-get
fix(notify): be compatible with member's permission changes
2021-01-30 10:36:22 +08:00
Zexi Li
0c2e2d2137 Merge pull request #10087 from rainzm/al/onlyone
fix(keystone): avoid repeated abnormal login notifications
2021-01-30 10:35:54 +08:00
rainzm
95de795c8b fix(notify): be compatible with member's permission changes
every user can create, modify and delete their own receiver info
2021-01-29 20:09:41 +08:00
rainzm
21d8b7226e fix(keystone): avoid repeated abnormal login notifications 2021-01-29 20:05:05 +08:00
zhaoxiangchun
ec589c4703 fix(monitor): fix alert notify info do not contain resourceName 2021-01-29 18:13:57 +08:00
zhaoxiangchun
e2a5addc2f fix(monitor): modify nodata feishu notifyinfo; fix send email err
1.修改nodata报警消息内容
2.修复发送邮件数量异常的bug
2021-01-29 13:05:24 +08:00
wanyaoqi
11896e65d3 fix(host-deployer): remove escape character on windows passwd 2021-01-29 11:52:42 +08:00
lvyangyang
36e5c9ccff feat(region): aws elasticahe 2021-01-28 22:07:33 -05:00
Jian Qiu
b2e00a8adb fix(apigateway): ignore fetch IDP errors in getRegions (#10070)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-01-29 02:34:47 +08:00
Qiu Jian
209ba5d549 fix(keystone): SSO created user name may be duplicated 2021-01-28 23:34:52 +08:00
Zexi Li
b8b4c16c87 Merge pull request #10035 from ioito/hotfix/qx-task-err
fix(region): avoid worker discarded after state unchanged
2021-01-28 20:50:16 +08:00
Zexi Li
81ad75ca2b Merge pull request #10037 from zhaoxiangchun/feautre/zxc-monitor-notify-mobile
feat(monitor): monitor alert policy add mobile notify
2021-01-28 20:49:32 +08:00
Zexi Li
b3b94509fc Merge pull request #10039 from yousong/feature/yousong-opslog-joint
feat(cloudcommon): opslog: log joint models
2021-01-28 20:48:43 +08:00
Zexi Li
ee852c38a6 Merge pull request #10042 from rainzm/keystone/login
Optimize the error message when logging in
2021-01-28 20:48:01 +08:00
Zexi Li
e18628bc57 Merge pull request #10053 from yousong/feature/yousong-hostman-sdn-options
feat(hostman): options: add sdn_allow_conntrack_invalid
2021-01-28 20:47:10 +08:00
Zexi Li
a79f0c2f4a Merge pull request #10055 from ioito/hotfix/qx-aliyun-balance
fix(region): add aliyun credit amount check
2021-01-28 20:46:45 +08:00
Zexi Li
51f31058ea Merge pull request #10059 from ioito/hotfix/qx-huawei-credit-amount
fix(region): add huawei credit amount check
2021-01-28 20:46:04 +08:00
Zexi Li
f374d85ed6 Merge pull request #10063 from ioito/hotfix/qx-http-client
fix(region): avoid stuck at http request
2021-01-28 20:03:41 +08:00
rainzm
70c767c10c feat(notify): add default area code for mobile 2021-01-28 19:31:53 +08:00
Qu Xuan
e59ae6c416 fix(region): avoid stuck at http request 2021-01-28 18:18:48 +08:00
Zexi Li
dffeb37260 Merge pull request #10008 from rainzm/notify/area_code
feat(notify): support international mobile
2021-01-28 17:24:50 +08:00
Qu Xuan
86bd47d3fd fix(region): add huawei credit amount check 2021-01-28 16:19:07 +08:00
Qu Xuan
1d641f8b16 fix(region): add aliyun credit amount check 2021-01-28 16:00:15 +08:00
Yousong Zhou
9ddb01a95d feat(hostman): options: add sdn_allow_conntrack_invalid 2021-01-28 15:21:33 +08:00
Zexi Li
dbf219bcca Merge pull request #10048 from ioito/hotfix/qx-secgroup-priority-fix
fix(region): secgroup priority fix
2021-01-28 15:11:52 +08:00
Qu Xuan
e7407d3687 fix(region): secgroup priority fix 2021-01-28 14:20:21 +08:00
zhaoxiangchun
5c2d88c6d9 feat(monitor): monitor alert policy add mobile notify
1.报警策略增加短信通知
2021-01-28 11:00:46 +08:00
rainzm
b83c26f1f3 feat(locale): update 2021-01-28 10:07:40 +08:00
rainzm
d67ded441e feat(apigateway): differentiate error messages when logging in 2021-01-28 10:07:40 +08:00
rainzm
1c325f747d feat(keystone): more specific error return during authentication
add error class UserNotFound, UserLocked, UserDisabled and WrongPassword
2021-01-28 10:07:36 +08:00
Yousong Zhou
e5d79d1850 Merge pull request #10032 from yousong/feature/yousong-wire-bw-filter
Feature/yousong wire bw filter
2021-01-27 18:53:59 +08:00
Yousong Zhou
0cfc5f2311 feat(cloudcommon): opslog: log joint models 2021-01-27 18:48:18 +08:00
Qu Xuan
74eeb43e4d fix(region): avoid worker discarded after state unchanged 2021-01-27 14:57:27 +08:00
Zexi Li
1df08f28b1 Merge pull request #9963 from lvyangyang/azure-rds
feat(region): azure rds
2021-01-27 14:38:07 +08:00
Yousong Zhou
57eceae70d feat(climc): wires: allow filter by bandwidth 2021-01-27 10:31:20 +08:00
Yousong Zhou
2fe912f51a feat(region): wire: allow filter by bandwidth 2021-01-27 10:31:20 +08:00
Zexi Li
ed33cd4464 Merge pull request #9944 from rainzm/notify/index
fix(notify): add index fro receiver_notification
2021-01-27 09:05:34 +08:00
Zexi Li
100d1559ad Merge pull request #10019 from zhaoxiangchun/feature/zxc-alerthistory-overview-master
fix(monitor): modify alertrecord list input
2021-01-27 09:04:22 +08:00
Zexi Li
c37e8792f3 Merge pull request #10025 from ioito/hotfix/qx-snapshot-purge
fix(region): purge snapshot with not status check
2021-01-27 09:01:57 +08:00
Zexi Li
af16fcb0bb Merge pull request #10030 from ioito/hotfix/qx-optimized-azure-saml
fix(cloudid): fix azure saml provider delete error
2021-01-27 08:59:42 +08:00
Qu Xuan
13eaa4eb5d fix(cloudid): fix azure saml provider delete error 2021-01-26 16:48:21 +08:00
Zexi Li
a94cafb3f7 Merge pull request #10002 from lvyangyang/locals-zhCn-fix
fix(region): vpcpeering error message translation
2021-01-26 16:14:46 +08:00
Zexi Li
39c247fd6b Merge pull request #10018 from ioito/hotfix/qx-secgroup-fix
fix(region): optimized secgroup rule sync
2021-01-26 14:53:16 +08:00
Qu Xuan
7b7ed59dd8 fix(region): purge snapshot with not status check 2021-01-26 14:46:59 +08:00
Qu Xuan
48b03cbaad fix(region): optimized secgroup rule sync 2021-01-26 11:48:50 +08:00
zhaoxiangchun
ce02a6556b fix(monitor): modify alertrecord list input
1.修改资源类型查询参数
2021-01-26 10:22:11 +08:00
Zexi Li
7ba1778e2f Merge pull request #10010 from swordqiu/hotfix/qj-export-vpc-less-than-listed
fix(region): exported number of vpcs less than listed
2021-01-25 21:06:12 +08:00
Zexi Li
aef5ba5090 Merge pull request #10003 from wanyaoqi/bugfix/wyq/fix-umount-fusefs
fix(host): fix wait time after execute mount fuse fs
2021-01-25 21:04:32 +08:00
Zexi Li
f350e0973c Merge pull request #10013 from swordqiu/hotfix/qj-no-pass-user-can-login
fix(keystone): user create without password can login with any password
2021-01-25 21:03:21 +08:00
Qiu Jian
65096570a5 fix(keystone): user create without password can login with any password 2021-01-23 23:47:07 +08:00
yunion-ci-robot
47ba4f6915 Merge pull request #9995 from ioito/hotfix/qx-aws-public-ip
fix(region): aws not support create server with public ip
2021-01-23 22:43:34 +08:00
Qiu Jian
0868fc815f fix(region): exported number of vpcs less than listed 2021-01-23 20:07:17 +08:00
rainzm
019e70f602 feat(notify): support international mobile 2021-01-22 20:01:43 +08:00
wanyaoqi
c6a7ddc444 fix(host): fix wait time after mount fuse fs 2021-01-22 19:11:24 +08:00
lvyangyang
8cf11aa3f9 fix(region): vpcpeering error message translation 2021-01-22 04:36:39 -05:00
lvyangyang
1755f55c88 feat(region): azure rds 2021-01-22 04:36:14 -05:00
yunion-ci-robot
d650ba2d77 Merge pull request #9999 from swordqiu/hotfix/qj-recover-locale-from-apigateay
fix(apigateway): recover remove apigateway locale messages
2021-01-22 11:21:03 +08:00
yunion-ci-robot
6fd69f356d Merge pull request #9993 from swordqiu/hotfix/qj-apigateway-return-api-server
fix(apigateway): getRegions return value of api_server
2021-01-22 11:20:04 +08:00
Qiu Jian
9628e1210e fix(apigateway): recover remove apigateway locale messages 2021-01-22 10:45:10 +08:00
Qu Xuan
1e3d38acc1 fix(region): aws not support create server with public ip 2021-01-22 10:42:20 +08:00
Qiu Jian
217a54b9f7 fix(apigateway): getRegions return value of api_server 2021-01-22 04:32:50 +08:00
Zexi Li
7e69faac75 Merge pull request #9966 from ioito/hotfix/qx-aliyun-event
fix(cloudevent): update aliyun lookupevent api
2021-01-22 02:53:03 +08:00
Zexi Li
f797025ca2 Merge pull request #9989 from swordqiu/hotfix/qj-allow-delete-sso-imported-user
fix(keystone): allow delete sso imported non-local user
2021-01-22 02:49:23 +08:00
Zexi Li
4cd9813dc9 Merge pull request #9991 from swordqiu/hotfix/qj-saml-template-support-i18n
fix(cloudid): saml navigation template support i18n
2021-01-22 02:48:47 +08:00
Zexi Li
eb9486647c Merge pull request #9974 from yousong/bugfix/yousong-cloudaccount-sync
fix(region): cloudaccount: allow only one sync func in flight
2021-01-22 02:46:53 +08:00
Qiu Jian
0f68973d72 fix(cloudid): saml navigation template support i18n
saml navigation template support i18n
2021-01-22 00:52:00 +08:00
Zexi Li
d3dd9bba34 Merge pull request #9973 from ioito/hotfix/qx-secgroup-rule-sync-optimized
fix(region): avoid clean all rules when sync secgroups
2021-01-22 00:37:37 +08:00
Qiu Jian
84f776069f fix(keystone): allow delete sso imported non-local user
allow delete SSO imported non-local users
2021-01-21 23:48:53 +08:00
Zexi Li
960cf2a8b0 Merge pull request #9981 from rainzm/notify/webconsole_lang
fix(notify): send websocket messages according to language preference
2021-01-21 21:32:55 +08:00
Zexi Li
1077ac06d8 Merge pull request #9979 from rainzm/fix/login_ab
Send SMS notification for abnormal login
2021-01-21 21:20:41 +08:00
Qu Xuan
17c33bd453 fix(region): avoid clean all rules when sync secgroups 2021-01-21 21:17:03 +08:00
rainzm
09337d9231 fix(notify): send websocket messages according to language preference 2021-01-21 19:42:39 +08:00
rainzm
5b79ad3156 fix(notify): choose template in NotifyFilter 2021-01-21 18:54:03 +08:00
rainzm
1c3eea6886 feat(cloudcommon): send message with mobile in NotifyWithTag 2021-01-21 18:53:44 +08:00
Yousong Zhou
76d3c48339 fix(region): cloudaccount: allow only one sync func in flight
Ref https://github.com/yunionio/onecloud/pull/6859
2021-01-21 16:09:44 +08:00
Qu Xuan
1fdf9031f9 fix(cloudevent): update aliyun lookupevent api 2021-01-21 14:54:48 +08:00
Zexi Li
e3cb88d447 Merge pull request #9958 from ioito/hotfix/qx-saml-trans
fix(cloudid): add en-US html templte
2021-01-21 14:43:13 +08:00
Zexi Li
268a3ee71b Merge pull request #9950 from zhaoxiangchun/feature/zxc-alerthistory-overview-master
feat(monitor): Lists the records that are currently alarting
2021-01-21 14:31:43 +08:00
zhaoxiangchun
609862d606 Merge branch 'master' of https://github.com/yunionio/onecloud into feature/zxc-alerthistory-overview-master 2021-01-21 12:50:00 +08:00
Zexi Li
ce74c44051 Merge pull request #9960 from zhaoxiangchun/bugfix/zxc-alert-domain-list
fix(monitor): domain view can list scope is domain or project alertrecords; fix nodata alert return info
2021-01-21 12:44:43 +08:00
Zexi Li
54823a67ca Merge pull request #9948 from rainzm/keystone/user_lock
feat(keystone,apigateway): return a readable message when the user is locked or disabled
2021-01-20 20:05:44 +08:00
wanyaoqi
a48f0040a8 feat(glance): support backend storage s3 2021-01-20 19:53:03 +08:00
Zexi Li
9b36d50724 Merge pull request #9964 from yousong/bugfix/yousong-climc-cost-report
climc: costreports: fix bad struct tag
2021-01-20 18:47:17 +08:00
Yousong Zhou
9e1ec4438c climc: costreports: fix bad struct tag
panic: Invalid structTag: help:"period of cost report send, example:"month/week/day" json:"period_type"

Fixes b803de0705 ("add cost report module")
2021-01-20 16:27:11 +08:00
zhaoxiangchun
83a6fd7f1f fix(monitor): domain view can list scope is domain or project alertrecords; fix nodata alert return info 2021-01-20 11:46:42 +08:00
Qu Xuan
39025c263e fix(cloudid): add en-US html templte 2021-01-20 10:33:09 +08:00
Zexi Li
74b83736e5 Merge pull request #9934 from rainzm/notify/receivernotification
feat(notify): clean data for receiver_notifications
2021-01-20 03:18:17 +08:00
Zexi Li
704861d810 Merge pull request #9942 from ioito/hotfix/qx-azure-saml-fix
fix(cloudid): azure saml confirm
2021-01-20 03:05:50 +08:00
Zexi Li
6d81f7f295 Merge pull request #9952 from ioito/hotfix/qx-zstack-delete-server
fix(region): fix zstack delete server with local disks
2021-01-20 02:25:24 +08:00
Zexi Li
af485fb8af Merge pull request #9956 from swordqiu/hotfix/qj-filter-sso-domain-with-name
fix(keystone): allow filter identity_providers with name of ssoDomain
2021-01-20 02:22:12 +08:00
Qiu Jian
0886e60928 fix(keystone): allow filter identity_providers with name of ssoDomain
allow filter identity_providers with name of ssoDomain
2021-01-20 00:53:15 +08:00
zhaoxiangchun
aedf73f14c feat(monitor): Lists the records that are currently alarting 2021-01-19 18:39:51 +08:00
Qu Xuan
0d38de3d0a fix(region): fix zstack delete server with local disks 2021-01-19 18:08:34 +08:00
rainzm
c5223f9131 feat(keystone,apigateway): return a readable message when the user is locked or disabled 2021-01-19 17:32:21 +08:00
rainzm
26192eac3b fix(notify): add index fro receiver_notification 2021-01-19 14:32:53 +08:00
Qu Xuan
5eb0c18426 fix(cloudid): azure saml confirm 2021-01-19 02:19:36 +08:00
yunion-ci-robot
1ab8ce581a Merge pull request #9938 from ioito/hotfix/qx-azure-fix
fix(region): azure default subscription id
2021-01-18 21:39:25 +08:00
Qu Xuan
bb9140708e fix(region): azure default subscription id 2021-01-18 21:23:10 +08:00
rainzm
36bae206ac feat(notify): clean data for receiver_notifications 2021-01-18 19:42:47 +08:00
Zexi Li
d7ec9ac2d1 Merge pull request #9930 from rainzm/keystone/alert
fix(keystone): don't send the administrator’s message to the party
2021-01-18 18:04:36 +08:00
Zexi Li
736adf6ad1 Merge pull request #9919 from ioito/hotfix/qx-azure-saml
Hotfix/qx azure saml
2021-01-18 18:03:34 +08:00
Qu Xuan
627503cdc1 feat(cloudid): add azure saml 2021-01-18 14:58:19 +08:00
rainzm
6b25d78ad7 fix(keystone): don't send the administrator’s message to the party 2021-01-18 14:56:34 +08:00
yunion-ci-robot
6b500b5529 Merge pull request #9920 from rainzm/config/admin
feat(keystone): add options to set admin and domain admin role to notify
2021-01-18 12:10:19 +08:00
Zexi Li
53952223ba Merge pull request #9925 from rainzm/notify/optimization
Notify Optimization
2021-01-18 11:46:50 +08:00
rainzm
a23cd05762 fix(notify): add a time limit for resending notifications 2021-01-18 11:09:44 +08:00
rainzm
4ef01d4329 feat(notify): delete the notification 1 month ago and remove the data migration 2021-01-18 11:07:11 +08:00
Zexi Li
e1f4e8f12c Merge pull request #9922 from rainzm/notify/mobile_lang
fix(notify): remote 'lang' filter when contact type is 'mobile'
2021-01-18 10:24:00 +08:00
rainzm
9a98909001 fix(keystone): correctly pass domain id to role-assignments 2021-01-17 20:48:26 +08:00
rainzm
349db2dce8 feat(keystone): add options to set admin and domain admin role to notify 2021-01-17 19:41:09 +08:00
rainzm
9db54d1dd1 fix(notify): remote 'lang' filter when contact type is 'mobile' 2021-01-17 19:36:43 +08:00
yunion-ci-robot
c31368c41b Merge pull request #9910 from ioito/hotfix/qx-azure-disk
fix(region): avoid azure detach disk failed
2021-01-17 11:37:32 +08:00
Jian Qiu
9a7b9bec2d fix(cloudcommon): missing set_meta opslog (#9914)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-01-17 11:32:47 +08:00
Qu Xuan
bec909943b fix(region): avoid azure detach disk failed 2021-01-16 18:35:25 +08:00
yunion-ci-robot
daaa708345 Merge pull request #9907 from zhaoxiangchun/feature/zxc-alerthistory-overview-master
feat(monitor): query reduce percentile
2021-01-16 12:39:28 +08:00
zhaoxiangchun
fa29f3d9b3 feat(monitor): query reduce percentile
1.增加reduce.type == percentile ,进行对应数值处理
2021-01-16 11:58:49 +08:00
Zexi Li
edb904e1e2 Merge pull request #9902 from bistuzx/feature/cost-reports
feat(meter): add cost report module
2021-01-15 18:19:29 +08:00
bistuzx@163.com
b803de0705 add cost report module 2021-01-15 17:59:48 +08:00
Zexi Li
53651de276 Merge pull request #9891 from rainzm/notify/alert_fix
Repair of abnormal login notification
2021-01-15 10:31:01 +08:00
Zexi Li
434f0ecc6f Merge pull request #9888 from ioito/hotfix/qx-optimized-saml-auth
fix(cloudid): optimized saml sso
2021-01-15 09:07:49 +08:00
Zexi Li
f9383f40d2 Merge pull request #9877 from ioito/hotfix/qx-aws-cloudevent
fix(cloudevent): optimized cloudevent sync
2021-01-14 23:55:58 +08:00
Zexi Li
0cb5ff4aa9 Merge pull request #9893 from rainzm/climc/dep_fix
refactor(climc): remove dependence for `yunion.io/x/pkg/cloudcommon/db`
2021-01-14 23:51:39 +08:00
Zexi Li
89600e186b Merge pull request #9895 from ioito/hotfix/qx-google-langtitude-update
fix(region): update google latitude and langtitude
2021-01-14 23:49:44 +08:00
Zexi Li
8aa09dd987 Merge pull request #9899 from yousong/feature/yousong-vpc-order-count
feat(vpcs): list: add order_by_network_count
2021-01-14 23:47:05 +08:00
Yousong Zhou
95a5af1c1d feat(vpcs): list: add order_by_network_count 2021-01-14 22:02:41 +08:00
Qu Xuan
4c6cc713f0 fix(region): update google latitude and langtitude 2021-01-14 20:51:25 +08:00
rainzm
a68888979f refactor(climc): remove dependence for yunion.io/x/pkg/cloudcommon/db 2021-01-14 19:00:55 +08:00
rainzm
052b017cf8 feat(notify): show only users under the domain in the recipient details of the message 2021-01-14 18:15:10 +08:00
rainzm
4269a482b8 fix(notify): be compatible with webconsole type hack 2021-01-14 18:14:22 +08:00
Qu Xuan
ab15a751e4 fix(cloudid): optimized saml sso 2021-01-14 18:13:35 +08:00
Zexi Li
197c90acbe Merge pull request #9856 from ioito/hotfix/qx-azure-resetpassword
fix(region): optimized azure reset linux pasword
2021-01-14 17:39:31 +08:00
rainzm
2c1eeb89e8 fix(keystone): clear failed auth when enable user 2021-01-14 17:13:43 +08:00
rainzm
6e6f5ddde7 fix(keystone): send to the admin and the party separately when Abnormal login occurs 2021-01-14 17:10:52 +08:00
rainzm
d0fed292f2 fix(build): chage template of 'Abnormal Login' 2021-01-14 17:10:00 +08:00
rainzm
8316dadb05 feat(cloudcommon): send it directly if there is no template corresponding to the topic 2021-01-14 17:08:47 +08:00
rainzm
f6a2bbe9b4 feat(notify): mandatory update of VERIFY and USER_LOGIN_EXCEPTION templates 2021-01-14 17:07:19 +08:00
Zexi Li
3e243bc2ae Merge pull request #9882 from rainzm/notify/error_panic
Fix Notifition about Panic_Error Send too much
2021-01-14 14:49:53 +08:00
Qu Xuan
2bc4e77989 fix(region): optimized azure reset linux pasword 2021-01-14 14:31:51 +08:00
rainzm
beb6ad8601 feat(notify): change default verify expire interval 5m => 2m 2021-01-14 14:22:23 +08:00
rainzm
89d604a26c fix(notify): update receiver's lang when update event occurs 2021-01-14 14:21:28 +08:00
rainzm
7175e124e4 fix(notify): panic for err 2021-01-14 14:19:09 +08:00
Zexi Li
1d1a0147e2 Merge pull request #9879 from zhaoxiangchun/feature/zxc-alerthistory-overview-master
feat(monitor): influxQuery add P95 reduce
2021-01-14 11:05:19 +08:00
zhaoxiangchun
64e587f97b feat(monitor): influxQuery add P95 reduce 2021-01-14 10:43:07 +08:00
Qu Xuan
aa0915b55a fix(cloudevent): optimized cloudevent sync 2021-01-14 09:50:16 +08:00
Zexi Li
2ba73633c6 Merge pull request #9868 from rainzm/notify/alert
Send notification when abnormal login occurs
2021-01-14 09:38:18 +08:00
Zexi Li
71f069a657 Merge pull request #9870 from swordqiu/hotfix/qj-clone-policy-climc
feature(climc): add policy-clone command
2021-01-14 09:37:27 +08:00
Zexi Li
588f0c160b Merge pull request #9872 from swordqiu/hotfix/qj-aws-us-east-1-no-location
fix(region): AWS buckets in us-east-1 have null location
2021-01-14 09:36:19 +08:00
Qiu Jian
029d2fa27e fix(region): AWS buckets in us-east-1 have null location 2021-01-14 09:11:23 +08:00
Qiu Jian
dcfb2f3221 feature(climc): add policy-clone command 2021-01-14 03:28:52 +08:00
Zexi Li
b86f1ac0c6 Merge pull request #9865 from zhaoxiangchun/feature/zxc-alerthistory-overview-master
feat(monitor): support monitor overview influxdb query pass through
2021-01-13 21:12:00 +08:00
rainzm
274729eb5f feat(keystone): support alertNotify when abnormal login occur 2021-01-13 20:00:39 +08:00
rainzm
41139dc72e feat(keystone): add GetDefaultAdminSession 2021-01-13 20:00:37 +08:00
rainzm
2a0e36a437 feat(keystone): support projectDomainId in SAssignmentManager.FetchAll 2021-01-13 19:55:17 +08:00
rainzm
7357b6e0a2 feat(cloudcommon): expand notifyclient
1. support new params in creating notification
2. adapt keystone because `auth.GetAdminSession` doesn't work in keystone
2021-01-13 19:39:03 +08:00
rainzm
51f0e6f10a feat(notify): add params for create notification
1. tag, usually used to filter
2. metadata
3. ignore_nonexistent_receiver
2021-01-13 19:36:49 +08:00
rainzm
f8bace5b4e feat(notify): add template about topic USER_LOGIN_EXCEPTION 2021-01-13 19:35:54 +08:00
zhaoxiangchun
33975b5c12 feat(monitor): support monitor overview influxdb query pass through
1.监控总览支持查询穿透
2021-01-13 16:12:10 +08:00
Zexi Li
4370db008e Merge pull request #9862 from rainzm/notify/bigfix
fix(notify): set status after sending
2021-01-13 16:10:33 +08:00
rainzm
349ac011e7 fix(notify): set status after sending 2021-01-13 15:41:42 +08:00
Zexi Li
35a5a5dcc7 Merge pull request #9860 from lvyangyang/fix-update-tags-status
fix(region): update tags status
2021-01-13 15:19:51 +08:00
Zexi Li
2b0eb68855 Merge pull request #9857 from rainzm/receiver/mm
fix(notify): set ModelManager in Receiver()
2021-01-13 14:39:09 +08:00
lvyangyang
af4f07822c fix(region): update tags status 2021-01-13 01:11:03 -05:00
rainzm
479e1e2f33 fix(notify): set ModelManager in Receiver() 2021-01-13 09:52:49 +08:00
Zexi Li
8b3e14be43 Merge pull request #9690 from ioito/hotfix/qx-secgroup-optimized
fix(region): optimized secgroup rule sync
2021-01-12 21:37:56 +08:00
Zexi Li
99b1889425 Merge pull request #9829 from lvyangyang/fix-tags2
fix(region): tag bugs fix
2021-01-12 21:37:07 +08:00
lvyangyang
481e176ea2 fix(region): tag bugs fix
-azure tags replace/refresh
-tags action logs
-忽略创建中主机的metadate同步任务
2021-01-12 03:29:50 -05:00
Zexi Li
81cb23f5df Merge pull request #9847 from rainzm/email/mobile
feat(notify): send notifications of different templates according to language
2021-01-12 10:29:35 +08:00
Zexi Li
a96304afa8 Merge pull request #9839 from ioito/feature/qx-aws-cloudevent
fix(cloudevent): add aws cloudevent
2021-01-12 10:27:39 +08:00
Zexi Li
49cbb14fc6 Merge pull request #9836 from swordqiu/hotfix/qj-allow-suggestion-for-meter-admin
fix(keystone): add suggestion previliges to meter admin
2021-01-12 10:26:21 +08:00
Zexi Li
a7bce41a86 Merge pull request #9833 from ioito/hotfix/qx-saml-user
fix(cloudid): multi cloudaccount with saml user
2021-01-12 10:25:19 +08:00
Zexi Li
12ab6d9f72 Merge pull request #9841 from tb365/bugfix/tb-bugfix-011115
server skus filter by mem size fix
2021-01-11 22:37:23 +08:00
Zexi Li
7031be80ab Merge pull request #9844 from yousong/feature/yousong-i18n-apigateway
Feature/yousong i18n apigateway
2021-01-11 22:27:27 +08:00
Zexi Li
570b18fc05 Merge pull request #9851 from zhaoxiangchun/feature/zxc-alerthistory-overview-master
fix(monitor): monitor overview throw err
2021-01-11 22:25:33 +08:00
zhaoxiangchun
7988fa1f10 fix(monitor): monitor overview throw err 2021-01-11 21:24:27 +08:00
rainzm
76e7aa4018 feat(notify): send notifications of different templates according to language 2021-01-11 19:41:23 +08:00
Yousong Zhou
ab7c5e039f apigateway: try return httperrors 2021-01-11 17:47:09 +08:00
Yousong Zhou
78a6ebd57f locales: generate 2021-01-11 17:47:08 +08:00
Yousong Zhou
b66ccd78a1 locales: zh-CN: add some translations 2021-01-11 17:46:52 +08:00
Yousong Zhou
2d1d4f3dcc apigateway: reword error messages 2021-01-11 15:53:15 +08:00
Yousong Zhou
a71c875470 keystone: reword error messages 2021-01-11 15:52:51 +08:00
tangbin
0511cc0c7e server skus filter by mem size fix 2021-01-11 14:38:47 +08:00
Qu Xuan
ba5f19bc14 fix(cloudevent): add aws cloudevent 2021-01-11 14:24:43 +08:00
Qiu Jian
30453233c4 fix(keystone): add suggestion previliges to meter admin 2021-01-11 02:06:23 +08:00
Qu Xuan
f85dc7d4cc fix(cloudid): multi cloudaccount with saml user 2021-01-10 17:13:18 +08:00
Zexi Li
cb1d93ddf9 Merge pull request #9796 from ioito/hotfix/qx-cloudimage-update
fix(region): allowed to manually refresh cloudimage
2021-01-09 20:32:18 +08:00
Zexi Li
8234510a52 feat(climc): k8s cluster addon add enable native ip alloc option 2021-01-09 20:24:49 +08:00
Zexi Li
3a7607b1ec Merge pull request #9822 from ioito/hotfix/qx-city-servers
fix(apigateway): count city servers
2021-01-09 20:11:49 +08:00
Zexi Li
5ba6f7f7d3 Merge pull request #9793 from tb365/bugfix/tb-bugfix-010720
feat(region): server sku os_arch & cpu_arch checking
2021-01-09 19:57:02 +08:00
Zexi Li
8ae8044247 Merge pull request #9817 from zhaoxiangchun/feature/zxc-alerthistory-overview-master
fix(monitor): fix monitoroverview and meter send alerting info to  notify
2021-01-09 19:55:58 +08:00
Zexi Li
d0603b9cc5 Merge pull request #9825 from rainzm/notify/name
fix(notify): avoid duplication of notification names
2021-01-09 19:54:15 +08:00
Zexi Li
829eea3764 Merge pull request #9830 from tb365/bugfix/tb-bugfix-010920
loadbalancer add lb purge validate
2021-01-09 19:53:32 +08:00
tangbin
bc960367ab loadbalancer add lb purge validate 2021-01-09 19:14:38 +08:00
rainzm
07114b53d9 fix(notify): avoid duplication of notification names 2021-01-09 18:42:54 +08:00
yunion-ci-robot
552223ae59 Merge pull request #9820 from bistuzx/hotfix/meter-budget-log
fix(meter): add budget set alert log
2021-01-09 18:29:16 +08:00
Yousong Zhou
eb84a308af build: y18n: add apigateway 2021-01-09 18:15:34 +08:00
Qu Xuan
613662c07b fix(apigateway): count city servers 2021-01-09 17:05:23 +08:00
yunion-ci-robot
f1157affc1 Merge pull request #9808 from tb365/bugfix/tb-bugfix-010821
fix(region): aws elb backendgroup sync bugfix
2021-01-09 16:40:13 +08:00
tangbin
97192c3afc fix(region): aws elb backendgroup sync bugfix 2021-01-09 16:11:40 +08:00
bistuzx@163.com
a2ddd93587 add budget set alert log 2021-01-09 15:59:43 +08:00
zhaoxiangchun
abb4deebba fix(monitor): fix monitoroverview and meter send alerting info to notify
1.调整报警总览中今日报警数量计算逻辑
2.报警模版的web路径支持跳转到不同web页面:监控报警和meter
3.nodata 前端可配制功能fix
2021-01-09 15:33:06 +08:00
Zexi Li
7432449e28 Merge pull request #9798 from ioito/hotfix/qx-qcloud-instance-delete
fix(region): optimized for qcloud prepaid instance delete
2021-01-09 15:33:01 +08:00
Zexi Li
16c4c6ae7e Merge pull request #9811 from ioito/hotfix/qx-image-sync-fix
fix(region): avoid cachedimage never be in sync when it deleted
2021-01-09 15:31:46 +08:00
Zexi Li
6cd3caa7a3 Merge pull request #9813 from rainzm/notify/update_rece
fix(notify): loose phone number rules in updating receiver
2021-01-09 13:03:32 +08:00
rainzm
d12185d43a fix(notify): loose phone number rules in updating receiver 2021-01-09 11:29:38 +08:00
Qu Xuan
31aec9f969 fix(region): avoid cachedimage never be in sync when it deleted 2021-01-08 20:54:42 +08:00
Zexi Li
221a65c7c0 Merge pull request #9802 from rainzm/notify/phone_number
fix(notify): loose mobile phone number matching rules
2021-01-08 14:19:28 +08:00
rainzm
64e79a934a fix(notify): loose mobile phone number matching rules 2021-01-08 11:51:57 +08:00
Qu Xuan
374b56adb9 fix(region): optimized for qcloud prepaid instance delete 2021-01-08 11:19:41 +08:00
tangbin
0413898aa7 feat(region): server sku os_arch & cpu_arch checking 2021-01-08 09:59:36 +08:00
Qu Xuan
c226568ec0 fix(region): allowed to manually refresh cloudimage 2021-01-07 21:27:57 +08:00
Zexi Li
cec10d3773 Merge pull request #9790 from wanyaoqi/bugfix/wyq/fix-check-is-vg-active
fix(host-deployer): add retry on check is vgactived
2021-01-07 21:18:01 +08:00
Zexi Li
7e6de3f56b Merge pull request #9785 from yousong/bugfix/yousong-vm-deploy-log
guest_deploy_task: log other deploy details with i18n
2021-01-07 21:16:29 +08:00
Zexi Li
a380eba225 Merge pull request #9782 from zhaoxiangchun/feature/zxc-alerthistory-overview-master
fix(monitor,suggestion): order commonalert metric and modify alertresoruce type value and add suggestion models climc
2021-01-07 21:14:24 +08:00
wanyaoqi
eb79cc79ee fix(host-deployer): add retry on check is vgactived 2021-01-07 19:20:21 +08:00
Yousong Zhou
e40ca53b6b guest_deploy_task: log other deploy details with i18n
Fixes 9f350392 ("add service tag for actionlog")
2021-01-07 11:33:25 +08:00
zhaoxiangchun
b23519b036 fix(monitor,suggestion): order commonalert metric and modify
alertresoruce type value and add suggestion models climc

1.修改监控metric排序
2.统一报警资源type和监控报警中res_type 进行统一,前端可以统一展示
3.增加suggestion服务相关climc
2021-01-06 21:23:21 +08:00
Zexi Li
ff52fb7287 Merge pull request #9778 from ioito/hotfix/qx-azure-default-client
fix(region): avoid auzre request timeout
2021-01-06 21:23:13 +08:00
Zexi Li
cfe0154a6c Merge pull request #9775 from ioito/hotfix/qx-cloudevent-policy
fix(cloudevent): default policy
2021-01-06 21:22:56 +08:00
Qu Xuan
0ba310062d fix(region): avoid auzre request timeout 2021-01-06 15:30:23 +08:00
Qu Xuan
874c5af099 fix(cloudevent): default policy 2021-01-06 11:23:29 +08:00
Zexi Li
be959d9459 Merge pull request #9767 from ioito/hotfix/qx-aliyun-public-ip
fix(region): aliyun support public ip
2021-01-05 21:36:28 +08:00
Zexi Li
d9059b1c31 Merge pull request #9771 from ioito/hotfix/qx-azure-register-service
fix(region): avoid panic when register service not work
2021-01-05 21:29:42 +08:00
Zexi Li
46a2886236 Merge pull request #9768 from ioito/hotfix/qx-cachedimage-update
fix(region): sync cachedimage info
2021-01-05 21:28:22 +08:00
Qu Xuan
89296df818 fix(region): avoid panic when register service not work 2021-01-05 21:16:09 +08:00
Qu Xuan
4c3d736a1b fix(region): sync cachedimage info 2021-01-05 20:29:59 +08:00
Zexi Li
1f3ee0089c Merge pull request #9762 from wanyaoqi/feature/wyq/stop-guest-on-freeze
feat(region): stop guest before freeze
2021-01-05 18:32:32 +08:00
Zexi Li
dd2c77c7f1 Merge pull request #9760 from lvyangyang/replace-cloud-tags
fix(region): replace cloud tags
2021-01-05 18:31:28 +08:00
Qu Xuan
88bf0333e4 fix(region): aliyun support public ip 2021-01-05 17:20:18 +08:00
wanyaoqi
fa077dbe9b feat(region): stop guest before freeze 2021-01-05 15:13:56 +08:00
lvyangyang
9014be05ae fix(region): replace cloud tags 2021-01-05 14:26:18 +08:00
Zexi Li
361f71946d Merge pull request #9757 from zhaoxiangchun/feature/zxc-alerthistory-overview-master
fix(monitor): modify totalrecord query
2021-01-04 15:56:54 +08:00
zhaoxiangchun
5d6ffa16fc fix(monitor): modify totalrecord query
1. influxdb 增加abs function
2. 调整total报警记录接口query
2021-01-04 15:37:31 +08:00
Jian Qiu
376dfa44d8 feature(region): sync cloud tags to local user tags (#9752)
* refact(region): sync cloud tags to user tags

* fix(region): sync exttags to user tags

Co-authored-by: lvyangyang <lvyangyang@yunion.cn>
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-01-03 00:17:59 +08:00
Zexi Li
ed646c7d44 Merge pull request #9754 from zhaoxiangchun/feature/zxc-alerthistory-overview-master
feat(monitor): get today alerting resource info
2020-12-31 20:23:16 +08:00
zhaoxiangchun
e8442bea69 feat(monitor): get today alerting resource info
1.提供接口获取当前时间发生报警的资源统计
2020-12-31 20:00:19 +08:00
Zexi Li
1e6f6112be Merge pull request #9750 from rainzm/sg/create_alarm
feat(region): be compatible with changes in monitor api in scaling group
2020-12-30 21:44:56 +08:00
Zexi Li
1e1e0c80cf Merge pull request #9686 from ioito/hotfix/qx-cloud-image-sync
fix(region): skip cloud image sync error
2020-12-30 21:44:05 +08:00
Zexi Li
78086e25d9 Merge pull request #9735 from zhaoxiangchun/bugfix/zxc-commonalert
fix(monitor): modify rds,redis,oss field descriptions
2020-12-30 21:43:06 +08:00
Zexi Li
852bbc20c8 Merge pull request #9730 from ioito/hotfix/qx-cloud-event-domain
fix(cloudevent): cloudevent is domain level resource
2020-12-30 21:42:22 +08:00
Zexi Li
5ff6cda965 Merge pull request #9727 from ioito/hotfix/qx-rds-list-with-secgroups
fix(region): rds list with secgorups info
2020-12-30 21:41:36 +08:00
Zexi Li
88ac2c219f Merge pull request #9731 from wanyaoqi/bugfix/wyq/check-memory-on-server-start
fix(region): server start check host memory is enough
2020-12-30 21:39:31 +08:00
Zexi Li
adf0e52339 Merge pull request #9744 from rainzm/esxi/clone_mutli_neti
fix(esxiagent): nicIndex should be incremented
2020-12-30 21:35:33 +08:00
rainzm
e347d6a51f feat(region): be compatible with changes in monitor api in scaling group 2020-12-30 19:09:32 +08:00
rainzm
f6e2c2fd15 fix(esxiagent): nicIndex should be incremented 2020-12-30 18:58:08 +08:00
Zexi Li
2ecb2f90e3 Merge pull request #9724 from zhaoxiangchun/feature/zxc-analysis-predict-master
feat(suggestion,apigateway): add analysispredict climc
2020-12-30 18:54:35 +08:00
Zexi Li
b71d18e27c Merge pull request #9742 from rainzm/sc/sync_cloud_image
fix(region): obtain ProviderFactory correctly
2020-12-30 18:53:30 +08:00
zhaoxiangchun
42a549ad8e fix(monitor): modify rds,redis,oss field descriptions
1.修改后端redis,rds,oss desc 信息,和前端索引进行对应
2020-12-30 15:46:28 +08:00
wanyaoqi
7a684d347f fix(region): server start check host memory is enough 2020-12-30 15:45:45 +08:00
Qu Xuan
5610dd674d fix(cloudevent): cloudevent is domain level resource 2020-12-30 15:42:58 +08:00
Qu Xuan
0f0c0eb5aa fix(region): rds list with secgorups info 2020-12-30 14:16:54 +08:00
zhaoxiangchun
788a5df8bd feat(suggestion,apigateway): add analysispredict climc 2020-12-30 14:03:08 +08:00
rainzm
ab3c7d9143 fix(region): obtain ProviderFactory correctly
The provider of the region is not necessarily the same as the resource
2020-12-30 12:16:39 +08:00
Zexi Li
95464529cb Merge pull request #9675 from bistuzx/feature/meter-budget-master
feat(meter): add meter budget&event module
2020-12-29 23:18:20 +08:00
bistuzx@163.com
d5d72a977e fix reservation columns 2020-12-29 22:33:21 +08:00
bistuzx@163.com
5f7d848723 add cost&prepaid_cost to reservation 2020-12-29 22:16:57 +08:00
bistuzx@163.com
6af676b93a fix budget import format 2020-12-29 22:02:34 +08:00
bistuzx@163.com
005ed23fa4 fix reservation import format 2020-12-29 21:46:07 +08:00
bistuzx@163.com
4bd398db56 add meter budget&event&reservation module 2020-12-29 21:41:26 +08:00
Zexi Li
439bb14d33 Merge pull request #9719 from swordqiu/hotfix/qj-splitable-init-table
fix(cloudcommon): splitable may not initialize underlying table
2020-12-29 21:17:13 +08:00
Zexi Li
1336fcd7e7 Merge pull request #9711 from wanyaoqi/bugfix/wyq/add-check-sync-status
fix(region,host,host-deployer): sync status chekc block jobs
2020-12-29 20:43:25 +08:00
Zexi Li
090e2f53dc Merge pull request #9693 from rainzm/notify/authority
Solve the permission problem of notify to create receiver
2020-12-29 20:41:05 +08:00
Zexi Li
5ef52d7d02 Merge pull request #9706 from rainzm/st/desc_lang
feat(region): multilingual timer description
2020-12-29 20:39:15 +08:00
Qiu Jian
50a0d167f1 fix(cloudcommon): splitable may not initialize underlying table 2020-12-29 18:48:21 +08:00
rainzm
c4b6d7e648 feat(region): multilingual timer description 2020-12-29 15:21:24 +08:00
rainzm
cc11aed9e8 feat(db): progressive inspection when determining the required scope 2020-12-29 14:56:01 +08:00
wanyaoqi
5e2d346420 fix(region,host): sync status check block jobs 2020-12-29 14:47:54 +08:00
wanyaoqi
ee2f54f4de fix(host-deployer): add log line on blkid failed 2020-12-29 14:47:21 +08:00
wanyaoqi
cecd329fe4 fix(climc): host add netif add params bridge/interface 2020-12-29 14:46:13 +08:00
Zexi Li
7ca285345b Merge pull request #9701 from swordqiu/hotfix/qj-vpc-quota-check-ignore
fix(region): omit vpc quota check if vpc created by owner
2020-12-29 09:35:48 +08:00
Zexi Li
6019fd5fcc Merge pull request #9698 from zhaoxiangchun/feature/zxc-alerthistory-master
fix(monitor): sore reture info:resourceType,measurement
2020-12-29 09:34:54 +08:00
Qiu Jian
90f40d47c8 fix(region): omit vpc quota check if vpc created by owner
Vpc quota check is omitted if vpc is create by owner user
2020-12-29 01:16:30 +08:00
--global
567fc991cb fix(monitor): sore reture info:resourceType,measurement
1.对资源类型和对应的measurement进行排序输出
2020-12-28 21:37:27 +08:00
Zexi Li
eab978f26a Merge pull request #9694 from zhaoxiangchun/feature/zxc-alerthistory-master
fix(monitor): add resType   filter
2020-12-28 21:22:21 +08:00
Zexi Li
921b56a40b Merge pull request #9691 from lvyangyang/add-tags-implement
feat(region): add tags implement
2020-12-28 21:21:07 +08:00
--global
79e6d163d2 fix(monitor): add resType filter
1.修复资源类型过滤失效的问题
2020-12-28 17:18:54 +08:00
rainzm
cfae818d04 fix(notify): inject domain info in ReceiverManager.FetchOwnerId 2020-12-28 16:25:52 +08:00
lvyangyang
8641e9232b feat(region): add tags implement 2020-12-28 16:11:04 +08:00
Zexi Li
0db59b0a49 Merge pull request #9108 from ioito/hotfix/qx-guest-delete
Hotfix/qx guest delete
2020-12-28 16:01:09 +08:00
Zexi Li
e33fc9527c Merge pull request #9687 from zhasm/hotfix/rex-makefile-buildx-minor-fix
fix(make,buildx): 使用 buildx 编译时,拉镜像到本地
2020-12-28 14:56:15 +08:00
Zhang Dongliang
3d9d34ac15 fix(make,buildx): 使用 buildx 编译时,拉镜像到本地 2020-12-28 14:34:02 +08:00
Qu Xuan
5aa763fd0a fix(region): skip cloud image sync error 2020-12-28 14:29:58 +08:00
Qu Xuan
108d6827e8 feat(region): disks and eip delete with server 2020-12-28 11:29:12 +08:00
Qu Xuan
d0cc334cab fix(region): optimized secgroup rule sync 2020-12-28 11:25:44 +08:00
Qu Xuan
a9ea3839d0 feat(region): add server delete options 2020-12-28 10:51:39 +08:00
Zexi Li
4f9d6d2005 Merge pull request #9540 from ioito/hotfix/qx-openstack-network
fix(region): openstack network is regional
2020-12-28 10:20:11 +08:00
Qu Xuan
d38b7ce466 fix(region): openstack network is regional 2020-12-28 09:50:44 +08:00
Zexi Li
d3ee28b4d0 Merge pull request #9681 from rainzm/postpaid/delete_snapshot
feat(region): make DeleteSnapshotExpiredRelease applies to postpaid vm
2020-12-27 21:05:44 +08:00
Zexi Li
bb668d8711 Merge pull request #9677 from ioito/hotfix/qx-bucket-policy
optimized(region): qcloud bucket policy set and get operation
2020-12-26 20:00:41 +08:00
rainzm
763086d625 feat(region): make DeleteSnapshotExpiredRelease applies to postpaid vm 2020-12-26 18:39:36 +08:00
yunion-ci-robot
9411d7ed25 Merge pull request #9587 from tb365/bugfix/tb-bugfix-122202
fix(region): cloudregion&zone add namei18n
2020-12-26 17:53:51 +08:00
Qu Xuan
fbd5be2fd7 optimized(region): qcloud bucket policy set and get operation 2020-12-26 17:41:04 +08:00
Zexi Li
2b47be47b0 Merge pull request #9628 from lvyangyang/refact-tags-interface
Refact tags interface
2020-12-26 16:26:28 +08:00
lvyangyang
68cf1eaea5 refact(region): resource tags 2020-12-26 16:00:26 +08:00
Zexi Li
35bc01687d Merge pull request #9660 from rainzm/er/delete_snapshot
feat(region): add options DeleteSnapshotExpiredRelease
2020-12-26 15:12:18 +08:00
Zexi Li
41f1d34f04 Merge pull request #9627 from ioito/hotfix/qx-rds-secgroups
fix(region): support rds secgroup operation
2020-12-26 12:19:54 +08:00
Zexi Li
b3759503de Merge pull request #9636 from lvyangyang/fix-aws-lb-create-tags
fix(region): aws lb create tags param
2020-12-26 12:18:08 +08:00
Zexi Li
21633c7184 Merge pull request #9640 from ioito/hotfix/qx-account-purge
fix(region): purge private cloud sku
2020-12-26 12:14:56 +08:00
Zexi Li
c32b1ec859 Merge pull request #9642 from ioito/hotfix/qx-apsara-optimized
fix(region): apsara optimized
2020-12-26 12:13:37 +08:00
Zexi Li
0cd7e102e3 Merge pull request #9625 from yousong/feature/yousong-y18n-check
Feature/yousong y18n check
2020-12-26 12:11:25 +08:00
Zexi Li
8faab2b6ea Merge pull request #9644 from swordqiu/feature/qj-policy-save-data
feature(climc): policy save data into file
2020-12-26 12:09:16 +08:00
Zexi Li
8893614091 Merge pull request #9654 from ioito/hotfix/qx-azure-rebuild-root
fix(region): optimized azure rebuild root
2020-12-26 12:06:29 +08:00
Zexi Li
53d05f851e Merge pull request #9652 from swordqiu/hotfix/qj-adjust-cloudevent-scope
fix(cloudevent): adjust cloudevents resource scope
2020-12-26 12:04:46 +08:00
rainzm
91e45883a8 feat(region): add options DeleteSnapshotExpiredRelease 2020-12-26 11:05:11 +08:00
yunion-ci-robot
15ac73f94e Merge pull request #9657 from zhaoxiangchun/feature/zxc-alerthistory-master
fix(monitor): monitor notify international and 3.6 bugfix
2020-12-26 11:02:51 +08:00
--global
4ac6d48c65 fix(monitor): monitor notify international and 3.6 bugfix
1.修复项目下无法查看报警记录
2.修复报警策略切换所属范围signature失败
3.国际化问题处理
2020-12-26 09:52:59 +08:00
TangBin
b67be9b0dd fix(region): remove i18n fix & zone &region name support i18n 2020-12-26 09:50:21 +08:00
TangBin
01d5977bd6 fix(region): aws sync vpc access mode bugfix 2020-12-26 09:50:21 +08:00
TangBin
ea7ea1f08c fix(region): cloudregion&zone add namei18n 2020-12-26 09:50:20 +08:00
Qu Xuan
35f76875e2 fix(region): optimized azure rebuild root 2020-12-25 20:55:39 +08:00
Qiu Jian
7daa123c73 fix(cloudevent): adjust cloudevents resource scope
Change cloudevents resource scope from system to project.
2020-12-25 20:34:35 +08:00
Zexi Li
ef30d23bbd Merge pull request #9637 from ioito/hotfix/qx-cloudid-sync-optimized
fix(cloudid): optimized system policy sync
2020-12-25 17:23:59 +08:00
Yousong Zhou
89f541fcaf build: skip y18n-check for now
CircleCI is likely not happy with the memory usage

	/bin/sh: line 1:  4553 Killed                  y18n -chdir /root/go/src/yunion.io/x/onecloud -dir ./locales/ -out ./locales/locales.go -lang en-US,zh-CN yunion.io/x/onecloud/cmd/keystone yunion.io/x/onecloud/cmd/monitor yunion.io/x/onecloud/cmd/region yunion.io/x/onecloud/cmd/yunionconf
	make: *** [y18n-check] Error 137

Link: https://app.circleci.com/pipelines/github/yunionio/onecloud/25085/workflows/6efec9d0-cdd5-45eb-bb1e-f62849e22b76/jobs/55153
2020-12-25 17:01:00 +08:00
Qiu Jian
d02d82963b feature(climc): policy save data into file
Allow saveing policy data into file
2020-12-25 16:57:59 +08:00
lvyangyang
4f8ebb8d0f fix(region): aws lb create tags param 2020-12-25 16:52:48 +08:00
Qu Xuan
7760e0c3a2 fix(cloudid): optimized system policy sync 2020-12-25 14:55:17 +08:00
Qu Xuan
dc673a80d8 fix(region): apsara optimized 2020-12-25 14:20:49 +08:00
Qu Xuan
b21903a329 fix(region): purge private cloud sku 2020-12-25 11:22:39 +08:00
Zexi Li
43495f8a00 Merge pull request #9633 from ioito/hotfix/qx-global-proxy
fix(region): sku.meta use global proxy
2020-12-25 01:26:12 +08:00
Qu Xuan
bc90e4fc4a fix(region): support rds secgroup operation 2020-12-24 18:03:33 +08:00
Zexi Li
35056c89a2 Merge pull request #9629 from ioito/hotfix/qx-disk-allocate-failed-log
fix(region): optimized disk allocate sched failed log
2020-12-24 17:47:51 +08:00
Zexi Li
b76d36f90f Merge pull request #9622 from ioito/hotfix/qx-openstack-change-config
fix(region): avoid openstack change config error
2020-12-24 17:42:07 +08:00
Zexi Li
2c3d7f1e55 Merge pull request #9593 from ioito/hotfix/qx-private-cloud-sku
fix(region): private cloud sku create
2020-12-24 17:41:03 +08:00
Zexi Li
8358ecfe9c Merge pull request #9619 from ioito/hotfix/qx-aws-role
fix(region): avolid panic when list role's policies
2020-12-24 17:35:10 +08:00
Zexi Li
35293ec9c3 Merge pull request #9609 from wanyaoqi/bugfix/wyq/fix-list-image-by-os-arch
fix(glance): list image by os arch use startwith
2020-12-24 17:34:23 +08:00
Qu Xuan
a8cc140b52 fix(region): sku.meta use global proxy 2020-12-24 17:22:43 +08:00
Qu Xuan
d78f4a98b1 fix(region): optimized disk allocate sched failed log 2020-12-24 16:58:05 +08:00
Qu Xuan
a75e6c906a fix(region): avolid panic when list role's policies 2020-12-24 15:24:19 +08:00
Zexi Li
9868addd4d Merge pull request #9596 from lvyangyang/azure-resourcetags
feat(region): azure tags
2020-12-24 14:33:05 +08:00
Yousong Zhou
a17d88c785 locales: regenerate locales.go 2020-12-24 13:19:10 +08:00
Yousong Zhou
d18f612af9 locales: zh-CN: regenerate messages.gotext.json 2020-12-24 13:19:10 +08:00
Yousong Zhou
131723cbe3 build: add y18n-check, y18n-gen 2020-12-24 13:19:10 +08:00
Yousong Zhou
dfc9b4393f .circleci: use centos-build:1.1-4
- place the code in canonical GOPATH when GO111MODULE can be off
 - always set ONECLOUD_CI_BUILD, including the test step
2020-12-24 13:18:16 +08:00
Yousong Zhou
de7a88bf36 build: use centos-build:1.1-4
y18n support in 1.1-4
2020-12-24 11:58:09 +08:00
Yousong Zhou
39461740d6 build: docker: add ModName 2020-12-24 11:56:21 +08:00
Yousong Zhou
431f2e87e7 build: docker: move to Makefile.common.mk 2020-12-24 11:56:21 +08:00
Yousong Zhou
d377625789 scripts/docker_push.sh: minor polishments
- removed bundled baremetal-agent before building new to avoid go
   error for refusing to overwrite a text file
 - use docker buildx build no mater what
 - check existence of dockerfile before calling general_build to avoid
   error by cmd/chksum
2020-12-24 11:56:21 +08:00
Yousong Zhou
aa45c158c9 scripts/docker_push.sh: use toplevel Makefile target 2020-12-24 11:56:21 +08:00
Yousong Zhou
bfe4d2a735 build: docker: align centos variant with the alpine one 2020-12-24 11:56:21 +08:00
Yousong Zhou
8997ae39f2 build: docker: make target GOARCH/GOOS/CGO_ENABLED aware 2020-12-24 11:56:21 +08:00
Yousong Zhou
2cd6f1274d build: docker: remove GOFLAGS export 2020-12-24 11:56:21 +08:00
Yousong Zhou
e01492df4f scripts/coverage.sh: detect use of "-mod vendor" 2020-12-24 11:56:21 +08:00
Yousong Zhou
ce05e5290c region: fix error msg for invalid wire_level_for_vmware 2020-12-24 11:49:41 +08:00
Qu Xuan
78ef400b1f fix(region): avoid openstack change config error 2020-12-24 11:45:49 +08:00
Zexi Li
ccf89de75c Merge pull request #9616 from swordqiu/hotfix/qj-fix-policy-role-description-i18n
fix(keystone): add i18n description for policy and role
2020-12-24 02:13:55 +08:00
Qiu Jian
7c84554587 fix(keystone): add i18n description for policy and role
Add i18n support for descriptions of system policy and role
2020-12-23 23:34:21 +08:00
Zexi Li
ca74828539 Merge pull request #9594 from wanyaoqi/wyq/update-centos-build-version
chore(util): update centos build version to 1.1-3
2020-12-23 22:15:21 +08:00
Zexi Li
4514635995 Merge pull request #9597 from zhaoxiangchun/feature/zxc-alerthistory-master
fix(cloudmon): deal cannot get  azure metric
2020-12-23 22:14:21 +08:00
Zexi Li
9a378dc9ba Merge pull request #9599 from yousong/bugfix/yousong-climc-ssh
Bugfix/yousong climc ssh
2020-12-23 22:12:45 +08:00
Zexi Li
49509f1ec1 Merge pull request #9605 from zhaoxiangchun/bugfix/zxc-nodata-resource
fix(monitor): fix nodata alertresource list
2020-12-23 22:10:09 +08:00
Zexi Li
d6f9e09a4c Merge pull request #9613 from rainzm/notify/webconsole
fix(notify): fit correctly when send notification via contact
2020-12-23 22:03:24 +08:00
Qu Xuan
09a039eb6e fix(region): private cloud sku create 2020-12-23 20:36:24 +08:00
Zexi Li
1e65309b52 Merge pull request #9611 from rainzm/notify/lang
feat(cloudcommon): determine the notification template based on the user’s language preference
2020-12-23 20:32:48 +08:00
rainzm
4f386fea1a fix(notify): fit correctly when send notification via contact 2020-12-23 17:46:48 +08:00
rainzm
2eebef810f feat(cloudcommon): determine the notification template based on the user’s language preference 2020-12-23 17:07:25 +08:00
wanyaoqi
8386506560 fix(glance): list image by os arch use startwith 2020-12-23 16:23:43 +08:00
Zexi Li
72d5aea49c Merge pull request #9603 from rainzm/lb/webhook
feat(webhook): send webhook notification when c/d loadbalancerlisterrule
2020-12-23 15:16:09 +08:00
rainzm
93f98d55ad feat(webhook): send webhook notification when c/d loadbalancerlisterrule 2020-12-23 14:49:28 +08:00
lvyangyang
351e2cc38a feat(region): azure tags 2020-12-23 14:47:14 +08:00
--global
f408ef0275 fix(monitor): fix nodata alertresource list
1.修复nodata报警资源列表无法根据nodata策略正确刷新和删除
2020-12-23 14:44:11 +08:00
Yousong Zhou
b06be9ea5c fix(mcclient): options: webconsole: fix passing ssh port 2020-12-23 13:29:22 +08:00
Yousong Zhou
db8307822f refactor(climc): webconsole: use helper methods of response struct 2020-12-23 13:29:17 +08:00
Yousong Zhou
4cd1d4ba7c refactor(webconsole): api: add helper methods for response struct 2020-12-23 13:29:11 +08:00
Yousong Zhou
c7d099b6fb refactor(webconsole): use structured response 2020-12-23 13:29:06 +08:00
--global
369872f7ab fix(cloudmon): deal cannot get azure metric
1.azure重构代码导致监控uri路径出错
2020-12-23 13:13:47 +08:00
Zexi Li
8b4f01e02e Merge pull request #9319 from lvyangyang/bucket-uploadings
feat(region) :bucket list uploads
2020-12-23 11:20:48 +08:00
wanyaoqi
84d64df0c9 chore(util): update centos build version to 1.1-3 2020-12-23 11:07:56 +08:00
lvyangyang
ef9d2df3ce feat(region): bucket list uploads 2020-12-23 09:53:05 +08:00
Zexi Li
a85fda415d Merge pull request #9548 from tb365/bugfix/tb-bugfix-121801
Bugfix/tb bugfix 121801
2020-12-23 09:47:43 +08:00
Zexi Li
3be6296f1c Merge pull request #9577 from zhaoxiangchun/feature/zxc-alerthistory-master
feat(monitor): add global alertrecord
2020-12-23 09:45:53 +08:00
Zexi Li
b27dc38605 Merge pull request #9570 from ioito/hotfix/qx-to-network-config
fix(region): 避免从云上同步下来的主机,创建相同配置时network_id为空
2020-12-23 09:41:45 +08:00
Zexi Li
c2a809221a Merge pull request #9573 from ioito/hotfix/qx-huawei-gpssd
fix(region): add huawei gpssd desc
2020-12-23 09:36:59 +08:00
Zexi Li
e685c0b942 Merge pull request #9579 from zhaoxiangchun/bugfix/zxc-commonalert-usedby-master
fix(monitor): other servier create alert add used_by param as a agreement
2020-12-23 09:35:03 +08:00
Zexi Li
8ab4ae1f23 Merge pull request #9584 from rainzm/ansibleserver/role
more convenient debugging and role isolation
2020-12-23 09:09:30 +08:00
Zexi Li
941e6feb8e Merge pull request #9589 from swordqiu/hotfix/qj-cloudevent-devtools-missing-metadata-tbl
fix(cloudevent,devtool): missing metadata table
2020-12-23 09:06:16 +08:00
Qiu Jian
ba08d9d465 fix(cloudevent,devtool): missing metadata table 2020-12-23 03:10:04 +08:00
rainzm
6d7764550e feat: download the role to tmpdir not system role dir 2020-12-22 20:16:34 +08:00
rainzm
cfa426bc18 feat: add keep_tmpdir options
Setting 'keep_tmpdir' as true will keep tmpdir as used by executing
ansible playbook for debugging
2020-12-22 20:14:48 +08:00
yunion-ci-robot
31a0fb76fd Merge pull request #9583 from yousong/feature/yousong-bump-ovs
build: docker: use openvswitch 2.10.5-1
2020-12-22 18:07:49 +08:00
Yousong Zhou
ce86ed8161 build: docker: use openvswitch 2.10.5-1 2020-12-22 17:27:12 +08:00
--global
c39e6778e6 feat(monitor): add global alertrecord
1.支持时间、资源类型、报警级别、报警状态的过滤
2.报警记录删除时,删除关联的报警记录
2020-12-22 16:21:39 +08:00
--global
7526604501 fix(monitor): other servier create alert add used_by param as a agreement
1.解决notify,meter中创建的对应的策略也展示在统一报警策略页面。通过used_by
  进行区分
2020-12-22 16:10:31 +08:00
Qu Xuan
b5a25b9c60 fix(region): add huawei gpssd desc 2020-12-22 11:31:53 +08:00
Qu Xuan
61c25a597a fix(region): 避免从云上同步下来的主机,创建相同配置时network_id为空 2020-12-22 11:17:25 +08:00
Zexi Li
159c1bcb89 Merge pull request #9498 from wanyaoqi/bugfix/wyq/migrate-misc-fix
server migrate misc fix
2020-12-22 10:06:27 +08:00
yunion-ci-robot
ab76faeba3 Merge pull request #9564 from zexi/hotfix/baremetal-pxe-net-alloc
Hotfix/baremetal pxe net alloc
2020-12-21 23:47:39 +08:00
Zexi Li
f2b1c42644 Merge pull request #9544 from yousong/bugfix/yousong-no-lbagent-error
fix(region): lbbackend: better error reporting for finding influxdb info
2020-12-21 21:07:46 +08:00
Zexi Li
d3c8c33014 Merge pull request #9555 from ioito/hotfix/qx-openstack-os-type
fix(region): fix openstack instance os type
2020-12-21 21:01:52 +08:00
Zexi Li
7751cd216f Merge pull request #9559 from rainzm/docker/build_kit
feat(scripts): add export DOCKER_BUILDKIT=1
2020-12-21 21:00:21 +08:00
Zexi Li
31f62225b1 Merge pull request #9561 from ioito/hotfix/qx-notify-temp
fix(cloudid): add <br> for notify templete
2020-12-21 20:59:13 +08:00
Zexi Li
e2201a80f3 fix(region,baremetal): choose candidate network not according by types 2020-12-21 20:42:38 +08:00
Qu Xuan
21820fe2d8 fix(cloudid): add <br> for notify templete 2020-12-21 20:41:02 +08:00
Zexi Li
2c7f8d93f6 fix(region,baremetal): pxe net reuse converted server access ip 2020-12-21 20:34:57 +08:00
rainzm
e52da6ca5f feat(scripts): add export DOCKER_BUILDKIT=1 2020-12-21 19:52:15 +08:00
Qu Xuan
5674b5e5f2 fix(region): fix openstack instance os type 2020-12-21 19:42:19 +08:00
TangBin
b52a7d019c fix(region): lbacl &lbcert default share scope 2020-12-21 17:32:31 +08:00
Yousong Zhou
754359b955 fix(region): lbbackend: better error reporting for finding influxdb info 2020-12-21 16:41:25 +08:00
Zexi Li
331e60e100 Merge pull request #9360 from ioito/bugfix/qx-server-sync
fix(region): sync servers
2020-12-21 10:40:29 +08:00
Zexi Li
ae5e28c58c Merge pull request #9538 from swordqiu/hotfix/qj-splitable-modify-query-string
fix(cloudcommon): query string may be modified in listItemQuery
2020-12-21 01:31:29 +08:00
Zexi Li
82990d2992 Merge pull request #9536 from swordqiu/hotfix/qj-match-policy-skip-deleted-policies
fix(keystone): ignore deleted policies when matching policies
2020-12-21 01:30:27 +08:00
Qiu Jian
abbcac09ab fix(cloudcommon): query filter ineffective for splitable
query string may be modified in listItemQuery routine, which cause some query
filter is removed and hence ineffective when query over splitable
2020-12-20 20:29:55 +08:00
Qiu Jian
234c37c490 fix(keystone): ignore deleted policies when matching policies
ignore deleted policies when matching policies
2020-12-20 14:12:59 +08:00
Zexi Li
b300d5e4e6 Merge pull request #9534 from swordqiu/hotfix/qj-rbac-policy-refresh-internal-seconds
fix(cloudcommon): add rbac_policy_refresh_internval_seconds option
2020-12-20 02:08:30 +08:00
Zexi Li
972f7f4ab4 Merge pull request #9527 from swordqiu/hotfix/qj-split-table-empty-panic
fix(cloudcommon): panic when query an empty splitable model manager
2020-12-20 02:07:45 +08:00
Zexi Li
260e92b109 Merge pull request #9529 from swordqiu/hotfix/qj-host-task-use-admin-token-if-task-token-expired
fix(taskman): use admin token if task userCred token expired
2020-12-20 02:05:48 +08:00
Qiu Jian
792bfe533c fix(cloudcommon): add rbac_policy_refresh_internval_seconds option
Add new option rbac_policy_refresh_interval_seconds to control the
valid duration of a policy cache. The option is introduced at 3.6.
Replace option rbac_policy_sync_period_seconds.
2020-12-20 01:31:54 +08:00
Qiu Jian
4043cd8342 fix(taskman): use admin token if task userCred token expired
Use admin credential token if task cached userCred token expired
2020-12-20 00:43:34 +08:00
Qiu Jian
d01f89a2c8 fix(cloudcommon): panic when query an empty splitable model manager
fix panic when querying an empty splitable model manager, e.g. action-show
2020-12-20 00:25:15 +08:00
yunion-ci-robot
d819989bc2 Merge pull request #9521 from zexi/storage-actual-size-filter
Storage actual size filter
2020-12-19 23:46:05 +08:00
Zexi Li
ae107e334b Merge pull request #9494 from wanyaoqi/bugfix/wyq/guest-to-create-input
fix(region): guest to create input keep billing info
2020-12-19 20:05:55 +08:00
Zexi Li
0ce19160d0 Merge pull request #9501 from swordqiu/feature/qj-user-add-lang-attribute
feature(keystone): user add language attribute
2020-12-19 20:05:21 +08:00
Zexi Li
52559cd3f9 Merge pull request #9509 from ioito/hotfix/qx-azure-async-task
fix(region): azure async task
2020-12-19 20:02:26 +08:00
Zexi Li
1a9454fa43 Merge pull request #9512 from ioito/hotfix/qx-azure-security-group-rule
fix(region): azure secgroup rule not allow with same priority and dir…
2020-12-19 20:00:54 +08:00
Zexi Li
bdd112e80b fix(scheduler): storage predicate add actualCapacity filter 2020-12-19 19:56:26 +08:00
Zexi Li
7a246b6878 Merge pull request #9515 from swordqiu/hotfix/qj-telegraf-use-local-ipv4-address-explicitly
fix(host): telegraf listen on local ipv4 address explicitly
2020-12-19 18:11:34 +08:00
Qiu Jian
89df588448 fix(host): telegraf listen on local ipv4 address explicitly
Ensure telegraf listen on local IPv4 address explicityly and host send
metrics to telegraf local IPv4 address explicityly.
2020-12-19 17:16:05 +08:00
Qu Xuan
bd99ad2199 fix(region): azure secgroup rule not allow with same priority and direction 2020-12-19 14:47:03 +08:00
Qu Xuan
f60c1835d1 fix(region): azure async task 2020-12-19 14:01:00 +08:00
yunion-ci-robot
3eb25e6dd1 Merge pull request #9446 from yousong/feature/yousong-vpc-fwd
Feature/yousong vpc fwd
2020-12-19 10:39:06 +08:00
Qu Xuan
ae060f2347 fix(region): sync servers 2020-12-19 10:25:28 +08:00
Zexi Li
9579d87953 Merge pull request #9502 from swordqiu/hotfix/qj-refresh-service-config
fix(keystone): always upload&refresh service config whenever service …
2020-12-19 09:32:36 +08:00
Qiu Jian
5cf5576e09 feature(keystone): user add language attribute
User add language attribute, notify and alarm will use this attribute to
send message in proper language
2020-12-19 09:18:17 +08:00
Qiu Jian
80229fa1e0 fix(keystone): always upload&refresh service config whenever service restart
Always upload&refresh service config whenever service restart
2020-12-19 00:49:32 +08:00
yunion-ci-robot
0f2913b081 Merge pull request #9490 from zexi/hotfix/baremetal-pd-makegood
Hotfix/baremetal pd makegood
2020-12-18 20:45:02 +08:00
Zexi Li
1f40f2bd1c Merge pull request #9483 from rainzm/webhook/pending_delete
Webhook better describe the life cycle of the guest
2020-12-18 20:37:43 +08:00
wanyaoqi
8161d86dfd fix(host): add print migrate progress info 2020-12-18 18:25:28 +08:00
wanyaoqi
97864f96eb fix(region): do not change disk status on migrating 2020-12-18 18:24:32 +08:00
TangBin
4cdd768cec fix(region): elb acl validate create data fix 2020-12-18 18:19:37 +08:00
TangBin
e19a022f6d fix(region): aliyun elb listener&lbbg sync project 2020-12-18 18:15:30 +08:00
TangBin
d91c7a62dc fix(region): cert&acl cache delete condition check 2020-12-18 17:07:08 +08:00
Zexi Li
c51dbaaa7b Merge pull request #9488 from tb365/bugfix/tb-bugfix-121702
Bugfix/tb bugfix 121702
2020-12-18 16:36:17 +08:00
Zexi Li
d5ec32534c Merge pull request #9459 from zhaoxiangchun/feature/zxc-commonalert-setnodata-master
feat(monitor): add alert slience time and modify scoperesource FetchUniqValues func
2020-12-18 16:33:45 +08:00
Zexi Li
14660138fc Merge pull request #9486 from wanyaoqi/bugfix/wyq/change-config-forecast
fix(region): fix change config forecast
2020-12-18 16:31:10 +08:00
Zexi Li
31fe97fbfe Merge pull request #9481 from wanyaoqi/bugfix/wyq/service-config-ignore-deploy-socket-path
fix(keystone): service config ignore deploy server socket path
2020-12-18 16:29:44 +08:00
wanyaoqi
36102e97d9 fix(region): guest to create input keep billing info 2020-12-18 16:15:16 +08:00
Zexi Li
77e4c806f3 fix(baremetal): clear jbod disks do PDMakeGood 2020-12-18 15:48:58 +08:00
wanyaoqi
2dc5b47915 fix(region): fix change config forecast 2020-12-18 14:57:20 +08:00
TangBin
3f19bb1efc fix(region): remove unnecessary vpc validate create date error wrap 2020-12-18 14:51:54 +08:00
--global
54271b78ad feat(monitor): add alert slience time and modify scoperesource
FetchUniqValues func

1.增加报警静默时间
2.后端修改 scoperesource FetchUniqValues :回显scope 属性
2020-12-18 14:39:02 +08:00
TangBin
f3c8bede52 fix(region): network create mask length validate 2020-12-18 14:29:49 +08:00
rainzm
bf378452a4 feat(region): send webhook server_create when canceling pending delete 2020-12-18 13:06:08 +08:00
rainzm
81588c92ae feat(region): distinguish between pending delete and delete notification 2020-12-18 13:05:24 +08:00
Zexi Li
15e1058519 Merge pull request #9458 from yousong/bugfix/yousong-eip-ipaddr
Bugfix/yousong eip ipaddr
2020-12-18 12:51:12 +08:00
wanyaoqi
c2978b8202 fix(keystone): service config ignore deploy server socket path 2020-12-18 12:50:41 +08:00
TangBin
72321d011f fix(region): vpc create data cird validate 2020-12-18 12:01:18 +08:00
TangBin
c50c47d653 fix(region): ctyun delete server bugfix
6642
2020-12-18 09:39:00 +08:00
Zexi Li
f1c2c9773c Merge pull request #9472 from yousong/bugfix/yousong-host-mtu
Bugfix/yousong host mtu
2020-12-18 00:21:00 +08:00
Zexi Li
76f571d538 Merge pull request #9476 from wanyaoqi/bugfix/wyq/fix-get-image-image
fix(host-deployer): probe image info umount rootfs first
2020-12-18 00:17:34 +08:00
Yousong Zhou
44b6391a62 fix(region): guestnetworks: use net calculated mtu 2020-12-17 21:38:11 +08:00
Yousong Zhou
a0ad627114 feat(region): networks: add getMtu method 2020-12-17 21:38:11 +08:00
Yousong Zhou
e201573d61 feat(apis): add const VPC_OVN_ENCAP_COST 2020-12-17 21:38:11 +08:00
TangBin
e2f1e5548d fix(region): create vm with eip task fix 2020-12-17 19:20:12 +08:00
wanyaoqi
37b036ed37 fix(host-deployer): probe image info umount rootfs first 2020-12-17 19:19:30 +08:00
Yousong Zhou
319d2cc563 feat(host): startvm: set vpc nic mtu
Windows DHCP client does not respect DHCP MTU option
2020-12-17 19:05:54 +08:00
Yousong Zhou
0139611d14 feat(host): startvm: add nic_mtu shell func 2020-12-17 19:00:41 +08:00
Yousong Zhou
52c3e93af7 refactor(host): startvm: for compat
QEMU 2.12 outputs device help on stderr in the following style

```
virtio-net-pci.speed=int32
```

QEMU 5.2.0 outputs it to stdout and in the following format

```
  speed=<int32>          -  (default: -1)
```
2020-12-17 19:00:41 +08:00
Yousong Zhou
d4093e2155 refactor(host): startvm: nic_speed: use raw string 2020-12-17 19:00:41 +08:00
Yousong Zhou
dae06cb500 refactor(host): startvm: add QEMU_CMD_KVM_ARG 2020-12-17 19:00:41 +08:00
Zexi Li
c6df981054 Merge pull request #9470 from ioito/hotfix/qx-apsara-metrics
fix(region): apsara metrics fix
2020-12-17 16:03:24 +08:00
Qu Xuan
edae255a04 fix(region): apsara metrics fix 2020-12-17 15:58:30 +08:00
Zexi Li
0a80d6d4a9 Merge pull request #9463 from rainzm/vmware/vswitch
fix(region): exclude network recommended for host when suggesting net…
2020-12-17 11:21:26 +08:00
Zexi Li
cba71b4043 Merge pull request #9467 from tb365/bugfix/tb-bugfix-121701
fix(region): skus add cloudenv
2020-12-17 11:17:35 +08:00
TangBin
cfc5fe9f20 fix(region): skus add cloudenv 2020-12-17 10:57:57 +08:00
rainzm
c91ad4a705 fix(region): exclude network recommended for host when suggesting network for guest 2020-12-17 10:08:56 +08:00
Zexi Li
c1f21ffba4 Merge pull request #9441 from wanyaoqi/bugfix/wyq/fix-change-config
bugfix(region): server change config rebase to sched task
2020-12-17 09:50:42 +08:00
Zexi Li
a0712c24a1 Merge pull request #9454 from zexi/hotfix/scheduler-fetch-input
fix(scheduler): fetch input network when specified
2020-12-16 18:24:29 +08:00
wanyaoqi
999cc74bde bugfix(region): server change config rebase to sched task 2020-12-16 18:03:54 +08:00
Zexi Li
03fc799067 Merge pull request #9452 from swordqiu/hotfix/qj-invalid-token-fetch-policy-panic
fix(keystone): panic if request with an invalid token
2020-12-16 17:57:26 +08:00
Zexi Li
870db8e879 fix(scheduler): fetch input network when specified 2020-12-16 17:48:53 +08:00
Yousong Zhou
719a9608c7 fix(region): eip_allocate_task: set eip status allocate_fail on task failure 2020-12-16 17:42:58 +08:00
Yousong Zhou
4a8eee0db3 fix(region,climc): eips: rename arg name for requested eip addr 2020-12-16 17:35:04 +08:00
Qiu Jian
0eaf20da26 fix(keystone): panic if request with an invalid token
service report nil pointer panic if request with an invalid token string
2020-12-16 16:43:24 +08:00
yunion-ci-robot
7b5b8ccd69 Merge pull request #9449 from yousong/bugfix/yousong-climc
fix(climc): use printObjectRecursive for PerformXxx calls
2020-12-16 13:01:14 +08:00
Zexi Li
cd34509aaf Merge pull request #9443 from tb365/bugfix/tb-bugfix-121501
Bugfix/tb bugfix 121501
2020-12-16 12:25:32 +08:00
Zexi Li
b03da9c2ea Merge pull request #9418 from zexi/hotfix/baremetal-update-related-server
fix(region): baremetal post update related server
2020-12-16 10:40:44 +08:00
Yousong Zhou
d6463f955a fix(climc): use printObjectRecursive for PerformXxx calls
Original

	+----------+-----------------------------------------------------------------------------------------------------+
	|  Field   |                                                Value                                                |
	+----------+-----------------------------------------------------------------------------------------------------+
	| forwards | [{"addr":"192.168.2.252","port":22,"proto":"tcp","proxy_addr":"10.168.222.196","proxy_port":33908}, |
	|          | {"addr":"192.168.2.252","port":22,"proto":"tcp","proxy_addr":"10.168.222.196","proxy_port":45490}]  |
	+----------+-----------------------------------------------------------------------------------------------------+

After

	+-----------------------+----------------+
	|         Field         |     Value      |
	+-----------------------+----------------+
	| forwards.0.addr       | 192.168.2.252  |
	| forwards.0.port       | 22             |
	| forwards.0.proto      | tcp            |
	| forwards.0.proxy_addr | 10.168.222.196 |
	| forwards.0.proxy_port | 33908          |
	| forwards.1.addr       | 192.168.2.252  |
	| forwards.1.port       | 22             |
	| forwards.1.proto      | tcp            |
	| forwards.1.proxy_addr | 10.168.222.196 |
	| forwards.1.proxy_port | 45490          |
	+-----------------------+----------------+
2020-12-16 10:35:58 +08:00
Yousong Zhou
1709aa2e14 chore(host): options: use rundir /var/run/onecloud for sdnagent 2020-12-16 10:00:38 +08:00
Zexi Li
d34464f86e Merge pull request #9447 from swordqiu/hotfix/qj-action-log-post-fail
fix(log): fail to submit action log
2020-12-16 09:32:50 +08:00
Zexi Li
5e4d0758bd Merge pull request #9439 from zhaoxiangchun/feature/zxc-commonalert-setnodata-master
feat(monitor): support create nodata alert from web
2020-12-16 09:27:14 +08:00
Qiu Jian
b01a3c1539 fix(log): fail to submit action log
Because splitable not implement InsertOrMethod method, fail to submit
action log
2020-12-16 00:12:52 +08:00
Yousong Zhou
a290a6a49d fix(build): fmt: ignore auto-generated files 2020-12-15 22:17:48 +08:00
Yousong Zhou
549ae15a44 feat(climc): servers: add server forward commands 2020-12-15 22:17:48 +08:00
Yousong Zhou
1427d1b3a6 feat(region): guest: add {open,close,list}-forward API 2020-12-15 22:12:23 +08:00
Yousong Zhou
8f54866272 feat(region): guest: add fetchGuestNICs method 2020-12-15 22:12:23 +08:00
Yousong Zhou
4dd3945804 feat(region): guestdrivers: guest forward open, close, list methods 2020-12-15 22:12:23 +08:00
Yousong Zhou
447770dfc6 feat(apis): region: names for guest forward API 2020-12-15 22:12:23 +08:00
Yousong Zhou
daf863bd44 feat(host): guestman: add {Open,Close,List}Forward handler 2020-12-15 22:12:23 +08:00
Yousong Zhou
eb6febcc16 feat(host): kvm: add GetVpcNIC 2020-12-15 22:12:23 +08:00
Yousong Zhou
7b55e756ed feat(host): options: add option SdnSocketPath 2020-12-15 22:12:23 +08:00
Yousong Zhou
50e6810643 refactor(host): hostdhcp: do not import guestman 2020-12-15 22:12:23 +08:00
Yousong Zhou
1e4c294fd9 refactor(host): host_health: do not import guestman 2020-12-15 22:12:23 +08:00
Yousong Zhou
e7f618228b feat(apis): add host forward request/response struct 2020-12-15 22:12:23 +08:00
Yousong Zhou
665de6d56e chore(vendor): update google.golang.org/grpc@v1.29.1
It's the last version with google.golang.org/grpc/naming

yunion.io/x/onecloud/pkg/multicloud/google imports
        cloud.google.com/go/storage imports
        google.golang.org/api/option imports
        google.golang.org/api/internal imports
        google.golang.org/grpc/naming: module google.golang.org/grpc@latest found (v1.34.0), but does not contain package google.golang.org/grpc/naming
2020-12-15 22:04:15 +08:00
Yousong Zhou
925cc31b44 feat(host): forwarder: add NewClient func 2020-12-15 22:04:15 +08:00
Yousong Zhou
e8ec0718cf feat(host): go generate forwarder api 2020-12-15 21:45:18 +08:00
Yousong Zhou
d07bece954 feat(host): add forwarder.proto 2020-12-15 21:45:18 +08:00
Yousong Zhou
2acca1a70f fix(host): guestman: variable name typo 2020-12-15 21:45:18 +08:00
TangBin
5d6c8c7611 fix(awscli): instance-rebuild-root fix 2020-12-15 21:02:23 +08:00
yunion-ci-robot
ab47e7d404 Merge pull request #9435 from wanyaoqi/bugfix/wyq/fix-windows-set-passwd
fix(host): fix set windows password with escape charater
2020-12-15 20:51:20 +08:00
TangBin
5d20bf2800 fix(region): vpc sync external access mode fix 2020-12-15 20:48:17 +08:00
TangBin
982db46e8f fix(region): vpc usable fix 2020-12-15 18:57:26 +08:00
TangBin
d37ec27d7d fix(region): aws create vpc with igw add defaultroute 2020-12-15 18:40:09 +08:00
TangBin
1cb6980b1c fix(region): aws delete vpc skipped delete main route table 2020-12-15 17:49:16 +08:00
TangBin
52ef2c2d5b fix(region): aws vpc delete skip delete default secgroup 2020-12-15 17:31:33 +08:00
TangBin
6aa2fc5817 fix(region): aws vpc delete related route table & internet gateway 2020-12-15 17:17:58 +08:00
zhaoxiangchun
805ea5c0f5 feat(monitor): support create nodata alert from web
1.支持从前端页面创建nodata报警策略,对于nodata的情况给出对应的resource
2020-12-15 17:17:31 +08:00
wanyaoqi
1d8879ef7b fix(host): fix set windows password with escape charater 2020-12-15 16:54:53 +08:00
TangBin
687deac242 fix(region): sku list query print missing error info 2020-12-15 14:49:05 +08:00
TangBin
208adf8a02 fix(region): aws create storage type fix 2020-12-15 14:42:17 +08:00
TangBin
fc64ea3252 fix(region): aws create root device name fix 2020-12-15 13:58:42 +08:00
TangBin
6591c5a750 fix(region): vpc create validate cidr mask length 2020-12-15 13:18:40 +08:00
TangBin
80c3f6b2c5 fix(region): aws detach igw before delete vpc 2020-12-15 11:48:09 +08:00
Zexi Li
657e3d3c3c Merge pull request #9431 from zexi/fix/climc-server-create-desc
Fix/climc server create desc
2020-12-15 11:46:08 +08:00
Zexi Li
c62ef9531a Merge pull request #9426 from yousong/bugfix/yousong-vpcagent-dns
fix(vpcagent): ovn: stable dns A record value
2020-12-15 11:44:42 +08:00
TangBin
dbc1c7cdfb fix(region): vpc list usable fix 2020-12-15 11:36:46 +08:00
Zexi Li
6acf96e87b fix(climc): server-create --desc not work 2020-12-15 11:35:12 +08:00
TangBin
2d19d961c7 feat(region): server list add parameter eip_associable 2020-12-15 11:05:02 +08:00
Yousong Zhou
25cd808840 fix(vpcagent): ovn: stable dns A record value 2020-12-15 10:41:43 +08:00
Zexi Li
573893edcd Merge pull request #9417 from wanyaoqi/bugfix/wyq/host-misc-1214
fix(region,host): fix hot remove nic
2020-12-15 00:07:42 +08:00
Zexi Li
e1066ea39c Merge pull request #9415 from swordqiu/hotfix/qj-keystone-sso-update-user-attributes
fix(keystone): update user attributes whenever user login
2020-12-15 00:05:42 +08:00
Zexi Li
9cd2cb7790 fix(region): baremetal post update related server 2020-12-14 19:15:29 +08:00
wanyaoqi
d9137720ab fix(region,host): fix hot remove nic
- region: check is hot remove nic enable
- host: del qemu device after del netdev
2020-12-14 18:59:52 +08:00
Qiu Jian
a0350d0537 fix(keystone): update user attributes whenever user login
update user attribtues whenever user login
2020-12-14 18:15:48 +08:00
wanyaoqi
97d96aa328 fix(host): fix check hugepage enabled 2020-12-14 18:02:54 +08:00
Zexi Li
836a9a66ff Merge pull request #9411 from zexi/hotfix/scheduler-region-sku
fix(scheduler): sku filter check zone if only prefer region specified
2020-12-14 17:56:33 +08:00
yunion-ci-robot
20421f98d6 Merge pull request #9409 from wanyaoqi/feature/wyq/export-tags
feat(region): export user tags support virtual resources
2020-12-14 17:55:05 +08:00
Zexi Li
dad3d995da Merge pull request #9405 from zexi/hotfix/webconsole-trim-url
Hotfix/webconsole trim url
2020-12-14 17:20:49 +08:00
Zexi Li
c87c2b384b fix(scheduler): sku filter check zone if only prefer region specified 2020-12-14 16:44:10 +08:00
yunion-ci-robot
976539f253 Merge pull request #9373 from rainzm/vmware/vswitch_wire
feat(region): larger suggest network and more complete vlanid
2020-12-14 15:58:05 +08:00
wanyaoqi
2675f75c80 feat(region): export user tags support virtual resources 2020-12-14 15:55:05 +08:00
Zexi Li
650df302aa Merge pull request #9394 from zexi/hotfix/scheduler-candidate-error
fix(scheduler): get candidates error more info
2020-12-14 15:52:23 +08:00
Zexi Li
511ec56f16 Merge pull request #9403 from wanyaoqi/bugfix/wyq/fix-list-by-os-arch
fix(region,glance): list by os arch adapt to empty strings
2020-12-14 15:50:51 +08:00
Zexi Li
859e2078a2 fix(webconsole): trim api_server url if end with slashes 2020-12-14 15:46:34 +08:00
Zexi Li
77aa03f5bc Merge pull request #9399 from rainzm/notify/repull
fix(notify): avoid deadlock
2020-12-14 15:45:29 +08:00
wanyaoqi
8a82407f90 fix(region,glance): list by os arch adapt to empty strings 2020-12-14 15:10:57 +08:00
rainzm
54ed4b6194 fix(notify): avoid deadlock 2020-12-14 15:02:19 +08:00
Zexi Li
7d836f77a6 fix(scheduler): get candidates error more info 2020-12-14 14:39:27 +08:00
rainzm
292716b269 feat(region): add test for CloudaccountManger.PerformPrepareNets 2020-12-14 14:16:52 +08:00
Zexi Li
408e768a62 Merge pull request #9386 from tb365/feature/tb-support-sync-skus-by-cloudregion
feat(region): support sync skus by cloudregion
2020-12-13 13:51:23 +08:00
Zexi Li
0c4ed830e1 Merge pull request #9351 from ioito/hotfix/qx-aliyun-saml-auth
feat(cloudid): support aliyun saml auth
2020-12-13 12:13:38 +08:00
Zexi Li
cf8167dd0c Merge pull request #9384 from ioito/hotfix/qx-server-stop
fix(region): optimized server stop code
2020-12-13 12:12:21 +08:00
Zexi Li
cdc16b7a6b Merge pull request #9390 from swordqiu/hotfix/qj-network-reserved-ip-count-error
fix(region): network reserved ip count not consider expiration of reserved ips
2020-12-13 12:09:17 +08:00
Qiu Jian
b581c6dabd fix(region): network reserved ip count not consider expiration of reserved ips
network reserved ip count not consider expiration of reserved ips
2020-12-12 19:28:24 +08:00
TangBin
04fa96d9c8 feat(region): support sync skus by cloudregion 2020-12-12 18:55:24 +08:00
Qu Xuan
7c6d4fddf3 fix(region): optimized server stop code 2020-12-12 18:49:35 +08:00
Zexi Li
369866d5d6 Merge pull request #9359 from tb365/bugfix/tb-bugfix-cmb-1210
Bugfix/tb bugfix cmb 1210
2020-12-12 18:28:42 +08:00
rainzm
fee218c59c feat(region): larger suggest network and more complete vlanid
1. 抓取标准 PortGroup 的 vlanid,以前只有分布式 PortGroup 的 vlanid
2. 提供的建议网络会尽可能的大
2020-12-12 18:04:09 +08:00
TangBin
c862f06996 feat(region): support sync skus by cloudregion 2020-12-12 17:06:11 +08:00
TangBin
b26249811a fix(region): server login info& keypair import input parameter trimspace 2020-12-12 17:01:20 +08:00
Zexi Li
5ddbf86edc Merge pull request #9313 from zhaoxiangchun/feat/zxc-suggestion-master
feat(monitor): add metric description
2020-12-12 00:17:48 +08:00
Zexi Li
95d67b040b Merge pull request #9361 from swordqiu/hotfix/qj-domain-unlink-action
fix(keystone): allow unlink a domain from an IDP
2020-12-12 00:16:22 +08:00
Zexi Li
983acaaf3d Merge pull request #9362 from swordqiu/feature/qj-event-log-splitable
fix(util): update vendor for log
2020-12-12 00:15:13 +08:00
Zexi Li
25402013a6 Merge pull request #9366 from swordqiu/hotfix/qj-ignore-unchanged-service-config
fix(keystone): ignore service config update without changes
2020-12-12 00:13:37 +08:00
Qiu Jian
1d7b7057a7 fix(keystone): ignore service config update without changes
ignore service config updates that no changes happen. prevent service
config change infomrer messages from flushing the log.
2020-12-11 22:10:49 +08:00
Qiu Jian
076fa5498a fix(keystone): allow unlink a domain from an IDP
allow unlink a domain from an IDP
2020-12-11 21:50:15 +08:00
zhaoxiangchun
33074ba818 feat(monitor): add metric description
1.添加oss、rds、redis、vm_netio metric description
2.修改hostmetrics vm_netio 指标:
  bits_sent ==> bps_sent
  bits_recv ==> bps_recv
3.对metric中field进行排序

https://bug.yunion.io/zentao/task-view-2358.html
2020-12-11 20:16:42 +08:00
Qiu Jian
4895175a53 update vendor 2020-12-11 20:02:53 +08:00
Zexi Li
2b2ea4872f Merge pull request #9356 from ioito/hotfix/qx-sku-enabled
fix(region): sku enabled
2020-12-11 19:36:45 +08:00
Zexi Li
096115ce5e Merge pull request #9160 from swordqiu/feature/qj-event-log-splitable
feature(cloudcommon): split opslog table
2020-12-11 19:31:06 +08:00
Qu Xuan
3cf6d2f326 feat(cloudid): support aliyun saml auth 2020-12-11 17:31:26 +08:00
Qu Xuan
be63b02b9f fix(region): sku enabled 2020-12-11 17:07:08 +08:00
yunion-ci-robot
ba53f41ccd Merge pull request #9335 from zexi/hotfix/baremetal-convert-host
Hotfix/baremetal convert host
2020-12-11 13:35:10 +08:00
Zexi Li
2782b3d94f Merge pull request #9339 from ioito/hotfix/qx-global-proxy
fix(region,yunionapi,glance): using global proxy
2020-12-11 11:39:45 +08:00
Zexi Li
4157d3b225 Merge pull request #9352 from zexi/bugfix/scheduler-sku-net
Bugfix/scheduler SKU net
2020-12-11 09:18:18 +08:00
Zexi Li
a78c565d4f fix(scheduler): sku by region and fill onecloud vpc networks 2020-12-10 21:12:06 +08:00
Zexi Li
7e2f3b9ab9 Merge pull request #9331 from ioito/hotfix/qx-openstack-host
fix(region): openstack hosts sync
2020-12-10 20:40:02 +08:00
Zexi Li
2bfb026144 Merge pull request #9347 from swordqiu/hotfix/qj-perform-public-scope-check
fix(cloudcommon): perform public should check the sharing scope of
2020-12-10 20:37:43 +08:00
Zexi Li
4648845124 Merge pull request #9340 from ioito/hotfix/qx-rule-import-hint
fix(region): import rule error hint
2020-12-10 20:33:23 +08:00
Zexi Li
e0a8fc8e27 Merge pull request #9345 from wanyaoqi/bugfix/wyq/fix-gpu-server-change-config-fail
fix(region): gpu server change config use reserved resources
2020-12-10 20:32:18 +08:00
Qiu Jian
faf00d8d67 fix(cloudcommon): perform public should check the sharing scope of
resource

perform public should check the sharing scope of resource
2020-12-10 19:03:01 +08:00
wanyaoqi
9c04a7bf37 fix(region): gpu server change config use reserved resources 2020-12-10 18:38:35 +08:00
Qu Xuan
57ae689490 fix(region,yunionapi,glance): using global proxy 2020-12-10 18:31:51 +08:00
Qu Xuan
ed9675a90f fix(region): import rule error hint 2020-12-10 18:28:38 +08:00
Zexi Li
84f02c1f76 Merge pull request #9329 from ioito/hotfix/qx-aws-default-user
fix(region): aws default account
2020-12-10 17:23:33 +08:00
Zexi Li
3f194b4ccf Merge pull request #9325 from rainzm/notify/config_change
Try to repull contacts when changing notify config
2020-12-10 17:22:06 +08:00
Zexi Li
a3a99743d8 Merge pull request #9324 from zexi/feature/k8s-component-climc
Feature/k8s component climc
2020-12-10 17:20:16 +08:00
Zexi Li
e14371a821 Merge pull request #9298 from ioito/hotfix/qx-openstack-network
fix(region): support openstack subnet allocation pools
2020-12-10 17:17:29 +08:00
yunion-ci-robot
097ffba0f4 Merge pull request #9172 from ioito/hotfix/qx-save-image
feat(region): save image for public cloud
2020-12-10 17:17:09 +08:00
Zexi Li
fc10483072 Merge pull request #9320 from swordqiu/hotfix/qj-disable-quota-check-by-default
fix(cloudcommon): disable quota check by default
2020-12-10 17:08:32 +08:00
Zexi Li
8cc0b63c86 fix(baremetal): convert to host failed
- convert schedule should include converting status
- auto register name should lowercase
- finish convert set host name by guest
2020-12-10 16:58:02 +08:00
Qu Xuan
77f515a932 fix(region): openstack hosts sync 2020-12-10 16:54:20 +08:00
Qu Xuan
b511db2e0a fix(region): aws default account 2020-12-10 16:23:52 +08:00
Zexi Li
2c56715459 feat(climc): add k8s component minio and thanos operate subcmd 2020-12-10 12:04:10 +08:00
rainzm
75998a132b fix(notify): repull subcontact after changing config 2020-12-10 10:15:19 +08:00
rainzm
5bc847f052 fix(notify): check for changes before updating config 2020-12-10 10:11:22 +08:00
rainzm
aabb200585 refactor(notify): add StartSubcontactPullTask for receiver 2020-12-10 10:09:41 +08:00
Qiu Jian
0a7513cce4 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:19:06 +08:00
Qiu Jian
e31abb6f0d update vendor 2020-12-09 21:12:55 +08:00
Qiu Jian
ab75c8f93c feature(cloudcommon): split opslog table
automatically split opslog table, so as to delete obsolete event logs
2020-12-09 21:12:55 +08:00
Zexi Li
87521a6ed8 Merge pull request #9159 from ioito/hotfix/qx-storage-capability
feat(region): add instance storage capability
2020-12-09 21:03:52 +08:00
Zexi Li
152f584a70 Merge pull request #9295 from swordqiu/hotfix/qj-update-i18n-master-20201209
fix(cloudcommon): supplement i18n translations
2020-12-09 20:44:11 +08:00
Zexi Li
997f1d9d49 Merge pull request #9292 from rainzm/receiver/intelij_get
feat(notify): add intellij-get for receiver
2020-12-09 20:43:07 +08:00
Zexi Li
6f74c7f4c4 Merge pull request #8848 from wanyaoqi/feature/wyq/host-deployer-libguestfs
host-deployer: add deploy driver libguestfs
2020-12-09 20:41:22 +08:00
Zexi Li
a77cc2f5ee Merge pull request #9259 from wanyaoqi/bugfix/wyq/attach-network-on-registerd-baremetal-server
fix(region): attach network on register baremetal server
2020-12-09 20:39:53 +08:00
Zexi Li
c354e820df Merge pull request #9302 from ioito/hotfix/qx-qcloud-instance-delete
fix(region): optimized qcloud prepaid instance delete
2020-12-09 20:37:26 +08:00
Zexi Li
ca89a13622 Merge pull request #9305 from ioito/hotfix/qx-openstack-change-config
fix(region): optimized openstack change config
2020-12-09 20:36:41 +08:00
Zexi Li
aea45b2cd2 Merge pull request #9308 from yousong/bugfix/yousong-eip-chargetype
Bugfix/yousong eip chargetype
2020-12-09 20:34:55 +08:00
Zexi Li
feb81db1b8 Merge pull request #9315 from wanyaoqi/bugfix/wyq/restart-session-check-lease-living
fix(host): check lease living on restart etcd session
2020-12-09 20:33:08 +08:00
rainzm
e8a085a947 feat(notify): user cmdline helpler for climc notify-receiver-xxx 2020-12-09 17:02:17 +08:00
wanyaoqi
92e0ed3434 fix(host): check lease living on restart etcd session 2020-12-09 16:53:55 +08:00
rainzm
6ed0b5e9fa feat(notify): add intellij-get for receiver 2020-12-09 16:45:23 +08:00
Yousong Zhou
a48d0ab7fb refactor(apis): compute: remove EIP_CHARGE_TYPE_DEFAULT
The default is now cloud provider specific
2020-12-09 12:16:20 +08:00
Yousong Zhou
82e297a551 fix(region): sanitize eip charge type on all callsites 2020-12-09 12:16:19 +08:00
Yousong Zhou
5550803667 feat(region): regiondriver: add methods on eip charge type 2020-12-09 12:04:19 +08:00
Qu Xuan
20ca72cd43 fix(region): optimized openstack change config 2020-12-09 11:47:36 +08:00
Qu Xuan
691a5fc775 fix(region): optimized qcloud prepaid instance delete 2020-12-09 11:14:54 +08:00
Qu Xuan
792b4cdd83 fix(region): support openstack subnet allocation pools 2020-12-09 10:29:25 +08:00
Qiu Jian
fbdcbeb751 fix(cloudcommon): supplement i18n translations 2020-12-09 00:43:54 +08:00
Zexi Li
516f5ab0d3 Merge pull request #9253 from ioito/hotfix/qx-azure-storageaccount-temp-url
fix(region): temp url sign wrong
2020-12-08 21:39:39 +08:00
Zexi Li
434ab6b82a Merge pull request #9263 from ioito/hotfix/qx-azure-instance-storage-type
fix(region): azure instance data disk storage type
2020-12-08 21:38:41 +08:00
Zexi Li
b9deee3060 Merge pull request #9266 from ioito/hotfix/qx-openstack-zone
fix(region): openstack available zones
2020-12-08 21:36:59 +08:00
Zexi Li
46e7d87b25 Merge pull request #9277 from wanyaoqi/bugfix/wyq/fix-validate-migrate-guests
fix(region): validate isolated devices on migrate
2020-12-08 21:35:51 +08:00
Zexi Li
6207523696 Merge pull request #9282 from ioito/hotfix/qx-guest-password
fix(region): restore password validate condition
2020-12-08 21:35:03 +08:00
Zexi Li
ee3219c9ab Merge pull request #9285 from ioito/hotfix/qx-cloud-account-sync
fix(region): sync account id
2020-12-08 21:34:04 +08:00
Zexi Li
3edef59d25 Merge pull request #9288 from zhasm/hotfix/rex-git-branch-minor
fix(git,make): 更新获取 git branch 的规则
2020-12-08 18:11:18 +08:00
Zhang Dongliang
eb7372263b fix(git,make): 更新获取 git branch 的规则 2020-12-08 17:59:24 +08:00
Qu Xuan
561f642675 fix(region): sync account id 2020-12-08 17:54:54 +08:00
wanyaoqi
948f926bf6 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:49:44 +08:00
Qu Xuan
06207c4a37 fix(region): restore password validate condition 2020-12-08 17:43:36 +08:00
yunion-ci-robot
3ba67a1c96 Merge pull request #9272 from wanyaoqi/bugfix/wyq/fix-vgrename-centos
fix(host-deployer): cancel rename centos vgname
2020-12-08 17:07:40 +08:00
wanyaoqi
97a542890d fix(region): validate isolated devices on migrate 2020-12-08 16:48:50 +08:00
Zexi Li
20e0fdcfb9 Merge pull request #9268 from zhasm/hotfix/rex-gitbranch-fix
fix(git,make): git branch 获取方式优化
2020-12-08 16:35:18 +08:00
Qu Xuan
9ddf207441 fix(region): openstack available zones 2020-12-08 16:18:33 +08:00
wanyaoqi
c302bae2bf fix(host-deployer): cancel rename centos vgname 2020-12-08 16:15:56 +08:00
wanyaoqi
92727def00 fix(region): attach network on register baremetal server 2020-12-08 15:53:17 +08:00
Zhang Dongliang
71e63e2ed1 fix(git,make): git branch 获取方式优化 2020-12-08 15:49:50 +08:00
Qu Xuan
38507661fb fix(region): azure instance data disk storage type 2020-12-08 14:56:07 +08:00
Zexi Li
18c919399a Merge pull request #9230 from zhasm/hotfix/rex-gitbranch-fix
fix(git,make): 修正 gitbranch 变量的获取方式,解决自动升级版本 tag 不统一的问题
2020-12-08 12:50:41 +08:00
Zhang Dongliang
0b2aed858a fix(git,make): 修正 gitbranch 变量的获取方式,解决自动升级版本 tag 不统一的问题 2020-12-08 11:52:33 +08:00
Qu Xuan
3a7d6fb140 fix(region): temp url sign wrong 2020-12-08 11:35:08 +08:00
Zexi Li
c8a237886e Merge pull request #9146 from ioito/hotfix/qx-keystone-refresh-scope-resource
fix(keystone): allow refresh scope resource
2020-12-08 09:39:48 +08:00
Zexi Li
0fb9c59fb7 Merge pull request #9246 from wanyaoqi/bugfix/wyq/fix-backup-server-start
fix(region): fix backup server start task
2020-12-08 09:35:20 +08:00
Zexi Li
b498c9b8da Merge pull request #9251 from swordqiu/hotfix/qj-filter-role-policies-panic
fix(keystone): rolepolicies list panic if filter by domain scope
2020-12-08 09:34:16 +08:00
Zexi Li
072a8aa367 Merge pull request #9248 from swordqiu/hotfix/qj-oidc-turn-on-debug
fix(keystone): oidc driver turn on debug mode if log-level is debug
2020-12-08 09:28:55 +08:00
Qiu Jian
4411c4e5bb fix(keystone): rolepolicies list panic if filter by domain scope
rolepolicies list panic if filter by scope=domain
2020-12-08 03:12:42 +08:00
Qiu Jian
57a0e8d63e fix(keystone): oidc driver turn on debug mode if log-level is debug
oidc driver turn on debug mode if log-level is debug
2020-12-08 02:49:09 +08:00
Zexi Li
7ef268ee15 Merge pull request #9243 from ioito/hotfix/qx-azure-windows-reset-password
fix(region): azure reset windows os password
2020-12-07 22:18:52 +08:00
Qu Xuan
a1a025eec9 feat(region): save image for public cloud 2020-12-07 21:13:21 +08:00
wanyaoqi
d2a3d200fe fix(region): fix backup server start task 2020-12-07 21:05:41 +08:00
Zexi Li
653ef8abcd Merge pull request #9240 from ioito/hotfix/qx-azure-resp
fix(region): avoid timeout for waiting azure async task
2020-12-07 20:40:57 +08:00
Zexi Li
4fd198be2d Merge pull request #9224 from tb365/bugfix/tb-bugfix-1207
Bugfix/tb bugfix 1207
2020-12-07 20:37:01 +08:00
Qu Xuan
2d46a73d4d fix(region): azure reset windows os password 2020-12-07 20:19:05 +08:00
Zexi Li
b5600f21cb Merge pull request #9220 from ioito/hotfix/qx-qcloud-secgroup-project-id
fix(region): region qcloud secgroup project id
2020-12-07 20:18:07 +08:00
Zexi Li
6de57d90a7 Merge pull request #9227 from ioito/hotfix/qx-azure-disk-size
fix(region): avoid resize azure disk error
2020-12-07 20:16:42 +08:00
Zexi Li
67d177e54c Merge pull request #9231 from wanyaoqi/bugfix/wyq/adapter-telegraf-to-container-environment
fix(host): update telegraf conf adapter to container environment
2020-12-07 19:59:08 +08:00
Zexi Li
dbcffccdfc Merge pull request #9237 from rainzm/notify/webconsole
feat(notify): add webconsole in enabled contact types
2020-12-07 19:57:35 +08:00
Qu Xuan
ab8d1238c2 fix(region): avoid timeout for waiting azure async task 2020-12-07 19:49:35 +08:00
rainzm
8aeda8f841 feat(notify): add webconsole in enabled contact types 2020-12-07 19:10:30 +08:00
TangBin
2dcc1d610e fix(region): lbcert&lbacl releated listener count bugfix 2020-12-07 17:36:41 +08:00
wanyaoqi
38a9218e9e fix(host): update telegraf conf adapter to container environment 2020-12-07 17:11:38 +08:00
TangBin
b3736ab20d fix(region): lb listener filter by acl_id 2020-12-07 15:26:05 +08:00
Qu Xuan
64849240b2 fix(region): avoid resize azure disk error 2020-12-07 15:25:34 +08:00
TangBin
485cf8b3c8 fix(region): redis master zone empty fix 2020-12-07 14:54:11 +08:00
TangBin
db20769cf2 fix(region): elastic cache name is empty fix
#6527
2020-12-07 14:08:02 +08:00
Zexi Li
54759842b8 Merge pull request #9205 from ioito/hotfix/qx-passord-validate
fix(region): validate invalid character for password
2020-12-07 10:52:03 +08:00
Qu Xuan
c14b245fad fix(keystone): allow refresh scope resource 2020-12-07 10:46:58 +08:00
Qu Xuan
d9d3fe26bd fix(region): region qcloud secgroup project id 2020-12-07 10:26:19 +08:00
Zexi Li
36e3a684e9 Merge pull request #9202 from tb365/bugfix/tb-bugfix-1204
Bugfix/tb bugfix 1204
2020-12-07 10:23:44 +08:00
Qu Xuan
c9ca2c8755 fix(region): validate invalid character for password 2020-12-07 10:07:14 +08:00
TangBin
f6abe165b5 fix(region): change dbinstance sku sync info log to warn 2020-12-07 09:57:38 +08:00
Zexi Li
416e6b7c8e Merge pull request #9217 from ioito/bugfix/qx-qcloud-secgroup-sync
fix(region): optimized qcloud secgroup sync, only redis need secgroup be in same project
2020-12-04 20:31:24 +08:00
yunion-ci-robot
f99ba966c2 Merge pull request #9215 from zhaoxiangchun/feat/zxc-suggestion-master
chore(monitor): delete suggestion files
2020-12-04 20:26:28 +08:00
zhaoxiangchun
ad0c063fb9 chore(monitor): delete suggestion files
1. 移除优化建议相关内容
2. mcclient中新增baseManager:SuggestionManager,修改优化建议相关的manager
2020-12-04 19:28:23 +08:00
Qu Xuan
6183f39168 fix(region): optimized qcloud secgroup sync, only redis need secgroup be in same project 2020-12-04 19:24:56 +08:00
Zexi Li
b2255754c9 Merge pull request #9210 from ioito/hotfix/qx-azure-metric
fix(region): azure metric request path
2020-12-04 18:00:47 +08:00
Zexi Li
57278dc4d9 Merge pull request #9213 from zexi/hotfix/remove-k8s-extend-scheduler
refactor(scheduler): remove unused k8s predicates code
2020-12-04 17:58:48 +08:00
Zexi Li
dbfd5a8e5d refactor(scheduler): remove unused k8s predicates code 2020-12-04 17:18:51 +08:00
Qu Xuan
9c7145fd53 fix(region): azure metric request path 2020-12-04 17:13:15 +08:00
Zexi Li
599bf4e622 Merge pull request #9196 from lvyangyang/fix-tag-log
feat(region): add bucket cloud tags support
2020-12-04 16:57:36 +08:00
Zexi Li
eb3c87b2fa Merge pull request #9204 from zexi/hotfix/remove-kubernetes-depend
Hotfix/remove kubernetes depend
2020-12-04 16:53:51 +08:00
Zexi Li
c025944d17 fix(go.mod): remove k8s.io/kubernetes dependency 2020-12-04 16:45:25 +08:00
TangBin
43d4ddd82d fix(region): dbinstance skus sync log level fix 2020-12-04 15:30:35 +08:00
TangBin
8dcd685e46 fix(region): server skus add cloud_env 2020-12-04 15:25:52 +08:00
Zexi Li
ddf7e8b729 Merge pull request #9066 from rainzm/esxi/createnets
feat(region): add wire level for preparing network
2020-12-04 14:52:42 +08:00
rainzm
9d048f8f9b feat(climc): add cloud-account-preparenets-vmware command 2020-12-04 14:27:51 +08:00
rainzm
9a23c9da67 feat(region): allow prepare nets for existed cloudaccounts
纳管云账号 -> 合并网段 -> 为vmware集群添加新的宿主机 ->
如何获取网络信息?

如果重新纳管,那么合并网段的工作又得做一次,很不方便。
最好的方法是,preparenets 接口支持已经存在的 cloudaccount,这样
就可以根据推荐的网络手动设置新设备的网络。
2020-12-04 14:27:51 +08:00
rainzm
a7eadb54e6 feat(region): add wire level for preparing network
There are three wire level for vmware: vcenter, datacenter and cluster.
According to different wire levels, the recommended network has a different structure.
2020-12-04 14:27:46 +08:00
Zexi Li
7f3c0d5fed Merge pull request #9052 from ioito/hotfix/qx-cloud-image-sync
feat(region): optimized public image sync
2020-12-04 10:59:12 +08:00
Zexi Li
1bc52e34df Merge pull request #9189 from rainzm/guest/medium
fix(region): remove default value of diskConfig.Medium
2020-12-04 10:41:14 +08:00
Zexi Li
68b9147ce1 Merge pull request #9083 from zexi/feature/climc-print-jsonobj
feat(climc): print json object support array
2020-12-04 10:24:06 +08:00
Zexi Li
beb7661b9f Merge pull request #9144 from yousong/feature/yousong-vpc-md
Feature/yousong vpc md
2020-12-04 10:23:25 +08:00
Zexi Li
670e3843ea Merge pull request #9183 from rainzm/gt/health_check
fix(region): inspect invalid guest template
2020-12-04 10:21:02 +08:00
Zexi Li
f510018dd8 Merge pull request #9180 from tb365/bugfix/tb-bugfix-1203
Bugfix/tb bugfix 1203
2020-12-04 10:18:41 +08:00
Zexi Li
6b08260f53 Merge pull request #9192 from swordqiu/hotfix/qj-allow-logout-by-get
fix(apigateway): allow logout by get method
2020-12-04 10:16:27 +08:00
Zexi Li
84a9f2357f Merge pull request #9184 from zexi/hotfix/scheduler-tag-nil
Hotfix/scheduler tag nil
2020-12-04 10:15:29 +08:00
lvyangyang
2edde62fca feat(region): add bucket cloud tags support 2020-12-04 10:11:25 +08:00
rainzm
4f8d86cb19 fix(region): remove default value of diskConfig.Medium
#8830 中,对调度器增加了通过请求磁盘的介质类型过滤存储的功能。

如果使用 climc 创建虚拟机且不要求磁盘有固定的介质类型,将
只能分配到 hybrid 的存储;进一步,如果没有 hybrid 的存储,将会调度失败。
2020-12-04 09:57:52 +08:00
Qiu Jian
d2caac95df fix(apigateway): allow logout by get method
All visit logout URL by GET method
2020-12-04 01:10:53 +08:00
Zexi Li
a7e40d36c5 fix(scheduler): check candidate tag resource is nil 2020-12-03 20:43:10 +08:00
rainzm
797039a399 fix(region): inspect invalid guest template
The glance service hangs and other external reasons may cause the guest template to be judged as invalid.
Therefore, health inspection should be performed on time for invalid guest templates.
2020-12-03 20:35:17 +08:00
lvyangyang
d2e5329f33 fix(region): fix modify tags log 2020-12-03 20:00:29 +08:00
TangBin
4b171e1630 fix(region): huawei vnc protocal fix 2020-12-03 20:00:17 +08:00
Zexi Li
553747b7c5 Merge pull request #9176 from zexi/hotfix/scheduler-select-unorder
fix(scheduler): select resource unordered
2020-12-03 19:55:18 +08:00
Zexi Li
2fbf4cb0f2 Merge pull request #9147 from lvyangyang/bucket-access-multicloud
feat(region): 多云 bucket  website.cors,referer 配置
2020-12-03 19:00:12 +08:00
Zexi Li
6a80a12664 fix(scheduler): select resource unordered 2020-12-03 18:41:04 +08:00
TangBin
5129296744 feat(webconsole): add huawei vnc support 2020-12-03 16:00:55 +08:00
Zexi Li
1f41cd9d71 Merge pull request #9135 from ioito/hotfix/qx-cloud-user-notify
feat(cloudid): notify clouduser created
2020-12-03 15:17:05 +08:00
Zexi Li
f9da585433 Merge pull request #9161 from ioito/hotfix/qx-recovery-new-rds
feat(region): huawei recovery new rds
2020-12-03 14:44:10 +08:00
Zexi Li
1908326fd0 Merge pull request #9163 from wanyaoqi/bugfix/wyq/fix-list-by-server-type
bugfix(region): fix list by srever type normal
2020-12-03 14:43:09 +08:00
Zexi Li
ef9cc03d46 Merge pull request #9138 from zhaoxiangchun/bugfix/zxc-suggest-timefromj-master
fix(monitor): modify influxdbSuggestDriver query err
2020-12-03 14:41:51 +08:00
zhaoxiangchun
df6a2634f7 fix(monitor): modify influxdbSuggestDriver query err
1.修复influxdb相关的建议规则查询数据失败的问题
2020-12-03 12:59:27 +08:00
wanyaoqi
23e4a483dc bugfix(region): fix list by srever type normal
server list by normal shouldn't contains gpu and backup servers

cherrypick: release/3.4
2020-12-03 12:03:59 +08:00
lvyangyang
8a9ec04f9f feat(region): 多云 bucket website.cors,referer 配置 2020-12-03 11:31:51 +08:00
Qu Xuan
1f91cc0f15 feat(region): huawei recovery new rds 2020-12-03 10:47:14 +08:00
TangBin
11d12ca7db fix(region): elb cached acl sync 2020-12-03 10:02:24 +08:00
Zexi Li
456a232ae2 Merge pull request #9134 from ioito/hotfix/qx-azure-win-account
fix(region): azure win os defualt user
2020-12-03 09:35:06 +08:00
Zexi Li
65be30fb4d Merge pull request #9154 from wanyaoqi/feature/wyq/add-filter-server-type
feat(region): add list filter server type
2020-12-03 09:32:59 +08:00
Qu Xuan
f4df3223bb feat(region): add instance storage capability 2020-12-02 21:21:29 +08:00
Zexi Li
9ff1846154 Merge pull request #9150 from ioito/hotfix/qx-qcloud-localdisk-sync
fix(region): avoid qcloud sync local disk error
2020-12-02 21:05:02 +08:00
wanyaoqi
64e844425a feat(region): add list filter server type
list server by specific server type: normal, gpu, backup

cherrypick: release/3.4
2020-12-02 20:27:01 +08:00
Qu Xuan
39d86735f5 fix(region): avoid qcloud sync local disk error 2020-12-02 20:24:59 +08:00
Yousong Zhou
771824d307 feat(appsrv): Application: add Stop method for shutdown behaviour 2020-12-02 18:04:31 +08:00
Yousong Zhou
6dce7d8ebc refactor(hostman): metadata: eliminate import of guestman 2020-12-02 18:04:31 +08:00
Yousong Zhou
38b6e011ef refactor(hostman): use metadata.DescGetterFunc 2020-12-02 18:04:31 +08:00
Yousong Zhou
de2f1ec3b4 refactor(host): metadata: eliminate ref of guestNic 2020-12-02 18:04:31 +08:00
Yousong Zhou
43215c2ad2 feat(host): metadata: make vpc aware metadata handler 2020-12-02 18:04:31 +08:00
Yousong Zhou
65220a6f5a feat(vpcagent): export subnet mac gen funcs 2020-12-02 18:04:31 +08:00
Zexi Li
7a2f64cc7d Merge pull request #9140 from swordqiu/hotfix/qj-not-allow-disable-sql-driver
fix(keystone): not allow to disable sql driver
2020-12-02 17:08:27 +08:00
Qiu Jian
ef648b5b87 fix(keystone): not allow to disable sql driver
not allow to disable default SQL identity_provider driver
2020-12-02 16:39:23 +08:00
Zexi Li
6cb7a60d93 Merge pull request #9061 from zhaoxiangchun/bugfix/zxc-nodata-master
fix(monitor): delete suggestConfig auto Initialized data
2020-12-02 14:52:00 +08:00
Qu Xuan
fc0f05286f feat(cloudid): notify clouduser created 2020-12-02 14:28:14 +08:00
zhaoxiangchun
2a7f9ab516 fix(monitor): delete suggestConfig auto init data
1.删除忽略列表之前逻辑初始化生成的配置config
2.忽略列表默认查询ignore=true的数据
3.修复建议列表 忽略一类建议不生效的问题
2020-12-02 11:18:13 +08:00
Qu Xuan
794e7494bc fix(region): azure win os defualt user 2020-12-02 09:51:58 +08:00
Zexi Li
5a5d5cc0c5 Merge pull request #9131 from ioito/hotfix/qx-qcloud-cam-user
fix(cloudid): sync qcloud collaborators user
2020-12-01 21:07:57 +08:00
Zexi Li
85c48b469c Merge pull request #9091 from tb365/bugfix/tb-bugfix-1130
fix(region): reserved name checking while create redis account
2020-12-01 21:06:16 +08:00
Zexi Li
51501fd205 Merge pull request #9123 from ioito/hotfix/qx-bucket-delete-condition
fix(region): allow delete resource which status is unknown
2020-12-01 21:04:52 +08:00
Zexi Li
5d63c907cf Merge pull request #9104 from rainzm/notify/second_try
fix(notify): return the result of the second attempt to execute the rpc call
2020-12-01 21:03:11 +08:00
Qu Xuan
f841fd85ad fix(cloudid): sync qcloud collaborators user 2020-12-01 20:34:16 +08:00
Zexi Li
0eb08f10ce Merge pull request #9109 from yousong/bugfix/yousong-hostman
fix(host): make sure it won't match vpc guests by accident
2020-12-01 20:13:15 +08:00
Zexi Li
7c4dc7e7e4 Merge pull request #9120 from ioito/hotfix/qx-rds-account-desc
fix(region): allow update rds account and database desc
2020-12-01 19:32:57 +08:00
yunion-ci-robot
07d863e388 Merge pull request #9116 from rainzm/sg/detach_guest
fix(region): delete guest without 'purge' in GuestDetachScalingGroupTask
2020-12-01 19:31:45 +08:00
Qu Xuan
b7ed3a683c fix(region): allow delete resource which status is unknown 2020-12-01 17:15:44 +08:00
Qu Xuan
b14f6be828 fix(region): allow update rds account and database desc 2020-12-01 16:37:42 +08:00
rainzm
6f92fef698 fix(region): delete guest without 'purge' in GuestDetachScalingGroupTask 2020-12-01 15:52:48 +08:00
Yousong Zhou
6db7503474 fix(host): make sure it won't match vpc guests by accident 2020-12-01 15:29:39 +08:00
rainzm
4135b3729b fix(notify): return the result of the second attempt to execute the rpc call 2020-12-01 14:35:04 +08:00
Zexi Li
47a2f5a9d9 feat(climc): print json object support array 2020-12-01 13:01:18 +08:00
yunion-ci-robot
760854ba91 Merge pull request #9100 from yousong/bugfix/yousong-qcloud-nic
Bugfix/yousong qcloud nic
2020-12-01 12:57:57 +08:00
Zexi Li
cd007d9fdb Merge pull request #9102 from ioito/hotfix/qx-code-gen-api
fix(region): code gen api error
2020-12-01 11:59:30 +08:00
Qu Xuan
54537e65c3 fix(region): code gen api error 2020-12-01 11:26:34 +08:00
Yousong Zhou
d7a11d1abf multicloud: qcloud: fix instancenic 2020-12-01 11:16:21 +08:00
Yousong Zhou
77af00ec7d multicloud: qcloud: add ptr deref func 2020-12-01 11:16:21 +08:00
Yousong Zhou
cd4d0a27b2 multicloud: qcloud: add apiDomainByRegion 2020-12-01 11:16:21 +08:00
Yousong Zhou
101abde5ae multicloud: qcloud: add getVpcClient 2020-12-01 11:16:21 +08:00
Yousong Zhou
68b8b7f7cd multicloud: qcloud: add getSdkClient 2020-12-01 11:16:21 +08:00
Yousong Zhou
00da68cb1f vendor: add tencentcloud-sdk-go vpc 2020-12-01 11:16:21 +08:00
Zexi Li
d0a2f43484 Merge pull request #9096 from yousong/bugfix/yousong-informer
Bugfix/yousong informer
2020-12-01 09:33:55 +08:00
Yousong Zhou
da4c2dcaa4 fix(taskman): SSubTask: set model manager 2020-11-30 23:09:55 +08:00
Yousong Zhou
3a0303df6f fix(region): secgrouprule: set model manager 2020-11-30 23:09:53 +08:00
Zexi Li
1115f6856d Merge pull request #9072 from ioito/hotfix/qx-huawei-saml-mapping
fix(cloudid): huawei saml provider create issue
2020-11-30 21:56:15 +08:00
Zexi Li
90416984b1 Merge pull request #9064 from ioito/hotfix/qx-apsara-fix
fix(region): apsara is private cloud
2020-11-30 21:53:20 +08:00
Zexi Li
1495f3b334 Merge pull request #9084 from yousong/feature/yousong-nas-filter
feat(region): networkaddresses: filter by guest ids
2020-11-30 21:52:39 +08:00
Zexi Li
bb005efe11 Merge pull request #9076 from rainzm/notify/spec_receiver
Notify via contact skip receiver
2020-11-30 21:50:06 +08:00
Zexi Li
53da87ad0b Merge pull request #9079 from yousong/feature/yousong-options-vpc-ea
feat(region): options: allow setting default vpc external access mode
2020-11-30 21:49:03 +08:00
Zexi Li
cbb8e3eca3 Merge pull request #9086 from rainzm/cp/sort_excludednet
fix(region): sort excludedNets correctly
2020-11-30 21:47:28 +08:00
Zexi Li
08f8149f25 Merge pull request #9075 from ioito/hotfix/qx-backup-create-optimized
fix(region): optimized rds backup create
2020-11-30 21:31:47 +08:00
rainzm
66f373d073 feat(cloudcommon): add NotifyWithContact 2020-11-30 19:58:49 +08:00
TangBin
1cf8bfb0a1 fix(region): reserved name checking while create redis account 2020-11-30 19:14:51 +08:00
Yousong Zhou
9dfea3835b feat(region): networkaddresses: filter by guest ids 2020-11-30 19:01:50 +08:00
rainzm
517390395b fix(region): sort excludedNets correctly
之前,excludedNets 内部表示起始 IP 的字段是 string 类型,直接使用 <
比较是错误的。
现在,把 excludedNets 表示起始 IP 的字段改为了
netutils.IPV4Addr,这样就可以正确地进行比较排序了。
2020-11-30 18:57:33 +08:00
Yousong Zhou
984dc84239 feat(region): options: allow setting default vpc external access mode 2020-11-30 18:27:25 +08:00
Yousong Zhou
d5a8158346 fix(region): pass up error from InitializeData 2020-11-30 18:27:25 +08:00
rainzm
a8ea8b10cc feat(cloudcommon): allways send webconsole notification via contacts
For notification with webconsole type, receiverId is same with contacts.
2020-11-30 17:45:52 +08:00
rainzm
3ba52355b8 feat(notify): permit admin sending notification via contact
In this way, you can easily send notification to non-existent receiver.
2020-11-30 17:45:48 +08:00
Qu Xuan
4ab1fe75c0 fix(region): optimized rds backup create 2020-11-30 17:45:21 +08:00
Qu Xuan
7bac9144ef feat(region): optimized public image sync 2020-11-30 17:23:51 +08:00
Qu Xuan
5f84614618 fix(cloudid): huawei saml provider create issue 2020-11-30 16:29:11 +08:00
Zexi Li
3a6713a5d5 Merge pull request #8995 from ioito/hotfix/qx-cloudid-policy-sync
fix(cloudid): avoid new public account sync system policy delay 1 day
2020-11-30 14:12:45 +08:00
Zexi Li
9a4ff2747a Merge pull request #9063 from rainzm/feat/hub_version
feat(scripts): add prompt of `hub` version
2020-11-30 12:09:11 +08:00
Qu Xuan
f27ab3cc7c fix(region): apsara is private cloud 2020-11-30 10:39:11 +08:00
rainzm
d6d1082042 feat(scripts): add prompt of hub version
The flag `hub pr show -f ...` as used in cherry_pick_pull.sh was
permited since version 2.13.0.

close #9027
2020-11-30 10:09:53 +08:00
Zexi Li
103d72bfae Merge pull request #8575 from yousong/feature/yousong-nas
Feature/yousong  networkaddresses
2020-11-27 20:18:22 +08:00
Qu Xuan
3b0710d982 fix(cloudid): avoid new public account sync system policy delay 1 day 2020-11-27 20:17:16 +08:00
Zexi Li
e1c4885aed Merge pull request #9021 from ioito/hotfix/qx-cloud-account-auto-sync
fix(region): auto sync cloudaccount resources
2020-11-27 20:13:46 +08:00
yunion-ci-robot
d1245f63f7 Merge pull request #8434 from ioito/hotfix/qx-panic-log
fix: add panic log for worker task
2020-11-27 20:09:47 +08:00
Zexi Li
fb79e1ad42 Merge pull request #9054 from zhaoxiangchun/bugfix/zxc-nodata-master
fix(monitor): modify monitor nodata alert matching onecloud host func
2020-11-27 20:07:24 +08:00
Zexi Li
e95a667bdd Merge pull request #9056 from lvyangyang/bucket_refer_fix
fix(region): bucket get referer fix
2020-11-27 20:03:44 +08:00
Qu Xuan
5cba23d8cf fix: add panic log for worker task 2020-11-27 19:36:44 +08:00
lvyangyang
ad4c3a38e3 fix(region): bucket get referer fix 2020-11-27 19:04:19 +08:00
zhaoxiangchun
73ec2db41b fix(monitor): modify monitor nodata alert matching onecloud host func 2020-11-27 19:03:49 +08:00
yunion-ci-robot
3c47d38367 Merge pull request #9036 from yousong/feature/yousong-guest-search
feat(region): search server by substr of ip or mac
2020-11-27 18:46:36 +08:00
Zexi Li
fbfa6e0c81 Merge pull request #9049 from wanyaoqi/bugfix/wyq/fix-scheduler-network-predicate2
fix(region,scheduler): fix netwrok predicate
2020-11-27 18:43:32 +08:00
wanyaoqi
ff9d051fab fix(region,scheduler): fix netwrok predicate
1. Guest config to schedule input should include network exit propertites.
2. Guest migrate and create backup server should not check network count,
because of migrate and create backup server will not allocate new network to guest.

cherrypick: release/3.5
2020-11-27 18:14:46 +08:00
yunion-ci-robot
0908b81e23 Merge pull request #9046 from rainzm/isp/fix_provider_1
fix(region): get provider name via GetProviderName
2020-11-27 17:58:31 +08:00
rainzm
c6592cadc4 fix(region): get provider name via GetProviderName 2020-11-27 17:31:36 +08:00
Zexi Li
24592f0641 Merge pull request #9033 from lvyangyang/bucket_acl
feat(region): set qcloud bucket policy
2020-11-27 16:29:43 +08:00
rainzm
83f017a07b fix(region): get provider name via GetProviderName 2020-11-27 16:11:09 +08:00
lvyangyang
1591f0ab81 feat(region): set qcloud bucket policy 2020-11-27 14:33:58 +08:00
Yousong Zhou
639d05dd43 feat(region): search server by substr of ip or mac 2020-11-27 14:33:14 +08:00
Zexi Li
6e58db6b12 Merge pull request #9022 from swordqiu/hotfix/qj-adjust-keystone-policy-sync-period
fix(cloudcommon): adjust policy refresh to default 30 seconds
2020-11-27 14:22:02 +08:00
yunion-ci-robot
21c716d2ba Merge pull request #9024 from ioito/hotfix/qx-cloudid-role-name
fix(cloudid): avoid use invalid character for role name
2020-11-27 09:51:35 +08:00
Zexi Li
f0f4e54c21 Merge pull request #8998 from ioito/hotfix/qx-saml-policy
fix(region): allow member user get saml auth addr
2020-11-26 21:39:37 +08:00
Zexi Li
1fa7da126a Merge pull request #9018 from ioito/hotfix/qx-saml-provider-update
fix(cloudid): auto update saml provider metadata
2020-11-26 21:38:09 +08:00
Qu Xuan
1e5014aa41 fix(cloudid): avoid use invalid character for role name 2020-11-26 21:36:59 +08:00
Zexi Li
65496e636d Merge pull request #9002 from ioito/hotfix/qx-aliyun-fin-bucket-objects
fix(region): avolid aliyun fin bucket list objects error
2020-11-26 21:36:44 +08:00
yunion-ci-robot
2d3de92eea Merge pull request #9015 from tb365/bugfix/tb-huawei-sync-storage-bugfix
fix(region): huawei sync storages bugfix
2020-11-26 21:36:30 +08:00
Zexi Li
d16f7d9803 Merge pull request #9012 from ioito/hotfix/qx-qcloud-request-limit
fix(region): qcloud request retry
2020-11-26 21:31:38 +08:00
Zexi Li
af2448f63a Merge pull request #9005 from yousong/feature/yousong-ovn-encap-ip
Feature/yousong ovn encap ip
2020-11-26 21:29:12 +08:00
Zexi Li
30cfb4f931 Merge pull request #9009 from ioito/hotfix/qx-climc-clirc
fix(climc): replace ' -> "
2020-11-26 21:26:32 +08:00
Yousong Zhou
929fa87c5f vpcagent: ovn: make aware of sub ips 2020-11-26 21:18:59 +08:00
Yousong Zhou
be478c4430 vpcagent: models: join network addresses 2020-11-26 21:18:59 +08:00
Yousong Zhou
d96d51603e vpcagent: apihelper: filter by cloud_env=onpremise 2020-11-26 21:18:59 +08:00
Yousong Zhou
d14a35fa2c multicloud: aliyun: instancenic: handle InvalidOperation.Ipv4CountExceeded 2020-11-26 21:18:59 +08:00
Yousong Zhou
18ac0205b3 networkaddresses: handle cloudprovider.ErrAddressCountExceed 2020-11-26 21:18:59 +08:00
Yousong Zhou
325623a70e cloudprovider: add ErrAddressCountExceed 2020-11-26 21:18:59 +08:00
Yousong Zhou
374b96553c networkaddresses: do server sync for on premise servers 2020-11-26 21:18:59 +08:00
Yousong Zhou
b0f958e8ab networkaddresses: disallow batch create for external resources 2020-11-26 21:18:59 +08:00
Yousong Zhou
4c04e48ac0 networkaddresses: cloudprovider support 2020-11-26 21:18:58 +08:00
Yousong Zhou
8042a74295 multicloud: aws: subaddress management 2020-11-26 21:18:58 +08:00
Yousong Zhou
f656504587 multicloud: aws: instancenic: add interface id attribute 2020-11-26 21:18:58 +08:00
Yousong Zhou
33fdcda955 multicloud: aliyun: instancenic: secondary address management 2020-11-26 21:18:58 +08:00
Yousong Zhou
fe6714b287 vendor: bump alibaba-cloud-sdk-go to v1.61.684
For commit [1]

 [1] 6313cc407e
2020-11-26 21:18:58 +08:00
Yousong Zhou
3bbaedaa7f vendor: add github.com/aliyun/alibaba-cloud-sdk-go/services/ecs 2020-11-26 21:18:58 +08:00
Yousong Zhou
d0f64150c2 cloudprovider: ICloudNic: add methods for secondary addresses 2020-11-26 21:18:58 +08:00
Yousong Zhou
ab7ad856b5 multicloud: ICloudNic: add GetId() 2020-11-26 21:18:58 +08:00
Yousong Zhou
1569966aa3 multicloud: ICloudNic: fix GetMAC() 2020-11-26 21:18:58 +08:00
Yousong Zhou
9f31365416 hostman: metadata: add handler for /local-sub-ipv4s 2020-11-26 21:18:58 +08:00
Yousong Zhou
e3b55426aa networkaddresses: add to nics field of guest desc 2020-11-26 21:18:58 +08:00
Yousong Zhou
1476f59130 networkaddresses: add parent_type guestnetwork 2020-11-26 21:18:58 +08:00
Yousong Zhou
2306fbb6f5 networks: usedAddressQuery: rename with baseq, ownerq, retq 2020-11-26 21:18:58 +08:00
Yousong Zhou
4ec791f031 networks: split getUsedAddressQuery as method of each manager 2020-11-26 21:18:57 +08:00
Yousong Zhou
10042037ab networks: fix typo in log 2020-11-26 21:18:57 +08:00
Yousong Zhou
b271ab4631 db_dispatcher: allow batch create for models without name 2020-11-26 21:18:57 +08:00
Yousong Zhou
1d25083bfe db: interface: manager: add HasName() method 2020-11-26 21:18:57 +08:00
Yousong Zhou
8e2c8feabf db: standalone_anon: empty result for name query 2020-11-26 21:18:57 +08:00
Yousong Zhou
3d53f8dabe db: add standalone_anon 2020-11-26 21:18:57 +08:00
Yousong Zhou
cc00e58f58 schedtags: add ListItemExportKeys 2020-11-26 21:18:57 +08:00
Yousong Zhou
6bf5be5b0b db: add manager methods appliers 2020-11-26 21:18:57 +08:00
Yousong Zhou
a57a63bf58 db_dispatcher: delay compute to where needed 2020-11-26 21:18:57 +08:00
Yousong Zhou
fd98674c92 db_dispatcher: remove unused GetExtraDetails call 2020-11-26 21:18:57 +08:00
Yousong Zhou
6c65eb1ea6 db: virtualjoint: add FilterById on RowId 2020-11-26 21:18:57 +08:00
Yousong Zhou
89361aee27 db: modelbase: BatchCreateValidateCreateData: return orig data 2020-11-26 21:18:57 +08:00
Yousong Zhou
805002005f db: check funcs required by dispatcher 2020-11-26 21:18:57 +08:00
Yousong Zhou
97dbd1899f region: networks: attach func use struct args 2020-11-26 21:18:57 +08:00
Yousong Zhou
7444234981 region: networkresource: fix signature of GetExtraDetails 2020-11-26 21:18:57 +08:00
Yousong Zhou
ff525a9595 multicloud: aliyun: make getSdkClient proxy aware 2020-11-26 21:18:57 +08:00
Yousong Zhou
027817f565 climc: helper: add BatchCreate helper 2020-11-26 21:18:57 +08:00
Yousong Zhou
85aa05f1f7 climc: helper: create call as a standalone method 2020-11-26 21:18:57 +08:00
Yousong Zhou
a56aca9cbe climc: s/Keyworkd/Keyword/ 2020-11-26 21:18:53 +08:00
Yousong Zhou
02315bdd85 vendor: bump yunion.io/x/pkg 2020-11-26 21:17:07 +08:00
Yousong Zhou
d67eeac5dd vendor: bump yunion.io/x/sqlchemy 2020-11-26 21:17:07 +08:00
Qiu Jian
ef8ad89668 fix(cloudcommon): adjust policy refresh to default 30 seconds
Cache policy check result for 30 seconds by default
2020-11-26 21:14:50 +08:00
Qu Xuan
b574323cba fix(region): auto sync cloudaccount resources 2020-11-26 20:53:27 +08:00
Qu Xuan
ac146af36b fix(cloudid): auto update saml provider metadata 2020-11-26 20:18:13 +08:00
TangBin
797101e6ca fix(region): huawei sync storages bugfix 2020-11-26 19:25:25 +08:00
Qu Xuan
bd8cf2453d fix(region): qcloud request retry 2020-11-26 19:02:41 +08:00
Qu Xuan
5c64f32f08 fix(climc): replace ' -> " 2020-11-26 17:35:15 +08:00
Yousong Zhou
bbc511f6d1 feat(host): add option OvnEncapIpDetectionMethod can-reach:xx 2020-11-26 17:01:08 +08:00
Yousong Zhou
1c39030edb feat(netutils2): add MyIPTo 2020-11-26 16:53:39 +08:00
yunion-ci-robot
219b591252 Merge pull request #8828 from wanyaoqi/feature/wyq/update-arm-apis
feature: update cpu arch apis
2020-11-26 16:37:33 +08:00
Qu Xuan
5a82bffebd fix(region): avolid aliyun fin bucket list objects error 2020-11-26 16:15:51 +08:00
wanyaoqi
3f8e469438 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:14:03 +08:00
Qu Xuan
880e09ee34 fix(region): allow member user get saml auth addr 2020-11-26 15:01:09 +08:00
Zexi Li
d7c096db0f Merge pull request #8968 from swordqiu/hotfix/qj-esxi-host-bebind-nat
fix(region,esxiagent): allow host behind a nat
2020-11-26 12:11:05 +08:00
yunion-ci-robot
e567d6a552 Merge pull request #8991 from zexi/hotfix/scheduler-sync
fix(scheduler): cleanup exipre cache before schedule
2020-11-26 11:44:39 +08:00
Zexi Li
b7a8b37f7d fix(region): wire get vpc releated hosts is empty 2020-11-26 10:59:39 +08:00
yunion-ci-robot
66c200cd3f Merge pull request #8779 from tb365/feature/tb-loadbalancer-project-optimization
负载均衡ACL&证书增加项目和共享
2020-11-26 10:47:34 +08:00
TangBin
8686b77b87 fix(region): climc add base projects options 2020-11-26 10:24:41 +08:00
Zexi Li
aaef2778e3 Merge pull request #8937 from yousong/bugfix/yousong-task-err
fix(treewide): fix task error recording
2020-11-26 09:24:55 +08:00
Zexi Li
99a8f99e1d Merge pull request #8886 from rainzm/feat/cp_pr_title
feat(scripts): add more reasonable title for cherry pick PR
2020-11-25 22:05:28 +08:00
Zexi Li
180cb4fabf Merge pull request #8925 from rainzm/isp/quota
Fixs for InstanceSnapshot
2020-11-25 22:04:18 +08:00
Zexi Li
0743852fab Merge pull request #8902 from zhaoxiangchun/feature/zxc-nodata-master
feat(monitor): add nodata alert policy
2020-11-25 22:02:44 +08:00
Zexi Li
40d7135dc2 Merge pull request #8955 from tb365/bugfix/tb-bugfix-1125
fix(region): allow reset huawei system disk
2020-11-25 22:01:07 +08:00
Zexi Li
ae06501b4e Merge pull request #8961 from ioito/hotfix/qx-qcloud-hssd
fix(region): valid qcloud hssd for system disk
2020-11-25 21:59:17 +08:00
Zexi Li
8a74b3e3fa Merge pull request #8977 from zhaoxiangchun/bugfix/zxc-monitor-servicetype-master
fix(monitor): modify monitor serviceType in StartService()
2020-11-25 21:56:50 +08:00
Zexi Li
f4d1ca4667 Merge pull request #8987 from rainzm/fix/sci_delete
fix(region): allow delete storagecachedimage with 'cache_failed' status
2020-11-25 21:55:26 +08:00
Zexi Li
b7835f9796 fix(region): network clean schedule cache after real deleted 2020-11-25 21:50:14 +08:00
Zexi Li
c0da4cc524 fix(scheduler): clean expire cache before schedule 2020-11-25 21:50:14 +08:00
zhaoxiangchun
dcdf3a1281 fix(monitor): modify monitor serviceType in StartService()
1.修改monitor服务在service代码中注册的serviceType:
   alerter ===> monitor
2020-11-25 20:29:49 +08:00
Zexi Li
69d712a1b4 Merge pull request #8965 from zhaoxiangchun/bugfix/zxc-suggest-timefromj-master
fix(monitor): suggestalert ignore throw err
2020-11-25 19:45:52 +08:00
Zexi Li
453541393b Merge pull request #8973 from ioito/hotfix/qx-qcloud-instance-delete-timeout
fix(region): set qcloud instance del timeout to 20m
2020-11-25 19:37:04 +08:00
rainzm
da03a979f8 fix(region): ignore params.Disks when cloning vm from snapshot 2020-11-25 18:23:14 +08:00
rainzm
be76d1eb47 fix(region): add size and storageType for VMware InstanceSnapshot 2020-11-25 18:23:14 +08:00
rainzm
b9e983787d fix(esxiagent): add humanized tips when searching vm failed 2020-11-25 18:23:14 +08:00
rainzm
e6c908da2e fix(region): make project of instance snapshot be consistent with the instance 2020-11-25 18:23:14 +08:00
rainzm
b4011db917 fix(region): save when canceling pendingUsage 2020-11-25 18:23:14 +08:00
rainzm
4b73139763 feat(region): set pendingUsage before creating instance snapshots 2020-11-25 18:23:12 +08:00
rainzm
d1ed0ec679 feat(region): add instance_snapshot for regionquota 2020-11-25 18:22:29 +08:00
rainzm
33a702617f fix(region): purge all instance snapshots when purging guest 2020-11-25 18:22:23 +08:00
rainzm
e4cd054b74 feat(region): add SCloudregionResourceBase for SInstanceSnapshot
理论上,可以通过
SInstanceSnapshot->SGuest->SHost->SZone->SCloudregionResourceBase
拿到 cloudregion_id, 但是这样的效率太低了
2020-11-25 18:21:14 +08:00
TangBin
a537c0e396 fix(region): update translations 2020-11-25 18:10:32 +08:00
TangBin
332f752ae3 fix(region): allow reset huawei system disk 2020-11-25 18:06:41 +08:00
rainzm
052a10f635 fix(region): allow delete storagecachedimage with 'cache_failed' status
Having status 'cache_failed' means this storagecachedimage does not actually exist.
2020-11-25 17:43:39 +08:00
Zexi Li
319a7ab2a2 Merge pull request #8970 from ioito/hotfix/qx-saml-auth-url
fix(cloudid): avoid empty auth url
2020-11-25 17:16:40 +08:00
Qu Xuan
bd9f961bd2 fix(region): set qcloud instance del timeout to 20m 2020-11-25 17:16:15 +08:00
Qu Xuan
79ea27170f fix(cloudid): avoid empty auth url 2020-11-25 17:05:59 +08:00
Zexi Li
5a4b95f1a5 Merge pull request #8958 from ioito/hotfix/qx-saml-auth
fix(region): validate cloudaccount saml auth params
2020-11-25 16:06:41 +08:00
Qiu Jian
a5327c3cec fix(region,esxiagent): allow host behind a nat
check host by ip may fail if host is behind a nat. ignore this case.
2020-11-25 12:17:13 +08:00
zhaoxiangchun
e10d9b698e Merge branch 'master' of https://github.com/yunionio/onecloud into feature/zxc-nodata-master 2020-11-25 12:06:28 +08:00
zhaoxiangchun
b8c008a8a1 fix(monitor): suggestalert ignore throw err
1.修复优化建议忽略操作报错
2020-11-25 12:01:05 +08:00
Qu Xuan
c5c77b4062 fix(region): valid qcloud hssd for system disk 2020-11-25 11:50:49 +08:00
Qu Xuan
c05b75385f fix(region): validate cloudaccount saml auth params 2020-11-25 11:33:50 +08:00
yunion-ci-robot
4a8eafbc0a Merge pull request #8895 from ioito/hotfix/qx-password-check
fix(region): 避免OneCloud密码校验通过,公有云厂商密码校验不通过
2020-11-25 09:58:15 +08:00
Zexi Li
693201b803 Merge pull request #8947 from yousong/bugfix/yousong-vm-changeip-eip
fix(region): change_ipaddr: retain eip_id on detach and attach
2020-11-25 09:27:59 +08:00
yunion-ci-robot
01a46ea458 Merge pull request #8942 from yousong/bugfix/yousong-vm-changeip
Bugfix/yousong vm changeip
2020-11-25 09:16:16 +08:00
Yousong Zhou
2c8c3b7907 fix(region): change_ipaddr: retain eip_id on detach and attach 2020-11-24 21:57:27 +08:00
Yousong Zhou
9beb3706ed fix(vpcagent): models: guestnetworks: accomodate change_ipaddr
change_ipaddr does detach, then attach of network.  It's not solely an
update of ipaddr, but a combination of deletion then creation.
2020-11-24 21:55:04 +08:00
Yousong Zhou
64dc5219f7 feat(cloudcommon): db: jointbase: add list:"user" for RowId 2020-11-24 21:55:04 +08:00
yunion-ci-robot
75331fe417 Merge pull request #8930 from zexi/feature/schedtag-set-resource
feat(region/schedtag): schedtag support set multi resources
2020-11-24 21:33:17 +08:00
yunion-ci-robot
6c00313a01 Merge pull request #8926 from zhaoxiangchun/bugfix/zxc-suggest-timefromj-master
fix(monitor): modify suggestrule  process influxdb data
2020-11-24 21:28:14 +08:00
Yousong Zhou
c6970e9a25 fix(treewide): fix task error recording 2020-11-24 20:36:14 +08:00
yunion-ci-robot
dc3e2a7b24 Merge pull request #8933 from ioito/hotfix/qx-eip-bw
fix(region): avoid public ip bandwidth is zero
2020-11-24 20:24:17 +08:00
TangBin
18a185aec9 负载均衡ACL&证书增加项目和共享 2020-11-24 19:44:49 +08:00
Qu Xuan
e6b75b8537 fix(region): avoid public ip bandwidth is zero 2020-11-24 18:09:34 +08:00
zhaoxiangchun
91d1f64eff fix(monitor): modify suggestrule process influxdb data
1. 调整与监控相关的时间范围的判断逻辑:不再要求时间范围内必须都有数据
2020-11-24 17:45:47 +08:00
Zexi Li
3edf8c1d08 feat(region/schedtag): schedtag support set multi resources 2020-11-24 15:01:02 +08:00
lvyangyang
6a480937b8 fix(region): fix set bucket referer 2020-11-23 16:08:50 +08:00
zhaoxiangchun
4888f7d819 feat(monitor): add nodata alert policy
1.add queryConditon子类:nodataQueryCondition处理nodata类型策略
2.遍历Onecloud类型宿主机,得到nodata宿主机信息
2020-11-23 10:10:14 +08:00
Qu Xuan
0da66b071e fix(region): 避免OneCloud密码校验通过,公有云厂商密码校验不通过 2020-11-21 23:58:25 +08:00
rainzm
c5f94e13a3 feat(scripts): add more reasonable title for cherry pick PR
Before that, we used the first commit title of the main PRs and spliced
them to become the title of the cherry pick PR.

Obviously, it is more reasonable to use the titles of the main PRs and
splicing to become the title of the cherry pick PR.
2020-11-20 17:36:17 +08:00
7536 changed files with 934720 additions and 327143 deletions

View File

@@ -3,22 +3,11 @@
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2
jobs:
check:
docker:
- image: yunionio/centos-build:1.0-1
environment:
ONECLOUD_CI_BUILD: "1"
working_directory: /root/go/onecloud
steps:
- checkout
- run:
command: |
make -j3 check
build:
test:
requires:
- check
docker:
- image: yunionio/centos-build:1.0-1
- image: yunion/centos-build:go-1.18.3-0
environment:
ONECLOUD_CI_BUILD: "1"
@@ -26,59 +15,22 @@ jobs:
#### expecting it in the form of
#### /go/src/github.com/circleci/go-tool
#### /go/src/bitbucket.org/circleci/go-tool
working_directory: /root/go/onecloud
parallelism: 4
working_directory: /root/go/src/yunion.io/x/onecloud
resource_class: large
parallelism: 1
steps:
- checkout
- restore_cache:
key: onecloud-build-cache-{{ checksum "go.mod" }}-{{ checksum "Makefile" }}
paths:
- /root/.cache/go-build
- run:
command: |
make -j3 check
make test
targets="$(circleci tests glob "cmd/*" | grep -v cmd/host-image | circleci tests split)"
echo $targets | tr ' ' '\n'
make -j2 $targets
make $targets
ls -lh _output/bin/
- save_cache:
key: onecloud-build-cache-{{ checksum "go.mod" }}-{{ checksum "Makefile" }}
paths:
- /root/.cache/go-build
- store_artifacts:
path: _output/
test:
requires:
- check
docker:
- image: yunionio/centos-build:1.0-1
environment:
GO111MODULE: "on"
working_directory: /root/go/onecloud
parallelism: 4
steps:
- checkout
- restore_cache:
key: onecloud-test-cache-{{ checksum "go.mod" }}-{{ checksum "Makefile" }}
paths:
- /root/.cache/go-build
- run:
name: unit_test
command: |
./scripts/coverage.sh --codecov
- save_cache:
key: onecloud-test-cache-{{ checksum "go.mod" }}-{{ checksum "Makefile" }}
paths:
- /root/.cache/go-build
workflows:
version: 2
build_and_test:
jobs:
- check
- build:
requires:
- check
- test:
requires:
- check
- test

View File

@@ -9,14 +9,9 @@ assignees: ''
**What happened**:
**What you expected to happen**:
**How to reproduce it**:
**Anything else we need to know?**:
**Environment**:
- OS (e.g: `cat /etc/os-release`):
- OS (e.g. `cat /etc/os-release`):
- Kernel (e.g. `uname -a`):
<!--
- Version (e.g. `climc version-list`):

View File

@@ -0,0 +1,12 @@
---
name: Document Request
about: Document request to this project
title: ''
labels:
- area/docs
- enhancement
assignees: ''
---
**What part of the document needs to be added**:

View File

@@ -1,5 +1,5 @@
---
name: Feature request
name: Feature Request
about: Suggest an idea for this project
title: ''
labels: feature
@@ -7,8 +7,4 @@ assignees: ''
---
<!-- Please only use this template for submitting feature requests -->
**What would you like to be added**:
**Why is this needed**:

View File

@@ -1,15 +1,20 @@
**这个 PR 实现什么功能/修复什么问题**:
**What this PR does / why we need it**:
<!--
- [ ] 功能、bugfix描述
- [ ] 冒烟测试
- [ ] 单元测试编写
- [ ] Smoke testing completed
- [ ] Unit test written
-->
**是否需要 backport 到之前的 release 分支**:
**Does this PR need to be backport to the previous release branch?**:
<!--
如果不需要,填写 "NONE".
如果需要,就以下面 item 的格式写 release 分支名,并提交对应的 cherry-pick PR:
- release/3.2
If no, just write "NONE".
If don't know, write "UNKNOWN", and let the reviewer decide.
If yes, write the release branches name in the below format and submit the related cherry-pick PR:
- release/3.7
- release/3.6
Take a look at "https://www.cloudpods.org/en/docs/contribute/contrib/" to learn how to submit a cherry-pick PR.
-->

View File

@@ -17,10 +17,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.14
- name: Set up Go 1.16
uses: actions/setup-go@v1
with:
go-version: 1.14
go-version: 1.16
id: go
- name: Check out code into the Go module directory

128
CODE_OF_CONDUCT.md Normal file
View File

@@ -0,0 +1,128 @@
# Contributor Covenant Code of Conduct
## Our Pledge
We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, religion, or sexual identity
and orientation.
We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.
## Our Standards
Examples of behavior that contributes to a positive environment for our
community include:
* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
overall community
Examples of unacceptable behavior include:
* The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
## Enforcement Responsibilities
Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.
Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.
## Scope
This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
abuse@cloudpods.org.
All complaints will be reviewed and investigated promptly and fairly.
All community leaders are obligated to respect the privacy and security of the
reporter of any incident.
## Enforcement Guidelines
Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:
### 1. Correction
**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.
**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.
### 2. Warning
**Community Impact**: A violation through a single incident or series
of actions.
**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or
permanent ban.
### 3. Temporary Ban
**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.
**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.
### 4. Permanent Ban
**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.
**Consequence**: A permanent ban from any sort of public interaction within
the community.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/diversity).
[homepage]: https://www.contributor-covenant.org
For answers to common questions about this code of conduct, see the FAQ at
https://www.contributor-covenant.org/faq. Translations are available at
https://www.contributor-covenant.org/translations.

View File

@@ -1,3 +1,51 @@
# 开发贡献参考
# Contribution Guide
[English](CONTRIBUTING.md) | [中文](CONTRIBUTING_zh.md)
You can help to make Cloudpods better! There are many things you can do:
## Help others know Cloudpods
First of all, the easiest way to contribute to Cloudpods is to let more people know Cloudpods. To share your experience of Cloudpods. Hopefully Cloudpods may help resolve the issues in their daily jobs.
## Report Bugs
Cloudpods is an infrastructure management tool. Even though it has been thourougly tested and codes have been peer reviwed before merge, due to its complexity, you may still encounter bugs when using Cloudpods. This is frustrating. However, please do not hesitate to submit a issue at Github. The issue may help developers to improve the codes and make Cloudpods more and more robust. Meanwhile, the answer to the issues may also help others who have the similar bugs.
## Answer issues
You may answer issues at Github and help those who encounter issues when using Cloudpods. Sometimes, the issues are not due to bugs in codes but simplely because of misconfigurations, environment or misunderstandings.
## Contribute codes
You are welcome to contribute codes to Cloudpods. Please refers to [CONTRIBUTING](https://www.cloudpods.org/en/docs/contribute/contrib/) for more details on how to contribute codes to Cloudpods.
### Fix Issues
You may help solve bugs by submiting patches.
### New Features
You may help improve the codes of Cloudpods, including:
* Develop new features for Cloudpods
* Recode some part of Cloudpods so as to make the code easier to be understood, or less error-prone, or more efficient
## Documentation
You may help improve documentations of Cloudpds by directly make pull request to documentations. Once the Pull Request is accepted and merged, the documentations will be updated immediately.
## Translation
You may help translate the UI texts or documents of Cloudpds to other languages. Currently, we support Simplified Chinese and English.
## Write articles
You are also welcome to write articles about Cloudpods and sharing your experience with others. The content of the articles may include the following but not be limited to:
* Your user experiences with Cloudpods
* Your opinion about the direction and area of Cloudpods
* Comparison with other cloud platforms
* Benchmarks
详情见文档 [开发贡献](https://docs.yunion.io/docs/contribute/)

48
CONTRIBUTING_zh.md Normal file
View File

@@ -0,0 +1,48 @@
# 贡献指南
[English](CONTRIBUTING.md) | [中文](CONTRIBUTING_zh.md)
如果您对Cloudpods感兴趣并且愿意为Cloudpods贡献可以通过以下任意方式贡献您的力量使得Cloudpods变得更完善。
## 让别人知道Cloudpods
最简单的方式就是让更多的人知道Cloudpods向他们分享您对Cloudpds的看法和使用经验向他们推荐Cloudpods。很有可能在您的推荐下他们开始使用Cloudpods并解决了他们在工作中遇到的基础设施管理问题。
## 报告BUG
Cloudpods是一款开源的基础设施管理工具软件运行场景复杂。尽管在开发阶段开发者很有可能已经进行了详尽的测试但难免在实际运行中还会遇到各种意想不到的bug。遇到这种情况请不要犹豫在Github上提交一个issue。这能帮助开发者更好地改进代码逻辑使得Cloudpods越来越鲁棒。同时issue的解答记录也能帮助到遇到类似问题的其他人。
## 回答问题
有时候人们在使用Cloudpods中遇到的问题并不是因为Cloudpods软件缺陷造成的而是因为配置错误环境因素或者误会导致的。这样的问题也许只需要简单地一两句就能解答不需要代码的修改。您可以在Github回答issue或者社区群中回答提问帮助那些在使用Cloudpods中遇到问题的人。
## 贡献代码
我们非常欢迎和感谢开发者向项目提交代码PR流程细节请查看 [CONTRIBUTING](https://www.cloudpods.org/zh/docs/contribute/contrib/).
### 修复BUG
您可以通过提交代码补丁来修复Cloudpods存在的BUG。
### 开发新的功能特性
不仅仅是修复BUG您也可以通过提交代码以改进Cloudpods包括但不限于
* 开发新的功能特性,您可以在[Cloudpods Roadmap](https://www.cloudpods.org/zh/docs/roadmap/)找到Cloudpods的功能规划
* 重构代码,使得代码更加简洁易读,更加低健壮,或者执行起来更加高效
## 文档
您也可以通过给文档提交PR来改进Cloudpods的文档。一旦您的PR被接收并合并Cloudpods的在线文档就能及时地自动更新。
## 翻译
您也可以帮助翻译Cloudpods要么翻译UI界面的i18n配置文件要么翻译文档使得Cloudpods支持更多的语言。目前Cloudpods支持简体中文和英文。
## 写文章
另外欢迎您写关于Cloudpods的文章通过文字分享您使用Cloudpods的经验和技巧。文章可以包括但不限于如下内容
* 使用Cloudpods的体验
* Cloudpods技术领域的观点
* 和其他竞品的比较
* 性能评测

View File

@@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [2018] [Yunion Technology]
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.

View File

@@ -49,7 +49,7 @@ CGO_LDFLAGS_ENV = $(shell go env CGO_LDFLAGS)
ifdef LIBQEMUIO_PATH
X_CGO_CFLAGS := ${CGO_CFLAGS_ENV} -I${LIBQEMUIO_PATH}/src -I${LIBQEMUIO_PATH}/src/include
X_CGO_LDFLAGS := ${CGO_LDFLAGS_ENV} -laio -lqemuio -lpthread -L ${LIBQEMUIO_PATH}/src
X_CGO_LDFLAGS := ${CGO_LDFLAGS_ENV} -laio -lqemuio -lpthread -lgnutls -lnettle -L ${LIBQEMUIO_PATH}/src
endif
export GOOS ?= linux
@@ -86,8 +86,8 @@ test:
vet:
go vet ./...
cmd/esxi-agent: prepare_dir
CGO_ENABLED=0 $(GO_BUILD) -o $(BIN_DIR)/$(shell basename $@) $(REPO_PREFIX)/$@
# cmd/esxi-agent: prepare_dir
# CGO_ENABLED=0 $(GO_BUILD) -o $(BIN_DIR)/$(shell basename $@) $(REPO_PREFIX)/$@
cmd/fetcherfs: prepare_dir
CGO_ENABLED=0 $(GO_BUILD) -o $(BIN_DIR)/$(shell basename $@) $(REPO_PREFIX)/$@
@@ -199,10 +199,68 @@ vet-check:
./scripts/vet.sh chk
.PHONY: vet-check
comma:=,
space:=$(space) $(space)
# NOTE: keep y18n-packages in alphabetical order
y18n-src-lang := en-US
y18n-lang := en-US,zh-CN
y18n-packages := \
yunion.io/x/onecloud/cmd/apigateway \
yunion.io/x/onecloud/cmd/keystone \
yunion.io/x/onecloud/cmd/monitor \
yunion.io/x/onecloud/cmd/region \
yunion.io/x/onecloud/cmd/yunionconf \
define y18n-gen
set -o errexit; \
set -o pipefail; \
export GO111MODULE=off; \
y18n \
-chdir $(CURDIR) \
-dir ./locales/ \
-out ./locales/locales.go \
-lang $(y18n-lang) \
$(y18n-packages) \
; \
$(foreach lang,$(filter-out $(y18n-src-lang),$(subst $(comma), ,$(y18n-lang))),cp ./locales/$(lang)/{out,messages}.gotext.json;) \
endef
y18n-gen:
$(y18n-gen)
$(y18n-gen)
.PHONY: y18n-gen
y18n-check:
$(y18n-gen)
if git status --short ./locales | sed 's/^/$@: /' | grep .; then \
echo "$@: Locales content needs care" >&2 ; \
false; \
fi
.PHONY: y18n-check
define hostdeployer-grpc-gen
set -o errexit; \
set -o pipefail; \
protoc -I pkg/hostman/hostdeployer/apis \
--go_out=pkg/hostman/hostdeployer/apis \
--go_opt=paths=source_relative \
--go-grpc_out=pkg/hostman/hostdeployer/apis \
--go-grpc_opt=paths=source_relative \
pkg/hostman/hostdeployer/apis/deploy.proto
endef
hostdeployer-grpc-gen:
$(hostdeployer-grpc-gen)
check: fmt-check
check: gendocgo-check
check: goimports-check
check: vet-check
#check: vet-check
#check: y18n-check
.PHONY: check
@@ -224,9 +282,10 @@ dep:
@echo "$$depDeprecated"
@$(MAKE) mod
GOPROXY ?= direct
mod:
go get -d $(patsubst %,%@master,$(shell GO111MODULE=on go mod edit -print | sed -n -e 's|.*\(yunion.io/x/[a-z].*\) v.*|\1|p' | grep -v sqlchemy))
go get -d yunion.io/x/sqlchemy@v1.0.0
GOPROXY=$(GOPROXY) go get -d $(patsubst %,%@master,$(shell GO111MODULE=on go mod edit -print | sed -n -e 's|.*\(yunion.io/x/[a-z].*\) v.*|\1|p'))
go mod tidy
go mod vendor -v
@@ -288,7 +347,7 @@ image:
.PHONY: image
image-telegraf-raid-plugin:
VERSION=release-1.6.3 ARCH=all make image telegraf-raid-plugin
VERSION=release-1.6.4 ARCH=all make image telegraf-raid-plugin
%:
@:

View File

@@ -4,12 +4,12 @@ __inc_Makefile_common_mk:=1
ifeq ($(ModName),)
$(error ModName must be set, e.g. yunion.io/x/onecloud)
endif
ModBaseName:=$(notdir $(ModName))
DockerImageRegistry?=registry.cn-beijing.aliyuncs.com
DockerImageAlpineBuild?=$(DockerImageRegistry)/yunionio/alpine-build:1.0-5
DockerImageCentOSBuild?=$(DockerImageRegistry)/yunionio/centos-build:1.1-4
DockerImageAlpineBuild?=$(DockerImageRegistry)/yunionio/alpine-build:3.16.0-go-1.18.2-0
DockerImageCentOSBuild?=$(DockerImageRegistry)/yunionio/centos-build:go-1.18.3-0
EnvIf=$(if $($(1)),$(1)=$($(1)))
@@ -26,12 +26,14 @@ env \
chown -R $(shell id -u):$(shell id -g) _output
endef
tmpName=$(ModBaseName)-$(shell date +"%Y%m%d.%H%M%S%3N")
docker-centos-build: export dockerCentOSBuildCmd:=$(call dockerCentOSBuildCmd,$(F))
docker-centos-build:
docker rm --force docker-centos-build-$(ModBaseName) &>/dev/null || true
docker rm --force docker-centos-build-$(tmpName) &>/dev/null || true
docker run \
--rm \
--name docker-centos-build-$(ModBaseName) \
--name docker-centos-build-$(tmpName) \
-v $(CURDIR):/root/go/src/yunion.io/x/$(ModBaseName) \
-v $(CURDIR)/_output/centos-build:/root/go/src/yunion.io/x/$(ModBaseName)/_output \
-v $(CURDIR)/_output/centos-build/_cache:/root/.cache \
@@ -42,7 +44,7 @@ docker-centos-build:
# NOTE we need a way to stop and remove the container started by docker-build.
# No --tty, --stop-signal won't work
docker-centos-build-stop:
docker stop --time 0 docker-centos-build-$(ModBaseName) || true
docker stop --time 0 docker-centos-build-$(tmpName) || true
.PHONY: docker-centos-build
.PHONY: docker-centos-build-stop
@@ -53,6 +55,7 @@ set -o xtrace
set -o errexit
set -o pipefail
cd /root/go/src/yunion.io/x/$(ModBaseName)
git config --global --add safe.directory /root/go/src/yunion.io/x/onecloud
env \
$(call EnvIf,GOARCH) \
$(call EnvIf,GOOS) \
@@ -63,10 +66,10 @@ endef
docker-alpine-build: export dockerAlpineBuildCmd:=$(call dockerAlpineBuildCmd,$(F))
docker-alpine-build:
docker rm --force docker-alpine-build-$(ModBaseName) &>/dev/null || true
docker rm --force docker-alpine-build-$(tmpName) &>/dev/null || true
docker run \
--rm \
--name docker-alpine-build-$(ModBaseName) \
--name docker-alpine-build-$(tmpName) \
-v $(CURDIR):/root/go/src/yunion.io/x/$(ModBaseName) \
-v $(CURDIR)/_output/alpine-build:/root/go/src/yunion.io/x/$(ModBaseName)/_output \
-v $(CURDIR)/_output/alpine-build/_cache:/root/.cache \
@@ -75,7 +78,7 @@ docker-alpine-build:
ls -lh _output/alpine-build/bin
docker-alpine-build-stop:
docker stop --time 0 docker-alpine-build-$(ModBaseName) || true
docker stop --time 0 docker-alpine-build-$(tmpName) || true
.PHONY: docker-alpine-build
.PHONY: docker-alpine-build-stop

View File

@@ -1,54 +1,151 @@
# Yunion Cloud (云联融合云)
# Cloudpods
[![CircleCI](https://circleci.com/gh/yunionio/yunioncloud.svg?style=svg)](https://circleci.com/gh/yunionio/yunioncloud)
[![Build Status](https://travis-ci.com/yunionio/yunioncloud.svg?branch=master)](https://travis-ci.org/yunionio/yunioncloud)
[![Go Report Card](https://goreportcard.com/badge/github.com/yunionio/yunioncloud)](https://goreportcard.com/report/github.com/yunionio/yunioncloud)
[![CircleCI](https://circleci.com/gh/yunionio/cloudpods.svg?style=svg)](https://circleci.com/gh/yunionio/cloudpods)
[![Build Status](https://travis-ci.com/yunionio/cloudpods.svg?branch=master)](https://travis-ci.org/yunionio/cloudpods)
[![Go Report Card](https://goreportcard.com/badge/github.com/yunionio/cloudpods)](https://goreportcard.com/report/github.com/yunionio/cloudpods)
## 什么是云联融合云?
## Cloudpods是什么?
云联融合云Yunion Cloud是一个开源的多云平台。融合云构建在用户分布于多云基础设施之上通过技术手段将分布于多云的异构IT资源统一管理将多底层多云的差异向用户屏蔽并通过网络和调度实现资源的融合与打通在多云之上进行抽象向用户呈现统一的使用界面和API接口让用户就像使用一个云平台一样使用分布于多云的资源实现一个统一的“云上之云”的云平台。
<img src="https://www.cloudpods.org/images/cloudpods_logo_green.png" alt="Cloudpods" height="100">
鉴于企业IT基础设施的两个趋势1. 企业使用多云基础设施并且公有云是最主要的基础设施提供者2. 企业应用将逐步云原生化企业IT基础设施需要为Kubernetes优化。融合云为此架构而设计。一方面抽象管理底层的多云基础设施另一方面为多云Kubernetes提供运行环境。融合云为企业未来的的IT基础设施架构而设计
Cloudpods是一个开源的Golang实现的云原生的融合多云/混合云的云平台也就是一个“云上之云”。Cloudpods不仅可以管理本地的虚拟机和物理机资源还可以管理多个云平台和云账号。Cloudpods隐藏了这些异构基础设施资源的数据模型和API的差异对外暴露了一套统一的API允许用户就像用一个云一样地访问多云。从而大大降低了访问多云的复杂度提升了管理多云的效率
云联融合云具备以下功能特性:
## 谁需要Cloudpods?
- 多云资源统一管理
* 将几台物理服务器虚拟化成一个私有云平台
* 需要一个紧凑而且功能相对完整的物理机全生命周期管理工具
* 将VMware vSphere虚拟化集群转换为一个可以自服务的私有云平台
* 在混合云的场景,能够在一个界面访问私有云和公有云
* 通过一个集中的入口访问分布在多个公有云平台上的多个账号
* 当前只使用一个云公有云账号但希望将来使用多云的用户
统一API、镜像、调度、账号体系、监控和计费等操作能够全面管理 On premises、 私有云、公有云资源。
## 功能
- 内置私有云
Cloudpods提供了如下的功能
YunionCloud 内置完备的私有云实现提供对用户本地IDC的虚拟机、物理机和负载均衡等资源管理。
* 管理多云资源的功能可以管理大多数的主流云包括私有云例如OpenStack以及公有云例如AWSAzureGCP阿里云华为云和腾讯云等
* 允许以统一的联邦身份访问各个云平台的原生控制台的SSO
* 一个可以管理海量KVM虚拟机的轻量级私有云
* 一个能进行物理机全生命周期管理的裸机云
* 实现了VMware vSphere虚拟化集群的自助服务和自动化
* 一套功能丰富、统一一致的RESTAPI和模型访问以上的云资源和功能
* 一套完整的多租户认证和访问控制体系
* 自动将镜像转换为不同云平台需要的格式的多云镜像服务
- 为多云Kubernetes提供运行环境
### 支持的云平台
YunionCloud 自身为运行在Kubernetes的云原生应用并且能在多云环境部署运行Kubernetes集群。
* 公有云:
* AWS
* Azure
* Google Cloud Platform
* 阿里云
* 华为云
* 腾讯云
* UCloud
* 中国电信云
* 中国移动云
* 京东云
* 私有云:
* OpenStack
* ZStack
* AlibabaCloud Aspara (阿里飞天)
* 本地基础设施资源:
* KVM
* VMWare vSphere vCenter/ESXi
* Baremetals (IPMI, Redfish API)
* Object storages (Minio, Ceph, XSky)
* NAS (Ceph)
欢迎安装部署云联融合云,期待大家的反馈!
### 支持的云资源
* Servers: instances, disks, network interfaces, networks, vpcs, storages, hosts, wires, snapshots, snapshot policies, security groups, elastic IPs, SSH keypairs, images
* Load Balancers: instances, listeners, backend groups, backends, TSL certificates, ACLs
* Object Storage: buckets, objects
* NAS: file_systems, access_groups, mount_targets
* RDS: instances, accounts, backups, databases, parameters, privileges
* Elastic Cache: instances, accounts, backups, parameters
* DNS: DNS zones, DNS records
* VPC: VPCs, VPC peering, inter-VPC network, NAT gateway, DNAT/SNAT rules, route tables, route entries
## 部署
## 快速开始
请参考文档 [安装部署](https://docs.yunion.io/docs/setup/) 搭建 YunionCloud 集群。
我们可以通过以下简单三步将Cloudpods安装在一台至少8GiB内存和100GB硬盘的Linux主机上目前CentOS 7和Debian 10经过充分测试
(下面假设该主机的IP为 *10.168.26.216*)
### 1. 准备SSH免密登录
```bash
# Generate the local ssh keypair
# (SKIP this stekp if you already have ~/.ssh/id_rsa.pub locally)
$ ssh-keygen
# Copy the generated ~/.ssh/id_rsa.pub public key to the machine to be deployed
$ ssh-copy-id -i ~/.ssh/id_rsa.pub root@10.168.26.216
# Try to login to the machine to be deployed without password,
# should be able to get the hostname of the deployed machine
# without entering the login password
$ ssh root@10.168.26.216 "hostname"
```
### 2. 安装git和相关工具
#### CentOS 7安装git和epel源
```bash
yum install -y git epel-release ansible
```
#### Debian 10安装git
```bash
apt install -y git ansible
```
### 3. 安装Cloudpods
通过以下命令开始安装Cloudpods
```bash
# Git clone the ocboot installation tool locally
$ git clone https://github.com/yunionio/ocboot && cd ./ocboot && ./run.py 10.168.26.216
```
大概10-30分钟后安装完成。访问 https://10.168.26.216 登入Cloudpods的Web控制台。初始的账号为 *admin* ,密码为 *admin@123*
请参考文档 [快速开始](https://www.cloudpods.org/zh/docs/quickstart/) 获得更详细的安装指导。
## 文档
- [文档中心](https://docs.yunion.io/)
* [Cloudpods文档](https://www.cloudpods.org/zh)
- [Swagger API文档](https://docs.yunion.cn/api/)
* [Swagger API文档](https://www.cloudpods.org/zh/docs/swagger/)
## 谁在使用Cloudpods
## 架构
请在[这里](https://github.com/yunionio/cloudpods/issues/11427)查看Cloudpods用户列表。如果你正在使用Cloudpods欢迎回复留下你的信息。谢谢对Cloudpods的支持
![architecture](https://www.yunion.cn/static/frame.png)
## 联系我们
您可以通过如下方式联系我们:
* Reddit: [r/Cloudpods](https://www.reddit.com/r/Cloudpods/)
* 哔哩哔哩: [Cloudpods](https://space.bilibili.com/623431553/)
* 微信: 请扫描如下二维码联系我们
<img src="https://www.cloudpods.org/images/contact_me_qr_20210701.png" alt="WeChat QRCode">
## 版本历史
请访问[Cloudpods Changelog](https://www.cloudpods.org/zh/docs/changelog/).
## 开发规划
请访问[Cloudpods Roadmap](https://www.cloudpods.org/zh/docs/roadmap/).
## 贡献
我们非常欢迎和感谢开发者向项目做贡献,流程细节请查看 [CONTRIBUTING.md](./CONTRIBUTING.md)
欢迎和感谢任何形式的贡献,不局限于贡献代码,流程细节请查看 [CONTRIBUTING](./CONTRIBUTING_zh.md)。
## License
YunionCloud 使用 Apache license 2.0. 详情请看 [LICENSE](./LICENSE)
Apache license 2.0详情请看 [LICENSE](./LICENSE)。

159
README.md
View File

@@ -1,55 +1,156 @@
# Yunion Cloud
# Cloudpods
[![CircleCI](https://circleci.com/gh/yunionio/yunioncloud.svg?style=svg)](https://circleci.com/gh/yunionio/yunioncloud)
[![Build Status](https://travis-ci.com/yunionio/yunioncloud.svg?branch=master)](https://travis-ci.com/yunionio/yunioncloud/branches)
[![Go Report Card](https://goreportcard.com/badge/github.com/yunionio/yunioncloud)](https://goreportcard.com/report/github.com/yunionio/yunioncloud)
[![CircleCI](https://circleci.com/gh/yunionio/cloudpods.svg?style=svg)](https://circleci.com/gh/yunionio/cloudpods)
[![Build Status](https://travis-ci.com/yunionio/cloudpods.svg?branch=master)](https://travis-ci.com/yunionio/cloudpods/branches)
[![Go Report Card](https://goreportcard.com/badge/github.com/yunionio/cloudpods)](https://goreportcard.com/report/github.com/yunionio/cloudpods)
### [README in Chinese](./README-CN.md)
[English](./README.md) | [简体中文](./README-CN.md)
## What is Yunion Cloud?
## What is Cloudpods?
Yunion Cloud is an open source unified-IaaS cloud platform.
<img src="https://www.cloudpods.org/images/cloudpods_logo_green.png" alt="Cloudpods" height="100">
As its name sugguests, 'Yun' means 'cloud' in Chinese and 'Yunion Cloud' means to unify many distinct clouds into the one that behaves like an integral cloud platform.
Cloudpods is a cloud-native open source unified multi/hybrid-cloud platform developed with Golang, i.e. Cloudpods is *a cloud on clouds*. Cloudpods is able to manage not only on-premise KVM/baremetals, but also resources from many cloud accounts across many cloud providers. It hides the differences of underlying cloud providers and exposes one set of APIs that allow programatically interacting with these many clouds.
As trends show, the enterprise IT infrastructure in the future would be unavoidably heterogeneous and the public clouds should be the major infrastructure providers for many enterprises. Further, the infrastructure would most likely be prepared for the cloud-native applications running on Kubernetes. Yunion Cloud is built to provide the cloud architecture for this scenario such that it is the middle layer between the underlying cloud infrustructures and the overlay kubernetes clusters across many clouds.
## Who needs Cloudpods?
Many may consider Yunion Cloud as a multi-cloud management platform (MCMP). Rather, we would view it as an IaaS platform as it does not only manage the resources and services from many clouds, but also hides the differences of underlying technologies and exposes one set of APIs that allow programatically interacting with the compute/storage/networking resources across many clouds.
* Those who need a simple solution to virtualize a few physical servers into a private cloud
* Those who need a compact and fully automatic baremetal lift-cycle management solution
* Those who want to turn a VMware vSphere virtualization cluster into a private cloud
* Those who need a cohesive view of both public and private cloud in a hybrid cloud setup
* Those who need a centric portal to access multiple acccounts from multiple public clouds
* Those who is currently using a single cloud account, but will not lose the possibility to adopt multicloud strategy
Yunion Cloud is working on abstracting APIs for the following resources:
## Features
* Compute, including virtual machines, images, etc.
* Storage, including disks, snapshots, object storages, etc.
* Networking, including load balancers, VPC, virtual networks, NAT gateways, security groups, etc.
* Accouting and billing, etc.
* ...
* Multi-cloud management that is able to manage a wide range of cloud providers, including private cloud, such as OpenStack, and public clouds, such as AWS, Azure, Google Cloud, Alibaba Cloud, Tencent Cloud, Huawei Cloud, etc.
* Cloud SSO that allows accessing native webconsole of cloud providers with unified federated identities
* A light-weight private cloud that manages KVM hypervisor in scale
* A BareMetal cloud that automates the full life-cycle management of baremetal physical machines
* VMware vSphere management that enables self-service and automation
* One set of feature-rich APIs to access a wide range of resources from cloud providers above with consistent models and APIs
* A complete multi-tenancy RBAC-enabled IAM (identity and access management) system
* Multi-cloud image management system that automates image conversion between different cloud providers
over the following many cloud providers:
### Supported cloud providers
* On-premise IT resources, including kvm VM, baremetal, VMware vsphere/ESXi, etc.
* Private clouds, including OpenStack, etc.
* Public clouds, including Aliyun, AWS, Azure, Tencent Cloud, Huawei Cloud, etc.
* Public Clouds:
* AWS
* Azure
* Google Cloud Platform
* Alibaba Cloud
* Huawei Cloud
* Tencent Cloud
* UCloud
* Ctyun (China Telecom)
* ECloud (China Mobile)
* JDCloud
* Private Clouds:
* OpenStack
* ZStack
* AlibabaCloud Aspara
* On-premise resources:
* KVM
* VMWare vSphere vCenter/ESXi
* Baremetals (IPMI, Redfish API)
* Object storages (Minio, Ceph, XSky)
* NAS (Ceph)
You are welcome to install and try Yunion Cloud. Looking forward to your feedback.
### Supported resources
## Installation
* Servers: instances, disks, network interfaces, networks, vpcs, storages, hosts, wires, snapshots, snapshot policies, security groups, elastic IPs, SSH keypairs, images
* Load Balancers: instances, listeners, backend groups, backends, TSL certificates, ACLs
* Object Storage: buckets, objects
* NAS: file_systems, access_groups, mount_targets
* RDS: instances, accounts, backups, databases, parameters, privileges
* Elastic Cache: instances, accounts, backups, parameters
* DNS: DNS zones, DNS records
* VPC: VPCs, VPC peering, inter-VPC network, NAT gateway, DNAT/SNAT rules, route tables, route entries
## Quick start
You may install Cloudpods in a Linux box (currently CentOS 7 and Debian 10 are fully tested) with at least 8GiB RAM and 100GB storage by following three steps.
(Assuming that you install Cloudpods on a Linux box with IP *10.168.26.216*):
### 1. Prepare passwordless SSH login
```bash
# Generate a local ssh keypair
# (SKIP this step if you already have ~/.ssh/id_rsa.pub locally)
$ ssh-keygen
# Copy the generated ~/.ssh/id_rsa.pub public key to the machine to be deployed
$ ssh-copy-id -i ~/.ssh/id_rsa.pub root@10.168.26.216
# Try to login to the machine to be deployed without password,
# should be able to get the hostname of the deployed machine
# without entering the login password
$ ssh root@10.168.26.216 "hostname"
```
### 2. Install git and relevant tools
#### For CentOS 7
```bash
yum install -y git epel-release ansible
```
#### For Debian 10
```bash
apt install -y git ansible
```
### 3. Install Cloudpods
Run the following commands to start installing Cloudpods.
```bash
# Git clone the ocboot installation tool locally
$ git clone https://github.com/yunionio/ocboot && cd ./ocboot && ./run.py 10.168.26.216
```
It takes 10-30 minutes to finish the installation. You may visit the webconsole of Cloudpods at https://10.168.26.216. The initial login account is *admin* and password is *admin@123*.
For more detailed instructions, please refers to [quick start](https://www.cloudpods.org/en/docs/quickstart/).
Please refers to [install & deployment](https://docs.yunion.io/docs/setup/) (currently in Chinese Only).
## Documentations
- [Yunion Cloud Documents](https://docs.yunion.io/)
* [Cloudpods Documents](https://www.cloudpods.org/en)
- [Swagger API](https://docs.yunion.cn/apiv2/)
* [Swagger API](https://www.cloudpods.org/en/docs/swagger/)
## Architecture
![architecture](https://www.yunion.cn/static/frame.png)
## Who is using Cloudpods?
Please check this [issue](https://github.com/yunionio/cloudpods/issues/11427) for the user list of Cloudpods. If you are using Cloudpods, you are welcome to leave your information by responding the issue. Thank you for your support.
## Contact
You may contact us by:
* Reddit: [r/Cloudpods](https://www.reddit.com/r/Cloudpods/)
* Bilibili: [Cloudpods](https://space.bilibili.com/623431553/)
* WeChat: please scan the following QRCode to contact us
<img src="https://www.cloudpods.org/images/contact_me_qr_20210701.png" alt="WeChat QRCode">
## Changelog
See [Cloudpods Changelog](https://www.cloudpods.org/en/docs/changelog/) for details.
## Roadmap
See [Cloudpods Roadmap](https://www.cloudpods.org/en/docs/roadmap/) for details.
## Contribution
You are welcome to contribute to the project. Please refer to [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines.
You are welcome to do any kind of contribution to the project. Please refer to [CONTRIBUTING](./CONTRIBUTING.md) for guidelines.
## License
Apache License 2.0. See [LICENSE](./LICENSE)
Apache License 2.0. See [LICENSE](./LICENSE).

View File

@@ -44,7 +44,12 @@ echo "Build root ${BUILDROOT}"
if [ -z "$VERSION" ]; then
TAG=$(git describe --abbrev=0 --tags || echo testing)
VERSION=${TAG/\//-}
VERSION=${VERSION/v/}
if [[ "$VERSION" =~ ^v0. ]]; then
VERSION=${VERSION/v0./}
elif [[ "$VERSION" =~ ^v ]]; then
VERSION=${VERSION/v/}
fi
VERSION=${VERSION//-/.}
fi
RELEASE=`date +"%y%m%d%H"`

View File

@@ -48,7 +48,9 @@ mkdir -p $BUILDROOT/DEBIAN
mkdir -p $BUILDROOT/$BIN_PATH
cp -rf $BIN $BUILDROOT/$BIN_PATH
cp -rf $ROOT/root/* $BUILDROOT/
if [ -d $ROOT/root ]; then
cp -rf $ROOT/root/* $BUILDROOT/
fi
echo "Build root ${BUILDROOT}"

View File

@@ -0,0 +1,3 @@
echo "Welcome to Cloud Shell :-) You may execute climc and other command tools in this shell."
echo "Please exec 'climc' to get started"
echo ""

View File

@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="utf-8"?>
<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:alg="urn:oasis:names:tc:SAML:metadata:algsupport" ID="_1e55eaf7-5cb9-4601-b557-e322fdfb2baf" entityID="urn:federation:MicrosoftOnline">
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<Reference URI="#_1e55eaf7-5cb9-4601-b557-e322fdfb2baf">
<Transforms>
<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
<Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<DigestValue>fA33hUaj24/8F8bArDIkH6CpX0k=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>p/rlVWxLRIYiHozzWUgsjmQ5ItMZ/ITeEOg/edeo50l7qU8wLM9JD55EHoLpVvxImBcCfY1CxKdq3s1o9Up1jvEcH9KjfYZea1q8hzTkQdt7F2XvxoqDFRLvVwyHHJjygaEvFRXXxml7IDgDx9ScSRhQeGUlTGhI9eAFSaGkChM/FPnmekZ3ngSwbVf4FsTLIArxMqEnV0lXNMTr5NHQ6VL5wZ/cHLNCkkBoY0qWyv2hnYiZiXa4TKjpAN+8QF5GDPv/0ExJwe+aoRAQhdBzhBUICQdQd+v3Rb5SuX++iVfmf4IPMqj8CK4uK7iYXNLCGEO8oFR2KlK/zBpHzw6yCQ==</SignatureValue>
<KeyInfo>
<X509Data>
<X509Certificate>MIIC/TCCAeWgAwIBAgIQF9xAVqfHt7dNSOnsMKYLDjANBgkqhkiG9w0BAQsFADApMScwJQYDVQQDEx5MaXZlIElEIFNUUyBTaWduaW5nIFB1YmxpYyBLZXkwHhcNMTkwNjE4MDAwMDAwWhcNMjEwNjE4MDAwMDAwWjApMScwJQYDVQQDEx5MaXZlIElEIFNUUyBTaWduaW5nIFB1YmxpYyBLZXkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDLwL+mOk+zhgjHPFiZuDaU7coCOMkYyJyWS2B2KWYx7BMmy+SBSlFvvDHIiMXeLnv9DiUnQXtjClZXNqEo2amM/KdXfnCUlwdnqGa89TbB8kM6aBQKCh5Up7vejD+KRpPcOK7DqxWnm037zNKH+6liwRMUD/+lkBODoG1/ThuBVM0Kr1Oowfnkb4JYeF5xZk+2+ThR2dcQzdsz8dBW1GpGopdoM5G1amVhoRPBeNlYUqf0JUPE36Dx0iCmeXX00HTR2gd+/DJFVe34l/VxL4cqufmRcqWHy7axonbpt8svjAervGgueF5W/BVGcO4eVwFzFfnAz7bSaH/zbsNnQkFtAgMBAAGjITAfMB0GA1UdDgQWBBQlxmu/Hj1qB2A306p0Sz9up711AjANBgkqhkiG9w0BAQsFAAOCAQEAEhb+i+J69DvzCTfmC0Mn+uSGzBaW0ksMZNjM8/p/RFueytNo8/DY6TUb9W8l/HSVON782iGG7hIsG68RUIZ5q+/WAB9iBvKkKv5aGZ0bK/eD5boHwBwMa3udTjU68Vkai0A7naISEh22h+lQPvKiftCEzK1x9j2FoAXEMhACnpTwRrrj3SsJXCsMaOKcVw7sCmM4/4wD5I1+dfMSe85rSEzzUCDcCMEg67sBKdO2CFK1GoH21ttrz1CV+xt8Pn9a488kgsp2ZyU+yixS59CrM7onEzt1R4miXWAJAtydNHAmmbgKrTxqf67fEXFcrlFAHexi6vvINZWZPD6+J+q6xg==</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
<SPSSODescriptor WantAssertionsSigned="true" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
<KeyDescriptor use="signing">
<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
<X509Data>
<X509Certificate>MIIC/TCCAeWgAwIBAgIQF9xAVqfHt7dNSOnsMKYLDjANBgkqhkiG9w0BAQsFADApMScwJQYDVQQDEx5MaXZlIElEIFNUUyBTaWduaW5nIFB1YmxpYyBLZXkwHhcNMTkwNjE4MDAwMDAwWhcNMjEwNjE4MDAwMDAwWjApMScwJQYDVQQDEx5MaXZlIElEIFNUUyBTaWduaW5nIFB1YmxpYyBLZXkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDLwL+mOk+zhgjHPFiZuDaU7coCOMkYyJyWS2B2KWYx7BMmy+SBSlFvvDHIiMXeLnv9DiUnQXtjClZXNqEo2amM/KdXfnCUlwdnqGa89TbB8kM6aBQKCh5Up7vejD+KRpPcOK7DqxWnm037zNKH+6liwRMUD/+lkBODoG1/ThuBVM0Kr1Oowfnkb4JYeF5xZk+2+ThR2dcQzdsz8dBW1GpGopdoM5G1amVhoRPBeNlYUqf0JUPE36Dx0iCmeXX00HTR2gd+/DJFVe34l/VxL4cqufmRcqWHy7axonbpt8svjAervGgueF5W/BVGcO4eVwFzFfnAz7bSaH/zbsNnQkFtAgMBAAGjITAfMB0GA1UdDgQWBBQlxmu/Hj1qB2A306p0Sz9up711AjANBgkqhkiG9w0BAQsFAAOCAQEAEhb+i+J69DvzCTfmC0Mn+uSGzBaW0ksMZNjM8/p/RFueytNo8/DY6TUb9W8l/HSVON782iGG7hIsG68RUIZ5q+/WAB9iBvKkKv5aGZ0bK/eD5boHwBwMa3udTjU68Vkai0A7naISEh22h+lQPvKiftCEzK1x9j2FoAXEMhACnpTwRrrj3SsJXCsMaOKcVw7sCmM4/4wD5I1+dfMSe85rSEzzUCDcCMEg67sBKdO2CFK1GoH21ttrz1CV+xt8Pn9a488kgsp2ZyU+yixS59CrM7onEzt1R4miXWAJAtydNHAmmbgKrTxqf67fEXFcrlFAHexi6vvINZWZPD6+J+q6xg==</X509Certificate>
</X509Data>
</KeyInfo>
</KeyDescriptor>
<KeyDescriptor use="signing">
<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
<X509Data>
<X509Certificate>MIIC/TCCAeWgAwIBAgIQbgDHfi3t1JNGVqwD5/7lmjANBgkqhkiG9w0BAQsFADApMScwJQYDVQQDEx5MaXZlIElEIFNUUyBTaWduaW5nIFB1YmxpYyBLZXkwHhcNMjAxMjIxMDAwMDAwWhcNMjUxMjIxMDAwMDAwWjApMScwJQYDVQQDEx5MaXZlIElEIFNUUyBTaWduaW5nIFB1YmxpYyBLZXkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDFT0/0/2qQurnYa0LbJHF9YYozhEH6r9mCxVDBYbewSG4tGgrWpsewQ/96pcczGMQctMvU+h2eX38Hx/f9JAIDbuRQzQlsPhQS7DDZ6WlTXU+t8d/g2C7fpSoLs4KVdJih4xyjLUWj+BK/ijsRjBt4Riw9VbJH/DdWKyoSMbECEiE+s1RtLP/eYoMmNfxyQGqWirCNqVNBTlqzYQp4dgF0foYy4ktoxwmQOVoTcIMFYp1I4pFPI7CxuMLkfK0X7aTbM7YGphvMfJxJkjrQdyI7G5d1t4DNi3zkEbBT7FGAr6qPt3Kn9ralpqJKHdpEBA9N0vNwQo5XTYIhUbPQ16IRAgMBAAGjITAfMB0GA1UdDgQWBBRs7tPmfkksSr67KtElHjYZbeaCTjANBgkqhkiG9w0BAQsFAAOCAQEAJqwMZSjQJ36x+1sty6EeLKQLQewQwPaEC47Zut+8bXed6Q8jMZ0bfa/MM7XquEcabaMZLQuKLft44YXwXXQOfQrI2qjQr3eToJFlDT9hR0rfp9wQqttDxd6Aa6RWwDTgo5oKUQCTKLHhEy8uWzScK0eGt2d7TWTaDXjRSwNq6tM7fRhZs07tKBV3xfi9EQy/mlavAMFRBVm86NSo7AsOG1IOMq03U3ooCWAXh9PdvvHNfHhH19futAnC/HeOjwRF1Qc527aBMphYFQLdiThfmfmiE/AhQqCwZ2oE7uCJhBtR+Kb1ZGhjI35pHfsSqGiFa7Kr+5ave822PDcke89Mvg==</X509Certificate>
</X509Data>
</KeyInfo>
</KeyDescriptor>
<KeyDescriptor use="signing">
<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
<X509Data>
<X509Certificate>MIIC/TCCAeWgAwIBAgIQbgDHfi3t1JNGVqwD5/7lmjANBgkqhkiG9w0BAQsFADApMScwJQYDVQQDEx5MaXZlIElEIFNUUyBTaWduaW5nIFB1YmxpYyBLZXkwHhcNMjAxMjIxMDAwMDAwWhcNMjUxMjIxMDAwMDAwWjApMScwJQYDVQQDEx5MaXZlIElEIFNUUyBTaWduaW5nIFB1YmxpYyBLZXkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDFT0/0/2qQurnYa0LbJHF9YYozhEH6r9mCxVDBYbewSG4tGgrWpsewQ/96pcczGMQctMvU+h2eX38Hx/f9JAIDbuRQzQlsPhQS7DDZ6WlTXU+t8d/g2C7fpSoLs4KVdJih4xyjLUWj+BK/ijsRjBt4Riw9VbJH/DdWKyoSMbECEiE+s1RtLP/eYoMmNfxyQGqWirCNqVNBTlqzYQp4dgF0foYy4ktoxwmQOVoTcIMFYp1I4pFPI7CxuMLkfK0X7aTbM7YGphvMfJxJkjrQdyI7G5d1t4DNi3zkEbBT7FGAr6qPt3Kn9ralpqJKHdpEBA9N0vNwQo5XTYIhUbPQ16IRAgMBAAGjITAfMB0GA1UdDgQWBBRs7tPmfkksSr67KtElHjYZbeaCTjANBgkqhkiG9w0BAQsFAAOCAQEAJqwMZSjQJ36x+1sty6EeLKQLQewQwPaEC47Zut+8bXed6Q8jMZ0bfa/MM7XquEcabaMZLQuKLft44YXwXXQOfQrI2qjQr3eToJFlDT9hR0rfp9wQqttDxd6Aa6RWwDTgo5oKUQCTKLHhEy8uWzScK0eGt2d7TWTaDXjRSwNq6tM7fRhZs07tKBV3xfi9EQy/mlavAMFRBVm86NSo7AsOG1IOMq03U3ooCWAXh9PdvvHNfHhH19futAnC/HeOjwRF1Qc527aBMphYFQLdiThfmfmiE/AhQqCwZ2oE7uCJhBtR+Kb1ZGhjI35pHfsSqGiFa7Kr+5ave822PDcke89Mvg==</X509Certificate>
</X509Data>
</KeyInfo>
</KeyDescriptor>
<SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://login.microsoftonline.com/login.srf"/>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</NameIDFormat>
<NameIDFormat>urn:mace:shibboleth:1.0:nameIdentifier</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:persistent</NameIDFormat>
<AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://login.microsoftonline.com/login.srf" index="0" isDefault="true"/>
<AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST-SimpleSign" Location="https://login.microsoftonline.com/login.srf" index="1"/>
<AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:PAOS" Location="https://login.microsoftonline.com/login.srf" index="2"/>
</SPSSODescriptor>
<Extensions>
<alg:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<alg:SigningMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
</Extensions>
</EntityDescriptor>

View File

@@ -0,0 +1,3 @@
INTERFACE=""
INTERFACE_IP=""
RELAY=""

View File

@@ -0,0 +1,22 @@
[Unit]
Description=Yunion Cloud DHCP Relay Agent
Documentation=https://docs.yunion.cn
After=network-online.target
Wants=network-online.target
After=network.target
[Service]
Type=simple
EnvironmentFile=-/etc/sysconfig/yunion_dhcprelay
User=root
Group=root
ExecStart=/opt/yunion/bin/dhcprelay --interface "$INTERFACE" --ip "$IP" --relay "$RELAY"
WorkingDirectory=/opt/yunion/bin
KillMode=process
Restart=always
RestartSec=30
LimitNOFILE=500000
LimitNPROC=500000
[Install]
WantedBy=multi-user.target

2
build/dhcprelay/vars Normal file
View File

@@ -0,0 +1,2 @@
DESCRIPTION="Yunion Tiny DHCP Relay Server"
SERVICE="yes"

View File

@@ -1,3 +1,7 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/ansibleserver-base:v1.0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/ansibleserver-base:v1.1.1
# install playbook and telegraf install pkg
COPY --from=registry.cn-beijing.aliyuncs.com/yunionio/file-repo:v0.4.0 /opt/yunion/playbook /opt/yunion/playbook
COPY --from=registry.cn-beijing.aliyuncs.com/yunionio/file-repo:v0.4.0 /opt/yunion/ansible-install-pkg /opt/yunion/ansible-install-pkg
ADD ./_output/alpine-build/bin/ansibleserver /opt/yunion/bin/ansibleserver

View File

@@ -1,12 +1,20 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5
MAINTAINER "Yousong Zhou <zhouyousong@yunionyun.com>"
ENV TZ UTC
RUN sed -i 's!https://dl-cdn.alpinelinux.org/!https://mirrors.ustc.edu.cn/!g' /etc/apk/repositories
# openssh-client, for ansible ssh connection
# git, ca-certificates, for fetching ansible roles
RUN set -x \
&& apk update \
&& apk add openssh-client \
&& apk add sshpass \
&& apk add ansible \
&& apk add py3-pip \
&& apk add tzdata git ca-certificates \
&& rm -rf /var/cache/apk/*
RUN pip3 install pywinrm

View File

@@ -1,3 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
ADD ./_output/alpine-build/bin/apigateway /opt/yunion/bin/apigateway
ADD ./_output/alpine-build/bin/apigateway /opt/yunion/bin/apigateway

View File

@@ -1,11 +1,8 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/baremetal-base:v0.3.3
FROM registry.cn-beijing.aliyuncs.com/yunionio/baremetal-base:v0.3.8
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
RUN mkdir -p /opt/yunion/bin
#ADD ./_output/bin/baremetal-agent /opt/yunion/bin/baremetal-agent
#ADD ./_output/bin/.baremetal-agent.bin /opt/yunion/bin/.baremetal-agent.bin
#ADD ./_output/bin/bundles/baremetal-agent /opt/yunion/bin/bundles/baremetal-agent
RUN apk add librados librbd
ENV TZ UTC
ADD ./_output/alpine-build/bin/baremetal-agent /opt/yunion/bin/baremetal-agent

View File

@@ -1,36 +1,88 @@
FROM --platform=linux/amd64 registry.cn-beijing.aliyuncs.com/yunionio/centos-build:1.1-4 as build
RUN yum install -y https://iso.yunion.cn/vm-images/baremetal-pxerom-1.1.0-21092209.x86_64.rpm
#FROM --platform=linux/amd64 registry.cn-beijing.aliyuncs.com/yunionio/centos-build:1.1-4 as build
#RUN yum install -y https://iso.yunion.cn/vm-images/baremetal-pxerom-1.1.0-21092209.x86_64.rpm
#RUN yum install -y http://192.168.23.50:8083/baremetal-pxerom-1.1.0-21092209.x86_64.rpm
FROM registry.cn-beijing.aliyuncs.com/yunionio/yunionos:v0.1.6 as yunionos
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM centos:8 as grub-stage
MAINTAINER "Yaoqi Wan <wanyaoqi@yunionyun.com>"
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
RUN dnf install -y grub2*
# make grub_booti386 firmware
RUN grub2-mkimage -d /usr/lib/grub/i386-pc/ -O i386-pc-pxe -o /root/grub_booti386 -p '/grub' pxe tftp boot linux ext2 xfs ntfs fat part_msdos part_gpt normal biosdisk
# make grub_bootx64 firmware
RUN grub2-mkimage -d /usr/lib/grub/x86_64-efi/ -O x86_64-efi -o /root/grub_bootx64.efi -p '/grub' efinet tftp boot linux ext2 xfs ntfs fat part_msdos part_gpt normal efi_gop
# make grub_arm64 firmware
RUN grub2-mkimage -d /usr/lib/grub/arm64-efi/ -O arm64-efi -o /root/grub_arm64.efi -p '/grub' efinet tftp boot linux ext2 xfs ntfs fat part_msdos part_gpt normal efi_gop
RUN mkdir -p /tftp/grub
RUN cp /root/grub_booti386 /tftp
RUN cp -rf /usr/lib/grub/i386-pc /tftp/grub
RUN cp /root/grub_bootx64.efi /tftp
RUN cp -rf /usr/lib/grub/x86_64-efi /tftp/grub
RUN cp /root/grub_arm64.efi /tftp
RUN cp -rf /usr/lib/grub/arm64-efi /tftp/grub
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3-3.13.5
MAINTAINER "Zexi Li <zexi.li@icloud.com>"
RUN mkdir -p /opt/yunion/bin
RUN apk update && \
apk add --no-cache ipmitool ethtool tzdata ca-certificates cdrkit coreutils && \
apk add --no-cache ipmitool ethtool tzdata ca-certificates cdrkit coreutils librados librbd && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN mkdir -p /opt/cloud/yunion/baremetal
# udpate latest pci.ids
RUN wget -O /opt/cloud/yunion/baremetal/pci.ids http://pci-ids.ucw.cz/v2.2/pci.ids
# download baremetal-pxerom-*.x86_64.rpm and unpack rpm in current directory
COPY --from=build /opt/cloud/yunion/baremetal/bootia32.efi /opt/cloud/yunion/baremetal
COPY --from=build /opt/cloud/yunion/baremetal/bootx64.efi /opt/cloud/yunion/baremetal
COPY --from=build /opt/cloud/yunion/baremetal/chain.c32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/initramfs /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/isolinux.bin /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/kernel /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/ldlinux.c32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/ldlinux.e32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/ldlinux.e64 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/libcom32.c32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/libutil.c32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/lpxelinux.0 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/menu.c32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/pxelinux.0 /opt/cloud/yunion/baremetal
#COPY --from=build /opt/cloud/yunion/baremetal/bootia32.efi /opt/cloud/yunion/baremetal
#COPY --from=build /opt/cloud/yunion/baremetal/bootx64.efi /opt/cloud/yunion/baremetal
#COPY --from=build /opt/cloud/yunion/baremetal/chain.c32 /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/initramfs /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/isolinux.bin /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/kernel /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/ldlinux.c32 /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/ldlinux.e32 /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/ldlinux.e64 /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/libcom32.c32 /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/libutil.c32 /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/lpxelinux.0 /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/menu.c32 /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/pxelinux.0 /opt/cloud/yunion/baremetal
# copy grub file
COPY --from=grub-stage /tftp/grub_booti386 /opt/cloud/yunion/baremetal
COPY --from=grub-stage /tftp/grub_bootx64.efi /opt/cloud/yunion/baremetal
COPY --from=grub-stage /tftp/grub_arm64.efi /opt/cloud/yunion/baremetal
COPY --from=grub-stage /tftp/grub /opt/cloud/yunion/baremetal/grub
# copy boot files from yunionos
COPY --from=yunionos /yunionos/x86_64/kernel /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/initramfs /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/aarch64/kernel /opt/cloud/yunion/baremetal/kernel_aarch64
COPY --from=yunionos /yunionos/aarch64/initramfs /opt/cloud/yunion/baremetal/initramfs_aarch64
# TODO: syslinux firmwares should removed in future
COPY --from=yunionos /yunionos/x86_64/isolinux.bin /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/bootia32.efi /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/bootx64.efi /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/chain.c32 /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/initramfs /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/kernel /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/ldlinux.c32 /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/ldlinux.e32 /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/ldlinux.e64 /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/libcom32.c32 /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/libutil.c32 /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/lpxelinux.0 /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/menu.c32 /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/pxelinux.0 /opt/cloud/yunion/baremetal

View File

@@ -1,5 +1,7 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/climc-base:20210701
FROM registry.cn-beijing.aliyuncs.com/yunionio/climc-base:20210901
ADD ./build/climc/root/opt /opt
RUN cat /opt/yunion/scripts/motd/climc.sh >> /root/.bashrc
ADD ./_output/alpine-build/bin/climc ./_output/alpine-build/bin/*cli /opt/yunion/bin/

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
@@ -6,7 +6,9 @@ ENV TZ Asia/Shanghai
RUN mkdir -p /opt/yunion/bin
RUN apk add --no-cache bash bash-completion tzdata ca-certificates vim && \
RUN echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >>/etc/apk/repositories
RUN apk add --no-cache bash bash-completion tzdata ca-certificates vim ipmitool kubectl ceph-common && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

View File

@@ -1,3 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
ADD ./_output/alpine-build/bin/cloudevent /opt/yunion/bin/cloudevent
ADD ./_output/alpine-build/bin/cloudevent /opt/yunion/bin/cloudevent

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
COPY ./build/cloudid/root/opt/ /opt/
ADD ./_output/alpine-build/bin/cloudid /opt/yunion/bin/cloudid

View File

@@ -0,0 +1,8 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
RUN mkdir -p /etc/yunion/data/
ADD ./_output/alpine-build/bin/cloudmon \
/opt/yunion/bin/

View File

@@ -1,3 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
ADD ./_output/alpine-build/bin/cloudnet /opt/yunion/bin/cloudnet
ADD ./_output/alpine-build/bin/cloudnet /opt/yunion/bin/cloudnet

View File

@@ -0,0 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
ADD ./_output/alpine-build/bin/cloudproxy /opt/yunion/bin/cloudproxy

View File

@@ -1,3 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
ADD ./_output/alpine-build/bin/devtool /opt/yunion/bin/devtool
ADD ./_output/alpine-build/bin/devtool /opt/yunion/bin/devtool

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
COPY ./build/esxi-agent/root/opt/ /opt/

View File

@@ -0,0 +1,21 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
MAINTAINER "Rain Zheng <zhengyu@yunion.com>"
# openssh-client, for ansible ssh connection
# git, ca-certificates, for fetching ansible roles
RUN set -x \
&& apk update \
&& apk add git \
&& rm -rf /var/cache/apk/*
# install default playbook and install pkg
Run mkdir -p /opt/yunion/ansible-install-pkg
Run wget https://yunioniso.oss-cn-beijing.aliyuncs.com/rpms/telegraf/telegraf-1.19.2-yn~fe11a96b-0.aarch64.rpm -P /opt/yunion/ansible-install-pkg
Run wget https://yunioniso.oss-cn-beijing.aliyuncs.com/rpms/telegraf/telegraf-1.19.2-yn~fe11a96b-0.x86_64.rpm -P /opt/yunion/ansible-install-pkg
Run wget https://yunioniso.oss-cn-beijing.aliyuncs.com/rpms/telegraf/telegraf_1.19.2-yn~fe11a96b-0_amd64.deb -P /opt/yunion/ansible-install-pkg
Run wget https://yunioniso.oss-cn-beijing.aliyuncs.com/rpms/telegraf/telegraf_1.19.2-yn~fe11a96b-0_arm64.deb -P /opt/yunion/ansible-install-pkg
Run mkdir -p /opt/yunion/playbook
Run mkdir /opt/yunion/playbook/monitor-agent
Run git clone https://github.com/yunionio/monitor-agent.git /opt/yunion/playbook/monitor-agent --recurse-submodules

View File

@@ -1,6 +1,5 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/torrent:20200820
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
FROM registry.cn-beijing.aliyuncs.com/yunionio/glance-base:v0.0.1
ENV TZ UTC
RUN mkdir -p /opt/yunion/bin
ADD ./_output/alpine-build/bin/glance /opt/yunion/bin/glance
ADD ./_output/alpine-build/bin/glance /opt/yunion/bin/glance

View File

@@ -0,0 +1,5 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/torrent:20210815.0
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
RUN apk add --no-cache s3fs-fuse --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing

View File

@@ -1,9 +1,8 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-base:v0.3
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-base:v0.4.0
MAINTAINER "Yaoqi Wan wanyaoqi@yunionyun.com"
ENV TZ Asia/Shanghai
ENV TZ UTC
RUN apk add librados librbd
RUN mkdir -p /opt/yunion/bin
ADD ./_output/alpine-build/bin/host /opt/yunion/bin/host

View File

@@ -1,8 +1,8 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-deployer-base:0.6
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-deployer-base:1.3
MAINTAINER "Yaoqi Wan wanyaoqi@yunionyun.com"
ENV TZ Asia/Shanghai
ENV TZ UTC
RUN mkdir -p /opt/yunion/bin

View File

@@ -0,0 +1,9 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
RUN mkdir -p /opt/yunion/bin
ENV TZ UTC
ADD ./_output/bin/host-image /opt/yunion/bin/host-image
ADD ./_output/bin/.host-image.bin /opt/yunion/bin/.host-image.bin
ADD ./_output/bin/bundles/host-image /opt/yunion/bin/bundles/host-image

View File

@@ -1,3 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
ADD ./_output/alpine-build/bin/keystone /opt/yunion/bin/keystone
ADD ./_output/alpine-build/bin/keystone /opt/yunion/bin/keystone

View File

@@ -1,3 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
ADD ./_output/alpine-build/bin/logger /opt/yunion/bin/logger

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
COPY ./build/monitor/root/opt/ /opt/
ADD ./_output/alpine-build/bin/monitor /opt/yunion/bin/monitor
ADD ./_output/alpine-build/bin/monitor /opt/yunion/bin/monitor

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
COPY ./build/notify/root/opt/ /opt/
ADD ./_output/alpine-build/bin/notify /opt/yunion/bin/notify

View File

@@ -1,13 +1,14 @@
FROM alpine:3.11
# TODO: use 3.14 will lead 'apk add qemu-img fail on arm64'
FROM alpine:3.13.5
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
ENV TZ Asia/Shanghai
ENV TZ UTC
RUN mkdir -p /opt/yunion/bin
RUN sed -i 's!https://dl-cdn.alpinelinux.org/!https://mirrors.ustc.edu.cn/!g' /etc/apk/repositories
RUN apk update && \
apk add --no-cache tzdata curl busybox-extras tcpdump strace ca-certificates && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

View File

@@ -0,0 +1,13 @@
FROM alpine:3.15.4
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
ENV TZ UTC
RUN mkdir -p /opt/yunion/bin
RUN sed -i 's!https://dl-cdn.alpinelinux.org/!https://mirrors.ustc.edu.cn/!g' /etc/apk/repositories
RUN apk update && \
apk add --no-cache tzdata curl busybox-extras tcpdump strace ca-certificates && \
rm -rf /var/cache/apk/*

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
COPY ./build/region/root/opt/ /opt/
ADD ./_output/alpine-build/bin/region /opt/yunion/bin/region

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
RUN mkdir -p /opt/yunion/bin
ADD ./_output/alpine-build/bin/region-dns /opt/yunion/bin/region-dns

View File

@@ -1,3 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
ADD ./_output/alpine-build/bin/s3gateway /opt/yunion/bin/s3gateway
ADD ./_output/alpine-build/bin/s3gateway /opt/yunion/bin/s3gateway

View File

@@ -0,0 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
ADD ./_output/alpine-build/bin/scheduledtask /opt/yunion/bin/scheduledtask

View File

@@ -1,3 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
ADD ./_output/alpine-build/bin/scheduler /opt/yunion/bin/scheduler
ADD ./_output/alpine-build/bin/scheduler /opt/yunion/bin/scheduler

View File

@@ -1,15 +1,15 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
MAINTAINER "Yaoqi Wan <wanyaoqi@yunionyun.com>"
MAINTAINER "Zexi Li <zexi.li@icloud.com>"
# HACK: use v3.14 alpine mirror to upgrade qemu-img
RUN echo http://dl-cdn.alpinelinux.org/alpine/v3.14/main > /etc/apk/repositories
RUN echo http://dl-cdn.alpinelinux.org/alpine/v3.14/community >> /etc/apk/repositories
RUN apk update && \
apk add --no-cache tzdata ca-certificates qemu-img && \
apk add --no-cache qemu-img && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
ENV TZ Asia/Shanghai
# add executable file torrent
# make cmd/torrent
RUN mkdir -p /opt/yunion/bin

View File

@@ -1,6 +1,7 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/openvswitch:2.10.4-1
FROM registry.cn-beijing.aliyuncs.com/yunionio/openvswitch:2.10.5-1
MAINTAINER "Yousong Zhou <zhouyousong@yunion.cn>"
ENV TZ UTC
RUN mkdir -p /opt/yunion/bin
ADD ./_output/alpine-build/bin/vpcagent /opt/yunion/bin/vpcagent

View File

@@ -1,3 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/webconsole-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/webconsole-base:v0.2-1
ADD ./_output/alpine-build/bin/webconsole /opt/yunion/bin/webconsole
ADD ./_output/alpine-build/bin/webconsole /opt/yunion/bin/webconsole

View File

@@ -2,11 +2,9 @@ FROM registry.cn-beijing.aliyuncs.com/yunionio/kubectl:1.18.6
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
ENV TZ Asia/Shanghai
ENV TZ UTC
RUN mkdir -p /opt/yunion/bin
RUN apk add --no-cache sshpass ipmitool openssh-client tzdata ca-certificates && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

View File

@@ -1,3 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
ADD ./_output/alpine-build/bin/yunionconf /opt/yunion/bin/yunionconf

View File

@@ -7,14 +7,56 @@ debian10-base:
docker buildx build --platform linux/arm64,linux/amd64 --push \
-t registry.cn-beijing.aliyuncs.com/yunionio/debian10-base:1.0 -f ./Dockerfile.debian-base .
CLIMC_BASE_VERSION = 20210701
ONECLOUD_BASE_VERSION = v0.3-3.13.5
ONECLOUD_BASE_VERSION_3-15-4 = v3.15.4-0
onecloud-base:
$(DOCKER_BUILDX)/onecloud-base:$(ONECLOUD_BASE_VERSION) -f ./Dockerfile.onecloud-base .
onecloud-base-3-15-4:
$(DOCKER_BUILDX)/onecloud-base:$(ONECLOUD_BASE_VERSION_3-15-4) -f ./Dockerfile.onecloud-base-3-15-4 .
ANSIBLESERVER_BASE = v1.1.1
ansibleserver-base:
$(DOCKER_BUILDX)/ansibleserver-base:$(ANSIBLESERVER_BASE) -f ./Dockerfile.ansibleserver-base .
CLIMC_BASE_VERSION = 20210901
climc-base:
docker buildx build --platform linux/arm64,linux/amd64 --push \
-t registry.cn-beijing.aliyuncs.com/yunionio/climc-base:$(CLIMC_BASE_VERSION) -f ./Dockerfile.climc-base .
BAREMETAL_BASE_VERSION = v0.3.3
WEBCONSOLE_BASE_VERSION = v0.2-1
webconsole-base:
$(DOCKER_BUILDX)/webconsole-base:$(WEBCONSOLE_BASE_VERSION) -f ./Dockerfile.webconsole-base .
BAREMETAL_BASE_VERSION = v0.3.8
baremetal-base:
$(DOCKER_BUILDX)/baremetal-base:$(BAREMETAL_BASE_VERSION) -f ./Dockerfile.baremetal-base .
#docker push $(REGISTRY)/baremetal-base:$(BAREMETAL_BASE_VERSION)
TORRENT_VERSION = 20210815.0
torrent:
$(DOCKER_BUILDX)/torrent:$(TORRENT_VERSION) -f ./Dockerfile.torrent .
GLANCE_BASE_VERSION = v0.0.1
glance-base:
$(DOCKER_BUILDX)/glance-base:$(GLANCE_BASE_VERSION) -f ./Dockerfile.glance-base .
FILE_REPO_VERSION = v0.3.3
file-repo:
$(DOCKER_BUILDX)/file-repo:$(FILE_REPO_VERSION) -f ./Dockerfile.file-repo .
HOST_IMAGE_VERSION ?= v1.0.2
HOST_IMAGE_NAME = $(REGISTRY)/host-image:$(HOST_IMAGE_VERSION)
host-image:
docker pull $(HOST_IMAGE_NAME)-amd64 --platform amd64
docker pull $(HOST_IMAGE_NAME)-arm64 --platform arm64
docker manifest create $(HOST_IMAGE_NAME) \
$(HOST_IMAGE_NAME)-amd64 \
$(HOST_IMAGE_NAME)-arm64
docker manifest annotate $(HOST_IMAGE_NAME) $(HOST_IMAGE_NAME)-amd64 --arch amd64
docker manifest annotate $(HOST_IMAGE_NAME) $(HOST_IMAGE_NAME)-arm64 --arch arm64
docker manifest push $(HOST_IMAGE_NAME)

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/alpine-build:1.0-5 as build
FROM registry.cn-beijing.aliyuncs.com/yunionio/alpine-build:3.16.0-go-1.18.2-0 as build
ARG TARGETPLATFORM
ARG BUILDPLATFORM
RUN mkdir -p /root/go/src/yunion.io/x/onecloud
@@ -7,12 +7,11 @@ COPY . /root/go/src/yunion.io/x/onecloud
WORKDIR /root/go/src/yunion.io/x/onecloud
RUN make cmd/host
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-base:v0.3
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-base:v0.4.0
MAINTAINER "Yaoqi Wan wanyaoqi@yunionyun.com"
ENV TZ Asia/Shanghai
RUN apk add librados librbd
RUN mkdir -p /opt/yunion/bin
COPY --from=build /root/go/src/yunion.io/x/onecloud/_output/bin/host /opt/yunion/bin/host

View File

@@ -1,24 +1,24 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/alpine-build:1.0-5 as build
ARG TARGETPLATFORM
ARG BUILDPLATFORM
RUN mkdir -p /root/go/src/yunion.io/x/onecloud
COPY . /root/go/src/yunion.io/x/onecloud
RUN cd /root/go/src/yunion.io/x/onecloud && make cmd/torrent
WORKDIR /root/go/src/yunion.io/x/onecloud
RUN make cmd/torrent
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
MAINTAINER "Zexi Li <zexi.li@icloud.com>"
MAINTAINER "Yaoqi Wan <wanyaoqi@yunionyun.com>"
# HACK: use v3.14 alpine mirror to upgrade qemu-img
RUN echo http://dl-cdn.alpinelinux.org/alpine/v3.14/main > /etc/apk/repositories
RUN echo http://dl-cdn.alpinelinux.org/alpine/v3.14/community >> /etc/apk/repositories
RUN apk update && \
apk add --no-cache tzdata ca-certificates qemu-img && \
apk add --no-cache qemu-img && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
ENV TZ Asia/Shanghai
# TAG=20210815.0
# add executable file torrent
# make cmd/torrent
RUN mkdir -p /opt/yunion/bin

View File

@@ -0,0 +1,2 @@
_output/alpine-build/_cache

1
build/memclean/vars Normal file
View File

@@ -0,0 +1 @@
DESCRIPTION="Memclean Utility"

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details.action -}}
当前日志 ID: {{ $d.id }}

View File

@@ -0,0 +1,13 @@
{{- $d := .resource_details -}}
{{- if eq .resource_type "db_table_record" }}
表{{ $d.table_name }}记录{{ $d.name }}被修改,完整性校验失败。期望校验和({{ $d.expected_checksum }}) != 计算校验和({{ $d.calculated_checksum }})。
{{- end -}}
{{- if eq .resource_type "cloudpods_component" }}
{{ $d.details }}
{{- end -}}
{{- if eq .resource_type "snapshot" }}
快照{{ $d.name }}的内存快照完整性校验失败
{{- end -}}
{{- if eq .resource_type "image" }}
镜像{{ $d.name }}完整性校验失败
{{- end -}}

View File

@@ -0,0 +1,9 @@
{{- $d := .resource_details -}}
您在{{ $d.project }}项目的
{{- if $d.brand -}}
{{ $d.brand }}平台
{{- end -}}
{{ .resource_type_display }}{{ $d.name }}{{ .action_display }}{{.result_display}}
{{- if eq .result "failed" -}}
,请尽快前往控制台进行处理
{{- end -}}

View File

@@ -0,0 +1,64 @@
{{- $d := .resource_details }}
{{- $consoleServiceType := list "loadbalancer" "dbinstance" "elasticcache" -}}
您在{{ $d.project }}项目的
{{- if $d.brand -}}
{{ $d.brand }}平台
{{- end -}}
{{ .resource_type_display }}{{ $d.name }}创建成功
{{- if $d.private_dns -}}
,内网地址为{{ $d.private_dns }}:{{ $d.private_connect_port }}
{{- end -}}
{{- if $d.public_dns -}}
,外网地址为{{ $d.public_dns }}:{{ $d.public_connect_port }}
{{- end -}}
{{- if $d.address -}}
,服务地址为{{ $d.address }}
{{- end -}}
{{- if $d.ips -}}
IP地址为{{ $d.ips }}
{{- end -}}
{{- if and $d.guest_ip_start $d.guest_ip_end -}}
IP范围为{{ $d.guest_ip_start }}-{{ $d.guest_ip_end }}
{{- end -}}
{{- if $d.ip_addr -}}
IP地址为{{ $d.ip_addr }}
{{- end -}}
{{- if $d.login_account -}}
,初始帐号为{{ $d.login_account }}
{{- end -}}
{{- if $d.password -}}
,初始密码为{{ $d.password }}
{{- end -}}
{{- if $d.keypair -}}
访问ssh密钥为{{ $d.keypair }}
{{- end -}}
{{- if $d.common_name -}}
,证书域名为{{ $d.common_name }}
{{- end -}}
{{- if $d.not_after -}}
,过期时间为{{ $d.not_after }}
{{- end -}}
{{- if eq .resource_type "server" -}}
,请使用
{{- if $d.windows -}}
远程桌面连接器(RDC)
{{- else -}}
SSH
{{- end -}}
或前往控制台访问虚拟机。
{{- end -}}
{{- if has .resource_type $consoleServiceType -}}
,更多信息请前往控制台查看。
{{- end -}}

View File

@@ -0,0 +1,22 @@
{{- $d := .resource_details -}}
您在{{ $d.project }}项目的
{{- if $d.brand -}}
{{ $d.brand }}平台
{{- end -}}
{{- if $d.private_dns -}}
,内网地址为{{ $d.private_dns }}:{{ $d.private_connect_port }}
{{- end -}}
{{- if $d.public_dns -}}
,外网地址为{{ $d.public_dns }}:{{ $d.public_connect_port }}
{{- end -}}
{{- if $d.ips -}}
IP地址为{{ $d.ips }}
{{- end -}}
{{- if $d.ip_addr -}}
IP地址为{{ $d.ip_addr }}
{{- end -}}
{{ .resource_type_display }}{{ $d.name }}删除成功

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
{{ .resource_type }} {{ $d.name }} 发生异常: {{ $d.message }}

View File

@@ -0,0 +1,14 @@
{{- $d := .resource_details -}}
您在{{ $d.project }}项目的
{{- if $d.brand -}}
{{ $d.brand }}平台
{{- end -}}
{{- if $d.private_dns -}}
,内网地址为{{ $d.private_dns }}:{{ $d.private_connect_port }}
{{- end -}}
{{- if $d.public_dns -}}
,外网地址为{{ $d.public_dns }}:{{ $d.public_connect_port }}的
{{- end -}}
{{ .resource_type_display }}{{ $d.name }}还有{{ .advance_days }}天就要到期释放,{{ if $d.auto_renew }}到期已开启自动续费,{{ end }}如有其它变更,请尽快前往控制台处理

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
{{ .resource_type }} {{ $d.name }} 离线 {{- if $d.reason -}} 原因: {{ $d.reason }} {{- end -}}

View File

@@ -0,0 +1,4 @@
{{- $d := .resource_details -}}
{{ .resource_type }} {{ $d.task_name }} PANIC {{- if $d.error -}} 错误: {{ $d.error }} {{- end -}}
堆栈信息:
{{ $d.stack }}

View File

@@ -0,0 +1,14 @@
{{- $d := .resource_details -}}
您在{{ $d.project }}项目的
{{- if $d.ips -}}
IP地址为{{ $d.ips }}的
{{- end -}}
{{- if $d.ip_addr -}}
IP地址为{{ $d.ip_addr }}的
{{- end -}}
{{- if $d.brand -}}
{{ $d.brand }}平台
{{- end -}}
{{ .resource_type_display }}{{ $d.name }}成功加入回收站

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
您在{{ $d.project }}项目的弹性伸缩组{{ $d.scaling_group }}中的{{ $d.trigger_type_display }}类型伸缩策略{{ $d.name }}满足触发条件,成功{{ $d.action_display }}{{ $d.number }}{{ $d.unit_display }}实例

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
您在{{ $d.project }}项目的定时任务执行成功

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
您在{{ $d.project }}项目的自动快照策略{{ $d.name }}为硬盘{{ $d.disk }}创建快照成功

View File

@@ -0,0 +1,14 @@
{{- $d := .resource_details -}}
您在{{ $d.project }}项目的
{{- if $d.brand -}}
{{ $d.brand }}平台
{{- end -}}
{{ .resource_type_display }}{{ $d.name }}{{ .action_display }}成功
{{- if $d.account -}}
,帐号为{{ $d.account }}
{{- end -}}
{{- if $d.password -}}
,密码为{{ $d.password }}
{{- end -}}
,更多信息请前往控制台进行查看

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
账号{{ $d.name }}由于异常登录已被锁定,请核实情况,如果需要为用户解锁,请到用户列表启用该用户。

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details.action -}}
Current log ID: {{ $d.id }}

View File

@@ -0,0 +1,14 @@
{{- $d := .resource_details -}}
{{- if eq .resource_type "db_table_record" }}
The record {{ $d.name }} in table {{ $d.table_name }} of the database {{ $d.db_name }} has been modified because the checksum test failed. Expected_checksum({{ $d.expected_checksum }}) != Calculated_checksum({{ $d.calculated_checksum }}).
{{- end -}}
{{- if eq .resource_type "cloudpods_component" }}
{{ $d.details }}
{{- end -}}
{{- if eq .resource_type "snapshot" }}
The checksum of the memory snapshot of the snapshot {{ $d.name }} test failed.
{{- end -}}
{{- if eq .resource_type "image" }}
The checksum of the image {{ $d.name }} test failed.
{{- end -}}

View File

@@ -0,0 +1,5 @@
{{- $d := .resource_details -}}
Your {{ if $d.brand -}} {{ $d.brand }} {{ end -}} {{ .resource_type_display }} {{ $d.name }} {{ if $d.project -}} in project {{ $d.project }} {{ end -}} has been {{ .action_display }} {{ .result_display }}
{{- if eq .result "failed" -}}
. And please go to the console as soon as possible to process.
{{- end -}}

View File

@@ -0,0 +1,54 @@
{{- $d := .resource_details }}
{{- $consoleServiceType := list "loadbalancer" "dbinstance" "elasticcache" -}}
Your {{ if $d.brand -}} {{ $d.brand }} {{ end -}} {{ .resource_type_display }} {{ $d.name }} {{ if $d.project -}} in project {{ $d.project }} {{ end -}} has been created successfully
{{- if $d.private_dns -}}
, the intranet address is {{ $d.private_dns }}:{{ $d.private_connect_port }}
{{- end -}}
{{- if $d.public_dns -}}
, the internet address is {{ $d.public_dns }}:{{ $d.public_connect_port }}
{{- end -}}
{{- if $d.address -}}
, the service address is {{ $d.address }}
{{- end -}}
{{- if $d.ips -}}
, the IP address is {{ $d.ips }}
{{- end -}}
{{- if and $d.guest_ip_start $d.guest_ip_end -}}
, the IP range is {{ $d.guest_ip_start }}-{{ $d.guest_ip_end }}
{{- end -}}
{{- if $d.ip_addr -}}
, the IP address is {{ $d.ip_addr }}
{{- end -}}
{{- if $d.account -}}
, the initial account is {{ $d.account }}
{{- end -}}
{{- if $d.password -}}
, the initial password is {{ $d.password }}
{{- end -}}
{{- if $d.keypair -}}
, the access ssh key is {{ $d.keypair }}
{{- end -}}
{{- if $d.common_name -}}
, the certificate domain name is {{ $d.common_name }}
{{- end -}}
{{- if $d.not_after -}}
, the expiration is {{ $d.not_after }}
{{- end -}}
{{- if eq .resource_type "server" -}}
, and please use {{ if $d.windows -}} Remote Desktop Connector (RDC) {{ else -}} SSH {{ end -}} or go to the console to access the VM.
{{- end -}}
{{- if has .resource_type $consoleServiceType -}}
. For more information, please go to the console to view
{{- end -}}

View File

@@ -0,0 +1,22 @@
{{- $d := .resource_details -}}
Your {{ if $d.brand -}} {{ $d.brand }} {{ end -}} {{ .resource_type_display }} {{ $d.name }}
{{ if $d.project -}} in project {{ $d.project }} {{ end -}} has been deleted successfully
{{- if $d.private_dns -}}
, the intranet address is {{ $d.private_dns }}:{{ $d.private_connect_port }}
{{- end -}}
{{- if $d.public_dns -}}
, the external address is {{ $d.public_dns }}:{{ $d.public_connect_port }}
{{- end -}}
{{- if and $d.address_type $d.address -}}
, the service address is {{ $d.address_type }}{{ $d.address }}
{{- end -}}
{{- if $d.ips -}}
, the IP address is {{ $d.ips }}
{{- end -}}
{{- if $d.ip_addr -}}
, the IP address is {{ $d.ip_addr }}
{{- end -}}

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
{{ .resource_type }} {{ $d.name }} exception occurs: {{ $d.message }}

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
Your {{ if $d.brand -}} {{ $d.brand }} {{ end -}} {{ .resource_type }} {{ $d.name }} {{ if $d.public_dns -}} with external address {{ $d.public_dns }}:{{ $d.public_connect_port }} {{ end -}} {{ if $d.project -}} in project {{ $d.project }} {{ end -}} will expire and be released in {{ .advance_days }} days. {{ if $d.auto_renew }}It has turned on automatic renewal. {{ end }}If there are other changes, please go to the console as soon as possible.

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The {{ .resource_type }} {{ $d.name }} Offline {{- if $d.reason -}} Reason: {{ $d.reason }}的 {{- end -}}

View File

@@ -0,0 +1,4 @@
{{- $d := .resource_details -}}
{{ .resource_type }} {{ $d.task_name }} PANIC {{- if $d.error -}} Error: {{ $d.error }} {{- end -}}
Stack Info:
{{ $d.stack }}

View File

@@ -0,0 +1,22 @@
{{- $d := .resource_details -}}
Your {{ if $d.brand -}} {{ $d.brand }} {{ end -}} {{ .resource_type_display }} {{ $d.name }}
{{ if $d.project -}} in project {{ $d.project }} {{ end -}} has been added to recycle bin successfully
{{- if $d.private_dns -}}
, the intranet address is {{ $d.private_dns }}:{{ $d.private_connect_port }}
{{- end -}}
{{- if $d.public_dns -}}
, the external address is {{ $d.public_dns }}:{{ $d.public_connect_port }}
{{- end -}}
{{- if and $d.address_type $d.address -}}
, the service address is {{ $d.address_type }}{{ $d.address }}
{{- end -}}
{{- if $d.ips -}}
, the IP address is {{ $d.ips }}
{{- end -}}
{{- if $d.ip_addr -}}
, the IP address is {{ $d.ip_addr }}
{{- end -}}

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The {{ $d.trigger_type_display }} type scaling policy {{ $d.name }} in the scaling group {{ $d.scaling_group }} of the {{ $d.project }} project satisfies the trigger conditions, and {{ $d.action_display }} {{ $d.number }}{{ $d.unit_display }} instances successfully

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The scheduled task in {{ $d.project }} successfully {{ $d.operation_display }} the {{ $d.resource_type_display }} {{ $d.resource_name }}

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The snapshot policy {{ $d.name }} in the {{ $d.project }} project successfully creates a snapshot for the disk {{ $d.disk }}

View File

@@ -0,0 +1,10 @@
{{- $d := .resource_details -}}
Your {{ if $d.brand -}} {{ $d.brand }} {{ end -}} {{ .resource_type }} {{ $d.name }} {{ if $d.project -}} in project {{ $d.project }} {{ end -}} has been {{ .action_display }} successfully
{{- if $d.account -}}
, the acount is {{ $d.account }}
{{- end -}}
{{- if $d.password -}}
, the password is {{ $d.password }}
{{- end -}}
, and please go to the console to view more information

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The account {{ $d.name }} has been locked due to abnormal login. Please verify the situation. If you need to unlock the user, please go to the user list to enable the user.

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
操作日志超出设置数量{{ $d.exceed_count }}条,当前{{ $d.current_count }}条

View File

@@ -0,0 +1,6 @@
{{- $d := .resource_details -}}
{{- if eq .resource_type "cloudpods_component" }}
{{ $d.title }}
{{- else -}}
{{ .resource_type_display }}完整性校验失败
{{- end -}}

View File

@@ -0,0 +1,5 @@
{{- $d := .resource_details -}}
{{- if $d.project -}}
{{ $d.project }}项目的
{{- end -}}
{{ .resource_type_display }}{{ $d.name }}{{ .action_display }}{{ .result_display }}

View File

@@ -0,0 +1,5 @@
{{- $d := .resource_details -}}
{{- if $d.project -}}
{{ $d.project }}项目的
{{- end -}}
{{ .resource_type_display }}{{ $d.name }}创建成功

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
{{ .resource_type }} {{ $d.name }} 发生异常: {{ $d.message }}

View File

@@ -0,0 +1,3 @@
{{- $d := .resource_details -}}
{{ $d.project }}项目的
{{ .resource_type_display }}{{ $d.name }}到期前{{ .advance_days }}天通知

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
{{ .resource_type }} {{ $d.name }} 离线

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
{{ .resource_type }} {{ $d.task_name }} PANIC

Some files were not shown because too many files have changed in this diff Show More