Compare commits

...

3490 Commits

Author SHA1 Message Date
wanyaoqi
4a7befa0c6 fix(host): add ovmf 4m code (#24576) 2026-03-30 07:54:18 +08:00
Zexi Li
8838aaf84b fix(llm): 修复 llm 镜像没有根据 sku 更新的问题 (#24573) 2026-03-26 21:45:06 +08:00
Jian Qiu
199a669d19 fix: compat fixes for container host in vm (#24571)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-03-26 18:23:06 +08:00
屈轩
789c571703 fix(logger): add syslog init log (#24556) 2026-03-26 18:11:05 +08:00
wanyaoqi
af4f1d522a fix(region): validate kickstart enabled (#24559) 2026-03-26 18:09:57 +08:00
Zexi Li
a52c9b8a3b fix(region): order containers by created_at time (#24569) 2026-03-26 12:25:46 +08:00
Zexi Li
0e369eef9f fix(keystone): allow blob update for image credentials (#24566)
Also fix type check to allow secret/image only.
2026-03-26 11:50:51 +08:00
屈轩
86d531bf4e fix(region): add domain container usage (#24563) 2026-03-25 18:26:44 +08:00
Zexi Li
a53f8d0095 fix(vllm): user customize args & health check in hostlocal net (#24552)
Co-authored-by: cwz <cwz_eikoh@163.com>
2026-03-25 10:36:34 +08:00
wanyaoqi
8d5310f9e9 Automated cherry pick of #24544: fix(host): metadata handler proxy telegraf data fix tenant_id (#24546)
* fix(host): metadata handler proxy telegraf data

* fix(host): append unknown dmesg to last entry
2026-03-25 10:34:34 +08:00
Jian Qiu
1e5bab79f8 fix: lbagent genHaproxyConfig possible nil pointer panic (#24538)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-03-25 10:32:56 +08:00
Jian Qiu
6310c1e4a6 fix(hostmetrics): add checks for incomplete pod and container stats (#24550)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-03-25 10:31:20 +08:00
屈轩
51e3e7feb9 fix(region): add container usage (#24541) 2026-03-25 10:23:21 +08:00
屈轩
2c32ed9b85 fix(host-image): update script for riscv64 host-image (#24534) 2026-03-24 11:37:31 +08:00
Zexi Li
75c546050f fix(host): probing multiple container status (#24530) 2026-03-24 10:27:16 +08:00
wanyaoqi
4f91a82f12 fix(host): dd zero to lv wife partitions on lvremove (#24526) 2026-03-23 19:02:04 +08:00
wanyaoqi
c14170ff8f fix(host-deployer): resizefs add fstype LVM2_member (#24518) 2026-03-23 00:01:13 +08:00
wanyaoqi
6f23751754 fix(region): check instance snapshot joint is nil on snapshot purge (#24514) 2026-03-22 23:59:26 +08:00
屈轩
ece4993df6 fix(apigateway): stream download content-type (#24509) 2026-03-20 13:41:45 +08:00
Jian Qiu
fec1f2495b feature: support host-local wire (#24498)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-03-20 01:36:59 +08:00
wanyaoqi
e42d360bb5 Automated cherry pick of #24452: Cherry pick of #23094 upstream release 4.0 1770106850 (#24464)
* feat(region, climc): Add kickstart parameters and metadata

- Add kickstart parameters and metadata support
- Add kickstart CLI options and management commands
- Set kickstart metadata in PostCreate
- Add related kickstart metadata fields

* feat(host): Implement automated VM installation

- Mounts the installation ISO to a unique temp path, reusing existing mounts.
- Extracts kernel (`vmlinuz`, `initrd`) to configure QEMU boot.
- Injects kernel parameters to trigger the autoinstall.
- Add kickstart configuration validation.

Modified `guestLauncher` script to handle kernel parameters with spaces
that were previously truncated by the Python script.

* feat(host): Implement Kickstart monitoring

- Automatically updates the VM status upon
receiving `KICKSTART_SUCCESS` or `KICKSTART_FAILED` signals.
- On success, cleans up temporary mount points
and restarts the server via the Region API.

* feat(region): add kickstart type metadata

Adds the `VM_METADATA_KICKSTART_TYPE` to distinguish between
kickstart configurations passed by URL or by direct content.

* feat(host): Handle kickstart installing and timeout

- Set status to 'installing' upon successful kickstart boot
- Handle KICKSTART_INSTALLING serial message for status updates
- Add timeout handling for kickstart status monitoring

* feat(host): provide Kickstart config via content

Embed the provided config content as a file in a
labeled ISO (mkisofs), then mount the ISO during
the Kickstart installation to supply the config.

* refactor(host): Enhance the kickstart installation

- Integrates kickstart status directly into the VM status, replacing metadata.
- Unifies locations for kickstart logs and temporary files.
- Uses regex for more robust status matching.
- Moves helper functions to `kickstart_helper.go`.
- Fixes an incorrect kickstart configuration filename.
- Adjusts kickstart logging.

* feat(region, host): add kickstart support for openEuler

* refactor(host): extract kickstart cleanup function

* feat(region, climc): add kickstart-complete cli

Add this command to manually update the kickstart status and
reboot VM if needed. This is mainly used by users to manually
update the kickstart status when kickstart status detection is abnormal.

* refactor(region): reduce code duplication in Kickstart validation

- unify two validateKickstartConfig functions
- extract determineKickstartType function for type determination

* fix(region, host): fix kickstart auto-reboot

- Adjusted the timing of setting the status to
`kickstart_pending` to avoid incorrect reboot checks
- Skip setting kickstart if the status is already
`kickstart_completed` to prevent unnecessary reboots
- Added cleanup of kickstart files upon VM deletion

* feat(host): download kickstart config from URL

- download content when passing config via URL
- unified boot parameters

* feat(host): copy kickstart kernel files

* feat(host): ensure kickstart completion signal in config

---------

Co-authored-by: happygame <happygame1024@gmail.com>
2026-03-20 01:35:42 +08:00
wanyaoqi
6ea800897e Automated cherry pick of #24456: Fix/host deployer nbd driver40 (#24465)
* fix(host-deployer): nbd add concurrency control

* fix(host-deployer,glance): windows image add current version
2026-03-20 01:32:19 +08:00
Zexi Li
f1740579f1 feat(llm): unify container access url info and login response (#24506) 2026-03-19 23:07:01 +08:00
wanyaoqi
da37f6836a fix(host-deployer): get resize dev by serial panic (#24447) 2026-03-19 23:04:13 +08:00
cwz_eikoh
e701abe273 Automated cherry pick of #24471: Feature(mcp): support x-api-key authentication for mcp-server (#24501)
* feat(mcp-server): support base64 ak/sk

* fix(mcp-agent): try to fix route of default-mcp-tools
2026-03-19 15:04:57 +08:00
cwz_eikoh
e51be81c7e feat(llm): support model import for vllm (#24502) 2026-03-19 15:03:41 +08:00
wanyaoqi
5649836123 Automated cherry pick of #24473: fix(glance): cache images to ceph add brand filter (#24477)
* fix(glance): cache images to ceph add brand filter

* fix(region): iso image support default uefi boot mod
2026-03-19 11:45:18 +08:00
Jian Qiu
590a775cd8 fix: logger add app-options-show api (#24494)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-03-19 11:44:05 +08:00
屈轩
184de997c5 fix(region): allow set disk auto-delete attribute (#24487) 2026-03-19 10:27:52 +08:00
Zexi Li
c7b7911401 fix(llm): derive openclaw auth password from llm id (#24483) 2026-03-18 19:01:10 +08:00
屈轩
5250d2b647 fix(region): vendor update (#24484) 2026-03-18 18:52:10 +08:00
wanyaoqi
da094dbb5e fix(baremetal-agent): bm register reuse baseprepare updateBmInfo (#24476) 2026-03-18 10:11:00 +08:00
Zexi Li
3b031ebdca fix(monitor): align multi-metric alert conditions in notifications (#24469) 2026-03-17 15:57:27 +08:00
屈轩
93ea44d336 fix: add more log info (#24462) 2026-03-17 14:39:04 +08:00
Zexi Li
bdbe0642a0 feat(llm): add llm_types filters and cleanup dify cli (#24459) 2026-03-16 18:05:20 +08:00
Zexi Li
e6e4b70b6f feat(llm): 调整 openclaw 容器与 LLM 基础模型/sku 逻辑 (#24454) 2026-03-16 16:19:46 +08:00
Zexi Li
4b91e6235c fix(llm): mount openclaw home dir (#24450) 2026-03-13 20:38:37 +08:00
屈轩
c8a6867c10 fix(region): avoid delete ksyun vm error (#24442) 2026-03-13 15:23:17 +08:00
Jian Qiu
1673cf3fca fix: compat fixes for container host in vm (#24444)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-03-13 13:26:50 +08:00
cwz_eikoh
140054c927 Automated cherry pick of #24338: feat(llm): init vllm as llm_container (#24436)
* feat(llm): init vllm as llm_container

* feat(vllm): fix save-instant-model for vllm

* feat(llm): support quick-model for vllm

* feat(vllm): support preferred-model in llm

* fix(llm): add ValidateSpec in llm_container_driver

* feat(vllm): auto-set vllm params
2026-03-13 11:07:09 +08:00
Zexi Li
fc33607c0e feat(host): rotate container logs (#24434) 2026-03-12 15:15:24 +08:00
Zexi Li
1b276b02cb feat(llm): add login-info api (#24430) 2026-03-12 07:21:01 +08:00
wanyaoqi
8543f3735d fix(region): guestnetworksecgroup list add network info (#24393) 2026-03-11 19:31:52 +08:00
wanyaoqi
5dd913b40f fix(host): check file exist before copy ovmf vars (#24366) 2026-03-11 19:29:43 +08:00
Zexi Li
bfca09016e feat(llm): restart action (#24428) 2026-03-11 19:08:42 +08:00
屈轩
d1dec1d4bb fix(cloudmon): update volc api (#24424) 2026-03-11 16:54:50 +08:00
Zexi Li
129e15e52f Automated cherry pick of #24411: openclaw llm agent (#24419)
* support comfyui and openclaw

feat(region,host): support env credential of container

feat(llm): openclaw url

* fix(region): delete server without host_id

* feat(llm): llm spec
2026-03-11 15:21:17 +08:00
屈轩
f832e211bd fix(monitor): add vm out bandwidth metric (#24418) 2026-03-11 13:49:59 +08:00
屈轩
d1351b84c7 fix(region): vendor update (#24414) 2026-03-11 11:03:23 +08:00
屈轩
36afb063ef fix(region): persistence server status change (#24408) 2026-03-10 15:06:42 +08:00
Zexi Li
8bce8e4e17 Automated cherry pick of #24399: feat(llm): polymetric dify with llm (#24406)
* feat(llm): polymetric dify with llm

* fix(llm): drop LLMSpecHolder & fix some bugs

---------

Co-authored-by: cwz <cwz_eikoh@163.com>
2026-03-10 10:23:54 +08:00
Zexi Li
92b77d1f4d fix(region): associate eip to pod (#24403) 2026-03-09 15:24:09 +08:00
Zexi Li
d9229dae60 fix(monitor): 仅在 From/To/Interval 为空时设置默认值 (#24397)
setDefaultValue 中 From、To、Interval 改为仅在当前值为空时
才用 inputQuery 覆盖,避免覆盖用户已指定的查询时间范围与间隔
2026-03-06 19:13:30 +08:00
Zexi Li
af117c4f4b fix(host): hard code start index of va gpu (#24390) 2026-03-05 11:55:15 +08:00
Zexi Li
2e89fd9f95 feat(host): cgroupv2 implemented for pod (#24387) 2026-03-04 11:21:49 +08:00
cwz_eikoh
e9c33ccb09 Automated cherry pick of #24355: fix: some bugs in mcp-agent & llm (#24382)
* fix(mcp-agent): encoding issue when simulated streaming

* fix(mcp-agent): use chat-stream in phase tool-choose

* fix(mcp-agent): support reasoning model

* fix(llm): add pre-delete detection

* feat(mcp-agent): add default mcp-agent

* feat(mcp-agent): add default-mcp-tools
2026-03-03 16:07:43 +08:00
cwz_eikoh
cc7e6fca79 Automated cherry pick of #24354: feat(mcp-server): add mcp-server config (#24386)
* feat(mcp-server): add mcp-server config

* fix(mcp-agent): add claude mcp-server-config
2026-03-03 16:06:28 +08:00
屈轩
aaf93d316d fix(esxi-agent): vendor update for rebuild root fail (#24381) 2026-03-03 00:18:37 +08:00
Zexi Li
734e73da54 feat(monitor): support disable_notify_recovery for commonalert (#24376) 2026-03-02 16:13:00 +08:00
屈轩
bfd9d30689 fix(region): check bind disk resource (#24374) 2026-03-02 12:03:03 +08:00
屈轩
d9d0819e94 fix(region): snapshot size opslog (#24370) 2026-02-28 17:00:41 +08:00
屈轩
f5facd4c0a fix(region): avoid sync remove disk (#24363) 2026-02-27 15:06:53 +08:00
屈轩
465ffb8977 fix(ansibleserver): update telegraf (#24360) 2026-02-27 14:06:52 +08:00
Jian Qiu
9799dcadf8 fix: allow uncache deleted image (#24350)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-02-26 23:08:03 +08:00
wanyaoqi
39cbadd2b8 fix(host): add guest max mem size options (#24343) 2026-02-26 20:26:58 +08:00
Zexi Li
817673bbc5 fix(monitor): convert SNodeAlert to SCommonAlert in FetchCustomizeColumns (#24346)
Pass cObjs of type *SCommonAlert to SCommonAlertManager.FetchCustomizeColumns
instead of *SNodeAlert so the parent correctly fetches common alert columns.
2026-02-25 19:32:09 +08:00
Jian Qiu
f7161ae1bf fix: keep climc network-create backward compatibility (#24339)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-02-25 09:03:19 +08:00
屈轩
42b5913416 fix(region): avoid account sync cost time abnormal (#24335) 2026-02-24 17:33:57 +08:00
Jian Qiu
2e90864f32 fix: instance snapshot virtual size (#24329)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-02-24 09:23:28 +08:00
Zexi Li
15ea182d65 fix(region): wrong args type on callback function of DiskCreateTask (#24331) 2026-02-13 17:05:31 +08:00
Zexi Li
3c4f838bbb fix(host): do not set cached image status to active for TGZ on host (#24325)
TGZ images are unpacked after fetch on host; leave status update to region
StorageCacheImageTask so cachedimage becomes active only in OnCacheSucc.
2026-02-13 10:05:23 +08:00
Jian Qiu
bbcdc46a82 fix: ensure s3 client init for s3 storage driver (#24322)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-02-12 10:01:32 +08:00
Zexi Li
67ad215c00 feat(region,host): support post overlay uppper config (#24317) 2026-02-11 16:57:36 +08:00
屈轩
7d1f917f0d fix(yunionconf): policy scope (#24315) 2026-02-11 11:23:56 +08:00
wanyaoqi
673bae1853 fix(host): set dmesg parse failed log level to debug (#24310) 2026-02-11 00:58:57 +08:00
wanyaoqi
2dad4c9162 fix(host-deployer): deploy single disk has no disk id (#24305) 2026-02-10 19:36:09 +08:00
wanyaoqi
093a497f63 Automated cherry pick of #24301: fix(host-deployer): online resize loop dev (#24302)
* fix(host-deployer): online resize loop dev

* fix(host-deployer): update host-deployer-base
2026-02-10 17:07:58 +08:00
Zexi Li
bdbb3e71e0 Automated cherry pick of #24290: feat(monitor): support alert reason notification (#24294)
* feat(monitor): support alert reason notification

* fix(climc): commonalert list options
2026-02-10 09:06:35 +08:00
Jian Qiu
1eb46d87e1 fix: guest syncstatus subtask for disk create task (#24293)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-02-10 09:03:33 +08:00
屈轩
050d940832 fix(notify): notify receiver (#24298) 2026-02-09 20:42:44 +08:00
Jian Qiu
e7caa1f6e2 fix: remove parent task info from task context (#24284)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-02-09 13:22:18 +08:00
wanyaoqi
1667655c28 fix(host): add device_id only scsi-hd device (#24280) 2026-02-09 11:26:53 +08:00
wanyaoqi
36e4f22d37 fix(host): deploy nics config defore do add nics (#24277) 2026-02-09 08:37:54 +08:00
Jian Qiu
55e355860c fix: unify lb charge type (#24273)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-02-08 18:43:31 +08:00
Jian Qiu
3a53b034ba feature: support postpaid traffic metering (#24270)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-02-08 12:58:02 +08:00
wanyaoqi
24b1bc9c38 feat(region,host,vpcagent): allow guest network dedicate secgroups (#24262) 2026-02-07 17:31:55 +08:00
wanyaoqi
11ceadfcf2 fix(region,host): rbd snapshot get actual size (#24241)
- add host down and auto migrate notification
2026-02-07 17:31:06 +08:00
屈轩
f8611bb9f0 fix(region): vendor update (#24266) 2026-02-07 13:52:12 +08:00
wanyaoqi
aa5f56b225 fix(region,host): rename screen dump info structure (#24259) 2026-02-06 18:09:12 +08:00
cwz_eikoh
1868c64c2f fix(llm): add handler in apigateway for mcp-agent-chat (#24255) 2026-02-05 18:17:03 +08:00
屈轩
d5e86b770b fix(region): snapshot policy operation (#24248) 2026-02-05 16:40:29 +08:00
wanyaoqi
9c77f44b94 fix(glance): set s3 bucket name before s3 init check (#24238) 2026-02-04 23:07:44 +08:00
屈轩
2ea2e74464 fix(yunionconf): support tags (#24232) 2026-02-04 17:14:02 +08:00
屈轩
97c6af0dab fix(region): public cloud sku create (#24227) 2026-02-04 14:57:03 +08:00
屈轩
2c2fe1bb16 fix(region): support cloudpods vm disk driver (#24222) 2026-02-04 14:28:13 +08:00
Zexi Li
b6622f1fde fix(region,climc): persist netinterface vlan_id to hostnetwork (#24215)
- climc: add VlanId to host-add-netif, host-remove-netif, host-enable-netif,
  host-disable-netif
- region: set bn.VlanId from netif.VlanId when attaching to network
- mcclient: include Vlan_ID in baremetalnetworks list columns
2026-02-04 11:03:27 +08:00
屈轩
82c5ab2fb1 fix(host): support skip check kernel mod (#24219) 2026-02-04 10:30:07 +08:00
屈轩
10bdd3c05d fix(region): avoid duplicate check when update account aksk (#24210) 2026-02-03 20:53:21 +08:00
Zexi Li
02370a6529 Automated cherry pick of #24194: Fix(llm): some mistakes, use CmpId & InstantModelId insteadof SvrId & ModelId (#24206)
* fix(llm): some mistakes

* fix(llm): use CmpId instead of SvrId

* fix(llm): instant_model use id instead of modelId

---------

Co-authored-by: cwz <cwz_eikoh@163.com>
2026-02-03 16:46:17 +08:00
Zexi Li
24012af0d7 fix(monitor): comparator string (#24203) 2026-02-03 12:01:48 +08:00
屈轩
fd12d54130 fix(region): init snapshot policy disk table (#24199) 2026-02-02 20:38:34 +08:00
wanyaoqi
aa4cfa6688 fix(host): guestnetworksync do nothing on detach vfio nic (#24179) 2026-02-02 20:18:21 +08:00
Jian Qiu
1d58d47425 fix: allow guestnetwork ip4 addr field nullable (#24192)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-02-02 20:15:45 +08:00
Zexi Li
bdc91273e1 feat(monitor): add the registered model manger function (#24196) 2026-02-02 17:51:24 +08:00
屈轩
f3f21962ab fix(climc): sku create support arch (#24187) 2026-02-02 14:17:14 +08:00
屈轩
c7cdb0297a fix(notify): support webhook sign (#24181) 2026-02-02 12:53:50 +08:00
wanyaoqi
0d58a6228a Automated cherry pick of #24126: feat(region,host): riscv64 cpu arch support (#24175)
* feat(region,host): riscv64 cpu arch support

* fix(region,host): compatible riscv64

* fix(host): add qemu v10.0.7 support
2026-02-01 20:28:32 +08:00
wanyaoqi
348fcdfca9 fix(host): live migrate add timeout (#24163) 2026-02-01 20:24:31 +08:00
wanyaoqi
83814d3c84 fix(region): server add set network num queues (#24167) 2026-02-01 20:12:56 +08:00
wanyaoqi
4b4ee6aa64 fix(glance): set glance s3 bucket name default onecloud-images (#24172) 2026-02-01 20:10:27 +08:00
屈轩
2f91466ab4 fix(region): defer ctx cancel (#24155) 2026-01-30 19:11:45 +08:00
cwz_eikoh
2d99794806 Automated cherry pick of #24149: Fix(llm): fix bugs & apikey encrypt & support history for mcp-agent-chat & delete modelname in llmSku (#24151)
* fix(llm): mcp-agent apiKey encrypt

* fix(llm): error-handle when instant-model import

* feature(llm): add get-available-network for llm

* feature(llm): support history for mcp-agent-chat

* fix(llm): llm create with net instead of networktype & networkid

* fix(llm): delete modelName in llmSku & fix some bugs
2026-01-29 10:58:41 +08:00
wanyaoqi
15318ac0ea fix(region): have agent add check is telegraf deployed (#24147) 2026-01-29 10:34:38 +08:00
屈轩
1786b05c3a fix(region): billing resource create time (#24141) 2026-01-28 19:59:53 +08:00
屈轩
75d2af1a6a fix(glance): support prob iso image (#24134) 2026-01-28 15:29:03 +08:00
Zexi Li
0bb65d75e5 fix(llm): add community-registry api (#24132) 2026-01-28 14:31:05 +08:00
Jian Qiu
81a336ea41 fix: skip baremetal-agent riscv64 (#24124)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-01-24 20:32:28 +08:00
屈轩
0c9d242f34 fix(region): vendor update (#24119) 2026-01-23 17:03:37 +08:00
屈轩
db2932e20c fix(region): cloudpods container sync (#24114) 2026-01-21 15:35:16 +08:00
Jian Qiu
2d4a3da562 fix: update vendor 4.0.2 20260121 (#24110)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-01-21 13:57:24 +08:00
Jian Qiu
0cbdf68df3 fix: notify receiver update precedure recode (#24100)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-01-20 00:16:06 +08:00
wanyaoqi
28bbdd3061 fix(host): ensure scsi pci addr on add scsi disk (#24097) 2026-01-19 20:16:30 +08:00
cwz_eikoh
8c20fb7e3d Automated cherry pick of #23906: feature(llm): adapt frontend (#24095)
* feature(llm): add llm-list details, add autostart for llm-save-instant-model

* fix(llm): adjust some interfaces

* fix: name-dup problem when create llm

* fix: install instant-model by id rather than modelID

* fix(llm): add llm_id for mcp-agent

* feature(llm): move network from sku to instance

* feature(llm): add LLMType for llm-image

* feature(llm): add gpuMemoryRequired & ollama-registry yaml

* feature(llm): add url-get interface

* feature(llm): support mcp in mcp-agent-chat

* fix(llm): abstract ollama registry
2026-01-19 18:06:18 +08:00
屈轩
5904eaf042 fix(region): vendor update (#24092) 2026-01-19 14:21:46 +08:00
Jian Qiu
378177ad2f fix: user filter revisit (#24089)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-01-19 10:51:20 +08:00
Zexi Li
86a6a816af fix(telegraf-raid-plugin): working for victoria metrics (#24085) 2026-01-15 17:20:39 +08:00
Jian Qiu
a321c89e5f fix: detailed apigateway auth failure log (#24077)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-01-15 10:13:28 +08:00
Zexi Li
dd76886d51 fix(host): compatible with telegraf 1.36 and add ipmi_sensor conf (#24082)
* fix(host): compatible with telegraf 1.36 and add ipmi_sensor conf

* feat(monitor): add ipmi_sensor metric
2026-01-15 10:06:58 +08:00
屈轩
29809ce265 fix(region): vendor update (#24080) 2026-01-14 14:05:28 +08:00
屈轩
eb33cdbe4a fix(glance): avoid context warnning (#24074) 2026-01-14 10:54:52 +08:00
屈轩
cfde0396c3 fix(region): avoid panic when update user resource (#24071) 2026-01-13 18:20:57 +08:00
屈轩
a640fb3d60 fix(common): skip octet-stream warnning (#24068) 2026-01-13 18:20:35 +08:00
Zexi Li
f1f66fbed1 feat(monitor): delta reducer (#24063) 2026-01-12 17:27:32 +08:00
屈轩
35649ce641 fix(region): remove useless mod (#24061) 2026-01-12 14:12:19 +08:00
cwz_eikoh
0ff02020e7 Automated cherry pick of #24025: feature(llm): add mcp-agent (#24026)
* feature(llm): add mcp-agent

* feature(llm): support openai in llm_client

* feature(llm): chat-stream demo
2026-01-12 10:46:06 +08:00
屈轩
e1e91c0248 fix(region): host schedtag sync (#24056) 2026-01-11 18:33:44 +08:00
屈轩
f9c73f53c3 fix(region): allow batch resize disk (#24050) 2026-01-09 14:04:52 +08:00
Zexi Li
7bd4869998 fix(monitor): top query of monitor_resource_alert (#24052) 2026-01-09 12:10:17 +08:00
屈轩
97becd57ba fix(monitor): optimized common alert list (#24043) 2026-01-09 10:09:53 +08:00
wanyaoqi
399bfcb2e2 fix(host): add query id on detect qemu machine info (#24046) 2026-01-09 08:24:42 +08:00
屈轩
3eba59982c fix(monitor): optimized monitor resource list (#24039) 2026-01-08 15:23:28 +08:00
屈轩
5e50483cbc fix(region): support order by snapshot (#24036) 2026-01-08 11:14:00 +08:00
Zexi Li
317497d6c2 fix(monitor): resource id deduplication of alert record (#24032) 2026-01-07 11:15:51 +08:00
屈轩
e7dee4e9a0 fix(monitor): show alert count (#24028) 2026-01-07 10:03:13 +08:00
Zexi Li
2a82c99942 feat(host): mount post overlay layers by shortest path order (#24012)
* fix(host): mount and umount order for post overlay

- support host_lower_map for post overlay image

* feat(host): tar dirs of pod with include patterns
2026-01-06 20:02:58 +08:00
Zexi Li
35b17d1d7c fix(monitor): fill resource ids of the cloud account (#24029) 2026-01-06 19:44:18 +08:00
wanyaoqi
518f81ba69 fix(region): guest batch create isolated devices add host lock (#24013) 2026-01-06 18:10:49 +08:00
Jian Qiu
8fb0236de5 fix: endpoint mode slave (#24023)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-01-06 18:05:27 +08:00
屈轩
c1cd91e01c fix(region): show pretty error (#24021) 2026-01-06 10:29:39 +08:00
屈轩
27500ca14e fix(cloudmon): optimized account balance metric collect (#24011) 2025-12-30 19:56:59 +08:00
屈轩
ec0d44e1bc fix(region): add billing resource check (#24008) 2025-12-30 18:47:27 +08:00
cwz_eikoh
0137096ba8 feature(mcp-server): add InitAuth & userCred (#24006) 2025-12-30 10:36:53 +08:00
wanyaoqi
6c66130f16 fix(region,host,host-deployer): add win11 tpm support (#23951) 2025-12-29 11:18:46 +08:00
wanyaoqi
cb155ebcbb fix(scheduler): correct mem_free = (mem_total - mem_reserved) * mem_cmtbound (#23983) 2025-12-29 11:17:38 +08:00
wanyaoqi
89c836518b fix(climc): host set memory commit bound incorrect params (#23974) 2025-12-29 11:02:19 +08:00
wanyaoqi
62ab0616ff fix(glance): image disk_format use String2ImageFormat (#23990) 2025-12-29 11:01:01 +08:00
Jian Qiu
572d83f146 fix: change OutOfResource http status code to 507 (#23987)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-12-29 10:59:10 +08:00
屈轩
e2bd696ac6 fix(monitor): alert filter by owner (#24001) 2025-12-29 10:15:45 +08:00
屈轩
faeb5685be fix(region): show host cpu and mem usage (#23998) 2025-12-25 21:58:00 +08:00
屈轩
49088da817 fix(region): ksyun create vm params (#23996) 2025-12-25 10:32:40 +08:00
屈轩
dd5dc038cd fix(region): vendor update (#23994) 2025-12-24 19:45:10 +08:00
屈轩
b8e70e1142 fix(region): update private cloud host cpu and mem usage by cloudmon (#23984) 2025-12-24 19:21:21 +08:00
Zexi Li
29dc02f484 fix(host): make disk mount point shared for unshared post overlay (#23980) 2025-12-24 15:33:31 +08:00
屈轩
4dd9e26225 fix(region): show guest nic index (#23958) 2025-12-24 11:33:36 +08:00
Zexi Li
17882cca3f fix(host): quote include paths when before executing tar (#23969) 2025-12-23 18:11:57 +08:00
Jian Qiu
d0383ff1ab feature: assume user login support (#23963)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-12-23 13:54:23 +08:00
Zexi Li
3293def16a feat(host): add debug info when restoring backup to disk (#23962) 2025-12-23 12:02:49 +08:00
wanyaoqi
e20f46f7ed Automated cherry pick of #23930: Automated cherry pick of #23725: feat(baremetal-agent): Linux PCIE disk support mdadm soft raid (#23931)
* feat(baremetal-agent): Linux PCIE disk support mdadm soft raid

* fix(baremeta-agent): soft raid support intel imsm

* fix: update baremetal-agent base
2025-12-22 13:29:25 +08:00
wanyaoqi
a8e8641c75 fix(scheduler,host): sort numa node by numa distance check memsize (#23922) 2025-12-22 11:43:51 +08:00
wanyaoqi
2085d9dfa5 fix(region): guest usage by arch (#23955) 2025-12-22 11:42:48 +08:00
Jian Qiu
2c45df0895 fix: host compat with ovs in container (#23945)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-12-22 11:41:01 +08:00
Jian Qiu
5a15d84685 fix: host flush addrs instead of reset interface (#23948)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-12-18 01:14:39 +08:00
屈轩
3e49aac8f6 fix(region): cloudpods pod (#23946) 2025-12-17 16:29:00 +08:00
cwz_eikoh
09b5ecbce0 Automated cherry pick of #23928: feature(llm): add llm-instant-model-import (#23929)
* feature(llm): add llm-instant-model-import

* fix(llm): can't delete llm while deploy faile

* feature(llm): add instant-model-import to instant-model-create
2025-12-17 13:34:07 +08:00
屈轩
8554c93b0f fix(region): disable sync schedtags (#23942) 2025-12-16 20:40:55 +08:00
屈轩
6b6147777c fix(region): disable cloudpods auto create project (#23937) 2025-12-15 15:51:38 +08:00
屈轩
ddcd72716c fix(region): add provider info for sync log (#23932) 2025-12-15 13:47:19 +08:00
Zexi Li
67d743296d fix(monitor): meter alert panic (#23920) 2025-12-12 10:20:13 +08:00
屈轩
4fbe43192d fix(region): aliyun system disk size (#23926) 2025-12-12 10:19:34 +08:00
Jian Qiu
16f15ac0fc fix: backup storage edit external url (#23916)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-12-09 19:43:54 +08:00
Jian Qiu
eca000b52e fix: splitable not function due to empty datefield (#23908)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-12-09 13:34:26 +08:00
屈轩
3a2ab9e73d fix(region): vendor update (#23904) 2025-12-07 16:00:55 +08:00
屈轩
7a5a2c549a fix(region): baidu storage info (#23902) 2025-12-05 16:20:46 +08:00
cwz_eikoh
9ac509e55b Automated cherry pick of #23898: Feature/pre quick model (#23899)
* feat: add preinstall for quick-models

* fix: drop error when duplicate blobs
2025-12-05 10:33:55 +08:00
Zexi Li
4ca1fbfda5 fix(host): ensure a single file dir when mounting (#23896) 2025-12-04 13:54:08 +08:00
cwz_eikoh
80287d6b4d Automated cherry pick of #23769: [Feature] llm model 使用 post_overlay 功能实现秒装挂载模型 (#23888)
* feat(llm): add probed-package

* feat(llm): add llm-save-instant-app

* feat(llm): add some llm-instant-app options

* fix(llm): change app to model

* fix(llm): rename origin model to sku

* feat(llm): add llm-quick-models

* fix(llm): saved paths for instant model

* fix(llm): fix quick-install-model

---------

Co-authored-by: Zexi Li <zexi.li@icloud.com>
2025-12-03 16:27:19 +08:00
Zexi Li
7015962121 fix(monitor): filter baremetal host for no data query (#23893) 2025-12-03 16:24:35 +08:00
Zexi Li
1a87bb18c9 fix(apigateway): load llm (#23886) 2025-12-03 16:21:04 +08:00
屈轩
af85cca1d6 fix(region): optimized backend sync (#23890) 2025-12-03 15:14:17 +08:00
屈轩
8d9740f149 fix(region): aliyun vnc addr (#23884) 2025-12-03 14:04:16 +08:00
Zexi Li
2dd1d6fc26 fix(host): remove empty files used bind mount (#23881) 2025-12-02 19:34:00 +08:00
wanyaoqi
ce338f180a fix(host,host-deployer): host-deployer add password quality check (#23875) 2025-12-02 17:02:34 +08:00
Zexi Li
6869eca040 feat(monitor): 支持指定过去时间段返回报警资源最多的top5监控策略 (#23878)
* feat(monitor): 支持指定过去时间段返回报警资源最多的top5监控策略

* feat(monitor): 支持指定过去时间段返回报警数量最多的top5资源

* feat(monitor): 支持指定过去时间段某监控策略下各监控指标报警资源最多的top5资源

* feat(monitor): 支持获取过去时间段各项目下报警资源数量
2025-12-02 15:47:54 +08:00
屈轩
4666b00bda fix: update host-deploy base image (#23871) 2025-12-01 11:41:13 +08:00
屈轩
154673e6a3 fix(region): vendor update (#23868) 2025-11-30 17:22:22 +08:00
Zexi Li
0cd633046f fix(monitor): filter alertrecords by alert_name and res_name (#23864) 2025-11-28 18:58:24 +08:00
屈轩
f0980d7817 fix(region): vendor update (#23859) 2025-11-27 20:35:44 +08:00
wanyaoqi
2b0a7ac265 Automated cherry pick of #23846: Fix/host misc fix (#23847)
* fix(host): host register return wrong error value

* fix(host): host handlers use gotypes check ret value is nil
2025-11-27 19:19:31 +08:00
Zexi Li
79166f9aaa fix(monitor): alert shield is not working (#23861) 2025-11-27 19:18:37 +08:00
屈轩
0ec78aaa8a fix(keystone): change token AuditIds width (#23851) 2025-11-27 17:19:37 +08:00
Zexi Li
8622137834 fix(monitor): threshold_range message (#23855) 2025-11-27 16:47:24 +08:00
Zexi Li
4a7b6af08a feat(monitor): support threashold range (#23849) 2025-11-27 14:59:55 +08:00
Zexi Li
41ba24f4b5 feat(climc): support --ouput option for pprof command (#23840) 2025-11-27 14:18:35 +08:00
屈轩
11dc0d46a2 fix(region): vendor update (#23844) 2025-11-26 16:57:01 +08:00
Jian Qiu
fbdf305ff5 fix: generic guest delete task (#23837)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-26 01:01:11 +08:00
wanyaoqi
2d30cb862f fix(region,host): perform screendump no save to s3 (#23827) 2025-11-26 01:00:38 +08:00
wanyaoqi
c712a848a5 fix(region): disk take snapshot check backing snapshot is merged (#23833) 2025-11-26 00:59:14 +08:00
屈轩
01c97c0df6 fix(region): support vmware resource pool (#23829) 2025-11-25 19:07:32 +08:00
Zexi Li
c3f9b88faa feat(monitor): get records of monitor_resource_alert (#23822) 2025-11-24 21:34:20 +08:00
屈轩
a49e7437bd fix(region): vendor update (#23820) 2025-11-24 14:20:51 +08:00
Jian Qiu
491cde2257 fix: validate policy role delete condition (#23813)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-21 12:04:20 +08:00
Zexi Li
b28bdf43e4 fix(monitor): alerting level (#23800) 2025-11-21 10:26:41 +08:00
Jian Qiu
4afbf46da1 fix: region-dns not support dameng dialect (#23805)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-21 09:55:20 +08:00
屈轩
6a0c361ea3 fix(region): snapshot policy resource purge (#23807) 2025-11-20 23:42:22 +08:00
Zexi Li
80b5a7c04a fix(monitor): title of notification by language context (#23788) 2025-11-20 20:11:34 +08:00
屈轩
729a523260 fix(monitor): avoid panic (#23795) 2025-11-20 18:43:12 +08:00
屈轩
3e7c73677e fix(host): format sLsusbTree field content json tag (#23791)
Co-authored-by: 云原生驿站 <33771248+CloudCourierStation@users.noreply.github.com>
2025-11-20 18:26:16 +08:00
Zexi Li
f12c22e7b6 fix(monitor): check if LastSendNotification is zero (#23781) 2025-11-20 18:03:45 +08:00
屈轩
2fee1b6aea fix(region): migrate snapshot policy resource (#23789) 2025-11-20 17:38:15 +08:00
屈轩
32d4820a63 fix(cloudmon): account balance metric with tenant_id (#23785) 2025-11-20 14:22:28 +08:00
屈轩
15c7a825bf fix(cloudmon): avoid undetected new resources (#23778) 2025-11-20 10:48:36 +08:00
Zexi Li
985995c684 fix(baremetal-agent): msdos typo in grub configuration (#23775) 2025-11-20 10:39:09 +08:00
屈轩
52f2d801c1 fix: support build rpm/deb of riscv64 (#23771)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-19 17:39:54 +08:00
屈轩
a0f9484770 fix: support risc-v (#23770) 2025-11-19 17:20:26 +08:00
Jian Qiu
19b0997ab6 fix: diskbackup fail to syncstatus on offline backend (#23765)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-19 10:48:51 +08:00
Jian Qiu
6274e21053 fix: export/import disk backup (#23760)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-18 23:49:39 +08:00
Zexi Li
3ba6c1b3ff fix(host): use directory of single file as post_overlay lower (#23756) 2025-11-18 16:34:48 +08:00
Zexi Li
9099f682fb feat(monitor): set alert_channel to metata (#23754) 2025-11-18 12:52:37 +08:00
屈轩
a0d28c214f fix(region): esxi vm folder (#23752) 2025-11-17 18:14:02 +08:00
屈轩
fccf389a53 fix(region): server sku create status (#23749) 2025-11-17 17:01:08 +08:00
wanyaoqi
8a68f5d7d4 feat(region,host): host dmesg collect (#23746) 2025-11-17 15:44:42 +08:00
Jian Qiu
51fddda1bd fix: filter schedtags by zones (#23743)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-15 18:30:33 +08:00
Jian Qiu
65e0f4414e feature: user expired_at attribute support (#23727)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-14 10:53:39 +08:00
Zexi Li
c33dc74019 feat(cloudcommon): add ExtraHook steps to joint model (#23722) 2025-11-14 10:50:39 +08:00
wanyaoqi
705fe7a5d9 fix(host): thrown errors on disk fromatfs (#23729) 2025-11-14 10:40:49 +08:00
Zexi Li
91617dc81b fix(host): SHostPingTask was stuck by calling docker command (#23732) 2025-11-13 20:18:55 +08:00
屈轩
f668f496dc fix(region): scope resource (#23736) 2025-11-13 14:43:45 +08:00
屈轩
69831485a3 feat: Cloudpods basic service image RISC-V support (#23724)
This patch enables cloudpos basic service image to be built on RISC-V
platforms and support build script to work on RISC-V platforms.

Signed-off-by: Jinyu Zhao <1813479822@qq.com>
Co-authored-by: Jinyu Zhao <1813479822@qq.com>
2025-11-12 11:44:05 +08:00
cwz_eikoh
8d4595be87 fix(region): add kvm_delete_task (#23698) 2025-11-11 16:32:33 +08:00
wanyaoqi
fcb72e304b fix(region,scheduler): check is BIOS boot request on uefi predicate (#23718) 2025-11-11 13:45:18 +08:00
Zexi Li
30b7deb9f5 fix(baremetal): power status of server is not synced (#23687) 2025-11-10 09:56:29 +08:00
Jian Qiu
a191da0a77 fix: log change bandwidth event (#23713)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-10 09:48:40 +08:00
Jian Qiu
dfbd89c9db fix: vm nic charge type support (#23703)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-07 10:53:04 +08:00
cwz_eikoh
f53caeb6d1 fix(region): add finish for DependencyTopoGraph (#23710) 2025-11-07 10:20:31 +08:00
cwz_eikoh
bf4f1755c8 fix(llm): don't rely on polling (#23709) 2025-11-07 10:19:37 +08:00
Zexi Li
9bb6e3eb1b fix(host): clear previous usage metrics when any container stopped of pod (#23704) 2025-11-06 20:55:43 +08:00
屈轩
33938c6c01 fix(torrent): vendor update for support risc-v (#23701) 2025-11-06 20:21:14 +08:00
屈轩
4f1bb2a871 fix(region): allow delete server sku (#23694) 2025-11-05 18:20:20 +08:00
屈轩
7abcd04f16 fix(region): add device for disk (#23691) 2025-11-05 16:23:29 +08:00
屈轩
2cae726280 fix(scheduler): sku predicate with empty zone id (#23685) 2025-11-04 20:56:34 +08:00
Zexi Li
16aa081789 fix(baremetal-agent): chose root disk by pci path (#23681) 2025-11-04 20:09:39 +08:00
Jian Qiu
45de538d15 fix: rename check when change project (#23677)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-04 16:08:09 +08:00
cwz_eikoh
a05b793b81 feat(region): pod containers start in dependency order (#23669) 2025-11-04 10:38:33 +08:00
屈轩
7df775f07c fix(region): optimized aws server sku sync (#23674) 2025-11-03 22:32:17 +08:00
屈轩
ec3c9f3a20 fix(region): metadata filter by value (#23671) 2025-11-03 19:24:33 +08:00
Zexi Li
e2e79cd7cc fix(host): upload container status when not created (#23666) 2025-11-03 15:53:44 +08:00
屈轩
68675541ff fix(region): optimzed server sku sync (#23663) 2025-11-03 15:13:45 +08:00
屈轩
9ee0e83747 fix(region): disk filter by server (#23659) 2025-11-01 13:32:27 +08:00
屈轩
4068843773 fix(region): optimized filter sku by zone (#23656) 2025-11-01 13:04:49 +08:00
屈轩
c4b719628b fix(region): vendor update (#23653) 2025-11-01 13:03:59 +08:00
cwz_eikoh
66afa2f141 Automated cherry pick of #23620: feat(llm): add network id and network type for llm-model (#23621)
* feat(llm): add network id and network type for llm-model

* fix(llm):portmapping of model network only works when network mode is hostlocal
2025-10-31 10:21:51 +08:00
Zexi Li
51bdf0c655 Automated cherry pick of #23642: fix(scheduler): enable profiling (#23647)
* fix(scheduler): enable profiling

* feat(scheduler): cache NetworkAdditionalWire
2025-10-31 10:19:50 +08:00
屈轩
5fc5c5b330 fix(region): sku cpu mem sync (#23649) 2025-10-30 22:33:39 +08:00
屈轩
1c61483bc1 fix(region): filter disks by server list (#23644) 2025-10-30 17:24:41 +08:00
屈轩
79c45568c7 fix(region): vendor update (#23639) 2025-10-30 10:06:23 +08:00
Zexi Li
002b37f6a1 fix(host): move the hostInstance.Init() step after InitAuth (#23624) 2025-10-29 14:00:33 +08:00
Jian Qiu
6a18b70168 fix: task remote notify (#23627)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-10-29 12:17:27 +08:00
屈轩
bbf0991bb3 fix(cmd): show mcp server update cmd (#23629) 2025-10-28 18:35:01 +08:00
屈轩
1052eb4451 fix(mcp): add dockerfile for mcp server (#23619) 2025-10-28 15:23:20 +08:00
屈轩
07ce88c828 fix(mcp): cherry pick 4.0 (#23617) 2025-10-28 15:22:48 +08:00
屈轩
29585a8af6 fix(region): set ksyun tag (#23611) 2025-10-24 22:54:09 +08:00
Zexi Li
06258859d8 chore(ci): turn off goimports-check rule (#23606) 2025-10-24 15:48:44 +08:00
Zexi Li
2bbd1f792c Automated cherry pick of #23282: [OSPP]feature: Auto deploy llm and dify (#23601)
* feat(llm): add llm-create

* fix(llm): fix llm-create, add llm-list & llm-show

* fix(llm): format file names

* fear(llm): add exec stream

* fear(llm): init llm model cache

* fix(llm): move llm model cache to LocalImageCache

* feat(llm): auto clean model cache

* fix(llm): auto clean tmp model cache

* feat(dify): init dify-create

* fix(dify): change dify default registry

* feat: support create model with gguf file

* feat(llm): support more modelfile option for gguf file

* feat(dify): init user customize dify parameters

* feat: update llm as a service in climc

* fix: delete llm from region service

* feat: init llm service (with error)

* fix: resolve errors (task cant callback yet)

* feat: add PerformRequestHostActionByOtherService for container

* fix: make llm service usable

* feat: delete llm and dify after guest deleted

* feat(llm): add llm-image

* feat(llm): add llm-model

* feat: mv old llm to ollama

* feat(llm): init llm-batch-create(can not run)

* fix(llm): make llm-create usable

* fix(llm): add pull-model step

* feat(llm): add list and delete

* fix(llm): ollama pull official model don't rely on host & region's code any more

* feat(llm): add dify-model

* fix: remove llm's code in host & compute

* fix: remove remain code in compute

* feat(llm): Abstract out and reuse the llm_model logic

* feat(llm): abstract llm_base from llm

* fix(llm): make dify usable

* feat(llm): add sync_dify_images.sh

* fix(llm): format import

* feat(llm): support start & stop for llm and dify

* feat(llm): add model-update

* fix(llm): gendocgo

---------

Co-authored-by: cwz <cwz_eikoh@163.com>
2025-10-24 13:29:40 +08:00
Jian Qiu
56b41893ec fix: rpm/deb support postinst/preinst/prerm/postrm hooks (#23596)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-10-23 01:03:18 +08:00
Jian Qiu
cb0729f672 fix: suport bulding multi-arch rpm deb (#23570)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-10-22 23:53:16 +08:00
屈轩
e6ec61cab1 fix(keystone): fetch domain user count (#23591) 2025-10-22 16:25:54 +08:00
wanyaoqi
35e34f019a fix(region,host,scheduler): add check kvm cpu max on cpu predicate (#23538) 2025-10-22 15:07:22 +08:00
Zexi Li
b352d0cc92 feat(region,host): support nvidia GPU CDI configuration (#23566) 2025-10-22 15:04:08 +08:00
cwz_eikoh
56e938ee2e feat(container): container-restart (#23588) 2025-10-22 14:59:49 +08:00
屈轩
a9649db617 fix(region): support ocean base (#23587) 2025-10-22 14:43:32 +08:00
屈轩
b1ef423c2a fix(region): disable cloudprovider when sync lost (#23582) 2025-10-22 11:30:23 +08:00
屈轩
8da753833d fix(region): vendor update (#23579) 2025-10-22 11:12:17 +08:00
Zexi Li
16b3d220f4 feat(region): allow containers to be created with auto_start param (#23572) 2025-10-21 17:20:52 +08:00
屈轩
dc5884b361 fix(region): adjust the ip_addr character length (#23563) 2025-10-21 10:45:11 +08:00
Jian Qiu
77c471322a fix: container memory.high ratio support (#23558)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-10-21 09:32:57 +08:00
屈轩
584b3291cd fix(glance): add notify for image create (#23553) 2025-10-16 14:30:48 +08:00
wanyaoqi
f5a6465629 fix(webconsole): baremteasl ipmi sol instance_name hide password (#23533) 2025-10-16 00:02:42 +08:00
wanyaoqi
de05e8cc4a fix(host): host probe isoalted device return jsonarray (#23544) 2025-10-16 00:01:36 +08:00
屈轩
a839607802 fix(region): valid essd pl0 disk resize (#23546) 2025-10-15 17:25:06 +08:00
屈轩
6251e28e52 fix(region): vendor update (#23540) 2025-10-15 10:57:52 +08:00
屈轩
3591e9a15f fix(region): support change storage type (#23530) 2025-10-14 16:59:21 +08:00
屈轩
84e8b83aab fix(region): healt status (#23525) 2025-10-13 18:51:04 +08:00
屈轩
cd3190d80f fix(keystone): distribute permissions when the organization changes (#23502) 2025-10-13 18:49:45 +08:00
屈轩
b60346b97f fix(region): private zone create status (#23521) 2025-10-13 18:05:27 +08:00
wanyaoqi
d3c64b8054 fix(host): ensure host wire marshal nil value (#23507) 2025-10-12 11:04:35 +08:00
屈轩
914c1a1971 fix(region): server sku create with region id (#23509) 2025-10-11 16:54:47 +08:00
wanyaoqi
13ce2252ce fix(region,glance,host-deployer): guest image support bios boot mode detect (#23375) 2025-10-11 10:20:54 +08:00
Zexi Li
3bdfb00850 fix(baremetal): ensure the execution of the BaremetalServerDestroyTask (#23497) 2025-10-09 17:07:35 +08:00
Jian Qiu
bc7cc1ad07 fix: ignore e2fsck errors if retcode < 4 (#23489)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-10-09 16:31:40 +08:00
wanyaoqi
dd7602e628 fix(host): disk resize error input params (#23493) 2025-10-09 13:27:44 +08:00
Jian Qiu
7fe4ac72fe fix: network manager keyfile static routes (#23480)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-10-08 13:18:34 +08:00
Jian Qiu
55e586121d fix: support network manager connection profiles (#23468)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-10-03 09:25:14 +08:00
Jian Qiu
144ee48cec fix: default cloud region init error (#23475)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-10-03 06:34:24 +08:00
屈轩
b3a3d170e2 fix(region): vendor update (#23459) 2025-09-30 15:09:43 +08:00
屈轩
ebdcabe330 fix(region): host order by virt cpu (#23457) 2025-09-30 13:19:16 +08:00
Jian Qiu
e504d0d4e3 fix: hostman master nic may be nil (#23450)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-30 11:18:23 +08:00
Jian Qiu
00ee68c716 fix: s3 common options (#23444)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-29 19:22:25 +08:00
Jian Qiu
c6bf60722b fix: disable password history unique check by default (#23438)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-29 15:47:40 +08:00
wanyaoqi
8e6e30d57f fix(region,baremetal): ipv6 baremetal register support (#23422) 2025-09-29 15:22:22 +08:00
Jian Qiu
1f31c00819 fix: backup task worker count in host configmap (#23427)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-29 15:20:38 +08:00
屈轩
a704ab1cea fix(cloudevent): options changed with etcd (#23433) 2025-09-29 12:24:15 +08:00
屈轩
b90abee236 fix(region): vendor update (#23416) 2025-09-28 18:04:03 +08:00
wanyaoqi
ee471da787 fix(host-deployer): update host-deployer-base to 1.4.11 (#23413) 2025-09-28 17:26:03 +08:00
Zexi Li
4e1d8f2a98 fix(region,host): sync server status by upload guest status api (#23408) 2025-09-28 17:24:04 +08:00
屈轩
65492d196c fix(region): vendor update (#23405) 2025-09-28 14:58:55 +08:00
wanyaoqi
af73e7e93a Automated cherry pick of #23374: fix(region,host): guest add vnc screen dump support (#23377)
* fix(host): update nic confs inside vm on qga delete nics

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

* fix(region,host): guest add vnc screen dump support

---------

Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2025-09-27 12:06:12 +08:00
wanyaoqi
59089c6792 Automated cherry pick of #23386: fix(host-deployer): allow growpart on primary partition (#23394)
* fix(host): init cgroup ignore disable cgroup option

* fix(host-deployer): allow growpart on primary partition
2025-09-27 12:02:06 +08:00
Zexi Li
9a19621da0 fix(host): unmount post overlay dir without accquire cached image (#23402) 2025-09-27 07:43:35 +08:00
屈轩
85ad508d83 fix(region): vendor update (#23398) 2025-09-26 18:05:24 +08:00
屈轩
e67f8392a7 fix(region): support cnware (#23389) 2025-09-26 14:45:37 +08:00
屈轩
c9ece3e7de fix(region): vendor update (#23383) 2025-09-26 13:53:39 +08:00
wanyaoqi
b6329b5c23 fix(host-deployer): loop dev resize diskfs umounted and f2fs support (#23358) 2025-09-24 18:52:48 +08:00
Zexi Li
b7a3ed9e27 fix(host): clear the rootfs of container before starting (#23361) 2025-09-24 18:52:06 +08:00
Jian Qiu
d591b7991b fix: network filter by ip error for dameng (#23364)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-24 18:45:07 +08:00
Jian Qiu
e05112b3f6 fix: auto cleanup obsolete password records (#23371)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-24 18:35:38 +08:00
屈轩
bef839cc7b fix(region): vendor update (#23368) 2025-09-24 17:22:23 +08:00
Zexi Li
6c7bb1a1b1 feat(region,host): clean no persistent rootfs (#23354) 2025-09-22 18:10:12 +08:00
屈轩
efe0d135b2 fix(region): add expired release notify hour options (#23351) 2025-09-22 10:58:13 +08:00
Jian Qiu
185332fa28 fix: host backup task worker limit (#23347)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-22 09:48:20 +08:00
Jian Qiu
64fa9f1675 fix: linux sshd_config support (#23342)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-20 00:39:27 +08:00
Zexi Li
60a57b1e1b fix(scheduler): watch serversku (#23328) 2025-09-19 23:49:32 +08:00
屈轩
8ac435af8e fix(region): rds backup sync (#23306) 2025-09-19 23:47:32 +08:00
wanyaoqi
c436fde002 fix(host,host-deployer): support lvm disk resize (#23334)
- add resize lvm disk support
- support qga online resize disk partitions and filesystems
2025-09-19 23:46:03 +08:00
Jian Qiu
f4bcb7ffdf fix: check os_arch when server rebuilding root (#23338)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-19 23:44:31 +08:00
屈轩
38d1d0f766 fix(region): disk reset webhook (#23326) 2025-09-18 15:08:21 +08:00
屈轩
f8001de546 fix(notify): optimized workwx access token expired time (#23323) 2025-09-18 14:55:18 +08:00
Zexi Li
bd731ca958 fix(monitor): diffTagKeys are empty when only one series in results (#23311) 2025-09-18 07:49:17 +08:00
屈轩
6c4a1a3628 fix: upgrade goimports (#23321) 2025-09-17 22:08:03 +08:00
屈轩
5387fc03f8 fix(region): remove debug sql (#23318) 2025-09-17 16:54:47 +08:00
屈轩
37c3db52b9 fix(cloudmon): alert metric with tenant id (#23315) 2025-09-17 16:40:21 +08:00
屈轩
976f0f0bf4 fix(climc): sku create params (#23301) 2025-09-15 15:33:40 +08:00
wanyaoqi
f446f86e9f fix(region): virtual isolated device balance on guest start (#23049) 2025-09-15 11:58:23 +08:00
屈轩
4428791397 fix(region): support gcp shared vpc and image (#23296) 2025-09-12 23:03:31 +08:00
Zexi Li
314fb8f08e feat(host): hide host files mounted to container (#23293) 2025-09-12 18:55:06 +08:00
屈轩
331231ce1a fix(monitor): history alert report (#23280) 2025-09-12 15:27:20 +08:00
Zexi Li
a8e4ecfa5a fix(host,region): container rootfs use sub directory (#23290) 2025-09-12 15:08:07 +08:00
Zexi Li
51bec5644e fix(monitor): fetch total alert resources from monitor_resource_alert (#23275) 2025-09-10 19:17:29 +08:00
屈轩
092a0c2239 fix(region): update cloudprovider external id (#23272) 2025-09-10 18:59:47 +08:00
Jian Qiu
82bfb4cea1 fix: ipv6 ra should be sent periodically (#23259)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-10 18:59:09 +08:00
Jian Qiu
e35ca851a7 fix: image self check status (#23250)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-10 18:57:27 +08:00
屈轩
aba6378177 fix(region): support hyperdisk for gcp (#23269) 2025-09-10 15:34:34 +08:00
Zexi Li
abda8b0400 fix(climc): monitor-alertrecords-total-alert command (#23266) 2025-09-10 14:24:52 +08:00
屈轩
606112ea44 fix(region): sync cloudpods ipmi ip addr (#23264) 2025-09-09 20:52:56 +08:00
屈轩
aca997796d fix(region): cloudpods ipmi info sync (#23262) 2025-09-09 19:27:52 +08:00
屈轩
df7d2d3d80 fix(region): sync cloudpods baremetal isolated device (#23257) 2025-09-09 18:40:38 +08:00
屈轩
42fb3e1327 fix(region): sync cloudpods host storage info (#23255) 2025-09-09 16:00:02 +08:00
屈轩
031e54b81e fix(region): retention server by tag (#23248) 2025-09-08 17:59:59 +08:00
屈轩
f990fe0ba3 fix(region): support retention server by tags (#23246) 2025-09-08 16:27:31 +08:00
屈轩
28dff24e44 fix(region): support retention server by tag (#23244) 2025-09-08 15:45:34 +08:00
屈轩
932e12ae87 fix: upgrade go 1.24 (#23242) 2025-09-05 18:26:42 +08:00
屈轩
7e60f49d4a fix(region): snapshot policy unbind disks (#23239) 2025-09-04 16:57:58 +08:00
屈轩
cbe77a29e2 fix(region): sync prepaid disk expired time (#23236) 2025-09-04 16:47:09 +08:00
屈轩
9ea05affbf fix(region): add disk change billing type log (#23232) 2025-09-03 20:16:38 +08:00
屈轩
56825a3cd9 fix(region): add kafka and mongodb capability (#23229) 2025-09-03 19:44:34 +08:00
屈轩
0e04ce4371 fix(region): distinct cloudprovider fields (#23227) 2025-09-03 15:03:18 +08:00
wanyaoqi
fe36e13dc7 fix(host): live migrate compat ipv6 (#23214) 2025-09-03 05:49:54 +08:00
Jian Qiu
fdf9195e8c fix: fail to delete cas idp due to readonly domain (#23217)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-03 05:48:43 +08:00
Jian Qiu
f72104ce60 fix: image s3 direct download option (#23220)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-03 05:47:32 +08:00
Jian Qiu
73ddbd4048 fix: network filter by ipv6 address (#23223)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-03 05:46:44 +08:00
屈轩
2f474ff911 fix(region): support more scheme keypair (#23196) 2025-09-02 14:45:03 +08:00
Zexi Li
3edd8dd65b feat(host): add SdnFetchDataFromComputeService option (#23207) 2025-09-01 23:15:40 +08:00
屈轩
cbf4310cab fix(region): avoid change to the same config sku not effective (#23203) 2025-09-01 11:43:01 +08:00
Jian Qiu
f2d77ad487 fix: too many recursive locks when batch create (#23198)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-29 23:08:07 +08:00
wanyaoqi
f491efc498 fix(host): update nic desc on nic changed (#23180) 2025-08-28 10:07:18 +08:00
wanyaoqi
bd719d99c0 feat(region,hostdeployer): add f2fs feature support (#23183) 2025-08-28 10:05:51 +08:00
屈轩
9f037c1baf fix(region): add cloud_env filter for cachedimages (#23191) 2025-08-27 18:34:36 +08:00
Jian Qiu
9b6a13037c fix: guest ipv6 vip (#23187)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-27 18:07:44 +08:00
Jian Qiu
3b6949fe78 fix: dhcpv6 should nack confirm if addr changed (#23169)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-26 15:35:31 +08:00
wanyaoqi
023309c1cf fix(region,host): ipv6 change addr (#23171) 2025-08-26 15:34:27 +08:00
屈轩
7bfdae3c45 fix(keystone): show ldap url (#23174) 2025-08-26 14:28:39 +08:00
屈轩
6ea9447a92 fix(keystone): upgrade ldap version (#23166) 2025-08-26 13:28:40 +08:00
Jian Qiu
cef3b9effb fix: deploy gai.conf if both v4 and v6 present (#23161)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-25 18:19:27 +08:00
Zexi Li
e30d669d19 feat(host): support single file to use post overlay (#23159) 2025-08-25 11:48:01 +08:00
屈轩
38872edae2 fix(region): optimized cached image list (#23154) 2025-08-22 15:43:23 +08:00
wanyaoqi
cff38d74ec feat(region,host,host-deployer): f2fs filesystem support (#23118) 2025-08-22 09:06:31 +08:00
wanyaoqi
f1f01ea823 fix(host): run ifdown script on guest delete (#23102) 2025-08-22 09:03:54 +08:00
Zexi Li
66587b4e52 fix(region): update the image status to save_fail when OnImageSavedFailed (#23140) 2025-08-21 18:12:24 +08:00
wanyaoqi
206a4b5b19 fix(scheduler): add session usage timeout options (#23143) 2025-08-21 18:10:51 +08:00
屈轩
90f479bafc fix(region): dns zone registrar charset (#23150) 2025-08-21 11:34:42 +08:00
屈轩
1df9c11501 fix(region): add change_config status for aigateway (#23138) 2025-08-20 17:05:34 +08:00
屈轩
79561cd8ef fix(region): avoid update guest disable_delete attribute error when host id is empty (#23135) 2025-08-20 16:21:24 +08:00
Zexi Li
435344ee1d fix(baremetal): update the grub auto configuration to fix the aarch64 disk boot (#23132) 2025-08-20 15:11:31 +08:00
屈轩
15d079f966 fix(region): sync lb eip (#23125) 2025-08-20 14:13:59 +08:00
Zexi Li
90aef7ef0c feat(region): fix ISO size display (#23128)
SGuestcdrom.Size is Byte, not MB

Co-authored-by: happygame <happygame1024@gmail.com>
2025-08-20 12:08:23 +08:00
Zexi Li
390feec8ec fix(baremetal-agent): error occurred when removing logical volumes on the arm64 host (#23122) 2025-08-20 12:00:19 +08:00
屈轩
911694c9fe fix(region): sync dns zone ns info (#23116) 2025-08-19 17:28:32 +08:00
屈轩
73199002c3 fix(region): sync eip associate resource (#23112) 2025-08-19 14:54:49 +08:00
屈轩
0dc21f1b69 fix(region): allow update vpc network cidr (#23110) 2025-08-19 14:38:53 +08:00
屈轩
f593f7f660 fix(region): add storage filter for snapshot (#23108) 2025-08-18 14:57:55 +08:00
wanyaoqi
046a6ac6cb fix(host): persistent ceph config for qemu connection (#23089) 2025-08-16 14:47:00 +08:00
Jian Qiu
7733907f9b fix: webconsole skip refererer check by default (#23092)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-16 14:45:45 +08:00
wanyaoqi
b43953fc29 fix(vpcagent): dhcp enable default gateway on default network (#23097) 2025-08-16 14:44:39 +08:00
屈轩
5f708fe816 fix(scheduledtask): force sync account (#23085) 2025-08-14 19:36:10 +08:00
Zexi Li
69056db01a fix(region): filter host by ips (#23083) 2025-08-14 18:35:28 +08:00
wanyaoqi
d48bab9ddd Automated cherry pick of #23072: fix(host): cephutil and nbd ipv6 compat (#23073)
* fix(region,host,host-image): host-image and qemu-nbd compat ipv6

* fix(host,host-deployer): cephutils add ipv6 compat
2025-08-14 18:34:44 +08:00
屈轩
d10a322aec fix(region): server snapshot policy (#23078) 2025-08-14 10:42:35 +08:00
屈轩
f694fead2e fix(region): dns record policy type (#23076) 2025-08-13 17:49:22 +08:00
屈轩
d4b04f3f2e fix(region): The eip displays the internal ip address of the virtual machine (#23068) 2025-08-12 09:59:08 +08:00
wanyaoqi
6d633b5647 feat(host): container cpufreq realtime simulate (#23051) 2025-08-11 10:24:28 +08:00
Jian Qiu
b7870e0453 fix: ipv6 compatibility issues fixes 20250809 (#23061)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-10 10:07:50 +08:00
Jian Qiu
4eb90fc442 fix: task obj_type and object nullable and default empty (#23059)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-10 08:46:59 +08:00
wanyaoqi
35093fb7a7 fix(host): lvm guest reload disk before delete snapshot (#23053) 2025-08-08 20:57:24 +08:00
Jian Qiu
9a3871014e fix: filter guest by multiple ips with exact match (#23039)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-08 17:56:10 +08:00
Zexi Li
b4e3d17178 fix(host): 修复 loop 设备被其它进程创建而导致分配失败的问题 (#23041) 2025-08-08 17:51:20 +08:00
Jian Qiu
4fa4cadb69 fix: host metrics tag add hypervisor (#23034)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-07 22:26:11 +08:00
Jian Qiu
d0ec6885d6 fix: ipv6-only mode compatibility fixes (#23031)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-06 22:02:08 +08:00
屈轩
634bdf7b90 fix(region): support lb health check sync status (#23029) 2025-08-06 17:37:44 +08:00
屈轩
117efad40d fix(region): disk update tag (#23025) 2025-08-06 15:52:11 +08:00
Jian Qiu
35aaafc09f fix: always update hostname for rhel-like os (#23017)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-06 01:06:23 +08:00
wanyaoqi
421a3e9e87 fix(region,host): host nic add default secret ipv4 address (#23015) 2025-08-02 23:07:07 +08:00
Jian Qiu
fbefeae06f fix: host network ipv6 support (#23013)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-02 12:15:07 +08:00
Zexi Li
ef04ac2dac feat(region): list gpu by index and device_minor (#23012) 2025-08-01 18:46:22 +08:00
屈轩
52d54cfc00 fix(region): support lb health check (#23009) 2025-08-01 18:38:41 +08:00
Zexi Li
33936c937c feat(region,host): upload index and minor info of a nvidia GPU (#23005) 2025-08-01 10:36:11 +08:00
Zexi Li
3b2632fb26 feat(region,host): auto create the file or dir of hostPath (#23001) 2025-07-31 14:01:06 +08:00
屈轩
412413c2f5 fix(region): cloudflare redirect pool (#22998) 2025-07-30 20:17:44 +08:00
屈轩
0970725598 fix(region): cloudflare lb backend operation (#22996) 2025-07-30 19:02:30 +08:00
屈轩
1012991176 fix(region): support cloudflare lb (#22993) 2025-07-30 14:51:48 +08:00
Jian Qiu
120725c311 fix: unify guest sync status and upload status procedure (#22983)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-30 10:38:11 +08:00
Jian Qiu
ea88b81f3f fix: inconsist checksum between image and its same format subimage (#22987)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-30 01:44:10 +08:00
wanyaoqi
c26ad31c8d fix(host,glance): only target qcow2 set cluster size on image convert (#22979) 2025-07-30 00:43:15 +08:00
Jian Qiu
4b0f3b4dd1 fix: glance converts all queued subimages, regardless of format (#22971)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-29 10:26:09 +08:00
wanyaoqi
5a3bc2acb6 fix(host): set qemuimg convert cluster_size 64k on compat image (#22965) 2025-07-29 00:01:10 +08:00
Jian Qiu
4080c2ddfb fix: set default worker parameter (#22958)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-28 14:12:18 +08:00
Jian Qiu
10a2c41d37 fix: host clean image with regards of container image deps (#22955)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-26 08:50:17 +08:00
wanyaoqi
a196b19b0c fix(region): iso boot do not check boot mode (#22950) 2025-07-26 02:26:55 +08:00
wanyaoqi
50519e9099 fix(host): host init no numa node (#22945) 2025-07-25 00:32:50 +08:00
屈轩
44c487eeb1 fix(region): init guest secgroup (#22941) 2025-07-24 17:15:56 +08:00
Zexi Li
1a7327c244 feat(host): 保存容器 volume 镜像时设置 min_disk 大小 (#22932) 2025-07-23 20:24:38 +08:00
屈轩
f5839b560e fix(region): add guest billing type for disk (#22936) 2025-07-23 18:53:48 +08:00
wanyaoqi
3e0231ae31 fix(region): ipv6 change ipaddr (#22924) 2025-07-23 09:29:18 +08:00
屈轩
003de57c91 fix(region): host order (#22927) 2025-07-22 15:20:01 +08:00
屈轩
ddb64eaf2e fix(region): vendor update (#22920) 2025-07-21 17:33:36 +08:00
屈轩
8248bcd67e fix(region): support ssl delete (#22912) 2025-07-16 19:55:21 +08:00
Jian Qiu
39a3918bb8 fix: dhcpv6 client id change by slice overwritten (#22906)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-16 16:19:27 +08:00
屈轩
47d9f2f434 fix(region): add is expired for certificate (#22908) 2025-07-16 15:36:00 +08:00
Zexi Li
5bdf4d1d30 fix(scheduler): netinterface cache is not informed (#22901) 2025-07-15 19:59:43 +08:00
Jian Qiu
3e5e6e175c fix: deploy ipv6 scripts fixes (#22900)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-15 18:59:42 +08:00
wanyaoqi
42e58b4996 feat(region,host-deployer): ipv6 only guest support (#22897) 2025-07-15 16:21:49 +08:00
wanyaoqi
a071cd2287 fix(host): check storage id is correct on src migrate prepare (#22892)
correct disk storage id on dest migrate prepare
2025-07-15 16:12:57 +08:00
屈轩
66748dbfcd fix(region): ssl create with zone info (#22889) 2025-07-14 18:32:15 +08:00
屈轩
d27c9be330 fix(region): ssl certificate create (#22887) 2025-07-14 16:06:22 +08:00
Jian Qiu
ea8f6c8221 fix: host metrics error for missing ip (#22883)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-12 18:00:46 +08:00
Jian Qiu
c6f84dfa94 fix: dhcpv6 support phase 3 (#22881)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-12 12:10:31 +08:00
屈轩
382c2bc6cd fix(region): add sort for host (#22877) 2025-07-11 19:08:59 +08:00
Zexi Li
598f68a7e9 fix(region): allow stopping the container in probe_failed status (#22873) 2025-07-11 10:42:07 +08:00
Jian Qiu
967d52f874 fix: host no default routes due to empty ipv6 addr (#22871)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-10 22:34:07 +08:00
wanyaoqi
d1dcfc9ed3 fix(region): do not set guest to resuce status on guest running (#22867) 2025-07-10 22:11:11 +08:00
屈轩
ebd7298d0d fix(region): 修复本地到期释放功能和资源同步冲突 (#22860) 2025-07-10 19:37:58 +08:00
Jian Qiu
992c5f498e fix: dhcpv6 support, phase 2 (#22852)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-09 14:41:34 +08:00
wanyaoqi
570b371290 fix(host): add check mem dev is null on guest setup (#22848) 2025-07-09 14:16:08 +08:00
屈轩
0b6a23e2fb fix(region): 避免删除虚拟机时,未能正常删除后挂载的磁盘 (#22841) 2025-07-07 14:46:10 +08:00
Zexi Li
da501a34d8 feat(host): support pod post cleanup configuration (#22839) 2025-07-04 17:12:22 +08:00
屈轩
34fd2c5ca4 fix(region): create disk with tags (#22833) 2025-07-04 17:08:05 +08:00
屈轩
afe4afe095 fix(region): vendor update (#22828) 2025-07-03 15:16:35 +08:00
屈轩
9121720e21 fix: compatible with other os netutils (#22826) 2025-07-03 15:01:44 +08:00
Jian Qiu
b527b1ad6b fix: dhcpv6 support, initial support (#22823)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-03 14:37:17 +08:00
屈轩
bdcbc15cf5 fix(region): vendor update for sync mongodb ip addr (#22817) 2025-07-03 05:33:12 +08:00
wanyaoqi
397f165d37 fix(host): set arm guest max mems to host mem (#22814) 2025-07-03 05:32:20 +08:00
wanyaoqi
f29a1d8567 fix(host): enable qemu cap detect (#22799) 2025-07-03 05:30:45 +08:00
wanyaoqi
47a9fa3505 fix(region): host calculate set mem_cmt_bound 1 on host enable hugepage (#22810) 2025-07-03 05:29:20 +08:00
wanyaoqi
7df2a43d22 fix(host): qemuimg convert add cluster_size (#22792) 2025-07-03 05:27:35 +08:00
屈轩
826f4df8f7 fix(region): vendor update (#22806) 2025-07-02 21:01:57 +08:00
屈轩
7cee63907b fix(esxi-agent): avoid esxi cache image error (#22803) 2025-07-02 19:25:32 +08:00
Zexi Li
0e50049ab1 fix(host): adjuest max loop device count to 512 (#22788) 2025-07-01 15:25:26 +08:00
屈轩
975f4ed864 fix(region): add ai gateway (#22785) 2025-06-27 22:38:21 +08:00
屈轩
5643619a7c fix(region): vendor update for cdn attribute (#22778) 2025-06-24 17:43:09 +08:00
屈轩
3e35ea56df fix(notify): support dingtalk robot sign (#22767) 2025-06-23 16:59:40 +08:00
屈轩
1ba251f053 fix(cloudmon): cloudpods collect metric interval (#22764) 2025-06-23 16:17:24 +08:00
屈轩
25d1b699c9 fix(region): vendor update for aliyun alb and nlb (#22762) 2025-06-23 10:30:26 +08:00
屈轩
19143c134a fix(region): sync remove backend group (#22759) 2025-06-20 19:38:27 +08:00
Zexi Li
27a8e098d6 feat(region,host): support port mapping rule (#22756) 2025-06-20 19:17:04 +08:00
屈轩
cb12c9fe1c fix(region): support skip sync server by tag value (#22754) 2025-06-20 18:40:35 +08:00
屈轩
fc2603ce4d fix(region): vendor update (#22750) 2025-06-20 18:12:44 +08:00
Jian Qiu
d9c5d5657e fix: task filter by owner sql revisit (#22746)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-06-20 16:06:27 +08:00
屈轩
b6b5c6041b fix(region): ssl certificate purge (#22743) 2025-06-19 17:53:10 +08:00
Jian Qiu
c1345560bb fix: use goid to identify differnt goroutine (#22740)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-06-19 14:50:47 +08:00
屈轩
8448395003 fix(region): waf rule create (#22738) 2025-06-18 20:06:16 +08:00
Zexi Li
5058f02538 Automated cherry pick of #22729: Monitor worker alert (#22730)
* fix(monitor): GetMetricMeasurement 接口只查询过去30m的数据

避免数据过多导致 victoria-metrics 报错

* fix(monitor): wildchar of alert group by field
2025-06-18 14:25:43 +08:00
屈轩
31b766a7d6 fix(region): lb listener rule associate backend group (#22734) 2025-06-18 14:15:01 +08:00
Zexi Li
650acf4ea9 fix: panic when there is no secondary IP on the host. (#22726)
Co-authored-by: glzjin <glzjin2015@gmail.com>
2025-06-17 11:15:01 +08:00
屈轩
1322a21445 fix(region): vendor update (#22725) 2025-06-16 20:07:32 +08:00
屈轩
fb26af0566 fix(region): vendor update for lb multi eip sync (#22720) 2025-06-16 17:17:27 +08:00
wanyaoqi
af0559ac35 fix(region,host): add auto merge snapshots options, preallocation options (#22713) 2025-06-13 15:19:50 +08:00
Zexi Li
72f68dd541 fix(host): dirty shutdown pod is not auto started (#22705) 2025-06-10 10:18:31 +08:00
Jian Qiu
ae09aa3c82 fix: remove cgo deps for ioctl (#22701)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-06-07 08:42:14 +08:00
屈轩
b677cef407 fix(region): vendor update (#22698) 2025-06-06 19:22:45 +08:00
屈轩
9ae9879c56 fix(region): enable cloud dns record (#22695) 2025-06-06 18:32:01 +08:00
Jian Qiu
2f8c719f03 fix: http perf stats monitor (#22689)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-06-06 18:12:16 +08:00
Zexi Li
712059cedb fix(host): marshal update status input inside error (#22692) 2025-06-06 17:27:51 +08:00
屈轩
4bbc651732 fix(region): waf rule enable disable (#22688) 2025-06-06 14:53:25 +08:00
Jian Qiu
24e525926b fix: update vendor release/4.0 20250606 (#22685)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-06-06 14:23:50 +08:00
wanyaoqi
119140fe93 fix(host): pass decoded userdata to host-deployer (#22681) 2025-06-05 23:50:51 +08:00
屈轩
1b45c3d174 fix(region): vendor update (#22678) 2025-06-05 19:28:02 +08:00
Zexi Li
9675f1d4e4 fix(host): change mount context timeout to 30s (#22676) 2025-06-05 18:40:30 +08:00
Jian Qiu
e7e13552d9 fix: cloudmon high cpu loads for bucket probing (#22658)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-06-05 17:51:26 +08:00
屈轩
91ad8f038e fix(region): vendor update (#22670) 2025-06-04 17:37:36 +08:00
Zexi Li
c5e70ed1aa fix(scheduler): wrong sort order of instance group selection (#22666) 2025-06-04 14:27:30 +08:00
Zexi Li
cdd46c490d feat(host): containerd snapshot rootfs service (#22661) 2025-06-04 11:00:42 +08:00
Zexi Li
1d69a15372 fix(host): sync container crash status (#22655) 2025-06-03 20:16:12 +08:00
Zexi Li
5237beb197 fix(host): retry stopping container forcibly (#22650) 2025-06-03 17:12:07 +08:00
Zexi Li
ffdf7a3a6e fix(host): losetup package initialization order (#22652) 2025-06-03 13:39:30 +08:00
Jian Qiu
c835c87afc fix: update vendor to fix keystone user join project not found (#22645)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-05-31 18:47:54 +08:00
Jian Qiu
58e2ea41af fix: disk statu sync recover (#22633)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-05-31 09:04:25 +08:00
Jian Qiu
addbe7f9ea fix: bucket perform mon random string generation consume high cpu load (#22639)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-05-31 09:03:21 +08:00
wanyaoqi
618722bc16 fix(host): change log level to debug on get numa node faild (#22641) 2025-05-31 09:01:55 +08:00
Zexi Li
fd0c96e6f9 refactor(region,host): container status management (#22635) 2025-05-30 17:48:42 +08:00
wanyaoqi
5a17a9e37b feat(host-deployer): deploy vlan subinterface on baremetal hypervisor (#22629)
- host-deployer add deploy vlan subinterface on baremetal hypervisor
- fix baremetal-agent cache image parse input data
2025-05-30 10:32:01 +08:00
wanyaoqi
44ed13473a feat(region,host,host-deployer): support set uefi boot order (#22560) 2025-05-30 10:31:03 +08:00
wanyaoqi
d8b00188a0 feat(region,host): qga deploy network config on attach nics (#22548) 2025-05-30 10:29:48 +08:00
屈轩
0b61ca0432 fix(region): vendor update (#22624) 2025-05-29 11:23:02 +08:00
屈轩
b9a9151555 fix(region): secgroup rule filter (#22619) 2025-05-28 18:38:37 +08:00
wanyaoqi
17db7be134 fix(host): qemu extra params format (#22609) 2025-05-27 13:34:48 +08:00
屈轩
892431d5b9 fix(region): update qcloud storage type (#22615) 2025-05-27 12:44:12 +08:00
屈轩
3d36c293e5 fix(region): add region driver for cloudflare (#22606) 2025-05-26 16:22:25 +08:00
Jian Qiu
3ff50f0d11 fix: tar ignore error revisit (#22604)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-05-26 12:35:10 +08:00
Jian Qiu
6144325daf fix: container save image with leading prefix (#22602)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-05-26 12:34:48 +08:00
Zexi Li
bf3b83870c fix: ignore init loop device error (#22601)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-05-26 11:36:09 +08:00
wanyaoqi
62b7eea828 fix(host): check min_free_kbytes size is enough (#22592) 2025-05-24 01:11:09 +08:00
Zexi Li
4e07811e2f fix(monitor): not filter status tag key (#22596) 2025-05-23 09:59:43 +08:00
Zexi Li
f819e021b3 feat(host): loop device manager (#22590) 2025-05-22 13:24:24 +08:00
屈轩
3224eac821 fix(cloudmon): add vm_ip metric for vm (#22586) 2025-05-22 10:53:59 +08:00
屈轩
a1fce125da fix(cloudmon): vm metrics with ips (#22583) 2025-05-22 10:41:11 +08:00
屈轩
aa0a6b58d3 fix(region): add filter for secgroup rule (#22580) 2025-05-21 19:27:29 +08:00
屈轩
0c9a44e279 fix(region): add account info for sec rules (#22577) 2025-05-21 18:40:18 +08:00
Zexi Li
4dd92825a8 fix(host): ignore internal stopped event of primary container (#22574) 2025-05-21 16:23:17 +08:00
屈轩
30a319fe5e fix(region): allow create public server sku (#22571) 2025-05-21 14:43:28 +08:00
Zexi Li
faf35a6879 fix(host): status of stopping primary container (#22568) 2025-05-21 12:23:33 +08:00
屈轩
4520b54a5b fix(region): init aliyun storage medium type (#22564) 2025-05-20 21:48:33 +08:00
wanyaoqi
fa53aea075 fix error when create vm with ceph disk (#22561)
Co-authored-by: liangkaijun <liangkaijun52013@gmail.com>
2025-05-20 21:28:00 +08:00
Jian Qiu
36b5532b04 feature: monitor bucket formance and resource status (#22553)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-05-19 22:28:32 +08:00
Zexi Li
01ab43941e fix(host): clean loop device before deleting (#22558) 2025-05-19 19:47:28 +08:00
屈轩
249569be9f fix(region): user sync with ctx (#22555) 2025-05-19 18:09:26 +08:00
Jian Qiu
db0b275772 fix: host files not initialized when host reboot (#22551)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-05-19 01:57:58 +08:00
wanyaoqi
e6bb86c934 fix: vendor update 2505013 (#22521) 2025-05-19 01:50:32 +08:00
屈轩
c53f707089 fix(region): vendor update (#22544) 2025-05-16 11:19:49 +08:00
屈轩
ef36176130 fix(region): guest disk iops (#22542) 2025-05-15 15:46:12 +08:00
屈轩
edd11ea1cd fix(region): show correct disk iops (#22538) 2025-05-15 12:48:51 +08:00
屈轩
4ad7d635bc fix(region): change disk billing type (#22533) 2025-05-15 11:48:26 +08:00
Zexi Li
18604b46b1 feat(region,host): change ownership of post overlay merged dir (#22525) 2025-05-13 19:52:52 +08:00
屈轩
4609c543c9 fix(region): add dns brand (#22523) 2025-05-13 16:30:57 +08:00
屈轩
779559dbdc fix(region): add proxied for dns record (#22514) 2025-05-12 17:52:46 +08:00
Zexi Li
27c6c82b82 fix(monitor): return measurements info from db directly (#22512) 2025-05-12 17:17:36 +08:00
屈轩
fa99905bf6 fix(common): avoid empty context (#22509) 2025-05-12 16:21:18 +08:00
屈轩
608e4edb4e fix(region): add cloudflare const (#22507) 2025-05-12 14:10:58 +08:00
屈轩
43c646b537 fix(notify): support notify with robotids (#22503) 2025-05-09 21:23:07 +08:00
屈轩
ad798d7bbe fix(notify): optimized notify error msg (#22501) 2025-05-09 17:35:17 +08:00
屈轩
238458066a fix(region): vendor update (#22498) 2025-05-09 14:56:01 +08:00
屈轩
90a8b10401 fix(common): obj id cache (#22495) 2025-05-09 14:50:24 +08:00
Jian Qiu
46195f72ee fix: hostfile delete validation (#22493)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-05-08 23:50:06 +08:00
屈轩
05829a225a fix(region): vendor update (#22491) 2025-05-08 18:36:31 +08:00
屈轩
f0858ce4d2 fix(common): policy tag filter cache (#22485) 2025-05-08 15:56:57 +08:00
Jian Qiu
cc3477415d fix: host files support (#22481)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-05-07 11:28:47 +08:00
Jian Qiu
40a09fe335 fix: scopedpolicy edit climc command (#22476)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-05-04 09:07:20 +08:00
wanyaoqi
755b1931cc feat(host): add telegraf config dir environmental variable (#22473) 2025-05-04 08:59:54 +08:00
屈轩
4b77e1f4a7 fix(notify): init topic action and resource (#22478) 2025-05-02 13:31:35 +08:00
Jian Qiu
d22dcecbca fix: update README for DeepWiki (#22474)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-04-30 14:45:18 +08:00
Jian Qiu
334ed8dadf fix: waning on lock common context (#22450)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-04-30 00:13:43 +08:00
Jian Qiu
01903a0833 fix: task cleanup worker (#22452)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-04-28 18:36:02 +08:00
Zexi Li
809c67c429 fix(regoin): stop container before deleting it (#22460) 2025-04-28 18:35:34 +08:00
Jian Qiu
90c9fa5917 fix: cloudmon default options (#22451)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-04-28 18:34:10 +08:00
Jian Qiu
a399e30f8c fix: container backup ignoring tar errors (#22470)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-04-28 18:33:29 +08:00
屈轩
e6339bcd96 fix(region): vendor update (#22467) 2025-04-27 16:13:04 +08:00
屈轩
d49c308bb6 fix(region): vendor update (#22464) 2025-04-27 11:58:13 +08:00
屈轩
9c65a3f9bb fix(region): optimized policy query (#22456) 2025-04-27 11:56:04 +08:00
屈轩
0dc71bfa7e fix(region): vendor update (#22453) 2025-04-23 14:12:07 +08:00
Zexi Li
2858568942 feat: container env ref (#22449) 2025-04-22 16:45:12 +08:00
wanyaoqi
7c652a1542 fix(region,host): isolated device add field render_path (#22448) 2025-04-21 16:43:51 +08:00
Jian Qiu
00c85061cf fix: task restart cancel with message (#22447)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-04-20 22:46:03 +08:00
Jian Qiu
6304a66a39 fix: optimize filterByOwner query speed (#22446)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-04-20 18:17:10 +08:00
Jian Qiu
e2268e8ea3 fix: start sync status (#22442)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-04-20 18:06:35 +08:00
wanyaoqi
515fb7b424 fix(host): lvm disk create from esxi (#22426) 2025-04-20 18:06:05 +08:00
Jian Qiu
7a081ad58f fix: permission check for credential object (#22441)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-04-20 18:03:45 +08:00
Jian Qiu
1ffd0a907b fix: webconsole referer whitelist (#22419)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-04-20 18:02:16 +08:00
Zexi Li
ae99d0448b fix(monitor): remove host type query filter (#22438) 2025-04-18 12:15:26 +08:00
wanyaoqi
4de62f8ae4 fix(monitor): telegraf config add host_ip tag (#22368) 2025-04-17 22:35:15 +08:00
wanyaoqi
09785f2b71 feat(host): container add nvidia gpu share device type (#22432) 2025-04-17 16:56:19 +08:00
Zexi Li
984fea1b24 fix(monitor): getTagValues no data (#22433) 2025-04-17 11:09:19 +08:00
Zexi Li
a88239d7f1 fix(scheduler): unused prometheus pkg (#22429) 2025-04-16 10:40:15 +08:00
Zexi Li
307f3aa690 fix(scheduler): disable prometheus metrics handler (#22427) 2025-04-16 10:34:56 +08:00
屈轩
2111a80729 fix(region): vendor update (#22423) 2025-04-15 19:37:24 +08:00
Zexi Li
6d54b36de7 fix(region): check status when container exec command (#22422) 2025-04-15 18:27:28 +08:00
wanyaoqi
b33027a3af fix(host-health): check etcd client is reconnecting (#22399) 2025-04-15 18:25:02 +08:00
Jian Qiu
77655b7dc6 fix: action show climc support fields (#22414)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-04-15 15:17:41 +08:00
Zexi Li
2406a8c6e3 fix(monitor): support victoria metrics bottom query (#22416) 2025-04-15 15:16:55 +08:00
Zexi Li
dddde50afc feat(region,host): primary container supported (#22413) 2025-04-14 18:43:57 +08:00
屈轩
9bf61accb8 fix(climc): keystone pprof profile (#22406) 2025-04-14 15:28:19 +08:00
屈轩
21ea7ff3db fix(keystone): password history check default 1 (#22410) 2025-04-14 15:27:27 +08:00
Jian Qiu
3bff930818 fix: handler support worker manager callback (#22404)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-04-13 15:43:46 +08:00
wanyaoqi
d302eb2a30 fix(host): ignore errors on reconfigure vfio nic bandwidth (#22369) 2025-04-13 09:57:02 +08:00
Jian Qiu
36c87e17b7 fix: notify default policy not effective (#22379)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-04-13 09:56:09 +08:00
Jian Qiu
d5151f0e32 fix: disk rebuild allow set size (#22387)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-04-13 09:55:36 +08:00
Jian Qiu
6a2ad39f3d fix: backend proxy worker count (#22400)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-04-13 09:55:20 +08:00
Zexi Li
195666dfeb feat(host): support container always_restart (#22403)
* fix(container): create steam app

* feat(host): support container always_restart
2025-04-11 17:08:02 +08:00
Four Hu
feb37fd5b1 fix(region): add custom total count (#22374) 2025-04-10 15:25:55 +08:00
屈轩
3284071d21 fix(webconsole): require rdp input password (#22396) 2025-04-10 11:23:04 +08:00
屈轩
593b0d2635 fix(ansibleserver): show pretty error for ansible playbook (#22394) 2025-04-10 10:52:33 +08:00
屈轩
6fbc18905a fix(region): export metadata (#22392) 2025-04-09 18:44:31 +08:00
屈轩
6606f94ba2 fix: update file repo docker script (#22388) 2025-04-09 17:26:58 +08:00
屈轩
57b904e297 fix(region): update gpu used usage (#22390) 2025-04-09 17:26:11 +08:00
屈轩
a034fd3d5b fix(ansbileserver): update docker file (#22381) 2025-04-09 10:54:21 +08:00
屈轩
cf3be8dae3 fix(host-deployer): add tencentos support (#22378) 2025-04-09 09:49:05 +08:00
屈轩
6495614966 fix(monitor): system metric (#22377) 2025-04-08 14:33:32 +08:00
屈轩
636f579069 fix(region): add gpu unused usage (#22372) 2025-04-08 11:40:47 +08:00
Zexi Li
adbe8e3af7 fix(monitor): check measurement field (#22375) 2025-04-07 18:40:32 +08:00
屈轩
d2596a0860 fix(cloudmon): add host access ip tag for metric (#22366) 2025-04-07 13:58:47 +08:00
Jian Qiu
b388246edf fix: container final status (#22365)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-04-05 20:06:47 +08:00
Jian Qiu
4189fcf726 fix: hide image location (#22363)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-04-04 08:17:26 +08:00
Zexi Li
5fe6578478 feat(container-examples): create_steam tool (#22362) 2025-04-03 19:52:17 +08:00
Jian Qiu
324262ca8e fix: set db connection keepalive options (#22356)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-04-03 19:52:04 +08:00
Jian Qiu
24d34bf42d fix: disable ping to hostlocal network (#22361)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-04-03 19:49:55 +08:00
屈轩
d83b5bb144 fix(region): capabilities query usable isolated device (#22360) 2025-04-02 17:29:15 +08:00
屈轩
4b8148362f fix(region): isolated device share (#22351) 2025-03-31 18:17:21 +08:00
Jian Qiu
08bd825ef0 fix: supplement fields of archived tasks (#22354)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-03-30 12:25:34 +08:00
Jian Qiu
89e9012e21 fix: add numa_node to isolated_devices (#22353)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-03-30 09:53:23 +08:00
Zexi Li
5284f5a17a feat(region,host): support apparmor for container (#22241) 2025-03-28 16:16:07 +08:00
wanyaoqi
166698bdd2 feat(host): cgroupv2 support (#22314) 2025-03-28 16:13:05 +08:00
Jian Qiu
11bff68aa1 fix: protect appsrv default handlers (#22341)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-03-26 17:51:54 +08:00
wanyaoqi
09b079795f fix(region): guestdisk list add auto reset column (#22345) 2025-03-26 15:06:58 +08:00
wanyaoqi
2bd1f4388b fix(monitor): vm_net add bytes and packages measurements (#22344) 2025-03-26 15:06:30 +08:00
Jian Qiu
e95de5640a fix: update vendor 20250325 (#22340)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-03-26 00:29:25 +08:00
Zexi Li
63be6ae064 fix(scheduler,monitor): tls 3des (#22335) 2025-03-25 21:15:03 +08:00
wanyaoqi
aa12abead1 fix(host): skip vastaitech Null line (#22323) 2025-03-25 20:34:36 +08:00
Zexi Li
2fa746e292 fix(monitor): wrong index of details (#22334) 2025-03-25 15:31:42 +08:00
Zexi Li
838e705465 fix(monitor): wrong TriggerTime (#22331) 2025-03-25 11:42:55 +08:00
Zexi Li
3dfb39cce9 optmized(monitor): query alertrecord by res_id (#22320) 2025-03-25 10:03:39 +08:00
屈轩
4b171f5045 fix(region): vendor update (#22325) 2025-03-24 19:49:26 +08:00
Zexi Li
94b8bc74f5 feat(host): pod HostIPC (#22318)
* feat(host): pod HostIPC

* steam wolf test app
2025-03-24 14:32:14 +08:00
Jian Qiu
a778fb9dd5 fix: host cache image directly from object storage (#22317)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-03-22 08:33:42 +08:00
Jian Qiu
79ae3be805 fix: batch cache image (#22313)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-03-21 17:44:43 +08:00
屈轩
f9c2d3c187 fix(region): add isolated device sync log (#22311) 2025-03-20 15:08:14 +08:00
屈轩
d0a10ae595 fix(region): change config status (#22310) 2025-03-20 11:52:09 +08:00
Jian Qiu
e1e89cc7a2 feature: archived task show (#22309)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-03-20 10:24:14 +08:00
Jian Qiu
d729c00c26 fix: fail to delete sub images of composed guest image (#22280)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-03-19 22:26:39 +08:00
屈轩
028a660549 fix(region): support isolated device for cloudpods (#22308) 2025-03-19 15:56:17 +08:00
屈轩
4455291199 fix(region): add post delete hook (#22301) 2025-03-19 10:13:40 +08:00
Zexi Li
8de8e90416 optimized(keystone): local sql auth by password (#22304) 2025-03-19 10:10:46 +08:00
屈轩
04017f1cfd fix(monitor): optimized alert list (#22297) 2025-03-18 19:52:29 +08:00
屈轩
8bc9ce005b fix(region): vendor update (#22291) 2025-03-18 16:15:40 +08:00
wanyaoqi
44596e07dc fix(host): virtio nic add fdb record on has sriov nic (#22285) 2025-03-18 15:10:40 +08:00
Zexi Li
639090b4e2 fix(webconsole): disable 3des cipher suites (#22296) 2025-03-18 13:12:37 +08:00
Zexi Li
62596470aa feat(monitor): support listing monitor_resource by alert_state (#22289) 2025-03-18 11:52:41 +08:00
Jian Qiu
58fcc3b9d6 fix: use host service status storing online/offline status (#22290)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-03-17 12:36:19 +08:00
Jian Qiu
8f01a6b50c feature: active cache image (#22276)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-03-16 00:05:42 +08:00
wanyaoqi
7f9f7102e9 fix(host): hotplug mem adaptation for guests no memdev (#22258) 2025-03-16 00:04:58 +08:00
屈轩
3e45447dae fix(region): vendor update (#22277) 2025-03-16 00:03:15 +08:00
屈轩
0d6f8bb312 fix(region): vendor update (#22273) 2025-03-14 09:59:04 +08:00
屈轩
529f49c429 fix(notify): task model (#22272) 2025-03-13 14:52:04 +08:00
屈轩
7e1d2db513 fix(notify): support create topic (#22268) 2025-03-13 14:04:52 +08:00
屈轩
11014c3d8a fix(climc): service config bool value (#22269) 2025-03-13 14:00:15 +08:00
屈轩
3f90b86ef5 fix(region): show dump info when worker stuck (#22250) 2025-03-12 16:51:58 +08:00
屈轩
a024d94bcb fix(monitor): add service metric monitor (#22226) 2025-03-12 16:40:12 +08:00
Zexi Li
7cb030c90f fix(host): add pod to probe manager when dirty marked (#22266) 2025-03-11 20:42:33 +08:00
Zexi Li
1207212723 fix(region): BaremetalUploadAllGuestsStatusTask uncompleted (#22264) 2025-03-11 20:29:08 +08:00
Zexi Li
56dd5a8fa3 Merge pull request #22259 from zexi/fix-mux-pprof
fix(webconsole,monitor): pprof handlers of gorilla mux
2025-03-11 12:27:26 +08:00
Zexi Li
9d2c172820 fix(webconsole,monitor): pprof handlers of gorilla mux 2025-03-11 11:49:14 +08:00
Jian Qiu
425b081ede fix: split compute tasks into subtasks (#22253)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-03-09 09:16:27 +08:00
wanyaoqi
f05c23a02d feat(glance,region,host): auto cache glance images to ceph storages (#22076) 2025-03-08 11:03:27 +08:00
wanyaoqi
a7b90a1de6 fix(host): add check is mps device need update (#22237) 2025-03-08 10:51:48 +08:00
Jian Qiu
6a76123a6a fix: auto truncate sql string (#22242)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-03-08 10:45:58 +08:00
wanyaoqi
bcfd60e161 fix(host): change storage clone disk add encrypt info (#22231) 2025-03-08 10:44:16 +08:00
Jian Qiu
16ee2ff0ee fix: clean task job batch limit not effect (#22240)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-03-07 16:36:14 +08:00
Jian Qiu
f794cb43f0 fix: task clean job in batch limit (#22238)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-03-07 01:50:33 +08:00
wanyaoqi
9c0048dd05 fix(host-deployer): set xfs default ftype 1 (#22232) 2025-03-06 11:16:11 +08:00
Zexi Li
f1eddf4d18 fix(host): change timeout to 10s when stopping container (#22225) 2025-03-05 19:33:43 +08:00
Zexi Li
df97cf3bfe fix(host): not purge isolated device when detaching it (#22222) 2025-03-05 19:33:06 +08:00
Jian Qiu
3a48490e3d fix: glance always init s3 client (#22128)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-03-03 20:15:19 +08:00
Jian Qiu
425574f2ad fix: add summary-stats options (#22218)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-03-03 10:10:24 +08:00
Jian Qiu
41d783515d fix: disk copy to storage inherit classmeta (#22209)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-03-03 10:03:31 +08:00
Zexi Li
3bcc1143d8 fix(region): call SetStatusFromHost when guests status uploaded (#22221) 2025-03-03 10:01:18 +08:00
Zexi Li
d3f5c71404 feat(region,host): using BaremetalUploadAllGuestsStatusTask when host online (#22187)
* feat(region,host): using BaremetalUploadAllGuestsStatusTask when host online

* feat(climc,region): filter containers by host
2025-02-28 18:44:49 +08:00
wanyaoqi
2d072af6b3 Automated cherry pick of #22206: Fix/deploy guest add cpu vendor (#22208)
* fix(host-deployer): deploy guest add cpu vendor

* fix(host): host generate passwd use strong ruler
2025-02-28 14:12:48 +08:00
Zexi Li
5c2968812a fix(host,monitor): container memory metrics (#22201) 2025-02-27 16:12:10 +08:00
wanyaoqi
d90d1c3d93 fix(host): shared lvm activte with auto activation option (#22191) 2025-02-27 16:05:35 +08:00
wanyaoqi
b2dba9956a feat(region,host): add guest disk auto reset on shutdown support (#22199) 2025-02-27 16:03:36 +08:00
屈轩
1cd90f8566 fix(esxi-agent): vendor update (#22202) 2025-02-27 14:49:17 +08:00
Zexi Li
5075e8481e fix(mcclient): recover panic when invoking container exec (#22205) 2025-02-27 13:14:05 +08:00
屈轩
2914d0d337 fix(region): fast sync image (#22184) 2025-02-26 15:17:47 +08:00
屈轩
d8be4361e5 fix(region): fix typo (#22181) 2025-02-25 17:11:38 +08:00
屈轩
edb01cfa3c fix(notify): avoid panic when clean task (#22180) 2025-02-25 12:02:44 +08:00
屈轩
7868a04fe3 fix(region): allow create disk when vm running (#22173) 2025-02-25 12:02:30 +08:00
Zexi Li
97103534e4 fix(monitor,webconsole): enable app profiling (#22175) 2025-02-24 19:51:24 +08:00
Jian Qiu
58b3ce8ef7 fix: remove default values from cmtbound columns (#22156)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-02-24 17:31:52 +08:00
Jian Qiu
951d570bb3 fix: disable server TLS 1.0, 1.x and 1.2 SHA1 (#22165)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-02-24 17:29:34 +08:00
屈轩
9f3fc6e7af fix(region): 允许不同账号dns zone重名 (#22161) 2025-02-24 11:11:06 +08:00
屈轩
db5c036287 fix(region): update storage type and dev-type fied (#22124) 2025-02-21 11:12:31 +08:00
wanyaoqi
77283050f7 fix(host): check has vga use desc dev_type instead of host dev object (#22147) 2025-02-21 10:22:01 +08:00
wanyaoqi
f1c502ac25 fix(host): add check default mem dev exist on hotplug (#22141) 2025-02-21 10:21:16 +08:00
Zexi Li
52306e3099 fix(climc): show ip column of action-show command (#22153) 2025-02-21 10:15:14 +08:00
Zexi Li
d369533f6d fix(monitor): always skip_check_series for metric-measurement api (#22143) 2025-02-19 19:57:22 +08:00
Zexi Li
c5a38b5142 feat(host): untar TGZ image when image cached (#22144) 2025-02-19 19:56:22 +08:00
Zexi Li
e0fbd525ab fix(scheduler): 尽早发现子网ip不足引起的调度失败 (#22130) 2025-02-19 16:53:31 +08:00
屈轩
e1e4470201 fix(climc): support create vm with tags (#22125) 2025-02-19 16:49:49 +08:00
Jian Qiu
db9a69beea fix: separate default admin secgroup id for kvm and pod (#22113)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-02-18 22:27:22 +08:00
Jian Qiu
39de045948 fix: monitor query close response http client (#22110)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-02-18 18:31:21 +08:00
Zexi Li
e3d343f464 fix(monitor): split tags and cloud_tags (#22114) 2025-02-18 18:29:22 +08:00
屈轩
33128e92f5 fix(region): avoid panic (#22117) 2025-02-18 15:52:42 +08:00
wanyaoqi
88cd7551e5 fix(host): update host-base to v0.7.0 (#22085)
* fix(host): update host-base to v0.7.0

* fix(cronjob): init timezone, timer set location
2025-02-15 00:02:32 +08:00
屈轩
73945d37ad fix(region): support change vm billing type (#22092) 2025-02-14 11:33:38 +08:00
屈轩
7dbc954d0e fix(monitor): cdf (#22077) 2025-02-13 15:19:07 +08:00
屈轩
efe9c8f99a fix(region): skip sync server status time range (#22098) 2025-02-13 15:17:54 +08:00
Zexi Li
02c1bcfbf4 fix(lbagent): telegraf configuration panic (#22097) 2025-02-13 12:29:58 +08:00
Zexi Li
3acb3188e3 fix(host): chown for pod volume (#22088) 2025-02-12 15:58:00 +08:00
屈轩
7bfb8a5b19 fix(region): 跳过esxi存储找不到的关联宿主机 (#22082) 2025-02-12 12:04:36 +08:00
Zexi Li
1ff08ad0c8 fix(monitor): not split resource when notifying (#22072) 2025-02-10 19:50:00 +08:00
wanyaoqi
3f3d7e5d0b fix(host,host-image): use nbd export images (#21738) 2025-02-10 14:16:05 +08:00
Zexi Li
de0a4a928b fix(host): ignore tar warning message error (#22071) 2025-02-07 10:56:23 +08:00
屈轩
9fd940a07e fix(webconsole): avoid high cpu load (#22068) 2025-02-06 15:46:28 +08:00
wanyaoqi
5edf955170 fix(host): amd gpu memutil convert to a percentage (#22065) 2025-02-06 15:43:07 +08:00
屈轩
4968d3649b fix(region): avoid panic (#22066) 2025-02-06 14:42:47 +08:00
屈轩
1ff7def45d fix(region): aliyun disk resize (#22061) 2025-02-05 21:04:37 +08:00
Jian Qiu
ab96506529 fix: separate backup worker (#22064)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-02-05 20:20:24 +08:00
wanyaoqi
91ae9fa50d fix(host): check image desc is empty (#22057)
image.inf record chksum or image id not matched will cause image desc empty
2025-02-05 18:53:58 +08:00
wanyaoqi
7b5785ad12 fix(host): add amd gpu memutil (#22056) 2025-02-05 18:53:01 +08:00
屈轩
9938a7317d fix(region): resize cloud_auto disk (#22059) 2025-02-05 18:03:37 +08:00
屈轩
fb5dd09070 fix(region): avoid panic (#22054) 2025-02-05 17:43:31 +08:00
Jian Qiu
61116a17b5 fix: register image/identity/etc. task modules (#22053)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-02-05 15:07:26 +08:00
Jian Qiu
c399c68889 fix: task fetch duplicated id error (#22051)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-02-05 15:03:18 +08:00
Jian Qiu
5a77b6bba5 fix: image cache use specific workers (#22046)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-02-05 11:33:28 +08:00
Zexi Li
db9d27024d optimized(scheduler): reduce scheduling time (#22030) 2025-02-05 10:25:16 +08:00
Zexi Li
84b47d64a6 fix(host): return error when setting container status (#22045) 2025-02-05 10:24:12 +08:00
屈轩
d917a59c52 fix(region): avoid panic (#22048) 2025-02-05 09:54:36 +08:00
Jian Qiu
d8c3b59659 fix: backup ignore file removed warning (#22044)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-02-02 11:43:19 +08:00
Jian Qiu
c4669d51ed fix: image support s3 parallel (#22034)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-01-30 00:00:21 +08:00
wanyaoqi
6da6325b0e fix(region): hosts_tbl sys_info use longtext (#22041) 2025-01-29 23:59:20 +08:00
wanyaoqi
ba3f51d193 fix(host): support sata ahci controller (#22039) 2025-01-29 23:58:32 +08:00
Jian Qiu
0c4892bed0 fix: notify empty receipients (#22035)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-01-28 18:54:42 +08:00
wanyaoqi
dd75e4d4f9 fix(glance): donot umount s3fs on glance exit (#22037) 2025-01-26 19:57:54 +08:00
wanyaoqi
10dd582a83 fix(region,host): slvm snapshot delete and instance snapshot purge (#22022) 2025-01-26 19:38:11 +08:00
Zexi Li
2bb4511567 fix(host): wrong order of ResUid and ResGid (#22036) 2025-01-26 19:22:05 +08:00
wanyaoqi
a4377527c5 feat(host): container nvidia gpu metrics (#21950)
* feat(host): container nvidia gpu metrics

* feat(host): add vastaitech gpu metrics support

* feat(host): add cph amd gpu metrics

* fix(host): add nvidia gpu no card envs

* fix(host): add nvidia gpu telegraf conf on container host
2025-01-26 12:52:28 +08:00
Jian Qiu
475f110256 fix: allow host public_ip domain name (#22027)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-01-26 12:52:17 +08:00
Zexi Li
df8ec0afc6 feat(region,host): support resgid and resuid for container volume mount (#22011) 2025-01-26 12:38:31 +08:00
Zexi Li
19e595cc08 customized(monitor): check whether the measurement field exists in victoriametrics (#22028) 2025-01-26 12:24:00 +08:00
Zexi Li
61dcdcc408 fix(host): get cri id from pod sandbox (#22023) 2025-01-25 19:00:42 +08:00
wanyaoqi
dbb86f8d30 feat(region,host): hostpinger add cpu usage percent report (#22005) 2025-01-25 15:42:45 +08:00
Jian Qiu
8fc56dcd4f fix: support server change ipv6 address (#22016)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-01-25 15:40:01 +08:00
Zexi Li
f6fa781156 fix(glance): query vmware account brand (#22017) 2025-01-24 11:51:29 +08:00
屈轩
7e929e074f fix(climc): apigateway endpoint type (#22012) 2025-01-23 14:38:55 +08:00
屈轩
0dbdf592cf fix(host): cephfs mount (#22010) 2025-01-23 10:33:10 +08:00
Zexi Li
61998734a0 fix(apigateway): set GOMAXPROCS to 2 when executing climc (#22009) 2025-01-22 15:32:08 +08:00
Zexi Li
a94dddcd37 fix(region): panic occured when removing post overlay (#22008) 2025-01-21 23:43:02 +08:00
Jian Qiu
3e96ee5071 fix: is_classic is missing from network details (#21993)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-01-21 16:25:15 +08:00
屈轩
ef28bc7ec9 fix(apigateway): set scope policy binding project id query (#21998) 2025-01-20 17:50:45 +08:00
Zexi Li
6887125778 fix(host): handle error not mounted (#21958) 2025-01-20 10:22:08 +08:00
Jian Qiu
bfb7caaaf3 fix: add summary statistics switch (#21987)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-01-18 06:15:15 +08:00
Zexi Li
36047f2043 fix(host): skip detect device that is not GPU class (#21985) 2025-01-18 06:14:40 +08:00
Zexi Li
085f9cca87 fix(host): netmask updated of hostlocal network (#21988) 2025-01-18 05:51:33 +08:00
屈轩
b86e773d78 fix(apigateway): add scopedpolicybindings api (#21989) 2025-01-17 20:54:11 +08:00
屈轩
a45c8c3f95 fix(host): cephfs mount (#21982) 2025-01-16 17:37:15 +08:00
屈轩
7a30718a6b fix(region): export excel float (#21980) 2025-01-16 11:54:41 +08:00
wanyaoqi
b2d161fdf9 fix(region): snapshot policy with multi disk on same guest fix(region): delete overdued snapshots on cleanup snapshot task only (#21968) 2025-01-16 10:43:25 +08:00
Zexi Li
e41a91ff60 fix(host): container exec probing (#21979) 2025-01-16 10:42:00 +08:00
Zexi Li
324cfe02f6 fix(host): wrap qemu machine info error (#21974) 2025-01-14 20:50:13 +08:00
Zexi Li
56a9d2355c fix(region): StartCacheImagesTask on container starting (#21966) 2025-01-14 16:01:18 +08:00
Jian Qiu
8c662cccb3 fix: image update input struct param (#21962)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-01-14 02:17:40 +08:00
Jian Qiu
3047cf2fe1 fix: cleanup inprocess task on service restart (#21961)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-01-14 01:15:39 +08:00
Zexi Li
4f31176e38 fix(host): defer cancel context in loop block (#21955)
* fix(host): defer cancel context in loop block

* fix(host): reconnect disk when loop device already mounted or mount point busy

* fix(region): pass server stop params to container stop task
2025-01-13 20:46:05 +08:00
屈轩
7b263ddf48 fix(region): tags export (#21959) 2025-01-13 16:49:39 +08:00
wanyaoqi
0aed062701 fix(region): host list add hide cpu topo info option (#21944) 2025-01-13 13:54:31 +08:00
Zexi Li
87e2ab33ae feat(glance): upload tar as TGZ image (#21952) 2025-01-10 14:24:33 +08:00
Zexi Li
f46c325b5b feat(region,host,climc): support container post image overlay (#21942) 2025-01-09 14:04:45 +08:00
Jian Qiu
fb849aec25 fix: enable task archivers (#21943)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-01-08 23:20:28 +08:00
屈轩
a82939fc07 fix(region): vendor update (#21940) 2025-01-08 18:47:21 +08:00
屈轩
296c8d5586 fix(region): loadbalancer listener create input (#21937) 2025-01-08 18:31:17 +08:00
Jian Qiu
c26bc691ae fix: imporve task query speed (#21921)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-01-08 12:23:34 +08:00
wanyaoqi
2459378ace fix(region,host): guest reserve cpus compatible with numa allocate (#21803)
* fix(region,host): isolate guest reserved cpus

* fix(region,host): guest reserve cpus
2025-01-07 20:43:54 +08:00
Zexi Li
c07c99e08d fix(region): not change container exited status to net_failed (#21923) 2025-01-07 20:43:28 +08:00
wanyaoqi
4931aaa8bc fix(region): record snapshot last attched host on delete disk (#21927) 2025-01-07 19:59:57 +08:00
屈轩
1b11d898e5 fix(region): fetch lb backend owner (#21930) 2025-01-07 09:40:07 +08:00
屈轩
e133b83082 fix(region): support skip sync host and storage info (#21918) 2025-01-02 17:38:52 +08:00
Jian Qiu
8c51743605 fix: container cp to tar support multiple dirs (#21916)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-01-02 13:02:35 +08:00
Jian Qiu
21b9e53a34 fix: backup storage support sign version (#21912)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-01-01 10:10:59 +08:00
Zexi Li
1770d2cdd6 fix(host): calculate netint device index by path (#21911) 2024-12-31 15:47:03 +08:00
Zexi Li
c134969f85 fix(host): previous time of container_diskio (#21910) 2024-12-31 12:31:26 +08:00
Jian Qiu
34204c5f3a fix: task query optimize (#21904)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-12-31 10:42:15 +08:00
wanyaoqi
af3bb676b7 Automated cherry pick of #21894: Fix/host load servers (#21897)
* fix(host): load disks init scsi bus

* fix(region,host): delete instance snapshot progress incorrect
2024-12-30 10:32:56 +08:00
Jian Qiu
8466820466 fix: add more filters to isolated_device (#21906)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-12-30 10:29:45 +08:00
wanyaoqi
2448bb4bbc fix(region,host): select isolated devs misc fix (#21905) 2024-12-30 10:27:31 +08:00
wanyaoqi
8e1c0ef946 Automated cherry pick of #21876: Automated cherry pick of #21875: Automated cherry pick of #21804: [WIP] fix: add more action log (#21878)
* fix: add more action log

* fix(region): add set cmt bound action
2024-12-29 23:09:27 +08:00
Zexi Li
ce0db061d7 feat(host): add container copy by tar methods (#21903) 2024-12-27 17:54:01 +08:00
Zexi Li
56efaed760 fix(host): SetDirtyContainer when updating container status error (#21901) 2024-12-26 14:14:57 +08:00
屈轩
41b8579fc5 fix(region): skip record conflict error (#21900) 2024-12-26 09:46:55 +08:00
屈轩
2b29b9b6fb fix(region): qcloud rds cpu option (#21891) 2024-12-25 10:54:36 +08:00
屈轩
30877e0966 fix(region): add cas (#21889) 2024-12-24 16:30:16 +08:00
Jian Qiu
589343ef6d fix: hashed-worker-manager nil pointer panic (#21887)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-12-24 01:26:22 +08:00
Jian Qiu
290626c484 feature: hashed worker manager (#21886)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-12-23 22:05:24 +08:00
wanyaoqi
62d63cc5f2 fix(host): delete snapshot from storagehandler misc fix (#21885) 2024-12-23 20:43:56 +08:00
Zexi Li
2466219139 feat(host): mount post_overlay with metacopy feature (#21880) 2024-12-23 20:13:15 +08:00
屈轩
d9e3d2df25 fix(region): update private provider const (#21877) 2024-12-23 10:45:42 +08:00
Jian Qiu
9ba6bef994 fix: s3cli upgrade 20241222 (#21874)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-12-22 10:21:23 +08:00
屈轩
8a28f717f6 fix(region): add app callback (#21873) 2024-12-20 18:49:14 +08:00
Zexi Li
40395dc90e fix(monitor): unknown column returned when group by name tag (#21868) 2024-12-20 18:00:20 +08:00
Zexi Li
234d40de78 fix(baremetal): panic when save desc (#21867) 2024-12-20 16:18:57 +08:00
屈轩
8d3b5e22b3 fix(cloudmon): skip pull k8s service info (#21861) 2024-12-20 15:48:03 +08:00
屈轩
10b68302f7 fix(devtool): remove duplicate init db (#21855) 2024-12-20 15:34:33 +08:00
屈轩
2c7fd49c19 fix(climc): avoid showing help twice (#21858) 2024-12-20 15:34:15 +08:00
wanyaoqi
de55ae2f9e fix(region): disk show io throttles (#21805) 2024-12-20 11:40:56 +08:00
wanyaoqi
a0c5a3a9a7 fix(host): optimize storage register failed wiht dup name (#21833) 2024-12-20 11:39:56 +08:00
屈轩
2991e8471b fix(region): expand rds maintain time field length (#21838) 2024-12-20 11:14:23 +08:00
wanyaoqi
a5e7c5721b fix(climc): host-show hide long content sys_info nic_info metadata (#21849) 2024-12-20 11:11:29 +08:00
Zexi Li
725adb83f1 fix(host): unmount sub mountpoint (#21848) 2024-12-20 11:10:41 +08:00
屈轩
f8c5365fd8 fix(region): host order by commit (#21852) 2024-12-20 09:57:26 +08:00
屈轩
45c192d521 fix(cloudmon): optimize service metric collect (#21846) 2024-12-19 18:48:19 +08:00
Zexi Li
a160b380c5 fix(host): make telegraf configuration log to debug (#21844) 2024-12-19 15:56:32 +08:00
屈轩
7cc649f47a fix(region): host custom total count (#21828) 2024-12-19 11:33:49 +08:00
屈轩
554368f282 fix(webconsole): vnc add cookie head (#21827) 2024-12-18 18:27:55 +08:00
Zexi Li
c2bc6b1c99 feat(climc,host): support container copy and copy-from (#21822) 2024-12-18 16:55:33 +08:00
Jian Qiu
4132f245ac fix: enfore mfa (#21800)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-12-17 19:39:31 +08:00
屈轩
a9e73c2751 fix(apigateway): totp_issuer (#21823) 2024-12-17 19:36:59 +08:00
屈轩
13f00b8e6a fix(scheduledtask): add handler for scheduledtask (#21819) 2024-12-17 19:26:00 +08:00
云原生驿站
8e5d9858bc fix(host): fix the rtl8139 NIC information is missing (#21808) 2024-12-17 10:36:26 +08:00
Zexi Li
7312f5c912 feat(region,host): support lazy umount for post overlay of container (#21813) 2024-12-16 20:33:03 +08:00
Zexi Li
472c5f8e04 fix(webconsole,apigateway): execute container command by climc ssh way (#21812) 2024-12-16 18:49:42 +08:00
屈轩
753a7ee1c0 fix(region): vendor update (#21809) 2024-12-16 16:38:53 +08:00
Zexi Li
3fa1abb060 feat(host,monitor): container diskio metrics (#21799) 2024-12-16 11:38:45 +08:00
Zexi Li
c5747b7991 fix(baremetal-agent): adjust redfish http client timeout to 60s (#21793) 2024-12-13 10:39:44 +08:00
屈轩
a4c19d70d8 fix(region): skip cloudpods vm kernel check (#21794) 2024-12-12 19:23:28 +08:00
Zexi Li
c1610ce04a fix(region): server-purge failed on pod (#21789) 2024-12-12 14:08:32 +08:00
屈轩
0cdbc213f4 fix(cloudmon): add sangfor metric (#21788) 2024-12-11 20:16:38 +08:00
Zexi Li
ebb0310c27 fix(host): check binder device path (#21787) 2024-12-11 17:27:57 +08:00
Zexi Li
6d4bd29edd fix(region): set pod status to start_start before invoking task (#21785) 2024-12-11 15:23:10 +08:00
Zexi Li
7410803657 feat(host): use loopdev manager (#21784) 2024-12-11 14:27:09 +08:00
Zexi Li
93587b668a feat(webconsole): keep_websocket_session option (#21781) 2024-12-11 14:26:23 +08:00
屈轩
5602b168f9 fix(region): avoid query isolate device error (#21774) 2024-12-11 10:37:50 +08:00
Zexi Li
ebbb900565 fix(host): not use losetupioctl.DetachAndRemoveDevice (#21779) 2024-12-10 18:54:46 +08:00
Zexi Li
2d4bda96ab fix(region): validate post overlay unique_name (#21776) 2024-12-10 11:22:39 +08:00
Zexi Li
041a0ec57f fix(host): backup container post overlay (#21773) 2024-12-09 18:26:23 +08:00
屈轩
ce680bb15d fix(region): uis vm disk create (#21772) 2024-12-09 15:05:23 +08:00
Zexi Li
598f13ff77 fix(region): container no failed running status (#21771) 2024-12-09 11:56:21 +08:00
Jian Qiu
a40f265623 fix: container allow exec in running status (#21770)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-12-09 09:57:45 +08:00
Zexi Li
27d6b5bf57 feat(monitor): add min and max aggregator (#21764) 2024-12-07 20:58:05 +08:00
屈轩
97fdc00825 fix(keystone): avoid remove project metadata when join organization node (#21761) 2024-12-07 20:55:09 +08:00
屈轩
a894da86e7 fix(region): keep cloudpods vm empty password (#21758) 2024-12-06 18:09:51 +08:00
Zexi Li
96b4432a81 feat(host,monitor): container process metrics (#21757) 2024-12-06 11:16:13 +08:00
屈轩
713dc191e5 fix(region): managed vm migrate info (#21754) 2024-12-05 19:28:41 +08:00
屈轩
c4c1f1c686 fix(region): sync managed vm status (#21750) 2024-12-05 16:38:03 +08:00
屈轩
460e1e58d8 fix(region): managed vm migrate (#21747) 2024-12-05 16:11:47 +08:00
Zexi Li
fc74470066 feat(host): pod and container process count metrics (#21743) 2024-12-05 14:47:41 +08:00
屈轩
7fa6e2c06a fix(region): uis misc fix (#21730) 2024-12-05 14:45:43 +08:00
屈轩
e6066b56cc fix(region): cloudpods vm migrate (#21744) 2024-12-05 14:39:07 +08:00
屈轩
46a84f432f fix(region): vendor update (#21740) 2024-12-05 12:33:46 +08:00
Zexi Li
25a17bf338 feat(host): remove loop device by ioctl (#21676) 2024-12-05 10:12:49 +08:00
屈轩
3226e1424e fix(cloudmon): sync cloudproviders (#21731) 2024-12-04 09:43:03 +08:00
屈轩
795c1788c3 fix(apigateway): add service settings info (#21720) 2024-12-04 09:41:17 +08:00
Zexi Li
58290b4498 fix(monitor): clone alert dashboard (#21725) 2024-12-03 10:05:50 +08:00
wanyaoqi
55ed52df30 fix(host,host-deployer): start deployer guest with all of disk (#21712) 2024-12-02 14:59:13 +08:00
屈轩
7b96f7b5d5 fix(region): zettakit isolate device capability (#21717) 2024-11-29 22:52:24 +08:00
Zexi Li
460d150ae7 feat(region,host): post overlay for container volume mount (#21709) 2024-11-29 20:26:28 +08:00
屈轩
ff26bf22c4 fix(region): isolate device sync (#21714) 2024-11-28 15:44:46 +08:00
wanyaoqi
b94cf59f0a fix(scheduler,region): fill resource info check guest is in pending usage (#21708) 2024-11-27 11:18:52 +08:00
屈轩
c7f76c7293 fix(region): zettakit misc fix (#21703) 2024-11-26 17:47:58 +08:00
屈轩
fe70c4569a fix(region): zettakit eip create (#21701) 2024-11-26 15:44:18 +08:00
Jian Qiu
ae96541d87 fix: complete monitor metrics (#21692)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-11-26 14:45:22 +08:00
wanyaoqi
4f61339ce1 fix(host): generate ceph conf dup monHosts (#21691) 2024-11-26 14:07:53 +08:00
屈轩
c623f86c77 fix(region): support uis (#21686) 2024-11-26 12:04:09 +08:00
屈轩
2c9e04f39f fix(region): validate zettakit disk size (#21684) 2024-11-26 10:30:24 +08:00
Zexi Li
e2c244e2cb optimized(host): use goroutine to start ContainerStatsProvider (#21683) 2024-11-25 20:57:08 +08:00
屈轩
712c6d005e fix(region): optimized zettakit (#21673) 2024-11-24 13:23:48 +08:00
Zexi Li
292cbaf29f fix(monitor): set default query select and group by for alerting and panel (#21669) 2024-11-22 19:20:06 +08:00
Zexi Li
905cf7aa4a feat(monitor): list alertrecords by res_id (#21664) 2024-11-22 16:54:23 +08:00
屈轩
096a56ffc6 fix(region): support zettakit (#21663) 2024-11-22 16:49:41 +08:00
Zexi Li
5246ba11ac fix(monitor): raw_name of influxdb query (#21659) 2024-11-22 15:52:39 +08:00
屈轩
467ac29e13 fix(region): avoid panic (#21655) 2024-11-22 14:52:36 +08:00
wanyaoqi
58fb47e49f fix(host): import from libvirt parse live xml (#21651) 2024-11-22 14:51:56 +08:00
屈轩
6dbe908f10 fix(region): support baidu cloud (#21652) 2024-11-21 16:56:43 +08:00
屈轩
7c6fe301e3 fix(cloudid): vendor update for azure iam (#21646) 2024-11-20 20:16:04 +08:00
Zexi Li
949685c2e3 feat(host): add container net_failed status (#21642) 2024-11-20 18:19:55 +08:00
屈轩
87dfd89f83 fix(region): vendor update for azure vm create (#21641) 2024-11-20 15:12:42 +08:00
Zexi Li
7096c5b0e7 feat(monitor): support sorting reduced result (#21633) 2024-11-20 11:16:56 +08:00
Zexi Li
17364c8f45 fix(monitor): set default aggregator and group by for alert model (#21632) 2024-11-19 14:56:49 +08:00
Zexi Li
c165398784 fix(monitor): inject ResType (#21628) 2024-11-19 14:00:32 +08:00
Zexi Li
84b6d8b8d4 support telegraf linux_sysctl_fs (#21619)
* support telegraf-sysctl

* feat(monitor): add linux_sysctl_fs measurement
2024-11-18 20:03:56 +08:00
Zexi Li
3ff493169e fix(region): ContainerBatchStopTask and ContainerBatchStartTask (#21617) 2024-11-18 17:18:26 +08:00
Jian Qiu
1196406b6c fix: noop task support (#21616)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-11-18 01:31:40 +08:00
屈轩
7a19b32ddf fix(region): add lb backend group count and listener count for lb details (#21607) 2024-11-17 22:46:53 +08:00
Zexi Li
d51b44339b fix(region): 容器处于 probe_failed 时可能出现重复开机的情况 (#21615) 2024-11-17 22:46:15 +08:00
wanyaoqi
84ecb2ec49 fix(region,host,scheduler): isolated device balance with to reserve cpus (#21614) 2024-11-17 22:45:59 +08:00
Jian Qiu
a6e7ea5b65 fix: add opentsdb catalog (#21612)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-11-16 19:55:53 +08:00
Zexi Li
b45e290f1e fix(region): invoke GuestDeleteTask to stop pod (#21603) 2024-11-14 21:30:20 +08:00
Zexi Li
2e1d866f37 fix(region): not sync status when attaching and detaching disk (#21602) 2024-11-14 21:28:10 +08:00
屈轩
af51bfc561 fix(region): shareable virtual resource query (#21596) 2024-11-14 20:34:54 +08:00
屈轩
7b6bdcb11a fix(region): remove dstack (#21599) 2024-11-14 20:29:44 +08:00
Zexi Li
13b2662b78 fix(monitor): raw_name of group_by (#21592) 2024-11-14 18:00:57 +08:00
Zexi Li
4d00c1db4d fix(host): add startPodLock for pod instance (#21591) 2024-11-14 18:00:37 +08:00
Zexi Li
f703cf490f feat(region,monitor): add IsolatedDeviceTypeCount of host details (#21590) 2024-11-14 15:56:40 +08:00
屈轩
845799178d fix(region): allow disable default policy (#21585) 2024-11-14 14:42:21 +08:00
Zexi Li
bdc9d8e289 feat(host,monitor): 支持容器相关gpu设备监控采集 (#21588) 2024-11-14 14:23:25 +08:00
Jian Qiu
50344061ea fix: integrate opentsdb (#21589)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-11-14 10:25:32 +08:00
wanyaoqi
63db9fc8e4 fix(scheduler): numa memory more balance on with prefer nodes (#21580)
* fix(scheduler): numa memory more balance on with prefer nodes

* fix(host): host agent allocate numa node
2024-11-14 10:18:08 +08:00
Zexi Li
bfbef55f1a fix(host): remove pod with retry (#21583) 2024-11-13 17:45:39 +08:00
屈轩
85cbee58ae fix(region): add actual capacity used usage (#21572) 2024-11-12 11:34:45 +08:00
Zexi Li
2a90d185c3 fix(monitor): alert notification details (#21576) 2024-11-12 11:27:59 +08:00
屈轩
8d1d07184b fix(region): filter unused snapshot (#21561) 2024-11-12 11:15:58 +08:00
Zexi Li
4af0a0f231 fix(monitor): add metric content for email template (#21567) 2024-11-11 16:09:28 +08:00
Zexi Li
cfd80d3cd0 fix(host): 修复 container force stop 报错问题 (#21564) 2024-11-08 17:30:01 +08:00
Jian Qiu
dd848785ef fix: disable default dns domain cloud.onecloud.io (#21552)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-11-08 10:09:34 +08:00
wanyaoqi
735668d20c fix(scheduler,region,host): guest add alloc extra cpu (#21557) 2024-11-07 23:16:07 +08:00
Zexi Li
df5f753cd5 fix(region,host,hostdeployer): 支持添加 case_insensitive_paths (#21558) 2024-11-07 21:22:37 +08:00
屈轩
9ea44bbeb4 fix(region): dbinstance swagger api (#21553) 2024-11-07 15:17:10 +08:00
屈轩
76ad2043c3 fix(region): vendor update for gcp disk name length (#21554) 2024-11-07 15:00:24 +08:00
Jian Qiu
f42b4326a6 fix: telegraf kakfa ordered configuration (#21548)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-11-07 09:49:21 +08:00
屈轩
b3c9c85d2f fix(glance): image stream worker count (#21536) 2024-11-07 09:48:09 +08:00
Zexi Li
0b50b2134e feat(region,climc): server-set-root-disk-matcher (#21547) 2024-11-06 18:53:39 +08:00
Zexi Li
e53bb0f46f fix(monitor): 修复报警恢复时包含其他资源的问题 (#21539) 2024-11-06 18:52:03 +08:00
Zexi Li
3c598eca97 feat(region,host,climc): stop container forcely by kill parent process (#21535) 2024-11-06 11:07:50 +08:00
屈轩
a0acb81420 fix(notify): show pretty notify error (#21531) 2024-11-06 10:04:48 +08:00
wanyaoqi
0e7d28b76c fix(region,host): storage add master host (#21472) 2024-11-06 10:04:01 +08:00
wanyaoqi
2f7dbbd062 fix(region): mps device attach group by addr (#21526) 2024-11-06 09:47:31 +08:00
Zexi Li
a66d1a357a fix(region,host): server-stop 接口没有对处于 crash 状态的容器发关机请求 (#21534) 2024-11-05 20:15:49 +08:00
Zexi Li
66b3087e79 fix(host): desc of container server is not update when sync-config (#21530) 2024-11-05 17:50:15 +08:00
屈轩
d7a8c3c646 fix(monitor): add order index for monitor panel (#21527) 2024-11-05 17:31:37 +08:00
Zexi Li
c30125d4be feat(region,host,host-deployer,climc): support ext4 casefold feature disk (#21502) 2024-11-05 10:44:02 +08:00
Zexi Li
88ede626bf fix(host): losetup --nooverlap option (#21525) 2024-11-05 09:42:41 +08:00
Zexi Li
87126cebd9 feat(monitor): add system and processes host metrics (#21522) 2024-11-04 19:17:04 +08:00
Zexi Li
1f347597c7 fix(host): add default masked and read only paths (#21520) 2024-11-04 16:53:10 +08:00
屈轩
c0c84269c1 fix(region): vendor update for disable esxi swap (#21514) 2024-11-04 15:08:57 +08:00
Zexi Li
1194d677e4 fix(region): not set PrimaryZone when no dns_domain configured (#21510) 2024-11-04 12:39:46 +08:00
wanyaoqi
dc88d51d12 fix(region,scheduler,host): container numa aware (#21506)
- optimize host register isolated device update
- container device base try detect numa node
- container alloc numa memory
- calc numa distance before select isolated device

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2024-11-02 07:50:32 +08:00
Zexi Li
8d45dcf185 fix(host): return expectedStatus when json file content is empty (#21507) 2024-11-02 00:44:03 +08:00
Zexi Li
f38098eaaa feat(region,climc): add disable_limit_check for set-res-no-limit api (#21505) 2024-11-01 20:14:30 +08:00
Zexi Li
38b6493fa8 fix(host): 忽略 tar 打包出现文件变更的错误 (#21503) 2024-11-01 20:14:09 +08:00
Jian Qiu
5f1cc2c503 fix: disk filter by storage host (#21498)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-10-31 01:49:28 +08:00
Zexi Li
fc44dcea17 fix(host): 容器卡在 probing 状态 (#21497) 2024-10-30 16:02:15 +08:00
Jian Qiu
3b396966dc feature: kafka telegraf output options (#21493)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-10-30 12:06:54 +08:00
Zexi Li
cc0b8ce289 fix(host): 修复 dirty shutdown 机制和 reconcile 的冲突问题 (#21492) 2024-10-29 20:56:43 +08:00
屈轩
5f306f36cb fix(region): vendor update (#21489) 2024-10-29 18:26:06 +08:00
Zexi Li
bbc2186a52 feat(host): 支持容器运行时做备份 (#21488) 2024-10-29 16:22:40 +08:00
屈轩
3bd90f3c3c fix(region): file system set quota params (#21487) 2024-10-29 14:16:28 +08:00
Zexi Li
92fa0823f4 feat(region,host): support container cpuset_clone_children (#21484) 2024-10-29 11:31:35 +08:00
屈轩
2229f7c956 fix(region): cephfs set quota (#21482) 2024-10-28 18:20:51 +08:00
屈轩
895e6f8318 fix(region): 避免翻页查询导致公有云实例被误清除 (#21479) 2024-10-28 16:40:48 +08:00
wanyaoqi
6b03f5d648 fix(region): batch get isolated device spec (#21475) 2024-10-28 16:16:02 +08:00
屈轩
34bd50ed9d fix(region): purge manager quota (#21476) 2024-10-28 15:50:30 +08:00
Zexi Li
72f730c6be fix(host): not set container_exited status when do server-syncstatus (#21473) 2024-10-28 09:53:24 +08:00
Zexi Li
d86ef45c14 feat(webconsole): disable command recording defaultly (#21467) 2024-10-25 21:55:22 +08:00
Zexi Li
96b3b568bc feat(climc): support webconsole-container-exec (#21466) 2024-10-25 20:57:43 +08:00
Zexi Li
33b6715fa7 fix(host): 同步pod状态没有考虑容器被删除的情况 (#21465) 2024-10-25 20:42:07 +08:00
屈轩
6ed6d9791e fix(cloudmon): cloudpods metric sync (#21464) 2024-10-25 17:54:24 +08:00
Zexi Li
2089875015 fix(host): 重启时拉起容器 GuestStartWorker 出现排队 (#21459) 2024-10-25 10:38:48 +08:00
wanyaoqi
4313d1dca0 fix(region,host): ceph add enable messenger v2 options (#21445) 2024-10-25 10:16:20 +08:00
Zexi Li
2e07e9204c fix(host): adjust timeout for stopping container (#21458) 2024-10-24 20:35:33 +08:00
Zexi Li
df6645c487 feat(host): set container start and stop worker count to 1 defaultly (#21457) 2024-10-24 19:30:40 +08:00
Zexi Li
0b8ae5edb3 fix(host): add lock when attach loop device (#21453)
* fix(host): add lock when attach loop device

* fix(host): only using reconcileContainerLoop to manage containers
2024-10-24 16:09:20 +08:00
Zexi Li
9cdc4fd6bb fix(region,host): sync disk status to ready when rebuild_failed (#21451)
* fix(region,host): sync disk status to ready when rebuild_failed

* fix(host): support to retry when stopping container
2024-10-23 22:57:20 +08:00
屈轩
47ceee941f fix(region): vendor update (#21439) 2024-10-22 19:57:42 +08:00
Zexi Li
768c9f30b6 fix(host): 删除 server 时再次尝试从 cri 获取 id (#21442) 2024-10-22 13:33:24 +08:00
Zexi Li
4b417379f3 fix(host): use deadline context when stopping container (#21438) 2024-10-21 18:05:03 +08:00
Jian Qiu
a8b8c89117 fix: host bond slave nic should use permaddr as mac (#21432)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-10-20 14:42:00 +08:00
Jian Qiu
948b4e7194 fix: more verbose log (#21431)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-10-19 12:16:57 +08:00
Zexi Li
07ade2b60a fix(host): umount wrong path when detach loop device (#21430) 2024-10-18 17:06:08 +08:00
屈轩
3532416eef fix(region): support cloudpods secrule ops (#21427) 2024-10-18 16:47:56 +08:00
屈轩
141baa1096 Revert "fix(region): account probe lock" (#21424)
This reverts commit 7f90d38e5f.
2024-10-18 16:07:57 +08:00
Zexi Li
653304ae19 fix(readme): remove travis-ci build status link (#21423) 2024-10-18 10:57:47 +08:00
屈轩
dabfa8de08 fix(region): add interface field length (#21422) 2024-10-18 09:52:34 +08:00
Zexi Li
2f72980705 fix(region,host): fix crash_loop_back_off status when container stopped (#21417) 2024-10-16 18:12:40 +08:00
Zexi Li
a8a32fec9d fix(scheduler): avoid_same_host 策略分数过高导致调度分配不均 (#21413) 2024-10-16 10:23:06 +08:00
Jian Qiu
44339376fb fix: webconsole adb connection string (#21411)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-10-16 10:22:46 +08:00
Zexi Li
f25c054a31 fix(webconsole): ssh randomly exited error (#21407) 2024-10-14 14:46:59 +08:00
wanyaoqi
09e95bda7a fix(region): fix default network on get desc (#21396) 2024-10-14 12:36:09 +08:00
wanyaoqi
151c1783bc fix(host-deployer): update host-deployer-base to 1.4.9 (#21404) 2024-10-12 14:14:18 +08:00
wanyaoqi
462e7ed2cd fix(host-deployer): do not clean spool dir on save image (#21401) 2024-10-12 10:09:16 +08:00
wanyaoqi
331c5198d0 fix(host): set ssd disk default scheduler none (#21364) 2024-10-12 10:03:43 +08:00
wanyaoqi
9d25e4cd1c fix(host,glance): qemuimg convert optimize, allow write out of order and increase coroutines (#21375) 2024-10-12 10:01:54 +08:00
wanyaoqi
00b9afcbce feat(region,host,host-deployer): container disk support resize (#21398) 2024-10-12 09:58:28 +08:00
Zexi Li
ce050ca562 支持拉取容器认证镜像和相关问题修复 (#21394)
* feat(keystone,region,host): pull authed container image

* fix(region,host): record starting container failed message
2024-10-12 09:51:25 +08:00
屈轩
b1d0dc4e5f fix(region): storage conf update (#21390) 2024-10-11 18:04:48 +08:00
屈轩
941c49e854 fix(region): gcp security group check (#21386) 2024-10-11 17:53:47 +08:00
屈轩
6720135a84 fix(common): compatible metadata mod find (#21381) 2024-10-11 16:39:49 +08:00
屈轩
0a021351fc fix(region): filesystem sharable (#21377) 2024-10-11 16:28:12 +08:00
Zexi Li
c75c07a40d feat(apigateway): add rpc methods of scheduler for apigateway (#21380) 2024-10-10 19:07:51 +08:00
wanyaoqi
8e0507d002 fix(region): check disk is deleted on delete snapshot (#21369) 2024-10-09 21:49:47 +08:00
wanyaoqi
f426935888 fix(host): reconnect qga on failed exec qga commands (#21357) 2024-10-08 10:14:13 +08:00
Zexi Li
211a5de294 fix(host): ignore NotFound error when doing some operation to container (#21354) 2024-10-07 23:05:36 +08:00
cui fliter
060f6a65e8 fix: fix slice init length (#21346) 2024-10-07 21:41:07 +08:00
Zexi Li
cc94930e8a feat(host): restart pod and containers when crashed (#21348) 2024-10-06 11:09:23 +08:00
Zexi Li
5a5631a9a5 fix(region): container exited status checking (#21347) 2024-10-05 18:00:00 +08:00
Zexi Li
2e7b443ddc feat(region,host): start pod when container exited (#21258) 2024-10-03 20:07:52 +08:00
wanyaoqi
12d77b0ad8 fix(region,scheduler): allow req cpu count zero on allocate cpunumapin (#21343) 2024-10-03 20:02:38 +08:00
屈轩
207cb03076 fix(docs): update swagger api (#21332) 2024-10-01 08:50:40 +08:00
Jian Qiu
a8dd1b32e2 fix: cloud account filter revisit (#21339)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-10-01 08:49:30 +08:00
Zexi Li
4434556498 fix(host): always pull image when creating container (#21334) 2024-10-01 08:48:49 +08:00
Zexi Li
4927b088b5 fix(region,host): set timeout to 1s when stopping container (#21333) 2024-09-30 14:54:56 +08:00
屈轩
4d245f9be3 fix(host): rename cephfs id (#21331) 2024-09-30 11:15:34 +08:00
wanyaoqi
929b7cd230 fix(host): refact qga connection ops (#21338) 2024-09-29 22:53:35 +08:00
屈轩
35e479bb0c fix(host): cephfs usage (#21322) 2024-09-29 09:58:27 +08:00
Jian Qiu
cd2e2f9020 fix: host report ovs kmod version and ksm status (#21330)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-09-28 20:23:56 +08:00
Zexi Li
ed6063d2dd fix(region): make parseDeviceInfo error clear (#21326) 2024-09-28 18:35:22 +08:00
wanyaoqi
e005610391 fix(region): add hypervisor props on isolated device capabilites (#21321) 2024-09-27 10:53:46 +08:00
Jian Qiu
8d87390f72 fix: upgrade sqlite3 to 1.14.19 (#21320)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-09-27 07:18:35 +08:00
wanyaoqi
3dcacfc53c Automated cherry pick of #21313: Automated cherry pick of #21312: Automated cherry pick of #20996: fix(region,host): lvm snapshot delete and create from backup (#21316)
* fix(region,host): lvm snapshot delete and create from backup

* fix(host): slvm delete snapshot and save images

* fix(host): add option boot vga pci addr

* fix(host): slvm active exclusive mode on convert snapshot
2024-09-27 00:37:54 +08:00
wanyaoqi
06607d7698 fix(host): check qga is init on check qga runing (#21310) 2024-09-27 00:35:20 +08:00
Zexi Li
23e66119c4 fix(host): wrap lsof error when doing umount (#21307) 2024-09-26 18:20:37 +08:00
Zexi Li
d9b0331ec1 fix(host): pod volume usage panic (#21305) 2024-09-26 16:34:26 +08:00
Zexi Li
ccd5caa6ae fix(host): set container namespace options (#21302) 2024-09-26 14:04:59 +08:00
屈轩
e850764f31 fix(host): remove cephfs dir (#21299) 2024-09-26 09:47:34 +08:00
Zexi Li
318d679bff fix(host): wrap cephfs umount error (#21298) 2024-09-25 21:17:48 +08:00
Zexi Li
1d59817d6f fix(webconsole): close session when ssh session closed (#21295) 2024-09-25 17:15:26 +08:00
Zexi Li
d63648ae8f fix(webconsole): close session when ssh session closed (#21294) 2024-09-25 17:15:17 +08:00
屈轩
9a2e5d214d fix(region): vendor update for cephfs http (#21292) 2024-09-25 17:11:04 +08:00
Zexi Li
ab2dd4db55 feat(host): pod volume metrics (#21291)
* feat(host): pod volume metrics

* feat(host): add pod_netio for pod
2024-09-25 14:12:03 +08:00
wanyaoqi
8ba1d316d9 fix(host): container custom cpufreq (#21285) 2024-09-25 10:29:33 +08:00
屈轩
8a1a93b74d fix(region): filter cloudproviders by regional network zone (#21290) 2024-09-24 18:10:31 +08:00
Zexi Li
d07594faa4 feat(region,host): commit container to image repository (#21284) 2024-09-24 10:02:44 +08:00
屈轩
d252c8d682 fix(region): mount cephfs for pod (#21275) 2024-09-23 11:49:07 +08:00
Jian Qiu
8d11c682e4 fix: remove metadata server from host (#21281)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-09-21 22:52:45 +08:00
Zexi Li
449c1140ab fix(hostman): use losetup --json to match device (#21276) 2024-09-20 22:21:25 +08:00
屈轩
80d6aee90d fix(region): kvm user-data (#21238) 2024-09-20 20:41:31 +08:00
Zexi Li
dcd13a169c fix(hostman): stuck at probing status when syncing container status (#21274) 2024-09-20 20:17:58 +08:00
Zexi Li
6e42b181d3 fix(host): umount loop device path before detaching it (#21272) 2024-09-20 15:06:10 +08:00
Zexi Li
08b46b5f15 fix(host): recheck device after losetup detached (#21271) 2024-09-19 23:40:34 +08:00
屈轩
11efb6e405 fix(region): disk metadata with server (#21252) 2024-09-19 09:54:37 +08:00
Jian Qiu
7491bbbab0 fix: host build image use go 1.21 (#21263)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-09-19 03:20:01 +08:00
Jian Qiu
9155401d85 fix: update vendor 20240919 3.11 (#21261)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-09-18 23:08:02 +08:00
Jian Qiu
e7d15aca80 fix: update vendor 3.11 20240917, upgrade go to 1.21 (#21256)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-09-18 20:48:31 +08:00
Jian Qiu
d04b1250c8 fix: update vendor 20240916 (#21246)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-09-16 19:09:15 +08:00
Jian Qiu
09e9ffb004 fix: prevent access from anonymous user (#21242)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-09-14 19:36:40 +08:00
wanyaoqi
6acbf34d6b fix(region): guest without cpunumapin don't set params on save schedule result (#21235) 2024-09-14 10:11:43 +08:00
Guojie0922
186823b595 1、裸金属删除时,GuestUndeployTask会出现无法调用任务完成方法OnGuestUndeployComplete,导致任务卡住的情况 (#21079)
* 1、裸金属删除时,GuestUndeployTask会出现无法调用任务完成方法OnGuestUndeployComplete,导致任务卡住的情况
2、裸金属删除时,回调用baremetal-agent的sync-config接口不止一次,调用时出现请求参数没有传递server_id情况,导致在OnPXEBoot调用getServer时删除了baremetal的server信息,致使后面的DoEraseDisk方法报错

* 1、裸金属删除时,GuestUndeployTask onInit去掉host不为空时的SetStageComplete函数

---------

Co-authored-by: gj <gj@qq.com>
2024-09-13 14:36:47 +08:00
Zexi Li
f1e6622d94 feat(climc): add public/private command for k8s-container-registry (#21228) 2024-09-13 14:34:38 +08:00
屈轩
379a183f88 fix(cloudmon): vendor update for aws gcp cpu metric (#21225) 2024-09-13 11:58:15 +08:00
Zexi Li
468837cf81 feat(host,region): add disable_no_new_privs option for container (#21222) 2024-09-12 19:52:36 +08:00
Zexi Li
861717e8d6 feat(monitor): filter monitor_resource_alert by ip (#21221) 2024-09-12 11:01:21 +08:00
Zexi Li
0bd46675ef feat(host): add enable_container_cni_portmap option (#21202) 2024-09-12 10:05:38 +08:00
Zexi Li
6c14dbadb7 fix(moniotr): filter dirty resource alerts (#21217) 2024-09-12 10:05:23 +08:00
Zexi Li
e4fd6508c2 fix(climc): monitor-alert-test-run prints result error (#21212) 2024-09-11 20:04:40 +08:00
Zexi Li
d2f2d9ba77 optimized(monitor): keep 2 precision of reduced value (#21208) 2024-09-11 16:37:27 +08:00
屈轩
5186eb7605 fix(region): sync remove guest whith network address (#21199) 2024-09-10 14:25:21 +08:00
屈轩
44c1841950 fix(log): add offline export i18n (#21193) 2024-09-10 14:24:34 +08:00
Zexi Li
ce7cd84555 feat(apigateway): report k3s environment (#21196) 2024-09-10 14:24:02 +08:00
Jian Qiu
ace08bb52d fix: climc server-detach-network --force (#21190)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-09-10 09:58:18 +08:00
Zexi Li
4d8ecb6e12 optimized(apigateway): use ssh for climc pod cloud shell (#21186) 2024-09-09 16:03:18 +08:00
Zexi Li
d244ebf3da feat(region,host): ignore not exist files when disk backup (#21181) 2024-09-07 22:44:04 +08:00
屈轩
1537276992 fix(cloudid): cloud policy sync (#21172) 2024-09-06 11:48:52 +08:00
Zexi Li
893050b2a5 fix(region,host): validate and umount container's backup tar file (#21179) 2024-09-06 11:45:10 +08:00
wanyaoqi
ac9e28d02e fix(host-deployer): update host-deployer-docker base (#21178) 2024-09-06 11:25:56 +08:00
Jian Qiu
629203917b feature: allow generate name with a randome string (#21175)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-09-06 09:37:03 +08:00
Zexi Li
5c70df90d7 fix(monitor): support or filter of query (#21170) 2024-09-05 20:10:24 +08:00
Zexi Li
e3598bceab feat(region,host): set container resources limit (#21165) 2024-09-05 10:13:03 +08:00
Jian Qiu
09fd240157 fix: change bandwidth without sync to host (#21166)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-09-05 10:12:30 +08:00
屈轩
da2d414b8a fix(region): disk update disk type (#21159) 2024-09-04 10:44:18 +08:00
wanyaoqi
32a3fdf246 fix(host): rbd save image use /opt/cloud temp dir (#21155) 2024-09-04 10:43:44 +08:00
wanyaoqi
50c0fec15c fix(region): allow contailer host update numa cpu allocate with guests running (#21163) 2024-09-03 17:46:05 +08:00
Zexi Li
bcc3b6769c fix(climc): hostlocal server type for network-create (#21151) 2024-09-03 14:41:24 +08:00
Jian Qiu
f0089b6ba8 fix: telegraf config file format error (#21144)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-09-03 11:02:49 +08:00
屈轩
643bd83f81 fix(region): sync worker hashring (#21126) 2024-09-02 20:07:49 +08:00
Zexi Li
8564725845 optimize(host): wrap updateOrCreateHost error (#21142) 2024-09-02 13:28:38 +08:00
wanyaoqi
4ea3d11140 fix(region): allow guest create on cannot detect image props (#21139) 2024-09-02 10:18:51 +08:00
Zexi Li
f6817bd6e2 fix(host): duplicated port allocation (#21137) 2024-09-02 10:18:11 +08:00
Jian Qiu
8d027b070a fix: update vendor for dameng TEXT_EQUAL (#21134)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-09-01 20:18:52 +08:00
Jian Qiu
c451b7a2a1 fix: migrate ipv6 routes from physical interface to bridge (#21133)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-09-01 20:16:59 +08:00
Zexi Li
9ad5c1d170 fix(monitor): delete default group by and mean aggregator (#21117) 2024-08-29 10:03:57 +08:00
Zexi Li
2337789041 fix(climc): host-ssh is not working (#21111) 2024-08-27 16:25:10 +08:00
Zexi Li
4176834c5a fix(monitor): skipCheckSeries when aggregator is sum (#21107) 2024-08-27 10:41:14 +08:00
屈轩
d1f363b5d0 fix(region): sync aliyun gtm and aws traffic policy address (#21102) 2024-08-26 20:55:12 +08:00
Zexi Li
3300a205a3 fix(monitor): only show MEAN and SUM aggregators (#21100) 2024-08-26 17:40:07 +08:00
wanyaoqi
5421f37031 fix(host): nbd worker count add options (#21096) 2024-08-26 17:29:08 +08:00
屈轩
4b348380a9 fix(region): set security group domain id (#21086) 2024-08-26 17:26:35 +08:00
Jian Qiu
077e7975f2 fix: host save host_local net confs in file (#21090)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-08-24 19:44:15 +08:00
Zexi Li
4d82d59355 feat(host): start dirty shutdown pod and container (#21045)
* feat(host): start dirty shutdown pod and container

* feat(host): control dirty guests recovery and auto started feature
2024-08-23 12:18:34 +08:00
Jian Qiu
70721260fe fix: extend query with metadata field (#21082)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-08-23 11:30:16 +08:00
Zexi Li
4e7b9664b8 fix(region): set container probe_failed status when exited (#21081) 2024-08-23 10:19:48 +08:00
Zexi Li
ac05ef7b79 fix(monitor): container host alerting is not working (#21080) 2024-08-22 20:42:07 +08:00
Zexi Li
448f053b5f fix(host): skip-verify of using ctr images pull (#21078) 2024-08-22 17:28:32 +08:00
Zexi Li
b22437d6fe feat(monitor): result reducer for query result (#21077) 2024-08-22 15:44:02 +08:00
Zexi Li
ef2e14c584 optimze(baremetal): dhcp prefix hints (#21074) 2024-08-22 15:27:26 +08:00
屈轩
c6f9773eeb fix(region): filter eips by associated (#21065) 2024-08-21 10:50:51 +08:00
Zexi Li
d1e91ac543 optimize(region,host): add details error message when adding net interface (#21063) 2024-08-20 18:39:08 +08:00
Zexi Li
7ffce9e1b4 fix(region): add probing status for createdStatus of pod_create_task (#21058) 2024-08-19 21:33:28 +08:00
Zexi Li
234a9f6da0 fix(climc): add VALID_CONTAINER_DEVICE_TYPES for isolated device parser (#21057) 2024-08-19 15:03:55 +08:00
Jian Qiu
61e0c4d3eb fix(host): migrate slave addresses and routes from physical nic to bridge (#21044)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-08-19 10:23:34 +08:00
Jian Qiu
fb02ec32f3 fix: climc command to public/private dns-zone (#21053)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-08-19 10:17:47 +08:00
屈轩
d9be428813 fix(cloudmon): 避免cloudmon任务堆积导致大量请求 (#21046) 2024-08-19 10:13:05 +08:00
wanyaoqi
eda4801002 fix(region): ping detect add host type container (#21056) 2024-08-19 10:12:45 +08:00
Zexi Li
339e424a77 feat(host): set cgroup pids.max of container (#21051) 2024-08-16 19:44:57 +08:00
wanyaoqi
9d7fc0c191 fix(region): try recover image cache on guest migrate (#21028) 2024-08-16 10:30:11 +08:00
wanyaoqi
d1019ff0eb fix(region,host,host-deployer): deploy guest ssh port add lock (#21039)
* fix(host): check nodes count on alloc cpuset

* fix(host-deployer): get ssh port add lock

* feat(region): guest clone add prefer host
2024-08-16 09:56:28 +08:00
Zexi Li
52f13e3ad9 feat(host): start and stop container in worker (#21038) 2024-08-15 20:24:11 +08:00
Zexi Li
addbcbe0d1 feat(region,host): startup probe of container (#21011) 2024-08-15 10:46:39 +08:00
Zexi Li
42e210861c fix(host): ignore nil host_port of portmapping error (#21025) 2024-08-15 10:42:54 +08:00
Jian Qiu
ca8398dca3 fix: register metadatas for identity and glance (#21032)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-08-15 09:38:17 +08:00
Jian Qiu
5c97cf6fda fix: filter islated devices capability info by zone (#21033)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-08-15 09:37:26 +08:00
Jian Qiu
7dfb5fb686 fix: support keylike search (#21029)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-08-15 09:35:59 +08:00
Zexi Li
350446b90a fix(readme): TLS certificates typo (#21024) 2024-08-14 17:07:29 +08:00
Zexi Li
6f19586840 feat(climc): feature-config-pod (#21021) 2024-08-14 15:22:02 +08:00
Jian Qiu
eb35b258dc fix: allow enable auto alloc for host-local net (#21012)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-08-14 11:40:23 +08:00
屈轩
1d1bdc2c96 fix(region): sync kvm secgroup status (#21016) 2024-08-14 11:37:21 +08:00
Zexi Li
b46783f94f fix(baremetal): ignore 0.0.0.0 ipmi address when probing (#21009) 2024-08-13 17:43:39 +08:00
Zexi Li
7f65fa57dc fix(host): unmount target busy device of container (#21002) 2024-08-13 10:10:32 +08:00
屈轩
1d89751644 fix(region): custom total count (#20998) 2024-08-12 15:47:53 +08:00
屈轩
33cc44405c fix(region): vendor update (#20992) 2024-08-12 09:52:16 +08:00
Jian Qiu
d8dc36ddc2 fix: fail to delete pod not found at host (#20991)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-08-12 09:35:42 +08:00
Zexi Li
33da931b74 feat(host,region): support vastaitech gpu for container (#20987) 2024-08-12 09:33:50 +08:00
wanyaoqi
b4861abe59 fix(host): isolated device probe closure reference for range val (#20988) 2024-08-09 16:17:55 +08:00
屈轩
48fb20150a fix(region): auto clean invalid cached images (#20804) 2024-08-09 09:41:46 +08:00
wanyaoqi
0e5d5c6366 fix(region): validate guestdisk cache/io mode on upadte (#20986)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2024-08-09 09:41:25 +08:00
wanyaoqi
80cf7af75d fix(host): clean image cache check local reference (#20952) 2024-08-09 09:40:28 +08:00
wanyaoqi
8d05cf2067 Fix/contaier alloc cpuset optimize sync isolated device (#20980)
* fix(region): optimize sync isolated devices

* fix(region,host): allocate cpuset for container
2024-08-09 09:39:47 +08:00
屈轩
1d1f3ba586 fix(region): vendor update for lb backend sync (#20973) 2024-08-07 18:50:17 +08:00
屈轩
26055fad20 fix(region): send notify when vpc or network created (#20927) 2024-08-07 11:54:49 +08:00
屈轩
5b79800ff2 fix(region): show status info with list api (#20941) 2024-08-07 11:53:26 +08:00
Zexi Li
9181b289c6 feat(region,host): inject host ips as container environment variables (#20965) 2024-08-06 11:00:01 +08:00
Zexi Li
3ac159eae0 feat(region): select isolated_device by most unused device_path count (#20964) 2024-08-06 10:15:42 +08:00
wanyaoqi
5c8802461d fix(host-deployer): add cpu mem hotplug udev rules (#20963) 2024-08-06 09:07:25 +08:00
wanyaoqi
b207c9ae74 fix(host): too much qga ping logs (#20959) 2024-08-05 14:47:53 +08:00
Zexi Li
283bf5894c feat(host): cpuset for container of pod (#20949) 2024-08-02 17:39:31 +08:00
wanyaoqi
3f9398dbe7 fix(region,scheduler): sub pending usage on select cpu numa pin (#20946)
- reset guest cpu numa pin before start guest
- sub pending usage on select cpu numa pin
- hypervisor pod record pending usage
- add core:threads pair allocate, use same core threads first

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2024-08-02 10:22:40 +08:00
wanyaoqi
39b7ce5864 fix(region): cpu numa pin guest sched start (#20937) 2024-07-31 21:36:09 +08:00
Zexi Li
1eb6405e75 fix(monitor): no alert_details in nodata monitor_resource_alert (#20936) 2024-07-31 13:47:25 +08:00
wanyaoqi
111b8ed678 feat(region,host,scheduler): scheduler support allocate cpu numa pin (#20932) 2024-07-30 19:10:38 +08:00
Zexi Li
cb7f6e58b1 feat(monitor): multiple alerts of resource (#20923) 2024-07-30 16:15:47 +08:00
屈轩
115a09dcbb fix(cloudmon): 避免产生大量操作日志 (#20918) 2024-07-30 14:41:48 +08:00
屈轩
926bfdddd5 fix(region): vendor update (#20909) 2024-07-30 09:32:23 +08:00
Zexi Li
909b5848cd fix(monitor): add pps_sent/recv metric for query (#20914) 2024-07-29 20:58:47 +08:00
Jian Qiu
7d3006c253 fix: opsadmin deny host perform login-info (#20903)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-07-29 13:21:00 +08:00
屈轩
7196f36a1e fix(keystone): change user mobile field character set to utf8 (#20898) 2024-07-27 13:49:52 +08:00
Zexi Li
ecd0596147 fix(mointor): multiple duplicated message (#20892) 2024-07-25 15:27:09 +08:00
wanyaoqi
e569326b83 feat(regin,host,host-deployer): qga deploy and fsdriver (#20864)
- host-deployer add deploy qga support
- host add qga partition fsdriver
- qga set network use fsdriver
- hostpinger sync qga status
2024-07-25 11:50:05 +08:00
屈轩
262900d9dc fix(cloudid): cloudid resource sync worker (#20876) 2024-07-25 11:18:57 +08:00
Zexi Li
1b987e66e0 feat(webconsole): add secret_level property inside query data (#20883) 2024-07-24 17:41:27 +08:00
屈轩
8c077ae151 fix(region): keypair id typo (#20872) 2024-07-24 14:35:24 +08:00
wanyaoqi
c045f8878c Automated cherry pick of #20852: fix(region,host): slvm disk create use guest host lvm disk create from backup (#20855)
* fix(region): slvm disk create use guest host

* fix(host): lvm disk create from backup
2024-07-22 15:13:31 +08:00
Zexi Li
be0ebd0aed feat(apigateway): report docker-compose-baremetal running environment (#20866) 2024-07-22 15:11:50 +08:00
Zexi Li
23a63a3a36 feat(monitor): add inodes_used_percent metric (#20850) 2024-07-20 11:58:25 +08:00
屈轩
b998339682 fix(region): host nic info (#20859) 2024-07-20 11:55:44 +08:00
Zexi Li
373d575eb8 fix(README): link installation content to cloudpods.org (#20842) 2024-07-19 09:58:54 +08:00
Zexi Li
1f3bc0ad6c feat(monitor): update influxql-to-metricsql@v0.0.7 to support percentile aggregator (#20836) 2024-07-17 22:59:20 +08:00
屈轩
f4c87d3213 fix(region): add storage name for snapshot (#20827) 2024-07-17 22:55:26 +08:00
屈轩
b302cab444 fix(region): support baremetal server as lb backend (#20837) 2024-07-17 22:53:55 +08:00
屈轩
f891089cb9 fix(region): vendor update for qcloud lb backend sync (#20822) 2024-07-17 14:17:14 +08:00
屈轩
dda0960869 fix(cloudid): distinct field for cloudid resources (#20818) 2024-07-17 10:12:45 +08:00
Jian Qiu
c8512e9da4 fix: always add static routes for metadata server (#20806)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-07-17 10:06:44 +08:00
屈轩
643be92fa4 fix: add telegram group info (#20803) 2024-07-16 11:20:37 +08:00
屈轩
b765228408 fix(region): check user credential length when exec task (#20791) 2024-07-16 11:19:55 +08:00
Zexi Li
910c3e09a9 feat(host): add interface meta tags of netio metrics (#20780) 2024-07-12 10:18:27 +08:00
Zexi Li
4f4400bc41 feat(region,baremetal): validate ipmi info (#20787) 2024-07-12 10:17:37 +08:00
屈轩
1d79f32c4d fix(notify): avoid empty email addr (#20797) 2024-07-12 10:10:22 +08:00
屈轩
979c1d2c0e fix(region): vendor update (#20800) 2024-07-12 10:09:52 +08:00
Zexi Li
b66d955fe9 fix(baremetal): some tasks don't implement IServerBaseDeployTask interface (#20786) 2024-07-10 16:15:46 +08:00
屈轩
cc2930e86b fix(region): optimized host-list speed (#20771) 2024-07-10 16:14:06 +08:00
屈轩
2ebf42fa22 fix(region): optimized guest list speed (#20725) 2024-07-10 16:12:09 +08:00
wanyaoqi
c43c9e969e fix(host): disk reset with encryption (#20766) 2024-07-10 16:10:57 +08:00
屈轩
f4568b2ef1 fix(region): show pretty cdrom info for server (#20775) 2024-07-10 16:09:41 +08:00
Zexi Li
25a41453cf fix(scheduler,baremetal): match RAID and PCIE storages in range (#20770)
The index of PCIE storages is not reindex when range is provided.
2024-07-09 11:12:27 +08:00
屈轩
951115b787 fix(region): 避免非OneCloud区域capability依然返回OneCloud相关字段 (#20732) 2024-07-09 11:10:58 +08:00
屈轩
d5432e8e5a fix(region): enable create cloudpods vm with iso image (#20731) 2024-07-08 21:31:42 +08:00
屈轩
669544c5c5 fix(notify): avoid panic when mobile not set (#20743) 2024-07-08 21:31:00 +08:00
Jian Qiu
3b46c7ba77 fix: turn on ethtool gso by default (#20752)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-07-08 21:29:43 +08:00
Jian Qiu
268212def1 fix: server update nic sub ips (#20756)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-07-08 17:25:13 +08:00
屈轩
10656d1a6c fix(scheduler): 修复cloudpods宿主机网络调度问题 (#20750) 2024-07-08 10:51:52 +08:00
屈轩
f05728813b fix(climc): auto enable storage when switch s3 on (#20726) 2024-07-07 09:03:55 +08:00
Jian Qiu
feb4604a22 fix: fail to perform host remove netif (#20740)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-07-07 09:03:09 +08:00
屈轩
3b5f8dfe16 fix(region): 补充部分翻译 (#20730) 2024-07-07 09:01:00 +08:00
屈轩
28e322427a fix(region): vendor update for support gcp global lb sync (#20711) 2024-07-05 16:23:06 +08:00
wanyaoqi
b69ca75203 fix(region,host): lvm snapshot reset and backup (#20721)
- fix lvm disk reset request hosts wrong, should reset on guest hosts
- add lvm disk snapshot failed handle
- support lvm disk backup
- lvm disk snapshot add encrypt support
2024-07-05 13:50:06 +08:00
屈轩
6160fd22bd fix(region): gcp global eip and lb (#20735) 2024-07-05 13:44:44 +08:00
屈轩
e78e53aa45 fix(region): avoid delete lb failed (#20708) 2024-07-05 12:37:56 +08:00
屈轩
84eb0c2f7a fix(region): 简化清理未使用的安全组 (#20722) 2024-07-05 11:03:05 +08:00
Jian Qiu
5b8ee19094 fix: normalize sftp errors (#20703)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-07-03 21:11:15 +08:00
wanyaoqi
dd49b1e5a6 fix(scheduler): optimize get guests by hosts ids (#20702) 2024-07-02 00:17:39 +08:00
wanyaoqi
c96a007c34 fix(region,host): migrate converted servers (#20699) 2024-07-02 00:16:09 +08:00
wanyaoqi
ec789a3b69 feat(host): support run guest with qemu 9.0.1 (#20693)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2024-07-02 00:14:52 +08:00
屈轩
01e9b4a939 fix(region): security group rule create (#20694) 2024-07-01 11:31:33 +08:00
Jian Qiu
44183fb021 feature: support baremetal profile (#20687)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-06-30 22:22:45 +08:00
屈轩
c333a80cfa fix(region): support use cached iso image for create cloudpods vm (#20685) 2024-06-30 22:22:07 +08:00
屈轩
67332c2e78 fix(region): support eip search (#20682) 2024-06-28 15:58:41 +08:00
屈轩
85e75c0e24 fix(region): cloudpods instance capability (#20680) 2024-06-28 15:05:03 +08:00
屈轩
ae77203039 fix(log): add rate log type (#20677) 2024-06-28 14:49:24 +08:00
屈轩
97f5e113fd fix(keystone): remove useless log (#20675) 2024-06-28 14:39:09 +08:00
Zexi Li
0f635ee773 feat(region): release GPU when shutdown_behavior is stop_release_gpu (#20674) 2024-06-28 11:15:52 +08:00
wanyaoqi
2e4281c99a fix(region): login account allow startwith capital letter (#20671) 2024-06-27 20:50:33 +08:00
wanyaoqi
8375b14421 fix(region): convert to kvm overwirte networks (#20668) 2024-06-27 20:39:24 +08:00
屈轩
75e263dca8 fix(region): vendor update for qcloud tencentos server (#20662) 2024-06-27 15:39:02 +08:00
wanyaoqi
e2f2a44cbd feat(region): add batch convert precheck (#20660)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2024-06-26 21:20:30 +08:00
wanyaoqi
433cfdd2d5 fix(host): delete snapshot on guest deleted (#20641) 2024-06-26 21:18:43 +08:00
Zexi Li
c6b655ab3f fix(climc,webconsole): use OS_AUTH_TOKEN for cloud shell running inside compose environment (#20650) 2024-06-26 12:12:22 +08:00
屈轩
cb4ebdc53d fix(region): waf regexset fetch error (#20645) 2024-06-26 11:18:01 +08:00
屈轩
720c45b588 fix(region): vendor update for qcloud nat sync (#20637) 2024-06-25 15:56:38 +08:00
屈轩
23589be7b5 fix(region): esxi onecloud driver (#20635) 2024-06-25 15:31:53 +08:00
Zexi Li
3c2e94ac8a optimize(glance): wrap error of saving image (#20634) 2024-06-25 14:21:38 +08:00
Jian Qiu
60f1dbf20e fix: vmware probe host networks (#20625)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-06-25 11:03:50 +08:00
wanyaoqi
0f89ff9a2f fix(region): scheduler forecast before convert to kvm (#20610) 2024-06-25 11:03:06 +08:00
wanyaoqi
dff81fa871 fix(glance): sync service options after vmware detected (#20607) 2024-06-25 11:00:05 +08:00
wanyaoqi
303b8ed1f1 Automated cherry pick of #20594: Fix/deploy reset password support loginaccount (#20595)
* fix(host): lvm resize add encrypt support

* fix(region): deploy reset password add loginaccount
2024-06-25 10:56:54 +08:00
屈轩
03ad430f01 fix(region): vendor update for qcloud nat capability (#20629) 2024-06-25 10:53:35 +08:00
屈轩
e0d8b3d512 fix(region): natgateway api upgrade (#20622) 2024-06-24 14:59:38 +08:00
Zexi Li
6434ac2876 fix(monitor): add difference tags for each series (#20618) 2024-06-22 22:05:51 +08:00
Zexi Li
81faf84bbc fix(apigateway): compose environment without k8s service (#20617) 2024-06-21 16:38:27 +08:00
Zexi Li
7c22521e48 fix(logger): add rejected action i18n translation (#20603) 2024-06-20 15:02:30 +08:00
屈轩
f01b9fb82b fix(region): auto rename when change resource owner with same name (#20591) 2024-06-20 14:04:46 +08:00
Jian Qiu
a6ccf0a7dd fix: clone dashboard parameters (#20587)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-06-20 07:54:02 +08:00
wanyaoqi
799c113634 fix(region): allow kvm vmware reuse network address (#20586)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2024-06-20 06:28:20 +08:00
Jian Qiu
c4dfd8e97b fix: webconsole adb shell choose access ip (#20583)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-06-20 06:27:45 +08:00
Zexi Li
afa5334f65 feat(monitor): add reducer of AlertRecordRule (#20581) 2024-06-19 19:20:02 +08:00
Zexi Li
7ca5ec8630 feat(log): add i18n consts for itsm service (#20576) 2024-06-19 15:35:16 +08:00
Jian Qiu
8d93558aed fix: add predefined log policy (#20113)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-06-19 09:32:33 +08:00
Zexi Li
b12f184551 fix(host-deployer): ignore fatal exit when host.conf not exists (#20558) 2024-06-18 20:26:44 +08:00
屈轩
8d55f7cf5d fix(region): account region id optional (#20566) 2024-06-18 20:18:53 +08:00
屈轩
d01103df1f fix(region): pve driver (#20568) 2024-06-18 19:58:19 +08:00
屈轩
c4c5532e37 fix(region): cloudpods hypervisor (#20561) 2024-06-18 15:38:36 +08:00
屈轩
f343dc1530 fix(climc): add service choices for worker-list (#20556) 2024-06-17 20:44:27 +08:00
屈轩
9eef13609b fix(webconsole): sangfor vnc (#20562) 2024-06-17 20:43:49 +08:00
屈轩
a31c6f961d fix(region): qcloud permission (#20553) 2024-06-17 14:24:56 +08:00
Zexi Li
e36aa47cb8 feat(webconsole): add server name as prefix of instance name for container (#20552) 2024-06-17 11:27:11 +08:00
屈轩
1a0cfe82b3 fix(region): sangfor vm status (#20550) 2024-06-17 11:18:34 +08:00
Jian Qiu
410b5b7d70 fix: cleanup compute options 20240615 (#20547)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-06-17 00:42:02 +08:00
wanyaoqi
4a59da5894 fix(region): convert to esxi fill network params (#20494)
Deploy converted guest after guest created
2024-06-17 00:41:49 +08:00
wanyaoqi
ddee083efa fix(region,host): isolated device batch sync (#20537) 2024-06-16 23:06:36 +08:00
wanyaoqi
573fb2a77f fix(region): insert iso sync guest status (#20542) 2024-06-16 23:00:35 +08:00
Jian Qiu
d14fdede75 fix: port mapping remote ip allow cidr prefix (#20546)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-06-16 22:58:50 +08:00
Jian Qiu
2d07eeef24 fix: task table columns nullable (#20517)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-06-14 19:34:42 +08:00
Zexi Li
ad4d0abd41 feat(region): add container info into server details (#20544) 2024-06-14 19:19:12 +08:00
Jian Qiu
f88f91eab9 fix: enable image cache cleanup by default (#20530)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-06-14 18:13:35 +08:00
Zexi Li
2c74d3f700 fix(host): inject port_mapping environment from nic (#20539) 2024-06-14 17:55:10 +08:00
Jian Qiu
737361ccab fix: update model api (#20534)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-06-14 15:59:23 +08:00
Zexi Li
ec0f619cf8 fix(apigateway): container log and exec (#20526) 2024-06-13 20:47:19 +08:00
屈轩
b8b0d3dba5 fix(region): support sangfor (#20524) 2024-06-13 20:32:21 +08:00
gouqi11
b3ca5c7be7 fix(notify): add mobile verify (#20519)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-06-13 18:59:37 +08:00
Zexi Li
e31af6894e feat(climc,apigateway): pod and container log (#20523) 2024-06-13 18:13:01 +08:00
Zexi Li
41e3ff1859 feat(host): container log (#20513) 2024-06-13 15:28:52 +08:00
Zexi Li
0b85e31489 feat(climc): update port_mappings of server network (#20518) 2024-06-13 11:05:57 +08:00
Zexi Li
15cc91cd4e feat(climc): migrate pod port_mappings to guestnetwork (#20515) 2024-06-11 19:58:08 +08:00
Zexi Li
66b9bb3441 feat(region): guestnetwork port mappings (#20516) 2024-06-11 18:17:10 +08:00
gouqi11
a62f9b8486 fix(notify): fix mobile validate (#20509)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-06-11 14:17:06 +08:00
屈轩
ad5ae93ac3 fix(region): reset password for cloudpods baremetal (#20485) 2024-06-07 15:06:22 +08:00
wanyaoqi
cdd59775c7 fix(host): parse qga command and args (#20505) 2024-06-07 15:03:25 +08:00
wanyaoqi
c9c2b277d8 fix(host-deployer): extend volume before extend filesystem (#20500) 2024-06-06 13:34:25 +08:00
Zexi Li
bf67b58b7b fix(region): container is not started when pod's flavor changed (#20488) 2024-06-06 10:03:44 +08:00
Jian Qiu
9385e68109 fix: disk backup details missing components (#20495)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-06-06 09:52:52 +08:00
屈轩
c4b2b2fda2 fix(region): cloudpods baremetal rebuild root (#20483) 2024-06-05 11:10:00 +08:00
Jian Qiu
468edc66b2 fix: disk rebuild with parameters (#20481)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-06-05 09:28:51 +08:00
Zexi Li
83a96ef8f2 feat(region,baremetal,climc): support baremetal root disk matcher (#20480) 2024-06-05 00:17:30 +08:00
屈轩
f1d6aa8e5a fix(region): update cachedimage limit (#20471) 2024-06-04 20:41:38 +08:00
屈轩
f0924b413b fix(baremetal-agent): avoid dead lock (#20475) 2024-06-04 18:04:37 +08:00
屈轩
81222be274 fix(keystone): show user group info for user (#20467) 2024-06-04 14:58:40 +08:00
屈轩
dd66d16d4b fix(region): sync cloudpods host storage driver (#20465) 2024-06-04 14:46:30 +08:00
Jian Qiu
71bd7251bb fix: disable webconsole watermark by default (#20460)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-06-04 00:48:30 +08:00
屈轩
5a036c141e fix(keystone): avoid sync remove disabled ldap user (#20436) 2024-06-04 00:47:43 +08:00
wanyaoqi
44fc6f40fd fix(host-deployer): deploy telegraf systemd service type simple (#20456) 2024-06-03 19:50:59 +08:00
Zexi Li
b79cb28f7e feat(region,climc): support backup_id option for disk-rebuild command (#20459) 2024-06-03 19:39:24 +08:00
wanyaoqi
28b6ea72e3 fix(host-deployer): split guest dns by comma (#20448) 2024-06-03 19:14:33 +08:00
屈轩
b58ad3293f fix(keystone): enable user (#20453) 2024-06-03 18:06:56 +08:00
屈轩
0f4d14d62f fix(region): sync waf ssl and cc list (#20445) 2024-06-03 16:01:23 +08:00
Jian Qiu
c12f7fdb3e fix: missing goarch env (#20441)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-06-03 11:33:38 +08:00
Zexi Li
fd14d75b34 fix(host): delete container snapshot panic (#20440) 2024-06-03 09:51:14 +08:00
Zexi Li
fdfd90d51a fix(host): bind mount regular file when backing up volume mount of pod (#20439) 2024-06-01 22:33:53 +08:00
Zexi Li
f9fa7ba4fa feat(monitor): remove precision of float when using max or min function (#20429) 2024-06-01 20:40:45 +08:00
屈轩
f3e4f3b0d0 fix(keystone): avoid panic (#20433) 2024-06-01 17:47:51 +08:00
wanyaoqi
b29390d0e6 misc: disable cgo by default (#20423)
* misc: disable cgo by default

* fix(host): container isolated device skip get numa node
2024-05-31 19:00:37 +08:00
wanyaoqi
c2a302e2f8 fix(region): storagecacheresource panic on FetchCustomizeColumns (#20425) 2024-05-31 17:51:50 +08:00
gouqi11
90cea2d24d fix(notify): message add medium tag (#20419)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-05-31 10:39:10 +08:00
Jian Qiu
da96c1d6ad fix: haproxy check parammeters with default value (#20415)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-31 10:18:37 +08:00
wanyaoqi
cf48918ca3 feat(region,host,scheduler): container ascend npu isolated device (#20411) 2024-05-31 00:11:16 +08:00
屈轩
6112c348bf fix(region): oracle storage should be emulated (#20412) 2024-05-30 20:40:13 +08:00
Jian Qiu
ca5fa2de11 fix: task obj_name rename to obj_type (#20410)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-30 20:11:04 +08:00
Jian Qiu
3ba9b14c4c fix: glance import xz compressed images (#20407)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-30 19:18:25 +08:00
Zexi Li
a9d3411c12 fix(host): ensure cri pod removed (#20406) 2024-05-30 18:00:36 +08:00
Jian Qiu
0b086190c3 fix: mv filterclause from pkg to onecloud (#20401)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-30 15:42:02 +08:00
Zexi Li
618c1a059a feat(webconsole,apigateway): display info for container exec (#20403) 2024-05-30 15:16:06 +08:00
wanyaoqi
a6a1c410e3 fix(region,host): slvm default deactivate on hosts (#20383) 2024-05-30 15:04:12 +08:00
gouqi11
79be391449 fix(notify): change receiver owner (#20251)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-05-30 11:46:59 +08:00
Zexi Li
404914b761 feat(climc): feature config (#20396) 2024-05-30 10:48:29 +08:00
屈轩
e7889a6209 fix(region): vendor update for web app ip addr sync (#20391) 2024-05-29 18:36:46 +08:00
屈轩
85427c180a fix(region): vendor update (#20388) 2024-05-29 17:55:59 +08:00
Zexi Li
c944cceee6 fix(host): wrap disk probed error (#20384) 2024-05-29 17:43:56 +08:00
Jian Qiu
8abda21433 fix: task improvements (#20379)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-29 14:41:21 +08:00
Zexi Li
d8c4a28b77 feat(region,host,climc): container exec sync (#20377) 2024-05-28 19:27:56 +08:00
Zexi Li
8a0c2d357b fix(monitor): detach alert (#20373) 2024-05-28 09:59:49 +08:00
Zexi Li
6294744a43 fix(monitor): multiple monitor resource alert (#20365) 2024-05-27 15:44:32 +08:00
屈轩
c900efe3c3 fix(region): vendor update for sqlchemy click decimal field (#20361) 2024-05-27 10:02:55 +08:00
屈轩
803584d548 fix(region): distinct fields (#20356) 2024-05-24 20:18:49 +08:00
Jian Qiu
a216a37d32 fix: allow update network server_type (#20351)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-24 15:15:28 +08:00
Zexi Li
f348c04d56 fix(climc): add args option for container/pod-exec (#20352) 2024-05-24 15:15:06 +08:00
Jian Qiu
152b00d2d5 fix: support host local network (#20349)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-24 12:20:39 +08:00
Zexi Li
6caff3a0c6 feat(region,host): backup as tar file (#20342) 2024-05-24 12:20:29 +08:00
Jian Qiu
b2b415ed49 fix: secgroup init rule CIDR should be empty for both ipv4 and ipv6 (#20348)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-24 10:50:10 +08:00
屈轩
242f275fee fix(region): account read only (#20343) 2024-05-24 10:00:41 +08:00
屈轩
fabf280860 fix(region): vendor update for waf info sync (#20338) 2024-05-22 20:37:40 +08:00
屈轩
5895ead7c4 fix(region): support organization (#20336) 2024-05-22 19:12:14 +08:00
Zexi Li
b74138b138 feat(host): pull image by using ctr tool (#20328) 2024-05-22 11:46:36 +08:00
屈轩
f697004b7a fix(region): currency rate exchange (#20333) 2024-05-21 19:21:56 +08:00
屈轩
2b4adf65ec fix(region): sync public ip convert eip (#20325) 2024-05-21 15:36:30 +08:00
屈轩
e88168aefc fix(region): vendor update for aliyun waf (#20329) 2024-05-21 15:19:14 +08:00
gouqi11
9d2ba7c8e3 fix(region): parent task id is not primary key (#20261) (#20208)
Co-authored-by: 屈轩 <qu_xuan@icloud.com>
2024-05-21 15:14:21 +08:00
屈轩
b651a55a0a fix(region): add currency rate exchange (#20319) 2024-05-20 14:51:22 +08:00
屈轩
c64bea6a0e fix(scheduler): cloudprovider predicate (#20312) 2024-05-20 11:52:47 +08:00
Zexi Li
276629ab89 feat(monitor): container metrics (#20311) 2024-05-17 18:33:06 +08:00
屈轩
93e7813abe fix(region): vendor update for qcloud waf (#20308) 2024-05-17 15:36:54 +08:00
Zexi Li
828c373b78 feat(region,host): support pod security (#20307) 2024-05-16 17:43:44 +08:00
屈轩
beab547890 fix(region): webapp custom domains (#20302) 2024-05-16 16:16:10 +08:00
Zexi Li
b739cbd0dc feat(host): container metrics (#20257) 2024-05-16 16:00:29 +08:00
屈轩
52eb75ecf4 fix(region): query distinct fields (#20298) 2024-05-16 15:24:25 +08:00
Zexi Li
9288d44643 fix(region): validate spec volume panic (#20294) 2024-05-16 11:24:28 +08:00
屈轩
ddf92b48f1 fix(region): set cloud provider disconnect when sync region error (#20289) 2024-05-16 10:01:30 +08:00
wanyaoqi
39195fda5f fix(host): container nvidia gpu probe fail (#20292) 2024-05-16 09:59:05 +08:00
Zexi Li
5d7427f4d4 feat(region,host): set container RunAsUser and RunAsGroup (#20280) 2024-05-15 18:41:08 +08:00
Jian Qiu
6df885cbb9 fix: hostbackupstorage climc subcmds (#20284)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-15 18:04:06 +08:00
屈轩
d2b86c8eba fix(region): remove waf cache (#20281) 2024-05-15 17:35:05 +08:00
Jian Qiu
269d75ed1e fix: disk reset template (#20278)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-15 13:04:43 +08:00
Jian Qiu
1e1035904a fix: task add progress status (#20275)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-15 10:46:15 +08:00
wanyaoqi
483d0dc7fa fix(region,host): slvm misc fix (#20274) 2024-05-15 10:44:58 +08:00
Zexi Li
b5073ba898 feat(region,host): support text volume mount (#20262) 2024-05-14 23:09:00 +08:00
屈轩
fff5cdf049 fix(region): vendor update for web app (#20267) 2024-05-14 20:56:54 +08:00
Jian Qiu
f3b9f25607 feature: support adb shell (#20245)
* feature: support adb shell

* fix(build): add kubectl into Dockerfile.kubectl

---------

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Zexi Li <zexi.li@icloud.com>
2024-05-14 20:23:30 +08:00
屈轩
9806dee4a2 fix(region): azure web app (#20264) 2024-05-14 19:17:02 +08:00
屈轩
b811e42669 fix(region): parent task id is not primary key (#20261) 2024-05-14 15:07:46 +08:00
wanyaoqi
a5b9597d7d fix(region): add container isolated device detach/attach support (#20259) 2024-05-14 14:50:02 +08:00
屈轩
ecec295c63 fix(region): data storage type (#20258) 2024-05-14 14:45:01 +08:00
wanyaoqi
4658c179b9 fix(region): return origin error on fetch joint item failed (#20255) 2024-05-13 17:51:37 +08:00
Zexi Li
ed891ce666 fix(region): container ShmSizeMB validation (#20248) 2024-05-13 14:47:54 +08:00
Zexi Li
d99c3fe990 feat(region,host): support container shm size (#20243) 2024-05-11 21:50:08 +08:00
Jian Qiu
0ca0d8d559 fix: ceph stats backward compatible with ceph 12.x (#20219)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-10 14:54:53 +08:00
Jian Qiu
44d1f947bf fix: storagecachedimages details speedup (#20234)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-10 14:54:30 +08:00
Jian Qiu
c5b21b9235 fix: cachedimage sync tenant_id (#20235)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-10 14:52:28 +08:00
Zexi Li
db7d59bdac fix(scheduler): container vpc network (#20230) 2024-05-10 14:38:45 +08:00
屈轩
6238101868 fix(region): vm create with default provider (#20228) 2024-05-09 14:47:06 +08:00
屈轩
ad69c63abf fix(region): zstack shared block storage (#20224) 2024-05-09 14:25:39 +08:00
Jian Qiu
ee943b6c31 feature: automatically clean obsolete images from host iamge cache (#20209)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-09 12:11:03 +08:00
gouqi11
5e138dd567 fix(region): add modelarts capability (#20214)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-05-08 19:58:59 +08:00
屈轩
c58e4c23ae fix(region): vendor update for azure lb sync (#20211) 2024-05-08 19:17:51 +08:00
Zexi Li
9551ca2b16 feat(host): skip calculating checksum for cached image when format is TGZ (#20197) 2024-05-08 12:14:43 +08:00
Zexi Li
644d126932 feat(webconsole): support container exec (#20206) 2024-05-08 12:14:30 +08:00
guangwu
23e3e4744d chore: slice loop replace (#20204)
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
2024-05-07 18:19:15 +08:00
屈轩
d4900e7d45 fix(region): cloudpods baremetal (#20133) 2024-05-07 18:18:43 +08:00
屈轩
c38f980010 fix(climc): oraclecloud feature (#20201) 2024-05-06 19:17:48 +08:00
Jian Qiu
5b80297de2 fix: filter task by project (#20195)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-04 11:58:07 +08:00
Jian Qiu
8b5afbf995 fix: set disk status when requesting disk reset (#20192)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-04 09:08:18 +08:00
屈轩
43ac987082 fix(region): add enable auto sync resource field (#20187) 2024-04-30 19:28:03 +08:00
wanyaoqi
5fc42614c3 feat(region,host): container mps support (#20138)
* feat(region,host): container mps support

* fix: gencopyright
2024-04-30 17:39:40 +08:00
屈轩
b0dc1536ec fix(region): remove storagecachedimage (#20184) 2024-04-30 15:24:17 +08:00
廖小猛
0273baaf1b fix(hostman): change userdata.sh mode (#20141) 2024-04-30 12:43:50 +08:00
Jian Qiu
040bb20c71 fix: capability host_cpu_arch should consider container host (#20174)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-04-30 07:15:17 +08:00
wanyaoqi
1c57bc944e fix(host): ignore disk not found on disk delete handler (#20178) 2024-04-30 07:14:21 +08:00
Zexi Li
c7e97cdbaf fix(host): remove pod before starting it (#20172) 2024-04-29 11:18:46 +08:00
Zexi Li
2934161be5 fix(monitor): multiple metrics query of alert (#20167) 2024-04-28 19:05:34 +08:00
屈轩
430e85ae01 fix(region): update public cloud provider (#20164) 2024-04-28 18:28:01 +08:00
屈轩
5ca01774e3 fix(region): esxi upload iso image (#20162) 2024-04-28 17:19:56 +08:00
Zexi Li
861de291b8 feat(monitor): support multiple metrics alert (#20157) 2024-04-28 11:35:47 +08:00
wanyaoqi
e0f6d90397 Automated cherry pick of #20154: Automated cherry pick of #20152: Fix/host misc fix 0425 (#20155)
* fix(host): dirty guest dir move to recycle dir

* fix(host-deployer): fix deployer guest ssh port range, use localhost

* fix(host): try bind vfio dirver use addr
2024-04-28 11:19:04 +08:00
Zexi Li
0169988e0f fix(climc): add scope parameter to pod-exec (#20151) 2024-04-28 11:18:00 +08:00
Zexi Li
360231b5cd fix(monitor): alert panic (#20150) 2024-04-26 12:19:25 +08:00
屈轩
b781377241 fix(README): add mcclient params readme (#20146) 2024-04-26 12:03:40 +08:00
Zexi Li
1adf085b4b fix(monitor): filter alerts by monitor_resource_id (#20137) 2024-04-25 17:07:12 +08:00
Zexi Li
1dc8fcdce9 fix(monitor): query monitor_resource_alert by monitor_resource_id is not working (#20131) 2024-04-25 15:48:51 +08:00
Zexi Li
5532cd07ca fix(region): validate port mappings range of pod (#20128) 2024-04-25 13:35:25 +08:00
屈轩
be62b3e049 fix(README): add apigateway endpoint example (#20129) 2024-04-25 11:44:20 +08:00
屈轩
9de5527d21 fix(region): allow update hostname (#20125) 2024-04-24 18:40:44 +08:00
屈轩
97f34edbee fix(region): sync hostname (#20122) 2024-04-24 17:33:27 +08:00
屈轩
974f884397 fix(climc): enable build windows climc (#20120) 2024-04-24 15:23:28 +08:00
Jian Qiu
d8ae463dcc fix: update model api 20240424 (#20118)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-04-24 13:50:31 +08:00
Jian Qiu
e231f14be3 fix: host add public ip field (#20114)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-04-24 12:22:41 +08:00
屈轩
c0ae724ed0 fix(mcclient): read me (#20115) 2024-04-24 12:21:47 +08:00
屈轩
003ad678f6 fix: revert default policy (#20111) 2024-04-23 19:17:18 +08:00
屈轩
5084cd1ebc fix(region): sync external project by manager (#20109) 2024-04-23 17:10:46 +08:00
Zexi Li
d292f99321 fix(region): containers change owner (#20105) 2024-04-23 11:20:05 +08:00
Zexi Li
172b0ef49e fix(glance): get wrong format when saving image from stream (#20107) 2024-04-23 11:17:34 +08:00
屈轩
15bd94a0b6 fix(region):auto create project (#20102) 2024-04-22 19:26:49 +08:00
屈轩
74cdcf7e6d fix(docs): update swagger api (#20100) 2024-04-22 16:24:28 +08:00
Jian Qiu
ec6ecdb168 fix: wrong private static route format (#20090)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-04-22 14:52:31 +08:00
Jian Qiu
3f0273ec20 fix: guest stop revisit (#20061)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-04-22 14:51:07 +08:00
屈轩
c1037a46d7 fix(region): show more error info when sync nic error (#20097) 2024-04-22 14:37:24 +08:00
屈轩
e592f460d4 fix(region): show ip out of range details error (#20081) 2024-04-19 18:30:15 +08:00
wanyaoqi
3ef64b4a56 fix(regin,host): delete snapshots after stream complete (#20088) 2024-04-19 18:28:22 +08:00
Zexi Li
34a0002bff fix(host): seperated worker for exec handler (#20079) 2024-04-19 09:45:03 +08:00
Jian Qiu
b8cf746ad4 fix: backup storage access containd by hosts (#20050)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-04-19 07:20:24 +08:00
wanyaoqi
7a7144091c fix(host): resize lvm disk (#20048) 2024-04-19 07:20:08 +08:00
屈轩
34e1a46e57 fix(region): account disconnect (#20076) 2024-04-18 20:23:47 +08:00
屈轩
c4e5075405 fix(cloudid): add volcengine sp metadata (#20073) 2024-04-18 18:02:43 +08:00
屈轩
c42025abb2 fix(region): sync bucket status (#20069) 2024-04-18 15:49:51 +08:00
屈轩
5781cdb53f fix(region): allow clean history data (#20040) 2024-04-18 15:45:56 +08:00
屈轩
25d1ec0e91 fix(region): avoid skip zone purge (#20054) 2024-04-18 15:39:37 +08:00
Zexi Li
914ab8d474 fix(climc): container option of server-list and host-list command (#20062) 2024-04-18 14:08:57 +08:00
屈轩
d13bf6227d fix(region): vendor update for code generate (#20057) 2024-04-18 12:43:05 +08:00
屈轩
33348b2db3 fix(cloudmon): oracle metric collect (#20052) 2024-04-18 11:32:53 +08:00
Zexi Li
48ef202cbe fix(host): sync status of pod and container after service restarted (#20045) 2024-04-18 10:04:07 +08:00
屈轩
057c8d66bd fix(region): vendor update for oracle monitor (#20042) 2024-04-17 18:30:42 +08:00
屈轩
5e2d87dfb4 fix(cloudmon): vendor update for support oracle metric (#20037) 2024-04-17 15:25:50 +08:00
Zexi Li
b610fd1b3c Merge pull request #20015 from wanyaoqi/automated-cherry-pick-of-#20013-upstream-master
Automated cherry pick of #20013: fix(region,host): custom device model add auto detect option
2024-04-17 10:27:56 +08:00
Zexi Li
9f00d7bf78 Merge pull request #19995 from wanyaoqi/automated-cherry-pick-of-#19994-upstream-master
Automated cherry pick of #19994: Automated cherry pick of #19993: fix(host): sriov bond
2024-04-17 10:26:30 +08:00
屈轩
ff299fae5b fix(region): remove dirty code (#20032) 2024-04-17 10:11:20 +08:00
Zexi Li
c990bfefa0 Merge pull request #19824 from zexi/container-exec
feat(region,host,climc): container exec
2024-04-17 10:01:47 +08:00
Zexi Li
76f434ecd4 feat(region,host,climc): container exec 2024-04-16 20:46:57 +08:00
Zexi Li
ff9bbff51a Merge pull request #20023 from zexi/container-save-vm-image
feat(container): save volume_mount to image
2024-04-16 18:29:55 +08:00
Zexi Li
e3d0e59bb2 Merge pull request #20003 from wanyaoqi/automated-cherry-pick-of-#20002-upstream-master
Automated cherry pick of #20002: Automated cherry pick of #19999: feat(host): NewPciDevice add executor
2024-04-16 18:25:24 +08:00
Zexi Li
0301b9366f Merge pull request #19991 from wanyaoqi/feat/disk-storage-migrate
feat(region,host): add disk migrate support
2024-04-16 18:22:12 +08:00
Zexi Li
6ad5e6f2ad Merge pull request #19996 from swordqiu/hotfix/qj-disk-not-inheric-post-create
fix: disk post create not inherit upper class
2024-04-16 18:20:15 +08:00
Zexi Li
9fa7dd8a19 Merge pull request #20027 from wanyaoqi/automated-cherry-pick-of-#20025-upstream-master
Automated cherry pick of #20025: fix(host): fix gpu device vendor check strategy
2024-04-16 18:19:37 +08:00
屈轩
fd51558753 fix(region): support delete huawei prepaid resource (#20029) 2024-04-16 18:08:07 +08:00
Zexi Li
6c3079d755 feat(region,host): save volume_mount to image 2024-04-16 18:02:15 +08:00
屈轩
2a459b1212 fix(region): avoid skip region purge (#20020) 2024-04-16 16:43:54 +08:00
屈轩
c5288c7cab fix(region): skip not implement error (#20017) 2024-04-16 16:43:18 +08:00
Zexi Li
69db041702 Merge pull request #20006 from swordqiu/hotfix/qj-disk-create-encrpted-nfs-failed
fix: fail to create encrypted nfs disk
2024-04-16 15:58:12 +08:00
wanyaoqi
f8ac80b7a0 fix(host): fix gpu device vendor check strategy
Check gpu device vendor id on class code is DISPLAY.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2024-04-16 15:57:08 +08:00
Zexi Li
2ecd7c4ed9 Merge pull request #19987 from swordqiu/hotfix/qj-userdata-not-execute
fix: userdata not executable due to umask
2024-04-16 15:57:08 +08:00
Zexi Li
554640d3ab Merge pull request #20024 from zexi/container-ready-pm
fix(host): set container port_mappings metadata when status is ready
2024-04-16 15:56:06 +08:00
Zexi Li
c68014cc4a fix(host): set container port_mappings metadata when status is ready 2024-04-16 15:33:41 +08:00
wanyaoqi
1eb253e3ee fix(region,host): custom device model add auto detect option
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2024-04-16 12:36:36 +08:00
Qiu Jian
b216dc5849 fix: fail to create encrypted nfs disk 2024-04-16 00:01:50 +08:00
wanyaoqi
4e8674c4d3 feat(region,host): add disk migrate support 2024-04-15 23:23:21 +08:00
wanyaoqi
ac86aca7c8 feat(host): NewPciDevice add executor 2024-04-15 21:50:34 +08:00
Qiu Jian
ddcceb0f23 fix: disk post create not inherit upper class 2024-04-15 21:45:07 +08:00
wanyaoqi
653390c0b5 fix(host): init from existing guest load cpuset 2024-04-15 18:55:46 +08:00
wanyaoqi
7aae1d513a fix(host): detect sriov bond nics 2024-04-15 18:55:46 +08:00
Qiu Jian
4b51d992d1 fix: userdata not executable due to umask 2024-04-15 16:58:33 +08:00
屈轩
35b58e7d83 fix(region): simplfy cached-image-list filter (#19984) 2024-04-15 15:50:09 +08:00
屈轩
9160019db8 fix(region): allow not idle account sync (#19980) 2024-04-15 14:10:32 +08:00
Jian Qiu
400fe4f430 fix: bond interface missing default gateway (#19952)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-04-15 10:37:13 +08:00
屈轩
5fee90bea6 fix(image): set image upload download timeout 4 hour (#19976) 2024-04-15 10:13:49 +08:00
屈轩
e3a9fe7d14 fix(region): sync ksyun tag (#19972) 2024-04-14 13:02:04 +08:00
屈轩
1d15f6b910 fix(region): vendor update for vpc not found error (#19968) 2024-04-12 20:52:25 +08:00
屈轩
5ad2205c05 fix(region): vendor update 0412 (#19961) 2024-04-12 18:26:10 +08:00
gouqi11
d5ec516aac feat(notify): support cloudphone (#19959)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-04-12 15:16:23 +08:00
屈轩
68a53f5177 fix(region): support ksyun tag sync (#19955) 2024-04-12 12:05:22 +08:00
Jian Qiu
c5aa928795 fix: netplan empty bond address (#19942)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-04-11 18:11:28 +08:00
Zexi Li
9e89730980 Merge pull request #19950 from zexi/pod-image-overlay
fix(region): container overlay volume_mount over disk image
2024-04-11 15:59:49 +08:00
Zexi Li
3d95b9087d fix(region): container overlay volume_mount over disk image 2024-04-11 15:44:49 +08:00
屈轩
5a4d2d9014 fix(region): vendor update (#19946) 2024-04-11 15:06:46 +08:00
屈轩
e461c3debe fix(region): avoid purge zone (#19936) 2024-04-11 13:57:52 +08:00
Zexi Li
0ad64ba062 Merge pull request #19932 from zexi/pod-rebuild-disks
feat(region,climc): support disk-rebuild
2024-04-11 12:08:46 +08:00
Zexi Li
c7fd498421 Merge pull request #19919 from swordqiu/automated-cherry-pick-of-#19898-upstream-master
Automated cherry pick of #19898: fix: host nic index should be unique
2024-04-11 11:37:46 +08:00
Zexi Li
d5ce4e7464 Merge pull request #19931 from swordqiu/automated-cherry-pick-of-#19928-upstream-master
Automated cherry pick of #19928: fix: disable disk serial for esxi vm on release/3.10
2024-04-11 11:35:26 +08:00
Zexi Li
47610ed843 feat(region,climc): support disk-rebuild 2024-04-11 11:15:01 +08:00
Qiu Jian
10bdf41be7 fix: disable disk serial for esxi vm on release/3.10 2024-04-11 01:19:41 +08:00
Zexi Li
eeeba6e166 Merge pull request #19926 from zexi/save-container-image
feat(glance,region,host,climc): support using tar.gz image as overlayer
2024-04-10 18:38:36 +08:00
Zexi Li
653f323588 feat(glance,region,host,climc): support using tar.gz image as overlay layer 2024-04-10 17:54:24 +08:00
屈轩
873c657446 fix(region): avoid purge regions (#19922) 2024-04-10 17:06:08 +08:00
Qiu Jian
74f4bc85e8 fix: host nic index should be unique 2024-04-10 01:33:25 +08:00
gouqi11
297611d01e update vendor (#19915)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-04-09 19:47:26 +08:00
屈轩
82ec627a0e fix(region): clean external cachedimage (#19910) 2024-04-09 17:26:08 +08:00
Zexi Li
c932eeb25f Merge pull request #19913 from zexi/inject-port-mapping-env
feat(host): inject host port mapping environments
2024-04-09 16:40:28 +08:00
Zexi Li
ec00d67ed5 feat(host): inject host port mapping environments 2024-04-09 16:19:57 +08:00
Zexi Li
f518d47412 Merge pull request #19906 from zexi/pod-ready-status
fix(region): support auto_start option
2024-04-09 14:24:41 +08:00
Zexi Li
2cb46e0279 fix(region): support auto_start option 2024-04-09 12:12:20 +08:00
gouqi11
df26130290 update vendor:ksyun ecs (#19903)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-04-09 11:51:40 +08:00
屈轩
aa8b30d467 fix(region): show local task stack info (#19900) 2024-04-09 11:50:55 +08:00
屈轩
de0b3ba050 fix(monitor): remove useless code (#19895) 2024-04-08 11:54:01 +08:00
wanyaoqi
fb213114f7 Automated cherry pick of #19844: feat: lvm snapshots (#19892)
* fix(region,host): remove snapshot fake delete state

* feat(region,host): lvm snapshot support
2024-04-08 02:55:53 +08:00
Jian Qiu
eee56aba23 fix: fail to detect lv by megacli64 and storecli (#19881)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-04-08 00:27:04 +08:00
屈轩
aa52fbb00f fix(region): remove qcloud sync cache (#19890) 2024-04-07 16:45:06 +08:00
屈轩
e17ba97ddb fix(glance): image upload timeout (#19888) 2024-04-07 15:29:36 +08:00
屈轩
92496825ad fix(region): return error for query guest network (#19885) 2024-04-07 14:16:17 +08:00
Zexi Li
b7df3d6af0 Merge pull request #19879 from zexi/sync-container-status
feat(region,climc): support container-sync-status command
2024-04-03 18:05:29 +08:00
Zexi Li
0f0c5a1819 feat(region,climc): support container-sync-status command 2024-04-03 17:58:46 +08:00
屈轩
c312e35fc2 fix(region): add cloud account sync batch size options (#19876) 2024-04-03 14:38:59 +08:00
Zexi Li
33acb98c57 Merge pull request #19875 from zexi/container-status
fix(host): restarting container failure
2024-04-03 11:34:59 +08:00
Zexi Li
83144a87f8 fix(host): restarting container failure 2024-04-03 11:19:27 +08:00
屈轩
66032b6d7d fix(region): prepare regions by prefix (#19872) 2024-04-03 10:15:11 +08:00
Zexi Li
24d2e57c3a Merge pull request #19869 from swordqiu/hotfix/qj-sync-status-stopped-pod
fix: sync status stopped pod
2024-04-03 09:14:03 +08:00
Qiu Jian
772456bfe6 fix: sync status stopped pod 2024-04-03 07:59:19 +08:00
屈轩
b193cc00cf fix(region): total count rds by zone id (#19866) 2024-04-02 20:32:52 +08:00
屈轩
59f524ff3c fix(region): vendor update for region sync (#19863) 2024-04-02 20:16:26 +08:00
Zexi Li
a2e035decf Merge pull request #19857 from zexi/container-system-cpu-simulate
feat(region,host,climc): simulating /sys/devices/system/cpu directory
2024-04-02 20:16:00 +08:00
屈轩
2716ebf96d fix(cloudid): vendor update for ksyun iam (#19861) 2024-04-02 20:03:43 +08:00
gouqi11
cc34cce115 fix(notify): clean notificationGroup after send (#19858)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-04-02 18:40:13 +08:00
Zexi Li
ba46ca0219 feat(region,host,climc): simulating /sys/devices/system/cpu directory 2024-04-02 17:35:21 +08:00
屈轩
546d0112b1 fix(cloudid): vendor update form volcengine iam (#19855) 2024-04-02 14:39:14 +08:00
Zexi Li
8ab9923ea5 Merge pull request #19850 from swordqiu/hotfix/qj-idp-sso-domain-query
fix: idp list query filter by sso_domain
2024-04-02 10:35:59 +08:00
Zexi Li
70f63847a5 Merge pull request #19854 from zexi/container-filter
fix(region): filter containers by guest_id
2024-04-02 10:35:38 +08:00
Zexi Li
7379b4dccd fix(region): filter containers by guest_id 2024-04-02 10:21:43 +08:00
Qiu Jian
284f09f649 fix: idp list query filter by sso_domain 2024-04-02 01:28:28 +08:00
Jian Qiu
6f5ec57944 fix: trigger project sync by informer (#19836)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-04-02 00:23:44 +08:00
Zexi Li
4831e4ae45 Merge pull request #19848 from zexi/container-detach-loopdev
fix(host): detach loop device
2024-04-01 17:23:13 +08:00
Zexi Li
4a3272c100 fix(host): detach loop device 2024-04-01 17:21:42 +08:00
屈轩
5d966ab1eb fix(cloudid): vendor update (#19846) 2024-04-01 11:39:24 +08:00
Zexi Li
bc9035f8de Merge pull request #19835 from zexi/container-overlay-vol
feat(region,host): support to mount container overlay host directory
2024-04-01 11:07:28 +08:00
屈轩
dfb3736868 fix(cloudid): model reflection (#19819) 2024-04-01 10:56:47 +08:00
Zexi Li
1c12d03bcb feat(region,host): support to mount container overlay host directory 2024-04-01 10:45:14 +08:00
Zexi Li
80fdc7f589 Merge pull request #19839 from wanyaoqi/automated-cherry-pick-of-#19838-upstream-master
Automated cherry pick of #19838: fix(host-deployer): add ext4 usage type options
2024-04-01 10:14:32 +08:00
屈轩
98bdabd6f8 fix(region): billing resource check (#19840) 2024-04-01 10:06:14 +08:00
wanyaoqi
ad6db34317 fix(host-deployer): add ext4 usage type options
resize fs not required find rootfs.
format ext4 partitions select usage type by part size.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2024-03-31 13:38:58 +08:00
Zexi Li
8d481901e2 Merge pull request #19834 from zexi/update-container-spec
feat(climc): container-update-spec
2024-03-29 16:33:19 +08:00
Zexi Li
8b3d566cef feat(climc): container-update-spec 2024-03-29 16:15:44 +08:00
Zexi Li
a251fecb78 Merge pull request #19830 from wanyaoqi/fix/deploy-guest-arm-kernel-path
fix(host-deployer): deploy guest arm kernel path fix
2024-03-29 16:14:55 +08:00
wanyaoqi
5a01a0e592 fix(host-deployer): deploy guest arm kernel path fix 2024-03-29 16:02:16 +08:00
屈轩
796c2dad86 fix(region): vendor update (#19826) 2024-03-29 10:37:57 +08:00
屈轩
52eb6d1048 fix(region): cloudpods region sync (#19820) 2024-03-28 15:33:37 +08:00
Zexi Li
a173c60ad4 Merge pull request #19809 from wanyaoqi/automated-cherry-pick-of-#19803-upstream-master
Automated cherry pick of #19803: fix(host): delete lvm disk active first
2024-03-27 20:23:13 +08:00
屈轩
08def7eedb fix(region): avoid panic (#19815) 2024-03-27 15:05:14 +08:00
Zexi Li
486ec8562d Merge pull request #19814 from zexi/rm-pod-loop
fix(host): use executor to run losetup
2024-03-27 14:35:20 +08:00
Zexi Li
407a894639 fix(host): use executor to run losetup 2024-03-27 14:11:21 +08:00
Zexi Li
2898e54f52 Merge pull request #19813 from zexi/container-change-config
feat(region): support change container configuration
2024-03-27 11:52:34 +08:00
Zexi Li
77ead6271b feat(region): support change container configuration 2024-03-27 11:25:40 +08:00
Zexi Li
035c352e6f Merge pull request #19812 from zexi/pod-restart
feat(region): support pod to restart
2024-03-27 10:07:59 +08:00
Zexi Li
e9c2c559fa feat(region): support pod to restart 2024-03-27 00:08:18 +08:00
wanyaoqi
09f3801884 fix(host): resize slvm disk 2024-03-26 22:48:44 +08:00
wanyaoqi
8fedbe51b4 fix(host): delete lvm disk active first 2024-03-26 22:48:44 +08:00
Jian Qiu
4a3dcb4c37 fix: host-type-count sql error (#19801)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-03-26 18:57:35 +08:00
屈轩
2a7daa62cd fix(climc): remove useless code (#19798) 2024-03-26 17:04:05 +08:00
Zexi Li
a7cfc8168b Merge pull request #19796 from zexi/lxcfs-cpu
feat(region,host): set pod cgroup for lxcfs
2024-03-26 15:15:09 +08:00
Zexi Li
559df5f161 feat(region,host): set pod cgroup for lxcfs 2024-03-26 15:08:28 +08:00
gouqi11
d1e51bc8d1 feat(excelutils): support read file data (#19794)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-03-26 14:53:51 +08:00
Jian Qiu
cae39339a7 fix: create lb listener rules fail due to domain not found (#19785)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-03-26 09:49:34 +08:00
wanyaoqi
8908ac38b3 fix(ansibleserver): update file repo (#19772) 2024-03-26 09:48:17 +08:00
Jian Qiu
5b456010f8 fix: server skus ignore seting SetModelManager (#19777)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-03-26 09:47:04 +08:00
Jian Qiu
2db9bc4058 fix: fail to parse ipv6 addr of fc00::1:1004:ffff:ffff:ffff:ffff (#19781)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-03-26 09:46:27 +08:00
屈轩
157eb8f29b fix(region): filter cloudprovider by zone (#19788) 2024-03-25 19:23:15 +08:00
屈轩
34395823c4 fix(climc): update azure account (#19784) 2024-03-25 15:16:49 +08:00
Zexi Li
62137c2c68 Merge pull request #19770 from zexi/pod-start-stop
feat(region,host): support pod start and stop task
2024-03-22 11:52:55 +08:00
Zexi Li
50d2870a2b feat(region,host): support pod start and stop task 2024-03-22 10:57:27 +08:00
屈轩
f50e1d5a1d fix(vpcagent): signal killed (#19761) 2024-03-22 09:36:57 +08:00
屈轩
ec00f5138c fix(vpcagent): prevent the security group deletion rule from taking effect (#19756) 2024-03-21 20:39:12 +08:00
屈轩
4429c108ac fix(notify): simplify receiver api (#19764) 2024-03-21 20:07:34 +08:00
屈轩
702e829d35 fix(region): allow delete aliyun prepaid vm (#19767) 2024-03-21 20:07:11 +08:00
Zexi Li
67c0523245 Merge pull request #19731 from wanyaoqi/automated-cherry-pick-of-#19730-upstream-master
Automated cherry pick of #19730: fix(region,host): lvm storage misc fix
2024-03-21 19:53:30 +08:00
Zexi Li
a38b5e1fb1 Merge pull request #19769 from zexi/container-lifecycle-devices
Container lifecycle devices
2024-03-21 19:51:32 +08:00
Zexi Li
366340e74c feat(region,scheduler,host): container lifecycle and cgroup devices permissions 2024-03-21 19:42:08 +08:00
Zexi Li
8f0af93a1d Merge pull request #19755 from zexi/container-cgroup
feat(host): set container memory limit
2024-03-21 12:14:37 +08:00
Zexi Li
3bcc09a04d feat(host): set container memory limit 2024-03-21 10:31:36 +08:00
屈轩
c73ac42b37 fix(region): skip set lost name when purge deleted vm (#19752) 2024-03-20 18:20:04 +08:00
Zexi Li
6cac127db8 Merge pull request #19751 from zexi/automated-cherry-pick-of-#19750-upstream-master
Automated cherry pick of #19750: feat(cloudcommon): support extra hook for db model
2024-03-20 15:04:29 +08:00
Zexi Li
3212dd37ea feat(cloudcommon): support extra hook for db model 2024-03-20 12:31:17 +08:00
屈轩
2ef56c0c40 fix(climc): ksyun bill report options (#19749) 2024-03-20 10:10:45 +08:00
屈轩
e586d7759e fix(region): esxi vm desc sync (#19746) 2024-03-19 15:49:30 +08:00
Zexi Li
70402face1 Merge pull request #19738 from zexi/container-host-dir
feat(region,host): support host directory volume_mount for container
2024-03-19 10:08:55 +08:00
Zexi Li
eee4089007 Merge pull request #19744 from wanyaoqi/fix/container-capalites
fix(region): add container caps
2024-03-19 10:06:58 +08:00
wanyaoqi
538e4049b3 fix(region): add container caps 2024-03-18 23:36:25 +08:00
屈轩
af1e4a7d47 fix(region): support create vmware vm with desc (#19739) 2024-03-18 09:47:14 +08:00
屈轩
9a5df8760d fix(region): sync max priority project tag (#19736) 2024-03-15 19:10:30 +08:00
Zexi Li
b097740d52 feat(region,host): support host directory volume_mount for container 2024-03-15 17:38:56 +08:00
wanyaoqi
93b64fd553 fix(region,host): lvm storage misc fix
- add some lvm storage create check
- fix slvm storage image cache not correct

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2024-03-14 22:15:04 +08:00
wanyaoqi
fa6d12d7be fix(region): check normal type nic is null (#19729) 2024-03-14 18:03:04 +08:00
屈轩
0b11ee0281 fix(esxi-agent): create vmware vm with suitable version (#19725) 2024-03-14 15:54:08 +08:00
Zexi Li
053ef85af5 Merge pull request #19710 from zexi/container-caps
feat(climc,region,host): create redroid container
2024-03-14 10:42:37 +08:00
Zexi Li
749ec1849c feat(region,host,climc): support pod host random port mapping 2024-03-13 20:13:13 +08:00
Zexi Li
30b61bf566 Merge pull request #19723 from ioito/hotfix/qx-duplicate-zone-name
fix(region): avoid duplicate zone name
2024-03-13 20:11:52 +08:00
Zexi Li
7d4b55b2c6 Merge pull request #19712 from wanyaoqi/automated-cherry-pick-of-#19711-upstream-master
Automated cherry pick of #19711: fix(host): gpu probe check vendor is amd or nvidia
2024-03-13 20:06:06 +08:00
Zexi Li
762136176a Merge pull request #19714 from swordqiu/hotfix/qj-tag-filter-with-no-value-revisit
fix: tag filter with no value revisit
2024-03-13 20:04:38 +08:00
屈轩
24fc530a06 fix(region): filter disks by guest status (#19720) 2024-03-13 19:10:50 +08:00
Qu Xuan
ef3f59db7a fix(region): avoid duplicate zone name 2024-03-13 19:05:43 +08:00
屈轩
be15fec744 fix(region): avoid panic when network is nil (#19717) 2024-03-13 11:58:46 +08:00
Zexi Li
1bc14d251b feat(climc,region,host): support capabilities and privileged mode 2024-03-12 23:24:16 +08:00
Qiu Jian
006174bd2b fix: tag filter with no value revisit 2024-03-12 21:43:36 +08:00
wanyaoqi
9e6c166219 fix(host): gpu probe check vendor is amd or nvidia 2024-03-12 21:35:23 +08:00
Zexi Li
6313ce87a3 Support pod container (#19706)
* feat(region,scheduler,host): support pod and container

* feat(region,host): container nvidia gpu support

* fix(region,host): function parameters

---------

Co-authored-by: wanyaoqi <d3lx.yq@gmail.com>
2024-03-12 18:47:44 +08:00
屈轩
cf3d468814 fix(webconsole): sftp download utf8 filename (#19708) 2024-03-12 18:29:02 +08:00
Jian Qiu
96ba0ba916 fix: host-deploy options struct consistent with host options (#19694)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-03-12 13:35:28 +08:00
Zexi Li
a04eb0a4fd Merge pull request #19688 from swordqiu/hotfix/qj-auth-manager-singleton
fix: make authManager a singleton
2024-03-12 10:46:01 +08:00
屈轩
63c751111f fix(region): ipv6 cidr sync for network (#19702) 2024-03-11 17:52:24 +08:00
屈轩
20e7d080b9 fix(region): avoid update network dns panic (#19697) 2024-03-11 10:57:45 +08:00
屈轩
9be17470dc fix(webconsole): show link file info (#19691) 2024-03-11 09:43:43 +08:00
Qiu Jian
08b2cb4e36 fix: make authManager a singleton 2024-03-10 10:07:23 +08:00
Jian Qiu
b64c14376c fix: webconsole command log empty opstime (#19682)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-03-10 07:24:24 +08:00
Jian Qiu
ac22a8f210 fix: vpcagent always do full sync, disable incremental sync (#19628)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-03-10 07:23:16 +08:00
wanyaoqi
593c5711c1 fix(host): qga set network flush ipv4 address (#19672) 2024-03-10 07:22:27 +08:00
Jian Qiu
41f21ff45b fix: network address details compatible with dameng (#19686)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-03-10 07:21:59 +08:00
Jian Qiu
2920a156b7 fix: support db checksum algorithm of SHA256 (#19680)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-03-09 14:57:37 +08:00
屈轩
749e4b1074 fix(region): vendor update for qcloud nat sync (#19676) 2024-03-08 18:13:38 +08:00
屈轩
c21e6dadbb fix(webconsole): sftp return file mode info (#19674) 2024-03-08 13:43:41 +08:00
屈轩
f2c8355c15 fix(region): update y18n (#19670) 2024-03-08 13:43:26 +08:00
Zexi Li
b913e0aca3 Merge pull request #19668 from swordqiu/hotfix/qj-always-add-static-routes-master
fix: always add static routes for default nic master
2024-03-07 10:05:44 +08:00
Qiu Jian
006b57a618 fix: always add static routes for default nic 2024-03-06 19:52:43 +08:00
屈轩
4185ce95f9 fix(scheduler): skip network exit check (#19664) 2024-03-06 19:10:38 +08:00
屈轩
5b1f1b7255 fix(region): vendor update for sync azure network cidr (#19661) 2024-03-06 18:08:19 +08:00
屈轩
e3e71e950d fix(region): exit no longer affects managed network (#19658) 2024-03-06 16:59:48 +08:00
屈轩
340abc83b1 fix(webconsole): file mode (#19656) 2024-03-06 13:21:16 +08:00
Jian Qiu
e4b5bd9979 fix: network ip match recode to fix dameng INET_ATON support (#19654)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-03-06 03:08:17 +08:00
Jian Qiu
0d677954af fix: donot use insertOrUpdate for create joint resources (#19650)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-03-06 02:23:33 +08:00
wanyaoqi
2cee1adbd9 fix(host-deployer): support deploy encrypted disk (#19640) 2024-03-06 02:23:03 +08:00
wanyaoqi
023c365c60 fix(host): backup guest dirty shutdown (#19620)
backup guest dirty shutdown master request sync status,
slave request dirty start.
2024-03-06 02:21:49 +08:00
wanyaoqi
3e1e6a736b feat(region,host): support shared driver by lvmlockd (#19619) 2024-03-06 02:19:08 +08:00
屈轩
491c308424 fix(region): dissociate eip when vm deleted (#19646) 2024-03-05 18:35:47 +08:00
屈轩
8650dcfa5e fix(region): sync account project (#19643) 2024-03-05 17:18:16 +08:00
屈轩
e61bedc496 fix(region): compatible with v3.9 vm cdrom (#19636) 2024-03-05 15:56:51 +08:00
屈轩
b3a10d06b2 fix(cloudmon): support ctyun vm metric (#19634) 2024-03-05 11:58:45 +08:00
Zexi Li
ffa9eb592a Merge pull request #19631 from swordqiu/hotfix/qj-token-cache-informer-fail
fix: tokenCache newInformer fail
2024-03-05 10:29:42 +08:00
Qiu Jian
7bfd200e28 fix: tokenCache newInformer fail 2024-03-05 00:28:55 +08:00
屈轩
60ee033812 fix(region): vendor update for azure associate type (#19624) 2024-03-04 20:09:14 +08:00
Jian Qiu
29c76797f2 Hotfix/qj organization node label contains separator2 (#19609)
* fix: organization node label contains separator, round 2

* fix: hidden parent org nodes

---------

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-03-04 18:14:29 +08:00
屈轩
08fafdce6c fix(region): 未开启三级权限允许云账号更改项目 (#19612) 2024-03-04 13:14:17 +08:00
Jian Qiu
46d603eece update vendor 20240303 (#19606)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-03-03 11:46:54 +08:00
gouqi11
43e5df853e fix(influxdb): support set timeout (#19593)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-03-03 10:47:29 +08:00
屈轩
b491e0e1d7 fix(region): raw query with delete-all options (#19603) 2024-03-01 19:36:32 +08:00
屈轩
58602af0aa fix(region): avoid sync huawei lb backend panic (#19589) 2024-03-01 10:41:30 +08:00
屈轩
a8f7733fc5 fix(region): ctyun api page size must le 50 (#19584) 2024-02-29 18:20:58 +08:00
屈轩
66d3a801db fix(region): add secgroup filter for rds and redis (#19582) 2024-02-29 17:01:57 +08:00
Jian Qiu
f57662868a fix: handle label separator in organization tag value (#19573)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-29 16:37:42 +08:00
Jian Qiu
e73ed9d081 feature: dameng database support (#19570)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-29 16:37:21 +08:00
屈轩
1987d2d31a fix(region): skip sync apsara expired time (#19579) 2024-02-29 16:08:10 +08:00
屈轩
7705556b00 fix(keystone): domain-list with delete-all options (#19576) 2024-02-29 16:06:11 +08:00
屈轩
0759020dfe fix(region): support cephfs (#19550) 2024-02-29 14:59:12 +08:00
屈轩
4a9d94d9e0 fix(region): support huawei public nat (#19564) 2024-02-29 14:41:04 +08:00
屈轩
8d254bcc80 fix(notify): add capability for notify config (#19568) 2024-02-28 17:51:32 +08:00
屈轩
bb7a05c63d fix(region): remove useless code (#19566) 2024-02-28 16:49:43 +08:00
屈轩
aee895b82e fix(keystone): optimized domain-list query (#19555) 2024-02-28 14:45:17 +08:00
wanyaoqi
c016dad7da Automated cherry pick of #19547: Fix/create from iso set os distro (#19548)
* fix(region): iso guest copy image props to metadata

* fix(region): always run host ping detect task
2024-02-28 14:16:36 +08:00
wanyaoqi
d504b76e06 Automated cherry pick of #19558: Fix/guest image live migrate (#19559)
* fix(host): slvm storage active on init

* fix(region): guest live migrate cache all of guestimage caches
2024-02-28 11:32:02 +08:00
Zexi Li
902749d87a Merge pull request #19562 from zexi/automated-cherry-pick-of-#19561-upstream-master
Automated cherry pick of #19561: fix(scheduler): unsued key
2024-02-28 11:00:05 +08:00
Zexi Li
7199877ebe fix(scheduler): unsued key 2024-02-28 10:26:31 +08:00
gouqi11
92ee483837 fix(monitor): add target for suggestRuleListInput (#19552)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-02-26 20:18:45 +08:00
wanyaoqi
45ca46e156 fix(region): update rescuing status to rescue (#19544) 2024-02-24 07:54:06 +08:00
wanyaoqi
039e806479 feat(host): disable guest hpet timer by default (#19534)
The HPET was turned off by default purely because of issues with time
drifting on Windows guests. (See nova commit ba3fd16605.)
2024-02-24 07:53:17 +08:00
wanyaoqi
5abea4946d fix(host): load guest desc hpet and video1 dev (#19530) 2024-02-24 07:51:36 +08:00
Jian Qiu
41376e6382 fix: support OpenCloudOS, OpenKylin, Alma, UOSDesktop (#19527)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-24 07:50:04 +08:00
屈轩
c3b5c7b88d fix(region): support secgroup ipv6 (#19541) 2024-02-23 16:57:02 +08:00
屈轩
022ff9e623 fix(keystone): support filter project by multi admin user (#19539) 2024-02-23 15:25:00 +08:00
屈轩
21d0c9d83e fix(keystone): support unset project admin user (#19537) 2024-02-23 15:08:17 +08:00
gouqi11
456e73a391 fix(util): fix excelutils set emptu cell (#19524)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-02-22 19:55:20 +08:00
屈轩
ddc73e5d88 fix(region): sync lb secgroup (#19521) 2024-02-22 18:14:02 +08:00
屈轩
e81d28bd8b fix(region): sync by external project with enable project sync (#19519) 2024-02-22 18:13:26 +08:00
屈轩
cf6eb4eb59 fix(region): refactor lb acl and cert (#19503) 2024-02-21 19:54:59 +08:00
屈轩
55e8d1a37c fix(region): sync empty security groups (#19515) 2024-02-21 16:26:52 +08:00
屈轩
6e056b40a1 fix(region): vendor update for qcloud nat status (#19512) 2024-02-20 16:00:07 +08:00
屈轩
aecd4b7cd3 fix(region): sync regional secgrouop (#19510) 2024-02-20 15:43:43 +08:00
Jian Qiu
db57b48a49 fix: filter organization nodes by policy tags (#19506)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-20 09:53:12 +08:00
Jian Qiu
4ff0c1c1eb fix: policy update description panic (#19508)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-20 09:28:32 +08:00
wanyaoqi
5c5d66fffe fix(host): script start guest donot force restart on monitor timeout (#19505) 2024-02-19 20:52:34 +08:00
屈轩
cc6eca5b90 fix(cloudproxy): cloudproxy service auth first (#19499) 2024-02-19 12:08:23 +08:00
wanyaoqi
e87a0b6cc3 feat(region,host): guest numa allocate (#19498) 2024-02-18 19:35:23 +08:00
Jian Qiu
e2963f9d34 fix: create params with require_ipv6 (#19491)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-18 10:35:06 +08:00
屈轩
3ea6d5018b fix(region): vendor update for openstack https support (#19493) 2024-02-18 10:22:35 +08:00
Jian Qiu
450a27b892 fix: invalid token request too frequent (#19489)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-17 19:00:32 +08:00
Jian Qiu
d880ff7b10 fix: organization sync panic on nil pointer of weight (#19487)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-12 21:08:55 +08:00
Jian Qiu
7bb232463b fix: project tag tree sql revise (#19484)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-11 10:47:21 +08:00
Jian Qiu
0635e9c53e fix: IModelManager add NewQuery to initialize query with params (#19481)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-10 18:04:04 +08:00
Jian Qiu
c61f8e65ad fix: sync error (#19413)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-10 16:35:32 +08:00
Jian Qiu
f65d67853a fix: avaialble address6 api timeout (#19479)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-10 16:30:22 +08:00
wanyaoqi
710d5ac2cc fix(region,host): rescue mode update initramfs, vnc login no passwd (#19478) 2024-02-10 16:29:05 +08:00
wanyaoqi
c36ba88ae8 fix(host-deployer): elfherader fd leak (#19476) 2024-02-08 14:11:34 +08:00
屈轩
6f902f1b39 fix(region): avoid panic when change-owner missing domain_id (#19471) 2024-02-08 10:51:22 +08:00
屈轩
ca30e50585 fix(region): add read only filter for account and provider (#19468) 2024-02-07 15:32:58 +08:00
屈轩
c0779d8511 fix(region): trim tag space (#19466) 2024-02-07 11:04:25 +08:00
Jian Qiu
c58970c888 fix: project tag value tree can return sum of any field (#19464)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-06 21:50:46 +08:00
wanyaoqi
8c2ecb44ed fix(host-deployer): xfs unlock panic (#19457) 2024-02-06 00:31:56 +08:00
Jian Qiu
81a12d1f16 feature: allow manager to preapre query context (#19451)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-05 20:06:40 +08:00
屈轩
7ad776ed5d fix(region): qcloud disks delete when vm deleted (#19452) 2024-02-05 17:54:47 +08:00
屈轩
dced4221c2 fix(climc): support set bill report for azure account (#19449) 2024-02-05 15:14:12 +08:00
屈轩
1cd886faae fix(region): cloudpods ipv6 sync (#19444) 2024-02-05 11:24:04 +08:00
屈轩
29b21e9938 fix(region): cloudpods deploy api (#19446) 2024-02-05 11:23:41 +08:00
Jian Qiu
c1fa60a7a7 fix: tenant cache sync deleted projects (#19440)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-05 08:44:47 +08:00
屈轩
a841372d1e fix(region): support set network tags (#19434) 2024-02-04 18:05:10 +08:00
屈轩
bde31db5b3 fix(region): avoid informer panic (#19430) 2024-02-04 16:28:54 +08:00
屈轩
fa78557d51 fix(region): avoid filesystem sync error (#19435) 2024-02-04 15:18:44 +08:00
屈轩
5c3c127a93 fix(region): auto set provider project id when change account project info (#19432) 2024-02-04 11:49:55 +08:00
gouqi11
f3faa152ca fix(scheduledtask): fix deletedResource task (#19424)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-02-04 10:42:48 +08:00
屈轩
0ee21d3ca4 fix(webconsole): sort file list (#19408) 2024-02-03 23:28:31 +08:00
Jian Qiu
2e4e2d3bef fix: fail to reset policy org_node_id to empty (#19425)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-03 23:19:42 +08:00
屈轩
69eaad8afe fix(region): auto create project by project mapping (#19406) 2024-02-02 17:36:52 +08:00
屈轩
f7bcf94501 fix(region): ipv6 free ip (#19417) 2024-02-02 17:15:05 +08:00
屈轩
a8babbda0e fix(region): support public ipv6 addr sync (#19419) 2024-02-02 17:14:02 +08:00
Zexi Li
b9a31f4243 Merge pull request #19423 from wanyaoqi/automated-cherry-pick-of-#19421-upstream-master
Automated cherry pick of #19421: fix(host): init from guest mem obj miss size
2024-02-02 16:53:49 +08:00
wanyaoqi
d1d79d3680 fix(host): init from guest mem obj miss size 2024-02-02 16:45:47 +08:00
Jian Qiu
18ae8cce2e fix: expand policy tags with org node tags (#19415)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-02 11:44:15 +08:00
gouqi11
14d10c121c fix(commom): setStatus with notify hook (#19405)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-02-01 20:44:40 +08:00
屈轩
45c9aa90e7 fix(region): ipv6 filter (#19410) 2024-02-01 18:52:43 +08:00
屈轩
d65aa0535b fix(keystone): optimized user list (#19403) 2024-02-01 16:43:08 +08:00
Jian Qiu
fe13dc9dd0 fix: allow binding organization ids to policy (#19396)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-01 10:58:38 +08:00
屈轩
3b7c0d9d4d fix(webconsole): support host ssh (#19386) 2024-02-01 10:58:11 +08:00
Jian Qiu
3ba0b815eb fix: sync unknown guest status when host ping (#19385)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-01 10:57:55 +08:00
屈轩
d6c4428763 fix(common): auto disable 3des cipher suites (#19391) 2024-02-01 10:56:55 +08:00
屈轩
7880074a66 fix(region): avoid panic (#19401) 2024-02-01 10:11:32 +08:00
屈轩
6baa4b7656 fix(region): vendor update for sync ipv6 (#19397) 2024-01-31 20:57:21 +08:00
屈轩
a8aef171c0 fix(region): cloudpods esxi disk create (#19389) 2024-01-31 17:30:27 +08:00
屈轩
5a18e691ba fix(region): support managed ipv6 (#19394) 2024-01-31 17:29:51 +08:00
Zexi Li
a24d76232d feat(dhcprelay): add Dockerfile (#19376) 2024-01-31 15:22:55 +08:00
屈轩
be1967fe5c fix(region): project mapping key match at end of list (#19380) 2024-01-31 15:05:07 +08:00
Jian Qiu
21e4ea5e4a fix: vmware change config with cpu sockets (#19374)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-01-31 15:04:35 +08:00
Zexi Li
05ad7150b2 fix(baremetal): admin nic is reset when added secondly (#19378) 2024-01-30 16:18:07 +08:00
屈轩
819ec0e27d fix(region): cancel pending delete (#19372) 2024-01-30 14:12:40 +08:00
Zexi Li
34a93ef6c7 Merge pull request #19368 from swordqiu/hotfix/qj-server-change-ip-recode
fix: server change ip addr recode
2024-01-30 10:23:45 +08:00
屈轩
674f23850e fix(region): vendor update for optimized aliyun rds backup sync (#19370) 2024-01-29 18:07:41 +08:00
Qiu Jian
a83fa7ed5a fix: server change ip addr recode 2024-01-29 17:07:20 +08:00
屈轩
4b73c9667c fix(webconsole): use common options (#19329) 2024-01-29 11:29:23 +08:00
Zexi Li
f33eb50797 Merge pull request #19363 from swordqiu/hotfix/qj-validate-role-policies-for-oidc-create-user
fix: validate policy violation when assign users for oidc IDP
2024-01-28 21:58:44 +08:00
Qiu Jian
37a25c3945 fix: validate policy violation when assign users for oidc IDP 2024-01-27 18:16:56 +08:00
Zexi Li
8569204cf4 fix(apigateway): ignore empty rows when registering baremetal host (#19355) 2024-01-27 18:16:31 +08:00
Zexi Li
69c69fb653 fix(climc): wire is required when using network-create (#19361) 2024-01-27 18:15:18 +08:00
wanyaoqi
e46f1babad fix(host-deployer): escape back quote (#19357) 2024-01-27 08:10:25 +08:00
Zexi Li
70bcc94c86 Merge pull request #19338 from swordqiu/hotfix/qj-resolve-local-domain
fix: not resolve local domain with dns records
2024-01-26 16:05:09 +08:00
Zexi Li
01131cc600 Merge pull request #19350 from wanyaoqi/automated-cherry-pick-of-#19347-upstream-master
Automated cherry pick of #19347: fix(host-deployer): check sshclient is nil on disconnect
2024-01-26 16:04:34 +08:00
wanyaoqi
f5e14d64c9 fix(host-deployer): check sshclient is nil on disconnect 2024-01-26 12:12:36 +08:00
屈轩
a4a1794c78 fix(region): sync resource owner with auto-create-project options (#19319) 2024-01-26 11:14:10 +08:00
Zexi Li
cd7b1f2bb2 Merge pull request #19343 from zexi/automated-cherry-pick-of-#19342-upstream-master
Automated cherry pick of #19342: optimized(scheduler): remove fillResidentTenants function loading data from db
2024-01-25 17:10:49 +08:00
Zexi Li
cb8359abd8 optimized(scheduler): remove fillResidentTenants function loading data from db 2024-01-25 17:06:39 +08:00
Zexi Li
519d4a0cd6 Merge pull request #19336 from zexi/automated-cherry-pick-of-#19334-upstream-master
Automated cherry pick of #19334: fix(baremetal): hardcode h3c ipmi lan channel to 1
2024-01-25 15:49:38 +08:00
Qiu Jian
31d7f9d10a fix: not resolve local domain with dns records 2024-01-25 15:38:31 +08:00
Jian Qiu
4838521075 fix: ipv6 secgroup support (#19332)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-01-25 13:25:36 +08:00
Zexi Li
ab50ed67a1 fix(baremetal): hardcode h3c ipmi lan channel to 1 2024-01-25 11:55:02 +08:00
Jian Qiu
db8263a347 Revert "hotfix: unit test copyOptions" (#19328) 2024-01-24 22:13:56 +08:00
Jian Qiu
2613b682aa hotfix: unit test copyOptions (#19312)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-01-24 18:59:45 +08:00
屈轩
8a1a9fde3e fix(region): gcp secrule update (#19323) 2024-01-24 17:16:51 +08:00
屈轩
481210d7fe fix(climc): optimized storagecache cmd (#19321) 2024-01-24 15:03:22 +08:00
Zexi Li
ed5d9ba4b4 Merge pull request #19315 from zexi/automated-cherry-pick-of-#19314-upstream-master
Automated cherry pick of #19314: fix(build): use telegraf-raid-plugin:release-1.6.5
2024-01-22 16:59:19 +08:00
Zexi Li
8f1b360104 fix(build): use telegraf-raid-plugin:release-1.6.5 2024-01-22 16:49:29 +08:00
Jian Qiu
d12cd7d342 fix(region): server change config input recode (#19299)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-01-22 11:33:02 +08:00
屈轩
f06cda7481 fix(region): avoid panic (#19310) 2024-01-19 19:31:10 +08:00
屈轩
ed75e9304e fix(region): auto encrypt options password (#19307) 2024-01-19 19:19:42 +08:00
屈轩
b41c0dd1ca fix(region): vendor update for aws image import (#19305) 2024-01-19 16:14:30 +08:00
屈轩
d126ffceb5 fix(region): eip sync with project (#19301) 2024-01-19 14:04:16 +08:00
gouqi11
fc3041fa49 feat(region): support notify for guest_status changed (#19297)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-01-19 10:24:03 +08:00
gouqi11
ff8b0c8de7 feat(notify): SupportReceiverGetContactTypeByRoleId (#19295)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-01-19 10:14:27 +08:00
屈轩
00173b753a fix(region): huawe redis spec code update (#19293) 2024-01-18 18:22:54 +08:00
屈轩
c8e01fc993 fix(region): check kvm vpc and security group relation (#19291) 2024-01-18 14:34:52 +08:00
屈轩
4221d20f99 fix(region): huawei bucket create with usable regions (#19289) 2024-01-18 11:19:25 +08:00
gouqi11
b4d4754323 fix(region): add public_cloud_provider list (#19286)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-01-18 10:48:51 +08:00
Jian Qiu
9ca7fb3bf8 fix: windows ipv6 support (#19279)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-01-17 19:47:25 +08:00
屈轩
847775cfb9 fix(climc): add bill report for volc account (#19283) 2024-01-17 14:51:12 +08:00
Jian Qiu
52906770bb fix: automatically refresh invalid admin token (#19272)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-01-17 00:27:49 +08:00
Jian Qiu
17adf2ca42 fix: dhcpv6 support in vpc network (#19270)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-01-17 00:27:21 +08:00
Jian Qiu
7c2de32b62 fix: try resolve tenant by project id first (#19276)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-01-16 22:13:53 +08:00
屈轩
fb6fa5f5c4 fix(region): vendor update for pve vm sync (#19265) 2024-01-16 15:34:44 +08:00
屈轩
4a7692b8d0 fix(region): esxi vm create with tags (#19262) 2024-01-16 14:25:50 +08:00
屈轩
39690fabed fix(region): dns record update with enabled params (#19260) 2024-01-15 19:47:10 +08:00
gouqi11
f83ee1d5de feat(notify): support project notify (#19242)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-01-15 19:34:57 +08:00
Zexi Li
8c885359fa Merge pull request #19257 from ioito/hotfix/qx-vendor-update-0115
fix(region): vendor update for aliyun security group rule create
2024-01-15 19:21:47 +08:00
ioito
24f534bf71 fix(region): vendor update for aliyun security group rule create 2024-01-15 19:10:38 +08:00
屈轩
93e2b3684f fix(region): avoid duplicate cachedimage insert (#19254) 2024-01-15 18:30:38 +08:00
Jian Qiu
c7d79f5d48 Feature/qj ipv6 support (#19249)
* feature: ipv6 support

* fix: ipv6 support more

* fix: update vendor for ipv6 support

* fix: allow enable ipv6 on existing guestnetwork

---------

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-01-15 13:32:52 +08:00
wanyaoqi
b78db4e029 fix(host-deployer): add growpart resize partitions (#19252) 2024-01-15 12:14:51 +08:00
屈轩
a96158ee74 fix(region): huawei eip disassociate (#19243) 2024-01-12 19:31:58 +08:00
屈轩
441bb2ca2c fix(region): avoid duplicate project create (#19240) 2024-01-12 19:16:12 +08:00
屈轩
546e7bc379 fix(region): huawei disk refresh (#19237) 2024-01-12 15:53:25 +08:00
屈轩
d1ce2c03b2 fix(cloudmon): huawei metric pull (#19235) 2024-01-12 15:39:58 +08:00
屈轩
43b0609bac fix(region): vendor update for huawei rds create (#19231) 2024-01-11 19:04:24 +08:00
Jian Qiu
43d7668ee5 fix: no fetch owner scope when GetProperty (#19229)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-01-11 18:58:46 +08:00
wanyaoqi
851eb1d347 fix(host-deployer): add cmdline vsyscall=emulate on ramfs guest (#19224)
deploy fs on older system like centos 6, need emulate vsyscall.
otherwise will get error like:
    Code: Unable to access opcode bytes at 0xffffffffff6003d6.
2024-01-11 05:45:32 +08:00
wanyaoqi
bfa7a4ec5d feat(region,host): shared lvm storage (#19195) 2024-01-10 23:26:42 +08:00
Zexi Li
f988d3928b Merge pull request #19198 from wanyaoqi/automated-cherry-pick-of-#19196-upstream-master
Automated cherry pick of #19196: fix(host): host-agent register skip upload vf nics
2024-01-10 10:28:46 +08:00
Zexi Li
bd670e7165 Merge pull request #19217 from wanyaoqi/automated-cherry-pick-of-#19216-upstream-master
Automated cherry pick of #19216: Automated cherry pick of #19215: fix(host-deployer): deploy params has special char
2024-01-10 10:27:39 +08:00
Zexi Li
ecd9c7d92f Merge pull request #19213 from gouqi11/fixNotifyMissingTopForOperationSuccessed
fix(notify): fix host webhook err
2024-01-10 09:59:54 +08:00
wanyaoqi
708f7c18b8 fix(host-deployer): deploy params has special char 2024-01-09 23:08:08 +08:00
马鸿飞
2e90bca3ec fix(notify): add actionTranslate 2024-01-09 19:20:11 +08:00
屈轩
f46adc77cb fix(region): skip sync used ip addr (#19207) 2024-01-09 17:50:18 +08:00
屈轩
b6e870de5d fix(region): image project tags (#19210) 2024-01-09 17:49:53 +08:00
屈轩
3ca3a3fa63 fix(region): avoid gcp secgroup delete failed (#19205) 2024-01-09 16:59:39 +08:00
屈轩
11e13434b5 fix(region): skip clear secgroup when delete vm (#19199) 2024-01-09 16:59:12 +08:00
Zexi Li
a0531a6fa9 Merge pull request #19204 from zexi/readme-changelog-link
fix(README): wrong changelog links
2024-01-09 14:57:05 +08:00
Zexi Li
f747bf0187 fix(README): wrong changelog links 2024-01-09 14:55:31 +08:00
Zexi Li
a0060df591 Merge pull request #19203 from zexi/update-readme
fix(README): simplify content and remove deadlinks
2024-01-09 14:42:40 +08:00
Zexi Li
4b599f33be fix(README): simplify content and remove deadlinks 2024-01-09 12:37:36 +08:00
wanyaoqi
a4c0b4100c fix(host): host-agent register skip upload vf nics 2024-01-08 23:20:39 +08:00
屈轩
95b02b3da4 fix(region): access group rule purge (#19191) 2024-01-08 15:52:05 +08:00
屈轩
764f93bf76 fix(region): simplify db init (#19182) 2024-01-08 14:19:11 +08:00
屈轩
f7ec171dee fix(region): volcengine network range (#19187) 2024-01-08 11:35:04 +08:00
屈轩
4f8c883fc8 fix(region): support aliyun essd entry (#19184) 2024-01-08 11:18:03 +08:00
屈轩
c38d52bf5c fix(region): access group without cache (#19165) 2024-01-05 19:58:45 +08:00
gouqi11
36fdfcd8dc fix(notify): add missing topic (#19174)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-01-05 18:57:28 +08:00
马鸿飞
98ff5145c4 fix(notify): add missing topic 2024-01-05 16:27:14 +08:00
屈轩
939fe0e1a1 fix(region): vendor update for zstack secgroup rule (#19169) 2024-01-05 10:39:01 +08:00
Jian Qiu
9f099bb802 fix: vpc dhcp options string value should be double quoted (#19164)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-01-05 07:56:24 +08:00
gouqi11
cd1b0e9dfc fix(notify): host topic bug fix (#19167)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-01-04 19:21:00 +08:00
屈轩
41a942413b fix(region): add translate (#19137) 2024-01-02 16:49:18 +08:00
wanyaoqi
30c3ecff61 fix(host): host register set isinit false on hostId not null (#19155)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2024-01-02 14:01:03 +08:00
Jian Qiu
345a86f7c1 fix: qmp free port test (#19152)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-01-02 14:00:21 +08:00
wanyaoqi
ed79e40429 fix(region): ovs offload interface get ifname from isolated devices tlb (#19147)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-12-31 12:30:31 +08:00
Jian Qiu
141f46f35d fix: automatically reserve guest gateway IP (#19138)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-12-30 17:11:50 +08:00
Jian Qiu
33556cdf40 fix: deploy user ssh keypair for user account only (#19133)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-12-30 16:56:24 +08:00
wanyaoqi
d70dd2f541 feat(region,host,host-deployer): infiniband nic sriov support (#19128) 2023-12-30 16:56:11 +08:00
屈轩
4e2e491526 fix(region): user-date deploy by metadate (#19126) 2023-12-29 17:14:46 +08:00
屈轩
c905fef410 fix(region): vendor update for huawei project sync (#19139) 2023-12-29 17:09:36 +08:00
Zexi Li
58bc3c318f Merge pull request #19129 from swordqiu/hotfix/qj-avoid-megacli-hang-on-adpallinfo
fix: avoid megacli hang on adpallinfo
2023-12-29 16:37:01 +08:00
Qiu Jian
2d4872cad3 fix: avoid megacli hang on adpallinfo 2023-12-28 21:31:01 +08:00
gouqi11
c10cef4eae feat(notify): support notify for host (#19020)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-12-27 20:07:01 +08:00
am6737
f2cd8a7e2a feat(region): support custom user data in Google Cloud VM rebuild (#19124)
- ServerDeployInputBase结构体添加UserData字段用于部署虚拟机时获取用户自定义数据
- docs/swagger/swagger_compute.yaml中的ServerRebuildRootInput添加user_data字段
- RequestDeployGuestOnHost方法中添加rebuild重装系统获取user_data的逻辑
2023-12-27 18:44:13 +08:00
gouqi11
fe667b04b7 fix(monitor): fix alertRecord manager (#19116)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-12-27 17:31:10 +08:00
屈轩
6002deec6f fix(region): huawei subaccount (#19071) 2023-12-27 14:20:37 +08:00
屈轩
2294a47506 fix(region): vendor update for deploy vm struct params (#19113) 2023-12-27 11:33:33 +08:00
屈轩
ab94f3590a fix(climc): support set tencent cloud bill report (#19106) 2023-12-27 11:07:25 +08:00
wanyaoqi
d5b3acfc87 fix(region,host-deployer): qga os distribution format (#19110)
host-deployer fix xfs mount error

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-12-26 20:15:26 +08:00
Jian Qiu
7f2ff35da4 fix: delete server will purge instance backups (#19096)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-12-26 15:45:08 +08:00
Jian Qiu
5de57897c2 Feature/qj support default interface (#19095)
* fix: support default gateway interface

* fix: default gateway 2

---------

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-12-26 15:35:04 +08:00
wanyaoqi
ddde38aa43 feat(region,host): guest sync os info (#19100) 2023-12-26 12:49:29 +08:00
屈轩
a111617c05 fix(region): optimized host-list speed (#19093) 2023-12-26 11:04:11 +08:00
屈轩
0e4583c353 fix(region): esxi change config (#19089) 2023-12-25 14:36:18 +08:00
屈轩
5ed79e2c95 fix(region): change storage_size from int to int64 (#19085) 2023-12-22 18:36:11 +08:00
Zexi Li
d9190bc642 Merge pull request #19080 from ioito/hotfix/qx-vendor-update-volc-for-loop
fix(region): avoid for-loop sync volcengine disks
2023-12-22 17:32:33 +08:00
Zexi Li
f2f535985e Merge pull request #19084 from wanyaoqi/automated-cherry-pick-of-#19082-upstream-master
Automated cherry pick of #19082: fix(host-deployer): check executor is enabled on init qemu driver
2023-12-22 17:32:15 +08:00
wanyaoqi
01dc0e66ca fix(host-deployer): check executor is enabled on init qemu driver 2023-12-22 17:20:34 +08:00
ioito
7fcca14ca2 fix(region): avoid for-lool sync volcengine disks 2023-12-22 16:28:29 +08:00
屈轩
e240b2f8ea fix(region): optimized disk list (#19076) 2023-12-22 14:49:33 +08:00
屈轩
cca71781bb fix(region): add disk preallocation for guest info (#19074) 2023-12-22 10:35:53 +08:00
屈轩
2151def1b6 fix(region): remove debug sql query (#19072) 2023-12-21 20:50:38 +08:00
Zexi Li
5a02dfc7c0 feat(baremetal-agent): support using tftp to download kernel and initrd (#19064) 2023-12-21 00:50:48 +08:00
屈轩
4bfe55428f fix(region): refactor huawei api for support organization (#19067) 2023-12-20 19:26:50 +08:00
Zexi Li
bc454e809c Merge pull request #19057 from swordqiu/hotfix/qj-webconsole-open-forward-failure
fix: webconsole ssh open forward failure
2023-12-20 11:37:45 +08:00
屈轩
7ce13321dd fix(region): vendor update for volcengine network and aws dnsrecords sync (#19061) 2023-12-20 11:35:07 +08:00
Qiu Jian
2b58d6f666 fix: webconsole ssh open forward failure 2023-12-19 22:08:41 +08:00
屈轩
3f10e5adad fix(region): ignore empty certificate error for ssl sync (#19053) 2023-12-19 20:26:09 +08:00
Zexi Li
1ad385f483 Merge pull request #19051 from ioito/hotfix/qx-rds-vcpu-count
fix(region): avoid rds vcpu count is zero
2023-12-19 14:25:50 +08:00
屈轩
9c8c505bde fix(region): add log for skiped pending deleted vm (#19049) 2023-12-19 13:28:13 +08:00
ioito
3450620583 fix(region): avoid rds vcpu count is zero 2023-12-19 13:26:10 +08:00
Zexi Li
bc9b1013d0 Merge pull request #19046 from zhasm/hotfix/rex-update-ansible-base-docker-image
fix(docker): update dockerfile for ansible-base
2023-12-19 13:16:54 +08:00
Zhang Dongliang
d4ecbd8774 fix(docker): update dockerfile for ansible-base 2023-12-19 13:08:27 +08:00
屈轩
9814236935 fix(region): snapshot policy sync external id (#19042) 2023-12-18 19:14:07 +08:00
Zexi Li
f4e13247ca Merge pull request #19029 from swordqiu/hotfix/qj-add-dbinstance-lb-event-climc
fix: climc add lb-event and dbinstance-event
2023-12-18 17:27:15 +08:00
Zexi Li
93308afe64 Merge pull request #19036 from swordqiu/automated-cherry-pick-of-#19033-upstream-master
Automated cherry pick of #19033: fix: disable pvpanic dev
2023-12-18 17:27:02 +08:00
Zexi Li
192a2825ce Merge pull request #19034 from wanyaoqi/automated-cherry-pick-of-#19031-upstream-master
Automated cherry pick of #19031: fix(host-deployer): pass config files to deploy vm
2023-12-18 17:25:29 +08:00
Zexi Li
b6a1f9d97f Merge pull request #19039 from wanyaoqi/automated-cherry-pick-of-#19037-upstream-master
Automated cherry pick of #19037: fix(host): usb device hotplug
2023-12-18 17:23:18 +08:00
wanyaoqi
75f03384a9 fix(host): hot add usb device 2023-12-18 17:06:45 +08:00
wanyaoqi
bb3bc0768f fix(host): usb host device add device_id 2023-12-18 17:06:45 +08:00
Qiu Jian
0f62c76cba fix: disable pvpanic dev 2023-12-18 16:45:39 +08:00
wanyaoqi
499946f51c fix(host-deployer): pass config files to deploy vm 2023-12-18 16:43:58 +08:00
屈轩
ce7dc3bfaf fix(region): The latest api of Huawei cloud elb and eip is applicable (#19027) 2023-12-18 15:41:21 +08:00
Qiu Jian
d04a74bfd4 fix: climc add lb-event and dbinstance-event 2023-12-18 15:33:16 +08:00
gouqi11
ea5b0fd896 feat(region): add ip_addr for rds.GetShortDesc (#19021)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-12-16 16:39:23 +08:00
屈轩
9bb93aa7fa fix(region): do not clean up the running vm in the recycle bin (#19015) 2023-12-16 12:50:54 +08:00
Jian Qiu
7af3de39f4 fix: show update command at once (#19014)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-12-16 12:50:42 +08:00
Zexi Li
40b9fd99c3 Merge pull request #19012 from swordqiu/hotfix/qj-webconsole-display-info
fix: webconsole display information control
2023-12-16 10:10:30 +08:00
Zexi Li
2e7e80b402 Merge pull request #19011 from zexi/automated-cherry-pick-of-#19007-upstream-master
Automated cherry pick of #19007: fix(scheduler): reload cloudprovider's hosts when syncing finished
2023-12-16 10:06:17 +08:00
Qiu Jian
de508ff984 fix: webconsole display information control 2023-12-15 21:15:36 +08:00
Zexi Li
793a73c544 fix(scheduler): reload cloudprovider's hosts when syncing finished 2023-12-15 20:20:46 +08:00
屈轩
d478a8ac8d fix(region): refactor snapshot policy (#18996) 2023-12-15 17:07:56 +08:00
Zexi Li
6e9253b504 fix(cloudcommon): service config informer doesn't start watching (#19005) 2023-12-15 14:58:35 +08:00
Zexi Li
1a6c31db45 Merge pull request #18997 from swordqiu/hotfix/qj-webconsole-ssh-api
fix: refine webconsole ssh api
2023-12-15 11:50:36 +08:00
Zexi Li
dc10fae960 Merge pull request #19001 from wanyaoqi/automated-cherry-pick-of-#18999-upstream-master
Automated cherry pick of #18999: fix(host-deployer): udpate yunionos, reduce yunionos memsize
2023-12-15 11:50:22 +08:00
wanyaoqi
8293f86901 fix(host-deployer): udpate yunionos, reduce yunionos memsize 2023-12-15 11:41:41 +08:00
Qiu Jian
10265f3432 fix: refine webconsole ssh api 2023-12-15 10:39:23 +08:00
屈轩
efb2af95d4 fix(region): remove useless snapshot policy code (#18992) 2023-12-14 11:56:01 +08:00
屈轩
a26ac2b821 fix(region): avoid duplicate rule name for gcp (#18989) 2023-12-14 11:23:33 +08:00
wanyaoqi
f8ce36ffe6 feat(region,host): clvm support (#18979) 2023-12-14 09:41:41 +08:00
Zexi Li
f71fcf8881 Merge pull request #18985 from swordqiu/hotfix/qj-backup-storage-capcity-mb-optional
fix: backup storage capacity_mb field optional
2023-12-14 03:28:10 +08:00
屈轩
62767a337b fix(region): set status available for kvm secgroup rule after created (#18987) 2023-12-13 21:26:25 +08:00
屈轩
01a3a5014f fix(region): gen ssl api (#18974) 2023-12-13 19:52:42 +08:00
Qiu Jian
c8ecca833a fix: backup storage capacity_mb field optional 2023-12-13 19:50:38 +08:00
Zexi Li
d30fd31c61 Merge pull request #18982 from zexi/automated-cherry-pick-of-#18981-upstream-master
Automated cherry pick of #18981: fix(monitor): fetch measurements from victoriametrics
2023-12-13 19:47:22 +08:00
Zexi Li
ef1baa1565 fix(monitor): fetch measurements from victoriametrics 2023-12-13 19:01:22 +08:00
Zexi Li
1d0a8eba09 Merge pull request #18976 from zexi/automated-cherry-pick-of-#18975-upstream-master
Automated cherry pick of #18975: fix(monitor): consider whether the target host is in source host of m…
2023-12-13 13:38:16 +08:00
Zexi Li
ad3c442bf0 fix(monitor): consider whether the target host is in source host of mem balancer 2023-12-13 12:53:42 +08:00
Zexi Li
9270f3ee9b Merge pull request #18969 from ioito/hotfix/qx-vendor-update-gcp
fix(region): vendor update for gcp rebuild-root sys disk size and password login
2023-12-12 18:21:09 +08:00
ioito
e2a4ebb03e fix(region): vendor update for gcp rebuild-root sys disk size and password login 2023-12-12 17:21:30 +08:00
Zexi Li
9052d5e03d Merge pull request #18967 from wanyaoqi/automated-cherry-pick-of-#18965-upstream-master
Automated cherry pick of #18965: fix(host-deployer): run guest on host and ignore no config file
2023-12-12 15:19:07 +08:00
wanyaoqi
1e0c76bdb0 fix(host-deployer): run guest on host and ignore no config file
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-12-12 14:56:35 +08:00
Zexi Li
e8b5c4f1f0 Merge pull request #18951 from swordqiu/hotfix/qj-ignore-vm-virtual-ip-changes
fix: ignore vm virtual ip changes
2023-12-11 16:25:18 +08:00
Zexi Li
a59508ae97 Merge pull request #18956 from swordqiu/automated-cherry-pick-of-#18955-upstream-master
Automated cherry pick of #18955: fix: log metric collection action
2023-12-11 16:18:35 +08:00
Qiu Jian
9875d24ba0 fix: log metric collection action 2023-12-11 00:30:18 +08:00
Qiu Jian
5b133f2723 fix: ignore vm virtual ip changes 2023-12-10 12:16:52 +08:00
Jian Qiu
89b414adc1 fix: host add a local config file (#18932)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-12-08 21:26:19 +08:00
屈轩
aa088e6d9f fix(region): support volc balance and gcp api retry (#18946) 2023-12-08 17:56:37 +08:00
屈轩
c8020a3014 fix(region): optimized sync code (#18943) 2023-12-08 15:06:43 +08:00
Zexi Li
76353205fc Merge pull request #18941 from zexi/automated-cherry-pick-of-#18939-upstream-master
Automated cherry pick of #18939: fix(monitor): not add scope to query resource from region service
2023-12-08 12:42:07 +08:00
Zexi Li
be3dd3d939 fix(monitor): not add scope to query resource from region service 2023-12-08 12:30:53 +08:00
屈轩
8853aa50b1 fix(region): add ssl certificate mod (#18938) 2023-12-08 11:38:40 +08:00
Zexi Li
98cc44c63f Merge pull request #18927 from swordqiu/hotfix/qj-no-default-dns-servers
fix: no default fallback dns server
2023-12-08 10:46:57 +08:00
Zexi Li
95d94ac008 Merge pull request #18930 from zexi/automated-cherry-pick-of-#18926-upstream-master
Automated cherry pick of #18926: feat(monitor): make simple-query API adapting victoriametrics and add monitor-unifiedmonitor-query command
2023-12-08 10:46:20 +08:00
Zexi Li
928af12585 feat(climc): add monitor-unifiedmonitor-query command 2023-12-08 10:05:47 +08:00
Zexi Li
92b35fa44a fix(monitor): make simple-query API adapt to victoriametrics 2023-12-08 10:05:47 +08:00
Qiu Jian
41f77abfc7 fix: no default fallback dns server 2023-12-08 01:15:15 +08:00
Zexi Li
8fa8266009 Merge pull request #18922 from ioito/hotfix/qx-cloudpods-image
fix(region): cloudpods uefi and generate name
2023-12-07 16:40:48 +08:00
Zexi Li
5a2d3d3829 Merge pull request #18918 from wanyaoqi/automated-cherry-pick-of-#18917-upstream-master
Automated cherry pick of #18917: Automated cherry pick of #18916: Fix/host deployer
2023-12-07 16:40:25 +08:00
ioito
170b2abe5d fix(region): cloudpods uefi and generate name 2023-12-07 16:13:14 +08:00
wanyaoqi
c9f6484cd1 fix(host-deployer): disconnect fix and concurrence control 2023-12-07 16:06:35 +08:00
屈轩
258dca4f78 fix(webconsole): rdp 用户隔离上传文件 (#18920) 2023-12-07 15:22:10 +08:00
屈轩
526593a2c6 feat(webconsole): support sftp for ssh (#18915) 2023-12-07 14:54:10 +08:00
wanyaoqi
35e11967a4 fix:(host-deployer): arm guest add gic version 2023-12-07 10:39:56 +08:00
屈轩
51e2d49bb5 fix: guacd docker file mkdir required dir (#18912) 2023-12-06 17:03:24 +08:00
Zexi Li
d678596da9 Merge pull request #18910 from zexi/automated-cherry-pick-of-#18908-upstream-master
Automated cherry pick of #18908: fix(monitor): map interval to step
2023-12-06 16:16:34 +08:00
Zexi Li
5ebc867fc9 fix(monitor): map interval to step 2023-12-06 15:33:13 +08:00
Jian Qiu
f28c0e9fe2 fix: esxi hotadd cpu limit (#18892)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-12-06 15:31:03 +08:00
屈轩
d2506ccf10 fix(keystone): remove deleted project metadata (#18905) 2023-12-06 15:29:43 +08:00
屈轩
a9d7d41be3 fix(webconsole): optimized guacd error log (#18903) 2023-12-06 11:59:45 +08:00
Zexi Li
97c1c3ca7f Merge pull request #18898 from zexi/automated-cherry-pick-of-#18897-upstream-master
Automated cherry pick of #18897: fix(monitor): update vendor to support victoriametrics topk func
2023-12-05 18:23:26 +08:00
Zexi Li
0077cb288d fix(monitor): update vendor to support victoriametrics topk func 2023-12-05 18:02:43 +08:00
Jian Qiu
fce84fc413 fix: add index for token_cache_tbl to accelerate invalid token query (#18889)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-12-05 12:22:17 +08:00
Jian Qiu
168b7cde6f fix: clickhouse mapping table use the same name as origin (#18887)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-12-05 12:21:54 +08:00
Zexi Li
c51739ebb6 Merge pull request #18880 from ioito/hotfix/qx-cloudmon-sync
fix(region): avoid cloudmon no cloudprovider sync
2023-12-05 12:06:51 +08:00
Zexi Li
821eb41b99 Merge pull request #18882 from ioito/hotfix/qx-show-update-cmd
fix: show update oc cmd
2023-12-05 12:06:18 +08:00
ioito
0e487b2457 fix: show update oc cmd 2023-12-05 10:39:21 +08:00
ioito
0c7bf6989f fix(region): avoid cloudmon no cloudprovider sync 2023-12-05 10:03:10 +08:00
Jian Qiu
1b997dcb79 fix: mapping mysql tables into clickhouse with Engine MySQL (#18877)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-12-05 07:08:17 +08:00
wanyaoqi
0692c20341 fix(host-deployer): qemu deployer without kvm support (#18875) 2023-12-05 07:07:47 +08:00
wanyaoqi
1977a725f5 fix(region): add option control enable default dns server (#18873) 2023-12-04 17:02:20 +08:00
Zexi Li
482d034c97 Merge pull request #18867 from ioito/hotfix/qx-vendor-update-esxi-cpu-socket
fix(region): vendor update
2023-12-04 15:25:48 +08:00
Zexi Li
c646b3cca6 Merge pull request #18870 from zexi/automated-cherry-pick-of-#18780-upstream-master
Automated cherry pick of #18780: feat(host): use IsolatedDeviceModels as GPU whitelist
2023-12-04 15:24:54 +08:00
Zexi Li
a270a0652c feat(host): use IsolatedDeviceModels as GPU whitelist 2023-12-04 15:23:08 +08:00
ioito
082a705c01 fix(region): vendor update 2023-12-04 14:57:59 +08:00
Zexi Li
af4f1b3504 Merge pull request #18865 from wanyaoqi/automated-cherry-pick-of-#18864-upstream-master
Automated cherry pick of #18864: Automated cherry pick of #18863: fix(host-deployer,host): mv deploy driver option to common options
2023-12-04 14:35:30 +08:00
屈轩
1105454459 fix(region): vendor update (#18860) 2023-12-04 14:26:11 +08:00
wanyaoqi
3553fc983e fix(host-deployer,host): mv deploy driver option to common options 2023-12-04 14:23:18 +08:00
Zexi Li
0808bafad0 Merge pull request #18858 from wanyaoqi/automated-cherry-pick-of-#18857-upstream-master
Automated cherry pick of #18857: Manual cherrypick of #18856
2023-12-04 10:35:44 +08:00
wanyaoqi
c3743b57f3 fix(host-deployer): update base image and fix return errors 2023-12-04 01:54:58 +08:00
Jian Qiu
7355825e38 fix: reserve ping probed ip with expiration (#18854)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-12-03 22:27:14 +08:00
Jian Qiu
73558fb13e fix: force assign ip address when sync vm vnics (#18852)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-12-03 15:34:15 +08:00
Zexi Li
30c3016218 fix(baremetal): disable probe access mac by redfish driver (#18847) 2023-12-03 15:33:43 +08:00
Zexi Li
282e2e5fec Merge pull request #18843 from zexi/use-github-action-for-pr
feat(ci): use github action to check PR
2023-12-01 13:00:48 +08:00
Zexi Li
489791fef9 feat(ci): use github action to check PR 2023-12-01 12:30:48 +08:00
Jian Qiu
7a1ea2085c fix: server create instance backup parameters (#18839)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-11-30 20:19:07 +08:00
屈轩
32d6e782a1 fix(region): 增加配置项,支持标签不再同步至云上功能 (#18837) 2023-11-30 19:12:45 +08:00
屈轩
e01f01483c fix(webconsole): rdp stop (#18840) 2023-11-30 19:12:26 +08:00
Jian Qiu
7efec61f3d Hotfix/qj esxi sync ips support (#18831)
* fix: support esxi subips

* update vendor

---------

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-11-30 18:04:01 +08:00
wanyaoqi
1e33fcf328 fix(host): guest switch to backup (#18835) 2023-11-30 17:15:04 +08:00
wanyaoqi
b58cd52d30 Automated cherry pick of #18822: Automated cherry pick of #18821: Feat/deploy guest (#18823)
* feat(region): add guest rescue api && download initrd from baremetal tftp server && add baremetal agent ip finder & update pic address & support ip kernel config.

* feat(host-deployer): use qemu-kvm as default deploy dirver

---------

Co-authored-by: boironic@gmail.com <boironic@gmail.com>
2023-11-30 16:50:18 +08:00
屈轩
127711a965 fix(region): optional vcpu when change vm config (#18825) 2023-11-30 13:33:34 +08:00
屈轩
a5c5f4feb9 fix(region): skip sync meta if no public cloud register (#18827) 2023-11-30 13:33:01 +08:00
Jian Qiu
df71fdd3a8 fix: filter networks by host type (#18818)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-11-30 00:07:41 +08:00
屈轩
72c3d49b2b fix(webconsole): checke rdp password (#18816) 2023-11-29 19:07:37 +08:00
屈轩
e68fd8b574 fix(webconsole): rdp enable drive (#18805) 2023-11-29 19:07:02 +08:00
屈轩
7d9e941869 fix(region): vendor update (#18814) 2023-11-29 15:00:36 +08:00
屈轩
3bd3297632 fix(region): 只读账号增量更新标签 (#18811) 2023-11-29 14:53:41 +08:00
Jian Qiu
74420ecdb7 fix: generalized metadata getter (#18807)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-11-29 09:04:14 +08:00
屈轩
eb0faaec97 feat(webconsole): support rdp (#18755) 2023-11-28 10:47:04 +08:00
Zexi Li
963f310ca7 Merge pull request #18800 from swordqiu/hotfix/qj-get-property-with-customized-show
fix: customized show content of get-property
2023-11-28 10:09:17 +08:00
Qiu Jian
ed76beabec fix: customized show content of get-property 2023-11-28 07:37:20 +08:00
Zexi Li
d75ddd3bdc Merge pull request #18798 from zexi/automated-cherry-pick-of-#18797-upstream-master
Automated cherry pick of #18797: fix(monitor): register agent_nvidia_smi metrics
2023-11-27 19:32:19 +08:00
Zexi Li
db1bc181bd fix(monitor): register agent_nvidia_smi metrics 2023-11-27 19:13:39 +08:00
Zexi Li
71cad44ad9 Merge pull request #18795 from wanyaoqi/automated-cherry-pick-of-#18792-upstream-master
Automated cherry pick of #18792: Automated cherry pick of #18791: fix(region): alloc ovn_mapped_ip_addr on host post create
2023-11-27 19:07:29 +08:00
Zexi Li
8ee1e7c07c Merge pull request #18787 from swordqiu/hotfix/qj-cloud-account-update-aliyun-billing-scope
fix: cloud account update aliyun billing scope
2023-11-27 19:06:37 +08:00
屈轩
19b4400137 fix(region): revert os dist filter and sort (#18793) 2023-11-27 17:34:35 +08:00
wanyaoqi
5be641d123 fix(region): alloc ovn_mapped_ip_addr on host post create 2023-11-27 17:25:43 +08:00
Qiu Jian
11cd6ec3b0 fix: cloud account update aliyun billing scope 2023-11-27 01:24:40 +08:00
Zexi Li
26454fffdb Merge pull request #18786 from swordqiu/automated-cherry-pick-of-#18784-upstream-master
Automated cherry pick of #18784: feature: backup support object storage
2023-11-26 21:05:16 +08:00
Qiu Jian
33ac7b1fda fix: encrypt object storage secret 2023-11-26 20:47:44 +08:00
Qiu Jian
409a61dbd9 fix: update model api 2023-11-26 20:47:44 +08:00
Qiu Jian
6c15b55596 feature: backup support object storage 2023-11-26 20:47:43 +08:00
屈轩
c5e8856b42 fix(region): trim metadata key (#18775) 2023-11-24 22:18:00 +08:00
屈轩
4d7cbb93b2 fix(region): vm filter by os dist (#18777) 2023-11-24 20:06:01 +08:00
屈轩
e343ae3b5e fix(region): distinct os dist field (#18767) 2023-11-24 11:51:52 +08:00
屈轩
4e75760a3a fix(region): show guest gpu model (#18765) 2023-11-23 12:39:38 +08:00
Jian Qiu
a71b19ea17 fix: hot add mem check for esxi vm (#18762)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-11-23 12:21:12 +08:00
Zexi Li
51ecf0536f Merge pull request #18757 from swordqiu/hotfix/qj-hot-add-mem-for-esxi
fix: hot add mem check for esxi vm
2023-11-23 10:15:23 +08:00
Qiu Jian
db1f8c8124 fix: hot add mem check for esxi vm 2023-11-23 08:53:33 +08:00
Zexi Li
ba762a31fe feat(region): add nvidia_smi telegraf input plugin (#18754) 2023-11-23 00:19:46 +08:00
屈轩
29804817f1 fix(keystone): project clean (#18741) 2023-11-21 21:10:17 +08:00
Zexi Li
4848a48d0c Merge pull request #18747 from zexi/automated-cherry-pick-of-#18746-upstream-master
Automated cherry pick of #18746: fix(monitor): query multiple fileds from victoria-metrics
2023-11-21 18:07:52 +08:00
Zexi Li
b085e70957 fix(monitor): query multiple fileds from victoria-metrics 2023-11-21 17:45:44 +08:00
Zexi Li
6945b86ed4 Merge pull request #18743 from ioito/hotfix/qx-list-filter-field
fix(region): remove useless filter params
2023-11-21 17:16:38 +08:00
ioito
489b0e04d1 fix(region): remove useless filter params 2023-11-21 16:05:09 +08:00
屈轩
2e1c5fa844 fix(region): cpu socket (#18731) 2023-11-21 14:58:27 +08:00
Zexi Li
1d9a291fe9 Merge pull request #18739 from zexi/automated-cherry-pick-of-#18736-upstream-master
Automated cherry pick of #18736: feat(region,host,climc): aggregate server hardware information
2023-11-21 14:09:02 +08:00
Zexi Li
46a1061d7c feat(region,host,climc): aggregate server hardware information 2023-11-21 12:10:17 +08:00
gouqi11
91dac7f4a9 feat(common): log support rebilling (#18737)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-11-20 19:21:01 +08:00
Zexi Li
677e0f9a5a Merge pull request #18730 from zexi/update-issue-close-days
fix(github-action): set issue close inactive-day to 7
2023-11-20 11:00:08 +08:00
Zexi Li
5bc3a6fe3b fix(github-action): set issue close inactive-day to 7 2023-11-20 10:59:12 +08:00
屈轩
09af132d52 fix(region): vendor update for aliyun tags (#18727) 2023-11-17 16:30:20 +08:00
gouqi11
2309dfc27c fix(notify): fix webhook brand (#18723)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-11-17 15:37:08 +08:00
屈轩
7f3cc23f78 fix(region): redis cloudregion id (#18721) 2023-11-17 15:19:49 +08:00
Zexi Li
b6a703fdca Merge pull request #18719 from zexi/automated-cherry-pick-of-#18718-upstream-master
Automated cherry pick of #18718: fix(climc): bash completion is not working
2023-11-17 12:33:28 +08:00
Zexi Li
3066e65982 fix(climc): bash completion is not working 2023-11-17 12:03:02 +08:00
屈轩
b1d6a2d2c8 fix(region): vendor update (#18714) 2023-11-17 11:34:25 +08:00
屈轩
4fcec841a4 fix(region): vendor update (#18711) 2023-11-17 10:08:41 +08:00
gouqi11
30f8488238 fix(region): rds skip notImplementedErr (#18704)
* fix(region): rds skip notImplementedErr

* fix(region): aws redis set metadata status

---------

Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-11-16 17:20:26 +08:00
屈轩
26a2210d63 fix(region): vendor update (#18706) 2023-11-16 17:17:35 +08:00
gouqi11
002e1da54f update vendor (#18701)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-11-16 10:00:49 +08:00
gouqi11
0dbb094cd9 fix(region): fix db_dispatcher duplicate notify (#18698)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-11-15 17:02:39 +08:00
Jian Qiu
bd90a4427a fix: update lb cluster with patch params (#18695)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-11-15 08:57:06 +08:00
Jian Qiu
cd35933ffd fix: windows GPU vm should set hypervisor=off (#18690)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-11-15 08:56:33 +08:00
Jian Qiu
004ec64170 fix: make host dhcp lease options global (#18682)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-11-15 08:55:06 +08:00
Jian Qiu
cc89c353e9 fix: host set nil metadata (#18687)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-11-15 08:54:24 +08:00
Jian Qiu
f0caa12d88 fix: organization node weight not effective (#18693)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-11-15 08:54:03 +08:00
Zexi Li
d0f9fd4e11 feat(region,climc): add set-os-info api (#18678) 2023-11-14 22:59:45 +08:00
Zexi Li
e1c329974f Merge pull request #18671 from wanyaoqi/automated-cherry-pick-of-#18669-upstream-master
Automated cherry pick of #18669: fix(host): sync sriov nic bw on change config
2023-11-14 20:25:44 +08:00
屈轩
7cf461e8b7 feat(region): support oracle cloud (#18676) 2023-11-14 19:43:23 +08:00
gouqi11
f38441c251 fix(keystone): fix usage for projectNum (#18663)
* feat(region): support action to reBilling

* fix(keystone): fix keystone usage for projectNum

---------

Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-11-14 19:32:13 +08:00
Zexi Li
d0e8ec1d7e fix(host): setup routes from start to end (#18675) 2023-11-14 17:56:20 +08:00
wanyaoqi
13e8abbdc0 fix(host): sync sriov nic bw on change config 2023-11-14 16:39:03 +08:00
Zexi Li
421d903825 Merge pull request #18667 from wanyaoqi/automated-cherry-pick-of-#18665-upstream-master
Automated cherry pick of #18665: fix(regin): instance snapshot create guest fill os arch
2023-11-14 14:47:37 +08:00
Zexi Li
87b7bccaf5 Merge pull request #18661 from ioito/hotfix/qx-vm-order-by-os-dist
fix(region): order by os dist
2023-11-14 14:44:48 +08:00
wanyaoqi
da9188eef8 fix(regin): instance snapshot create guest fill os arch 2023-11-14 11:17:22 +08:00
ioito
123adc1a28 fix(region): order by os dist 2023-11-14 10:46:09 +08:00
Zexi Li
71b8f5b93e Merge pull request #18657 from zexi/automated-cherry-pick-of-#18655-upstream-master
Automated cherry pick of #18655: fix(host): catch init error
2023-11-13 21:12:51 +08:00
Zexi Li
22d5a01ff2 Merge pull request #18634 from testwill/fmt
chore: unnecessary use of fmt.Sprintf d
2023-11-13 20:44:41 +08:00
Zexi Li
22b2eabdc1 fix(host): catch init error 2023-11-13 20:40:39 +08:00
Zexi Li
d57764edac Merge pull request #18644 from swordqiu/hotfix/qj-gpu-class-codes
fix: extend gpu pci class codes
2023-11-13 19:19:26 +08:00
屈轩
7ddcafd0fa fix(yunionconf): allow disable bug report (#18653) 2023-11-13 19:03:54 +08:00
屈轩
f0b9b735c1 fix(region): vm gpu notes (#18651) 2023-11-13 18:15:33 +08:00
屈轩
bb3f8eba9f fix(region): esxi support preallocation vdisk (#18647) 2023-11-13 18:15:14 +08:00
Zexi Li
ee80ff489b Merge pull request #18641 from wanyaoqi/automated-cherry-pick-of-#18639-upstream-master
Automated cherry pick of #18639: fix(region,host): sriov nic hotplug and metrics fix
2023-11-13 17:02:50 +08:00
Zexi Li
4116a06cc2 Merge pull request #18633 from ioito/hotfix/qx-esxi-disk-storage
fix(region): esxi disk storage
2023-11-13 16:56:37 +08:00
Qiu Jian
66f53fa89e fix: extend gpu pci class codes 2023-11-13 16:19:02 +08:00
wanyaoqi
0c98109446 fix(region,host): sriov nic hotplug and metrics fix 2023-11-13 14:42:53 +08:00
Zexi Li
b0c80ca22f Merge pull request #18638 from wanyaoqi/automated-cherry-pick-of-#18636-upstream-master
Automated cherry pick of #18636: fix(region): change config check traffic limit params
2023-11-13 11:38:53 +08:00
wanyaoqi
dc2a1a8279 fix(region): change config check traffic limit params 2023-11-13 11:22:40 +08:00
guoguangwu
e4b396e870 chore: unnecessary use of fmt.Sprintf d
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
2023-11-12 21:08:23 +08:00
ioito
5d3a00a539 fix(region): esxi disk storage 2023-11-10 19:06:27 +08:00
Zexi Li
42d64e8562 Merge pull request #18631 from ioito/hotfix/qx-project-tags-cloudmon
fix(cloudmon): collect metric with project tags
2023-11-10 16:45:33 +08:00
Zexi Li
c5c57cdd20 Merge pull request #18625 from swordqiu/hotfix/qj-cloud-provider-external-id
fix: cloudprovider external id
2023-11-10 16:40:09 +08:00
ioito
7560dae53b fix(cloudmon): collect metric with project tags 2023-11-10 16:33:11 +08:00
屈轩
ca29c4d441 fix(region): vendor update (#18629) 2023-11-10 16:09:45 +08:00
Zexi Li
ed05401e1d Merge pull request #18617 from zexi/automated-cherry-pick-of-#18545-upstream-master
Automated cherry pick of #18545: feat(monitor,region,host,cloudmon): support VictoriaMetrics as TSDB backend
2023-11-10 16:05:51 +08:00
屈轩
f52e78a64d fix(common): support report bug (#18626) 2023-11-10 15:46:07 +08:00
Zexi Li
9a9414452b feat(monitor,region,host,cloudmon): support VictoriaMetrics as TSDB backend 2023-11-10 15:36:02 +08:00
Qiu Jian
404b26d8b1 fix: cloudprovider external id 2023-11-10 12:06:39 +08:00
屈轩
6621e3f15f fix(region): vendor update (#18622) 2023-11-10 12:00:27 +08:00
屈轩
d3f273e58b fix(region): qcloud secgroup rule priority (#18620) 2023-11-10 11:54:54 +08:00
Lptnyy
2c3d5213ba feat(region): qcloud&aliyun&huawei add sslcertificate resource sync (#18570)
* feat(region): qcloud&aliyun&huawei add sslcertificate resource sync

* fix(region): move syncSslcert from syncPublicCloudProviderInfo to SyncCloudproviderResources
2023-11-10 11:54:30 +08:00
Zexi Li
3ca9dc0f51 Merge pull request #18618 from gouqi11/fixKeystoneProjectUsage
fix(keystone): fix usage empty projectTags
2023-11-09 16:09:38 +08:00
马鸿飞
6412887fce fix(keystone): fix usage empty projectTags 2023-11-09 15:31:07 +08:00
Zexi Li
0d66ffcaf6 Merge pull request #18613 from ioito/hotfix/qx-pve-iso
fix(region): pve cdrom with host info
2023-11-09 12:18:12 +08:00
ioito
9c58a8f644 fix(region): pve cdrom with host info 2023-11-09 12:04:13 +08:00
屈轩
540a63afb7 fix(region): avoid panic when sync aliyun redis (#18606) 2023-11-08 20:56:25 +08:00
gouqi11
4a7e55b77e feat(usage): support project count (#18608)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-11-08 20:36:32 +08:00
屈轩
c790883c29 fix(webconsole): pve vnc support (#18603) 2023-11-08 19:35:06 +08:00
Zexi Li
478e1844c9 fix(host): ignore error when add bridge ip address route (#18600) 2023-11-08 17:39:54 +08:00
屈轩
20f62a1881 fix(region): clean invalid skus (#18594) 2023-11-07 21:16:41 +08:00
屈轩
c8b0d6f9f5 fix(region): vendor update (#18590) 2023-11-07 20:36:59 +08:00
Zexi Li
e2969ee45c Merge pull request #18584 from wanyaoqi/fix/host-deployer-connect-lock
fix(host-deployer): use sync.lock on nbd connect/disconnect
2023-11-07 15:40:13 +08:00
wanyaoqi
b1ef71f82c fix(host-deployer): use sync.lock on nbd connect/disconnect 2023-11-07 15:28:20 +08:00
wanyaoqi
d5292e37f2 Automated cherry pick of #18580: fix(host): sync guest machine type on live migrate (#18582)
* fix(host): sync guest machine type on live migrate

* fix(host): checkout real anonymous pci devs on ensure pci address
2023-11-07 09:45:54 +08:00
wanyaoqi
e5549057d6 fix(host-deployer): detach nbd device do not block main thread (#18578) 2023-11-07 07:22:26 +08:00
Zexi Li
f1c71a1253 Merge pull request #18573 from wanyaoqi/automated-cherry-pick-of-#18571-upstream-master
Automated cherry pick of #18571: fix(host): live migrate ensure disk storate type
2023-11-06 16:48:07 +08:00
wanyaoqi
f313d13bbf fix(host): live migrate ensure disk storate type 2023-11-06 14:46:54 +08:00
Zexi Li
44b6c497c2 Merge pull request #18565 from swordqiu/hotfix/qj-qemu-disk-add-serial
fix: qemu disk set serial as disk_id
2023-11-05 11:44:48 +08:00
Qiu Jian
0f5b2b2943 fix: qemu disk set serial as disk_id 2023-11-04 18:49:31 +08:00
Zexi Li
bae538599b Merge pull request #18559 from swordqiu/hotfix/qj-fail-migrate-interface-routes
fix: host fail to migrate interface routes
2023-11-04 18:28:08 +08:00
Qiu Jian
fde1982505 fix: host fail to migrate interface routes 2023-11-03 23:58:01 +08:00
屈轩
424ba87f59 fix(region): volcengine monitor (#18557) 2023-11-03 13:56:42 +08:00
wanyaoqi
3025b19c1e fix(region,host): support traffic limit in change config (#18555) 2023-11-03 10:10:32 +08:00
Zexi Li
3013a0de76 Merge pull request #18549 from ioito/hotfix/qx-esxi-resize-disk-online
fix(region): esxi vm resize disk online
2023-11-02 15:02:14 +08:00
Zexi Li
8e81bf4fd0 Merge pull request #18548 from wanyaoqi/automated-cherry-pick-of-#18546-upstream-master
Automated cherry pick of #18546: fix(host-deployer): clean nbd mount on host-deployer start
2023-11-02 15:01:32 +08:00
ioito
d2a482f375 fix(region): esxi vm resize disk online 2023-11-02 11:22:53 +08:00
wanyaoqi
78080ff321 fix(host-deployer): clean nbd mount on host-deployer start 2023-11-01 21:26:25 +08:00
屈轩
b29db95fbc fix(region): volc bucket storage class (#18543) 2023-11-01 20:00:53 +08:00
屈轩
80f2d22b7e fix(region): vendor update (#18540) 2023-11-01 19:13:36 +08:00
屈轩
96a5eab116 fix(region): vendor update (#18538) 2023-11-01 18:52:04 +08:00
屈轩
d8ef417c88 fix(region): vendor update (#18534) 2023-11-01 17:48:05 +08:00
gouqi11
00856a756a update vendor (#18532)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-11-01 15:41:43 +08:00
Zexi Li
1f40dbc6c6 Merge pull request #18531 from wanyaoqi/automated-cherry-pick-of-#18529-upstream-master
Automated cherry pick of #18529: fix(host): live migrate pass disk num queues
2023-11-01 14:58:22 +08:00
wanyaoqi
d5690158f3 fix(host): live migrate pass disk num queues 2023-11-01 14:49:12 +08:00
Zexi Li
e2497ad587 Merge pull request #18524 from ioito/hotfix/qx-eip-sync-log
fix(region): skip vm eip not found error log
2023-11-01 10:13:37 +08:00
Zexi Li
4c4a2306cf Merge pull request #18522 from ioito/hotfix/qx-volc-misc-fix
fix(region): volcengine vm save image
2023-11-01 10:12:48 +08:00
Jian Qiu
4e9828ee15 fix: xfs zerofree (experimental) (#18501)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-11-01 09:41:07 +08:00
ioito
0760e19439 fix(region): skip vm eip not found error log 2023-10-31 20:42:41 +08:00
ioito
47e4ee44c4 fix(region): volcengine vm save image 2023-10-31 20:37:29 +08:00
屈轩
0528f3939f fix(region): vendor update (#18513) 2023-10-31 20:23:59 +08:00
Zexi Li
98e98c2f05 Merge pull request #18517 from wanyaoqi/automated-cherry-pick-of-#18515-upstream-master
Automated cherry pick of #18515: fix(host): detect blk dev numqueues and nics(no id) pci addresses
2023-10-31 20:17:53 +08:00
Zexi Li
25e3b5b881 Merge pull request #18518 from wanyaoqi/fix/local-disk-max-size
fix(region): reduce local disk max size to 10T
2023-10-31 19:51:08 +08:00
wanyaoqi
653b596444 fix(region): reduce local disk max size to 10T 2023-10-31 19:35:59 +08:00
Zexi Li
6bbd9270c2 Merge pull request #18503 from swordqiu/hotfix/qj-dhcp-hostname
fix: dhcp hostname not compatible with some os
2023-10-31 19:28:41 +08:00
Zexi Li
23962ec0b3 Merge pull request #18498 from zexi/automated-cherry-pick-of-#18497-upstream-master
Automated cherry pick of #18497: feat(apigateway): report running env
2023-10-31 19:27:55 +08:00
Zexi Li
86bcba9c37 Merge pull request #18511 from gouqi11/fixScheduletaskTime
fix(scheduledtask): supportCycleType week and month
2023-10-31 19:27:26 +08:00
wanyaoqi
ba4437434b fix(host): detect blk dev numqueues and nics(no id) pci addresses 2023-10-31 19:20:17 +08:00
屈轩
396ec36d16 fix(keystone): validate time_zone input (#18505) 2023-10-31 18:41:21 +08:00
马鸿飞
7b0a577585 fix(scheduledtask): supportCycleType week and month 2023-10-31 17:23:38 +08:00
Qiu Jian
dec9b9cb2f fix: dhcp hostname not compatible with some os 2023-10-31 11:59:29 +08:00
Zexi Li
311a7386f5 Merge pull request #18494 from ioito/hotfix/qx-vendor-update-10302008
fix(region): vendor update
2023-10-30 20:39:29 +08:00
Zexi Li
76aa71acad Merge pull request #18478 from swordqiu/hotfix/qj-scheduler-ping-pong-mime
fix: scheduler ping/pong response mime
2023-10-30 20:37:17 +08:00
Zexi Li
a76893e69c feat(apigateway): report running env 2023-10-30 20:32:32 +08:00
ioito
aa2d4d7b93 fix(region): vendor update 2023-10-30 20:08:16 +08:00
屈轩
ab366a5f04 fix(region): vendor update (#18492) 2023-10-30 17:03:33 +08:00
屈轩
95eee0b539 fix(region): qcloud security group rule priority (#18488) 2023-10-30 17:03:11 +08:00
屈轩
413e60c32a fix(region): avoid hostname has '-' suffix (#18485) 2023-10-30 17:02:20 +08:00
屈轩
1858a2983f fix(region): gpu spec (#18482) 2023-10-30 14:39:01 +08:00
屈轩
c0f1e64f29 fix(region): kvm secgroup filter (#18476) 2023-10-30 13:55:15 +08:00
Qiu Jian
03f3226360 fix: scheduler ping/pong response mime 2023-10-30 13:12:59 +08:00
Zexi Li
a0ae83f854 Merge pull request #18456 from ioito/hotfix/qx-gpu-log
fix(region): add gpu log
2023-10-30 10:04:56 +08:00
Zexi Li
a627933f3c Merge pull request #18472 from ioito/hotfix/qx-secgroup-rule-priority-check
fix(region): security group rule priority validate
2023-10-30 10:03:25 +08:00
Zexi Li
3cb6a4dffc Merge pull request #17671 from IRONICBo/feature/implement-vm-rescue
[WIP]feat(region): add guest rescue api
2023-10-29 20:42:09 +08:00
屈轩
ec7099c782 fix(region): kvm server cnt (#18469) 2023-10-27 19:39:08 +08:00
ioito
995a8e059b fix(region): security group rule priority validate 2023-10-27 19:35:11 +08:00
Bo
74b6a20387 Merge branch 'master' into feature/implement-vm-rescue 2023-10-27 19:29:02 +08:00
Bo
16377e5ac1 feat(region): add guest rescue api && download initrd from baremetal tftp server && add baremetal agent ip finder & update pic address & support ip kernel config. 2023-10-27 19:19:52 +08:00
屈轩
9781e70874 fix(region): vendor update (#18466) 2023-10-27 16:39:48 +08:00
屈轩
615ef32d46 fix(region): vendor update (#18464) 2023-10-27 16:07:53 +08:00
屈轩
908a43cbd8 fix(region): aliyun cloud_auto enable burst (#18460) 2023-10-27 15:18:31 +08:00
Zexi Li
e29e4c9070 Merge pull request #18442 from swordqiu/hotfix/qj-support-rocky-linux
fix: support rocky linux guestfs
2023-10-27 10:03:47 +08:00
Zexi Li
f62ea03bce Merge pull request #18448 from ioito/hotfix/qx-esxi-vm-delete
fix(region): 避免esxi vm没有被真正删除
2023-10-27 10:02:57 +08:00
屈轩
00f1f52002 fix(region): remove useless code (#18454) 2023-10-26 18:34:52 +08:00
ioito
0f87f3638d fix(region): add gpu log 2023-10-26 18:03:07 +08:00
屈轩
ce83f8a4b6 fix(region): security group rule update (#18451) 2023-10-26 17:57:53 +08:00
ioito
0da45a1813 fix(region): 避免esxi vm没有被真正删除 2023-10-26 14:45:34 +08:00
Zexi Li
a38ef1f05e Merge pull request #18445 from ioito/hotfix/qx-vendor-update-1026
fix(region): fix #18397 esxi vm set tags
2023-10-26 12:11:38 +08:00
ioito
503f1db671 fix(region): fix #18397 esxi vm set tags 2023-10-26 11:39:58 +08:00
屈轩
aeff5ea923 fix(region): vendor update (#18440) 2023-10-26 11:23:19 +08:00
Zexi Li
266fd3eea7 Merge pull request #18416 from swordqiu/hotfix/qj-auto-sync-esxi-host-status
fix: auto sync esxi host status periodically
2023-10-26 10:08:38 +08:00
Zexi Li
32e230a478 Merge pull request #18437 from wanyaoqi/automated-cherry-pick-of-#18436-upstream-master
Automated cherry pick of #18436: Automated cherry pick of #18435: Fix/misc fix 20231025
2023-10-26 10:08:08 +08:00
Zexi Li
4f5285c349 Merge pull request #18434 from ioito/hotfix/qx-clean-scheduler
Hotfix/qx clean scheduler
2023-10-26 10:06:16 +08:00
Qiu Jian
2841d6ed69 fix: support rocky linux guestfs 2023-10-26 06:43:28 +08:00
wanyaoqi
fdbbb96474 fix(region): guest start check vcpu is enough 2023-10-25 23:56:06 +08:00
wanyaoqi
1431accd84 fix(host): skip isolated device probe on kvm not support 2023-10-25 23:56:06 +08:00
wanyaoqi
78462ffecf fix(region): rebuild root update guest bios 2023-10-25 23:56:06 +08:00
ioito
9a2a192b38 fix(region): 避免频繁清理调度器缓存 2023-10-25 21:15:40 +08:00
gouqi11
fcae8612e5 fix(region): fix cloudaccount sync projectMapping (#18424)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-10-25 20:53:43 +08:00
gouqi11
da63874dc9 feat(cloudmon): support lbMetric for MetricTypeDriver (#18421)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-10-25 20:37:57 +08:00
屈轩
5cd628517a fix(region): vendor update (#18428) 2023-10-25 19:24:32 +08:00
屈轩
d728a2bef3 fix(region): vendor update (#18425) 2023-10-25 18:24:57 +08:00
屈轩
025b5fc289 fix(region): secgroup rule fix (#18414) 2023-10-25 17:49:44 +08:00
Zexi Li
22608b4b9d Merge pull request #18420 from wanyaoqi/automated-cherry-pick-of-#18418-upstream-master
Automated cherry pick of #18418: fix(host): live migrate misc fix
2023-10-25 10:21:00 +08:00
wanyaoqi
5aeaebd9dc fix(host): live migrate misc fix 2023-10-25 01:59:32 +08:00
Zexi Li
989c83291b feat(climc): always try to print id and name firstly (#18411) 2023-10-24 21:48:46 +08:00
Qiu Jian
5e418d57c2 fix: auto sync esxi host status periodically 2023-10-24 21:47:05 +08:00
Zexi Li
523b8da96b Merge pull request #18385 from swordqiu/hotfix/qj-brand-revisit
fix: capabilities brand revisit
2023-10-24 20:01:39 +08:00
Zexi Li
a465074eb5 Merge pull request #18408 from ioito/hotfix/qx-k8s-brand
fix(region): kube cluster brand
2023-10-24 19:50:05 +08:00
ioito
036c08f4ba fix(region): kube cluster brand 2023-10-24 18:49:47 +08:00
Zexi Li
017730a5e8 Merge pull request #18396 from gouqi11/supportDirectNotificationSending
feat(notify): Allow direct notification sending
2023-10-24 15:38:54 +08:00
马鸿飞
0cd8ae2ed6 feat(notify): Allow direct notification sending 2023-10-24 15:21:00 +08:00
Zexi Li
193eba81e7 Merge pull request #18405 from zexi/automated-cherry-pick-of-#18403-upstream-master
Automated cherry pick of #18403: fix(scheduler): fetch host storages directly
2023-10-24 14:37:38 +08:00
Zexi Li
80ff0dcf3f fix(scheduler): fetch host storages directly 2023-10-24 14:28:15 +08:00
Zexi Li
63ef9ebdf4 Merge pull request #18400 from ioito/hotfix/qx-aws-eip-api
fix(region): aws eip not found error
2023-10-24 14:23:31 +08:00
ioito
179d0d4487 fix(region): aws eip not found error 2023-10-24 13:23:49 +08:00
Zexi Li
ee2ea6c8c7 Merge pull request #18393 from wanyaoqi/fix/deploy-qga-according-hypervisor
fix(host-deployer): deploy qga conf according hypervisor
2023-10-23 11:43:15 +08:00
Zexi Li
7b75f46c87 Merge pull request #18388 from wanyaoqi/automated-cherry-pick-of-#18384-upstream-master
Automated cherry pick of #18384: Automated cherry pick of #18383: fix(region,host): live migrate disk driver determines the migration mode
2023-10-23 11:18:11 +08:00
Zexi Li
d59f6e6e4c Merge pull request #18389 from ioito/hotfix/qx-baremetal-usage
fix(apigateway): baremetal usage
2023-10-23 11:16:58 +08:00
wanyaoqi
d5d0c54961 fix(host-deployer): deploy qga conf according hypervisor 2023-10-23 10:42:03 +08:00
ioito
a58b4b9b81 fix(apigateway): baremetal usage 2023-10-23 10:37:50 +08:00
Zexi Li
57ab1e652b Merge pull request #18161 from gouqi11/supportCycleHourForScheduledTask
feat(scheduledTask): support cycle_hour
2023-10-23 10:31:16 +08:00
Jian Qiu
2798bfc8fa fix: allow vmware network associate with multiple wires (#18318)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-23 10:20:15 +08:00
wanyaoqi
02f124ffa3 fix(region,host): live migrate disk driver determines the migration mode 2023-10-23 10:13:29 +08:00
Qiu Jian
7be94e37e4 fix: capabilities brand revisit 2023-10-23 10:07:09 +08:00
Jian Qiu
6a93723d8d fix: vpcagent sync error (#18381)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-23 09:27:23 +08:00
wanyaoqi
0223f9ba44 feat(region,host): cloudpods guest convert to kvm guest (#18377) 2023-10-23 09:25:41 +08:00
Zexi Li
d7b355d3f4 fix(scheduler): improve scheduler prefer and avoid tags strategy (#18372) 2023-10-20 20:46:01 +08:00
Zexi Li
88dd684a99 Merge pull request #18365 from swordqiu/hotfix/qj-auto-convert-missing-subformats
fix: auto convert missing subformat images
2023-10-20 12:28:17 +08:00
Zexi Li
7e6c6e68f4 Merge pull request #18362 from swordqiu/hotfix/qj-fail-fetch-admin-ssh-keypair
fix: fail to fetch admin ssh keypair
2023-10-20 10:35:12 +08:00
Qiu Jian
4e67db060a fix: auto convert missing subformat images 2023-10-20 10:20:38 +08:00
Qiu Jian
2d30f1bcf0 fix: fail to fetch admin ssh keypair 2023-10-20 05:41:32 +08:00
Zexi Li
6cf6cd8d6e Merge pull request #18360 from ioito/hotfix/qx-aws-lb-panic
fix(region): aws lb sync panic
2023-10-19 20:34:06 +08:00
ioito
85da2b198c fix(region): aws lb sync panic 2023-10-19 20:13:49 +08:00
Jian Qiu
f4d8afef46 fix: allow vmware network associate with multiple wires (#18318)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-19 09:15:30 +08:00
wanyaoqi
1d99d8edc5 fix(host-deployer): change netdev prefix to "en" on nics has different driver (#18331)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-10-18 20:41:05 +08:00
Jian Qiu
bb7de01d8c fix: missing project mapping body (#18352)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-18 20:39:47 +08:00
屈轩
71644db668 fix: docgengo (#18350) 2023-10-18 06:18:53 -05:00
LyndonKong
9fff0bef22 feature: add support for for VolcEngine (#18348) 2023-10-18 05:50:08 -05:00
Zexi Li
9dddc1b58d Merge pull request #18342 from swordqiu/hotfix/qj-unrecognize-anolis-os
fix: unable to recognize anolis os
2023-10-18 15:00:21 +08:00
屈轩
c8a60bec2e fix(climc): 避免climc交互模式下--help自动退出 (#18338) 2023-10-17 20:58:36 -05:00
Qiu Jian
4ef2db8f12 fix: unable to recognize anolis os 2023-10-18 01:53:18 +08:00
屈轩
3961c28168 fix(region): standardization stage name (#18299) 2023-10-18 01:26:27 +08:00
Zexi Li
111fc16f94 Merge pull request #18325 from wanyaoqi/fix/isolated_device_predicate
fix(scheduler): isolated device predicate miss sriov nic
2023-10-17 11:50:54 +08:00
wanyaoqi
8d0875f99a fix(scheduler): isolated device predicate miss sriov nic 2023-10-16 16:21:00 +08:00
Zexi Li
746fff5fb9 Merge pull request #18320 from gouqi11/supportHostNotify
fix(notify): fix role subscriber groupTimes
2023-10-16 16:04:27 +08:00
马鸿飞
7c35ea11d1 fix(notify): fix role subscriber groupTimes 2023-10-16 11:28:52 +08:00
屈轩
de0b2ae67c fix(common): distinguish system and user log by is_system_account (#18316) 2023-10-15 20:57:56 -05:00
Zexi Li
61f01b5290 Merge pull request #18315 from zexi/readme-stale-links
fix(README): stale image links
2023-10-13 19:09:47 +08:00
Zexi Li
c2951fe21d fix(README): stale image links 2023-10-13 19:08:51 +08:00
屈轩
c59a9ac5b7 fix(common): remove service default policy (#17334) 2023-10-13 14:00:48 +08:00
屈轩
8320cf5078 fix(region): show network details with dns (#18288) 2023-10-13 07:43:32 +08:00
屈轩
f5303d35c9 fix(keystone): policy result (#18284) 2023-10-13 07:30:19 +08:00
Jian Qiu
8025610b80 fix: update vendor for edito retry (#18308)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-13 07:28:49 +08:00
Jian Qiu
31511a6a69 fix: climc server-logininfo action (#18295)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-12 20:18:47 +08:00
屈轩
b7cdfd38a9 fix(region): classify invalid access key error (#18304) 2023-10-12 20:17:38 +08:00
屈轩
6dcf4c7faa fix(region): avoid ctyun signature verification failed (#18301) 2023-10-12 19:05:59 +08:00
屈轩
478df09d11 fix(region): remove ctyun useless env paramenter (#18292) 2023-10-12 17:41:01 +08:00
屈轩
7511e28f42 fix(region): aws userdata error fix (#18278) 2023-10-12 17:27:43 +08:00
Jian Qiu
328dd886c6 fix: update vendor 20231012 for sqlchemy (#18281)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-12 16:56:27 +08:00
屈轩
226688d3db fix(region): history usage (#18216) 2023-10-12 16:30:44 +08:00
Zexi Li
21d126882f Merge pull request #18267 from gouqi11/supportHostNotify
feat(notify): support db_dispatcher notify
2023-10-12 15:47:34 +08:00
马鸿飞
2d7766dc4c feat(notify): support db_dispatcher notify 2023-10-12 15:30:00 +08:00
Zexi Li
5bf9a44f8f Merge pull request #18275 from ioito/hotfix/qx-webconsole-sshkeypair
fix(region): use project sshkeypair to ssh vm
2023-10-12 14:59:35 +08:00
wanyaoqi
57a517c98d fix(host): check qga connect is closed (#18271) 2023-10-12 14:48:53 +08:00
ioito
4c2a4d0fb2 fix(region): use project sshkeypair to ssh vm 2023-10-12 14:23:17 +08:00
Zexi Li
990307c3bf Merge pull request #18264 from ioito/hotfix/qx-dns-cname-check
fix(region): dns record cname check
2023-10-11 18:09:19 +08:00
Zexi Li
6d4fb67c18 Merge pull request #18255 from zexi/automated-cherry-pick-of-#18254-upstream-master
Automated cherry pick of #18254: feat(region): filter server ip_addrs by REGEXP
2023-10-11 17:19:13 +08:00
屈轩
e84e1117da fix(region): wait vm deleted (#18261) 2023-10-11 17:18:56 +08:00
ioito
75840f53f1 fix(region): dns record cname check 2023-10-11 17:11:33 +08:00
Zexi Li
bdc7491172 Merge pull request #18250 from swordqiu/hotfix/qj-guest-start-params-revisit
fix: guest start params revisit
2023-10-11 17:10:57 +08:00
Zexi Li
250095d287 feat(region): filter server ip_addrs by REGEXP 2023-10-11 17:03:35 +08:00
屈轩
3ba9aa38b6 fix: vendor update (#18257) 2023-10-11 16:22:15 +08:00
Qiu Jian
ef226e2365 fix: guest start params revisit 2023-10-11 05:39:58 +08:00
Zexi Li
4263f9833b Merge pull request #18247 from zexi/automated-cherry-pick-of-#18246-upstream-master
Automated cherry pick of #18246: fix(monitor): select host that isn't in source hosts as target
2023-10-10 19:58:17 +08:00
Zexi Li
1d35456e71 fix(monitor): select host that isn't in source hosts as target 2023-10-10 19:49:27 +08:00
Jian Qiu
b5b951a8fd fix: allow specify desktop linux os that not allow root login (#18243)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-09 18:37:45 +08:00
wanyaoqi
9718572053 fix(host): host sysinfo metadata double quota (#18239) 2023-10-09 18:36:32 +08:00
wanyaoqi
ad31e95899 fix(host-deployer): deploy qga conf ensure /etc/sysconfig dir (#18235) 2023-10-09 12:36:24 +08:00
Jian Qiu
12451b1313 fix: handle old style auth token (#18232)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-09 12:30:08 +08:00
Jian Qiu
48df02efdc fix: unauthorized error should return 401 (#18229)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-08 21:54:05 +08:00
Jian Qiu
8c115ed012 fix: missing invalid token response (#18226)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-08 18:27:45 +08:00
Jian Qiu
8530152079 fix: shorten keystone token (#18222)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-08 11:20:28 +08:00
Zexi Li
93d801097d Merge pull request #18219 from gouqi11/supportPolicyForBucket
feat: support policy and cors for bucket
2023-10-07 17:56:21 +08:00
马鸿飞
afa6f40741 feat: support policy and cors for bucket 2023-10-07 17:41:07 +08:00
Zexi Li
ed7d42dc0c Merge pull request #18210 from ioito/hotfix/qx-vendor-update-1007
fix(region): vendor update
2023-10-07 13:17:15 +08:00
Zexi Li
ad89b0b92c Merge pull request #18207 from wanyaoqi/feat/detect-target-image-by-cloudaccount
feat(region,glance): from cloudaccount to enable vmdk target format
2023-10-07 13:15:55 +08:00
ioito
f9eb9bf022 fix(region): vendor update 2023-10-07 10:56:21 +08:00
wanyaoqi
63b7d9f58e feat(region,glance): from cloudaccount to enable vmdk target format 2023-10-07 09:40:22 +08:00
Jian Qiu
0f0e3a2e79 fix: async refresh revoked tokens (#18204)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-06 13:45:07 +08:00
Zexi Li
871030f7d7 Merge pull request #18199 from swordqiu/feature/qj-invalidate-token
feature: invalidate auth token
2023-10-05 19:22:13 +08:00
Qiu Jian
400977c27f feature: invalidate auth token 2023-10-05 03:31:24 +08:00
Zexi Li
39f7c87632 Merge pull request #18183 from swordqiu/feature/qj-suse-guest-support
feature: SUSE guest support
2023-10-04 00:38:05 +08:00
Zexi Li
921b8d93c0 Merge pull request #18198 from zexi/issue-notify-feishu
feat(actions): add issue notification
2023-10-04 00:29:05 +08:00
Zexi Li
34b1e430aa feat(actions): add issue notification 2023-10-04 00:24:31 +08:00
Zexi Li
4946751930 Merge pull request #18196 from zexi/action-issue-close
fix(actions): if not contains
2023-10-03 13:45:51 +08:00
Zexi Li
f606f089c1 fix(actions): if not contains 2023-10-03 13:44:48 +08:00
Zexi Li
993159b8b5 Merge pull request #18195 from zexi/action-issue-close
fix(actions): remove state labels when close issue hasn't stale label
2023-10-03 13:40:19 +08:00
Zexi Li
f051d8b88c fix(actions): remove state labels when close issue hasn't stale label 2023-10-03 13:39:43 +08:00
Zexi Li
9b95d477b4 Merge pull request #18194 from zexi/action-keep-state
fix(actions): support /keep-state command
2023-10-03 13:12:19 +08:00
Zexi Li
2dfd917410 fix(actions): support /keep-state command 2023-10-03 13:11:25 +08:00
Zexi Li
63509a10ad Merge pull request #18193 from zexi/action-announcement-issue
fix(actions): not mark stale label to announcement type issues
2023-10-03 12:04:59 +08:00
Zexi Li
0d2a332ed0 fix(actions): not mark stale label to announcement type issues 2023-10-03 12:03:10 +08:00
Zexi Li
d4b722ec2d Merge pull request #18192 from zexi/action-remove-stale
fix(actions): remove stale label if issue is updated
2023-10-03 11:24:13 +08:00
Zexi Li
669fc5ad74 fix(actions): remove stale label if issue is updated 2023-10-03 11:23:00 +08:00
Zexi Li
7e0b43bb13 Merge pull request #18191 from zexi/issue-helper
feat(actions): add issue actions
2023-10-02 19:35:38 +08:00
Zexi Li
280a2cff8e feat(actions): add issue actions 2023-10-02 19:34:11 +08:00
Qiu Jian
8f249b8a71 feature: SUSE guest support 2023-10-02 00:33:18 +08:00
Jian Qiu
63d6435e51 fix: rebuild root support deploy params (#18187)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-02 00:16:07 +08:00
Jian Qiu
df4649ccdd fix: host nics api (#18184)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-01 23:40:22 +08:00
Jian Qiu
3c650da60e fix: add apis for logininfo (#18180)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-01 23:39:50 +08:00
Zexi Li
0b8f28b684 Merge pull request #18162 from swordqiu/hotfix/qj-purge-disk-fail-get-master-host
fix: fail purge disk due to getMastHost failure
2023-09-27 22:52:20 +08:00
Zexi Li
c9475543ee Merge pull request #18170 from zexi/automated-cherry-pick-of-#18167-upstream-master
Automated cherry pick of #18167: fix(scheduler): some joint resources are not synced
2023-09-27 22:51:54 +08:00
Zexi Li
d44a408273 Merge pull request #18176 from zexi/update-issue
fix(misc): change days-before-issue-close to 7
2023-09-27 22:08:08 +08:00
Zexi Li
448c10c3d1 fix(misc): change days-before-issue-close to 7 2023-09-27 22:07:17 +08:00
Zexi Li
af3a13e08e Merge pull request #18175 from opslinux/bugfix/implement-readme
fix: readme
2023-09-27 21:59:00 +08:00
Zexi Li
14016ddccc Merge pull request #18174 from yunionio/zexi-patch-1
Update issues.yml
2023-09-27 17:55:40 +08:00
Zexi Li
806681c5e2 Update issues.yml 2023-09-27 17:55:27 +08:00
fei4.xiao
58bbdc49f6 fix: readme 2023-09-27 17:54:55 +08:00
Zexi Li
50c29af8d5 Merge pull request #18173 from zexi/issues-action
feat(misc): close inactive issues
2023-09-27 17:50:35 +08:00
Zexi Li
1dd6eeeae5 feat(misc): close inactive issues 2023-09-27 17:49:25 +08:00
Zexi Li
4cb5003e92 Merge pull request #18072 from hoganlxj/patch-1
fix(climc): delete the backup machine from the offline host
2023-09-27 17:10:46 +08:00
Zexi Li
b30d21b110 fix(scheduler): some joint resources are not synced 2023-09-27 16:54:49 +08:00
Qiu Jian
57a585149f fix: fail purge disk due to getMastHost failure 2023-09-27 14:28:48 +08:00
屈轩
6485f99763 fix(region): change project log detail (#18153) 2023-09-26 17:58:36 +08:00
Zexi Li
a9ce12e559 Merge pull request #18159 from wanyaoqi/automated-cherry-pick-of-#18156-upstream-master
Automated cherry pick of #18156: fix(region): remove ansible restart network on guest sync
2023-09-26 17:44:47 +08:00
wanyaoqi
4bbd498cf6 fix(region): remove ansible restart network on guest sync 2023-09-26 15:48:08 +08:00
Zexi Li
d13c6bd52e Merge pull request #18145 from ioito/hotfix/qx-aliyun-lb-health-check
fix(region): aliyun health check tls error
2023-09-25 16:53:40 +08:00
屈轩
d0038e14c4 fix(region): avoid panic after created vm (#18141) 2023-09-25 15:12:30 +08:00
ioito
4b4edbd571 fix(region): aliyun health check tls error 2023-09-25 15:09:56 +08:00
Zexi Li
16a74ac9b8 Merge pull request #18136 from ioito/hotfix/qx-ctx-unlock
fix(region): account ctx unlock
2023-09-22 16:49:46 +08:00
Zexi Li
7e4d6933c7 Merge pull request #18114 from ioito/hotfix/qx-network-error
fix(region): network update detail error
2023-09-22 16:48:17 +08:00
ioito
af423d529c fix(region): account ctx unlock 2023-09-22 16:21:57 +08:00
屈轩
cb16d935fb fix(region): aws disk type (#18132) 2023-09-22 14:17:20 +08:00
Zexi Li
7c627459e5 Merge pull request #18126 from zexi/hide-agent-status
fix(region): hide agent status
2023-09-22 10:44:14 +08:00
Zexi Li
f2531552e4 fix(region): hide agent status 2023-09-22 10:31:10 +08:00
ioito
b6d3b8e237 fix(region): network update detail error 2023-09-22 10:10:43 +08:00
Zexi Li
53f96bc921 Merge pull request #18124 from swordqiu/hotfix/qj-tenant-cache-convert-ids-utf8-error
fix: charset mismatch in tenant cache convert_ids
2023-09-22 07:37:58 +08:00
Qiu Jian
2606a9831a fix: charset mismatch in tenant cache convert_ids 2023-09-22 00:55:29 +08:00
Zexi Li
58b296884b Merge pull request #18096 from wanyaoqi/fix/backup-guest-prelaunch
Fix/backup guest prelaunch
2023-09-21 22:43:45 +08:00
Zexi Li
8ae6a7e67d Merge pull request #18091 from wanyaoqi/fix/insert-iso-name-not-correct
fix(host): insert iso name not correct
2023-09-21 22:41:54 +08:00
Zexi Li
df80c0e9ed Merge pull request #18080 from wanyaoqi/fix/host-delete-validate
Fix/host delete validate
2023-09-21 22:41:16 +08:00
Zexi Li
d710057616 Merge pull request #18065 from wanyaoqi/fix/cancel-migrate
fix(region,host): cancel migrate sync guest status
2023-09-21 22:40:15 +08:00
Zexi Li
89584711a8 Merge pull request #18076 from wanyaoqi/fix/guest-save-image
fix(region,host): guest save image restart not work
2023-09-21 22:38:57 +08:00
Zexi Li
bb53d8f9ae Merge pull request #17858 from 62374520/feature/implement-useQgaSetNetwork
feat(region,host,host-deployer): add qga set network
2023-09-21 20:56:10 +08:00
Zexi Li
dcca48f6fd Merge pull request #18073 from wanyaoqi/feat/host-list-filter-by-host-storage-type
feat(region): host list filter by host storage type
2023-09-21 20:54:45 +08:00
屈轩
373184c175 fix(esxi-agent): vmware hostname (#18121) 2023-09-21 20:50:11 +08:00
屈轩
ae1272f269 fix(region): cloudpods userdata (#18117) 2023-09-21 20:49:22 +08:00
屈轩
dd358e9f50 fix(region): avoid deadlock for delete account (#18099) 2023-09-21 14:56:16 +08:00
屈轩
1b7ed75430 fix(region): fix #18106 remove change chonfig stop charing restrict (#18107) 2023-09-21 14:55:09 +08:00
屈轩
38a2621c2f fix(region): guest vnc error (#18102) 2023-09-21 14:54:26 +08:00
屈轩
2348186da8 fix(region): server sku cpu arch filter (#18110) 2023-09-21 14:52:56 +08:00
wanyaoqi
40e2f60a26 fix(host): avoid panic on host record not init 2023-09-21 11:03:38 +08:00
wanyaoqi
4b2682e353 fix(host): cancel backup guest prelaunch 2023-09-20 22:25:01 +08:00
wanyaoqi
ed777b452f fix(host): insert iso name not correct 2023-09-20 21:21:29 +08:00
屈轩
afc09054b2 fix(region): kube cluster version (#18083) 2023-09-20 20:18:01 +08:00
屈轩
e26e0ec997 fix(region): vendor update (#18086) 2023-09-20 20:17:13 +08:00
wanyaoqi
1e6a1a8e9d feat(region): host list filter by host storage type 2023-09-20 19:33:26 +08:00
hoganlxj
96a9790f71 Update clean_host.sh 2023-09-20 18:18:05 +08:00
chentianxiang
4fd11f2900 feat(region,host,host-deployer):use qga set network 2023-09-20 16:25:09 +08:00
wanyaoqi
db5363d617 fix(region,host): guest save image restart not work 2023-09-20 14:45:58 +08:00
wanyaoqi
4de6df8343 fix(region): validate is reserve all cpus 2023-09-20 10:01:34 +08:00
wanyaoqi
f5cbba1b61 fix(region): host delete validate backup guests 2023-09-20 10:01:34 +08:00
wanyaoqi
7ebff96fe0 fix(region,host): cancel migrate sync guest status 2023-09-20 00:13:31 +08:00
Jian Qiu
74017f84a2 Hotfix/qj server network sub ips3 (#18063)
* fix: server nic add subips

* minor fixes

---------

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-09-19 21:39:29 +08:00
Zexi Li
ee4651aca8 Merge pull request #18042 from swordqiu/hotfix/qj-server-network-sub-ips
fix: server nic add subips
2023-09-19 21:02:31 +08:00
Qiu Jian
7b3e2b1531 fix: server nic add subips 2023-09-19 19:15:48 +08:00
Zexi Li
8560a8ee7a Merge pull request #18058 from swordqiu/hotfix/qj-get-metadata-check-panic
fix: skip get metadata check if usercred is nil
2023-09-19 18:18:14 +08:00
Qiu Jian
4736358a4b fix: skip get metadata check if usercred is nil 2023-09-19 18:04:39 +08:00
屈轩
85ac48d323 fix(region): vendor update (#18056) 2023-09-19 17:40:04 +08:00
屈轩
6e317051d1 fix(region): vendor update (#18054) 2023-09-19 17:29:57 +08:00
屈轩
5a952b711a fix(region): dns record log (#18048) 2023-09-19 14:16:45 +08:00
屈轩
7e77f943eb fix(region): vendor update (#18046) 2023-09-19 10:48:58 +08:00
屈轩
b9ada100a7 fix(region): skip sync vm disk error (#18039) 2023-09-19 10:34:42 +08:00
屈轩
a523c10ae0 fix(region): avoid deadlock when delete account (#18037) 2023-09-18 15:27:14 +08:00
Zexi Li
b867f2b764 Merge pull request #18024 from swordqiu/hotfix/qj-check-get-metadata-policy
fix: validate get metadata privileges
2023-09-18 10:58:04 +08:00
gouqi11
1e4cf48028 fix(region): update vendor (#18028)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-09-18 10:44:31 +08:00
屈轩
714985d7c7 fix(region): select available storage (#18032) 2023-09-18 10:23:41 +08:00
Zexi Li
3f13107cb5 Merge pull request #18025 from gouqi11/makeMod230915
update vendor
2023-09-15 16:47:17 +08:00
马鸿飞
cfa7184f2c update vendor 2023-09-15 15:10:41 +08:00
Qiu Jian
9e57107f87 fix: validate get metadata privileges 2023-09-15 14:28:17 +08:00
Zexi Li
3dcc9b83ea Merge pull request #18020 from wanyaoqi/fix/vgpu-hotplug
fix(host): nvidia vgpu hotplug
2023-09-15 10:27:58 +08:00
wanyaoqi
9d5d96b1f1 fix(host): nvidia vgpu hotplug
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-09-14 21:07:39 +08:00
Zexi Li
bba5c582df Merge pull request #18016 from gouqi11/addSyncDesc
feat(region): support update description
2023-09-14 11:47:05 +08:00
屈轩
0d9b70eb00 fix(region): remove useless code (#18014) 2023-09-14 11:36:59 +08:00
屈轩
f49de8ee88 fix(region): remove useless code (#18014) 2023-09-13 17:32:29 +08:00
屈轩
1f8e0d2330 fix(logger): add system account field (#18000) 2023-09-13 16:18:06 +08:00
屈轩
8975e52e86 fix(region): esxi image sync (#18010) 2023-09-13 15:53:43 +08:00
屈轩
961d36111e fix(region): update status failed (#18007) 2023-09-13 15:05:31 +08:00
Zexi Li
7ce7982e9c Merge pull request #18001 from wanyaoqi/chore/update-host-deployer-base
chore: update host-deployer base image
2023-09-13 10:17:08 +08:00
Zexi Li
88ed0f2235 Merge pull request #18004 from wanyaoqi/fix/add-i18n-trans
fix(logclient): add i18n maps for translation
2023-09-13 10:15:24 +08:00
wanyaoqi
320ddd5d47 fix(logclient): add i18n maps for translation 2023-09-13 09:35:54 +08:00
wanyaoqi
1e7a23b47e chore: update host-deployer base image 2023-09-12 22:37:01 +08:00
屈轩
d1fbe1f4d8 fix(region): external project (#17996) 2023-09-12 18:54:14 +08:00
屈轩
be4b797081 fix(region): support cloud-init shell (#17998) 2023-09-12 17:22:15 +08:00
屈轩
8dcb4fb588 fix(region): vendor update (#17994) 2023-09-12 16:39:08 +08:00
Zexi Li
cbf33bbee5 Merge pull request #17985 from ioito/hotfix/qx-tenantcache-metadata
fix(region): clean tenantcache metadata
2023-09-12 10:05:56 +08:00
Zexi Li
baf8742ef0 Merge pull request #17988 from wanyaoqi/fix/nvidia-vgpu-check
fix(region): check nvidia vgpu count and conflict with other gpus
2023-09-12 10:04:38 +08:00
Zexi Li
dd740a034c Merge pull request #17993 from zexi/automated-cherry-pick-of-#17992-upstream-master
Automated cherry pick of #17992: feat(climc): add k8s-cluster-list options
2023-09-12 03:02:29 +08:00
Zexi Li
8b129475e7 feat(climc): add k8s-cluster-list options 2023-09-11 14:08:01 +02:00
屈轩
8582180c11 fix(region): 避免删除云账号时遗留脏数据 (#17991) 2023-09-11 17:30:51 +08:00
Zexi Li
0a460bda28 Merge pull request #17986 from ioito/hotfix/qx-batch-sku-sync
fix(region): batch sku sync
2023-09-11 16:31:15 +08:00
ioito
4cee583cef fix(region): batch sku sync 2023-09-11 15:59:13 +08:00
ioito
44f8f75203 fix(region): clean tenantcache metadata 2023-09-11 15:19:16 +08:00
wanyaoqi
4888f81ff6 fix(region): check nvidia vgpu count and conflict with other gpus
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-09-11 14:50:07 +08:00
屈轩
ca66c73afe fix(region): support aws gp3 throughput (#17983) 2023-09-11 13:24:46 +08:00
屈轩
f22b53e498 fix(region): vendor update (#17981) 2023-09-11 10:21:30 +08:00
Jian Qiu
3f6857242e fix: vmware sync os info may override os distribution and ip (#17979)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-09-10 23:38:37 +08:00
Jian Qiu
a6ac366804 fix: allow vm turn on selinux (#17977)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-09-10 00:29:10 +08:00
Jian Qiu
284ae3f08c fix: avoid missing vlan config error (#17962)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-09-10 00:28:54 +08:00
Jian Qiu
12a4309be4 fix: error returned by host storage sync was overwritten (#17961)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-09-10 00:28:33 +08:00
wanyaoqi
613d085d20 fix(host): host register skip infiniband nic (#17955) 2023-09-10 00:27:58 +08:00
wanyaoqi
07c4d4da0f fix(host): set migrate bandwidth nolimit (#17974) 2023-09-10 00:26:32 +08:00
Zexi Li
f1ffdc287d Merge pull request #17963 from swordqiu/hotfix/qj-some-kernel-params-tune-by-default
fix: some kernel params tune by default
2023-09-08 04:13:32 +08:00
Qiu Jian
5f65cc49bc fix: some kernel params tune by default 2023-09-07 23:58:31 +08:00
Zexi Li
ff55f6e9cc Merge pull request #17935 from ioito/hotfix/qx-keypair-public
fix(region): set public for keypair
2023-09-07 19:22:35 +08:00
Zexi Li
1bf03f0878 Merge pull request #17957 from gouqi11/changeGroupTimes
fix(notify): add group_times for subscriber
2023-09-07 17:09:57 +08:00
马鸿飞
7ff9c8bd7a fix(notify): add group_times for subscriber 2023-09-07 16:37:13 +08:00
Zexi Li
4c182e2676 Merge pull request #17953 from gouqi11/ignoreEventIdInSend
fix(notify): ignore EventId in send
2023-09-06 19:54:30 +08:00
马鸿飞
96b806a2bc fix(notify): ignore EventId in send 2023-09-06 19:41:05 +08:00
Jian Qiu
a8626647a7 fix: support user data scripts (#17938)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-09-06 17:16:46 +08:00
Jian Qiu
cd975efb0a fix: panic when syncing user external resources (#17943)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-09-06 17:02:38 +08:00
Jian Qiu
f802faf411 fix: allow remvoe server extra options of specific value (#17947)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-09-06 17:00:17 +08:00
Jian Qiu
f047629180 fix: util func to convert id or name of tenants to ids (#17950)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-09-06 16:52:41 +08:00
Zexi Li
147e872d6f Merge pull request #17944 from gouqi11/acceptCreateProjectForProvider
fix(region): project mapping support inputProject
2023-09-06 15:18:44 +08:00
ioito
28738f03ac fix(region): set public for keypair 2023-09-06 15:06:32 +08:00
马鸿飞
f0a4d33e1a fix(region): project mapping support inputProject 2023-09-06 14:47:01 +08:00
Zexi Li
6170fae744 Merge pull request #17941 from zexi/automated-cherry-pick-of-#17940-upstream-master
Automated cherry pick of #17940: fix(cloudcommon): compatible with cases when data is nil
2023-09-06 11:28:49 +08:00
Zexi Li
48415939ee fix(cloudcommon): compatible with cases when data is nil 2023-09-06 04:53:29 +02:00
Zexi Li
1228d34313 feat(climc): download container registry image directly (#17937) 2023-09-06 04:35:59 +08:00
屈轩
87fb805668 fix(region): storagecache sync (#17933) 2023-09-06 04:35:24 +08:00
Jian Qiu
9e158441d7 Hotfix/qj vmware wire external (#17894)
* fix: vmware wire external id should be scoped by cloud account

* fix: validate condition when changing network wire id

* fix: allow update user enabled field

---------

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-09-05 15:01:34 +08:00
Zexi Li
57d5bede41 Merge pull request #17930 from zhasm/hotfix/rex-docker-buildx-cross-platform-issue-typo
hotfix: typo
2023-09-05 12:57:21 +08:00
Zhang Dongliang
e81dfabbd4 hotfix: typo 2023-09-05 12:53:33 +08:00
Zexi Li
68822c85d0 Merge pull request #17926 from zexi/automated-cherry-pick-of-#17925-upstream-master
Automated cherry pick of #17925: fix(apigateway): add GetSpecificMethods to resource manager
2023-09-05 12:50:25 +08:00
Zexi Li
72e22c6ac0 Merge pull request #17927 from zhasm/hotfix/rex-docker-buildx-cross-platform-issue
fix(docker buildx cross platform docker image fix): 跨平台编译docker镜像明确指定架构
2023-09-05 12:49:31 +08:00
Zhang Dongliang
1a3109895d fix(docker buildx cross platform docker image fix): 跨平台编译docker镜像明确指定架构 2023-09-05 12:41:49 +08:00
Zexi Li
18a3dad541 Merge pull request #17922 from swordqiu/hotfix/qj-struct-sub-tag
fix: struct sub field tag
2023-09-05 11:54:13 +08:00
Zexi Li
572512083c fix(apigateway): add GetSpecificMethods to resource manager 2023-09-05 05:37:51 +02:00
屈轩
855a5587b1 fix: account project name sync (#17906) 2023-09-05 11:26:20 +08:00
屈轩
7bd5f353e4 fix(region): batch prob account status (#17905) 2023-09-05 11:26:08 +08:00
Qiu Jian
3916e1dc28 fix: struct sub field tag 2023-09-04 22:47:07 +08:00
Zexi Li
9791f5d09c Merge pull request #17919 from gouqi11/fixCreateProjectForProvider
fix(region): support sync cloudprovider
2023-09-04 17:41:26 +08:00
马鸿飞
53462b63e7 fix(region): support sync cloudprovider 2023-09-04 16:10:39 +08:00
屈轩
3def837bf2 fix(climc): skip part of service version detect (#17916) 2023-09-04 14:27:00 +08:00
屈轩
f7349528d0 fix(region-dns): dns query for *.example.com (#17914) 2023-09-04 11:51:24 +08:00
Zexi Li
396914e5a4 Merge pull request #17903 from wanyaoqi/feat/disk-iothrottle
feat(region,host): support set io throtthle for each disk
2023-09-02 01:36:31 +08:00
Zexi Li
f55c64f8ad Merge pull request #17911 from ioito/hotfix/qx-dns-record-delete-log
fix(region): add log for dns record delete
2023-09-01 21:10:00 +08:00
ioito
c26fdc7055 fix(region): add log for dns record delete 2023-09-01 20:03:46 +08:00
屈轩
eb7b919e5b fix(region): bucket 500 error (#17909) 2023-09-01 18:22:31 +08:00
屈轩
69cf5d563d fix(region): distinct account for dns zone (#17907) 2023-09-01 17:15:40 +08:00
wanyaoqi
3226c71f4e feat(region,host): support set io throtthle for each disk
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-09-01 15:49:02 +08:00
wanyaoqi
4484a96c8d feat(region,host): vgpu support, refector host registor (#17879)
* feat(region,host): refactor host register

* feat(region,host): vgpu support

add nvidia/amd vgpu support.
nvidia vgpu need manaul configure vgpu instance before add in host.conf

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

---------

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-09-01 15:42:22 +08:00
屈轩
3c19b0109f fix(region): support skip sync vpc and secgorup (#17901) 2023-09-01 15:40:29 +08:00
wanyaoqi
a043378be0 feat(region): support set server as daemon on create (#17892)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-09-01 15:39:25 +08:00
屈轩
9eb37037c2 fix(region): auto remove cloudprovider (#17688) 2023-09-01 15:38:54 +08:00
Jian Qiu
9ec43642da fix: storage usaged capacity by medium_type revisit (#17877)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-09-01 15:33:11 +08:00
屈轩
f9d1ee0a88 fix(region): private zone check vpc (#17899) 2023-08-31 16:27:40 +08:00
Zexi Li
e785dc1261 Merge pull request #17895 from ioito/hotfix/qx-cloudmon-system-metric
fix(cloudmon): skip part of service system metric collect
2023-08-31 16:01:29 +08:00
Zexi Li
9a3e2e35e5 Merge pull request #17897 from ioito/hotfix/qx-sku-sync
fix(region): 云账号首次同步时并发同步sku及资源
2023-08-31 16:01:01 +08:00
ioito
516b149d39 fix(region): 云账号首次同步时并发同步sku及资源 2023-08-31 14:49:50 +08:00
Jian Qiu
31d1e30495 fix: user show nil map panic (#17875)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-31 11:27:42 +08:00
屈轩
87e22c9552 fix(region): real delete sku (#17873) 2023-08-31 11:26:58 +08:00
ioito
683a51093f fix(cloudmon): skip part of service system metric collect 2023-08-31 11:22:19 +08:00
屈轩
ccca3228f5 fix(region): avoid esxi vm delete failed (#17890) 2023-08-30 20:43:37 +08:00
屈轩
f8fa51bad1 fix(region): esxi name and tag sync (#17884) 2023-08-30 20:30:26 +08:00
Zexi Li
db68897a1f Merge pull request #17888 from gouqi11/addGroupTimeList
fix(notify): support list group_key,group_list
2023-08-30 18:57:02 +08:00
屈轩
00e100b092 fix(region-dns): resolve cname (#17886) 2023-08-30 18:54:57 +08:00
马鸿飞
3ea0953151 fix(notify): support list group_key,group_list 2023-08-30 18:51:07 +08:00
屈轩
c33a731797 fix(region-dns): resolve * dns (#17882) 2023-08-30 16:04:48 +08:00
Jian Qiu
784fa91bab fix: desinate ip addresses when batch creating guests (#17859)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-29 21:19:43 +08:00
Jian Qiu
c100036989 fix: vpcagent sync wire should ignore external id (#17864)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-29 18:37:20 +08:00
屈轩
fb63245840 fix(region): vendor update (#17871) 2023-08-29 16:17:32 +08:00
屈轩
b462ef3abe fix(region): dns zone (#17868) 2023-08-29 15:44:20 +08:00
屈轩
69e18bae85 fix(region): hostname length (#17866) 2023-08-29 15:43:01 +08:00
wanyaoqi
11fe9bf6bc fix(region,host): support limit guest nic traffic (#17852) 2023-08-29 08:40:20 +08:00
屈轩
1b81d19a82 fix(region): vendor update (#17861) 2023-08-28 15:33:34 +08:00
屈轩
29fa7b76e1 fix(region): skip resource by tags (#17856) 2023-08-28 14:45:56 +08:00
gouqi11
0fa23c4b7a fix(region): support project mapping (#17803)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-08-27 05:12:59 +08:00
Jian Qiu
7b635f8430 fix: debian 12 OS initialization (#17846)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-27 05:00:58 +08:00
Jian Qiu
c5dd7939fc fix: vmware host wire recode (#17818)
* fix: vmware host wire recode

* update vendor

* update vendor

---------

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-24 16:36:55 +08:00
Jian Qiu
43f25dbe58 fix: cachedimage add index (#17843)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-24 03:25:05 +08:00
屈轩
ea6f169ba1 fix(logger): export limit (#17825) 2023-08-24 03:12:08 +08:00
屈轩
4429886ef9 fix(region): guest sync log (#17828) 2023-08-24 03:11:34 +08:00
屈轩
4b5e211ab9 fix(region): storage extra info (#17832) 2023-08-24 03:10:46 +08:00
Jian Qiu
6baad13756 fix: add index to server skus (#17840)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-23 22:35:11 +08:00
屈轩
07b9e87f74 fix(webconsole): fix #17822 (#17837) 2023-08-23 19:39:44 +08:00
屈轩
40177de2dc fix(region): disable prepaid delete check (#17823) 2023-08-23 19:39:09 +08:00
屈轩
5246e5c1b8 fix(logger): distinct for kind (#17819) 2023-08-22 10:02:53 +08:00
屈轩
1d8fdb5458 fix(logger): distinct field for action log (#17814) 2023-08-21 19:05:33 +08:00
屈轩
3b14709cb8 fix(region): cloud account sync log (#17772) 2023-08-21 16:30:44 +08:00
屈轩
b4dd9943fe fix: external project priority (#17811) 2023-08-21 15:11:28 +08:00
Jian Qiu
276e1247b4 fix: windows 2012 no dns (#17808)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-21 13:47:04 +08:00
wanyaoqi
dd51418e45 fix(host): gpu probe miss 3d type gpu (#17805) 2023-08-21 12:32:17 +08:00
屈轩
c42f88642a fix(region): vendor update (#17801) 2023-08-21 11:07:43 +08:00
屈轩
6e0df5cf59 fix(region): support eip sync tags (#17796) 2023-08-18 15:05:12 +08:00
Zexi Li
f798d8a2b9 Merge pull request #17776 from wanyaoqi/fix/lvm-disk-deploy
Fix/lvm disk deploy
2023-08-18 13:40:01 +08:00
Zexi Li
3c258def9c Merge pull request #17795 from zexi/automated-cherry-pick-of-#17794-upstream-master
Automated cherry pick of #17794: feat(climc): support k8s-cluster-create command getting input from file
2023-08-18 13:33:17 +08:00
Zexi Li
fc6dc2c7c5 Merge pull request #17793 from zexi/automated-cherry-pick-of-#17792-upstream-master
Automated cherry pick of #17792: fix(climc): 'zone-list --region' is ignored
2023-08-18 13:32:57 +08:00
Zexi Li
1f97060a82 feat(climc): support k8s-cluster-create command getting input from file 2023-08-18 02:02:23 +08:00
Zexi Li
89dcc2f4a2 fix(climc): 'zone-list --region' is ignored 2023-08-18 00:08:50 +08:00
屈轩
19445ad574 fix(region): avoid sync esxi panic (#17791) 2023-08-17 18:13:13 +08:00
屈轩
14aaa012ad fix(logger): add translate (#17769) 2023-08-17 17:55:03 +08:00
屈轩
e57dca9edd fix: docker push (#17789) 2023-08-17 17:43:32 +08:00
屈轩
3cab23ee37 fix(region): avoid purge normal region (#17786) 2023-08-17 12:23:02 +08:00
屈轩
46933f7521 fix: workflow push secrets (#17783) 2023-08-17 11:00:46 +08:00
Zexi Li
e5ca1fba3d Merge pull request #17756 from zexi/automated-cherry-pick-of-#17755-upstream-master
Automated cherry pick of #17755: fix(baremetal-agent): update base image
2023-08-16 11:14:35 +08:00
wanyaoqi
1569dca33b fix(host-deployer): lvm deactivate vg in use 2023-08-15 23:19:20 +08:00
Jian Qiu
82d50bb4b6 fix: pending delete identity projects (#17757)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-15 16:54:00 +08:00
wanyaoqi
10ad5615bf fix(host-deployer): fix lvm disk concurrent mount
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-08-14 23:20:10 +08:00
屈轩
34d54f10e8 fix(region): vendor update (#17764) 2023-08-14 16:58:08 +08:00
屈轩
8cdcde7ce3 fix: github workflow (#17762) 2023-08-14 16:28:26 +08:00
Zexi Li
d366339bb9 Merge pull request #17702 from gouqi11/fixTopicAdvanceForRelease
fix(notify): add update func for topic
2023-08-14 11:30:26 +08:00
Jian Qiu
59ae380bd5 fix: support unbind organization node (#17754)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-13 22:49:07 +08:00
屈轩
43f6e8236d fix(keystone): displays the reason why user cannot be deleted (#17663) 2023-08-13 22:42:31 +08:00
屈轩
62e17595ae fix(region): clean dirty cached images (#17751) 2023-08-13 22:40:21 +08:00
Zexi Li
1fd974e78f fix(baremetal-agent): update base image 2023-08-12 18:48:22 +08:00
马鸿飞
33483cbdd7 fix(notify): add update func for topic 2023-08-11 17:07:33 +08:00
Zexi Li
0361d8beff Merge pull request #17750 from zexi/automated-cherry-pick-of-#17749-upstream-master
Automated cherry pick of #17749: feat(climc): add k8s-machine-post-prepare-resource command
2023-08-11 15:32:46 +08:00
Zexi Li
e5d1c7c396 feat(climc): add k8s-machine-post-prepare-resource command 2023-08-11 12:09:48 +08:00
屈轩
d86384bb5c fix(common): project metadata (#17745) 2023-08-10 20:14:24 +08:00
屈轩
b09874bd37 feat(region): support china union cloud (#17742) 2023-08-09 18:05:56 +08:00
屈轩
f2a50c97e6 fix: auto build docker image (#17740) 2023-08-09 17:10:15 +08:00
Zexi Li
e15843cf17 Merge pull request #17731 from gouqi11/enableWebhookUseTemplate
fix(notify): add option to use template for webhook
2023-08-08 17:57:34 +08:00
Zexi Li
668260e6e3 Merge pull request #17722 from ioito/feat/qx-baidu
feat(region): support baidu cloud
2023-08-08 17:44:59 +08:00
马鸿飞
16a9b53621 fix(notify): add option to use template for webhook 2023-08-08 17:37:51 +08:00
Zexi Li
3ccd834770 Merge pull request #17724 from ioito/hotfix/qx-kvm-storage-info
fix(region): add kvm disk storage info
2023-08-08 16:30:07 +08:00
Zexi Li
324ca12c69 Merge pull request #17727 from swordqiu/hotfix/qj-allow-host-access-mac-nullable
fix: allow host access_mac nullable
2023-08-08 16:28:54 +08:00
Zexi Li
0fba5587d4 Merge pull request #17610 from gouqi11/addNotificationGroup
fix(notify): addNotifyGroup
2023-08-08 16:28:32 +08:00
Qiu Jian
ccb2592608 fix: allow host access_mac nullable 2023-08-08 12:39:56 +08:00
马鸿飞
aaacb52164 fix(notify): addNotifyGroup 2023-08-08 11:36:37 +08:00
ioito
c342eaa470 fix(region): add kvm disk storage info 2023-08-08 10:17:43 +08:00
ioito
f5e83b7667 feat(region): support baidu cloud 2023-08-07 20:36:13 +08:00
Zexi Li
743d5c56d8 Merge pull request #17717 from ioito/hotfix/qx-watermark
fix: watermark
2023-08-07 20:22:06 +08:00
Zexi Li
591bac5f5a Merge pull request #17718 from ioito/feat/qx-ksyun
feat(region): support ksyun
2023-08-07 20:21:31 +08:00
Zexi Li
5fe4cd4155 Merge pull request #17719 from ioito/hotfix/qx-climc-panic
fix(climc): avoid panic
2023-08-07 20:20:28 +08:00
ioito
14fee8a4e0 fix(climc): avoid panic 2023-08-07 18:47:22 +08:00
ioito
1de08a7a5e feat(region): support ksyun 2023-08-07 15:44:52 +08:00
ioito
f1a24e0edf fix: watermark 2023-08-07 10:23:01 +08:00
Zexi Li
ad777523c9 Merge pull request #17715 from zexi/automated-cherry-pick-of-#17714-upstream-master
Automated cherry pick of #17714: fix(monitor): remove cloudaccount_balance unit
2023-08-07 00:47:32 +08:00
Zexi Li
6141ac5f32 fix(monitor): remove cloudaccount_balance unit 2023-08-07 00:36:12 +08:00
Jian Qiu
e10eed83fc fix: set vcpu vendor_id based on host cpu vendor_id (#17711)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-06 21:18:07 +08:00
屈轩
d016e03f99 fix(region): esxi storage info (#17705) 2023-08-04 23:42:43 +08:00
Jian Qiu
b7b2a630f5 fix: remove hostwire to cleanup host-wire codes (#17670)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-04 23:40:54 +08:00
Zexi Li
cccaef98a9 Merge pull request #17701 from zexi/automated-cherry-pick-of-#17700-upstream-master
Automated cherry pick of #17700: feat(climc): k8s-cluster-set-kubeconfig
2023-08-03 19:14:09 +08:00
Zexi Li
e187959212 feat(climc): k8s-cluster-set-kubeconfig 2023-08-03 18:49:46 +08:00
Zexi Li
c3cf64c314 Merge pull request #17698 from ioito/hotfix/qx-vendor-update-apsara
fix(region): vendor update
2023-08-03 15:03:10 +08:00
ioito
022de3acb0 fix(region): vendor update 2023-08-03 14:38:45 +08:00
Zexi Li
aa2292f819 Merge pull request #17695 from gouqi11/fixMonitorAlertStartTimeFormat
fix(monitor): fix montior alert startTimeFormat
2023-08-02 17:57:25 +08:00
马鸿飞
5c6cfb0261 fix(monitor): fix montior alert startTimeFormat 2023-08-02 17:37:27 +08:00
Zexi Li
35c70ec5f1 Merge pull request #17693 from ioito/hotfix/qx-notify-event-fetch
fix(notify): optimized event query
2023-08-02 10:21:50 +08:00
Zexi Li
87317c42ea Merge pull request #17690 from ioito/hotfix/qx-cloudmon-panic
fix(cloudmon): avoid panic
2023-08-02 10:21:00 +08:00
ioito
c6226bd92f fix(notify): optimized event query 2023-08-01 17:00:50 +08:00
ioito
2d6655cc2f fix(cloudmon): avoid panic 2023-08-01 16:03:51 +08:00
Zexi Li
bba03a3b99 Merge pull request #17685 from ioito/hotfix/qx-cloudmon-account-update
fix(cloudmon): cloudaccout update
2023-08-01 13:01:46 +08:00
ioito
44882cc433 fix(cloudmon): cloudaccout update 2023-08-01 12:19:12 +08:00
Zexi Li
f582f3b6f2 Merge pull request #17683 from ioito/hotfix/qx-vpc-purge-row-id
fix(region): vpc purge
2023-08-01 10:13:31 +08:00
ioito
f074571e73 fix(region): vpc purge 2023-08-01 10:02:04 +08:00
Zexi Li
4d24f51e8a Merge pull request #17672 from ioito/hotfix/qx-optional-local-system-disk-size
fix(region): optional local system disk size
2023-08-01 00:50:55 +08:00
Zexi Li
202db08155 Merge pull request #17674 from wanyaoqi/fix/gpu-detect
fix(host): add gpu device when driver isn't bind
2023-08-01 00:49:56 +08:00
Zexi Li
2ddd58db6f Merge pull request #17682 from zexi/automated-cherry-pick-of-#17681-upstream-master
Automated cherry pick of #17681: fix(webconsole,climc): cloud shell within docker compose environment
2023-08-01 00:48:08 +08:00
Zexi Li
0aeaf6370d fix(webconsole,climc): cloud shell within docker compose environment 2023-08-01 00:26:05 +08:00
Zexi Li
cf47d75c07 Merge pull request #17677 from ioito/hotfix/qx-account-detals
fix(region): account details
2023-07-31 17:23:59 +08:00
Zexi Li
547ca6ef4c Merge pull request #17679 from ioito/hotfix/qx-vendor-update-0731
fix(region): vendor update
2023-07-31 17:23:37 +08:00
ioito
b462790362 fix(region): vendor update 2023-07-31 17:08:15 +08:00
ioito
b6924d58f5 fix(region): account details 2023-07-31 16:55:46 +08:00
wanyaoqi
ff8a5dbe77 fix(host): add gpu device when driver isn't bind 2023-07-31 15:51:40 +08:00
ioito
cf814cefd9 fix(region): optional local system disk size 2023-07-31 11:44:08 +08:00
Zexi Li
8aeaf0a767 Merge pull request #17649 from ioito/hotfix/qx-optimized-account-list
fix(region): optimized cloud-account-list
2023-07-30 14:02:42 +08:00
Zexi Li
1fd09c2e74 Merge pull request #17651 from gouqi11/automated-cherry-pick-of-#17650-upstream-master
Automated cherry pick of #17650: fix(notify): drop event notification default receiver
2023-07-30 14:02:20 +08:00
Zexi Li
ba7515b4a8 Merge pull request #17632 from wanyaoqi/fix/bind-mount-before-host-register
fix(host): storages bind mount should before host register
2023-07-30 14:01:44 +08:00
Zexi Li
85a307c615 Merge pull request #17665 from ioito/hotfix/qx-acl-name
fix(region): acl name
2023-07-30 14:01:10 +08:00
ioito
dd81b1c641 fix(region): acl name 2023-07-28 20:17:28 +08:00
Zexi Li
44531c1412 Merge pull request #17653 from ioito/hotfix/qx-vendor-update-for-aws-secgrup
fix(region): vendor update
2023-07-28 17:55:23 +08:00
Zexi Li
2f6a4635fe Merge pull request #17655 from ioito/hotfix/qx-enable-cloud-shell
fix(keystone): enable cloud shell
2023-07-28 17:54:58 +08:00
Zexi Li
b850dc67ee Merge pull request #17657 from ioito/hotfix/qx-ecs-sync-options
fix(region): ecs sync options
2023-07-28 17:54:33 +08:00
Zexi Li
9dfd3a4799 Merge pull request #17661 from ioito/hotfix/qx-sku-update
fix(region): server sku update
2023-07-28 17:53:57 +08:00
Zexi Li
b0625060c2 Merge pull request #17660 from zexi/automated-cherry-pick-of-#17659-upstream-master
Automated cherry pick of #17659: feat(cloudmon): upload meter currency of the cloudaccount
2023-07-28 17:53:25 +08:00
Zexi Li
378fe13d4c feat(cloudmon): upload meter currency of the cloudaccount 2023-07-28 17:43:47 +08:00
ioito
24eae617e0 fix(region): server sku update 2023-07-28 17:08:21 +08:00
ioito
5c194057aa fix(region): ecs sync options 2023-07-28 14:22:34 +08:00
ioito
63a9b92545 fix(keystone): enable cloud shell 2023-07-28 11:49:14 +08:00
ioito
85f2a8238f fix(region): vendor update 2023-07-28 11:28:45 +08:00
ioito
8995cedf54 fix(region): optimized cloud-account-list 2023-07-28 10:51:53 +08:00
马鸿飞
455e367db5 fix(notify): drop event notification default receiver 2023-07-28 10:20:41 +08:00
Zexi Li
6723cd10c7 Merge pull request #17637 from ioito/hotfix/qx-account-purge
fix(region): purge account
2023-07-27 19:23:20 +08:00
ioito
e4fb97a2cc fix(region): purge account 2023-07-27 16:28:10 +08:00
Zexi Li
266bfade2e Merge pull request #17635 from wanyaoqi/fix/linux-arch-detecd
fix(host-deployer): detect image arch incorrect
2023-07-27 15:38:45 +08:00
Zexi Li
4348eca92b Merge pull request #17642 from zexi/automated-cherry-pick-of-#17641-upstream-master
Automated cherry pick of #17641: fix(scheduler): auto allocation network selection is not working
2023-07-27 15:37:13 +08:00
Zexi Li
3d573037ac Merge pull request #17644 from ioito/hotfix/qx-balance-currency
fix(region): balance currency
2023-07-27 14:53:09 +08:00
ioito
00110dd3ee fix(region): balance currency 2023-07-27 14:28:03 +08:00
Zexi Li
57751a20bf fix(scheduler): auto allocation network selection is not working 2023-07-27 12:20:23 +08:00
wanyaoqi
d3c2cd6a15 fix(host-deployer): detect image arch incorrect 2023-07-26 19:23:41 +08:00
Zexi Li
ae62ee4275 Merge pull request #17627 from gouqi11/fixNotifyRobotValidateErr
fix(notify): alert send
2023-07-26 18:10:08 +08:00
马鸿飞
0d5d19d2ef fix(notify): alert send 2023-07-26 17:46:47 +08:00
wanyaoqi
633b863b71 fix(host): storages bind mount should before host register
Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2023-07-26 16:31:10 +08:00
Zexi Li
06134983a4 Merge pull request #17629 from ioito/hotfix/qx-vendor-update-0726
fix(region): vendor update
2023-07-26 11:39:00 +08:00
ioito
0ae3bd48e6 fix(region): vendor update 2023-07-26 11:06:40 +08:00
Zexi Li
1fe6285aef Merge pull request #17625 from gouqi11/FixAutoCreateProjectForProvider
fix(region): fix autoCreateProjectForProvider bug
2023-07-25 20:32:21 +08:00
马鸿飞
dfa74d2406 fix(region): fix autoCreateProjectForProvider bug 2023-07-25 20:05:54 +08:00
Zexi Li
d7081ffda6 Merge pull request #17623 from gouqi11/FixAutoCreateProjectForProvider
fix(region): auto create project for provider BUG FIX
2023-07-25 19:50:50 +08:00
Zexi Li
71238b6637 Merge pull request #17620 from ioito/hotfix/qx-vendor-update-0725
fix(region): vendor update
2023-07-25 18:34:50 +08:00
ioito
4fb6122f9b fix(region): vendor update 2023-07-25 18:20:30 +08:00
Zexi Li
fb69089dc8 Merge pull request #17619 from zexi/automated-cherry-pick-of-#17617-upstream-master
Automated cherry pick of #17617: fix(host): try reloading telegraf by restarting docker
2023-07-25 18:04:35 +08:00
Zexi Li
91f0da882c Merge pull request #17615 from ioito/hotfix/qx-webconsole-write
fix(webconsole): msg write
2023-07-25 17:59:23 +08:00
Zexi Li
0893dc5b79 Merge pull request #17606 from ioito/hotfix/qx-scheduler-failed-brand
fix(region): set scheduler failed brand unknown
2023-07-25 17:51:17 +08:00
Zexi Li
eac5941e62 fix(host): try reloading telegraf by restarting docker 2023-07-25 17:49:27 +08:00
ioito
01cf8f7eee fix(webconsole): msg write 2023-07-25 17:09:23 +08:00
马鸿飞
5b2978e1a3 fix(region): auto create project for provider BUG FIX 2023-07-25 16:53:48 +08:00
ioito
6b0f93b392 fix(region): set scheduler failed brand unknown 2023-07-24 16:18:20 +08:00
Zexi Li
ce5aefd8e6 Merge pull request #17597 from ioito/hotfix/qx-webconsole-command-record
fix(webconsole): ssh command record
2023-07-24 16:01:19 +08:00
Zexi Li
17b54b273b Merge pull request #17602 from ioito/hotfix/qx-nic-count
fix(region): usage for nic
2023-07-24 15:55:32 +08:00
Zexi Li
73fc792cc8 Merge pull request #17591 from gouqi11/addAutoCreateProjectForProvider
feat(region): allow auto create project for provider
2023-07-24 15:47:01 +08:00
马鸿飞
78d6b6d92a feat(region): allow auto create project for provider 2023-07-24 15:27:22 +08:00
ioito
42519169fe fix(region): usage for nic 2023-07-24 15:25:15 +08:00
ioito
10011bda7a fix(webconsole): ssh command record 2023-07-24 12:07:57 +08:00
Jian Qiu
b67d2cc450 fix: update vmware credential with host (#17589)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-07-24 10:47:17 +08:00
Zexi Li
624d245f1b Merge pull request #17592 from ioito/hotfix/qx-aws-redis-create
feat(region): aws redis create
2023-07-21 17:46:23 +08:00
ioito
62469ee08d feat(region): aws redis create 2023-07-21 17:32:59 +08:00
Zexi Li
70cfcfbe9f Merge pull request #17588 from zexi/automated-cherry-pick-of-#17587-upstream-master
Automated cherry pick of #17587: feat(climc): support download container image
2023-07-21 10:09:31 +08:00
Zexi Li
aad4f617a2 Merge pull request #17579 from swordqiu/hotfix/qj-organization-node-description-reset
fix: update organization node may clear description
2023-07-21 00:37:57 +08:00
Zexi Li
ff169dc45a Merge pull request #17582 from wanyaoqi/fix/qga-ping
fix(region): qga ping don't report error on host return error
2023-07-21 00:37:29 +08:00
Zexi Li
d350aab52c Merge pull request #17559 from ioito/hotfix/qx-server-sku-update
fix(region): server sku update attribute
2023-07-21 00:36:40 +08:00
Zexi Li
d6637aa3e3 feat(climc): support download container image 2023-07-21 00:17:17 +08:00
Zexi Li
8ef618435f Merge pull request #17585 from zexi/automated-cherry-pick-of-#17584-upstream-master
Automated cherry pick of #17584: feat(climc): support download helm chart
2023-07-20 22:25:16 +08:00
Zexi Li
75cfc39fe8 feat(climc): support download helm chart 2023-07-20 18:18:29 +08:00
Zexi Li
e4b2ee1edd Merge pull request #17580 from ioito/hotfix/qx-vendor-update-0720
fix(region): vendor update
2023-07-20 16:49:08 +08:00
wanyaoqi
a665c57879 fix(region): qga ping don't report error on host return error
Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2023-07-20 16:33:33 +08:00
ioito
4a7220e1a6 fix(region): vendor update 2023-07-20 16:24:11 +08:00
Qiu Jian
860c7f98ec fix: update organization node may clear description 2023-07-20 15:30:31 +08:00
Zexi Li
29cd4e3af1 fix(monitor): return error if metric is nil (#17575) 2023-07-20 11:51:40 +08:00
Zexi Li
f5ddc9be96 Merge pull request #17567 from swordqiu/hotfix/qj-disable-app-profiling-by-default
fix: disable application profiling by default
2023-07-19 01:33:03 +08:00
Zexi Li
bf67c22c39 Merge pull request #17561 from swordqiu/hotfix/qj-organization-node-description
fix: node description update
2023-07-19 01:32:31 +08:00
Zexi Li
765a649cf3 Merge pull request #17564 from ioito/hotfix/qx-esxi-add-vmdk-disk
fix(region): esxi add vmdk disk
2023-07-19 01:30:38 +08:00
Qiu Jian
5eb50e369b fix: disable application profiling by default 2023-07-18 21:03:49 +08:00
Qiu Jian
7ac0347965 fix: node description update 2023-07-18 20:50:23 +08:00
ioito
0e1e66c28a fix(region): esxi add vmdk disk 2023-07-18 20:09:40 +08:00
Zexi Li
288bb6d900 Merge pull request #17548 from ioito/hotfix/qx-skip-sync-resource
fix(region): skip sync resource when account created
2023-07-18 17:42:04 +08:00
Zexi Li
d0682a0656 Merge pull request #17453 from gouqi11/addResourceTranslate
fix(common): add resource translate
2023-07-18 17:41:22 +08:00
Zexi Li
7d0f52573d Merge pull request #17534 from ioito/hotfix/qx-eip-bgp-type
fix(region): server eip bgp type
2023-07-18 17:40:14 +08:00
Zexi Li
d51652354b Merge pull request #17547 from wanyaoqi/fix/telegraf-ignore-hugetlbfs
fix(host): telegraf ignore hugetlbfs
2023-07-18 17:39:45 +08:00
Zexi Li
d153dde452 Merge pull request #17550 from ioito/hotfix/qx-esxi-vmdk-disk
fix(region): esxi disk with vmdk format
2023-07-18 17:37:27 +08:00
ioito
d8daf1eda8 fix(region): server sku update attribute 2023-07-18 16:16:40 +08:00
ioito
c5717f8097 fix(region): esxi disk with vmdk format 2023-07-17 18:18:32 +08:00
ioito
df81a7b18e fix(region): skip sync resource when account created 2023-07-17 17:47:27 +08:00
wanyaoqi
2be7c81fa7 fix(host): telegraf ignore hugetlbfs
Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2023-07-17 16:09:27 +08:00
ioito
e28a60e616 fix(region): server eip bgp type 2023-07-14 19:12:33 +08:00
Zexi Li
bda6019cb0 Merge pull request #17527 from wanyaoqi/fix/host-find-python-path
fix(host): find python path on guestman init
2023-07-14 18:22:55 +08:00
Zexi Li
44f964f849 Merge pull request #17521 from swordqiu/hotfix/qj-lbagent-missing-stats
fix: lbcluster reference count
2023-07-14 18:14:35 +08:00
Zexi Li
0ba5e89a5b Merge pull request #17493 from zexi/upload-chart
feat(climc): upload helm chart to a repository
2023-07-14 18:08:42 +08:00
Zexi Li
f4e8f5eb13 Merge pull request #17525 from gouqi11/fixHcsoProviderDescriber
20230714 make mod
2023-07-14 10:57:41 +08:00
wanyaoqi
1d8a34a3b6 fix(host): find python path on guestman init
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-07-14 10:42:50 +08:00
马鸿飞
19e053e4db 20230714 make mod 2023-07-14 10:28:15 +08:00
Qiu Jian
7f495e19a6 fix: lbcluster reference count 2023-07-14 05:37:33 +08:00
Zexi Li
db224bc0da Merge pull request #17519 from ioito/hotfix/qx-server-template-filter-by-cloud-env
fix(region): support filter by cloud_env for servertemplate
2023-07-13 21:45:52 +08:00
Zexi Li
22c764246a Merge pull request #17509 from wanyaoqi/feat/ovs-offload-vpc-support
fix(region,scheduler): ovs offload support vpc network
2023-07-13 21:45:07 +08:00
Zexi Li
98e7ea5d4d Merge pull request #17517 from ioito/hotfix/qx-clean-skip-sync-resource
fix(region): clean skip sync resources
2023-07-13 21:43:28 +08:00
ioito
9542d59423 fix(region): support filter by cloud_env for servertemplate 2023-07-13 20:36:49 +08:00
ioito
543959f9e2 fix(region): clean skip sync resources 2023-07-13 20:14:59 +08:00
屈轩
e78138dc85 fix(climc): add port for ssh (#17513) 2023-07-13 16:39:48 +08:00
Zexi Li
3e60f6633e Merge pull request #17505 from CloudCourierStation/master
fix fillStorage get storage cause scheduler panic
2023-07-13 15:24:44 +08:00
Zexi Li
c67685ab23 Merge pull request #17506 from ioito/hotfix/qx-account-skip-sync-resource
fix(region): account update for skip sync resources
2023-07-13 14:55:03 +08:00
wanyaoqi
9e6b8ed538 fix(region,scheduler): ovs offload support vpc network 2023-07-13 14:37:59 +08:00
ioito
cfa7757786 fix(region): account update for skip sync resources 2023-07-13 10:41:39 +08:00
吴典秋
6e06d6eea2 fix fillStorage get storage cause scheduler panic 2023-07-13 08:34:24 +08:00
Jian Qiu
0e81f9c2bd fix: inconsistent organization node label and level (#17490)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-07-12 16:17:28 +08:00
屈轩
311062b973 fix(region): esxi vm migrate for search ivm (#17479) 2023-07-12 16:16:38 +08:00
屈轩
c3485e40f5 fix(region): reset esxi osinfo (#17476) 2023-07-12 16:15:27 +08:00
wanyaoqi
a36d9767af fix(region,host): qga command timeout (#17465)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-07-12 16:14:55 +08:00
Zexi Li
fef8ab82ec Merge pull request #17494 from ioito/hotfix/qx-aliyun-eip-bgp-pro
fix(region): aliyun eip bgp pro
2023-07-12 12:14:53 +08:00
Zexi Li
b22d2df28c feat(climc): upload helm chart to a repository 2023-07-11 17:51:10 +08:00
ioito
2e3f007eaa fix(region): aliyun eip bgp pro 2023-07-11 15:50:41 +08:00
Zexi Li
2d2dbe75a0 Merge pull request #17483 from swordqiu/hotfix/qj-organization-add-level-nodes
fix: organization add node and level
2023-07-11 11:02:58 +08:00
Zexi Li
e013961dde Merge pull request #17482 from gouqi11/addZoomWebhook
feat(notify): add more config for webhook
2023-07-11 11:02:06 +08:00
Zexi Li
70607dd516 Merge pull request #17486 from swordqiu/hotfix/qj-remove-class-lock-in-task
fix: remove class lock in task
2023-07-11 10:09:32 +08:00
Zexi Li
d46fa2e865 Merge pull request #17469 from ioito/hotfix/qx-default-user
fix(region): default username
2023-07-11 10:08:26 +08:00
马鸿飞
5a08b8c38b feat(notify): add more config for webhook 2023-07-11 10:05:23 +08:00
Qiu Jian
a9d2754545 fix: remove class lock in task 2023-07-11 04:37:25 +08:00
Qiu Jian
852274caba fix: organization add node and level 2023-07-10 17:39:34 +08:00
Zexi Li
fab27240b7 Merge pull request #17472 from ioito/hotfix/qx-esxi-reset-password-log
fix(esxi-agent): reset password log
2023-07-10 16:09:08 +08:00
ioito
4717307b92 fix(esxi-agent): reset password log 2023-07-10 15:52:46 +08:00
ioito
80866ad5f5 fix(region): default username 2023-07-10 15:25:02 +08:00
wanyaoqi
d07dd8a930 fix(host): lvm disk create from template (#17462) 2023-07-09 17:10:16 +08:00
Jian Qiu
1e43f75767 fix: increase handler time if force_no_paging is on (#17459)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-07-09 07:37:34 +08:00
Zexi Li
1f469102dc Merge pull request #17455 from ioito/hotfix/qx-aliyun-pl0
fix(region): support aliyun pl0 storage
2023-07-07 10:24:35 +08:00
马鸿飞
10ce7b2edf fix(common): add resource translate 2023-07-06 20:34:46 +08:00
ioito
fbf5c04099 fix(region): support aliyun pl0 storage 2023-07-06 20:33:08 +08:00
Zexi Li
35c34b74ee Merge pull request #17445 from ioito/hotfix/qx-write-err-msg-for-webconsole
fix(webconsole): show exit msg for webconsole
2023-07-06 11:31:15 +08:00
Jian Qiu
b2bccef742 fix: allow set executor connection timeout (#17448)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-07-06 01:18:01 +08:00
Zexi Li
ab8415f20e feat(climc): add container registry cmd for k8s service (#17447) 2023-07-06 01:15:35 +08:00
ioito
7870f67b8e fix(webconsole): show exit msg for webconsole 2023-07-05 15:20:22 +08:00
Jian Qiu
b57fdc6dfa fix: add bind/unbind actions (#17443)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-07-05 01:20:35 +08:00
Zexi Li
6a50015029 Merge pull request #17122 from gouqi11/fixUserPwdExpiredNotify
fix(notify): remove topic_tbl.advance_days
2023-07-04 11:16:25 +08:00
Zexi Li
74d7bd20f4 Merge pull request #17435 from ioito/hotfix/qx-skip-res-sync
fix(region): support skip sync resource
2023-07-03 18:23:52 +08:00
ioito
33694abfe5 fix(region): support skip sync resource 2023-07-03 14:51:06 +08:00
Zexi Li
07fcaaa2be Merge pull request #17430 from gouqi11/fixRegionGuestListIpFromMetadata
fix(region): fix server list type and ip from metadata
2023-07-03 11:07:35 +08:00
Zexi Li
866c4ed8eb Merge pull request #17385 from wanyaoqi/automated-cherry-pick-of-#17384-upstream-master
Automated cherry pick of #17384: fix(region): get guestdisks count filter deleted guests
2023-07-01 00:04:16 +08:00
Zexi Li
bc4f28e019 Merge pull request #17425 from swordqiu/hotfix/qj-more-event-show
fix: more event show subcmd
2023-07-01 00:01:36 +08:00
Zexi Li
61dda6e28f Merge pull request #17427 from swordqiu/hotfix/qj-guest-image-delete-panic
fix: guestimage log panic
2023-07-01 00:01:03 +08:00
马鸿飞
cbb993493f fix(region): fix server list type and ip from metadata 2023-06-30 17:30:40 +08:00
Qiu Jian
c15069ddbb fix: guestimage log panic 2023-06-30 14:55:22 +08:00
Qiu Jian
795a983fe0 fix: more event show subcmd 2023-06-30 12:15:32 +08:00
Zexi Li
164738fb2c Merge pull request #17395 from gouqi11/addGetSubscriptionTopicType
fix(notify): add more details for emailqueue
2023-06-30 10:15:23 +08:00
Zexi Li
356488d3cf Merge pull request #17414 from ioito/hotfix/qx-vendor-update-0629
fix(region): vendor update
2023-06-29 20:21:07 +08:00
Zexi Li
11da3cdbe4 Merge pull request #17416 from ioito/hotfix/qx-storage-offline-reason
fix(host): log storage offline reason
2023-06-29 20:16:22 +08:00
Zexi Li
36e538ae79 Merge pull request #17421 from zexi/automated-cherry-pick-of-#17420-upstream-master
Automated cherry pick of #17420: fix(vpcagent): fetch data from region server defaultly
2023-06-29 20:15:49 +08:00
马鸿飞
96e3146608 fix(notify): add more details for emailqueue 2023-06-29 20:14:04 +08:00
Zexi Li
a8e8474425 fix(vpcagent): fetch data from region server defaultly 2023-06-29 20:01:29 +08:00
ioito
849900f3ce fix(host): log storage offline reason 2023-06-29 17:46:02 +08:00
ioito
452b5ed76e fix(region): vendor update 2023-06-29 17:21:11 +08:00
Zexi Li
5d3610d49f Merge pull request #17410 from ioito/hotfix/qx-pve
fix(region): pve create
2023-06-29 16:25:36 +08:00
ioito
2b9d01dbf2 fix(region): pve create 2023-06-29 15:47:05 +08:00
Zexi Li
4212dfd867 Merge pull request #17406 from ioito/hotfix/qx-qemu-iso
fix(image): optimized iso format check
2023-06-29 15:40:39 +08:00
Zexi Li
888a8afc2e Merge pull request #17404 from ioito/hotfix/qx-cached-image-sync
fix(region): cached image info sync
2023-06-29 15:39:17 +08:00
ioito
70af8c46c7 fix(image): optimized iso format check 2023-06-29 14:05:04 +08:00
ioito
27f701b2f8 fix(region): cached image info sync 2023-06-29 13:23:44 +08:00
Zexi Li
1a0137ff90 Merge pull request #17401 from swordqiu/hotfix/qj-bucket-short-desc
fix: bucket short descption
2023-06-29 06:30:10 +08:00
Qiu Jian
9232276b41 fix: bucket short descption 2023-06-29 02:50:01 +08:00
Zexi Li
8206e651ce fix(host): add some logs for dhcp relay (#17387) 2023-06-27 23:50:52 +08:00
Zexi Li
2677fd46b1 Merge pull request #17361 from gouqi11/addGetSubscriptionTopicType
fix(notify): add getSubscriberFunc more details
2023-06-27 20:23:01 +08:00
wanyaoqi
e85d4a6c6e fix(region): get guestdisks count filter deleted guests
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-06-27 18:16:33 +08:00
Zexi Li
0d2163eadf Merge pull request #17377 from ioito/hotfix/qx-vendor-update-openstack-snapshot
fix(region): vendor update
2023-06-27 11:03:19 +08:00
ioito
2604671211 fix(region): vendor update 2023-06-27 10:32:10 +08:00
Zexi Li
b8a1451cce Merge pull request #17374 from ioito/hotfix/qx-vendor-update-aliyun-k8s-disk
fix(region): vendor update
2023-06-26 20:02:26 +08:00
ioito
f6f244a1a6 fix(region): vendor update 2023-06-26 20:01:03 +08:00
Zexi Li
bad22b957b Merge pull request #17373 from ioito/hotfix/qx-vendor-update-0626
fix(region): vendor update
2023-06-26 18:32:04 +08:00
ioito
4a28881696 fix(region): vendor update 2023-06-26 18:29:43 +08:00
Zexi Li
ba0cf30305 Merge pull request #17370 from ioito/hotfix/qx-zstack-ip
fix(region): sync zstack vm ip
2023-06-26 16:40:05 +08:00
ioito
e246dae81a fix(region): sync zstack vm ip 2023-06-26 16:04:19 +08:00
马鸿飞
5f856aa79b fix(notify): add getSubscriberFunc more details 2023-06-26 10:42:13 +08:00
Zexi Li
8eb8cd5c89 Merge pull request #17366 from ioito/hotfix/qx-vendor-update-0625
fix(region): avoid aliyun elastic cache cycle sync
2023-06-26 10:12:53 +08:00
ioito
31f60cf253 fix(region): avoid aliyun elastic cache cycle sync 2023-06-25 21:01:32 +08:00
Zexi Li
55823b1710 Merge pull request #17364 from ioito/hotfix/qx-aliyun-node-pool
fix(region): vendor update
2023-06-25 16:03:29 +08:00
ioito
b931e127ee fix(region): vendor update 2023-06-25 16:00:38 +08:00
Jian Qiu
ec2b0c7bb4 fix: more organization cmds (#17358)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-06-25 14:54:45 +08:00
Jian Qiu
70b4b43b02 fix: delete organization alse delete cache (#17357)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-06-22 11:25:14 +08:00
Jian Qiu
e33e8337e0 fix: organization node no details (#17356)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-06-22 00:13:10 +08:00
Jian Qiu
0d50c36eb0 fix: force no paging limit for list (#17354)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-06-21 20:16:45 +08:00
Zexi Li
a13dac1d13 Merge pull request #17351 from gouqi11/addGetSubscriptionTopicType
fix(notify): add topic_type for get subscription
2023-06-21 17:16:21 +08:00
Zexi Li
b2b1f7ce4e Merge pull request #17345 from swordqiu/hotfix/qj-process-timeout-options
fix: add process timeout option default_process_timeout_seconds
2023-06-21 16:38:48 +08:00
Zexi Li
eeee264e86 Merge pull request #17349 from ioito/hotfix/qx-account-filter
fix(region): cloudaccount filter
2023-06-21 16:38:13 +08:00
马鸿飞
aad2e22f3d fix(notify): add topic_type for get subscription 2023-06-21 16:31:59 +08:00
ioito
7b8d8d029a fix(region): cloudaccount filter 2023-06-21 15:58:40 +08:00
Qiu Jian
96581515d1 fix: add process timeout option default_process_timeout_seconds 2023-06-21 13:01:07 +08:00
Jian Qiu
a4a64c128a fix: async create external project (#17319)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-06-21 10:04:43 +08:00
屈轩
a2dccb65a2 fix(region): vendor update (#17332) 2023-06-21 10:04:22 +08:00
wanyaoqi
3a42de8648 fix(region): remove capabilites debug query (#17337) 2023-06-21 10:03:30 +08:00
Jian Qiu
6df5327864 fix: project organization details (#17339)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-06-21 10:02:50 +08:00
Jian Qiu
790fb3cefc fix: detailed pending usage error (#17340)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-06-21 10:02:09 +08:00
Zexi Li
e10b4a6d13 Merge pull request #17323 from wanyaoqi/fix/ubuntu-like-uos
fix(host-deployer): ubuntu like uos detect
2023-06-20 10:43:15 +08:00
Zexi Li
0430283bd7 Merge pull request #17327 from zexi/automated-cherry-pick-of-#17326-upstream-master
Automated cherry pick of #17326: fix(baremetal): panic occured when fetch powerMetrics
2023-06-20 10:42:48 +08:00
Zexi Li
44cc107564 Merge pull request #17329 from gouqi11/fixListitemFilterSlices
fix(region): listitemfilter ignore empty slice
2023-06-20 10:42:22 +08:00
马鸿飞
096f09d85a fix(region): listitemfilter ignore empty slice 2023-06-20 10:29:52 +08:00
马鸿飞
1b31a815b2 fix(notify): remove topic_tbl.advance_days 2023-06-19 17:09:08 +08:00
Zexi Li
233997e51f fix(baremetal): panic occured when fetch powerMetrics 2023-06-19 14:53:11 +08:00
wanyaoqi
17e441d85b fix(host-deployer): ubuntu like uos detect 2023-06-19 11:20:12 +08:00
Zexi Li
f46e152d6f Merge pull request #17316 from ioito/hotfix/qx-gpu-count
fix(region): 支持1/2类似的gpu数量
2023-06-15 20:52:39 +08:00
ioito
96b562e6bb fix(region): 支持1/2类似的gpu数量 2023-06-15 20:29:33 +08:00
Zexi Li
d744332cd5 Merge pull request #17286 from ioito/hotfix/qx-sku-sync-optimized
fix(region): optimized sku sync
2023-06-15 20:26:35 +08:00
Zexi Li
cee55e7f96 Merge pull request #17267 from gouqi11/addRegionListOption
fix(region): support slice for list
2023-06-15 16:10:20 +08:00
马鸿飞
042fa61058 fix(region): support slice for list 2023-06-15 15:51:36 +08:00
Zexi Li
e30ed26e3d Merge pull request #17308 from gouqi11/addOptionToGetReceiverSubscription
fix(notify): add option to filter disabled subscription
2023-06-15 15:48:40 +08:00
Zexi Li
b71858b60a Merge pull request #17312 from swordqiu/hotfix/qj-logclient-add-progress-event
fix: logclient add event of progress
2023-06-15 10:28:46 +08:00
Qiu Jian
8713a69e8f fix: logclient add event of progress 2023-06-15 02:49:51 +08:00
Zexi Li
2ebffc89b1 Merge pull request #17306 from wanyaoqi/fix/guest-detach-disk
fix(region): guest detach disk task duplicate callback
2023-06-15 00:03:16 +08:00
Zexi Li
1d9f6bdc6a Merge pull request #17300 from ioito/hotfix/qx-vendor-update-0614
fix(region): vendor update
2023-06-14 22:47:57 +08:00
Zexi Li
a601ece9cf Merge pull request #17281 from swordqiu/feature/qj-organization
Feature/qj organization
2023-06-14 22:47:38 +08:00
Zexi Li
8d3e14f462 Merge pull request #17275 from wanyaoqi/fix/live-migrate-blocks
fix(region,host): virtio dirver local disk live migrate
2023-06-14 22:47:06 +08:00
Zexi Li
1e55cefbd7 Merge pull request #17284 from wanyaoqi/feat/no-hpet
fix(host): host add option no_hpet
2023-06-14 22:46:32 +08:00
Zexi Li
d8ebd5bce0 Merge pull request #17289 from zexi/automated-cherry-pick-of-#17288-upstream-master
Automated cherry pick of #17288: fix(baremetal): skip 'Volatile Size' line when detecting memory size
2023-06-14 22:46:11 +08:00
马鸿飞
b217beb549 fix(notify): add option to filter disabled subscription 2023-06-14 20:05:34 +08:00
wanyaoqi
933520f89c fix(region): guest detach disk task duplicate callback 2023-06-14 16:56:24 +08:00
Zexi Li
33b1eea2c7 Merge pull request #17299 from zhasm/hotfix/rex-docker-manifest-annotate-local-build
fix(docker,buildx): 兼容本地registry 模式
2023-06-14 15:31:24 +08:00
Zhang Dongliang
f7051bc618 fix(docker,buildx): 兼容本地registry 模式 2023-06-14 15:13:34 +08:00
ioito
0820edd5b2 fix(region): vendor update 2023-06-14 15:04:37 +08:00
ioito
dc388928e7 fix(region): optimized sku sync 2023-06-13 20:07:50 +08:00
Zexi Li
3b74c006cc Merge pull request #17292 from zhasm/hotfix/rex-docker-manifest-annotate
fix(docker,buildx): 跨平台编译优化
2023-06-13 17:27:37 +08:00
Zhang Dongliang
d8a543e79a fix(docker,buildx): 跨平台编译优化 2023-06-13 17:07:00 +08:00
wanyaoqi
3db004d5a8 fix(region,host): virtio dirver local disk live migrate
Guest using the virtio-blk driver for local disks, iothread is used to
handle IO operations, Qemu will segfault when copying disks during live
migration. To address this issue, use nbd server and drive_mirror
approach to copy the disks.
2023-06-13 16:32:24 +08:00
Zexi Li
114b49150a Merge pull request #17277 from wanyaoqi/fix/qga-set-password-withiso
fix(region): qga set password not record logininfo
2023-06-13 13:18:42 +08:00
Zexi Li
48ef57ba81 Merge pull request #17282 from wanyaoqi/fix/live-migrate-init-port
fix(host): get live migration port before generate desc
2023-06-13 13:18:11 +08:00
Zexi Li
d61e97307c fix(baremetal): skip 'Volatile Size' line when detecting memory size 2023-06-13 13:15:49 +08:00
Qiu Jian
10e5c2189e feature: originazaiton commit 2023-06-13 00:28:24 +08:00
Qiu Jian
5f64835974 feature: organization backend 2023-06-12 18:08:35 +08:00
wanyaoqi
de8d4e588c fix(host): host add option no_hpet
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-06-12 17:22:46 +08:00
wanyaoqi
dd4a88b838 fix(host): get live migration port before generate desc
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-06-12 16:23:33 +08:00
wanyaoqi
abbfc12f34 fix(region): qga set password not record logininfo
guest create from iso no login_account, record login_account when login
account is empty.
2023-06-12 10:28:48 +08:00
Zexi Li
e6a4361c92 Merge pull request #17183 from ioito/hotfix/qx-snapshot-policy-create
fix(region): snapshot policy create and update
2023-06-12 10:09:03 +08:00
Zexi Li
fcf8b77d6a Merge pull request #17258 from wanyaoqi/fix/isolated-device-register
fix(region): validate isolated device register
2023-06-09 16:17:55 +08:00
屈轩
c4680e2336 fix(region): qcloud hypervisor (#17263) 2023-06-08 21:20:08 +08:00
wanyaoqi
651fb8b00e fix(region): validate isolated device register
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-06-07 16:29:57 +08:00
Zexi Li
318828ba91 Merge pull request #17246 from wanyaoqi/feat/lvm-sys
feat(region,host): support lvm disk as guest sys disk
2023-06-06 14:20:19 +08:00
Zexi Li
b514bc8708 Merge pull request #17250 from ioito/hotfix/qx-host-filter-by-ips
fix(region): filter host by ips
2023-06-06 14:17:12 +08:00
ioito
948e699e93 fix(region): filter host by ips 2023-06-05 17:05:24 +08:00
ioito
8e73df76f2 fix(region): snapshot policy create and update 2023-06-05 16:43:47 +08:00
wanyaoqi
52d1cf26ab feat(region,host): support lvm disk as guest sys disk 2023-06-05 16:06:58 +08:00
Zexi Li
7f37f1533b Merge pull request #17229 from ioito/hotfix/qx-ssh-exit
fix(webconsole): ssh exit
2023-06-03 10:58:59 +08:00
Zexi Li
89baa2fa0c Merge pull request #17240 from wanyaoqi/fix/do-not-sync-status-on-resume
fix(host): don't sync status on resume from postmigrate
2023-06-03 10:58:16 +08:00
Zexi Li
5c0e6212fd Merge pull request #17238 from ioito/hotfix/qx-swagger-api
fix(region): swagger api update
2023-06-03 10:56:32 +08:00
Zexi Li
22191739f1 Merge pull request #17231 from ioito/hotfix/qx-aliyun-k8s
fix(region): support aliyun k8s op
2023-06-03 10:55:35 +08:00
wanyaoqi
73cc956474 fix(host): don't sync status on resume from postmigrate
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-06-02 18:40:48 +08:00
ioito
cbe6216da2 fix(region): swagger api update 2023-06-02 17:26:06 +08:00
ioito
84ebd491a0 fix(region): support aliyun k8s op 2023-06-02 10:23:00 +08:00
wanyaoqi
51908b2605 fix(host): nics get sys conf quiet (#17205) 2023-06-01 20:46:04 +08:00
Jian Qiu
50fd2c53fa fix: allow LDAP sync extra tags (#17202)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-06-01 20:45:19 +08:00
Zexi Li
10bf63c529 feat(climc): add service option for action-show command (#17223) 2023-06-01 20:44:15 +08:00
Zexi Li
46e6394da5 Merge pull request #17225 from gouqi11/fixRegionCreatedAt
fix(apigateway): add handler for user to get self topic subscriptions
2023-06-01 17:55:04 +08:00
ioito
4ed58070d9 fix(webconsole): ssh exit 2023-06-01 17:45:32 +08:00
马鸿飞
c029c4a1fc fix(apigateway): add handler for user to get self topic subscriptions 2023-06-01 16:32:01 +08:00
Zexi Li
038ef437d5 Merge pull request #17219 from ioito/hotfix/qx-vendor-update-0531
fix(region): vendor update
2023-05-31 21:37:27 +08:00
ioito
343c4782c8 fix(region): vendor update 2023-05-31 20:29:46 +08:00
Zexi Li
5a7e4eb85d Merge pull request #17214 from gouqi11/fixRegionCreatedAt
fix(region): fix region.CreatedAt
2023-05-31 19:08:13 +08:00
马鸿飞
39688f6c10 fix(region): fix region.CreatedAt 2023-05-31 16:14:40 +08:00
Zexi Li
8f207d5cb7 Merge pull request #17212 from zexi/automated-cherry-pick-of-#17208-upstream-master
Automated cherry pick of #17208: optimized(monitor): query metrics time
2023-05-31 15:19:56 +08:00
Zexi Li
d17bfc73bc optimized(monitor): query metrics time 2023-05-31 15:02:19 +08:00
屈轩
34bbb8777b fix(region): sync cloud project log (#17198) 2023-05-30 22:58:11 +08:00
wanyaoqi
4f4a85eaf6 fix(host): miss return on syncDiskConf (#17200)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-30 22:57:29 +08:00
Zexi Li
8a84b80f14 fix(climc): release upgrade method (#17195) 2023-05-30 22:57:04 +08:00
Zexi Li
28fbcd97fb Merge pull request #17180 from ioito/hotfix/qx-vpc-purge
fix(region): vpc purge
2023-05-30 17:41:28 +08:00
Zexi Li
052d467c28 Merge pull request #17187 from swordqiu/hotfix/qj-apigateway-endpoint-error-empty
fix: apigateway endpoint empty error
2023-05-30 17:40:44 +08:00
Zexi Li
e6a1e42668 Merge pull request #17191 from wanyaoqi/fix/isolated_device_model_hot_pluggable
fix(region): isolated device model add properties hot pluggable
2023-05-30 17:40:18 +08:00
Zexi Li
c7fcf46019 Merge pull request #17184 from ioito/hotfix/qx-server-list-by-ips
fix(region): server list filter by ips
2023-05-30 17:39:06 +08:00
wanyaoqi
d8fcce5e39 fix(region): isolated device model add properties hot pluggable
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-30 11:49:18 +08:00
Qiu Jian
fc5344c80f fix: apigateway endpoint empty error 2023-05-30 11:17:48 +08:00
ioito
0f51d879d6 fix(region): server list filter by ips 2023-05-29 20:30:32 +08:00
Zexi Li
a43181dc7d Merge pull request #17177 from ioito/hotfix/qx-k8s-manager-id
fix(region): kube cluster manager id
2023-05-29 17:01:03 +08:00
ioito
808226d038 fix(region): vpc purge 2023-05-29 16:45:01 +08:00
ioito
ceb64f7190 fix(region): kube cluster manager id 2023-05-29 12:57:50 +08:00
Zexi Li
815764f404 Merge pull request #17171 from wanyaoqi/fix/host-cpu-topo
fix(host): adapt arm host no l3 cache but has l1/l2
2023-05-29 11:31:40 +08:00
Zexi Li
b1c277d743 Merge pull request #17173 from wanyaoqi/fix/set-auto-migrate
fix(region): request host set auto migrate use hostId
2023-05-29 11:31:00 +08:00
Zexi Li
6b2ffed711 Merge pull request #17175 from wanyaoqi/fix/check-hugepage-update-mem-cmtbound
fix(region): check host update cmtbound on hugepage host
2023-05-29 11:30:27 +08:00
wanyaoqi
05ec1ed7b1 fix(region): check host update cmtbound on hugepage host
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-29 11:12:35 +08:00
wanyaoqi
064d6531ae fix(region): request host set auto migrate use hostId 2023-05-29 10:14:35 +08:00
wanyaoqi
2f59153bba fix(host): adapt arm host no l3 cache but has l1/l2
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-26 22:57:31 +08:00
Jian Qiu
2825390930 fix: resource short desc for elasticcache and natgateway (#17169)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-05-26 18:55:37 +08:00
Jian Qiu
361616daa8 fix: make cron day job happen earlier (#17166)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-05-26 17:01:35 +08:00
Jian Qiu
7bf47eccde fix: resource short desc (#17164)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-05-26 17:01:12 +08:00
Zexi Li
e667bb8cf9 Merge pull request #17160 from wanyaoqi/fix/get-pci-controller-type
fix(host): get pci controller type
2023-05-26 15:23:50 +08:00
Zexi Li
a6614bedcf Merge pull request #17163 from ioito/hotfix/qx-node-pool-instance-count
fix(region): node pool instance min count
2023-05-26 15:23:24 +08:00
ioito
9ca8553396 fix(region): node pool instance min count 2023-05-26 15:11:56 +08:00
Zexi Li
8fdd2680be Merge pull request #17162 from ioito/hotfix/qx-node-pool-keypair
fix(region): node pool keypair
2023-05-26 15:09:30 +08:00
ioito
aafcd3e9b1 fix(region): node pool keypair 2023-05-26 14:38:17 +08:00
Zexi Li
543e1c5cdb Merge pull request #16810 from gouqi11/resetNotificationManager
fix(notify): reset notifications
2023-05-26 10:57:38 +08:00
Zexi Li
2fcc0264c3 Merge pull request #17159 from ioito/hotfix/qx-vendor-update-0525
fix(region): vendor update
2023-05-26 10:27:17 +08:00
wanyaoqi
42040bcb54 fix(host): get pci controller type
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-25 20:43:51 +08:00
Zexi Li
5181c6bf56 Merge pull request #17156 from gouqi11/fixKeystoneRefreshScopeResourceCountTimeout
fix(keystone): fix refreshScopeResourceCount timeout
2023-05-25 20:12:29 +08:00
ioito
13a00e9d4f fix(region): vendor update 2023-05-25 16:16:11 +08:00
马鸿飞
aaffc64d3d fix(keystone): fix refreshScopeResourceCount timeout 2023-05-25 15:23:32 +08:00
Zexi Li
2fe92ee856 Merge pull request #17153 from ioito/hotfix/qx-node-pool-key
fix(region): node pool keypair
2023-05-25 13:24:55 +08:00
Zexi Li
c0179e5ee6 Merge pull request #17154 from ioito/hotfix/qx-export-err-msg
fix(region): image export
2023-05-25 13:24:13 +08:00
ioito
494d34ef9d fix(region): image export 2023-05-25 12:12:54 +08:00
ioito
ddc1cc083e fix(region): node pool keypair 2023-05-25 12:11:31 +08:00
wanyaoqi
a6ed1817ee fix(host): arm cdrom hotplug (#17150)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-25 06:47:25 +08:00
Zexi Li
a555034d28 feat(climc): make cloud-provider-clirc supports output format (#17146) 2023-05-24 19:01:09 +08:00
Zexi Li
88fd89a2fe feat(climc): support output yaml format (#17144) 2023-05-24 19:00:42 +08:00
屈轩
24242a6dc0 fix(region): support save cloud image to glance (#17148) 2023-05-24 18:58:02 +08:00
wanyaoqi
84a27473f7 fix(host): compatible host no l3 cache (#17094)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-24 06:25:35 +08:00
屈轩
6f4bdbbfa8 fix(region): support shutdown mode (#17137) 2023-05-24 06:24:49 +08:00
wanyaoqi
5032c219be fix(host): hotplug pcie device use pcie root port (#17129) 2023-05-24 06:24:29 +08:00
Zexi Li
5060410b05 Merge pull request #17142 from ioito/hotfix/qx-eks-endpoint
fix(region): eks access
2023-05-24 02:07:29 +08:00
ioito
cc4ce5067c fix(region): eks access 2023-05-24 02:05:44 +08:00
Zexi Li
d29ae5ca0d Merge pull request #17140 from ioito/hotfix/qx-aws-net
fix(region): support aws assign public ip with network
2023-05-24 00:05:25 +08:00
ioito
75924503bd fix(region): support aws assign public ip with network 2023-05-23 23:31:23 +08:00
Zexi Li
f3f01b3b0f Merge pull request #17139 from zexi/kukbe-node-pool-list-opt
fix(region): add CloudKubeClusterId option in KubeNodePoolListInput
2023-05-23 22:39:12 +08:00
Zexi Li
b8047f5043 fix(region): add CloudKubeClusterId option in KubeNodePoolListInput 2023-05-23 21:25:47 +08:00
Zexi Li
d18f59b9a1 Merge pull request #17135 from ioito/hotfix/qx-aws-tag
fix(region): aws tag sync
2023-05-23 21:16:42 +08:00
ioito
9880306807 fix(region): aws tag sync 2023-05-23 19:41:57 +08:00
Zexi Li
36f7b01be8 Merge pull request #17133 from ioito/hotfix/qx-vendor-update-20230523
fix(region): vendor update
2023-05-23 14:28:56 +08:00
ioito
ad09ce5d68 fix(region): vendor update 2023-05-23 14:26:56 +08:00
Zexi Li
53179cfdf6 Merge pull request #17120 from ioito/hotfix/qx-policy-cache
fix(cloudid): cache policy for cloud
2023-05-23 12:00:50 +08:00
马鸿飞
b01b44054e fix(notify): reset notifications 2023-05-23 11:38:54 +08:00
Zexi Li
699d58fcb9 Merge pull request #17125 from ioito/hotfix/qx-index
fix(region): index order
2023-05-23 11:24:07 +08:00
ioito
86200dffcf fix(region): index order 2023-05-23 10:59:10 +08:00
ioito
8ca4a542e4 fix(cloudid): cache policy for cloud 2023-05-22 11:59:45 +08:00
gzericlee
312c7584bd feat(bingocloud): add bingoiam for oauth2 (#17083)
Co-authored-by: 李锐 <lirui@bingosoft.net>
2023-05-20 02:13:01 +08:00
wanyaoqi
6788a154c8 fix(host): record live migrate resume task (#17092)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-20 02:12:39 +08:00
Jian Qiu
ec66ff06be fix: lbagent fail to start due to empty prioty and interface (#17116)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-05-20 02:10:45 +08:00
wanyaoqi
810a96b52e fix(host): pciroot not assigned in switch case (#17101)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-20 02:10:17 +08:00
wanyaoqi
0453999f8b fix(host): don't init pcie to pci bridge on pci extend disabled (#17114)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-20 02:09:56 +08:00
Zexi Li
4cb4a1fac0 Merge pull request #17103 from ioito/hotfix/qx-kube-cluster
fix(region): support kube cluster create
2023-05-19 17:48:43 +08:00
Zexi Li
9ed7bb2bc9 fix(baremetal): skip running sysinit.sh when arch is aarch64 (#17105) 2023-05-19 17:35:01 +08:00
Zexi Li
e006ecf281 Merge pull request #17108 from gouqi11/fixUserPwdExpiredNotify
fxi(scheduledtask): skip task when scheduledtask.labels is empty
2023-05-19 17:30:36 +08:00
ioito
336f92f111 fix(region): support kube cluster create 2023-05-19 15:56:35 +08:00
马鸿飞
f06b76bf28 fxi(scheduledtask): skip task when scheduledtask.labels is empty 2023-05-19 15:45:50 +08:00
Zexi Li
1ee6cb3f2e Merge pull request #17098 from gouqi11/fixUserPwdExpiredNotify
fix(keystone): user pwd expired notify bug fix
2023-05-19 12:06:17 +08:00
马鸿飞
b811b67776 fix(keystone): user pwd expired notify bug fix 2023-05-19 11:51:56 +08:00
Zexi Li
d74f6494f5 Merge pull request #17096 from ioito/hotfix/qx-notify-v2
fix(climc): notify v2
2023-05-19 11:28:45 +08:00
ioito
2e2212f146 fix(climc): notify v2 2023-05-19 11:07:58 +08:00
Zexi Li
c71367b30a Merge pull request #17077 from ioito/hotfix/qx-image-upload-properties
fix(apigateway): image upload with properties
2023-05-19 10:49:28 +08:00
Zexi Li
32287a100c Merge pull request #17090 from ioito/hotfix/qx-disk-reset
fix(region): openstack disk reset
2023-05-19 10:49:07 +08:00
Zexi Li
a55cf79392 Merge pull request #17037 from wanyaoqi/feat/general-pci-device2
feat(region,host): custom pci device type
2023-05-19 10:42:04 +08:00
ioito
988f06354e fix(region): openstack disk reset 2023-05-18 19:34:43 +08:00
Jian Qiu
2e986aafa9 fix: allow bootstrap role policy assignment without violation check (#17087)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-05-18 19:29:07 +08:00
Zexi Li
f4b73f7daf Merge pull request #17075 from ioito/hotfix/qx-ping-debug
fix(region): disable ping debug
2023-05-18 18:07:51 +08:00
Zexi Li
2b9f66c54d Merge pull request #17080 from ioito/hotfix/qx-validate-delete-region
fix(region): validate delete region
2023-05-18 18:06:54 +08:00
Zexi Li
5dbcbd5bf4 Merge pull request #17057 from gouqi11/fixExcelutilsStyle
fix(region): snapshot code tidy
2023-05-18 18:06:16 +08:00
Zexi Li
21818be0f1 Merge pull request #17085 from gouqi11/fixFeishuGetAccessTokenFailedError
fix(notify): fix feishu getAccessTokenFailed err
2023-05-18 18:05:11 +08:00
马鸿飞
2177302eb6 fix(notify): fix feishu getAccessTokenFailed err 2023-05-18 17:25:02 +08:00
ioito
486939ea57 fix(region): validate delete region 2023-05-18 16:08:51 +08:00
ioito
c0aedd5df1 fix(apigateway): image upload with properties 2023-05-18 15:08:45 +08:00
ioito
bc451e3608 fix(region): disable ping debug 2023-05-18 11:18:21 +08:00
Zexi Li
427da593ba Merge pull request #17060 from gouqi11/addNotifyReceiverSubscriber
fix(notify): add func to get recevier subscription
2023-05-18 10:33:30 +08:00
Zexi Li
01abe9730c Merge pull request #17072 from wanyaoqi/fix/arm-topo-library-ghw
fix(host): fix arm topo lib ghw
2023-05-18 10:32:47 +08:00
wanyaoqi
f8a4f5b205 fix(host): fix arm topo lib ghw
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-18 10:07:40 +08:00
Zexi Li
4de109f253 Merge pull request #17066 from swordqiu/hotfix/qj-disable-update-policy-when-enable-three-member-system
fix: disable policy update when enable three member system
2023-05-18 02:17:24 +08:00
Zexi Li
549f8c80a9 Merge pull request #17069 from wanyaoqi/fix/arm-tcg-qemu
fix(host): support arm host tcg qemu
2023-05-18 02:16:59 +08:00
Zexi Li
2d04a63dcb Merge pull request #17052 from wanyaoqi/fix/guest-restart-network-task
fix(region): guest restart network task params
2023-05-18 02:16:07 +08:00
wanyaoqi
7100619436 fix(host): support arm host tcg qemu
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-18 00:23:18 +08:00
Qiu Jian
def00fc871 fix: disable policy update when enable three member system 2023-05-17 23:33:29 +08:00
wanyaoqi
a4fd322f3a fix(region): list normal guests 2023-05-17 22:54:08 +08:00
wanyaoqi
9d12a39598 feat(region,host): custom pci device type 2023-05-17 17:23:34 +08:00
马鸿飞
d45b1eb6f2 fix(notify): add func to get recevier subscription 2023-05-17 14:37:41 +08:00
马鸿飞
5d5d49cbb6 fix(region): snapshot code tidy 2023-05-17 10:45:05 +08:00
Zexi Li
ec068bc6dc Merge pull request #17055 from gouqi11/fixExcelutilsStyle
fix(excelutils): 取消负数标红
2023-05-16 19:39:00 +08:00
马鸿飞
1ac623dfbb fix(excelutils): 取消负数标红 2023-05-16 19:34:02 +08:00
wanyaoqi
a8fb862eb9 fix(region): guest restart network task params
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-16 15:00:20 +08:00
Zexi Li
a6cacb9b85 Merge pull request #17041 from gouqi11/fixNotifyTemplateTranslate
fix(notify): add some template translate
2023-05-16 11:35:03 +08:00
Zexi Li
1cd164d172 Merge pull request #17047 from swordqiu/hotfix/qj-role-policy-assignment-violation-check
fix: prevent policy violate when assigning policy to roles
2023-05-16 11:11:56 +08:00
屈轩
291c0d05c1 fix(region): secgroup rule sync with lock (#17050) 2023-05-16 10:54:54 +08:00
Qiu Jian
3c5145ad2c fix: prevent policy violate when assigning policy to roles 2023-05-15 21:18:07 +08:00
Zexi Li
feda93f664 Merge pull request #17044 from ioito/hotfix/qx-vendor-update
fix(region): vendor update
2023-05-15 20:11:42 +08:00
ioito
e4817093e6 fix(region): vendor update 2023-05-15 19:59:04 +08:00
马鸿飞
4380181cde fix(notify): add some template translate 2023-05-15 19:11:10 +08:00
Zexi Li
e0c47dd5df feat(apimap): fetch vpcagent net topo info from DB (#17038) 2023-05-15 14:48:24 +08:00
Jian Qiu
a3aa26b8e2 fix: options of the maximal number of roles of a user in project (#17033)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2023-05-14 08:35:04 +08:00
屈轩
64118e947e fix(region): optimized snapshot list (#16990) 2023-05-13 07:52:59 +08:00
wanyaoqi
f11383f7d9 fix(host): guest sync update cdrom bootindex (#17027)
generate qemu cmdline check cdrom path before generate bootindex params

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-13 07:52:20 +08:00
wanyaoqi
43a72e8b6f fix(host): check disk pci device is nil on init disks addrs (#17032)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-13 07:52:00 +08:00
屈轩
4f0b057d13 fix(region): optimized sku sync (#17028) 2023-05-13 07:50:37 +08:00
Zexi Li
a7cc1cf76b Merge pull request #17016 from wanyaoqi/fix/qemu-name-has-space
fix(host): guest name has space
2023-05-12 10:32:15 +08:00
wanyaoqi
f7cae161b2 fix(host): guest name has space 2023-05-11 17:43:49 +08:00
Zexi Li
9a1f60a311 Merge pull request #17011 from gouqi11/fixNotifyContact
fix(notify): fix notify webconsole
2023-05-11 16:17:57 +08:00
Zexi Li
e49ce86844 Merge pull request #17008 from gouqi11/addCleaningSnapshotsConfig
fix(region): add cleanSnapshotDate option
2023-05-11 16:17:14 +08:00
马鸿飞
f9a48c52e4 fix(region): add cleanSnapshotDate option 2023-05-11 15:50:22 +08:00
屈轩
559bb5b00b fix(region): show host info when cache image (#16998) 2023-05-11 11:03:15 +08:00
wanyaoqi
2909bf0f4a fix(host): check running guest kvm off option (#16988) 2023-05-11 11:01:57 +08:00
Jian Qiu
23a907319a fix: policy tag filters not effect for shared resources (#17004)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-05-11 11:00:07 +08:00
gouqi11
04581f34e8 fix(region): add cronjob to cleaning snapshot (#17002)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-05-11 10:58:46 +08:00
马鸿飞
518bc0ac3a fix(notify): fix notify webconsole 2023-05-10 20:29:28 +08:00
Zexi Li
3256ea4d40 Merge pull request #16991 from wanyaoqi/hotfix/sku-maxmem
fix(region): set sku maxmem size 1024G
2023-05-10 18:05:01 +08:00
Zexi Li
6c4a40e0f3 Merge pull request #16995 from zexi/automated-cherry-pick-of-#16994-upstream-master
Automated cherry pick of #16994: fix(monitor): adjust query timeout to 5 mins
2023-05-10 18:01:42 +08:00
Zexi Li
28b0eda6e2 fix(monitor): adjust query timeout to 5 mins 2023-05-10 13:01:29 +08:00
wanyaoqi
bed7b7483c fix(region): set sku maxmem size 1024G
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-10 10:33:45 +08:00
Zexi Li
89956b8c2e Merge pull request #16973 from ioito/hotfix/qx-vpc-list
fix(region): optimized vpc-list
2023-05-10 09:58:27 +08:00
Zexi Li
c3d04d095f Merge pull request #16208 from ioito/hotfix/qx-webconsole-websocket
fix(webconsole): websocket ssh
2023-05-09 15:38:09 +08:00
ioito
49907b2909 fix(webconsole): websocket ssh 2023-05-09 15:26:36 +08:00
wanyaoqi
444db7e42e fix(host): hide kvm only gpu guests (#16974)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-09 14:45:09 +08:00
Zexi Li
df9e407216 Merge pull request #16979 from ioito/hotfix/qx-elastic-cache-purge
fix(region): elastic cache purge
2023-05-09 09:20:01 +08:00
Zexi Li
bc542086dd Merge pull request #16983 from swordqiu/hotfix/qj-usage-nil-check-revisit
fix: usage handler nil check revisit
2023-05-09 09:19:19 +08:00
Qiu Jian
0533131185 fix: usage handler nil check revisit 2023-05-08 20:39:52 +08:00
ioito
b4940bbc94 fix(region): elastic cache purge 2023-05-08 16:03:07 +08:00
ioito
a4ac449187 fix(region): optimized vpc-list 2023-05-08 15:09:52 +08:00
Zexi Li
7a2d4a3ceb Merge pull request #16969 from swordqiu/hotfix/qj-three-member-policy-adjustment-20230507
fix: three member policy adjustment 20230507
2023-05-08 10:28:53 +08:00
Zexi Li
ca8760451d Merge pull request #16962 from ioito/hotfix/qx-image-filter-by-os-archs
fix(glance): support filter image by os archs
2023-05-08 10:28:09 +08:00
Zexi Li
a3276ea328 Merge pull request #16957 from wanyaoqi/fix/migrate-params-check
fix(host): don't return error on disk snap chain params miss
2023-05-08 10:26:18 +08:00
Zexi Li
26e3956751 Merge pull request #16966 from swordqiu/hotfix/qj-domain-tag-filter-fail
fix: domain tag filter not working
2023-05-08 10:25:11 +08:00
Qiu Jian
bd04bbc870 fix: three member policy adjustment 20230507 2023-05-08 03:15:11 +08:00
Qiu Jian
4687c60875 fix: domain tag filter not working 2023-05-07 12:49:00 +08:00
ioito
f999db28ca fix(glance): support filter image by os archs 2023-05-06 15:22:43 +08:00
wanyaoqi
1ab4425813 fix(host): don't return error on disk snap chain miss 2023-05-06 14:13:57 +08:00
Zexi Li
3cfe3eb8ee Merge pull request #16953 from ioito/hotfix/qx-cloudmon-api
fix(region): skip empty resource metric pull
2023-05-06 12:15:12 +08:00
ioito
c59797e70e fix(region): skip empty resource metric pull 2023-05-06 10:55:26 +08:00
Zexi Li
225339a362 Merge pull request #16952 from wanyaoqi/automated-cherry-pick-of-#16951-upstream-master
Automated cherry pick of #16951: Automated cherry pick of #16950: fix(region,host): migrate with out chain snapshots
2023-05-06 10:16:07 +08:00
wanyaoqi
a0a1cb6397 fix(region,host): migrate with out chain snapshots
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-06 01:41:31 +08:00
Zexi Li
35574a7edf Merge pull request #16948 from ioito/hotfix/qx-host-status
fix(region): host status
2023-05-05 21:24:44 +08:00
ioito
11ad808e41 fix(region): host status 2023-05-05 20:19:30 +08:00
Zexi Li
6548824210 Merge pull request #16944 from ioito/hotfix/qx-capabilities-policy
fix(region): allow query capabilities
2023-05-05 17:12:16 +08:00
Zexi Li
cb5766a5d9 Merge pull request #16940 from ioito/hotfix/qx-cloudpods-secgroup
fix(region): cloudpods secgroup rule
2023-05-05 17:11:47 +08:00
Zexi Li
8ae97deeea Merge pull request #16930 from ioito/hotfix/qx-optimized-cachedimage-guest-list
fix(region): optimized guest and cachedimage list speed
2023-05-05 17:10:32 +08:00
ioito
fc5934950b fix(region): allow query capabilities 2023-05-05 16:19:24 +08:00
Zexi Li
4282e689e3 Merge pull request #16936 from zexi/k8s-1229
feat(climc): create k8s cluster v1.22.9
2023-05-05 16:13:26 +08:00
wanyaoqi
265425fe17 fix(region): get cdrom details (#16908) 2023-05-05 15:07:31 +08:00
Zexi Li
c55254d252 fix(monitor): truncated JSONObject of alert model (#16933) 2023-05-05 14:42:53 +08:00
屈轩
446eeda5e8 fix(region): aws redis tags (#16937) 2023-05-05 14:42:11 +08:00
ioito
6ab82c8eb1 fix(region): cloudpods secgroup rule 2023-05-05 11:44:07 +08:00
Zexi Li
d45dff0089 feat(climc): create k8s cluster v1.22.9 2023-05-04 17:31:01 +08:00
ioito
4ad85ffd25 fix(region): optimized guest and cachedimage list speed 2023-05-04 14:21:28 +08:00
Jian Qiu
1419c6cee9 fix: vm desc missing cdrom config (#16925)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-05-01 23:02:02 +08:00
Zexi Li
a57aa1f3f9 Merge pull request #16923 from swordqiu/hotfix/qj-do-not-init-project-admin-user
fix: do not init keystone project admin user
2023-04-28 15:32:01 +08:00
Qiu Jian
5bcbc4d250 fix: do not init keystone admin user 2023-04-28 15:12:18 +08:00
Zexi Li
5d1c7e67c6 Merge pull request #16899 from gouqi11/fixWorkwxTokenRefresh
fix(notify): refresh workwx token
2023-04-28 14:40:08 +08:00
马鸿飞
8be733384a fix(notify): refresh workwx token 2023-04-28 14:22:47 +08:00
Zexi Li
4f505a2234 Merge pull request #16920 from ioito/optimized/qx-secgroup-sync
fix(region): secgroup sync
2023-04-28 13:56:52 +08:00
ioito
3cb7c7cdd8 fix(region): secgroup sync 2023-04-28 13:27:54 +08:00
Zexi Li
cdaf07f9c9 feat(README): update installation content (#16917) 2023-04-28 12:01:16 +08:00
Zexi Li
c54ec3a7e3 Merge pull request #16907 from swordqiu/hotfix/qj-auth-get-stats-ignore-403
fix: auth getStats should ignore no permission error
2023-04-28 10:28:22 +08:00
屈轩
2a4cac64be fix(region): optimized storage-list (#16909) 2023-04-27 23:06:40 +08:00
Zexi Li
55fa9ef1d0 Merge pull request #16845 from wanyaoqi/feat/lvm-disk
feat(region,host): storage backend lvm and nvme
2023-04-27 21:07:32 +08:00
Zexi Li
17f8593fc5 Merge pull request #16891 from ioito/hotfix/qx-vendor-update-20230427
fix(region): vendor update
2023-04-27 21:06:39 +08:00
Qiu Jian
78703c995e fix: auth getStats should ignore no permission error 2023-04-27 20:38:06 +08:00
Zexi Li
bedf38f441 Merge pull request #16905 from zexi/automated-cherry-pick-of-#16904-upstream-master
Automated cherry pick of #16904: fix(monitor,apihelper): list storages without details
2023-04-27 19:37:15 +08:00
Zexi Li
3461cf38e0 fix(monitor,apihelper): list storages without details 2023-04-27 19:32:13 +08:00
Zexi Li
5967ea4076 Merge pull request #16879 from gouqi11/featReceiverMobileExt
fix(notify): add mobile accept ext
2023-04-27 16:16:31 +08:00
马鸿飞
7a05adea2b fix(notify): add mobile accept ext 2023-04-27 15:09:46 +08:00
gouqi11
75814646cf fix(cloudcommon): add crud note (#16870)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-04-27 14:34:49 +08:00
屈轩
2eb92ddde1 fix(region): add table index (#16894) 2023-04-27 14:33:44 +08:00
ioito
6bd4f1d95a fix(region): vendor update 2023-04-27 10:06:24 +08:00
Zexi Li
6672dd1d8f Merge pull request #16873 from wanyaoqi/fix/cgrouputils-check-group-enabled
fix(host): compatible ouler
2023-04-27 09:37:34 +08:00
Zexi Li
175a584847 Merge pull request #16890 from zexi/automated-cherry-pick-of-#16888-upstream-master
Automated cherry pick of #16888: fix(scheduler): skip load esxi network free-port cache
2023-04-27 09:35:55 +08:00
Zexi Li
b667a4ccc3 fix(scheduler): skip load esxi network free-port cache 2023-04-27 09:27:26 +08:00
Jian Qiu
3ad90db0f4 fix: project set admin user (#16875)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-04-26 08:20:52 +08:00
wanyaoqi
dd5f4cee0f fix(host): compatible with python3
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-04-25 22:32:14 +08:00
Zexi Li
d768161d74 Merge pull request #16866 from yunionio/zexi-patch-2
Update bug_report.md
2023-04-25 10:17:57 +08:00
Zexi Li
f3bc86e30a Update bug_report.md 2023-04-25 10:17:28 +08:00
Zexi Li
77f9821e74 Merge pull request #16861 from zexi/automated-cherry-pick-of-#16860-upstream-master
Automated cherry pick of #16860: fix(monitor): panic of StatisticHandler
2023-04-25 10:03:00 +08:00
Zexi Li
3b6e16aa31 Merge pull request #16859 from zexi/automated-cherry-pick-of-#16857-upstream-master
Automated cherry pick of #16857: fix(region): handle probe-isolated-device error
2023-04-25 10:02:50 +08:00
Zexi Li
ab97e00d12 fix(monitor): panic of StatisticHandler 2023-04-24 20:01:22 +08:00
Zexi Li
8a6744f419 fix(region): handle probe-isolated-device error 2023-04-24 19:53:03 +08:00
wanyaoqi
cd41911925 feat(region,host): lvm storage backend
support use lvm volume group as storage backend.

host config example:
lvm_volume_groups:
- storage1
2023-04-24 17:55:44 +08:00
wanyaoqi
d394d9bb55 feat(region,host): nvme device passthrough 2023-04-24 17:55:39 +08:00
Zexi Li
06a6867029 Merge pull request #16852 from gouqi11/fixNotifyContactByMobileBug
fix(notify): fix email verify empty error
2023-04-24 17:15:00 +08:00
马鸿飞
d799aa1fd1 fix(notify): fix email verify empty error 2023-04-24 16:51:35 +08:00
Zexi Li
5990e77ea9 Merge pull request #16848 from wanyaoqi/fix/disk-purge
fix(region):  check disk purge  get host error is sql.ErrNoRows
2023-04-24 15:21:04 +08:00
wanyaoqi
b0aea6a1e2 fix(region): check disk purge get host error is sql.ErrNoRows
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-04-24 10:48:06 +08:00
Zexi Li
e75105470b Merge pull request #16842 from ioito/hotfix/qx-h3c-rds-monitor
fix(cloudmon): h3c rds monitor
2023-04-21 18:29:11 +08:00
ioito
1a6a5c861a fix(cloudmon): h3c rds monitor 2023-04-21 17:37:58 +08:00
Zexi Li
76a6f8331b Merge pull request #16835 from wanyaoqi/fix/arm-node-numa-arch
fix(host): arm node failed get numa architecture use ghw lib
2023-04-21 10:04:11 +08:00
wanyaoqi
629a59d683 fix(host): arm node failed get numa architecture use ghw lib
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-04-20 23:30:45 +08:00
Zexi Li
2f62c9e27d Merge pull request #16833 from gouqi11/fixNotifyContactByMobileBug
fix(notify): add subcontact fail details
2023-04-20 20:47:01 +08:00
马鸿飞
ef5e95b11c fix(notify): add subcontact fail details 2023-04-20 20:31:33 +08:00
Zexi Li
e2c91e6f5e Merge pull request #16825 from ioito/hotfix/qx-account-disconnect-reason
fix(region): log with account disconnect reason
2023-04-20 13:24:17 +08:00
Zexi Li
00c4d251a4 Merge pull request #16820 from wanyaoqi/fix/machine-type
fix(host): fix machine type before generate cpu desc
2023-04-20 13:23:21 +08:00
Zexi Li
592bb1a4c4 Merge pull request #16828 from ioito/hotfix/qx-vendor-update-20230420
fix(region): vendor update for aws region
2023-04-20 13:22:48 +08:00
ioito
c5da693971 fix(region): vendor update for aws region 2023-04-20 11:27:33 +08:00
ioito
d64fc69b22 fix(region): log with account disconnect reason 2023-04-20 10:34:32 +08:00
wanyaoqi
236da99fa7 fix(host): fix machine type before generate cpu desc
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-04-20 09:25:58 +08:00
wanyaoqi
7324d99748 fix(host): check subgroup enabled on cgroup init
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-04-19 17:56:00 +08:00
Zexi Li
6ac5b935f4 Merge pull request #16818 from ioito/hotfix/qx-proxmox-misc
fix(region): proxmox host ip
2023-04-19 11:37:03 +08:00
ioito
1d0f230ef0 fix(region): proxmox host ip 2023-04-19 11:25:18 +08:00
Zexi Li
6602ad8cdf Merge pull request #16816 from zexi/automated-cherry-pick-of-#16814-upstream-master
Automated cherry pick of #16814: fix(monitor): disable query signature defaultly
2023-04-19 10:09:16 +08:00
Zexi Li
6dfe3f92a2 fix(monitor): disable query signature defaultly 2023-04-19 10:07:10 +08:00
Zexi Li
a66ab93ddb Merge pull request #16791 from ioito/hotfix/qx-cloudmon-azure-metric
fix(cloudmon): support skip pull azure memory and disk usage metric
2023-04-18 15:27:57 +08:00
Zexi Li
5e451b6035 Merge pull request #16809 from gouqi11/notifyBugFix
fix(notify): fix receiver create bug
2023-04-18 15:27:25 +08:00
马鸿飞
00b9410bfd fix(notify): fix receiver create bug 2023-04-18 15:00:02 +08:00
ioito
d0b64aa930 fix(cloudmon): support skip pull azure memory and disk usage metric 2023-04-18 13:38:35 +08:00
Zexi Li
ac1680c404 Merge pull request #16743 from zexi/automated-cherry-pick-of-#16742-upstream-master
Automated cherry pick of #16742: fix(vendor): update vendor for v3.10
2023-04-17 23:37:33 +08:00
Zexi Li
79482ff9f9 fix(vendor): update vendor for v3.10 2023-04-17 23:35:48 +08:00
Zexi Li
e5f7f7a7b2 Merge pull request #16463 from ioito/hotfix/qx-avoid-panic-vmware
fix: avoid panic when sync vmware host
2023-04-17 23:18:05 +08:00
Zexi Li
2466bf277e Merge pull request #16476 from swordqiu/hotfix/qj-issue-template-imporvement-20230414
fix: issue模板改进 20230414
2023-04-14 22:47:57 +08:00
Qiu Jian
b1b826b4d7 fix: issue模板改进 20230414 2023-04-14 22:07:40 +08:00
Zexi Li
a06b6fb79e Merge pull request #16471 from wanyaoqi/fix/live-migrate-cpu-mem-update
fix(host): update cpudesc on cpu hotpluged
2023-04-14 19:34:11 +08:00
wanyaoqi
2cfd0d21b9 fix(host): update cpudesc on cpu hotpluged
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-04-14 17:38:45 +08:00
Jian Qiu
0b02641208 fix: update vendor 20230413 (#16467)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-04-14 02:41:00 +08:00
ioito
ece9195dfb fix: avoid panic when sync vmware host 2023-04-13 19:29:32 +08:00
Zexi Li
6ab63dbbb6 Merge pull request #16461 from gouqi11/fixModelarts0413
fix(region): fixModelarts
2023-04-13 17:41:47 +08:00
mhf
ee72b8862f fix(region): fixModelarts 2023-04-13 16:23:51 +08:00
Zexi Li
a5ba66a042 Merge pull request #16460 from zexi/automated-cherry-pick-of-#16458-upstream-master
Automated cherry pick of #16458: fix(monitor): wrong tag filter when get metric measurement
2023-04-13 11:56:55 +08:00
Zexi Li
fca6a97886 fix(monitor): wrong tag filter when get metric measurement 2023-04-13 11:40:44 +08:00
Zexi Li
13ad64a3b4 Merge pull request #16435 from zexi/automated-cherry-pick-of-#16434-upstream-master
Automated cherry pick of #16434: feat(region): set kvm storage instance capability
2023-04-13 10:08:54 +08:00
Zexi Li
64bef1b52e Merge pull request #16447 from wanyaoqi/fix/migrate-bandwidth
fix(host): set default live migrate bandwidth unlimited
2023-04-13 10:07:55 +08:00
Zexi Li
be6d50d6cc Merge pull request #16440 from ioito/hotfix/qx-macos-debug
fix(glance): support esxi glance debug on macos
2023-04-13 10:07:33 +08:00
Zexi Li
b691b93450 Merge pull request #16444 from ioito/hotfix/qx-k8s-import
fix(region): support import private k8s
2023-04-12 20:47:26 +08:00
Zexi Li
c301618424 Merge pull request #16441 from ioito/hotfix/qx-sync-vpc-purge
fix(region): sync purge vpc
2023-04-12 20:46:12 +08:00
Zexi Li
a0d70a3f0d Merge pull request #16451 from gouqi11/addExcelutilsAddCellStyleByColmun
fix(excelutils): 添加千位分隔常量
2023-04-12 19:13:08 +08:00
mhf
3d7e811d58 fix(excelutils): 添加千位分隔常量 2023-04-12 19:03:35 +08:00
ioito
385a2bd260 fix(glance): support esxi glance debug on macos 2023-04-12 17:49:35 +08:00
wanyaoqi
18986de551 fix(host): set default live migrate bandwidth unlimited
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-04-12 17:16:40 +08:00
ioito
4cc06ce1f3 fix(region): support import private k8s 2023-04-12 16:32:53 +08:00
ioito
e372b22f89 fix(region): sync purge vpc 2023-04-12 15:26:23 +08:00
Jian Qiu
f8c1c9944d fix: clickhouse parttion expression of divide inconstent 3.9 (#16439)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-04-12 12:04:24 +08:00
Zexi Li
55228bce05 feat(region): set kvm storage instance capability 2023-04-12 10:19:08 +08:00
Zexi Li
73e1b95bef Merge pull request #16429 from ioito/hotfix/qx-request-error-time
fix: only request error show time
2023-04-11 22:17:19 +08:00
ioito
0ae061a589 fix: only request error show time 2023-04-11 22:02:13 +08:00
Zexi Li
dec52b6445 Merge pull request #16424 from ioito/hotfix/qx-request-time-rfc3339
fix(common): show request time with rfc3339
2023-04-11 21:14:58 +08:00
Zexi Li
089e94a9b3 Merge pull request #16401 from gouqi11/addResourceOrder
feature(region): add resource order
2023-04-11 21:05:12 +08:00
Zexi Li
b060c3e5d7 Merge pull request #16423 from gouqi11/addExcelutilsAddCellStyleByColmun
fix(excelutils): 添加按列修改单元格格式方法
2023-04-11 21:03:56 +08:00
ioito
612d4b17b4 fix(common): show request time with rfc3339 2023-04-11 20:54:43 +08:00
mhf
46d0f71791 fix(excelutils): 添加按列修改单元格格式方法 2023-04-11 20:32:52 +08:00
Zexi Li
98b02fd770 Merge pull request #16421 from ioito/hotfix/qx-vendor-update-ghw
fix: vendor update
2023-04-11 19:57:20 +08:00
ioito
15b234e814 fix: vendor update 2023-04-11 19:45:14 +08:00
Zexi Li
6457f5b404 Merge pull request #16417 from ioito/hotfix/qx-log-with-time-zone
fix(common): log time zone and format
2023-04-11 18:28:08 +08:00
ioito
6f0128bed3 fix(common): log time zone and format 2023-04-11 17:23:21 +08:00
Zexi Li
8f8a39dc13 Merge pull request #16414 from ioito/hotfix/qx-log-with-time-zone
fix(common): log time with time zone
2023-04-11 15:01:59 +08:00
Zexi Li
998e54a4cb Merge pull request #16408 from ioito/hotfix/qx-exception-remote-addr
fix(common): show exception with remote addr and duration
2023-04-11 14:59:47 +08:00
Zexi Li
71b3ecab36 Merge pull request #16411 from ioito/hotfix/qx-scope-resource-panic
fix(keystone): avoid panic when sync scope reosurce
2023-04-11 14:57:21 +08:00
Zexi Li
8840d580cd Merge pull request #16403 from ioito/hotfix/qx-cloudprovider-optimized
fix(region): optimized cloudprovider list
2023-04-11 14:55:18 +08:00
ioito
b086e261c6 fix(common): log time with time zone 2023-04-11 14:35:23 +08:00
ioito
014c19b24f fix(common): show exception with remote addr and duration 2023-04-11 13:44:06 +08:00
ioito
95f6732e34 fix(keystone): avoid panic when sync scope reosurce 2023-04-11 10:49:27 +08:00
Jian Qiu
7b0d996a0c fix: lbagent ovn options shoule not in common (#16406)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-04-11 09:34:23 +08:00
ioito
e0b27bf037 fix(region): optimized cloudprovider list 2023-04-10 19:12:45 +08:00
mhf
69afca389a feature(region): add resource order 2023-04-10 17:57:53 +08:00
Zexi Li
7a433c22ce Merge pull request #16395 from ioito/hotfix/qx-remove-useless-sku
fix(region): remove useless server sku
2023-04-10 17:17:17 +08:00
Zexi Li
071471a7db Merge pull request #16399 from zexi/automated-cherry-pick-of-#16398-upstream-master
Automated cherry pick of #16398: fix(devtool): panic occurred cause of nil ctx
2023-04-10 17:16:52 +08:00
Zexi Li
e736564500 fix(devtool): panic occurred cause of nil ctx 2023-04-10 17:13:25 +08:00
Zexi Li
ae2f58c9f6 Merge pull request #16389 from wanyaoqi/fix/hugepage-size
fix(host): recover page size on hugepage disabled
2023-04-10 10:53:03 +08:00
ioito
7e8ba1f75d fix(region): remove useless server sku 2023-04-10 10:50:56 +08:00
wanyaoqi
7ec7b22fcc fix(host): recover page size on hugepage disabled 2023-04-08 13:01:59 +08:00
Zexi Li
8ea8eb2646 Merge pull request #16387 from ioito/hotfix/qx-vender-update-20230407
fix: vendor update
2023-04-07 19:26:57 +08:00
ioito
075420604b fix: vendor update 2023-04-07 18:56:18 +08:00
Zexi Li
01aa753847 Merge pull request #16384 from ioito/hotfix/qx-vender-update-openstack-nic
fix(region): vendor update for openstack nic
2023-04-07 18:44:58 +08:00
Zexi Li
bf96485591 Merge pull request #16381 from ioito/hotfix/qx-webconsole-stats
fix(webconsole): avoid panic when send stats request
2023-04-07 18:20:03 +08:00
Zexi Li
dd979750c9 Merge pull request #16379 from zexi/automated-cherry-pick-of-#16377-upstream-master
Automated cherry pick of #16377: fix(region): not set default data when batch creating disks
2023-04-07 18:19:43 +08:00
ioito
d8531624e5 fix(region): vendor update for openstack nic 2023-04-07 17:57:48 +08:00
ioito
5b24b68b12 fix(webconsole): avoid panic when send stats request 2023-04-07 17:13:57 +08:00
Zexi Li
ad5b9522db fix(region): not set default data when batch creating disks 2023-04-07 11:03:52 +08:00
Zexi Li
f0ecd3aeba Merge pull request #16374 from ioito/hotfix/qx-openstack-keypair
fix(region): openstack keypair
2023-04-07 10:59:00 +08:00
ioito
44cfd393de fix(region): openstack keypair 2023-04-07 10:21:39 +08:00
Zexi Li
000c34c260 Merge pull request #16371 from ioito/hotfix/qx-vender-update-for-azure-user
fix(region): azure china user create
2023-04-07 01:01:11 +08:00
Zexi Li
52a8816df7 Merge pull request #16359 from zexi/automated-cherry-pick-of-#16358-upstream-master
Automated cherry pick of #16358: fix(baremetal): panic occured when using SSD as raid PD
2023-04-07 01:00:48 +08:00
ioito
835b7e9d1e fix(region): azure china user create 2023-04-06 22:01:31 +08:00
屈轩
6ef007c32d fix(region): vender update (#16367) 2023-04-06 20:39:27 +08:00
Zexi Li
acb4ee9942 Merge pull request #16360 from ioito/hotfix/qx-bingo-metric
fix(cloudmon): bingo metric
2023-04-06 18:01:57 +08:00
ioito
3b02245b24 fix(cloudmon): bingo metric 2023-04-06 17:48:16 +08:00
Zexi Li
d1fa64f29b fix(baremetal): panic occured when using SSD as raid PD 2023-04-06 17:47:57 +08:00
Zexi Li
e602957e38 Merge pull request #16353 from ioito/hotfix/qx-esxi-disk-usage
fix(cloudmon): esxi disk usage
2023-04-06 16:24:39 +08:00
ioito
35594885ac fix(cloudmon): esxi disk usage 2023-04-06 15:29:31 +08:00
Zexi Li
b2caf7d28d Merge pull request #16311 from ioito/hotfix/qx-sync-by-xor
fix(region): support fast sync cloud resources
2023-04-06 15:21:47 +08:00
Zexi Li
f0311beaac Merge pull request #16348 from swordqiu/hotfix/qj-auto-fix-cloud-account-missing-default-tenant
fix: allow set project-id auto-crate-project of cloudaccount
2023-04-06 11:17:45 +08:00
Zexi Li
b2ecf4f62a Merge pull request #16351 from swordqiu/hotfix/qj-async-brvpc-mtu
fix: allow async setup brvpc mtu
2023-04-06 11:16:56 +08:00
Qiu Jian
ca6cb1959a fix: allow async setup brvpc mtu 2023-04-06 00:02:54 +08:00
Qiu Jian
40adf3009c fix: allow set project-id auto-crate-project of cloudaccount 2023-04-05 16:30:28 +08:00
Zexi Li
3de35347de Merge pull request #16340 from swordqiu/hotfix/qj-distinct-field-subquery
fix: distinct field with subquery
2023-04-05 11:18:36 +08:00
Zexi Li
b81595cbfd Merge pull request #16343 from swordqiu/hotfix/qj-notify-emailqueue-cc
fix: send email queue to cc
2023-04-05 11:17:52 +08:00
Zexi Li
4aa384e7fd Merge pull request #16346 from swordqiu/hotfix/qj-auth-context-with-service-name
fix: auth context with service name
2023-04-05 11:16:47 +08:00
Zexi Li
4794b8131e Merge pull request #16341 from gouqi11/fixModelartsNode
fix(region): fix modelarts createFailed
2023-04-05 11:16:17 +08:00
Qiu Jian
8d33582543 fix: auth context with service name 2023-04-04 20:33:12 +08:00
Qiu Jian
397a1dda9c fix: send email queue to cc 2023-04-04 18:46:11 +08:00
mhf
dcbdfe7b09 fix(region): fix modelarts createFailed 2023-04-04 17:31:14 +08:00
Qiu Jian
298e6ac47e fix: distinct field with subquery 2023-04-04 16:47:19 +08:00
屈轩
605aaa5945 fix(region): sync esxi disk access path (#16335) 2023-04-04 09:51:17 +08:00
ioito
3e51102cc2 fix(region): support fast sync cloud resources 2023-04-03 20:35:42 +08:00
Zexi Li
b8940d181a Merge pull request #16332 from zexi/automated-cherry-pick-of-#16331-upstream-master
Automated cherry pick of #16331: fix(monitor): eip fields are missed in details
2023-04-03 14:45:51 +08:00
Zexi Li
a943b0dce8 fix(monitor): eip fields are missed in details 2023-04-03 14:17:19 +08:00
Zexi Li
66d0aa9663 Merge pull request #16327 from swordqiu/hotfix/qj-host-remove-netif-also-clean-baremetal-server-nic
fix: host remove netif also remove baremnetal server netif
2023-04-03 13:33:30 +08:00
Qiu Jian
c7c2a56d79 fix: host remove netif also remove baremnetal server netif 2023-04-03 11:22:00 +08:00
Jian Qiu
89d7b4ca7f fix: minor fixes 20230403 (#16324)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-04-03 09:28:05 +08:00
Zexi Li
94290f1cbc Merge pull request #16322 from gouqi11/fixSlbMonitorKey
fix(cloudmon): add slb key
2023-04-01 11:01:06 +08:00
mhf
a996dc4751 fix(cloudmon): add slb key 2023-04-01 02:31:14 +08:00
Zexi Li
c647baa7e6 Merge pull request #16306 from wanyaoqi/fix/set-queues-and-vectors-on-migrate
fix(host): set desc nics queues and vectors on live migrate
2023-03-31 01:42:18 +08:00
Zexi Li
eb866aa350 Merge pull request #16316 from zexi/automated-cherry-pick-of-#16315-upstream-master
Automated cherry pick of #16315: fix(keystone): add kubeserver running_mode option to blacklist
2023-03-31 01:42:01 +08:00
Zexi Li
3b308a0f02 Merge pull request #16301 from wanyaoqi/fix/guest-pending-delete
fix(region): delete gpu device only on guest pending delete
2023-03-31 01:41:20 +08:00
Zexi Li
bc13a104b5 fix(keystone): add kubeserver running_mode option to blacklist 2023-03-31 01:40:21 +08:00
Zexi Li
94c75c7b2d Merge pull request #16312 from gouqi11/addApiErrReason
fix(base): add modulebase unmarshal err
2023-03-29 23:02:17 +08:00
mhf
4ec82c8b47 fix(base): add modulebase unmarshal err 2023-03-29 22:47:07 +08:00
Zexi Li
669909a3c0 Merge pull request #16303 from swordqiu/hotfix/qj-simplify-i18n-table
fix: simplify i18n table
2023-03-29 19:20:08 +08:00
Zexi Li
889b6815b9 Merge pull request #16309 from gouqi11/addSlbMetrics
fix(cloudmon): add Slb metrics
2023-03-29 19:19:25 +08:00
mhf
8617675df4 fix(cloudmon): add Slb metrics 2023-03-29 17:22:45 +08:00
wanyaoqi
f97b6c0363 fix(host): set desc nics queues and vectors on live migrate 2023-03-29 12:26:26 +08:00
Qiu Jian
85936d86c8 fix: simplify i18n table 2023-03-29 00:33:50 +08:00
wanyaoqi
5b51e58b3f fix(region): delete gpu device only on guest pending delete
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-28 23:15:21 +08:00
Zexi Li
2972c9e5bb Merge pull request #16299 from ioito/hotfix/qx-h3c-monitor
fix(cloudmon): h3c monitor
2023-03-28 17:41:26 +08:00
ioito
4e1274ee10 fix(cloudmon): h3c monitor 2023-03-28 17:22:58 +08:00
Zexi Li
a9a41dcf72 Merge pull request #16297 from zexi/automated-cherry-pick-of-#16296-upstream-master
Automated cherry pick of #16296: fix(cloudmon): import format
2023-03-28 10:00:34 +08:00
Zexi Li
fccd62a017 fix(cloudmon): import format 2023-03-28 10:00:00 +08:00
Zexi Li
739fcc702f Merge pull request #16294 from ioito/hotfix/qx-h3c-metric
fix(cloudmon): support h3c metric pull
2023-03-28 09:55:07 +08:00
ioito
c0c4c32eb8 fix(cloudmon): support h3c metric pull 2023-03-27 22:28:45 +08:00
Zexi Li
367aca37fa Merge pull request #16292 from zexi/automated-cherry-pick-of-#16290-upstream-master
Automated cherry pick of #16290: fix(monitor): update rds tags
2023-03-27 12:21:31 +08:00
Zexi Li
3b410fbae7 fix(monitor): update rds tags 2023-03-27 12:20:28 +08:00
Jian Qiu
3e378c046e fix: minor fixes (#16287)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-27 00:54:57 +08:00
Zexi Li
106cc396b6 Merge pull request #16285 from ioito/hotfix/qx-h3c-net
fix(region): h3c regional network
2023-03-26 23:37:49 +08:00
ioito
fab78bd838 fix(region): h3c regional network 2023-03-26 19:29:10 +08:00
gouqi11
ee18e530ba fix(region): add guest description (#16279) 2023-03-23 21:35:26 +08:00
Zexi Li
3ea8667707 Merge pull request #16277 from ioito/hotfix/qx-apsara-eip-metric
fix(cloudmon): add apsara eip metric
2023-03-23 15:04:27 +08:00
ioito
4cec034fc1 fix(cloudmon): add apsara eip metric 2023-03-23 14:22:33 +08:00
Zexi Li
c86e0b5e37 Merge pull request #16273 from ioito/hotfix/qx-hcs-url
fix(region): hcs url
2023-03-22 20:40:58 +08:00
Zexi Li
716ca349ac Merge pull request #16275 from gouqi11/fixNotifyEmailDoubleSend
fix(notify): fix notify email double send
2023-03-22 20:38:45 +08:00
mhf
af7259682a fix(notify): fix notify email double send 2023-03-22 20:30:45 +08:00
ioito
68e83cd3ef fix(region): hcs url 2023-03-22 17:51:35 +08:00
Zexi Li
42ec556bca Merge pull request #16271 from zexi/automated-cherry-pick-of-#16269-upstream-master
Automated cherry pick of #16269: feat(monitor): add extral server tags
2023-03-22 14:01:10 +08:00
Zexi Li
d4ae426895 feat(monitor): add extral server tags 2023-03-22 12:28:03 +08:00
Jian Qiu
93471dc246 update contact qrcode (#16266)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2023-03-21 17:12:10 +08:00
Zexi Li
7ce709f1c2 Merge pull request #16253 from wanyaoqi/fix/progress
fix(region,host): block jobs progress refactor
2023-03-21 01:59:40 +08:00
gouqi11
953331ddd2 fix(region): addModelartsDeleteLoaclTask (#16261) 2023-03-20 23:47:51 +08:00
Zexi Li
72a2ebbe2b Merge pull request #16249 from swordqiu/hotfix/qj-merge-wire-not-sync-update-netinterface
fix(region): not sync update netinterface wire_id when merge wires
2023-03-20 10:13:41 +08:00
Zexi Li
b29fb7a405 Merge pull request #16257 from wanyaoqi/automated-cherry-pick-of-#16255-upstream-master
Automated cherry pick of #16255: fix(region): get catalog data by region id
2023-03-20 10:12:14 +08:00
Zexi Li
3cbf021e8c Merge pull request #16258 from wanyaoqi/fix/cloudpack-vpcagent
fix(vpcagent): import ovn package in vpcagent service.go
2023-03-20 10:09:51 +08:00
wanyaoqi
0f821c5242 fix(vpcagent): import ovn package in vpcagent service.go
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-20 09:53:27 +08:00
wanyaoqi
fd149641e6 fix(region): get catalog data by region id
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-19 21:54:15 +08:00
wanyaoqi
0e9d206867 fix(region,host): block jobs progress refactor
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-19 21:21:30 +08:00
Qiu Jian
83effb3da8 fix(region): not sync update netinterface wire_id when merge wires 2023-03-17 22:17:53 +08:00
Jian Qiu
6d3c7e76f5 fix: avoid dup sync table revisit (#16246)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-16 22:22:01 +08:00
wanyaoqi
75b498f4e4 fix(host): kvm detect and iommu probe (#16245)
- use lsmod check kvm modules on /dev/kvm exist
- don't check grub params "intel_iommu=on" on kvm_intel not loaded

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-16 22:21:10 +08:00
Zexi Li
dd5b3083fd Merge pull request #16240 from zexi/automated-cherry-pick-of-#16238-upstream-master
Automated cherry pick of #16238: fix(monitor): set wrong resType when query
2023-03-16 16:03:58 +08:00
Zexi Li
274b97ef2b fix(monitor): set wrong resType when query 2023-03-15 20:27:17 +08:00
Zexi Li
70bd886de8 Merge pull request #16237 from zexi/update-readme-v39
fix(readme): update ocboot checkout branch to 3.9
2023-03-15 18:46:33 +08:00
Zexi Li
9d73ae02a8 fix(readme): update ocboot checkout branch to 3.9 2023-03-15 18:45:12 +08:00
Zexi Li
2b48004bdb Merge pull request #16235 from gouqi11/notifyEmailSendAttachmentError
fix(notify): fixEmailQueueBug
2023-03-15 16:38:25 +08:00
mhf
c07817b6da fix(notify): fixEmailQueueBug 2023-03-15 15:46:54 +08:00
Zexi Li
31252c0eec Merge pull request #16220 from bingocmp/feature/resource-id-reuse
feat:support for setting custom resource-id
2023-03-15 10:25:31 +08:00
Zexi Li
7549d3e8a5 Merge pull request #16227 from swordqiu/automated-cherry-pick-of-#16225-upstream-master
Automated cherry pick of #16225: fix: fail to create vm with guest_image
2023-03-15 10:12:52 +08:00
Zexi Li
d6c76c1d4f Merge pull request #16231 from wanyaoqi/fix/disk-downloader
fix(host): download sparse file truncate first
2023-03-15 10:11:49 +08:00
屈轩
bd61eca224 fix(region): vender update (#16228) 2023-03-14 21:55:04 +08:00
wanyaoqi
8b6dc0027c fix(host): download sparse file truncate first
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-14 20:50:25 +08:00
wanyaoqi
5a333976d3 fix(host-health): simplify host health main.go (#16222)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-14 20:18:55 +08:00
Qiu Jian
643c54d2ca fix: fail to create vm with guest_image 2023-03-14 20:17:22 +08:00
Zexi Li
41c13e4da4 Merge pull request #16189 from wanyaoqi/fix/host-health
fix(region,host): host health misc fix
2023-03-14 12:33:40 +08:00
李锐
0e83df8e39 feat:support for setting custom resource-id 2023-03-14 10:43:18 +08:00
Zexi Li
b187f58a90 Merge pull request #16216 from gouqi11/fixNotifyMobile
fix(notify): aliyunSmsdriver
2023-03-13 17:51:08 +08:00
mhf
696db9307a fix(notify): aliyunSmsdriver 2023-03-13 15:31:46 +08:00
Zexi Li
21631f73df Merge pull request #16209 from ioito/hotfix/qx-vender-update-20230313
fix(region): aws dns zone name
2023-03-13 14:55:01 +08:00
Zexi Li
9e1f9477a2 Merge pull request #16212 from swordqiu/hotfix/qj-minor-fixes-20230313
fix: minor fixes 20230313
2023-03-13 14:52:32 +08:00
Qiu Jian
04427ceb7a fix: minor fixes 20230313 2023-03-13 12:45:43 +08:00
ioito
1568309e37 fix(region): aws dns zone name 2023-03-13 11:25:14 +08:00
Jian Qiu
59a2a01b95 fix: add vm integrity check notify (#16205)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-13 09:59:31 +08:00
wanyaoqi
a6705c4452 fix(region,host): host health misc fix
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-13 09:41:27 +08:00
Jian Qiu
daf2441bf5 fix: prevent duplicate table sync (#16202)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-13 09:07:48 +08:00
Zexi Li
16be9c8aff Merge pull request #16200 from wanyaoqi/fix/set-storage-medium-type-on-create
fix(host): set medium type on storage create
2023-03-12 23:21:38 +08:00
Zexi Li
7f43a49e29 Merge pull request #16190 from swordqiu/hotfix/qj-storecli-mising-lv-device-name
fix: storecli missing lv device name
2023-03-12 23:20:42 +08:00
Zexi Li
e2cb28cf6a Merge pull request #16193 from swordqiu/hotfix/qj-refine-default-dashboard-policy
fix: refine dashboard policy
2023-03-12 23:19:39 +08:00
Zexi Li
2a1c5e58ec Merge pull request #16198 from swordqiu/automated-cherry-pick-of-#16196-upstream-master
Automated cherry pick of #16196: feature: compose guest image with existing images
2023-03-12 23:19:22 +08:00
wanyaoqi
c14dd9a8dd fix(host): set medium type on storage create
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-12 22:43:07 +08:00
Qiu Jian
75ea3fdf44 feature: compose guest image with existing images 2023-03-12 15:32:17 +08:00
Qiu Jian
e75374ee48 fix: refine dashboard policy 2023-03-11 20:47:18 +08:00
Qiu Jian
064fa54a53 fix: storecli missing lv device name 2023-03-10 23:44:34 +08:00
Zexi Li
aaf19ec80b Merge pull request #16186 from ioito/hotfix/qx-h3c-provider
fix(region): add h3c
2023-03-10 13:39:55 +08:00
ioito
087cdeec5b fix(region): add h3c 2023-03-09 15:48:37 +08:00
Zexi Li
cab7732030 Merge pull request #16183 from gouqi11/fixHCSORdsMonitor
fix(cloudmon): hcso monitor make mod
2023-03-09 14:54:34 +08:00
Zexi Li
cd42b2b346 Merge pull request #16169 from gouqi11/addHcsoMonitor
fix(nofiy): mobileAndEmailBug
2023-03-09 14:54:06 +08:00
mhf
a726d459bd fix(cloudmon): hcso monitor make mod 2023-03-09 14:50:06 +08:00
Jian Qiu
1c32ce78a6 feature: allow network update wire_id (#16124)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-09 11:08:39 +08:00
Zexi Li
78e96c7dc6 Merge pull request #16158 from ioito/hotfix/qx-apsara-projects-sync
fix(region): apsara projects sync
2023-03-09 00:08:41 +08:00
mhf
69f89cdea0 fix(nofiy): mobileAndEmailBug 2023-03-08 15:48:37 +08:00
Zexi Li
45d81a53ea Merge pull request #16175 from ioito/hotfix/qx-attachment-name
fix(notify): attachment name
2023-03-08 13:12:57 +08:00
Zexi Li
8a8fc09cf1 Merge pull request #16179 from zexi/automated-cherry-pick-of-#16177-upstream-master
Automated cherry pick of #16177: fix(scheduler): storage failed reason isn't showed in forecast result
2023-03-08 13:06:26 +08:00
Zexi Li
3d778311aa fix(scheduler): storage failed reason isn't showed in forecast result 2023-03-08 13:03:36 +08:00
ioito
1a528f12b0 fix(notify): attachment name 2023-03-08 11:57:41 +08:00
Zexi Li
3bb95099dd Merge pull request #16129 from swordqiu/hotfix/qj-logclient-add-service-name-context
fix: logclient request add service name context
2023-03-08 11:15:55 +08:00
Zexi Li
5ae754d8d9 Merge pull request #16167 from ioito/hotfix/qx-lb-project-id
fix(region): lb project id
2023-03-08 11:15:31 +08:00
Zexi Li
9e0cfaa2a4 Merge pull request #16162 from zexi/automated-cherry-pick-of-#16161-upstream-master
Automated cherry pick of #16161: fix(baremetal): not update hypervisor host's status
2023-03-08 11:15:06 +08:00
QIU Jian
d03d9893a9 fix: logclient request add service name context 2023-03-08 10:07:58 +08:00
Jian Qiu
26a507ce9a fix: zero clean disk add logs (#16171)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-08 09:40:59 +08:00
wanyaoqi
a3081cccb8 fix(host): tls live migrate disable mulitfd (#16155)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-08 04:36:31 +08:00
ioito
80551f5f53 fix(region): lb project id 2023-03-07 17:52:54 +08:00
Zexi Li
8cf8c9107a fix(baremetal): not update hypervisor host's status 2023-03-07 16:30:34 +08:00
ioito
45eadb9b17 fix(region): apsara projects sync 2023-03-07 14:45:15 +08:00
Zexi Li
179d569eb5 Merge pull request #16154 from zexi/automated-cherry-pick-of-#16152-upstream-master
Automated cherry pick of #16152: fix(monitor): balancer pair ignored error
2023-03-07 14:05:15 +08:00
Zexi Li
f29f8fdb96 fix(monitor): balancer pair ignored error 2023-03-07 13:49:28 +08:00
Zexi Li
50822f2a2e Merge pull request #16144 from gouqi11/addHcsoMonitor
fix(cloudmon): add HCSO base monitor
2023-03-07 10:22:29 +08:00
Zexi Li
2d2ffee10c Merge pull request #16149 from wanyaoqi/feat/update-ovsdb-vendor
chore: update ovsdb go mod vendor
2023-03-07 10:21:58 +08:00
wanyaoqi
17a3070005 chore: update ovsdb go mod vendor
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-07 10:00:00 +08:00
wanyaoqi
53e3c18a06 chore: update host and lbagent base image (#16147)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-07 01:37:51 +08:00
mhf
5754ac6055 fix(cloudmon): add HCSO base monitor 2023-03-06 19:37:21 +08:00
Zexi Li
1dda3f91f3 Merge pull request #16132 from ioito/hotfix/qx-role-filter-project
fix(keystone): support user filter by role project
2023-03-06 16:40:53 +08:00
Zexi Li
844f0b3afe Merge pull request #16134 from gouqi11/fixNotificationTopicTypeRequired
fix(notify): alert notification
2023-03-06 16:40:17 +08:00
Zexi Li
1750608113 Merge pull request #16137 from zexi/automated-cherry-pick-of-#16136-upstream-master
Automated cherry pick of #16136: fix(mcclient): add FetchKeypairBySession method
2023-03-06 16:26:28 +08:00
Zexi Li
3d5ac90934 fix(mcclient): add FetchKeypairBySession method 2023-03-06 16:24:46 +08:00
ioito
a250925752 fix(keystone): support user filter by role project 2023-03-06 10:29:33 +08:00
mhf
682e962d28 fix(notify): alert notification 2023-03-06 10:27:52 +08:00
Jian Qiu
a5c9f2b278 fix: hostman StartService() (#16126)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-04 01:44:09 +08:00
Zexi Li
5278a2686d Merge pull request #16122 from wanyaoqi/fix/set-disk-default-cache-mode-none
fix(region): set disk default cache mode none
2023-03-03 17:16:33 +08:00
Zexi Li
6c0a4e33fe Merge pull request #16118 from ioito/hotfix/qx-history-metric-pull
fix(cloudmon): support collect history metric
2023-03-03 17:15:57 +08:00
wanyaoqi
ae54187d46 fix(region): set disk default cache mode none
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-03 15:35:41 +08:00
ioito
933b9d6be5 fix(cloudmon): support collect history metric 2023-03-03 14:53:38 +08:00
Zexi Li
fc289774c2 Merge pull request #16096 from ioito/hotfix/qx-vender-update-20230301
fix(region): openstack compute api version
2023-03-03 10:48:50 +08:00
Zexi Li
605065af0f Merge pull request #16093 from wanyaoqi/fix/check-is-local-mount-point
fix(host): check shared file storage mount point
2023-03-03 10:44:36 +08:00
Zexi Li
717aa4639b Merge pull request #16101 from wanyaoqi/fix/live-migrate-load-guest-pci-addresses
fix(host): dest guest load pci addresses on live migrate
2023-03-03 10:43:14 +08:00
Zexi Li
2fc7d8fdd8 Merge pull request #16103 from wanyaoqi/fix/load-existing-guests
fix(host): load existing guests desc
2023-03-03 10:42:47 +08:00
Zexi Li
4fd4e4afa3 Merge pull request #16108 from ioito/hotfix/qx-user-filter-by-role-assignment
fix(keystone): filter users by role assignment domain
2023-03-03 10:30:33 +08:00
Zexi Li
e4034f1cc5 Merge pull request #16112 from wanyaoqi/fix/load-deamon-server
fix(host): start daemon guest on guest not running
2023-03-03 10:29:52 +08:00
Zexi Li
fe3491c750 Merge pull request #16114 from gouqi11/notifyFix
fix(notify):fixInitSubscriberData
2023-03-03 10:29:21 +08:00
mhf
e7abe1b2dd fix(notify):fixInitSubscriberData 2023-03-02 20:04:55 +08:00
wanyaoqi
c01580be7c fix(host): start daemon guest on guest not running
Check guest status on Start daemon server.
StartGuest on guest status running will restart guest.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-02 17:30:25 +08:00
wanyaoqi
275adba4ea fix(host): load existing guests desc
init device desc after load pci infos

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-02 15:43:28 +08:00
ioito
0ac60af2b2 fix(keystone): filter users by role assignment domain 2023-03-02 14:31:23 +08:00
ioito
cb2731f493 fix(region): openstack compute api version 2023-03-02 10:59:43 +08:00
Jian Qiu
494a83965c fix: three member policy system violation check (#16104)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-02 08:58:00 +08:00
wanyaoqi
89f745ae0b fix(host): dest guest load pci addresses on live migrate
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-01 22:57:53 +08:00
wanyaoqi
b6d703e166 fix(host): check shared file storage mount point
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-01 17:36:37 +08:00
Zexi Li
7df80a5e60 Merge pull request #16092 from zexi/automated-cherry-pick-of-#16088-upstream-master
Automated cherry pick of #16088: fix(monitor): rewrite slimit and soffset logic
2023-03-01 17:36:23 +08:00
Zexi Li
5ebfcce724 fix(monitor): rewrite slimit and soffset logic 2023-03-01 17:25:35 +08:00
Zexi Li
53f7589e5c Merge pull request #16081 from gouqi11/notifyTempTranslate
fix(notify): addMissingActionTranslate
2023-03-01 16:31:51 +08:00
Zexi Li
bd9c609b74 Merge pull request #16062 from gouqi11/notifyFix
fix(notify): bugFix
2023-03-01 16:30:48 +08:00
Zexi Li
f6c53d28e2 Merge pull request #16087 from zexi/automated-cherry-pick-of-#16085-upstream-master
Automated cherry pick of #16085: fix(monitor): skip check series options
2023-03-01 16:02:53 +08:00
Zexi Li
adca8bdcf7 fix(monitor): skip check series options 2023-03-01 15:52:43 +08:00
mhf
684c71829f fix(notify): addMissingActionTranslate 2023-03-01 14:50:53 +08:00
Zexi Li
3682f7f221 Merge pull request #16077 from swordqiu/hotfix/qj-invalid-idp-status
fix: better prompt info for user failed auth due to invalid idp status
2023-03-01 10:11:49 +08:00
Zexi Li
16e04a3419 Merge pull request #16075 from swordqiu/hotfix/qj-allow-add-esxi-as-lb-backend
fix: allow add esxi as onecloud lb backend
2023-03-01 10:10:25 +08:00
Qiu Jian
6187f10c07 fix: better prompt info for user failed auth due to invalid idp status 2023-03-01 01:30:18 +08:00
Qiu Jian
85dd1458ec fix: allow add esxi as onecloud lb backend 2023-03-01 00:39:45 +08:00
Zexi Li
792bfe3464 fix(monitor): query resources according by listing region resources (#16074) 2023-03-01 00:03:29 +08:00
Zexi Li
3ade729420 Merge pull request #16066 from ioito/hotfix/qx-vmware-image-size
fix(region): vmware template image size
2023-02-28 23:44:56 +08:00
Zexi Li
d1b1b30f27 Merge pull request #16063 from wanyaoqi/fix/gpu-vgs
feat(region): vga gpus
2023-02-28 23:44:18 +08:00
Zexi Li
0496882164 Merge pull request #16069 from wanyaoqi/fix/guest-change-storage
fix(region): guest change storage
2023-02-28 23:43:18 +08:00
wanyaoqi
3f70806941 fix(region): guest change storage
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-28 21:42:46 +08:00
ioito
b3427b9549 fix(region): vmware template image size 2023-02-28 19:45:45 +08:00
mhf
ab42fcaade fix(notify): bugFix 2023-02-28 19:35:15 +08:00
wanyaoqi
c1165645fb feat(region): vga gpus
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-28 18:09:38 +08:00
Zexi Li
f62e064ebd Merge pull request #16059 from gouqi11/fixNotifyCheckSum
fix(notify):fix topic of ChecksumTestFailed Result
2023-02-28 15:18:44 +08:00
mhf
7668aa450d fix(notify):fix topic of ChecksumTestFailed Result 2023-02-28 15:11:48 +08:00
屈轩
8443d4077f fix(region): azure rebuild root error (#16049) 2023-02-27 22:28:33 +08:00
Zexi Li
49d979dee8 fix(climc): add list monitorresource cmd (#16048) 2023-02-27 22:27:52 +08:00
Jian Qiu
92f26eaa15 fix: monitor delete resource panic (#16052)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2023-02-27 21:57:04 +08:00
wanyaoqi
8cc20c11a2 fix(host): resume suspend guest (#16055)
- check guest status inmigrate
- fix guest launch python script

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-27 21:55:59 +08:00
Zexi Li
435e07fd17 Merge pull request #15577 from gouqi11/notifyFix
fix(notify): refactor notify
2023-02-27 14:37:34 +08:00
Zexi Li
933c995f2d Merge pull request #16037 from swordqiu/hotfix/qj-lbagent-create-params
fix: climc lbagent create params
2023-02-27 13:46:15 +08:00
Zexi Li
a3ca3f2f79 Merge pull request #16039 from swordqiu/hotfix/qj-sync-ignore-no-guest-instancegroup
fix: apihelper sync ignore instancegroups without guets
2023-02-27 13:45:28 +08:00
Zexi Li
c571410d2e Merge pull request #16042 from swordqiu/hotfix/qj-set-eipid-after-association
fix: set eipid after successful eip association
2023-02-27 13:44:25 +08:00
Qiu Jian
7c1d6f913d fix: set eipid after successful eip association 2023-02-26 09:12:44 +08:00
Qiu Jian
e46e68a209 fix: apihelper sync ignore instancegroups without guets 2023-02-26 01:05:41 +08:00
QIU Jian
aa6619c13e fix: climc lbagent create params 2023-02-24 21:24:24 +08:00
Zexi Li
2d72492ff0 Merge pull request #16032 from ioito/hotfix/qx-vm-bill-type-sync
fix(region): vm bill type sync
2023-02-24 16:44:47 +08:00
Zexi Li
d0ee833661 Merge pull request #16030 from wanyaoqi/fix/disable-floppy-on-other-machines
fix(host): disable floppy on machine type isn't pc
2023-02-24 16:44:20 +08:00
mhf
6e42f11024 fix notify 2023-02-24 16:11:24 +08:00
ioito
40a3a09c1f fix(region): vm bill type sync 2023-02-24 11:52:13 +08:00
wanyaoqi
9ac37d5cdc fix(host): disable floppy on machine type isn't pc
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-23 22:48:51 +08:00
Zexi Li
52a9b94536 Merge pull request #15839 from bingocmp/feature/implement-bingocloud
Feature/implement bingocloud
2023-02-23 19:22:02 +08:00
Jian Qiu
007ff435a1 fix: ovn options missing eip and brmapped (#16028)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-02-23 17:14:02 +08:00
Jian Qiu
6688fbb845 feature: add webhook example server scripts (#16020)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2023-02-23 02:55:46 +08:00
Zexi Li
767882b264 Merge pull request #16025 from ioito/hotfix/qx-aliyun-lb-tags
fix(region): aliyun lb tag sync
2023-02-23 00:37:11 +08:00
ioito
c05b2e4b0d fix(region): aliyun lb tag sync 2023-02-22 16:44:48 +08:00
Zexi Li
394e6387e9 Merge pull request #16021 from swordqiu/hotfix/qj-disable-vpc-option
fix: add disable_local_vpc option and auto config ovn for lbagent and host
2023-02-22 15:08:58 +08:00
Qiu Jian
9433fc14a8 fix: add disable_local_vpc option and auto config ovn for lbagent and
host
2023-02-22 14:35:43 +08:00
Zexi Li
06dfb5bbcb fix(baremetal): update baremetal base image to support ice module (#16018) 2023-02-21 19:03:34 +08:00
Zexi Li
6d79f3f0c2 Merge pull request #16012 from swordqiu/hotfix/qj-gen-policy-extra-override
fix: gen policy extra override policy
2023-02-21 11:25:08 +08:00
Qiu Jian
9f6999972e fix: gen policy extra override policy 2023-02-20 23:04:50 +08:00
Zexi Li
917742eaf8 Merge pull request #16009 from wanyaoqi/esxi/disk-backups-recycle
fix(esxi-agent): disk temp files recycle
2023-02-20 19:34:52 +08:00
Zexi Li
2a64b06112 Merge pull request #16006 from ioito/hotfix/qx-apsara-metric
fix(cloudmon): apsara monitor
2023-02-20 19:33:44 +08:00
Zexi Li
8ec5c57db2 Merge pull request #16005 from wanyaoqi/automated-cherry-pick-of-#16003-upstream-master
Automated cherry pick of #16003: fix(region): esxi to kvm nic driver fix
2023-02-20 19:32:11 +08:00
wanyaoqi
3cedd8ab73 fix(esxi-agent): disk temp files recycle
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-20 18:27:54 +08:00
ioito
ea8b8b180d fix(cloudmon): apsara monitor 2023-02-20 18:15:15 +08:00
wanyaoqi
4a52ba7573 fix(region): esxi to kvm nic driver fix
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-20 18:01:50 +08:00
Jian Qiu
b5eac75270 fix: sms login not verify captchar (#15995)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-02-18 18:27:26 +08:00
Jian Qiu
eac96cdadc fix: 1. allow remove current user from current project. 2. reset (#15985)
recovery-questions when resetting MFA

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-02-18 13:04:30 +08:00
dependabot[bot]
fd680035f4 build(deps): bump golang.org/x/net from 0.1.0 to 0.7.0 (#15988)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.1.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.1.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-18 13:04:06 +08:00
dependabot[bot]
ebdbbdca1f build(deps): bump github.com/apache/thrift from 0.12.0 to 0.13.0 (#15947)
Bumps [github.com/apache/thrift](https://github.com/apache/thrift) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/apache/thrift/releases)
- [Changelog](https://github.com/apache/thrift/blob/master/CHANGES.md)
- [Commits](https://github.com/apache/thrift/compare/v0.12.0...v0.13.0)

---
updated-dependencies:
- dependency-name: github.com/apache/thrift
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-18 13:03:22 +08:00
dependabot[bot]
31021c79bb build(deps): bump github.com/Masterminds/goutils from 1.1.0 to 1.1.1 (#15894)
Bumps [github.com/Masterminds/goutils](https://github.com/Masterminds/goutils) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/Masterminds/goutils/releases)
- [Changelog](https://github.com/Masterminds/goutils/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Masterminds/goutils/compare/v1.1.0...v1.1.1)

---
updated-dependencies:
- dependency-name: github.com/Masterminds/goutils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-18 13:02:50 +08:00
Jian Qiu
a1350b1e60 fix: hostman setup tuned-adm profile virtual-host (#15918)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-02-18 08:53:44 +08:00
屈轩
ab07ebe3d9 fix(region): vender update for gcp storage (#15980) 2023-02-18 08:51:12 +08:00
屈轩
6111c54a47 fix(region): clean storage db (#15945) 2023-02-18 08:48:48 +08:00
wanyaoqi
693257697e feat(region,host): support ovs offload. (#15915)
Cloudpods Ovs offload implemention base on SR-IOV support.
IsolatedDevices add field `OvsOffloadInterface`.

Host config add `ovs_offload_nics` to specify which nic enable ovs
offload, and removed flag `disable_sriov_nics` add flag `sriov_nics` to
configure sriov nics.

Tested Hardware: Mellanox ConnectX-5 NICs
2023-02-18 08:48:07 +08:00
Zexi Li
932116b20f Merge pull request #15976 from wanyaoqi/fix/esxi-tokvm
fix(region): esxi to kvm clean sched desc disk.storage
2023-02-17 11:56:17 +08:00
wanyaoqi
341d523742 fix(region): esxi to kvm clean sched desc disk.storage
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-17 10:02:02 +08:00
Zexi Li
1ae0a78fe4 feat(monitor): add DisableQuerySignatureCheck option (#15973) 2023-02-16 23:57:21 +08:00
Zexi Li
41c50a4102 Merge pull request #15954 from zexi/automated-cherry-pick-of-#15952-upstream-master
Automated cherry pick of #15952: fix(baremetal): only do status probe job when host_type is hypervisor
2023-02-16 23:03:05 +08:00
Zexi Li
54884f0537 Merge pull request #15956 from zexi/automated-cherry-pick-of-#15955-upstream-master
Automated cherry pick of #15955: fix(climc): add measurements and databases api of unifiedmonitor
2023-02-16 22:46:22 +08:00
Zexi Li
ea874ce17c Merge pull request #15961 from gouqi11/fixAddNotifyTemplateFrom
fix(notify): 添加消息来源
2023-02-16 22:45:35 +08:00
Zexi Li
df4f199479 Merge pull request #15970 from ioito/hotfix/qx-gcp-image-sync
fix(region): gcp image sync
2023-02-16 18:08:31 +08:00
ioito
d13e8d7c8d fix(region): gcp image sync 2023-02-16 17:16:32 +08:00
Zexi Li
2a887c2e42 Merge pull request #15968 from zexi/automated-cherry-pick-of-#15966-upstream-master
Automated cherry pick of #15966: feat(mcclient): allow set default authenticate source
2023-02-16 14:53:24 +08:00
Zexi Li
a24bd3700b feat(mcclient): allow set default authenticate source 2023-02-16 14:41:01 +08:00
Zexi Li
42573c1b88 Merge pull request #15958 from wanyaoqi/fix/esxi-convert-to-kvm-20230215
fix(region): kvm convert to esxi
2023-02-16 13:58:24 +08:00
Zexi Li
5f4178802b Merge pull request #15962 from wanyaoqi/fix/guest-change-disk-storage
fix(region): guest change disk storage
2023-02-16 13:57:15 +08:00
wanyaoqi
cec7de6914 fix(region): guest change disk storage
new disk use src disk driver and cache mode.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-16 13:40:06 +08:00
mhf
b60573ff77 fix(notify): 添加消息来源 2023-02-16 11:38:15 +08:00
wanyaoqi
cacd7e61e1 fix(region): kvm convert to esxi
complete kvm guest meta info

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-16 11:09:43 +08:00
Zexi Li
bfa03dd8a5 fix(climc): add measurements and databases api of unifiedmonitor 2023-02-15 17:08:44 +08:00
Zexi Li
bc23199951 fix(baremetal): only do status probe job when host_type is hypervisor 2023-02-15 12:52:35 +08:00
Zexi Li
695fd2690a Merge pull request #15933 from swordqiu/hotfix/qj-usage-policy-filter-revisit2
fix: usage filter by policy tags revisit2
2023-02-15 10:08:54 +08:00
Zexi Li
11fe9e51de Merge pull request #15948 from wanyaoqi/fix/revert-linux-efi-check
fix(host-deployer): revert linux efi check
2023-02-15 10:07:39 +08:00
wanyaoqi
8b85f343a4 fix(host-deployer): revert linux efi check
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-14 23:19:35 +08:00
Zexi Li
abe649af2a Merge pull request #15942 from ioito/hotfix/qx-aws-s3-upload
fix(region): aws s3 upload failed
2023-02-14 18:03:46 +08:00
ioito
d10e26e96a fix(region): aws s3 upload failed 2023-02-14 17:18:16 +08:00
Zexi Li
17cc40c3ea Merge pull request #15939 from ioito/hotfix/qx-huawei-read-only
fix(cloudmon): huawei read only check
2023-02-14 12:22:23 +08:00
Zexi Li
7a66ac48a1 Merge pull request #15938 from zexi/automated-cherry-pick-of-#15936-upstream-master
Automated cherry pick of #15936: fix(baremetal): duplicate argument task-worker-count
2023-02-14 12:20:23 +08:00
ioito
d7bf0fa75b fix(cloudmon): huawei read only check 2023-02-14 11:58:10 +08:00
Zexi Li
6cb643d89d fix(baremetal): duplicate argument task-worker-count 2023-02-14 11:57:28 +08:00
Qiu Jian
ccb79efd23 fix: usage filter by policy tags revisit2 2023-02-14 09:19:22 +08:00
Zexi Li
e5a06c8ece Merge pull request #15928 from zexi/lbagent-base
fix(build): lbagent-base image
2023-02-13 21:55:49 +08:00
Zexi Li
c9c380bf86 fix(build): lbagent-base image 2023-02-13 21:41:33 +08:00
Zexi Li
94eaab0f05 Merge pull request #15925 from wanyaoqi/fix/deploy-content
fix(host,baremetal): deploy content action not marshaled
2023-02-13 15:36:26 +08:00
Zexi Li
52313b1a9f Merge pull request #15922 from ioito/hotfix/qx-cdn-virtual-resource
fix(region): change cdn to virtual resource
2023-02-13 15:35:43 +08:00
wanyaoqi
ad56d568fb fix(host,baremetal): deploy content action not marshaled
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-13 12:11:39 +08:00
ioito
14ec3d6012 fix(region): change cdn to virtual resource 2023-02-13 10:29:48 +08:00
Zexi Li
2ea4bcffdd Merge pull request #15920 from swordqiu/feature/qj-project-owner
feature: project admin user
2023-02-13 10:01:31 +08:00
Qiu Jian
e8ea334032 feature: project admin user 2023-02-13 03:42:21 +08:00
Jian Qiu
d48f7d151b fix: update bilibili contact 20230211 (#15919)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2023-02-13 02:35:38 +08:00
Jian Qiu
84c2430797 fix: add test for FilePutContent (#15917)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-02-10 21:00:58 +08:00
Zexi Li
605e808c7a Merge pull request #15916 from yunionio/zexi-patch-1
Update bug_report.md
2023-02-10 18:08:52 +08:00
Zexi Li
faeaca7a72 Update bug_report.md 2023-02-10 18:08:35 +08:00
Jian Qiu
b8aeb70ae3 fix: tablespec add sync method (#15913)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2023-02-09 22:39:05 +08:00
Zexi Li
d78e556e02 Merge pull request #15909 from zexi/k8s-cluster-sync
fix(region): update kube cluster to kubeserver
2023-02-08 14:01:51 +08:00
Zexi Li
d272345b77 Merge pull request #15907 from swordqiu/hotfix/qj-lbagent-containerize
fix: lbagent containerize issues
2023-02-08 11:03:10 +08:00
Qiu Jian
d34a04f896 fix: lbagent containerize issues 2023-02-08 10:49:05 +08:00
Zexi Li
f42a6415ac fix(region): update kube cluster to kubeserver 2023-02-08 10:47:55 +08:00
Zexi Li
6afdc832a9 Merge pull request #15902 from ioito/hotfix/qx-cdn-domain
fix(region): cdn domain config
2023-02-06 23:39:42 +08:00
ioito
6b67f17a86 fix(region): cdn domain config 2023-02-06 11:40:04 +08:00
Jian Qiu
3ca806048d fix: update OWNERS 20230205 (#15901)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-02-06 02:15:57 +08:00
wanyaoqi
a701cd8f29 fix(host-metrics): bytes sent overflow (#15899)
bytes_sent recount unexpected, discard the count before new round.

Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2023-02-05 21:53:17 +08:00
屈轩
13d01b5db2 fix(region): fake server generate (#15896) 2023-02-03 23:26:11 +08:00
Jian Qiu
c2f2ceafd4 feature: lbagent register (#15872)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-02-02 21:32:30 +08:00
Zexi Li
692b5512da Merge pull request #15891 from ioito/hotfix/qx-usage-policy
fix(region): usage with policy tags
2023-02-02 17:14:04 +08:00
Zexi Li
aca243b3fb Merge pull request #15885 from ioito/hotfix/qx-dns-recordset-detail
fix(region): dns recordset details
2023-02-02 17:13:13 +08:00
Zexi Li
ad5f61c57f Merge pull request #15881 from ioito/hotfix/qx-project-tags
fix(cloudmon): project tags for metric
2023-02-02 17:11:39 +08:00
Zexi Li
dc6a0630f3 Merge pull request #15879 from ioito/hotfix/qx-lb-listener
fix(region): lb listener
2023-02-02 17:11:05 +08:00
ioito
178903e25a fix(region): usage with policy tags 2023-02-02 16:34:26 +08:00
ioito
4f3b18037f fix(region): dns recordset details 2023-02-02 10:55:11 +08:00
ioito
83b34a4e8c fix(cloudmon): project tags for metric 2023-02-01 19:45:39 +08:00
Zexi Li
407c90ccfb optimized(scheduler): reduce sql query of mysql (#15878) 2023-01-31 19:30:58 +08:00
ioito
1cd930893e fix(region): lb listener 2023-01-31 18:01:26 +08:00
Zexi Li
99d250399a Merge pull request #15862 from ioito/hotfix/qx-create-params-hostname
fix(region): 避免创建相同配置时使用当前实例的hostname
2023-01-30 22:12:36 +08:00
Zexi Li
ae5e727da7 Merge pull request #15874 from swordqiu/hotfix/qj-usage-filter-by-policy-tags
fix: usage filter by policy tags
2023-01-30 22:11:56 +08:00
Qiu Jian
ca04fcd0de fix: usage filter by policy tags 2023-01-30 21:52:17 +08:00
Jian Qiu
b401a961c2 fix: climc logs-splitable support monitor notify (#15868)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2023-01-30 17:44:32 +08:00
Jian Qiu
f3b35d5315 fix: vmemsize error prompt (#15865)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2023-01-30 16:23:57 +08:00
rex zhasm
ea2f489b22 feat(build,test): 新增 dry_run 模式以便夜间测试 (#15859)
Co-authored-by: Zhang Dongliang <zhangdongliang@yunion.cn>
2023-01-30 16:23:14 +08:00
屈轩
304fd13b02 fix(cloudevent): default disable cloudevent sync (#15851) 2023-01-30 16:09:35 +08:00
ioito
afa2dc7df0 fix(region): 避免创建相同配置时使用当前实例的hostname 2023-01-30 15:20:34 +08:00
Zexi Li
1c59f344c9 Merge pull request #15857 from zexi/model-api-gen
fix(codegen): update apis generated by models
2023-01-30 12:20:33 +08:00
Zexi Li
251826ac33 fix(codegen): update apis generated by models 2023-01-30 11:29:44 +08:00
Zexi Li
411d646f81 Merge pull request #15854 from wanyaoqi/automated-cherry-pick-of-#15853-upstream-master
Automated cherry pick of #15853: fix(host): panic on report diskio
2023-01-30 11:24:03 +08:00
Zexi Li
0171a19d51 Merge pull request #15855 from ioito/hotfix/qx-codegen
fix(region): codegen
2023-01-30 11:23:13 +08:00
ioito
e780d88cee fix(region): codegen 2023-01-30 09:40:08 +08:00
wanyaoqi
362587da19 fix(host): panic on report diskio
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-29 23:22:06 +08:00
Zexi Li
537f835363 Merge pull request #15848 from ioito/hotfix/qx-vm-public-ip
fix(region): vm created with public ip
2023-01-29 18:32:04 +08:00
ioito
43e9328ac1 fix(region): vm created with public ip 2023-01-29 16:03:57 +08:00
Jian Qiu
eb19ad89c7 fix: cloudmon/lbagent api request with app name (#15844)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-29 01:45:00 +08:00
屈轩
9c7e8a4f59 fix(region): clirc with region (#15842) 2023-01-29 01:40:40 +08:00
wanyaoqi
c0de747478 fix(host): structure guest metrics (#15840)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-29 01:39:43 +08:00
Jian Qiu
45b2fe4f35 fix: disable metadata server monitor for SR-IOV (#15837)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-29 01:36:01 +08:00
Jian Qiu
0c91b88949 fix: webconsole ssh user/pass prompt backspace hanlding (#15834)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-29 01:34:57 +08:00
Jian Qiu
53a78655e2 fix: prepare esxi host network revisit (#15832)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-29 01:34:27 +08:00
Jian Qiu
71e93cd202 fix: parameter get or create rpc (#15830)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-28 22:31:35 +08:00
James Lee
5c25cdd9f2 Merge branch 'yunionio:master' into feature/implement-bingocloud 2023-01-27 20:19:20 +08:00
Zexi Li
96b3a6a0f7 feat(climc): add action of k8s-cluster-deploy (#15820) 2023-01-18 23:59:44 +08:00
Jian Qiu
08e3711f6e fix: clean pending usage when dry run validate_create_data (#15822)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-18 23:36:53 +08:00
屈轩
dab791c50b fix(esxi): rebuild root by template (#15825) 2023-01-18 23:35:50 +08:00
gouqi11
3db8a61d16 fix(notify): add server_panic topic (#15826) 2023-01-18 23:34:18 +08:00
李锐
e52651b41f feat(bingocloud):changed some abilities of bingocloud 2023-01-17 18:26:59 +08:00
Zexi Li
02b2f780ec Merge pull request #15800 from ioito/hotfix/qx-re-auth
fix(mcclient): 避免休眠后再次启动后admin token失效, 导致用户登录失败
2023-01-17 17:50:59 +08:00
Zexi Li
b1c7490f0f Merge pull request #15816 from gouqi11/addServerAbnormalNotify
fix(notify): fix topic enable bug
2023-01-17 15:06:50 +08:00
mhf
0561361dcd fix(notify): fix topic enable bug 2023-01-17 14:39:12 +08:00
Zexi Li
7040705907 Merge pull request #15811 from gouqi11/addServerAbnormalNotify
fix(keystone): serviceAbnormal token fix
2023-01-17 10:46:37 +08:00
ioito
a4a461981a fix(mcclient): 避免休眠后再次启动后admin token失效, 导致用户登录失败 2023-01-17 10:30:33 +08:00
Zexi Li
87efbddcd3 Merge pull request #15797 from swordqiu/feature/qj-notify-sync-receiver-from-keystone
fix: notify sync receivers from keystone
2023-01-16 16:56:06 +08:00
Zexi Li
c4d8023b9b Merge pull request #15805 from ioito/hotfix/qx-vmware-vnc
fix(region): vmware migrate vnc
2023-01-16 16:54:08 +08:00
Zexi Li
54a8331ece Merge pull request #15770 from gouqi11/addAdminReceiverForAllTopic
fix(notify): 对所有通知默认加入系统管理员接收人
2023-01-16 16:53:10 +08:00
mhf
9c7366f569 fix(keystone): serviceAbnormal token fix 2023-01-16 16:43:28 +08:00
Zexi Li
b66b852183 Merge pull request #15799 from gouqi11/addServerAbnormalNotify
fix(notify): 对服务异常添加消息通知
2023-01-16 16:02:13 +08:00
mhf
63c086aa2c fix(notify): 对服务异常添加消息通知 2023-01-16 15:52:03 +08:00
ioito
1224f4eee4 fix(region): vmware migrate vnc 2023-01-16 15:11:05 +08:00
Qiu Jian
defab313cb fix: notify sync receivers from keystone 2023-01-15 23:06:35 +08:00
屈轩
a95bd97904 fix(region): unified name sync options (#15740) 2023-01-15 14:50:31 +08:00
wanyaoqi
515825c69b fix(region): update guest status on backup guest start complete (#15796)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-15 13:51:06 +08:00
屈轩
ae14c430cc fix(notify): send msg with custom brand (#15791) 2023-01-15 13:48:40 +08:00
屈轩
8a270c58a2 fix(region): optimized capability (#15787) 2023-01-15 13:47:12 +08:00
Zexi Li
abb88a40f9 Merge pull request #15780 from gouqi11/addTopicResult
fix(notify): Add topic result
2023-01-14 17:03:11 +08:00
Zexi Li
330da74149 Merge pull request #15783 from ioito/hotfix/qx-vender-update-vmware-timeout
fix(region): vender update for vmware timeout
2023-01-14 16:57:16 +08:00
Zexi Li
b52834d5a3 Merge pull request #15773 from wanyaoqi/fix/qga-set-password-status
fix(region): qga set password status on failed
2023-01-14 16:56:28 +08:00
mhf
48ecb6934d fix(notify): fix server/create bug 2023-01-14 16:22:33 +08:00
ioito
2daec50108 fix(region): vender update for vmware timeout 2023-01-14 16:21:38 +08:00
Zexi Li
d33a9774d6 Merge pull request #15771 from ioito/hotfix/qx-service-exception
fix(common): service exception
2023-01-14 11:55:34 +08:00
ioito
9ddaa5e3b4 fix(common): service exception 2023-01-14 10:22:54 +08:00
mhf
90e9a29a4a fix(notify): 对所有通知默认加入系统管理员接收人 2023-01-13 16:19:20 +08:00
Zexi Li
7ff706efa4 Merge pull request #15774 from ioito/hotfix/qx-cloudpods-load
fix(cloudmon): cloudpods load
2023-01-13 15:29:37 +08:00
wanyaoqi
0666db8727 fix(region): qga set password status 2023-01-13 15:24:28 +08:00
ioito
23dd617170 fix(cloudmon): cloudpods load 2023-01-13 15:22:04 +08:00
Zexi Li
9e0a7151b5 Merge pull request #15768 from ioito/hotfix/qx-vender-update-20230112
fix(region): vender update for qcloud lb listener
2023-01-13 10:27:47 +08:00
ioito
9e9d794eef fix(region): vender update for qcloud lb listener 2023-01-12 18:24:50 +08:00
Zexi Li
4a5bcb7c63 Merge pull request #15758 from wanyaoqi/fix/cherry-pci
fix cherrypick script
2023-01-12 18:06:23 +08:00
Zexi Li
cbac0ce839 Merge pull request #15755 from wanyaoqi/automated-cherry-pick-of-#15754-upstream-master
Automated cherry pick of #15754: fix(host): isolated_deivce hotplug check addr
2023-01-12 18:06:03 +08:00
Zexi Li
659a16c6d2 Merge pull request #15756 from wanyaoqi/fix/network-mac-ip-update
fix(region): network_ip_macs allow update ip and mac
2023-01-12 18:05:26 +08:00
Zexi Li
6f631ebf33 Merge pull request #15761 from wanyaoqi/automated-cherry-pick-of-#15760-upstream-master
Automated cherry pick of #15760: Automated cherry pick of #15759: fix(region): auto switch to backup on host down
2023-01-12 18:04:57 +08:00
Zexi Li
9f247ccf2d Merge pull request #15763 from wanyaoqi/fix/ip-mac-bind
fix(region): network_ip_mac update check
2023-01-12 18:02:01 +08:00
wanyaoqi
45f12d2021 fix(region): network_ip_macs rbac and guestnetwork assign
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-12 17:53:19 +08:00
wanyaoqi
ed394dd955 fix(region): network_ip_mac update 2023-01-12 11:48:19 +08:00
wanyaoqi
16507604f7 fix(region): auto switch to backup on host down 2023-01-11 21:44:49 +08:00
wanyaoqi
e6b43e5428 fix cherrypick script 2023-01-11 19:50:16 +08:00
wanyaoqi
ded3d8e901 fix(region): network_ip_macs allow update ip and mac
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-11 19:19:01 +08:00
wanyaoqi
0c9466874e fix(host): isolated_deivce hotplug check addr
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-11 18:04:05 +08:00
Zexi Li
4729919fb9 Merge pull request #15747 from ioito/hotfix/qx-qcloud-lb-lbbg
fix(region): qcloud lb backend create
2023-01-11 10:37:09 +08:00
Zexi Li
4b5f6f0e06 Merge pull request #15750 from ioito/hotfix/qx-vender-update-20230110
fix(region): vender update
2023-01-11 10:36:27 +08:00
Zexi Li
ef336b6540 Merge pull request #15749 from wanyaoqi/feat/guest-ip-mac-alloc
feat(region): bind network ip macs
2023-01-11 10:36:00 +08:00
ioito
b86c5b921c fix(region): vender update 2023-01-10 19:00:17 +08:00
wanyaoqi
32e60f38fc feat(region): bind network ip macs
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-10 18:14:50 +08:00
ioito
098a69145a fix(region): qcloud lb backend create 2023-01-10 14:30:53 +08:00
Zexi Li
d1246adcf9 Merge pull request #15737 from ioito/hotfix/qx-hostname-validate-length
fix(region): hostname validate
2023-01-09 14:31:35 +08:00
Zexi Li
4a86846f8a Merge pull request #15742 from wanyaoqi/fix/telegraf-startup
fix(host-deployer): windows 2008 Out-File IOException
2023-01-09 14:30:51 +08:00
wanyaoqi
78a913fded fix(host-deployer): windows 2008 Out-File IOException
debug log cause windows 2008 IOException, multi process open log file.
2023-01-09 13:57:10 +08:00
ioito
0dd3fc9c8c fix(region): hostname validate 2023-01-09 11:15:15 +08:00
Jian Qiu
9654b2c2c4 fix: simplify and accelerate query of notification (#15734)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-08 09:29:38 +08:00
wanyaoqi
e34afc1abb feat(host): kvm vcpus bind cpuset on numa nodes and cpu dies (#15732)
- alloc cpuset on guest startup, try to alloc on one numa or cpu die
- fix guest startup task not clean
- fix cgrup tasks not clean
2023-01-08 09:29:12 +08:00
屈轩
c0b41e27bc fix(region): optimzed zone-list speed (#15729) 2023-01-07 20:56:16 +08:00
gouqi11
031503735a add excelutils func (#15727) 2023-01-07 20:55:14 +08:00
Zexi Li
c9b46c5f74 Merge pull request #15725 from ioito/hotfix/qx-vender-update-migrate
fix(region): vmware migrate
2023-01-06 17:55:51 +08:00
ioito
7efb47c7c6 fix(region): vmware migrate 2023-01-06 17:43:55 +08:00
Zexi Li
8f9313ba24 Merge pull request #15721 from ioito/hotfix/qx-vender-update-20230106
fix(region): vender update
2023-01-06 15:32:01 +08:00
Zexi Li
f2d9362fe5 Merge pull request #15709 from ioito/hotfix/qx-account-sync-status
fix(region): account sync status
2023-01-06 15:31:09 +08:00
ioito
fadb342e3a fix(region): vender update 2023-01-06 11:18:48 +08:00
Jian Qiu
b40a0cb792 fix: need more args in CustomizedTotalCount (#15717)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-06 03:33:44 +08:00
wanyaoqi
3f7e134fbf fix(worker): policy and task worker count configurable (#14958) 2023-01-05 22:36:50 +08:00
Zexi Li
4b5a164981 Merge pull request #15710 from swordqiu/hotfix/qj-init-schedinfo-domain-project
fix: init shceduler schedinfo project and domain
2023-01-05 17:04:26 +08:00
Zexi Li
139f2ccd65 fix(notify): update MYSQL_OUT_OF_SYNC template (#15707) 2023-01-05 15:39:20 +08:00
Qiu Jian
1d5a43d66d fix: init shceduler schedinfo project and domain 2023-01-05 15:26:33 +08:00
ioito
4f83df9ff2 fix(region): account sync status 2023-01-05 10:28:32 +08:00
wanyaoqi
19c33508d8 feat(host): sriov nic monitor (#15690)
* feat(host): sriov nic monitor

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

* fix(host): host metrics check int64 value overflow

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

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-04 22:09:44 +08:00
Zexi Li
e7e0b534f3 Merge pull request #15701 from ioito/hotfix/qx-vender-update-20230104
fix(region): vender update
2023-01-04 20:01:37 +08:00
ioito
1ce7dc7cb1 fix(region): vender update 2023-01-04 19:46:36 +08:00
Zexi Li
b107fbf1fe Merge pull request #15699 from ioito/hotfix/qx-query-nil
fix(keystone): avoid panic
2023-01-04 15:44:21 +08:00
Zexi Li
47dabb3ebd Merge pull request #15688 from ioito/hotfix/qx-redis-sync-error
fix(region): redis sync error optimized
2023-01-04 15:14:03 +08:00
ioito
5468ffbbaa fix(keystone): avoid panic 2023-01-04 15:04:35 +08:00
屈轩
5d2e3763c9 fix(keystone): project-show by name with not found error (#15697) 2023-01-03 21:26:13 +08:00
Zexi Li
ca71a06aa8 Merge pull request #15692 from ioito/hotfix/qx-aws-lb
fix(region): aws lb optimized
2023-01-03 18:37:26 +08:00
Zexi Li
0def47a940 Merge pull request #15694 from zexi/esxi-migrate-check
fix(scheduler): do migrate checking when hypervisor is not esxi
2023-01-03 18:35:33 +08:00
Zexi Li
076b6e5387 fix(scheduler): do migrate checking when hypervisor is not esxi 2023-01-03 18:14:51 +08:00
ioito
37f1bbbd54 fix(region): aws lb optimized 2023-01-03 17:55:47 +08:00
ioito
5d63beb669 fix(region): redis sync error optimized 2023-01-03 11:07:15 +08:00
Jian Qiu
e57dd92e5d fix: make cloudaccount options visbile in list (#15684)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-02 23:45:02 +08:00
Jian Qiu
cc750955be fix: get user ids by role ids in scope (#15686)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-02 23:44:50 +08:00
Jian Qiu
e656426e3f feature: list results carry extra total stats (#15682)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-02 14:32:36 +08:00
gouqi11
6cdda3ead6 fix(notify): add some template and notification (#15607) 2023-01-02 12:00:21 +08:00
wanyaoqi
904e7b31a5 Automated cherry pick of #15664: Automated cherry pick of #15618: fix(host): use drive backup sync backup disks (#15681)
* fix(host): use drive backup sync backup disks

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

* fix(region,host): guest backup backend use fetcherfs

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-02 11:58:14 +08:00
wanyaoqi
d6c4322ae8 fix(region): sriov vfio-pci driver manual deploy nic (#15680)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-02 11:58:02 +08:00
Zexi Li
91c8147d68 Merge pull request #15676 from ioito/hotfix/qx-aliyun-system-disk
fix(region): system disk storage type
2022-12-30 16:18:31 +08:00
ioito
ded1a85044 fix(region): system disk storage type 2022-12-30 16:04:42 +08:00
Zexi Li
7b172779e6 Merge pull request #15671 from wanyaoqi/fix/qemu-caps
fix(host): detect qemu caps
2022-12-30 15:02:34 +08:00
Zexi Li
e6fbf60954 Merge pull request #15639 from silence934/resource_tag3
feat(region): sync resource tag
2022-12-30 15:01:30 +08:00
Zexi Li
e0e7235ece Merge pull request #15675 from zexi/automated-cherry-pick-of-#15673-upstream-master
Automated cherry pick of #15673: fix(scheduler): reduce calculation of storage's free_capacity
2022-12-30 14:52:46 +08:00
Zexi Li
b4c08e23f7 fix(scheduler): reduce calculation of storage's free_capacity 2022-12-30 12:40:54 +08:00
wanyaoqi
e42c91e5ea fix(host): detect qemu caps
ingnore pmemclean output on qemu version 2.12.1

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-12-30 11:50:09 +08:00
Jian Qiu
8450d91367 fix: project duplicate fix2 (#15666)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-12-30 00:27:15 +08:00
Jian Qiu
1b52106d11 fix: project duplciate name (#15662)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-12-29 23:33:42 +08:00
屈轩
32a756c74a fix(region): duplicate project sync (#15660) 2022-12-29 23:19:39 +08:00
屈轩
47bcf2e9d9 fix(region): hostname sync (#15657) 2022-12-29 23:19:06 +08:00
屈轩
b2be76af46 fix(region): qcloud cdn create (#15655) 2022-12-29 23:18:44 +08:00
Zexi Li
1ac6de33f7 Merge pull request #15649 from ioito/hotfix/qx-redis-aliyun
fix(region): aliyun redis create
2022-12-29 16:26:18 +08:00
Zexi Li
1cee2e40fd Merge pull request #15651 from zexi/webconsole-get-pod
fix(webconsole): not get pod info when fetchK8sEnv
2022-12-29 16:06:50 +08:00
Zexi Li
d6a6f115ad fix(webconsole): not get pod info when fetchK8sEnv 2022-12-29 15:45:50 +08:00
ioito
8600f7cca1 fix(region): aliyun redis create 2022-12-29 15:30:03 +08:00
屈轩
1094243359 fix(region): external project sync (#15647) 2022-12-29 14:57:06 +08:00
Jian Qiu
5ffa5791a9 fix: climc panic 20221228 (#15644)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-29 11:28:46 +08:00
Zexi Li
a72d05f2f9 Merge pull request #15635 from swordqiu/hotfix/qj-limit-user-project-roles
fix: limit roles that a user join a project
2022-12-29 10:44:53 +08:00
silence
115bb1290f feat(region):sync kafka tag
fmt
2022-12-28 17:40:43 +08:00
silence
e195ed88fa feat(region): sync resource tag 2022-12-28 16:05:34 +08:00
屈轩
8062916fe4 fix(region): vender update (#15633) 2022-12-28 15:37:17 +08:00
Qiu Jian
e51acd0d38 fix: limit roles that a user join a project 2022-12-28 15:16:15 +08:00
Zexi Li
af48e79b15 Merge pull request #15631 from ioito/hotfix/qx-vmware-migrate-check
fix(region): remove migrate check
2022-12-27 21:01:04 +08:00
Zexi Li
dffc10a99e Merge pull request #15625 from ioito/hotfix/qx-external-project-sync
fix(region): external project sync
2022-12-27 21:00:38 +08:00
Zexi Li
62fc725643 Merge pull request #15627 from ioito/hotfix/qx-lb-cert-sync
fix(region): lb cert sync
2022-12-27 20:59:58 +08:00
ioito
2700b29a9f fix(region): remove migrate check 2022-12-27 17:26:41 +08:00
wanyaoqi
e1d3635b0a fix(region,host): migrate use source desc file. (#15623) 2022-12-27 16:50:47 +08:00
ioito
ae96b15406 fix(region): lb cert sync 2022-12-27 15:43:39 +08:00
ioito
a7e545f322 fix(region): external project sync 2022-12-27 15:15:37 +08:00
Zexi Li
0386ea3453 Merge pull request #15624 from yunionio/zexi-patch-1
Update bug_report.md
2022-12-27 14:21:51 +08:00
Zexi Li
41fd719cc5 Update bug_report.md 2022-12-27 14:21:16 +08:00
Jian Qiu
21716cefb5 fix: remove mutual dependency of cloudmux on onecloud (#15621)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-27 01:21:26 +08:00
屈轩
9804fbaf7a fix(region): usage for host storage (#15619) 2022-12-27 01:20:42 +08:00
Jian Qiu
ec90862764 fix: remove dependency of appctx on i18n (#15615)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-23 23:44:52 +08:00
Jian Qiu
23a4d67944 fix: guests short desc add status (#15612)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-23 19:23:02 +08:00
wanyaoqi
2a44f6f57e fix(region): sriov typo (#15609) 2022-12-23 00:58:04 +08:00
Zexi Li
3099e9ea8b Merge pull request #15611 from wanyaoqi/fix/cherrypick-filter
fix cherrypick script split upstream repo name
2022-12-22 22:38:11 +08:00
wanyaoqi
ccd7982e25 fix cherrypick script split upstream repo name 2022-12-22 20:43:34 +08:00
屈轩
e1fbdb0a78 fix(region): tags for project mapping (#15605) 2022-12-22 18:42:13 +08:00
Zexi Li
1fb295436e Merge pull request #15566 from wanyaoqi/automated-cherry-pick-of-#15565-upstream-master
Automated cherry pick of #15565: Automated cherry pick of #15473: fix(region,host): backup guest
2022-12-22 10:17:39 +08:00
Zexi Li
110bbf214c Merge pull request #15602 from gouqi11/fixModelartsCidrDiff
fix(region): fixModelartsCidrDiffBetweenHuaweiAndHCSO
2022-12-21 17:40:49 +08:00
mhf
66753ce8e4 fix(region): fixModelartsCidrDiffBetweenHuaweiAndHCSO 2022-12-21 16:05:49 +08:00
Zexi Li
2643c8916e optimize(scheduler): reduce calculation of network free address (#15595)
- only calculate non-emulated host's network on building
- calculate emulated host's network on scheduling
2022-12-20 20:54:16 +08:00
Zexi Li
a3844d4b28 fix(baremetal): update base image to v0.3.9 (#15598)
ref: https://github.com/yunionio/yunionos/pull/27
2022-12-20 20:40:06 +08:00
wanyaoqi
a5432e713e fix(host): don't hide kvm cpu feature on nested virt (#15578) 2022-12-20 20:38:39 +08:00
Jian Qiu
2035bd9b9b fix: prefer id over name when fetching owner id (#15590)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-20 19:54:19 +08:00
Zexi Li
bc016c76d9 Merge pull request #15583 from ioito/hotfix/qx-ignore-empty-metric-error
fix(cloudmon): ignore empty metric error
2022-12-20 12:59:20 +08:00
Zexi Li
38b98714ea Merge pull request #15580 from ioito/hotfix/qx-vender-update-misc
fix(region): vender update
2022-12-20 12:58:03 +08:00
ioito
9732305508 fix(cloudmon): ignore empty metric error 2022-12-19 17:11:35 +08:00
ioito
a4c434c34d fix(region): vender update 2022-12-19 14:46:46 +08:00
屈轩
4d78465d92 fix(region): vender update (#15559) 2022-12-17 17:26:58 +08:00
屈轩
77a0cf0646 fix(region): sync vm hostname with ascii (#15562) 2022-12-16 16:06:46 +08:00
Zexi Li
30a9da1fe4 Merge pull request #15557 from silence934/fixnil
fix(cloudmon): collectStatsMetrics ret is nil
2022-12-15 17:01:51 +08:00
Zexi Li
59cf12192a Merge pull request #15573 from zexi/automated-cherry-pick-of-#15569-upstream-master
Automated cherry pick of #15569: fix(baremetal): mac address of BMC not found
2022-12-15 16:54:34 +08:00
Zexi Li
10bafbeadd Merge pull request #15574 from gouqi11/fixSyncProject
fix(region): fix sync project bug and add climc choices
2022-12-15 16:49:58 +08:00
mhf
4190f2b6b9 fix(region): fix sync project bug and add climc choices 2022-12-15 15:24:19 +08:00
Zexi Li
5084fd4ed9 Merge pull request #15568 from gouqi11/fixCloudmonRemotefileMetric
fix(cloudmon): remotefile metrice bugfix
2022-12-15 11:48:08 +08:00
Zexi Li
4e53f95ca6 fix(baremetal): mac address of BMC not found 2022-12-15 11:33:21 +08:00
mhf
d3e2999ef4 fix(cloudmon): remotefile metrice bugfix 2022-12-15 10:43:53 +08:00
wanyaoqi
659c455818 fix(region,host): backup guest refactor 2022-12-14 23:58:00 +08:00
silence
8f887e0b3d fix(cloudmon): collectStatsMetrics ret is nil 2022-12-14 15:34:24 +08:00
Zexi Li
e465a65dcc Merge pull request #15550 from swordqiu/hotfix/qj-win10-usb-tablet-disfunc
fix: usb tablet not function for windows 10 guest
2022-12-14 15:33:05 +08:00
Zexi Li
1181718251 Merge pull request #15545 from ioito/hotfix/qx-vender-update-op
fix(region): vender update
2022-12-14 15:31:12 +08:00
Qiu Jian
f7fdbfa94a fix: usb tablet not function for windows 10 guest 2022-12-14 11:12:39 +08:00
wanyaoqi
2c244bc547 fix(region): use qcow2 format on raw disk cache image (#15547) 2022-12-13 18:32:30 +08:00
ioito
64d662d514 fix(region): vender update 2022-12-13 15:26:06 +08:00
Zexi Li
f28bdf689f Merge pull request #15509 from wanyaoqi/fix/change-storage
fix(region,host): fix some bugs of server disk change storage
2022-12-12 14:51:07 +08:00
Zexi Li
9a872542d9 Merge pull request #15514 from gouqi11/fixCloudPodsMonitor
fix(cloudmon):add cloudpods metric GetDelayDuration
2022-12-12 14:50:14 +08:00
Zexi Li
49b6d057f3 Merge pull request #15541 from gouqi11/fix/cloudpodsClimcHypervisor
fix(climc): add server option cloudpods
2022-12-12 14:48:29 +08:00
wanyaoqi
113c2b5f7d fix(host): convert migrate set downtime value to float64 (#15475)
* fix(host): convert migrate set downtime value to float64

* fix(host): live migration optimize

Qemu will send `STOP` event on start last time migration, but this
moment migration not completed. So we need wait magration complete.
Configurable Auto converge max cpu throttle.
2022-12-12 14:20:51 +08:00
mhf
460834288b fix(climc): add server option cloudpods 2022-12-12 11:29:31 +08:00
Zexi Li
376f896e36 Merge pull request #15537 from swordqiu/hotfix/qj-host-init-before-auth
fix: host init before auth
2022-12-12 09:41:51 +08:00
屈轩
1298146f41 fix(common): optimized metadata list (#15529) 2022-12-11 18:10:04 +08:00
Zexi Li
d156aff4e4 Merge pull request #15538 from swordqiu/hotfix/qj-cherry-pick-pull-fail-on-private-repo
fix: cherry_pick_pull.sh fail to parse URL of github URL with credential
2022-12-11 18:09:10 +08:00
QIU Jian
b739d399e7 fix: cherry_pick_pull.sh fail to parse URL of github URL with credential 2022-12-11 12:47:35 +08:00
Qiu Jian
c2df49a4a9 fix: host init before auth 2022-12-10 23:49:29 +08:00
Zexi Li
525a879283 Merge pull request #15526 from ioito/hotfix/qx-limit-request
fix(common): limit request
2022-12-09 11:43:56 +08:00
Zexi Li
d182bbfce5 Merge pull request #15532 from ioito/hotfix/qx-storage-metric
fix(cloudmon): storage metric
2022-12-09 11:42:06 +08:00
ioito
15f6aa7767 fix(cloudmon): storage metric 2022-12-09 11:27:04 +08:00
ioito
84f3fa5b5a fix(common): limit request 2022-12-08 15:52:57 +08:00
wanyaoqi
f5415697b9 fix(host): convert migrate set downtime value to float64 (#15475)
* fix(host): convert migrate set downtime value to float64

* fix(host): live migration optimize

Qemu will send `STOP` event on start last time migration, but this
moment migration not completed. So we need wait magration complete.
Configurable Auto converge max cpu throttle.
2022-12-08 14:45:37 +08:00
wanyaoqi
d6721519ce fix(host): don't set ovs interface external id on migrating (#15497)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-12-08 14:42:46 +08:00
屈轩
28baa2c6a7 fix(cloudid): support custom saml user name (#15511) 2022-12-08 14:41:56 +08:00
wanyaoqi
843714f922 fix(host): ceph util timeout (#15515) 2022-12-08 14:41:01 +08:00
Zexi Li
f60ee011aa Merge pull request #15508 from ioito/feat/qx-hcsop
feat(region): support hcsop
2022-12-08 10:53:42 +08:00
wanyaoqi
570003c80e fix(region,host): fix some bugs of server disk change storage 2022-12-07 23:54:13 +08:00
Zexi Li
41e2c4971c Merge pull request #15505 from ioito/hotfix/qx-huawei-saml-user
fix(cloudid): huawei saml user name
2022-12-07 22:35:41 +08:00
ioito
e0bd0574fb feat(region): support hcsop 2022-12-07 21:48:41 +08:00
ioito
c228b3a14b fix(cloudid): huawei saml user name 2022-12-07 11:21:26 +08:00
wanyaoqi
32a9f1840a fix(host): update host wire with mac addr (#15500) 2022-12-07 02:15:05 +08:00
Zexi Li
227c169782 Merge pull request #15494 from ioito/hotfix/qx-hcso-saml-name
fix(cloudid): vender update
2022-12-07 00:12:48 +08:00
ioito
a05c477038 fix(cloudid): vender update 2022-12-06 18:25:39 +08:00
Jian Qiu
47cf4ba412 fix: notify send email with duplicate attachments (#15492)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-06 15:20:22 +08:00
Zexi Li
8ae484a298 Merge pull request #15483 from swordqiu/hotfix/qj-trigger-vpcagent-sync-guest-start
fix: trigger vpcagent update when starting guest
2022-12-06 01:46:32 +08:00
Jian Qiu
7e8f6b2ea1 fix: allow baremetal to specify external tftp server and file (#15489)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-05 23:40:49 +08:00
Zexi Li
721da60d88 Merge pull request #15482 from swordqiu/automated-cherry-pick-of-#15480-upstream-master
Automated cherry pick of #15480: fix: host disable gso for specific nics
2022-12-05 18:19:37 +08:00
Zexi Li
e0f2bea3ad Merge pull request #15485 from swordqiu/feature/qj-update-hostname
feature: allow update hostname
2022-12-05 18:16:39 +08:00
Qiu Jian
911351fee6 feature: allow update hostname 2022-12-05 16:13:31 +08:00
Qiu Jian
eac5e84eff fix: trigger vpcagent update when starting guest 2022-12-04 02:56:50 +08:00
Qiu Jian
e5adbfc19a fix: host disable gso for specific nics 2022-12-04 00:56:17 +08:00
屈轩
380037f19c fix(region): hcs vpc emulated (#15478) 2022-12-02 10:08:44 +08:00
Jian Qiu
6c10a39bb3 fix: lbagent switch to backup (#15465)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-01 01:23:38 +08:00
屈轩
4a7fab8a52 fix(common): http request timeout (#15451) 2022-12-01 01:23:10 +08:00
Zexi Li
15912a9882 fix(scheduler): consider storage backend and mediumType size (#15469) 2022-12-01 01:22:36 +08:00
屈轩
66566c62ec fix(cloudmon): hcs metric (#15471) 2022-12-01 01:21:42 +08:00
Zexi Li
5e0180cff9 Merge pull request #15462 from swordqiu/hotfix/qj-aws-sync-os-arch
fix: aws sync os_arch
2022-11-30 17:53:42 +08:00
Qiu Jian
9027267c1d fix: aws sync os_arch 2022-11-30 01:02:11 +08:00
Zexi Li
3fd0a01541 Merge pull request #15460 from ioito/hotfix/qx-vender-update-hcs-eip
fix(region): vender update
2022-11-29 19:37:45 +08:00
ioito
c0bbda6166 fix(region): vender update 2022-11-29 18:37:42 +08:00
gouqi11
4d03dd0828 fix(region): fix modelarts create task setStatus (#15457) 2022-11-28 23:58:51 +08:00
gouqi11
73d3c20266 fix(region): add guest power states (#15450) 2022-11-28 23:57:27 +08:00
Zexi Li
19273b8060 Merge pull request #15439 from swordqiu/feature/qj-vpcagent-sync-handler
Feature/qj vpcagent sync handler
2022-11-28 19:16:45 +08:00
Zexi Li
a3f7624ce4 Merge pull request #15445 from swordqiu/hotfix/qj-vmware-convert-kvm-network-check
fix: vmware convert to kvm need check network configuration
2022-11-28 19:15:57 +08:00
Jian Qiu
5a1c786650 fix: lbagent master fixes (#15331)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-28 13:08:52 +08:00
Qiu Jian
132af11278 fix: vmware convert to kvm need check network configuration 2022-11-28 02:15:58 +08:00
Zexi Li
36e0f56a07 Merge pull request #15438 from gouqi11/fix/modelartSkuPugeAllForMaster
fix(region): delete modelart Sku purgeAll.managerId
2022-11-25 20:38:04 +08:00
Qiu Jian
f6c5006079 feature: vpcagent sync handler 2022-11-25 17:36:09 +08:00
Zexi Li
ac2ed81974 Merge pull request #15440 from gouqi11/fix/modelartsSkuDefault
fix(region): add modelarts sku policy
2022-11-25 15:49:14 +08:00
Jian Qiu
625d3ca3a2 fix: keep schedtask_label table name (#15434)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-25 15:39:01 +08:00
mhf
93d58fd89d fix(region): add modelarts sku policy 2022-11-25 15:34:48 +08:00
mhf
3e6c82f2fc fix(region): delete modelart Sku purgeAll.managerId 2022-11-24 22:38:15 +08:00
Zexi Li
ce20baa1d7 Merge pull request #15430 from ioito/hotfix/qx-hcs-image-import
fix(region): hcs image import
2022-11-24 10:43:26 +08:00
ioito
0b78227386 fix(region): hcs image import 2022-11-24 10:05:56 +08:00
Zexi Li
e55b26497f Merge pull request #15428 from ioito/hotfix/qx-hcs-fix
fix(region): hcs misc fix
2022-11-23 16:19:57 +08:00
ioito
64e12721a9 fix(region): hcs misc fix 2022-11-23 15:59:14 +08:00
14937 changed files with 6094278 additions and 640821 deletions

View File

@@ -7,7 +7,7 @@ jobs:
requires:
- check
docker:
- image: yunion/centos-build:go-1.18.3-0
- image: yunion/alpine-build:3.22.0-go-1.24.6-1
environment:
ONECLOUD_CI_BUILD: "1"

3
.editorconfig Normal file
View File

@@ -0,0 +1,3 @@
[*.sh]
indent_style = space
indent_size = 4

View File

@@ -1,18 +1,20 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
about: 报告代码缺陷/Create a bug report to help us improve
title: '[BUG]'
labels: bug
assignees: ''
---
**What happened**:
**问题描述/What happened**:
**Environment**:
**环境/Environment**:
- OS (e.g. `cat /etc/os-release`):
- Kernel (e.g. `uname -a`):
- Host: (e.g. `dmidecode | egrep -i 'manufacturer|product' |sort -u`)
- Service Version (e.g. `kubectl exec -n onecloud $(kubectl get pods -n onecloud | grep climc | awk '{print $1}') -- climc version-list`):
<!--
- Version (e.g. `climc version-list`):
-->

View File

@@ -1,7 +1,7 @@
---
name: Document Request
about: Document request to this project
title: ''
name: 文档问题/Document Request
about: 文档相关缺陷改进/Document request to this project
title: '[文档/Docs]'
labels:
- area/docs
- enhancement

View File

@@ -1,7 +1,7 @@
---
name: Feature Request
about: Suggest an idea for this project
title: ''
name: 新特性/Feature Request
about: 建议新功能特性/Suggest an idea for this project
title: '[Feature]'
labels: feature
assignees: ''

View File

@@ -1,7 +1,7 @@
---
name: Support Request
about: Support request or question relating to this project
title: ''
name: 求助/Support Request
about: 求助使用中遇到的问题/Support request relating to this project
title: '[求助/Help]'
labels: question
assignees: ''

View File

@@ -13,8 +13,7 @@ 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
- release/3.11
Take a look at "https://www.cloudpods.org/en/docs/contribute/contrib/" to learn how to submit a cherry-pick PR.
-->

38
.github/workflows/ci-pr-build-test.yml vendored Normal file
View File

@@ -0,0 +1,38 @@
name: Building and test for PR
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.25'
- name: Install check tools
shell: bash
run: |
set -o xtrace
git clone --branch master --depth 4 https://github.com/yunionio/tools && cd tools
go build ./cmd/goimports && sudo cp goimports /usr/bin/ && cd .. && rm -rf tools
git clone --depth 4 https://github.com/yousong/y18n && cd y18n
go build . && sudo cp y18n /usr/bin && cd .. && rm -rf y18n
- name: Test and build
shell: bash
run: |
set -o xtrace
export GO111MODULE=on
make -j3 check
make test
targets="$(find cmd -mindepth 1 -maxdepth 1 -type d | grep -v cmd/host-image | grep -v torrent)"
echo $targets | tr ' ' '\n'
make $targets
ls -lh _output/bin

View File

@@ -1,233 +0,0 @@
name: Docker image
on:
push:
branches:
- master
- releases/*
#paths:
#- 'cmd/*'
#- 'pkg/*'
#- 'vendor/*'
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.16
uses: actions/setup-go@v1
with:
go-version: 1.16
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Build
run: |
sudo apt-get update
sudo apt-get install librados-dev librbd-dev # baremetal-agent needs this
make cmd/baremetal-agent && ./scripts/bundle_libraries.sh _output/bin/bundles/baremetal-agent _output/bin/baremetal-agent
make docker-alpine-build F='-j4 cmd/host cmd/vpcagent cmd/region-dns make cmd/apigateway cmd/climc cmd/keystone make cmd/logger cmd/region cmd/scheduler cmd/webconsole make cmd/yunionconf cmd/glance cmd/torrent cmd/s3gateway make cmd/ansibleserver cmd/cloudnet cmd/notify make cmd/host-deployer make cmd/cloudevent cmd/devtool cmd/cloudid make cmd/*cli make cmd/esxi-agent'
- name: Image region
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/region
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.region
- name: Image host
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/host
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.host
- name: Image host-deployer
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/host-deployer
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.host-deployer
- name: Image baremetal-agent
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/baremetal-agent
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.baremetal-agent
- name: Image esxi-agent
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/esxi-agent
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.esxi-agent
- name: Image vpcagent
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/vpcagent
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.vpcagent
- name: Image climc
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/climc
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.climc
- name: Image keystone
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/keystone
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.keystone
- name: Image logger
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/logger
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.logger
- name: Image scheduler
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/scheduler
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.scheduler
- name: Image apigateway
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/apigateway
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.apigateway
- name: Image s3gateway
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/s3gateway
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.s3gateway
- name: Image ansibleserver
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/ansibleserver
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.ansibleserver
- name: Image cloudnet
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/cloudnet
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.cloudnet
- name: Image glance
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/glance
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.glance
- name: Image notify
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/notify
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.notify
- name: Image cloudevent
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/cloudevent
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.cloudevent
- name: Image cloudid
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/cloudid
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.cloudid
- name: Image devtool
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/devtool
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.devtool
- name: Image region DNS
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/region-dns
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.region-dns

52
.github/workflows/docker_apigateway.yml vendored Normal file
View File

@@ -0,0 +1,52 @@
name: Apigateway Docker Image
on:
push:
branches:
- 'releases/**'
- 'main'
- 'master'
paths:
- 'pkg/appsrv/**.go'
- 'pkg/cloudcommon/db/**.go'
- 'pkg/apigateway/**.go'
- 'pkg/apis/apigateway/**.go'
- 'pkg/mcclient/modules/**.go'
jobs:
build_apigateway:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 8
- uses: actions/setup-go@v4
with:
go-version: '1.25'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to Aliyun Container Registry (ACR)
uses: docker/login-action@v2
with:
registry: https://registry.us-west-1.aliyuncs.com
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build And Push Docker Image
shell: bash
run: |
set -o xtrace
export GO111MODULE=on
branch="${GITHUB_REF#refs/heads/}"
timestamp=`TZ="Asia/Shanghai" date +"%Y%m%d%H%M%S"`
export VERSION="$branch-$timestamp-solo"
export GOOS=linux
export ARCH=all
export REGISTRY=registry.us-west-1.aliyuncs.com/yunion-dev
make image apigateway

50
.github/workflows/docker_climc.yml vendored Normal file
View File

@@ -0,0 +1,50 @@
name: Climc Docker Image
on:
push:
branches:
- 'releases/**'
- 'main'
- 'master'
paths:
- 'cmd/climc/**.go'
- 'pkg/mcclient/**.go'
- 'vendor/yunion.io/x/structarg/**.go'
jobs:
build_climc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 8
- uses: actions/setup-go@v4
with:
go-version: '1.25'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to Aliyun Container Registry (ACR)
uses: docker/login-action@v2
with:
registry: https://registry.us-west-1.aliyuncs.com
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build And Push Docker Image
shell: bash
run: |
set -o xtrace
export GO111MODULE=on
branch="${GITHUB_REF#refs/heads/}"
timestamp=`TZ="Asia/Shanghai" date +"%Y%m%d%H%M%S"`
export VERSION="$branch-$timestamp-solo"
export GOOS=linux
export ARCH=all
export REGISTRY=registry.us-west-1.aliyuncs.com/yunion-dev
make image climc

51
.github/workflows/docker_cloudmon.yml vendored Normal file
View File

@@ -0,0 +1,51 @@
name: Cloudmon Docker Image
on:
push:
branches:
- 'releases/**'
- 'main'
- 'master'
paths:
- 'pkg/appsrv/**.go'
- 'pkg/cloudmon/**.go'
- 'vendor/yunion.io/x/cloudmux/pkg/multicloud/loader/**.go'
jobs:
build_webconsole:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 8
- uses: actions/setup-go@v4
with:
go-version: '1.25'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to Aliyun Container Registry (ACR)
uses: docker/login-action@v2
with:
registry: https://registry.us-west-1.aliyuncs.com
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build And Push Docker Image
shell: bash
run: |
set -o xtrace
export GO111MODULE=on
branch="${GITHUB_REF#refs/heads/}"
timestamp=`TZ="Asia/Shanghai" date +"%Y%m%d%H%M%S"`
export VERSION="$branch-$timestamp-solo"
export GOOS=linux
export ARCH=all
export REGISTRY=registry.us-west-1.aliyuncs.com/yunion-dev
make image cloudmon

49
.github/workflows/docker_esxi_agent.yml vendored Normal file
View File

@@ -0,0 +1,49 @@
name: Esxi Agent Docker Image
on:
push:
branches:
- 'releases/**'
- 'main'
- 'master'
paths:
- 'pkg/esxi/**.go'
jobs:
build_webconsole:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 8
- uses: actions/setup-go@v4
with:
go-version: '1.25'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to Aliyun Container Registry (ACR)
uses: docker/login-action@v2
with:
registry: https://registry.us-west-1.aliyuncs.com
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build And Push Docker Image
shell: bash
run: |
set -o xtrace
export GO111MODULE=on
branch="${GITHUB_REF#refs/heads/}"
timestamp=`TZ="Asia/Shanghai" date +"%Y%m%d%H%M%S"`
export VERSION="$branch-$timestamp-solo"
export GOOS=linux
export ARCH=all
export REGISTRY=registry.us-west-1.aliyuncs.com/yunion-dev
make image esxi-agent

53
.github/workflows/docker_glance.yml vendored Normal file
View File

@@ -0,0 +1,53 @@
name: Glance Docker Image
on:
push:
branches:
- 'releases/**'
- 'main'
- 'master'
paths:
- 'pkg/appsrv/**.go'
- 'pkg/cloudcommon/db/**.go'
- 'pkg/image/**.go'
- 'pkg/apis/image/**.go'
- 'vendor/yunion.io/x/sqlchemy/**.go'
- 'vendor/yunion.io/x/jsonutils/**.go'
jobs:
build_glance:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 8
- uses: actions/setup-go@v4
with:
go-version: '1.25'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to Aliyun Container Registry (ACR)
uses: docker/login-action@v2
with:
registry: https://registry.us-west-1.aliyuncs.com
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build And Push Docker Image
shell: bash
run: |
set -o xtrace
export GO111MODULE=on
branch="${GITHUB_REF#refs/heads/}"
timestamp=`TZ="Asia/Shanghai" date +"%Y%m%d%H%M%S"`
export VERSION="$branch-$timestamp-solo"
export GOOS=linux
export ARCH=all
export REGISTRY=registry.us-west-1.aliyuncs.com/yunion-dev
make image glance

49
.github/workflows/docker_host.yml vendored Normal file
View File

@@ -0,0 +1,49 @@
name: Host Docker Image
on:
push:
branches:
- 'releases/**'
- 'main'
- 'master'
paths:
- 'pkg/hostman/**.go'
- 'pkg/apis/host/**.go'
jobs:
build_host:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 8
- uses: actions/setup-go@v4
with:
go-version: '1.25'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to Aliyun Container Registry (ACR)
uses: docker/login-action@v2
with:
registry: https://registry.us-west-1.aliyuncs.com
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build And Push Docker Image
shell: bash
run: |
set -o xtrace
export GO111MODULE=on
branch="${GITHUB_REF#refs/heads/}"
timestamp=`TZ="Asia/Shanghai" date +"%Y%m%d%H%M%S"`
export VERSION="$branch-$timestamp-solo"
export GOOS=linux
export ARCH=all
export REGISTRY=registry.us-west-1.aliyuncs.com/yunion-dev
make image host

53
.github/workflows/docker_keystone.yml vendored Normal file
View File

@@ -0,0 +1,53 @@
name: Keystone Docker Image
on:
push:
branches:
- 'releases/**'
- 'main'
- 'master'
paths:
- 'pkg/appsrv/**.go'
- 'pkg/cloudcommon/db/**.go'
- 'pkg/keystone/**.go'
- 'pkg/apis/identity/**.go'
- 'vendor/yunion.io/x/sqlchemy/**.go'
- 'vendor/yunion.io/x/jsonutils/**.go'
jobs:
build_keystone:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 8
- uses: actions/setup-go@v4
with:
go-version: '1.25'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to Aliyun Container Registry (ACR)
uses: docker/login-action@v2
with:
registry: https://registry.us-west-1.aliyuncs.com
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build And Push Docker Image
shell: bash
run: |
set -o xtrace
export GO111MODULE=on
branch="${GITHUB_REF#refs/heads/}"
timestamp=`TZ="Asia/Shanghai" date +"%Y%m%d%H%M%S"`
export VERSION="$branch-$timestamp-solo"
export GOOS=linux
export ARCH=all
export REGISTRY=registry.us-west-1.aliyuncs.com/yunion-dev
make image keystone

53
.github/workflows/docker_logger.yml vendored Normal file
View File

@@ -0,0 +1,53 @@
name: Logger Docker Image
on:
push:
branches:
- 'releases/**'
- 'main'
- 'master'
paths:
- 'pkg/appsrv/**.go'
- 'pkg/cloudcommon/db/**.go'
- 'pkg/logger/**.go'
- 'pkg/apis/logger/**.go'
- 'vendor/yunion.io/x/sqlchemy/**.go'
- 'vendor/yunion.io/x/jsonutils/**.go'
jobs:
build_webconsole:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 8
- uses: actions/setup-go@v4
with:
go-version: '1.25'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to Aliyun Container Registry (ACR)
uses: docker/login-action@v2
with:
registry: https://registry.us-west-1.aliyuncs.com
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build And Push Docker Image
shell: bash
run: |
set -o xtrace
export GO111MODULE=on
branch="${GITHUB_REF#refs/heads/}"
timestamp=`TZ="Asia/Shanghai" date +"%Y%m%d%H%M%S"`
export VERSION="$branch-$timestamp-solo"
export GOOS=linux
export ARCH=all
export REGISTRY=registry.us-west-1.aliyuncs.com/yunion-dev
make image logger

53
.github/workflows/docker_notify.yml vendored Normal file
View File

@@ -0,0 +1,53 @@
name: Notify Docker Image
on:
push:
branches:
- 'releases/**'
- 'main'
- 'master'
paths:
- 'pkg/appsrv/**.go'
- 'pkg/cloudcommon/db/**.go'
- 'pkg/notify/**.go'
- 'pkg/apis/notify/**.go'
- 'vendor/yunion.io/x/sqlchemy/**.go'
- 'vendor/yunion.io/x/jsonutils/**.go'
jobs:
build_notify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 8
- uses: actions/setup-go@v4
with:
go-version: '1.25'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to Aliyun Container Registry (ACR)
uses: docker/login-action@v2
with:
registry: https://registry.us-west-1.aliyuncs.com
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build And Push Docker Image
shell: bash
run: |
set -o xtrace
export GO111MODULE=on
branch="${GITHUB_REF#refs/heads/}"
timestamp=`TZ="Asia/Shanghai" date +"%Y%m%d%H%M%S"`
export VERSION="$branch-$timestamp-solo"
export GOOS=linux
export ARCH=all
export REGISTRY=registry.us-west-1.aliyuncs.com/yunion-dev
make image notify

54
.github/workflows/docker_region.yml vendored Normal file
View File

@@ -0,0 +1,54 @@
name: Region Docker Image
on:
push:
branches:
- 'releases/**'
- 'main'
- 'master'
paths:
- 'pkg/appsrv/**.go'
- 'pkg/cloudcommon/db/**.go'
- 'pkg/compute/**.go'
- 'pkg/apis/compute/**.go'
- 'vendor/yunion.io/x/cloudmux/**.go'
- 'vendor/yunion.io/x/sqlchemy/**.go'
- 'vendor/yunion.io/x/jsonutils/**.go'
jobs:
build_region:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 8
- uses: actions/setup-go@v4
with:
go-version: '1.25'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to Aliyun Container Registry (ACR)
uses: docker/login-action@v2
with:
registry: https://registry.us-west-1.aliyuncs.com
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build And Push Docker Image
shell: bash
run: |
set -o xtrace
export GO111MODULE=on
branch="${GITHUB_REF#refs/heads/}"
timestamp=`TZ="Asia/Shanghai" date +"%Y%m%d%H%M%S"`
export VERSION="$branch-$timestamp-solo"
export GOOS=linux
export ARCH=all
export REGISTRY=registry.us-west-1.aliyuncs.com/yunion-dev
make image region

50
.github/workflows/docker_scheduler.yml vendored Normal file
View File

@@ -0,0 +1,50 @@
name: Scheduler Docker Image
on:
push:
branches:
- 'releases/**'
- 'main'
- 'master'
paths:
- 'pkg/scheduler/**.go'
- 'pkg/apis/scheduler/**.go'
jobs:
build_webconsole:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 8
- uses: actions/setup-go@v4
with:
go-version: '1.25'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to Aliyun Container Registry (ACR)
uses: docker/login-action@v2
with:
registry: https://registry.us-west-1.aliyuncs.com
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build And Push Docker Image
shell: bash
run: |
set -o xtrace
export GO111MODULE=on
branch="${GITHUB_REF#refs/heads/}"
timestamp=`TZ="Asia/Shanghai" date +"%Y%m%d%H%M%S"`
export VERSION="$branch-$timestamp-solo"
export GOOS=linux
export ARCH=all
export REGISTRY=registry.us-west-1.aliyuncs.com/yunion-dev
make image scheduler

53
.github/workflows/docker_webconsole.yml vendored Normal file
View File

@@ -0,0 +1,53 @@
name: Webconsole Docker Image
on:
push:
branches:
- 'releases/**'
- 'main'
- 'master'
paths:
- 'pkg/appsrv/**.go'
- 'pkg/cloudcommon/db/**.go'
- 'pkg/webconsole/**.go'
- 'pkg/apis/webconsole/**.go'
- 'vendor/yunion.io/x/sqlchemy/**.go'
- 'vendor/yunion.io/x/jsonutils/**.go'
jobs:
build_webconsole:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 8
- uses: actions/setup-go@v4
with:
go-version: '1.25'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to Aliyun Container Registry (ACR)
uses: docker/login-action@v2
with:
registry: https://registry.us-west-1.aliyuncs.com
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build And Push Docker Image
shell: bash
run: |
set -o xtrace
export GO111MODULE=on
branch="${GITHUB_REF#refs/heads/}"
timestamp=`TZ="Asia/Shanghai" date +"%Y%m%d%H%M%S"`
export VERSION="$branch-$timestamp-solo"
export GOOS=linux
export ARCH=all
export REGISTRY=registry.us-west-1.aliyuncs.com/yunion-dev
make image webconsole

View File

@@ -0,0 +1,17 @@
name: Issue Check Inactive
on:
schedule:
- cron: "0 0 * * *"
jobs:
issue-check-inactive:
runs-on: ubuntu-latest
steps:
- name: check-inactive
uses: actions-cool/issues-helper@v2
with:
actions: 'check-inactive'
inactive-label: 'stale'
inactive-day: 30
exclude-labels: 'announcement'

View File

@@ -0,0 +1,20 @@
name: Issue Close Require
on:
schedule:
- cron: "0 1 * * *"
jobs:
issue-close-require:
runs-on: ubuntu-latest
steps:
- name: need reproduce
uses: actions-cool/issues-helper@v2
with:
actions: 'close-issues'
labels: 'stale,state/awaiting user feedback'
inactive-day: 7
body: |
If you do not provide feedback for more than 37 days, we will close the issue and you can either reopen it or submit a new issue.
您超过 37 天未反馈信息,我们将关闭该 issue如有需求您可以重新打开或者提交新的 issue。

16
.github/workflows/issue-close.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: Issue Close Check
on:
issues:
types: [closed]
jobs:
issue-closed-remove-labels:
runs-on: ubuntu-latest
if: "!contains(github.event.issue.labels.*.name, 'stale')"
steps:
- name: Remove statle labels when issue that hasn't stale label is closed
uses: actions-cool/issues-helper@v2
with:
actions: 'remove-labels'
labels: 'state/awaiting processing,state/awaiting user feedback'

38
.github/workflows/issue-comment.yml vendored Normal file
View File

@@ -0,0 +1,38 @@
on:
issue_comment:
types: [created]
name: Add issues workflow labels
jobs:
add-label-if-is-author:
runs-on: ubuntu-latest
if: (github.event.issue.user.id == github.event.comment.user.id) && !github.event.issue.pull_request && (github.event.issue.state == 'open')
steps:
- name: Add require handle label
uses: actions-cool/issues-helper@v2
with:
actions: 'add-labels'
labels: 'state/awaiting processing'
- name: Remove require reply label
uses: actions-cool/issues-helper@v2
with:
actions: 'remove-labels'
labels: 'state/awaiting user feedback,stale'
add-label-if-not-author:
runs-on: ubuntu-latest
if: (github.event.issue.user.id != github.event.comment.user.id) && !github.event.issue.pull_request && (github.event.issue.state == 'open') && (!contains(github.event.comment.body, '/keep-state'))
steps:
- name: Add require replay label
uses: actions-cool/issues-helper@v2
with:
actions: 'add-labels'
labels: 'state/awaiting user feedback'
- name: Remove require handle label
uses: actions-cool/issues-helper@v2
with:
actions: 'remove-labels'
labels: 'state/awaiting processing,stale'

17
.github/workflows/issue-notify.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
on:
issue_comment:
types: [created]
jobs:
notify-author-comment:
runs-on: ubuntu-latest
if: (github.event.issue.user.id == github.event.comment.user.id) && !github.event.issue.pull_request
# find context from: https://docs.github.com/en/webhooks/webhook-events-and-payloads#issue_comment
steps:
- name: feishu notify
uses: zexi/action-issues-notify@v1
with:
url: ${{ secrets.FEISHU_BOT_WEBHOOK_URL }}
issue_title: "${{ github.event.comment.user.login }} 回复了 issue: ${{ github.event.issue.title }}"
issue_body: "${{ tojson(github.event.comment.body) }}"
issue_link_url: "${{github.event.comment.html_url}}"

33
.github/workflows/issue-open.yml vendored Normal file
View File

@@ -0,0 +1,33 @@
name: Issue Open Check
on:
issues:
types: [opened, reopened]
jobs:
issue-open-add-labels:
runs-on: ubuntu-latest
steps:
- name: Add labels
uses: actions-cool/issues-helper@v2
if: ${{ !github.event.comment.pull_request.pull_request }}
with:
actions: 'add-labels'
labels: 'state/awaiting processing'
- name: Remove require reply label
uses: actions-cool/issues-helper@v2
with:
actions: 'remove-labels'
labels: 'state/awaiting user feedback,stale'
notify-author-comment:
runs-on: ubuntu-latest
steps:
- name: feishu notify
uses: zexi/action-issues-notify@v1
with:
url: ${{ secrets.FEISHU_BOT_WEBHOOK_URL }}
issue_title: "${{ github.event.issue.user.login }} 提交了 issue: ${{ github.event.issue.title }}"
issue_body: "${{ tojson(github.event.issue.body) }}"
issue_link_url: "${{github.event.issue.html_url}}"

View File

@@ -18,7 +18,7 @@ You may answer issues at Github and help those who encounter issues when using C
## 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.
You are welcome to contribute codes to Cloudpods. Please refers to [CONTRIBUTING](https://www.cloudpods.org/en/docs/development/contrib/) for more details on how to contribute codes to Cloudpods.
### Fix Issues
@@ -29,8 +29,8 @@ You may help solve bugs by submiting patches.
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
* Develop new [features for Cloudpods](https://github.com/yunionio/cloudpods/issues?q=is%3Aopen+is%3Aissue+label%3Afeature).
* Recode some part of Cloudpods so as to make the code easier to be understood, or less error-prone, or more efficient.
## Documentation

View File

@@ -18,7 +18,7 @@ Cloudpods是一款开源的基础设施管理工具软件运行场景复杂
## 贡献代码
我们非常欢迎和感谢开发者向项目提交代码PR流程细节请查看 [CONTRIBUTING](https://www.cloudpods.org/zh/docs/contribute/contrib/).
我们非常欢迎和感谢开发者向项目提交代码PR流程细节请查看 [CONTRIBUTING](https://www.cloudpods.org/docs/development/contrib/).
### 修复BUG
@@ -27,8 +27,8 @@ Cloudpods是一款开源的基础设施管理工具软件运行场景复杂
### 开发新的功能特性
不仅仅是修复BUG您也可以通过提交代码以改进Cloudpods包括但不限于
* 开发新的功能特性,您可以在[Cloudpods Roadmap](https://www.cloudpods.org/zh/docs/roadmap/)找到Cloudpods的功能规划
* 重构代码,使得代码更加简洁易读,更加低健壮,或者执行起来更加高效
* 开发新的功能特性,您可以在[feature issues](https://github.com/yunionio/cloudpods/issues?q=is%3Aopen+is%3Aissue+label%3Afeature)查找需要的功能
* 重构代码,使得代码更加简洁易读,更加低健壮,或者执行起来更加高效
## 文档

View File

@@ -47,11 +47,6 @@ PKGS := go list ./...
CGO_CFLAGS_ENV = $(shell go env CGO_CFLAGS)
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 -lgnutls -lnettle -L ${LIBQEMUIO_PATH}/src
endif
export GOOS ?= linux
export GO111MODULE:=on
export CGO_CFLAGS = ${X_CGO_CFLAGS}
@@ -63,7 +58,7 @@ ifeq ($(UNAME), Linux)
XARGS_FLAGS = --no-run-if-empty
endif
cmdTargets:=$(filter-out cmd/host-image,$(wildcard cmd/*))
cmdTargets:=$(wildcard cmd/*)
rpmTargets:=$(foreach b,$(patsubst cmd/%,%,$(cmdTargets)),$(if $(shell [ -f "$(CURDIR)/build/$(b)/vars" ] && echo 1),rpm/$(b)))
debTargets:=$(foreach b,$(patsubst cmd/%,%,$(cmdTargets)),$(if $(shell [ -f "$(CURDIR)/build/$(b)/vars" ] && echo 1),deb/$(b)))
@@ -81,7 +76,7 @@ gencopyright:
@bash scripts/gencopyright.sh pkg cmd
test:
@go test $(GO_BUILD_FLAGS) $(shell go list ./... | egrep -v 'host-image|hostimage')
@go test $(GO_BUILD_FLAGS) $(shell go list ./... | egrep -v 'host-image|hostimage|torrent')
vet:
go vet ./...
@@ -89,11 +84,8 @@ vet:
# 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)/$@
cmd/%: prepare_dir
$(GO_BUILD) -o $(BIN_DIR)/$(shell basename $@) $(REPO_PREFIX)/$@
CGO_ENABLED=0 $(GO_BUILD) -o $(BIN_DIR)/$(shell basename $@) $(REPO_PREFIX)/$@
rpm/%: cmd/%
$(BUILD_SCRIPT) $*
@@ -104,21 +96,6 @@ deb/%: cmd/%
pkg/%: prepare_dir
$(GO_INSTALL) $(REPO_PREFIX)/$@
rpm/fetcherfs: cmd/fetcherfs
docker run --rm \
--name docker-centos-build-fetcherfs \
-v $(CURDIR):/data \
registry.cn-beijing.aliyuncs.com/yunionio/centos-build:1.1-4 \
/bin/bash -c "VERSION=3.6 /data/build/build.sh fetcherfs /opt/yunion/fetchclient/bin"
deb/fetcherfs: rpm/fetcherfs
#VERSION=3.6 $(DEB_BUILD_SCRIPT) fetcherfs /opt/yunion/fetchclient/bin
docker run --rm \
--name docker-debian-build-fetcherfs \
-v $(CURDIR):/data \
registry.cn-beijing.aliyuncs.com/yunionio/debian10-base:1.0 \
/data/build/convert_rpm2deb.sh
build:
$(MAKE) $(cmdTargets)
@@ -189,7 +166,8 @@ goimports-check:
echo "$@: working tree modified (possibly by goimports)" >&2 ; \
echo "$@: " >&2 ; \
echo "$@: import spec should be grouped in order: std, 3rd-party, yunion.io/x, yunion.io/x/onecloud" >&2 ; \
echo "$@: see \"yun\" branch at https://github.com/yousong/tools" >&2 ; \
echo "$@: goimports should be installed by: \
echo "$@: git clone --depth 4 https://github.com/yunionio/tools && cd tools && go install ./cmd/goimports ; \
false ; \
fi
.PHONY: goimports-check
@@ -258,7 +236,7 @@ hostdeployer-grpc-gen:
check: fmt-check
check: gendocgo-check
check: goimports-check
#check: goimports-check
#check: vet-check
#check: y18n-check
.PHONY: check
@@ -282,22 +260,18 @@ dep:
@echo "$$depDeprecated"
@$(MAKE) mod
RELEASE_BRANCH:=master
RELEASE_BRANCH:=release/4.0.2
GOPROXY ?= direct
mod:
GOPROXY=$(GOPROXY) go get -d yunion.io/x/cloudmux@$(RELEASE_BRANCH)
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' | grep -v '/cloudmux$$'))
go mod tidy
go mod vendor -v
GOPROXY=$(GOPROXY) GONOSUMDB=yunion.io/x go get yunion.io/x/cloudmux@$(RELEASE_BRANCH)
GOPROXY=$(GOPROXY) GONOSUMDB=yunion.io/x go get $(patsubst %,%@master,$(shell GO111MODULE=on go mod edit -print | sed -n -e 's|.*\(yunion.io/x/[a-z].*\) v.*|\1|p' | grep -v '/cloudmux$$'))
GOPROXY=$(GOPROXY) GONOSUMDB=yunion.io/x go mod tidy
GOPROXY=$(GOPROXY) GONOSUMDB=yunion.io/x go mod vendor -v
define helpText
Build with docker
make docker-centos-build F='-j4'
make docker-centos-build F='-j4 cmd/region cmd/climc'
make docker-centos-build-stop
make docker-alpine-build F='-j4'
make docker-alpine-build F='-j4 cmd/host cmd/host-deployer'
make docker-alpine-build-stop
@@ -349,7 +323,7 @@ image:
.PHONY: image
image-telegraf-raid-plugin:
VERSION=release-1.6.4 ARCH=all make image telegraf-raid-plugin
VERSION=v4.0-20260115.0 GOOS=linux ARCH=all make image telegraf-raid-plugin
%:
@:

View File

@@ -8,8 +8,7 @@ endif
ModBaseName:=$(notdir $(ModName))
DockerImageRegistry?=registry.cn-beijing.aliyuncs.com
DockerImageAlpineBuild?=$(DockerImageRegistry)/yunionio/alpine-build:3.16.0-go-1.18.2-0
DockerImageCentOSBuild?=$(DockerImageRegistry)/yunionio/centos-build:go-1.18.3-0
DockerImageAlpineBuild?=$(DockerImageRegistry)/yunionio/alpine-build:3.22.2-go-1.24.9-0
EnvIf=$(if $($(1)),$(1)=$($(1)))
@@ -29,27 +28,6 @@ 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-$(tmpName) &>/dev/null || true
docker run \
--rm \
--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 \
$(DockerImageCentOSBuild) \
/bin/bash -c "$$dockerCentOSBuildCmd"
ls -lh _output/centos-build/bin
# 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-$(tmpName) || true
.PHONY: docker-centos-build
.PHONY: docker-centos-build-stop
define dockerAlpineBuildCmd
set -o xtrace

7
OWNERS
View File

@@ -1,9 +1,6 @@
# See the OWNERS docs at https://go.k8s.io/owners
reviewers:
- Zexi
- ioito
- swordqiu
- tb365
approvers:
- swordqiu
- Zexi
- ioito
- wanyaoqi

View File

@@ -1,12 +1,13 @@
# Cloudpods
[![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)
[简体中文](./README-CN.md) | [English](./README.md)
## Cloudpods是什么?
<img src="https://www.cloudpods.org/images/cloudpods_logo_green.png" alt="Cloudpods" height="100">
<img src="https://v1.cloudpods.org/images/cloudpods_logo_green.png" alt="Cloudpods" height="100">
Cloudpods是一个开源的Golang实现的云原生的融合多云/混合云的云平台也就是一个“云上之云”。Cloudpods不仅可以管理本地的虚拟机和物理机资源还可以管理多个云平台和云账号。Cloudpods隐藏了这些异构基础设施资源的数据模型和API的差异对外暴露了一套统一的API允许用户就像用一个云一样地访问多云。从而大大降低了访问多云的复杂度提升了管理多云的效率。
@@ -21,184 +22,7 @@ Cloudpods是一个开源的Golang实现的云原生的融合多云/混合云的
## 功能
### 概览 & UI 展示
<details>
<summary>管理多云资源的功能可以管理大多数的主流云包括私有云例如OpenStack以及公有云例如AWSAzureGCP阿里云华为云和腾讯云等</summary>
<ul>
<li>
<p>云帐号纳管</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/cloudselect.png" alt="multi cloud management">
</li>
<li>
<p>云帐号列表</p>
<img src="https://i.imgur.com/Q0LipfI.png" alt="cloud account list">
</li>
<li>
<p>公有云虚拟机列表</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/publicvmlist.png">
</li>
</ul>
</details>
<details>
<summary>
一个可以管理海量KVM虚拟机的轻量级私有云
</summary>
<ul>
<li>
<p>虚拟机列表</p>
<img src="https://i.imgur.com/DbkRUoo.png">
</li>
<li>
<p>虚拟机创建页面</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createkvmvm1.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createkvmvm2.png">
</li>
<li>
<p>虚拟机可通过 VNC 或者 SSH 登录</p>
<img src="https://i.imgur.com/m0rkeQ3.png">
</li>
<li>
<p>宿主机列表</p>
<img src="https://imgur.com/i509t5a.png">
</li>
<li>
<p>镜像模板列表</p>
<img src="https://imgur.com/UVFLGi2.png">
</li>
<li>
<p>VPC列表</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vpclist.png">
</li>
<li>
<p>二层网络列表(经典网络)</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/wirelist.png">
</li>
<li>
<p>IP子网列表</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/ipsubnetlist.png">
</li>
<li>
<p>弹性公网IP列表VPC网络</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vpclist.png">
</li>
<li>
<p>LB列表</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/lblist.png">
</li>
</ul>
</details>
<details>
<summary>
一个能进行物理机全生命周期管理的裸机云
</summary>
<ul>
<li>
<p>物理机列表</p>
<img src="https://i.imgur.com/Jz8b5nC.png">
</li>
<li>
<p>物理机纳管</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/addphysicalmachine.png">
</li>
<li>
<p>安装操作系统</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createbaremetal.png">
</li>
<li>支持 ARM64 的物理机服务器</li>
</ul>
</details>
<details>
<summary>一套完整的多租户认证和访问控制体系</summary>
<ul>
<li>
<p>支持本地sql、LDAP 等认证源</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/idplist.png">
</li>
<li>
<p>多租户系统,包括域,项目,组,用户,角色和权限等</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/domainlist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/projectlist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/grouplist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/userlist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/rolelist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/policylist.png">
</li>
</ul>
</details>
<details>
<summary>
实现了VMware vSphere虚拟化集群的自助服务和自动化
</summary>
<ul>
<li>
<p>添加VMware云账号</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createvmware.png">
</li>
<li>
<p>VMware云账号列表</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vmwarelist.png">
</li>
<li>
<p>自动创建二层网络</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vmwarewirelist.png">
</li>
<li>
<p>自动创建IP子网</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vmwareipsubnetlist.png">
</li>
<li>
<p>新建VMware虚拟机</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createvmwarevm1.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createvmwarevm2.png">
</li>
</ul>
</details>
<details>
<summary>
允许以统一的联邦身份访问各个云平台的原生控制台的SSO
</summary>
<ul>
<li>
<p>为云账号开启免密登录(以阿里云为例)</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/enablecloudsso.png">
</li>
<li>
<p>将Cloudpods平台用户添加为免密登录用户</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/addsamluser.png">
</li>
<li>
<p>多云统一登录入口</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/cloudssoentry.png">
</li>
<li>
<p>多云统一登录-免密登录用户列表</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/cloudsamluser.png">
</li>
<li>
<p>Cloudpods平台用户免密登录阿里云</p>
</li>
</ul>
</details>
<details>
<summary>
一套功能丰富、统一一致的RESTAPI和模型访问以上的云资源和功能
</summary>
</details>
<details>
<summary>
自动将镜像转换为不同云平台需要的格式的多云镜像服务
</summary>
</details>
请访问[产品介绍](https://www.cloudpods.org/docs/introduction/)页面了解详细信息。
### 支持的云平台
@@ -220,7 +44,7 @@ Cloudpods是一个开源的Golang实现的云原生的融合多云/混合云的
* Huawei HCSO (华为HCSO)
* Nutanix
* 本地基础设施资源:
* KVM
* 基于 KVM 实现的轻量级私有云
* VMWare vSphere vCenter/ESXi
* Baremetals (IPMI, Redfish API)
* Object storages (Minio, Ceph, XSky)
@@ -229,7 +53,7 @@ Cloudpods是一个开源的Golang实现的云原生的融合多云/混合云的
### 支持的云资源
* 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
* Load Balancers: instances, listeners, backend groups, backends, TLS certificates, ACLs
* Object Storage: buckets, objects
* NAS: file_systems, access_groups, mount_targets
* RDS: instances, accounts, backups, databases, parameters, privileges
@@ -237,52 +61,9 @@ Cloudpods是一个开源的Golang实现的云原生的融合多云/混合云的
* DNS: DNS zones, DNS records
* VPC: VPCs, VPC peering, inter-VPC network, NAT gateway, DNAT/SNAT rules, route tables, route entries
## 快速开始
## 安装部署
我们可以通过以下简单三步将Cloudpods安装在一台至少8GiB内存和100GB硬盘的Linux主机上目前CentOS 7和Debian 10经过充分测试
(下面假设该主机的IP为 *10.168.26.216*)
### 1. 准备SSH免密登录
```bash
# 生成ssh密钥对
# (如果已经有~/.ssh/id_rsa和~/.ssh/id_rsa.pub,请跳过此步。请确保ssh密钥私钥未设置密码)
$ ssh-keygen -t rsa -N ''
# 将生成的ssh公钥~/.ssh/id_rsa.pub拷贝到待部署的目标主机
$ ssh-copy-id -i ~/.ssh/id_rsa.pub root@10.168.26.216
# 测试SSH免密登录是否生效。免密登录到待部署主机执行hostname命令
# 如果设置成功,执行下面命令能够回显待部署主机的主机名
# 不需要输入待部署主机的密码
$ 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 -b release/3.8 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/allinone/) 获得更详细的安装指导。
已经有 Kubernetes 集群?可以尝试 [使用 Helm 安装 Cloudpods](https://www.cloudpods.org/zh/docs/quickstart/k8s/)。
请参考文档[安装部署](https://www.cloudpods.org/docs/getting-started/)选择合适的场景部署。
## 文档
@@ -296,23 +77,13 @@ $ git clone -b release/3.8 https://github.com/yunionio/ocboot && cd ./ocboot &&
## 联系我们
您可以通过如下方式联系我们:
* 请查看[联系我们](https://www.cloudpods.org/docs/contact/)。
* [服务订阅](https://www.yunion.cn/subscription/index.html)
* 哔哩哔哩: [Cloudpods](https://space.bilibili.com/623431553/)
* 微信: 请扫描如下二维码联系我们
<img src="https://www.cloudpods.org/images/contact_me_qr_20210701.png" alt="WeChat QRCode">
* TG群: [cloudpods](https://t.me/cloudpods_org)
## 版本历史
访问[Cloudpods Changelog](https://www.cloudpods.org/zh/docs/changelog/).
## 开发规划
请访问[Cloudpods Roadmap](https://www.cloudpods.org/zh/docs/roadmap/).
查看[发布日志](https://www.cloudpods.org/docs/release-notes/)和[Changelog](https://www.cloudpods.org/docs/development/changelog/)
## 贡献
@@ -321,3 +92,7 @@ $ git clone -b release/3.8 https://github.com/yunionio/ocboot && cd ./ocboot &&
## License
Apache license 2.0,详情请看 [LICENSE](./LICENSE)。
## AI生成文档
[DeepWiki](https://deepwiki.com/yunionio/cloudpods) 提供了对本项目代码详细和全面的AI解读可以参考。

259
README.md
View File

@@ -1,14 +1,13 @@
# Cloudpods
[![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)
[English](./README.md) | [简体中文](./README-CN.md)
## What is Cloudpods?
<img src="https://www.cloudpods.org/images/cloudpods_logo_green.png" alt="Cloudpods" height="100">
<img src="https://v1.cloudpods.org/images/cloudpods_logo_green.png" alt="Cloudpods" height="100">
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.
@@ -23,186 +22,7 @@ Cloudpods is a cloud-native open source unified multi/hybrid-cloud platform deve
## Features
### Summary & UI
<details>
<summary>
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.
</summary>
<ul>
<li>
<p>Cloud account create form</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/cloudselect.png" alt="multi cloud management">
</li>
<li>
<p>Cloud accounts list</p>
<img src="https://i.imgur.com/Q0LipfI.png" alt="cloud account list">
</li>
<li>
<p>Multi public cloud VM list</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/publicvmlist.png">
</li>
</ul>
</details>
<details>
<summary>
A light-weight private cloud that manages KVM hypervisor in scale
</summary>
<ul>
<li>
<p>VM instances list</p>
<img src="https://i.imgur.com/DbkRUoo.png">
</li>
<li>
<p>Create VM instance form</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createkvmvm1.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createkvmvm2.png">
</li>
<li>
<p>VNC and SSH login page</p>
<img src="https://i.imgur.com/m0rkeQ3.png">
</li>
<li>
<p>Host list</p>
<img src="https://imgur.com/i509t5a.png">
</li>
<li>
<p>Image template list</p>
<img src="https://imgur.com/UVFLGi2.png">
</li>
<li>
<p>VPC list</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vpclist.png">
</li>
<li>
<p>Wire list (Classic Network)</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/wirelist.png">
</li>
<li>
<p>IPsubnet list</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/ipsubnetlist.png">
</li>
<li>
<p>Eip list (VPC Network)</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vpclist.png">
</li>
<li>
<p>LB list</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/lblist.png">
</li>
</ul>
</details>
<details>
<summary>
A BareMetal cloud that automates the full life-cycle management of baremetal physical machines
</summary>
<ul>
<li>
<p>BareMetal list</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/physicalmachinelist.png">
</li>
<li>
<p>Baremetal Management</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/addphysicalmachine.png">
</li>
<li>
<p>Create OS on BareMetal</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createbaremetal.png">
</li>
<li>ARM64 baremetal supported</li>
</ul>
</details>
<details>
<summary>
A complete multi-tenancy RBAC-enabled IAM (identity and access management) system
</summary>
<ul>
<li>
<p>sql, LDAP supported</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/idplist.png">
</li>
<li>
<p>Multi-tenancy system, include domain, project, group, user, role, policy</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/domainlist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/projectlist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/grouplist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/userlist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/rolelist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/policylist.png">
</ul>
</details>
<details>
<summary>
VMware vSphere management that enables self-service and automation
</summary>
<ul>
<li>
<p>Add VMware account</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createvmware.png">
</li>
<li>
<p>VMware account list</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vmwarelist.png">
</li>
<li>
<p>Automatic creation of wire</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vmwarewirelist.png">
</li>
<li>
<p>Automatic creation of ipsubnet</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vmwareipsubnetlist.png">
</li>
<li>
<p>Create a VMware VM instance</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createvmwarevm1.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createvmwarevm2.png">
</li>
</ul>
</details>
<details>
<summary>
Cloud SSO that allows accessing native webconsole of cloud providers with unified federated identities
</summary>
<ul>
<li>
<p>Enable the SSO login function of the cloud account (aliyun as an example)</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/enablecloudsso.png">
</li>
<li>
<p>create saml users</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/addsamluser.png">
</li>
<li>
<p>Cloud SSO entry</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/cloudssoentry.png">
</li>
<li>
<p>Cloud SSO - SSO login user</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/cloudsamluser.png">
</li>
<li>
<p>Sign in to the public cloud platform with SSO</p>
</li>
</ul>
</details>
<details>
<summary>
One set of feature-rich APIs to access a wide range of resources from cloud providers above with consistent models and APIs
</summary>
</details>
<details>
<summary>
Multi-cloud image management system that automates image conversion between different cloud providers
</summary>
</details>
See [Introduction](https://www.cloudpods.org/docs/introduction/) for details.
### Supported cloud providers
@@ -224,7 +44,7 @@ Cloudpods is a cloud-native open source unified multi/hybrid-cloud platform deve
* Huawei HCSO
* Nutanix
* On-premise resources:
* KVM
* Lightweight private cloud built on KVM
* VMWare vSphere vCenter/ESXi
* Baremetals (IPMI, Redfish API)
* Object storages (Minio, Ceph, XSky)
@@ -233,7 +53,7 @@ Cloudpods is a cloud-native open source unified multi/hybrid-cloud platform deve
### Supported resources
* 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
* Load Balancers: instances, listeners, backend groups, backends, TLS certificates, ACLs
* Object Storage: buckets, objects
* NAS: file_systems, access_groups, mount_targets
* RDS: instances, accounts, backups, databases, parameters, privileges
@@ -241,55 +61,9 @@ Cloudpods is a cloud-native open source unified multi/hybrid-cloud platform deve
* DNS: DNS zones, DNS records
* VPC: VPCs, VPC peering, inter-VPC network, NAT gateway, DNAT/SNAT rules, route tables, route entries
## Quick start
## Getting started
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. Make sure generating key WIHOUT passphrase)
$ ssh-keygen -t rsa -N ''
# 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 -b release/3.8 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/zh/docs/quickstart/allinone/).
Already having a Kubernetes? Try [installing Cloudpods with Helm](https://www.cloudpods.org/zh/docs/quickstart/k8s/).
Please refer to the document [Getting Started](https://www.cloudpods.org/en/docs/getting-started/) to select the appropriate scenario for installation.
## Documentations
@@ -304,23 +78,13 @@ Please check this [issue](https://github.com/yunionio/cloudpods/issues/11427) fo
## Contact
You may contact us by:
* See [Contact Us](https://www.cloudpods.org/en/docs/contact/) for details.
* [Subscription](https://www.yunion.cn/subscription/index.html)
* 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">
* Telegram: [cloudpods](https://t.me/cloudpods_org)
## 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.
See [Relase Notes](https://www.cloudpods.org/en/docs/release-notes/) and [Changelog](https://www.cloudpods.org/en/docs/development/changelog/) for details.
## Contribution
@@ -329,3 +93,8 @@ You are welcome to do any kind of contribution to the project. Please refer to [
## License
Apache License 2.0. See [LICENSE](./LICENSE).
## AI-generated doc
[DeepWiki](https://deepwiki.com/yunionio/cloudpods) provides an amazing AI-generated doc of this project, you may refer to it for more detailed and comprehensive understanding of codes.

View File

@@ -36,6 +36,12 @@ fi
. $ROOT/vars
BUILDROOT=$(mktemp -d 2>/dev/null || mktemp -d -t 'yunion')
function cleanup {
rm -rf "$BUILDROOT"
echo "Deleted temp working directory $BUILDROOT"
}
# register the cleanup function to be called on the EXIT signal
trap cleanup EXIT
echo "Build root ${BUILDROOT}"
@@ -104,41 +110,87 @@ if [ -d $ROOT/root ]; then
rsync -a $ROOT/root/ \$RPM_BUILD_ROOT
fi
%pre
%pre" > $SPEC_FILE
if [ -f $ROOT/preinst ]; then
cat $ROOT/preinst >> $SPEC_FILE
else
echo "
%if %{use_systemd}
getent group %{owner} >/dev/null || /usr/sbin/groupadd -r %{owner}
getent passwd %{owner} >/dev/null || /usr/sbin/useradd -r -s /sbin/nologin -d %{homedir} -M -g %{owner} %{owner}
%endif
" >> $SPEC_FILE
fi
%post
echo "
%post" >> $SPEC_FILE
if [ -f $ROOT/postinst ]; then
cat $ROOT/postinst >> $SPEC_FILE
else
echo "
%if %{use_systemd}
mkdir -p /var/run/%{owner}
chown -R %{owner}:%{owner} /var/run/%{owner}
/usr/bin/systemctl preset %{pkgname}.service >/dev/null 2>&1 ||:
%endif
" >> $SPEC_FILE
fi
%preun
echo "
%preun" >> $SPEC_FILE
if [ -f $ROOT/prerm ]; then
cat $ROOT/prerm >> $SPEC_FILE
else
echo "
%if %{use_systemd}
/usr/bin/systemctl --no-reload disable %{pkgname}.service >/dev/null 2>&1 || :
/usr/bin/systemctl stop %{pkgname}.service >/dev/null 2>&1 ||:
%endif
" >> $SPEC_FILE
fi
%postun
echo "
%postun" >> $SPEC_FILE
if [ -f $ROOT/postrm ]; then
cat $ROOT/postrm >> $SPEC_FILE
else
echo "
%if %{use_systemd}
/usr/bin/systemctl daemon-reload >/dev/null 2>&1 ||:
%endif
" >> $SPEC_FILE
fi
echo -n "
%files
%doc
$BIN_PATH/$PKG
$(for b in $EXTRA_BINS; do echo $BIN_PATH/$b; done)
" > $SPEC_FILE
" >> $SPEC_FILE
for b in $EXTRA_BINS; do
echo $BIN_PATH/$b >> $SPEC_FILE
done
if [ -d $ROOT/root/ ]; then
find $ROOT/root/ -type f | sed -e "s:$ROOT/root::g" >> $SPEC_FILE
fi
rpmbuild --define "_topdir $BUILDROOT" -bb $SPEC_FILE
TARGET=
case "$GOARCH" in
"arm64" | "aarch64" | "arm")
TARGET="--target aarch64-redhat-linux"
;;
"amd64" | "x86" | "i686" | "i386" | "x86_64")
TARGET="--target x86_64-redhat-linux"
;;
"riscv64")
TARGET="--target riscv64-linux"
;;
esac
rpmbuild --define "_topdir $BUILDROOT" -bb $SPEC_FILE $TARGET
find $RPM_DIR -type f | while read f; do
d="$(dirname "$f")"
@@ -146,5 +198,3 @@ find $RPM_DIR -type f | while read f; do
mkdir -p "$d"
cp $f $d
done
rm -fr $BUILDROOT

View File

@@ -35,14 +35,48 @@ fi
. $ROOT/vars
case $(uname -m) in
x86_64)
CURRENT_ARCH=amd64
;;
aarch64)
CURRENT_ARCH=arm64
;;
riscv64)
CURRENT_ARCH=riscv64
;;
esac
if [[ -n "$GOARCH" ]]; then
case "$GOARCH" in
"arm64" | "arm" | "aarch64")
CURRENT_ARCH="arm64"
;;
"x86" | "x86_64" | "i686" | "i386" | "amd64")
CURRENT_ARCH="amd64"
;;
"riscv64")
CURRENT_ARCH="riscv64"
;;
esac
fi
if [ -z "$VERSION" ]; then
TAG=$(git describe --abbrev=0 --tags || echo 000000)
VERSION=${TAG/\//-}
VERSION=${VERSION/v/}
VERSION=${VERSION/master-/}
fi
RELEASE=`date +"%y%m%d%H"`
FULL_VERSION=$VERSION-$RELEASE
BUILDROOT=$OUTPUT_DIR/yunion-$1-$FULL_VERSION
BUILDROOT=$OUTPUT_DIR/yunion-${PKG}-${FULL_VERSION}_${CURRENT_ARCH}
function cleanup {
rm -rf "$BUILDROOT"
echo "Deleted temp working directory $BUILDROOT"
}
# register the cleanup function to be called on the EXIT signal
trap cleanup EXIT
rm -rf $BUILDROOT
mkdir -p $BUILDROOT/DEBIAN
mkdir -p $BUILDROOT/$BIN_PATH
@@ -52,27 +86,90 @@ if [ -d $ROOT/root ]; then
cp -rf $ROOT/root/* $BUILDROOT/
fi
echo "Build root ${BUILDROOT}"
case $(uname -m) in
x86_64)
CURRENT_ARCH=amd64
;;
aarch64)
CURRENT_ARCH=arm64
;;
esac
echo "Package: yunion-$1
echo "Package: yunion-$PKG
Version: $FULL_VERSION
Section: base
Priority: optional
Architecture: $CURRENT_ARCH
Maintainer: wanyaoqi@yunionyun.com
Description: Yunion $1
" > $BUILDROOT/DEBIAN/control
Description: $DESCRIPTION" > $BUILDROOT/DEBIAN/control
if [ ${#REQUIRES[@]} -gt 0 ]; then
DEPS=$(IFS=, ; echo "${REQUIRES[*]}")
echo "Depends: $DEPS" >> $BUILDROOT/DEBIAN/control
fi
chmod 0755 $BUILDROOT/DEBIAN/control
cat $BUILDROOT/DEBIAN/control
dpkg-deb --build $BUILDROOT
echo "#!/bin/bash
" > $BUILDROOT/DEBIAN/preinst
if [ -f $ROOT/preinst ]; then
cat $ROOT/preinst >> $BUILDROOT/DEBIAN/preinst
else
if [ "$SERVICE" == "yes" ] && [ -n "$OWNER" ]; then
echo "
getent group ${OWNER} >/dev/null || /usr/sbin/groupadd -r ${OWNER}
getent passwd ${OWNER} >/dev/null || /usr/sbin/useradd -r -s /sbin/nologin -d /home/${OWNER} -M -g ${OWNER} ${OWNER}
" >> $BUILDROOT/DEBIAN/preinst
fi
fi
chmod 0755 $BUILDROOT/DEBIAN/preinst
echo "#!/bin/bash
" > $BUILDROOT/DEBIAN/postinst
if [ -f $ROOT/postinst ]; then
cat $ROOT/postinst >> $BUILDROOT/DEBIAN/postinst
else
if [ "$SERVICE" == "yes" ]; then
echo "
/usr/bin/systemctl preset yunion-${PKG}.service >/dev/null 2>&1 ||:
" >> $BUILDROOT/DEBIAN/postinst
fi
fi
chmod 0755 $BUILDROOT/DEBIAN/postinst
echo "#!/bin/bash
" > $BUILDROOT/DEBIAN/prerm
if [ -f $ROOT/prerm ]; then
cat $ROOT/prerm >> $BUILDROOT/DEBIAN/prerm
else
if [ "$SERVICE" == "yes" ]; then
echo "
/usr/bin/systemctl --no-reload disable yunion-${PKG}.service >/dev/null 2>&1 || :
/usr/bin/systemctl stop yunion-${PKG}.service >/dev/null 2>&1 ||:
" >> $BUILDROOT/DEBIAN/prerm
fi
fi
chmod 0755 $BUILDROOT/DEBIAN/prerm
echo "#!/bin/bash
" > $BUILDROOT/DEBIAN/postrm
if [ -f $ROOT/postrm ]; then
cat $ROOT/postrm >> $BUILDROOT/DEBIAN/postrm
else
if [ "$SERVICE" == "yes" ]; then
echo "
/usr/bin/systemctl daemon-reload >/dev/null 2>&1 ||:
" >> $BUILDROOT/DEBIAN/postrm
fi
fi
chmod 0755 $BUILDROOT/DEBIAN/postrm
dpkg-deb --build $BUILDROOT
case "$CURRENT_ARCH" in
"amd64")
DSTARCH="x86_64"
;;
"arm64")
DSTARCH="aarch64"
;;
"riscv64")
DSTARCH="riscv64"
;;
esac
mkdir -p ${OUTPUT_DIR}/${DSTARCH}
mv ${BUILDROOT}.deb ${OUTPUT_DIR}/${DSTARCH}/

View File

@@ -0,0 +1,19 @@
#!/bin/bash
set -e
BASHRC=/etc/profile.d/climc.sh
grep -q rcadmin $BASHRC || echo 'source /etc/yunion/rcadmin' >> $BASHRC
source $BASHRC
climc sshkeypair-inject --admin --target-dir /root/
mkdir -p /etc/dropbear
mkdir -p /var/run/dropbear
test -f /etc/dropbear/dropbear_rsa_host_key || dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key
dropbear -RFEjk -G root -p 22

View File

@@ -1,3 +1,22 @@
export PATH=/opt/yunion/bin:$PATH
if [ -f /etc/profile.d/bash_completion.sh ]; then
source /etc/profile.d/bash_completion.sh
fi
test -f /etc/yunion/rcadmin && source /etc/yunion/rcadmin
if [ -n "$OS_AUTH_TOKEN" ]; then
test -n "$OS_USERNAME" && unset OS_USERNAME
test -n "$OS_PASSWORD" && unset OS_PASSWORD
test -n "$OS_DOMAIN_NAME" && unset OS_DOMAIN_NAME
test -n "$OS_ACCESS_KEY" && unset OS_ACCESS_KEY
test -n "$OS_SECRET_KEY" && unset OS_SECRET_KEY
fi
source <(climc --completion bash)
source <(kubectl completion bash)
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

@@ -47,6 +47,11 @@ do
climc server-purge $i > /dev/null
done
for i in $(climc server-list --admin --limit 2048 --system --filter "backup_host_id.equals($HOSTID)" | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
climc server-delete-backup $i > /dev/null
done
echo "3. Clean disks on $HOSTNAME($HOSTID)"
for storageid in $(climc host-storage-list --host $HOSTID --show-emulated | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $4}')

View File

@@ -0,0 +1,35 @@
<?xml version="1.0"?>
<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata"
xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#" entityID="https://www.volcengine.com/">
<SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol" WantAssertionsSigned="true">
<KeyDescriptor use="signing">
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:X509Data>
<ds:X509Certificate>MIIDJjCCAg6gAwIBAgIUF3lH8/cdlQeyPBqt066RFnt3cI4wDQYJKoZIhvcNAQELBQAwJTEjMCEGA1UEAxMadXJuOnZvbGNlbmdpbmU6d2Vic2VydmljZXMwHhcNMjMwODA4MDIzNzI4WhcNMzMwODIxMTYwMDAwWjAlMSMwIQYDVQQDExp1cm46dm9sY2VuZ2luZTp3ZWJzZXJ2aWNlczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAPZ+nhODpFTe+A8PbuZYA5XDQ04WckV1A5U90tKaaUX5uKLUYfDtFA1TwMO/qG87LU/0Pxs4FhgZJkUOeBHkyYzzXZQvtfsJ9frcKkcTjX/WF4XJyitXCULSjhcclMS3gOqeI/Mo3P90KutfhNli/mAHQJaRsuPFG4ZwBusbUo8i5sqBqt/Sg8JapH7DjEU2mN1165o59gavPGSByPeEuu28EkivVFcI7Jox5ztwgMrOYY+pYP9GeSurzpyLq3CfvvahTsAJjuHDHTTnYNcq/I3VOap/y4cOU6vgxcQvBmgb+CBvGldjn0em3BIn5meQwuB6jfQ7kqBaO1PRD1nhDTMCAwEAAaNOMEwwSgYIKwYBBQUHAQEEPjA8MDoGCCsGAQUFBzABhi5odHRwOi8vbmV4dXMtcHJvZHVjdGlvbi5ieXRlZGFuY2UubmV0L3BjYS9vY3NwMA0GCSqGSIb3DQEBCwUAA4IBAQBxySDr9TPJxRN+otrFDaV8HSeFKUUSO3+r8bEVAXmS+xUsdUOZbaf2r/g+eKrW58dpn+iBWTAAKug9Jwe5KVGqB7G5r2r6k/eI5dvv5r/Fr5T7NppRCXKQTQiAhrrVlqttsagPztJ6LmVAcm4sh4Ckx99FgibQCbT/zui+c6IUyEQcVIwtmoPANl3K2Yn85t+G+Cu9xxXY0JPlZcUHntHg0R0PUWc3LuzLXnff7JWEzPyhMUBLpQk5BltxuD5cTGCA6WafJuBTAqkt48VN0MFTP5c5m3PJFz8Ro1GLY8hw1uhUEx28DKBkQSGpkZNx0oJXETIDpSBfD0dHWBvZQPd0</ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
</KeyDescriptor>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:persistent</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:entity</NameIDFormat>
<AssertionConsumerService index="1" isDefault="true" Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://signin.volcengine.com/saml/sso"/>
<AttributeConsumingService index="1">
<ServiceName xml:lang="en">Volcengine Single Sign-On</ServiceName>
<RequestedAttribute isRequired="true" Name="https://www.volcengine.com/SAML/Attributes/Identity" FriendlyName="Identity"/>
<RequestedAttribute isRequired="true" Name="https://www.volcengine.com/SAML/Attributes/SessionName" FriendlyName="SessionName"/>
<RequestedAttribute isRequired="false" Name="https://www.volcengine.com/SAML/Attributes/SessionDuration" FriendlyName="SessionDuration"/>
</AttributeConsumingService>
</SPSSODescriptor>
<Organization>
<OrganizationName xml:lang="en">Volcengine, Inc.</OrganizationName>
<OrganizationDisplayName xml:lang="en">Volcengine</OrganizationDisplayName>
<OrganizationURL xml:lang="en">https://www.volcengine.com</OrganizationURL>
</Organization>
</EntityDescriptor>

View File

@@ -1,7 +1,8 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/ansibleserver-base:v1.1.1
FROM registry.cn-beijing.aliyuncs.com/yunionio/ansibleserver-base:3.22.2-0
# https://github.com/yunionio/telegraf/blob/yn-release-1.36/Makefile.yn#L28
# 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
COPY --from=registry.cn-beijing.aliyuncs.com/yunionio/file-repo:v0.5.3 /opt/yunion/playbook /opt/yunion/playbook
COPY --from=registry.cn-beijing.aliyuncs.com/yunionio/file-repo:v0.5.3 /opt/yunion/ansible-install-pkg /opt/yunion/ansible-install-pkg
ADD ./_output/alpine-build/bin/ansibleserver /opt/yunion/bin/ansibleserver

View File

@@ -1,20 +1,31 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
MAINTAINER "Yousong Zhou <zhouyousong@yunionyun.com>"
LABEL maintainer="Yousong Zhou <zhouyousong@yunionyun.com>"
ENV TZ UTC
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/*
&& apk update \
&& apk add openssh-client \
&& apk add sshpass \
&& apk add py3-pip \
&& apk add py3-paramiko \
&& apk add tzdata git ca-certificates
RUN apk add --no-cache openssh openssl curl rsync pv mariadb-client
RUN apk add --no-cache --virtual .build-dependencies \
libffi-dev openssl-dev python3-dev build-base py-setuptools rust cargo mariadb-dev
# ansible should be installed
# after setuptools and wheel
RUN rm /usr/lib/python3.*/EXTERNALLY-MANAGED
RUN pip3 install -U pip setuptools wheel \
&& pip3 install mysqlclient pywinrm \
&& pip3 install 'ansible<=9.0.0' \
&& apk del --no-network .build-dependencies \
&& rm -rf /root/.cache /root/.cargo /var/cache/apk/*
RUN pip3 install pywinrm

View File

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

View File

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

View File

@@ -1,8 +1,8 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/baremetal-base:v0.3.8
FROM registry.cn-beijing.aliyuncs.com/yunionio/baremetal-base:v0.3.9-20251215.0
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
LABEL maintainer="Zexi Li <lizexi@yunionyun.com>"
RUN mkdir -p /opt/yunion/bin
ENV TZ UTC
ENV TZ="UTC"
ADD ./_output/alpine-build/bin/baremetal-agent /opt/yunion/bin/baremetal-agent

View File

@@ -1,7 +1,6 @@
#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/yunionos:v4.0.0-20251201.0 as yunionos
FROM centos:8 as grub-stage
@@ -28,9 +27,9 @@ 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
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
MAINTAINER "Zexi Li <zexi.li@icloud.com>"
LABEL maintainer="Zexi Li <zexi.li@icloud.com>"
RUN mkdir -p /opt/yunion/bin
@@ -70,6 +69,8 @@ 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
COPY --from=yunionos /yunionos/riscv64/kernel /opt/cloud/yunion/baremetal/kernel_riscv64
COPY --from=yunionos /yunionos/riscv64/initramfs /opt/cloud/yunion/baremetal/initramfs_riscv64
# TODO: syslinux firmwares should removed in future
COPY --from=yunionos /yunionos/x86_64/isolinux.bin /opt/cloud/yunion/baremetal

View File

@@ -1,7 +1,7 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/climc-base:20210901
FROM registry.cn-beijing.aliyuncs.com/yunionio/climc-base:3.22.2-2
ADD ./build/climc/root/opt /opt
RUN cat /opt/yunion/scripts/motd/climc.sh >> /root/.bashrc
RUN cp /opt/yunion/scripts/motd/climc.sh /etc/profile.d/climc.sh && ln -sf /etc/profile.d/climc.sh /root/.bashrc
ADD ./_output/alpine-build/bin/climc ./_output/alpine-build/bin/*cli /opt/yunion/bin/

View File

@@ -1,18 +1,24 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
ARG TARGETPLATFORM
ARG BUILDPLATFORM
ARG TARGETARCH
ENV TZ Asia/Shanghai
LABEL maintainer="Zexi Li <lizexi@yunionyun.com>"
ENV TZ="Asia/Shanghai"
RUN mkdir -p /opt/yunion/bin
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 && \
RUN apk add --no-cache bash bash-completion tzdata ca-certificates vim ipmitool ceph-common dropbear shadow && \
rm -rf /var/cache/apk/*
RUN usermod --shell /bin/bash root
RUN curl https://iso.yunion.cn/binaries/kubernetes-release/release/v1.22.9/bin/linux/${TARGETARCH}/kubectl -o /usr/bin/kubectl && chmod a+x /usr/bin/kubectl
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
ENV PATH="/opt/yunion/bin:${PATH}"
RUN mkdir -p /opt/yunion/bin

View File

@@ -0,0 +1,24 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
ARG TARGETPLATFORM
ARG BUILDPLATFORM
ARG TARGETARCH
LABEL maintainer="Zexi Li <lizexi@yunionyun.com>"
ENV TZ="Asia/Shanghai"
RUN mkdir -p /opt/yunion/bin
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 ceph-common dropbear shadow && \
rm -rf /var/cache/apk/*
RUN usermod --shell /bin/bash root
RUN curl -L https://iso.yunion.cn/binaries/kubernetes-release/release/v1.22.9/bin/linux/${TARGETARCH}/kubectl -o /usr/bin/kubectl && chmod a+x /usr/bin/kubectl
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN mkdir -p /opt/yunion/bin

View File

@@ -1,3 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
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.3.5-1
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
COPY ./build/cloudid/root/opt/ /opt/
ADD ./_output/alpine-build/bin/cloudid /opt/yunion/bin/cloudid

View File

@@ -1,6 +1,6 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
LABEL maintainer="Zexi Li <lizexi@yunionyun.com>"
RUN mkdir -p /etc/yunion/data/

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
# registry.cn-beijing.aliyuncs.com/yunionio/debian10-base:1.0
FROM debian:10
FROM debian:trixie
RUN apt update && apt install -y alien

View File

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

View File

@@ -0,0 +1,6 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
ADD ./_output/alpine-build/bin/dhcprelay /opt/yunion/bin/dhcprelay
ENV PATH $PATH:/opt/yunion/bin
WORKDIR /opt/yunion/bin

View File

@@ -1,5 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
COPY ./build/esxi-agent/root/opt/ /opt/
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
ADD ./_output/alpine-build/bin/esxi-agent /opt/yunion/bin/esxi-agent

View File

@@ -1,23 +0,0 @@
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~be742cbf-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~be742cbf-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~be742cbf-0_arm64.deb -P /opt/yunion/ansible-install-pkg
Run wget https://yunioniso.oss-cn-beijing.aliyuncs.com/rpms/telegraf/telegraf_1.19.2-yn~be742cbf-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~be742cbf_windows_amd64.zip -P /opt/yunion/ansible-install-pkg
Run wget https://yunioniso.oss-cn-beijing.aliyuncs.com/rpms/telegraf/telegraf-1.19.2-yn~be742cbf_windows_i386.zip -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,5 +1,5 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/glance-base:v0.0.1
FROM registry.cn-beijing.aliyuncs.com/yunionio/glance-base:3.22.2-0
ENV TZ UTC
ENV TZ="UTC"
RUN mkdir -p /opt/yunion/bin
ADD ./_output/alpine-build/bin/glance /opt/yunion/bin/glance

View File

@@ -1,5 +1,7 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/torrent:20210815.0
FROM registry.cn-beijing.aliyuncs.com/yunionio/torrent:3.22.2-0
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
LABEL maintainer="Zexi Li <lizexi@yunionyun.com>"
RUN apk add --no-cache s3fs-fuse --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing
RUN sed -i 's!https://dl-cdn.alpinelinux.org/!https://mirrors.ustc.edu.cn/!g' /etc/apk/repositories
RUN apk add --no-cache s3fs-fuse

View File

@@ -0,0 +1,360 @@
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
#
# Dockerfile for guacamole-server
#
# The Alpine Linux image that should be used as the basis for the guacd image
ARG ALPINE_BASE_IMAGE=3.22.2
# The target architecture of the build. Valid values are "ARM" and "X86". By
# default, this is detected automatically.
ARG BUILD_ARCHITECTURE
# The number of processes that may run simultaneously during the build. By
# default, this is detected automatically.
ARG BUILD_JOBS
# The directory that will house the guacamole-server source during the build
ARG BUILD_DIR=/tmp/guacamole-server
# FreeRDP version (default to version 2)
ARG FREERDP_VERSION=2
# The final install location for guacamole-server and all dependencies. NOTE:
# This value is hard-coded in the entrypoint. Any change to this value must be
# propagated there.
ARG PREFIX_DIR=/opt/guacamole
#
# Automatically select the latest versions of each core protocol support
# library (these can be overridden at build time if a specific version is
# needed)
#
ARG WITH_FREERDP="${FREERDP_VERSION}(\.\d+)+"
ARG WITH_LIBSSH2='libssh2-\d+(\.\d+)+'
ARG WITH_LIBTELNET='\d+(\.\d+)+'
ARG WITH_LIBVNCCLIENT='LibVNCServer-\d+(\.\d+)+'
ARG WITH_LIBWEBSOCKETS='v\d+(\.\d+)+'
ARG WITH_GUACAMOLE_SERVER='\d+(\.\d+)+'
#
# Default build options for each core protocol support library, as well as
# guacamole-server itself (these can be overridden at build time if different
# options are needed)
#
ARG FREERDP_ARM_OPTS=""
ARG FREERDP_OPTS="\
-DBUILTIN_CHANNELS=OFF \
-DCHANNEL_URBDRC=OFF \
-DWITH_ALSA=OFF \
-DWITH_CAIRO=ON \
-DWITH_CHANNELS=ON \
-DWITH_CLIENT=ON \
-DWITH_CUPS=OFF \
-DWITH_DIRECTFB=OFF \
-DWITH_FFMPEG=OFF \
-DWITH_FUSE=OFF \
-DWITH_GSM=OFF \
-DWITH_GSSAPI=OFF \
-DWITH_IPP=OFF \
-DWITH_JPEG=ON \
-DWITH_KRB5=ON \
-DWITH_LIBSYSTEMD=OFF \
-DWITH_MANPAGES=OFF \
-DWITH_OPENH264=OFF \
-DWITH_OPENSSL=ON \
-DWITH_OSS=OFF \
-DWITH_PCSC=OFF \
-DWITH_PKCS11=OFF \
-DWITH_PULSE=OFF \
-DWITH_SERVER=OFF \
-DWITH_SERVER_INTERFACE=OFF \
-DWITH_SHADOW_MAC=OFF \
-DWITH_SHADOW_X11=OFF \
-DWITH_SWSCALE=OFF \
-DWITH_WAYLAND=OFF \
-DWITH_X11=OFF \
-DWITH_X264=OFF \
-DWITH_XCURSOR=ON \
-DWITH_XEXT=ON \
-DWITH_XI=OFF \
-DWITH_XINERAMA=OFF \
-DWITH_XKBFILE=ON \
-DWITH_XRENDER=OFF \
-DWITH_XTEST=OFF \
-DWITH_XV=OFF \
-DCMAKE_CXX_FLAGS=-Wno-incompatible-pointer-types \
-DCMAKE_C_FLAGS=-Wno-incompatible-pointer-types \
-DWITH_ZLIB=ON"
ARG FREERDP_X86_OPTS=""
ARG GUACAMOLE_SERVER_ARM_OPTS=""
ARG GUACAMOLE_SERVER_OPTS="\
--disable-guaclog \
CPPFLAGS=-Wno-error=deprecated-declarations"
ARG GUACAMOLE_SERVER_X86_OPTS=""
ARG GUACAMOLE_SERVER_UNKNOWN_OPTS=""
ARG LIBSSH2_ARM_OPTS=""
ARG LIBSSH2_OPTS="\
-DBUILD_EXAMPLES=OFF \
-DBUILD_SHARED_LIBS=ON"
ARG LIBSSH2_X86_OPTS=""
ARG LIBTELNET_ARM_OPTS=""
ARG LIBTELNET_OPTS="\
--disable-static \
--disable-util"
ARG LIBTELNET_X86_OPTS=""
ARG LIBVNCCLIENT_ARM_OPTS=""
ARG LIBVNCCLIENT_OPTS=""
ARG LIBVNCCLIENT_X86_OPTS=""
ARG LIBWEBSOCKETS_ARM_OPTS=""
ARG LIBWEBSOCKETS_OPTS="\
-DDISABLE_WERROR=ON \
-DLWS_WITHOUT_SERVER=ON \
-DLWS_WITHOUT_TESTAPPS=ON \
-DLWS_WITHOUT_TEST_CLIENT=ON \
-DLWS_WITHOUT_TEST_PING=ON \
-DLWS_WITHOUT_TEST_SERVER=ON \
-DLWS_WITHOUT_TEST_SERVER_EXTPOLL=ON \
-DLWS_WITH_STATIC=OFF"
ARG LIBWEBSOCKETS_X86_OPTS=""
#
# Base builder image that will be used by subsequent build stages, including
# for building dependencies of guacamole-server.
#
FROM alpine:${ALPINE_BASE_IMAGE} AS builder
ARG BUILD_DIR
RUN sed -i 's!https://dl-cdn.alpinelinux.org/!https://mirrors.ustc.edu.cn/!g' /etc/apk/repositories
# Install build dependencies
RUN apk add \
autoconf \
automake \
build-base \
cairo-dev \
cjson-dev \
cmake \
cunit-dev \
git \
grep \
krb5-dev \
libjpeg-turbo-dev \
libpng-dev \
libtool \
libwebp-dev \
make \
openssl-dev \
pango-dev \
pulseaudio-dev \
sdl2-dev \
sdl2_ttf-dev \
util-linux-dev
ARG GUAC_VER=1.6.0
RUN git clone --branch=${GUAC_VER} https://github.com/apache/guacamole-server.git ${BUILD_DIR}
#
# Build dependency: libssh2
#
FROM builder AS libssh2
ARG BUILD_DIR
ARG LIBSSH2_ARM_OPTS
ARG LIBSSH2_OPTS
ARG LIBSSH2_X86_OPTS
ARG PREFIX_DIR
ARG WITH_LIBSSH2
RUN ${BUILD_DIR}/src/guacd-docker/bin/autobuild.sh "LIBSSH2" \
"https://github.com/libssh2/libssh2"
#
# Build dependency: libtelnet
#
FROM builder AS libtelnet
ARG BUILD_DIR
ARG LIBTELNET_ARM_OPTS
ARG LIBTELNET_OPTS
ARG LIBTELNET_X86_OPTS
ARG PREFIX_DIR
ARG WITH_LIBTELNET
RUN ${BUILD_DIR}/src/guacd-docker/bin/autobuild.sh "LIBTELNET" \
"https://github.com/seanmiddleditch/libtelnet"
#
# Build dependency: libvncclient
#
FROM builder AS libvncclient
ARG BUILD_DIR
ARG LIBVNCCLIENT_ARM_OPTS
ARG LIBVNCCLIENT_OPTS
ARG LIBVNCCLIENT_X86_OPTS
ARG PREFIX_DIR
ARG WITH_LIBVNCCLIENT
RUN ${BUILD_DIR}/src/guacd-docker/bin/autobuild.sh "LIBVNCCLIENT" \
"https://github.com/LibVNC/libvncserver"
#
# Build dependency: libwebsockets
#
FROM builder AS libwebsockets
ARG BUILD_DIR
ARG LIBWEBSOCKETS_ARM_OPTS
ARG LIBWEBSOCKETS_OPTS
ARG LIBWEBSOCKETS_X86_OPTS
ARG PREFIX_DIR
ARG WITH_LIBWEBSOCKETS
RUN ${BUILD_DIR}/src/guacd-docker/bin/autobuild.sh "LIBWEBSOCKETS" \
"https://github.com/warmcat/libwebsockets"
#
# Build dependency: FreeRDP
#
FROM builder AS freerdp
ARG BUILD_DIR
ARG FREERDP_ARM_OPTS
ARG FREERDP_OPTS
ARG FREERDP_X86_OPTS
ARG PREFIX_DIR
ARG WITH_FREERDP
RUN ${BUILD_DIR}/src/guacd-docker/bin/autobuild.sh "FREERDP" \
"https://github.com/FreeRDP/FreeRDP"
#
# STAGE 7: Collect dependencies built by previous stages and build
# guacamole-server.
#
FROM builder AS guacamole-server
ARG BUILD_DIR
ARG FREERDP_VERSION
ARG GUACAMOLE_SERVER_ARM_OPTS
ARG GUACAMOLE_SERVER_UNKNOWN_OPTS
ARG GUACAMOLE_SERVER_OPTS
ARG GUACAMOLE_SERVER_X86_OPTS
ARG PREFIX_DIR
ARG WITH_GUACAMOLE_SERVER
# Copy dependencies built in previous stages
COPY --from=freerdp ${PREFIX_DIR} ${PREFIX_DIR}
COPY --from=libssh2 ${PREFIX_DIR} ${PREFIX_DIR}
COPY --from=libtelnet ${PREFIX_DIR} ${PREFIX_DIR}
COPY --from=libvncclient ${PREFIX_DIR} ${PREFIX_DIR}
COPY --from=libwebsockets ${PREFIX_DIR} ${PREFIX_DIR}
# Use guacamole-server source from build context
COPY --from=builder ${BUILD_DIR} ${BUILD_DIR}
RUN ${BUILD_DIR}/src/guacd-docker/bin/autobuild.sh "GUACAMOLE_SERVER" "${BUILD_DIR}"
# Determine location of the FREERDP library based on the version.
ARG FREERDP_LIB_PATH=${PREFIX_DIR}/lib/freerdp${FREERDP_VERSION}
# Record the packages of all runtime library dependencies
RUN ${BUILD_DIR}/src/guacd-docker/bin/list-dependencies.sh \
${PREFIX_DIR}/sbin/guacd \
${PREFIX_DIR}/lib/libguac-client-*.so \
${FREERDP_LIB_PATH}/*guac*.so \
> ${PREFIX_DIR}/DEPENDENCIES
#
# STAGE 8: Final, runtime image.
#
# Use same Alpine version as the base for the runtime image
FROM alpine:${ALPINE_BASE_IMAGE} AS runtime
ARG PREFIX_DIR
ARG BUILD_DIR
# Copy build artifacts into this stage
COPY --from=guacamole-server ${PREFIX_DIR} ${PREFIX_DIR}
RUN sed -i 's!https://dl-cdn.alpinelinux.org/!https://mirrors.ustc.edu.cn/!g' /etc/apk/repositories
RUN cat ${PREFIX_DIR}/DEPENDENCIES
# Bring runtime environment up to date and install runtime dependencies
RUN apk add --no-cache \
ca-certificates \
font-noto-cjk \
ghostscript \
netcat-openbsd \
shadow \
terminus-font \
ttf-dejavu \
ttf-liberation \
util-linux-login && \
xargs apk add --no-cache < ${PREFIX_DIR}/DEPENDENCIES
# Runtime environment
ENV LC_ALL=C.UTF-8
ENV LD_LIBRARY_PATH=${PREFIX_DIR}/lib
# Checks the operating status every 5 minutes with a timeout of 5 seconds
HEALTHCHECK --interval=5m --timeout=5s CMD nc -z 127.0.0.1 4822 || exit 1
# Create a new user guacd
ARG UID=1000
ARG GID=1000
RUN groupadd --gid $GID guacd
RUN useradd --system --create-home --shell /sbin/nologin --uid $UID --gid $GID guacd
# Run with user guacd
USER guacd
# Expose the default listener port
EXPOSE 4822
COPY --from=guacamole-server ${BUILD_DIR}/src/guacd-docker/bin/entrypoint.sh /opt/guacamole/
#COPY
ENTRYPOINT [ "/opt/guacamole/entrypoint.sh" ]

View File

@@ -1,8 +1,8 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-base:v0.4.0
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-base:v0.9.0
MAINTAINER "Yaoqi Wan wanyaoqi@yunionyun.com"
LABEL maintainer="Yaoqi Wan wanyaoqi@yunionyun.com"
ENV TZ UTC
ENV TZ="UTC"
RUN mkdir -p /opt/yunion/bin
ADD ./_output/alpine-build/bin/host /opt/yunion/bin/host

View File

@@ -1,9 +1,9 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-deployer-base:1.3
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-deployer-base:1.5.8
MAINTAINER "Yaoqi Wan wanyaoqi@yunionyun.com"
LABEL maintainer="Yaoqi Wan wanyaoqi@yunionyun.com"
ENV TZ UTC
ENV TZ="UTC"
RUN mkdir -p /opt/yunion/bin
ADD ./_output/centos-build/bin/host-deployer /opt/yunion/bin/host-deployer
ADD ./_output/alpine-build/bin/host-deployer /opt/yunion/bin/host-deployer

View File

@@ -0,0 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
ADD ./_output/alpine-build/bin/host-health /opt/yunion/bin/host-health

View File

@@ -1,9 +1,6 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
ENV TZ="UTC"
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
ADD ./_output/alpine-build/bin/host-image /opt/yunion/bin/host-image

View File

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

View File

@@ -1,4 +1,9 @@
FROM alpine:3.11
FROM alpine:3.22.2
ARG TARGETPLATFORM
ARG BUILDPLATFORM
ARG TARGETARCH
RUN echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >>/etc/apk/repositories
RUN apk update && apk add kubectl && rm -rf /var/cache/apk/*
RUN apk update && apk add curl android-tools && rm -rf /var/cache/apk/*
RUN curl -L https://iso.yunion.cn/binaries/kubernetes-release/release/v1.22.9/bin/linux/${TARGETARCH}/kubectl -o /usr/bin/kubectl && chmod a+x /usr/bin/kubectl

View File

@@ -0,0 +1,8 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/lbagent-base:v0.0.5
LABEL maintainer="Yousong Zhou <zhouyousong@yunion.cn>"
ENV TZ="UTC"
RUN mkdir -p /opt/yunion/bin
ADD ./_output/alpine-build/bin/lbagent /opt/yunion/bin/lbagent

View File

@@ -0,0 +1,35 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/openvswitch:2.12.4-5
LABEL maintainer="Jian QIU <qiujian@yunion.cn>"
ENV TZ="UTC"
ENV GOPATH=/root/go
RUN sed -i 's!v3.20/!v3.22/!g' /etc/apk/repositories
RUN set -x \
&& apk update \
&& apk upgrade \
&& apk add --no-cache bash haproxy keepalived iptables \
&& apk add --no-cache --virtual .build-deps \
build-base \
make \
go \
git \
gcc \
libc-dev \
libgcc \
linux-headers
RUN set -x \
&& mkdir -p $GOPATH/src/github.com/yyyar $GOPATH/bin \
&& cd $GOPATH/src/github.com/yyyar \
&& git clone --depth 1 https://github.com/yyyar/gobetween.git \
&& cd gobetween \
&& make deps \
&& make build \
&& cp bin/gobetween /bin/gobetween \
&& rm -fr $GOPATH \
&& apk del .build-deps \
&& rm -rf /var/cache/apk/*

View File

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

View File

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

View File

@@ -0,0 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
ADD ./_output/alpine-build/bin/mcp-server /opt/yunion/bin/mcp-server

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
COPY ./build/monitor/root/opt/ /opt/
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.3.5-1
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
COPY ./build/notify/root/opt/ /opt/
ADD ./_output/alpine-build/bin/notify /opt/yunion/bin/notify

View File

@@ -1,9 +1,9 @@
# TODO: use 3.14 will lead 'apk add qemu-img fail on arm64'
FROM alpine:3.13.5
FROM alpine:3.22.1
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
LABEL maintainer="Zexi Li <lizexi@yunionyun.com>"
ENV TZ UTC
ENV TZ="UTC"
RUN mkdir -p /opt/yunion/bin

View File

@@ -1,8 +1,8 @@
FROM alpine:3.15.4
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
LABEL maintainer="Zexi Li <lizexi@yunionyun.com>"
ENV TZ UTC
ENV TZ="UTC"
RUN mkdir -p /opt/yunion/bin

View File

@@ -0,0 +1,13 @@
FROM alpine:3.22.2
LABEL 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.3.5-1
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
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.3.5-1
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
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.3.5-1
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
ADD ./_output/alpine-build/bin/s3gateway /opt/yunion/bin/s3gateway

View File

@@ -1,3 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
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.3.5-1
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
ADD ./_output/alpine-build/bin/scheduler /opt/yunion/bin/scheduler

View File

@@ -1,3 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/yunion-rootfs:v1.1
FROM registry.cn-beijing.aliyuncs.com/yunionio/yunion-rootfs:v4.0.0-20251112.0
ADD ./_output/centos-build/bin/telegraf-raid-plugin /opt/yunion/bin/telegraf-raid-plugin
ADD ./_output/alpine-build/bin/telegraf-raid-plugin /opt/yunion/bin/telegraf-raid-plugin

View File

@@ -1,10 +1,6 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
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
LABEL maintainer="Zexi Li <zexi.li@icloud.com>"
RUN apk update && \
apk add --no-cache qemu-img && \

View File

@@ -1,7 +1,7 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/openvswitch:2.10.5-1
FROM registry.cn-beijing.aliyuncs.com/yunionio/openvswitch:2.12.4-5
MAINTAINER "Yousong Zhou <zhouyousong@yunion.cn>"
LABEL maintainer="Yousong Zhou <zhouyousong@yunion.cn>"
ENV TZ UTC
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-1
FROM registry.cn-beijing.aliyuncs.com/yunionio/webconsole-base:3.22.2-1
ADD ./_output/alpine-build/bin/webconsole /opt/yunion/bin/webconsole

View File

@@ -1,10 +1,10 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/kubectl:1.18.6
FROM registry.cn-beijing.aliyuncs.com/yunionio/kubectl:3.22.2-1
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
LABEL maintainer="Zexi Li <lizexi@yunionyun.com>"
ENV TZ UTC
ENV TZ="UTC"
RUN mkdir -p /opt/yunion/bin
RUN apk add --no-cache sshpass ipmitool openssh-client tzdata ca-certificates && \
RUN apk add --no-cache sshpass ipmitool openssh-client tzdata ca-certificates bash && \
rm -rf /var/cache/apk/*

View File

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

View File

@@ -1,6 +1,6 @@
REGISTRY ?= "registry.cn-beijing.aliyuncs.com/yunionio"
DOCKER_BUILD = docker build -t $(REGISTRY)
DOCKER_BUILDX = docker buildx build --platform linux/arm64,linux/amd64 --push -t $(REGISTRY)
DOCKER_BUILDX = docker buildx build --platform linux/arm64,linux/amd64,linux/riscv64 --push -t $(REGISTRY)
debian10-base:
@@ -9,54 +9,73 @@ debian10-base:
ONECLOUD_BASE_VERSION = v0.3-3.13.5
ONECLOUD_BASE_VERSION_3-15-4 = v3.15.4-0
ONECLOUD_BASE_VERSION_3-22-2 = 3.22.2-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 .
onecloud-base-3-22-2:
$(DOCKER_BUILDX)/onecloud-base:$(ONECLOUD_BASE_VERSION_3-22-2) -f ./Dockerfile.onecloud-base-3-22-2 .
ANSIBLESERVER_BASE = v1.1.1
ANSIBLESERVER_BASE = 3.22.2-0
ansibleserver-base:
$(DOCKER_BUILDX)/ansibleserver-base:$(ANSIBLESERVER_BASE) -f ./Dockerfile.ansibleserver-base .
CLIMC_BASE_VERSION = 20210901
CLIMC_BASE_VERSION = 20230731.5
CLIMC_BASE_VERSION_3-22-2 = 3.22.2-2
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 .
$(DOCKER_BUILDX)/climc-base:$(CLIMC_BASE_VERSION) -f ./Dockerfile.climc-base .
WEBCONSOLE_BASE_VERSION = v0.2-1
climc-base-3-22-2:
$(DOCKER_BUILDX)/climc-base:$(CLIMC_BASE_VERSION_3-22-2) -f ./Dockerfile.climc-base-3-22-2 .
KUBECTL_VERSION_3-22-2 = 3.22.2-1
kubectl:
$(DOCKER_BUILDX)/kubectl:$(KUBECTL_VERSION_3-22-2) -f ./Dockerfile.kubectl .
WEBCONSOLE_BASE_VERSION_3-22-2 = 3.22.2-1
webconsole-base:
$(DOCKER_BUILDX)/webconsole-base:$(WEBCONSOLE_BASE_VERSION) -f ./Dockerfile.webconsole-base .
$(DOCKER_BUILDX)/webconsole-base:$(WEBCONSOLE_BASE_VERSION_3-22-2) -f ./Dockerfile.webconsole-base .
BAREMETAL_BASE_VERSION = v0.3.8
BAREMETAL_BASE_VERSION = v0.3.9-20251112.1
FEDORA_RISCV64_VERSION = 42
fedora-riscv64-base:
wget -q https://dl.fedoraproject.org/pub/alt/risc-v/release/$(FEDORA_RISCV64_VERSION)/Container/riscv64/images/Fedora-Container-Base-Generic-$(FEDORA_RISCV64_VERSION).20250414-8635a3a5bfcd.riscv64.oci.tar.xz && \
xz -d Fedora-Container-Base-Generic-$(FEDORA_RISCV64_VERSION).20250414-8635a3a5bfcd.riscv64.oci.tar.xz && \
skopeo copy oci-archive:Fedora-Container-Base-Generic-$(FEDORA_RISCV64_VERSION).20250414-8635a3a5bfcd.riscv64.oci.tar docker-daemon:fedora-riscv64:$(FEDORA_RISCV64_VERSION) && \
rm -f Fedora-Container-Base-Generic-$(FEDORA_RISCV64_VERSION).20250414-8635a3a5bfcd.riscv64.oci.tar
baremetal-base-riscv: fedora-riscv64-base
$(DOCKER_BUILDX)/baremetal-base:$(BAREMETAL_BASE_VERSION) -f ./Dockerfile.baremetal-base-riscv .
#docker push $(REGISTRY)/baremetal-base:$(BAREMETAL_BASE_VERSION)
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_VERSION_3-22-2 = 3.22.2-0
torrent:
$(DOCKER_BUILDX)/torrent:$(TORRENT_VERSION) -f ./Dockerfile.torrent .
GLANCE_BASE_VERSION = v0.0.1
GLANCE_BASE_VERSION_3-22-2 = 3.22.2-0
glance-base:
$(DOCKER_BUILDX)/glance-base:$(GLANCE_BASE_VERSION) -f ./Dockerfile.glance-base .
FILE_REPO_VERSION = v0.3.3
glance-base-3-22-2:
$(DOCKER_BUILDX)/glance-base:$(GLANCE_BASE_VERSION_3-22-2) -f ./Dockerfile.glance-base .
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)
LBAGENT_BASE_VERSION = v0.0.5
lbagent-base:
$(DOCKER_BUILDX)/lbagent-base:$(LBAGENT_BASE_VERSION) -f ./Dockerfile.lbagent-base .
GUACD_VERSION=1.6.0
guacd:
$(DOCKER_BUILDX)/guacd:$(GUACD_VERSION) -f ./Dockerfile.guacd .

View File

@@ -0,0 +1,17 @@
#!/bin/bash
set -e
BASHRC=/root/.bashrc
source $BASHRC
climc sshkeypair-inject --admin
mkdir -p /etc/dropbear
mkdir -p /var/run/dropbear
dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key
dropbear -RFEjk -G root -p 22

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/alpine-build:3.16.0-go-1.18.2-0 as build
FROM registry.cn-beijing.aliyuncs.com/yunionio/alpine-build:3.22.2-go-1.24.9-0 AS build
ARG TARGETPLATFORM
ARG BUILDPLATFORM
RUN mkdir -p /root/go/src/yunion.io/x/onecloud
@@ -7,11 +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.4.0
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-base:v0.9.0
MAINTAINER "Yaoqi Wan wanyaoqi@yunionyun.com"
LABEL maintainer="Yaoqi Wan wanyaoqi@yunionyun.com"
ENV TZ Asia/Shanghai
ENV TZ="UTC"
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,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.22.2-go-1.24.9-0 AS build
ARG TARGETPLATFORM
ARG BUILDPLATFORM
@@ -6,13 +6,11 @@ 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
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
MAINTAINER "Zexi Li <zexi.li@icloud.com>"
LABEL 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 sed -i 's!https://dl-cdn.alpinelinux.org/!https://mirrors.ustc.edu.cn/!g' /etc/apk/repositories
RUN apk update && \
apk add --no-cache qemu-img && \

View File

@@ -1,65 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Envelope xmlns="http://schemas.dmtf.org/ovf/envelope/1"
xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1"
xmlns:cim="http://schemas.dmtf.org/wbem/wscim/1/common"
xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData"
xmlns:vmw="http://www.vmware.com/schema/ovf"
xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<References>
<File ovf:href="{{ .Name }}" ovf:id="file1" ovf:size="{{ .Size }}"/>
</References>
<DiskSection>
<Info>Virtual disk information</Info>
<Disk ovf:capacity="{{ .Capacity }}" ovf:capacityAllocationUnits="byte" ovf:diskId="vmdisk1" ovf:fileRef="file1" ovf:format="http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized" ovf:populatedSize="0"/>
</DiskSection>
<VirtualSystem ovf:id="{{ .ImportName }}">
<Info>A virtual machine</Info>
<Name>{{ .ImportName }}</Name>
<OperatingSystemSection ovf:id="100" vmw:osType="other26xLinux64Guest">
<Info>The kind of installed guest operating system</Info>
</OperatingSystemSection>
<VirtualHardwareSection>
<Info>Virtual hardware requirements</Info>
<System>
<vssd:ElementName>Virtual Hardware Family</vssd:ElementName>
<vssd:InstanceID>0</vssd:InstanceID>
<vssd:VirtualSystemIdentifier>{{ .ImportName }}</vssd:VirtualSystemIdentifier>
<vssd:VirtualSystemType>vmx-07</vssd:VirtualSystemType>
</System>
<Item>
<rasd:AllocationUnits>hertz * 10^6</rasd:AllocationUnits>
<rasd:Description>Number of Virtual CPUs</rasd:Description>
<rasd:ElementName>1 virtual CPU(s)</rasd:ElementName>
<rasd:InstanceID>1</rasd:InstanceID>
<rasd:ResourceType>3</rasd:ResourceType>
<rasd:VirtualQuantity>1</rasd:VirtualQuantity>
</Item>
<Item>
<rasd:AllocationUnits>byte * 2^20</rasd:AllocationUnits>
<rasd:Description>Memory Size</rasd:Description>
<rasd:ElementName>1024MB of memory</rasd:ElementName>
<rasd:InstanceID>2</rasd:InstanceID>
<rasd:ResourceType>4</rasd:ResourceType>
<rasd:VirtualQuantity>1024</rasd:VirtualQuantity>
</Item>
<Item>
<rasd:Address>0</rasd:Address>
<rasd:Description>SCSI Controller</rasd:Description>
<rasd:ElementName>SCSI Controller 0</rasd:ElementName>
<rasd:InstanceID>3</rasd:InstanceID>
<rasd:ResourceSubType>VirtualSCSI</rasd:ResourceSubType>
<rasd:ResourceType>6</rasd:ResourceType>
</Item>
<Item>
<rasd:AddressOnParent>0</rasd:AddressOnParent>
<rasd:ElementName>Hard Disk 1</rasd:ElementName>
<rasd:HostResource>ovf:/disk/vmdisk1</rasd:HostResource>
<rasd:InstanceID>9</rasd:InstanceID>
<rasd:Parent>3</rasd:Parent>
<rasd:ResourceType>17</rasd:ResourceType>
<vmw:Config ovf:required="false" vmw:key="backing.writeThrough" vmw:value="false"/>
</Item>
</VirtualHardwareSection>
</VirtualSystem>
</Envelope>

View File

@@ -1,5 +1,5 @@
DESCRIPTION="Yunion Cloud Image Service"
REQUIRES=(
yunion-qemu-2.12.1
yunion-qemu-4.2.0
)

View File

@@ -1,9 +1,11 @@
{{.title}}
策略名称: {{.name}}
触发时间: {{.start_time}}
报警级别: {{.level}}
触发条件: {{.description | unescaped}}
资源数量:{{len .matches}}
触发条件:{{if eq (len .matches) 1}} {{(index .matches 0).condition | unescaped}}{{else}}
{{- range .matches}}- {{.condition | unescaped}}
{{- end}}{{end}}
{{if .reason}}报警原因: {{.reason}}
{{end}}报警数量:{{len .matches}}
资源名称:{{.resource_name}}
详情地址: {{.web_url}}

View File

@@ -68,6 +68,7 @@
border-bottom: 1px solid #d7d7d7;
}
</style>
{{$match_tags_str := .match_tags_str}}
<body>
<h3 class="title">报警提醒</h3>
<table border="0" cellspacing="0" cellpadding="0" class="table">
@@ -87,8 +88,19 @@
</tr>
<tr>
<td class="td">策略详情:</td>
<td>{{.description}}</td>
<td>
{{- range $i, $m := .matches -}}
{{- if $i}}<br/>{{end -}}
{{- $m.condition | unescaped -}}
{{- end -}}
</td>
</tr>
{{if .reason}}
<tr>
<td class="td">报警原因:</td>
<td>{{.reason}}</td>
</tr>
{{end}}
</table>
<table class="table" style="padding-top: 6px; padding-bottom: 10px;">
<tr>
@@ -108,7 +120,11 @@
<td>名称</td>
<td>IP</td>
<td>平台</td>
<td>指标</td>
<td>触发值</td>
{{if gt (len $match_tags_str) 1}}
<td>标签</td>
{{end}}
</tr>
</thead>
<tbody>
@@ -124,7 +140,11 @@
<td>
{{ index .tags "brand" }}
</td>
<td>{{$Matche.value_str}}</td>
<td>{{ $Matche.metric }}</td>
<td>{{ $Matche.value_str }}</td>
{{if gt (len $match_tags_str) 1}}
<td>{{ index $match_tags_str $i }}</td>
{{end}}
</tr>
{{end}}
</tbody>

View File

@@ -1,9 +1,11 @@
{{.title}}
AlertName: {{.name}}
Time: {{.start_time}}
Level: {{.level}}
TriggerCondition: {{.description | unescaped}}
ResourceCount: {{len .matches}}
TriggerCondition:{{if eq (len .matches) 1}} {{(index .matches 0).condition | unescaped}}{{else}}
{{- range .matches}}- {{.condition | unescaped}}
{{- end}}{{end}}
{{if .reason}}Reason: {{.reason}}
{{end}}AlertCount: {{len .matches}}
ResourceName: {{.resource_name}}
WebUrl: {{.web_url}}

View File

@@ -68,6 +68,7 @@
border-bottom: 1px solid #d7d7d7;
}
</style>
{{$match_tags_str := .match_tags_str}}
<body>
<h3 class="title">Alert</h3>
<table border="0" cellspacing="0" cellpadding="0" class="table">
@@ -87,8 +88,19 @@
</tr>
<tr>
<td class="td">Strategy details</td>
<td>{{.description}}</td>
<td>
{{- range $i, $m := .matches -}}
{{- if $i}}<br/>{{end -}}
{{- $m.condition | unescaped -}}
{{- end -}}
</td>
</tr>
{{if .reason}}
<tr>
<td class="td">Reason</td>
<td>{{.reason}}</td>
</tr>
{{end}}
</table>
<table class="table" style="padding-top: 6px; padding-bottom: 10px;">
<tr>
@@ -108,7 +120,11 @@
<td>Name</td>
<td>IP</td>
<td>Brand</td>
<td>Metric</td>
<td>Trigger value</td>
{{if gt (len $match_tags_str) 1}}
<td>Tags</td>
{{end}}
</tr>
</thead>
<tbody>
@@ -124,7 +140,11 @@
<td>
{{ index .tags "brand" }}
</td>
<td>{{$Matche.value_str}}</td>
<td>{{ $Matche.metric }}</td>
<td>{{ $Matche.value_str }}</td>
{{if gt (len $match_tags_str) 1}}
<td>{{ index $match_tags_str $i }}</td>
{{end}}
</tr>
{{end}}
</tbody>

View File

@@ -1 +1 @@
{{.title}}
{{monitorTitle .}}

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