Compare commits

...

1801 Commits

Author SHA1 Message Date
Jian Qiu
472b0ae4af fix: task params nil params panic (#25699)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-09-18 11:57:35 +08:00
Zexi Li
d108efd764 fix(baremetal): ignore RetrieveStorages leftover diagnostics when disks match (#25695)
Only fail buildRaid when no disk is selected, matching CalculateLayout behavior.
2026-09-18 11:17:09 +08:00
Zexi Li
1d1aea797c fix(host): mount kunlunxin xpu-smi and ml lib for containers (#25693)
Ensure container runtime mounts xpu-smi and libxpunvidia-ml.so.1
(including symlink targets) so XPU tooling works inside pods.
2026-09-18 10:58:01 +08:00
Jian Qiu
4abe94ca0b fix(mcp-server): read the field tags through the reflectutils accessor (#25690)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-09-17 14:15:29 +08:00
Zexi Li
0ea4d1c1ca Automated cherry pick of #25464: feat(host,llm): add Iluvatar GPU container device support (#25688)
* feat(host,llm): add Iluvatar GPU container device support

* feat(host,llm,monitor): add Thead PPU container device support

* feat(host,llm): add Kunlunxin XPU container device support
2026-09-16 11:50:04 +08:00
Zexi Li
07cb45bfac chore: replace issues-helper with gh CLI and refresh README (#25687)
Migrate issue label/close workflows to native gh scripts with explicit permissions, and update README cloud/AI coverage plus typo fixes.
2026-09-15 18:17:48 +08:00
Zexi Li
edcbd48487 feat(glance,region): support container registry and image (#25686)
Move container registry management into glance with import from
kubeserver, add container_image model, resolve container_image_id in
compute, and switch dashboard create flow to glance.
2026-09-15 15:32:27 +08:00
Zexi Li
abab2d4a2f fix(aiproxy): clarify unavailable backend error message (#25682) 2026-09-13 22:31:59 +08:00
Zexi Li
4702df66b6 fix(aiproxy): detect listen address (#25679) 2026-09-13 12:36:10 +08:00
Zexi Li
d950d70102 feat(aiproxy): allow listing virtual key token field (#25676)
Expose VirtualKey in list responses so clients can retrieve the token without a separate get.
2026-09-11 18:46:01 +08:00
Zexi Li
d203580430 fix(llm): keep aiproxy routing across stop/restart (#25673)
Do not unsync or delete deployment ai_routing when replicas leave running; reconcile on running so routing/provider IDs stay stable.
2026-09-11 16:43:18 +08:00
Zexi Li
3fd882452b feat(llm): route MCP agent via aiproxy virtual key and routing id (#25667)
Support X-Ai-Routing-Id to pin ai_routing, treat empty model_pattern as non-wildcard, and wire MCP agent to aiproxy credentials instead of direct LLM api_key.
2026-09-11 10:14:08 +08:00
Jian Qiu
1074f3694d fix: classic nic dhcp default gateway revisit (#25670)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-09-10 21:05:32 +08:00
Jian Qiu
0590e3a434 fix: keystone-role-assignments-list-scope (#25652)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-09-10 17:25:32 +08:00
Jian Qiu
3c47ebba45 fix(cloudid): omit clouduser secret from list and get responses (#25651)
Return console login details from the login-info action; skip secret in resource JSON and logs.

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 17:24:44 +08:00
Jian Qiu
23d7222bd0 fix: keystone idp join project roles check (#25653)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-09-10 16:39:09 +08:00
Jian Qiu
e96ca5b665 fix(llm): validate mcp agent server url and session endpoint (#25622)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 15:29:59 +08:00
Jian Qiu
c16d7fcb58 fix(llm): authenticate llm router agent route requests (#25626)
Fetch the agent with the caller session and check perform permission.

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 14:37:17 +08:00
Jian Qiu
4b9f523424 fix(llm): require get permission when resolving llm_id (#25627)
Fetch the referenced LLM with the caller session before filling access URL fields.

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 13:19:53 +08:00
Jian Qiu
19d63a7a36 fix(identity): validate rolepolicy create and bind-role requests (#25628)
Require role_id and reuse the role add-policy checks when creating a binding.

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 13:10:46 +08:00
屈轩
d87a26f70c fix(region): convert kvm prefer storage (#25631) 2026-09-10 12:21:45 +08:00
Jian Qiu
b1d1cad973 fix(identity): check assume login with system scope and target roles (#25629)
Keep the caller session when authorizing assume and reuse join-project role checks.

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 12:14:33 +08:00
Jian Qiu
f208976ef0 fix(ansible): validate playbook inventory, connection, and file paths (#25605)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 11:55:48 +08:00
Jian Qiu
c24383dd63 fix(image): reject images that declare a backing file (#25630)
Treat a non-empty backing filename as unsupported on upload, convert, probe, and ceph cache.

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 11:55:18 +08:00
Jian Qiu
cb3e3cbb08 fix: allow host networks no gateway (#25625)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-09-10 01:32:49 +08:00
Jian Qiu
b6b9a3a2ab fix: classic net distribute default route for default nic (#25618)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-09-09 22:29:00 +08:00
Zexi Li
66409634a4 fix(region): include disabled hosts in isolated device usage stats (#25621)
Keep GPU/device usages consistent with hosts inventory; scheduling still uses enabled hosts only.
2026-09-09 22:27:59 +08:00
Jian Qiu
9f38eaea55 fix(container): validate host bind paths and create host-path files with argv (#25591)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-09 20:28:55 +08:00
wanyaoqi
a31b6bd52b fix(region): set force stop default timeout 30s (#25614) 2026-09-09 20:28:36 +08:00
Zexi Li
ee255297a7 fix(llm): skip stale container status during pod transitions (#25611)
Watch container events and defer LLM status updates while the pod is starting/stopping, so exited leftovers are not treated as start_fail.
2026-09-09 16:52:11 +08:00
Zexi Li
6f6d0a70c9 fix(host): use assigned nvidia GPU memory for pod metrics (#25608)
Derive mem total from isolated-device quotas when available, and harden
losetup ListDevices against empty --json output.
2026-09-09 12:01:47 +08:00
Jian Qiu
24e1299648 fix(guestfs): keep guest file deploy inside the mounted filesystem (#25592)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-08 23:46:58 +08:00
Jian Qiu
0b7ecb6c3c fix(identity): check SAML assertion issuer, audience, and optional signature (#25596)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-08 20:04:56 +08:00
屈轩
705ae5ef5a fix(region): support renew kvm vm (#25593) 2026-09-08 15:50:11 +08:00
Jian Qiu
d6419376fa fix(cloudcommon): fall back list query scope to the resource default view (#25587)
When admin or scope query parameters do not map to a concrete view, use the resource's own scope and keep owner filters applied.

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-08 14:34:20 +08:00
wanyaoqi
876a893dc1 fix(host): start new goroutine to stop guest (#25586) 2026-09-08 14:08:53 +08:00
Zexi Li
da6ea51b5c feat(llm): support force restart for LLM and deployments (#25583)
Allow force restart when instances are failed, protect restarting status
during sync, refresh GPU memory from deployment, and tolerate crash-loop
while waiting for service ready.
2026-09-07 21:14:00 +08:00
屈轩
5fb64e76d2 fix(mcp-server): upgrade mcp lib (#25574) 2026-09-07 14:25:53 +08:00
Zexi Li
80c4977f58 feat(llm): allow disabling pod/container cgroup CPU and memory limits (#25577)
Inference SKUs default to off; SKU and CLI expose enable flags so hosts can skip CFS quota and memory hard limits when needed.
2026-09-07 14:06:35 +08:00
屈轩
d76698cfa1 fix(region): vendor update (#25570) 2026-09-07 10:27:13 +08:00
Jian Qiu
56fec3fcb5 fix(apigateway): authenticate csrf resource requests with the caller session (#25566)
Align the csrf resource handler with other API resource handlers by requiring a token and forwarding with the caller's own session.

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 20:48:18 +08:00
Jian Qiu
0f830b4219 fix: verify test revisit (#25562)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-09-04 19:39:30 +08:00
Jian Qiu
59b658ce87 fix: module not found return 404 (#25558)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-09-04 19:23:42 +08:00
屈轩
bb540b7a4a fix(region): esxi v2v prefer storage (#25554) 2026-09-04 17:33:31 +08:00
Jian Qiu
95332ed656 fix(webconsole): authenticate sftp endpoints and check session owner (#25502)
The sftp list/download/upload endpoints were not protected by
authentication, only by the UUID4 session id. Anyone who learned the
session id (it appears in URLs and logs) could list, download and
upload files of the VM over the victim's active SSH/SFTP channel.

Wrap all three endpoints with auth.Authenticate and record the owner
of each sftp session at registration, so only the user who opened the
session can use it.

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-09-04 13:46:08 +08:00
Jian Qiu
2f0ce30f5c fix(webconsole): validate ssh target ip against accessible resources (#25487)
The ssh console endpoint accepted a raw ip address in the URL path
and dialed it directly with user provided credentials, so any
authenticated user could use the webconsole service as an internal
SSH proxy, port scanner and credential brute-forcer.

Resolve the ip against hosts (access_ip) and servers (ip_addr)
visible to the user's session and require it to match one of them,
rejecting all other addresses.

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-09-04 10:06:25 +08:00
Jian Qiu
f56e2327b1 fix(s3gateway): enforce signature freshness and single key decoding (#25490)
- Reject signed requests older or newer than 15 minutes (x-amz-date
  for v4, Date for v2), so intercepted valid requests can no longer
  be replayed indefinitely
- Decode the object key exactly once: r.URL.Path is already decoded
  by net/http and is the form the signature covers, decoding again
  let a signature for one key be replayed against another
  (e.g. %252e%252e%252f resolving to ../)
- Add unit tests for both behaviors

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-09-04 09:19:43 +08:00
Jian Qiu
c805952b40 fix(webconsole): fetch kubeconfig with user session for k8s shell (#25484)
The k8s shell/log endpoints fetched the target cluster kubeconfig
with the admin session, bypassing RBAC and owner scope checks, so any
authenticated user could exec into pods and read logs of any
registered cluster.

Fetch the kubeconfig with the user's own session instead, so policy
checks and owner filtering apply, and command records are attributed
to the real user.

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-09-04 09:18:52 +08:00
Jian Qiu
bebb68775f fix(webconsole): generate session key with crypto/rand (#25486)
The AES key encrypting all console session tokens was derived from
rand.Float32 with only about 24 bits of entropy, so it could be
recovered by brute force from a single known (session id, token)
pair and then be used to forge access tokens of arbitrary sessions.

Generate the key from 32 crypto/rand bytes instead (about 192 bits
of effective entropy). Sessions live in process memory only, so a
per-process random key is sufficient.

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-09-04 09:17:43 +08:00
Jian Qiu
afc0519d87 fix(webconsole): isolate RDP console sessions with unique ids (#25485)
RemoteRDPConsoleInfo.GetId() always returned an empty string, so all
RDP sessions were stored under the same key in the session manager:
any valid RDP access token resolved to whatever RDP session was stored
last, letting a user take over another user's console session
(host/port/username/password).

Give every RDP session a random UUID id and validate in
SSessionManager.Get that the presented access token is exactly the
one issued for the session, so sessions can not be reached by any
other token.

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-09-04 09:16:50 +08:00
wanyaoqi
c29357296d fix(region): use host type hypervisor rather than kvm (#25534) 2026-09-03 23:54:52 +08:00
Jian Qiu
c557a8b230 fix(appsrv): do not honor CORS credentials for wildcard origins (#25501)
With cors_hosts unset (the default), the CORS middleware allowed all
origins and echoed the request origin together with
Access-Control-Allow-Credentials, so any website could make
authenticated cross-origin requests against the API with the user's
cookies.

Credentials are now only honored for explicitly listed origins:
with an empty or wildcard origin allowlist the middleware responds
with Access-Control-Allow-Origin: * and no credentials header.

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-09-03 23:53:36 +08:00
Jian Qiu
ba61b4040b fix: convert sql.ErrNoRows to 404 not found (#25522)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-09-03 23:51:53 +08:00
Jian Qiu
9c88aa36d8 fix(notify): harden verification code generation and verification (#25483)
- Generate verification codes with crypto/rand instead of the
  predictable time-seeded math/rand
- Count failed verification attempts and invalidate the code after
  verify_max_attempts (default 5) failures, closing the unlimited
  online brute force of the 6-digit code at the login endpoint
- Delete the verification record after a successful check so codes
  are single use and can not be replayed within the validity window
- Add unit tests for code generation

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-09-03 23:49:29 +08:00
Jian Qiu
d4de3860df fix(hostimage): harden nbd export against command injection (#25491)
The nbd export endpoints interpolated the request disk_id into
shell commands (sh -c with the joined qemu-nbd command line, and
ps|grep for the process check), so a crafted disk_id could execute
arbitrary commands as root on the host image service.

- Require the disk_id to be a plain UUID in both export and close
  endpoints
- Run qemu-nbd with argv instead of sh -c
- Check the export process via its pid file and kill -0 instead of
  shell pipelines
- Add unit tests for the validation and the process check

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-09-03 23:48:20 +08:00
Zexi Li
c6bc5f5de2 feat(llm): support cancel and resume for instant model import (#25521)
Allow deleting models to abort in-flight downloads, persist import input for resume-import after killed status, and clean up import cache on delete.
2026-09-03 20:14:48 +08:00
Jian Qiu
d4fa442de0 fix(mcp-server): do not expose server-monitor as an MCP tool (#25488)
server-monitor sends arbitrary QMP/HMP commands (pmemsave, migrate,
etc.) to a running guest, which exceeds the semantics of monitoring.
As an MCP tool it could be triggered without human awareness through
LLM prompt injection or the tool-request endpoint.

Remove the mcp-desc registration tag from ServerMonitorOptions so
climcgen no longer registers the tool, drop its mention from the MCP
instructions, and add a regression test asserting it is not exposed.
The climc command and the permission-gated region API are unchanged.

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-09-03 19:22:30 +08:00
Jian Qiu
2aace16f5f fix: mask tokens and passwords in logs (#25489)
Full session tokens were written to logs in policy.go, mcclient auth,
oidc handler and the webconsole session manager; guest root passwords
were logged by the linux fsdriver and the nbdkit mount command; MCP
tool arguments and full JSON-RPC bodies (which may contain
server-reset-password passwords) were logged by the llm agent.

Truncate tokens in log messages, drop or mask password values and
log only the tool/method name for MCP calls.

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-09-03 19:20:25 +08:00
屈轩
b1a21ffefc fix(region): vmware vm nic sync (#25507) 2026-09-03 18:27:21 +08:00
Jian Qiu
1f7d15ae83 fix(hostman): harden deployer command execution against shell injection (#25477)
- Quote the heredoc delimiter when writing deploy params to the
  deployer guest, so deploy content, passwords and other
  user-supplied values are written literally and shell expansions
  ($(...), backticks, $VAR) inside them are not evaluated by the
  remote shell
- Escape JSON passed via --deploy-params as a single POSIX shell
  word, preventing single quotes in user data from breaking out of
  the argument
- Add unit tests covering injection payloads

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-09-03 17:59:23 +08:00
Jian Qiu
bb4e9a4e13 fix(webconsole): harden climc shell command execution against injection (#25476)
- Run ssh via exec.Command argv instead of "bash -c" string
  interpolation, so user-supplied fields can no longer escape into
  local shell commands on the webconsole server
- Quote every interpolated value (env, command, args) as a POSIX
  shell word, so they stay literal data on the remote shell
- Validate username charset and limit target_ip to climc pod or container
- Add unit tests covering injection payloads

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-09-03 10:51:51 +08:00
Jian Qiu
fb44b7fac2 fix: apigateway returns cors_hosts to browser (#25494)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-09-03 00:50:29 +08:00
Jian Qiu
f74aae22a4 fix: update rpm build scripts for openeuler (#25475)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-09-02 20:28:49 +08:00
Zexi Li
5bde2cafbe Automated cherry pick of #25479: Feat/aiproxy model context window (#25481)
* feat(aiproxy): expose catalog context window on AI models

Populate known 1M+ context windows in catalog seed data and return
context_window in AI model list/detail API responses.

* feat(aiproxy): add instance test-connectivity and set-models actions

Add provider instance test-connectivity using stored ai_key secrets,
and set-models to import selected catalog models while skipping
existing model_key rows. Register corresponding climc perform commands.
2026-09-02 17:43:58 +08:00
wanyaoqi
c6352a338d fix(region): disable startrun snapshotsCleanup (#25449) 2026-09-02 15:59:32 +08:00
Zexi Li
4641bf4ade fix(cloudcommon): fix err shadowing in GetPropertyDistinctField (#25472) 2026-09-02 15:58:21 +08:00
屈轩
25f1a39139 fix(region): optimized cachedimage list (#25465) 2026-09-02 11:40:09 +08:00
屈轩
117fb60199 fix(region): support filter cloudprovider by regions (#25460) 2026-09-01 16:05:47 +08:00
屈轩
9f2b500694 fix(region): vendor update (#25457) 2026-09-01 13:41:26 +08:00
屈轩
3082bb6b83 fix(apigateway): update mcp api addr (#25454) 2026-09-01 13:41:09 +08:00
屈轩
7de35e60e3 fix(region): optimized cachedimage list (#25450) 2026-09-01 09:18:08 +08:00
Zexi Li
1b2a11f3ef feat(llm): add llm_sku clone API and climc support (#25445) 2026-08-27 19:00:54 +08:00
wanyaoqi
9e790b049c fix(region,host): optimize snapshot delete (#25440)
use rebase/commit merge backing chain instead of convert.
2026-08-27 16:27:19 +08:00
wangyf0611
a722b3dd69 feat(region,host): support riscv64 usage (#25439)
* feat(region): include riscv64 usage statistics

Signed-off-by: wangyf0611 <wangyufeng@iscas.ac.cn>

* feat(host): support openRuyi guest initialization

Signed-off-by: wangyf0611 <wangyufeng@iscas.ac.cn>

---------

Signed-off-by: wangyf0611 <wangyufeng@iscas.ac.cn>
2026-08-27 16:22:11 +08:00
wanyaoqi
0485a84dc0 fix(region): batch detach isolated devices (#25433) 2026-08-27 13:49:16 +08:00
wanyaoqi
575b0ed7be fix(region): set default stop time 300s (#25432) 2026-08-26 15:22:11 +08:00
Jian Qiu
a2e80e5681 fix: allow empty host networks (#25429)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-08-26 14:40:55 +08:00
屈轩
526e1770ef fix(region): not real delete glance cachedimage (#25423) 2026-08-25 14:58:56 +08:00
wanyaoqi
b7420fc08c fix(host-deployer): no noeed clean failed mountpoints (#25422) 2026-08-25 11:37:07 +08:00
Jian Qiu
338fabca7e fix: allow create-disk without disk args (#25415)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-08-24 15:48:23 +08:00
Jian Qiu
a4e15c7f59 fix: allow create-disk without disk args (#25413)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-08-24 15:47:16 +08:00
屈轩
654789b5b0 fix(region): v2v migrate uefi check (#25416) 2026-08-24 15:40:45 +08:00
屈轩
923053aa4d fix(glance): avoid receive notify when glance restart (#25409) 2026-08-24 15:05:04 +08:00
wanyaoqi
bd3e8d0d97 fix(host): guest desc correct rbd disk path (#25396) 2026-08-24 14:37:09 +08:00
wanyaoqi
9b3b41a13b fix(host-health,region): host health detect network available add check peers and default gw (#25385) 2026-08-24 14:34:36 +08:00
屈轩
bb21271162 fix(region): skip hostlocal wire when detect vmware net (#25404) 2026-08-24 14:19:28 +08:00
屈轩
e47a923065 fix(region): show more error info for vmware net detect (#25400) 2026-08-24 10:21:28 +08:00
Zexi Li
2de295222d feat(llm): merge SKU envs into container and validate prefer_hosts updates (#25389)
Allow local_path SKUs to update prefer_hosts on edit, and overlay SKU envs onto the primary container with same-key override.
2026-08-21 14:27:58 +08:00
Jian Qiu
63ef1dad78 fix: unhandled errors (#25383)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-08-20 17:30:29 +08:00
Zexi Li
d2981f8111 fix(host): skip unmanage interface when bridge slave has no address (#25382)
Only call tryUnmanageInterface when the slave interface has IPv4 or IPv6
addresses configured, avoiding unnecessary NetworkManager unmanage on
address-less interfaces during bridge setup.
2026-08-20 17:26:54 +08:00
屈轩
de26e6140d fix(region): skip sync cloudpods kvm secgroup (#25376) 2026-08-20 10:45:00 +08:00
wanyaoqi
360fbbd47b Automated cherry pick of #25365: fix(region,host): guest stop add timeout options,and check is_force (#25371)
* fix(host): check qga guest-get-osinfo error

* fix(region,host): guest stop add timeout options and is_force check
2026-08-20 10:15:55 +08:00
屈轩
d2755e8370 fix(region): support cloudpods ipset (#25360) 2026-08-19 18:56:30 +08:00
Zexi Li
29f65063b7 fix(scheduler): report HAMI hostFree before min-memory filter (#25372)
Shortage messages now show remaining GPU memory from matched devices
before min-memory filtering, so users see actual free capacity instead of 0.
2026-08-19 16:40:51 +08:00
Jian Qiu
f2ffa5d034 fix: storage set metadata in post_create (#25367)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-08-19 16:21:25 +08:00
wanyaoqi
9393059615 Automated cherry pick of #25347: fix(host): add options enabel vendor/device pt usb dev (#25349)
* fix(host): add options enabel vendor/device pt usb dev

* fix(host): add audio device for spice driver
2026-08-19 14:13:16 +08:00
Jian Qiu
edaf7599da fix: deploy qga path not found error (#25353)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-08-19 14:09:53 +08:00
Zexi Li
edd9a51a58 feat(llm): check sku schedule info (#25362) 2026-08-19 12:18:18 +08:00
Zexi Li
d4876a18bd fix(aiproxy): remove 30-day limit on custom usage range (#25356)
Allow querying usage statistics over custom date ranges longer than 30 days.
2026-08-17 17:00:14 +08:00
Jian Qiu
21ec4f7f5c fix: disk backup filter by server_id (#25346)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-08-15 09:38:15 +08:00
Jian Qiu
d50f3d8e7f feature: support idp driver attribtue_names (#25335)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-08-15 00:16:19 +08:00
wanyaoqi
bf4ef9b0f5 Automated cherry pick of #25313: Fix/device add params2 (#25315)
* fix(host): device add params use interface

* fix(host): ide device addr
2026-08-15 00:15:21 +08:00
屈轩
d84952bf77 fix(glance): detect windows iso (#25340) 2026-08-14 19:02:12 +08:00
Zexi Li
ea65b5d1a5 fix(monitor): nodata 告警补充 ResIdKey 与 AlertDetails (#25339)
为 CommonAlertMetricDetails 填充资源 ID tag,并在无数据评估匹配中序列化 AlertDetails,便于下游定位资源。
2026-08-14 16:09:10 +08:00
屈轩
4cbeeb58c5 fix(glance): iso image detect (#25329) 2026-08-14 14:53:41 +08:00
屈轩
499989c27e fix: update telegraf version (#25322) 2026-08-14 14:53:14 +08:00
Zexi Li
e73506385a feat(aiproxy): encrypt ai_key and virtual_key secrets at rest (#25328)
Store provider secrets and virtual keys encrypted with AES, add hash-based VK lookup, and migrate existing plaintext rows on init.
2026-08-14 14:40:39 +08:00
Zexi Li
24c22d13e3 feat(aiproxy): migrate catalog resources to virtual resource base (#25318)
Give ai providers/models/keys/routing-models project scope with tenant backfill, and pass project/domain on LLM sync upserts.
2026-08-14 10:44:31 +08:00
屈轩
1e37006b48 fix(cloudmon): cloudpods metric pull delay time (#25316) 2026-08-14 10:37:38 +08:00
屈轩
1d91431184 fix: mcp streamable (#25310) 2026-08-13 16:37:25 +08:00
wanyaoqi
3262f14ab1 fix(region): server-create add src ip/mac check (#25304) 2026-08-13 10:10:48 +08:00
Zexi Li
a13a322bf2 feat(llm): sync isolated devices by sharing_mode on restart (#25307)
Respect sharing_mode when attaching/restoring GPU devices in compute,
and sync LLM guest devices with SKU config instead of only detaching
when empty.
2026-08-12 20:17:22 +08:00
Zexi Li
b0948fee8f feat(k8s): add cluster history-data-clean climc command (#25298) 2026-08-11 13:54:44 +08:00
Jian Qiu
5fc2174eeb feature: support create disk backup from file (#25175)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-08-10 11:25:07 +08:00
Jian Qiu
72888ba060 fix: dhcp distribute static routes on condition (#25297)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-08-10 10:31:22 +08:00
Zexi Li
25bd5f8ed9 fix(baremetal): restore missing brace in ipmitool test helper (#25295) 2026-08-07 18:31:33 +08:00
Bo Xu
1d7ceb3c66 fix(baremetal): add IPMI LAN channel discovery with fallback (#25222)
* fix(baremetal): add AllowFallback guard for OEM profile LAN channel authority

OEM/model profiles are authoritative allowlists; their LanChannels must not be overridden by the fallback 1..11 scan. Add AllowFallback bool to LanConfigSelectionOptions, wrapping the fallback scan in a conditional. When false (default), only preferred and persisted channels are probed.

* fix(baremetal): set AllowFallback on ipmiprobe and manager callers

manager.checkIpmiInfo: AllowFallback=false (profile always present). ipmiprobe.doRawIpmiProbe: AllowFallback=profile==nil (fallback only when no profile exists).

* fix(baremetal): set AllowFallback=false in configIPMISetting, cleanup bm_register

configIPMISetting: AllowFallback=false (profile always present). bm_register.updateIpmiInfo: replace profile-based channel scan with GetLanConfig on the registered channel directly.

---------

Co-authored-by: Zexi Li <zexi.li@icloud.com>
2026-08-07 18:26:09 +08:00
Zexi Li
3270a5dd79 fix(baremetal): tolerate ipmitool exit 1 when lan output is usable (#25291)
Some BMCs return exit status 1 from ipmitool lan print even with valid
LAN config, which caused IPMI probe to fail with no IPMI lan NotFoundError.
2026-08-07 17:22:56 +08:00
DadaVinqi
2730639e1b fix(lbagent): generate valid UDP health check config (#25268)
Signed-off-by: DadaVinqi <DadaVinqi@users.noreply.github.com>
Co-authored-by: DadaVinqi <DadaVinqi@users.noreply.github.com>
2026-08-07 14:31:03 +08:00
wanyaoqi
2cdf006b12 fix(host): e1000 nic add hotplug support (#25283) 2026-08-07 09:59:08 +08:00
屈轩
89e31be5bc fix(region): change config stop options check (#25284) 2026-08-06 17:32:24 +08:00
Zexi Li
e7edd821c1 fix(llm): detach stale GPUs when effective devices are empty on restart (#25280)
Avoid keeping bound isolated devices after SKU/LLM devices are cleared;
desktop container setup now follows effective devices only.
2026-08-06 10:02:22 +08:00
Zexi Li
17e72d71d9 fix(aiproxy): keep weight=1 keys selectable after health penalty (#25277)
Integer truncation of base*mul/maxScore can yield 0 for weight=1 keys,
permanently excluding them; floor effective weight at 1 when mul > 0.
2026-08-04 20:25:23 +08:00
wanyaoqi
61963c5721 fix(host): slvm create from snapshot (#25265) 2026-08-04 10:22:54 +08:00
Zexi Li
c2fbb426f6 feat(host): support Hygon DCU HAMI vdev core allocation (#25274) 2026-08-04 10:21:09 +08:00
wanyaoqi
0b6c26c45b feat(glance): support nfs as backend storage (#25240) 2026-08-03 16:00:21 +08:00
Jian Qiu
696bd7b678 fix: region backward compatible fields for isolated_devices (#25263)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-08-03 15:59:08 +08:00
Zexi Li
e05d6f3e9a fix(llm): derive aiproxy upstream model key from local_path sku (#25270) 2026-08-03 15:44:21 +08:00
Zexi Li
eab7db5518 feat(llm,host): support Hygon DCU runtime for vLLM containers (#25260)
Wire vendor on LLM SKU devices, resolve supplemental groups for DCU
access, source DTK env in vLLM entrypoint, and add hysmi telegraf metrics.
2026-08-02 13:52:16 +08:00
wanyaoqi
cdd53fb02a fix(region,host,monitor): hami misc fix (#25257)
- npusmi monitor support
2026-07-31 10:10:49 +08:00
Matt Gideon
6e6d74e38c fix(seclib2): support Ed25519 encryption (#25251)
Handle Ed25519 public and private keys in the AES-based encryption path.

Add round-trip coverage for OpenSSH and PKCS#8 private keys.
2026-07-30 10:34:42 +08:00
Jian Qiu
d78edaed9e fix: handle host listen interface and master nic (#25250)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-07-29 23:46:49 +08:00
Zexi Li
a29c7ce9f1 feat(host): support Hygon DCU isolated device and HAMI (#25247)
Add Hygon DCU container device passthrough, HAMI vGPU sharing, vendor
field/filter on isolated devices, remote path helper, and LLM SKU mapping.
2026-07-29 19:01:55 +08:00
Zexi Li
4ea44a5f17 fix(llm): require memory_mb for local_path HAMi devices (#25243)
local_path SKUs cannot estimate VRAM from InstantModel; validate HAMi devices set devices[].memory_mb on create/update and deployment.
2026-07-29 10:22:12 +08:00
wanyaoqi
a4c39057fb Automated cherry pick of #25206: fix(region,host): host register with correct hostname (#25234)
* fix(region,host): host register with correct hostname

* fix(region): guest migrate reuse create params schedtag
2026-07-28 11:01:36 +08:00
wanyaoqi
4be8bb19a7 feat(host): support ascend npu hami (#25237) 2026-07-28 10:56:05 +08:00
Zexi Li
0c04596500 feat(baremetal): support IPMI RMCP+ cipher suite probe and persist (#25239)
Auto-detect working ipmitool -C suites (0/3/17) and store cipher_suite on host IPMI config for subsequent connections.
2026-07-28 10:27:20 +08:00
屈轩
e7ce74000c fix(climc): climc options update (#25226) 2026-07-27 19:41:01 +08:00
wanyaoqi
cc3a2490af fix(host): qmp device add convert string to boolean (#25230) 2026-07-27 19:08:18 +08:00
Zexi Li
dab1360311 fix(aiproxy): avoid permanent ai_key blacklist and clarify skip reasons (#25225)
Enter cooldown when health score hits zero so keys can recover, and include concrete skip reasons in resolve errors.
2026-07-27 12:16:12 +08:00
Jian Qiu
39ba861cdf feature: ip set support (#25217)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-07-24 16:34:08 +08:00
Jian Qiu
1920de6147 fix: vpc distributes static routes (#25213)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-07-23 19:36:42 +08:00
Zexi Li
62d61ee89d feat(llm): support hami (#25216) 2026-07-23 17:08:56 +08:00
Jian Qiu
d75d58f42e fix: baremetal use legacy http client (#25207)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-07-23 16:32:52 +08:00
屈轩
8d0ee46764 fix(region): vendor update (#25203) 2026-07-22 11:19:05 +08:00
Jian Qiu
07b718eeb2 fix: allow empty ip on link-local nic (#25202)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-07-22 11:05:55 +08:00
屈轩
48204b5064 fix(region): vendor update (#25196) 2026-07-21 23:31:44 +08:00
屈轩
29a2eca906 fix(mcp-server): optimized mcp desc (#25193) 2026-07-21 16:19:09 +08:00
屈轩
8e1b9a4d11 fix(mcp-server): support forwarding mcp-server request (#25190) 2026-07-21 13:27:39 +08:00
屈轩
02c65a9d54 fix(mcp-server): optimized mcp server options (#25187) 2026-07-20 20:56:26 +08:00
屈轩
2a9be258f9 fix(mcp-server): mcp use climc struct (#25174) 2026-07-20 17:17:20 +08:00
wanyaoqi
76f035e4e3 feat(region,host,scheduler): isolated device refactor and hami support (#25182) 2026-07-20 14:00:04 +08:00
wanyaoqi
1d2c8733ad fix(host-deployer): bond netplan add vlan subinterface config (#25178) 2026-07-20 12:16:20 +08:00
wanyaoqi
142b0dabf5 fix(region): baremetal boot mode decided by selected host on image support both uefi&bios (#25154) 2026-07-20 12:07:22 +08:00
wanyaoqi
39e42cfa27 fix(host-deployer): windows disk extend separate partition and filesystem (#25138) 2026-07-20 12:05:36 +08:00
wanyaoqi
e15487dd68 fix(host): add nest virtualization options (#25125) 2026-07-20 12:03:26 +08:00
wanyaoqi
d5f113d64c fix(region): disk change driver support change aio_mode and cache_mode (#25095) 2026-07-20 11:39:13 +08:00
屈轩
57c858a6ea fix(mcp-server): query scope params (#25171) 2026-07-17 00:26:47 +08:00
屈轩
a9761ea558 fix(cloudid): batch detach policy (#25163) 2026-07-16 19:08:08 +08:00
屈轩
25ec1683c8 fix(region): support cas hypervisor (#25160) 2026-07-16 19:07:54 +08:00
Zexi Li
669fa8009c fix(aiproxy): emit done events before response.completed in stream converter (#25158)
Emit output_item.done, reasoning_summary_part.done, function_call_arguments.done,
and related finalize events for text, reasoning, and tool calls before the
response.completed event to match the Responses API stream contract.
2026-07-16 17:02:18 +08:00
Zexi Li
49c5cfa421 feat(aiproxy): auto-provision placeholder ai_key for upstream resolve (#25156) 2026-07-15 19:24:57 +08:00
cwz_eikoh
ed4a8dc049 feat(llm): add llm-router-agent (#25128) 2026-07-15 15:31:08 +08:00
cwz_eikoh
20620bb5a1 feat(llm): support llm-bench in llm (#25103) 2026-07-15 15:00:37 +08:00
Zexi Li
068cc8bdbd Automated cherry pick of #25145: feat(aiproxy): support streaming responses for visual messages (#25146)
* feat(aiproxy): support streaming responses for visual messages

* refactor(aiproxy): share API log helpers and support input/output token usage

Extract common chatlog record lifecycle across proxy handlers, and fall back
to Responses/Anthropic usage field aliases when filling token counts.
2026-07-15 10:57:49 +08:00
Zexi Li
cdc8ab78b5 feat(aiproxy): move visual provider to model columns and support streaming responses (#25144)
Promote visual_provider_id/visual_model_key to dedicated ai_model columns,
force non-stream upstream orchestration for visual paths, and synthesize SSE
chunks for streaming Responses requests that include images.
2026-07-14 18:39:30 +08:00
Zexi Li
73d7cbbb1f Automated cherry pick of #25132: refactor(aiproxy): rename chat log config to API log with S3 fields (#25141)
* refactor(aiproxy): rename chat log config to API log with S3 fields

* feat(aiproxy): add visual extension for Responses image tools

Wire visual model catalog, orchestration, and OpenAI Responses compat so chat/Codex can invoke image generation and editing tools.
2026-07-14 11:52:58 +08:00
wanyaoqi
5f1b76755b fix(region): reset guest quorum child index on guest shutdown (#25133) 2026-07-14 00:10:38 +08:00
屈轩
6a22bb4d2d fix(region): split sync and probe worker (#25100) 2026-07-13 14:00:02 +08:00
Jian Qiu
35b100b03c fix: allow security group cidr have multiple prefixes (#25122)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-07-13 13:58:46 +08:00
Zexi Li
40b3c82ab4 feat(aiproxy): add Z.AI / Zhipu provider with dual OpenAI and Anthropic API modes (#25131)
Register zhipu as a public OpenAI-compat provider with GLM catalog seeds,
Anthropic passthrough routing, and v4-style base URL path handling.
2026-07-13 11:25:22 +08:00
Zexi Li
afde072512 feat(aiproxy): add OpenAI Responses API with provider adapters and Codex support (#25127)
Implement /v1/responses endpoint with multi-provider translation (OpenAI, Azure,
Anthropic, Gemini), streaming compat layers, Codex config/tool integration, and
updated functional test docs.
2026-07-10 16:40:56 +08:00
Jian Qiu
05a55ed36b fix: allow deleting idp without checking project count (#25108)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-07-10 08:35:55 +08:00
屈轩
598381f9a5 fix(region): gcp network tags (#25119) 2026-07-09 17:11:21 +08:00
屈轩
df94e8049b fix(yunionconf): batch import tags (#25116) 2026-07-09 16:43:01 +08:00
Jian Qiu
7651726458 fix: host order by sql redundant group by (#25114)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-07-09 14:22:44 +08:00
cwz_eikoh
52d2ddcb45 feat(aiproxy): support log record in aiproxy through minio (#25078) 2026-07-09 13:01:21 +08:00
Jian Qiu
54b7c42d94 fix: lb listener rule specific certificates (#25106)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-07-08 12:03:53 +08:00
Zexi Li
167682c39b feat(aiproxy): add Anthropic Messages API and migrate functional tests to Go (#25107)
Add /v1/messages handler with Anthropic-to-OpenAI translation, upstream
failover, and probe endpoints. Replace shell-based functional test scripts
with pkg/aiproxy/ft and climc test commands; consolidate documentation.
2026-07-07 20:13:14 +08:00
屈轩
e6c9393955 fix(region): pve host driver compatibility (#25098) 2026-07-03 15:37:40 +08:00
Zexi Li
9cc4d76a81 feat(llm): add ModelScope instant model import and refactor model download (#25092)
Add ModelScope hub integration, download driver, and instant model import
flow parallel to HuggingFace. Extract shared HuggingFace download helpers
and reuse them across vLLM/SGLang container drivers.
2026-07-01 20:13:17 +08:00
Zexi Li
3431c10196 feat(llm): support local_path scheduling with prefer_hosts and deployment restart (#25090) 2026-07-01 13:11:19 +08:00
wanyaoqi
31e342881e fix(host-deployer): mount procfs before deploy guestfs (#25087) 2026-07-01 00:53:59 +08:00
Zexi Li
0f63315fc8 feat(scheduler): append GPU reserved resource hints on predicate failure (#25084) 2026-06-30 15:40:50 +08:00
Zexi Li
d9cf601841 feat(llm): backfill orphan LLM instances into deployments on init (#25081)
On service startup, find LLM instances without llm_deployment_id and
create a matching SLLMDeployment, then link the instance. Idempotent
across restarts; skipped on slave nodes.
2026-06-29 11:28:54 +08:00
wanyaoqi
1b742b49e9 fix(host-deployer): do base64 windows password (#25071) 2026-06-28 08:24:48 +08:00
屈轩
7802f909e0 fix(region): quota check (#25066) 2026-06-26 13:06:00 +08:00
wanyaoqi
75cc892bf7 fix(region,host): kvm guest change disk driver reset uefi vars (#25069) 2026-06-26 10:20:37 +08:00
wanyaoqi
be57fc2845 fix(host): qemu set multifd before start incoming migration (#25065)
use drive mirror do block migration
2026-06-26 10:18:58 +08:00
cwz_eikoh
b48c1be667 feat(llm): tool call defaults & auto gpu ultilization (#25074)
* feat(llm): upgrade auto-gpu-ultilization

* feat(llm): add vllm tool call defaults

* feat(llm): add sglang tool call defaults
2026-06-26 10:15:19 +08:00
Zexi Li
8f1d740b54 feat(llm): async instant model delete and improve import status tracking (#25073)
fix(aiproxy): set OpenAI handler process timeouts and skip upstream error
response when request context is already cancelled.
2026-06-25 19:52:46 +08:00
Zexi Li
ba39e80fd8 feat(llm): validate GPU devices on deployment create and improve error messages (#25063) 2026-06-24 14:27:25 +08:00
wanyaoqi
143ca823c8 fix(region): snapshot validate add check guest is quorum master guest (#25051) 2026-06-24 10:30:00 +08:00
cwz_eikoh
d4dd65cb24 Feature/http get+llm probe (#25016)
* hostman: probe http get in pod netns

* llm: watch pod status for service readiness
2026-06-23 19:40:30 +08:00
屈轩
e693162ad0 fix(region): filter sku by zone ids (#25060) 2026-06-23 15:00:30 +08:00
Zexi Li
f69856eeb0 fix(aiproxy): defer stream context cancel until chunks are consumed (#25059) 2026-06-23 14:09:47 +08:00
Zexi Li
4a4b3f8676 feat(llm): sync llm deployment with aiproxy catalog and routing (#25057)
Add auto_register_aiproxy on llm_deployment creation, background sync task,
and register/unregister CLI actions. Link aiproxy providers, routings, and
models to llm replicas via llm_id and llm_deployment_id fields.
2026-06-22 20:14:01 +08:00
屈轩
4d6f4452c0 fix(region): vendor update (#25056) 2026-06-22 11:39:28 +08:00
cwz_eikoh
108db8ca87 Feature/llm route for aiproxy (#25044)
* feat(aiproxy): support routing model in aiproxy

* feat(llm): add llm-router
2026-06-22 10:09:38 +08:00
Jian Qiu
50a7105cff fix: credential scope revisit (#25049)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-06-21 08:34:50 +08:00
wanyaoqi
ba9a7fe775 fix(host): recycle servers dir on guest delete (#25021) 2026-06-21 08:34:07 +08:00
Jian Qiu
6fa7c8f9d2 fix: some host_type should consider container (#25047)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-06-20 09:47:32 +08:00
屈轩
2b927e742d fix(region): remove debug log (#25041) 2026-06-17 14:50:20 +08:00
屈轩
8a6d6faf24 fix(region): aws dedicated host sync (#25039) 2026-06-16 20:14:23 +08:00
屈轩
8719e73105 fix(compute): polish httperrors error messages in pkg/compute (#25035)
Unify spelling, grammar, and semantics of API error strings without changing error types or business logic.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-15 20:49:16 +08:00
屈轩
987191082b fix(region): vendor update (#25033) 2026-06-15 17:42:51 +08:00
Zexi Li
3ff72d8a38 feat(llm): add community images catalog API (#25032)
Expose llmimages.yaml as list/show/refresh endpoints with configurable
source URL, periodic cache refresh, and mcclient module support.
2026-06-15 17:26:37 +08:00
屈轩
24caa8dd11 fix(region): filter sku by zone ids (#25028) 2026-06-15 15:50:42 +08:00
屈轩
bd236cb965 fix(region): vendor update (#25026) 2026-06-15 14:58:10 +08:00
屈轩
7d0870790a fix(region): struct tag fix (#25023) 2026-06-15 11:04:17 +08:00
wanyaoqi
f36d39848c fix(region): guest detach isolated devices add is_force options (#25019) 2026-06-15 09:54:29 +08:00
屈轩
bf919b8f7a fix(region): disk througput sync (#25017) 2026-06-13 11:54:43 +08:00
wanyaoqi
6126af72d4 fix(host): guest python launcher error (#25014) 2026-06-12 14:07:35 +08:00
屈轩
688ae49a28 fix(region): optimized sku query (#25008) 2026-06-11 14:31:21 +08:00
wanyaoqi
44f7c6e688 fix(region): host model add api stats (#24956) 2026-06-09 23:02:04 +08:00
屈轩
7c7353cf7b feat(aiproxy): add aiproxy (#24916) 2026-06-09 18:54:42 +08:00
屈轩
e9a6034705 fix(region): sku price (#25001) 2026-06-09 15:58:13 +08:00
Zexi Li
43d4c1e739 feat(monitor): add tag name/id mapping in metric measurement API (#25000)
Return structured MetricMeasurementOutput with TagNameIdMap and
TagNameIdValueMap so callers can resolve resource names to IDs.
2026-06-09 15:14:47 +08:00
屈轩
b876405c97 fix(region): vendor update (#24998) 2026-06-09 14:16:49 +08:00
屈轩
ac31682e01 fix(region): vendor update (#24996) 2026-06-08 20:45:49 +08:00
屈轩
44078851ba fix(region): vendor update (#24994) 2026-06-08 16:03:17 +08:00
cwz_eikoh
bf8aab9f75 Feat/deployment hostpath (#24985)
* feat(llm): hostpath support in deployment

* fix(llm): status error in deployment & sku deleted by deployment accidentally
2026-06-08 11:23:34 +08:00
cwz_eikoh
a8e5bf82eb feat(host): support host_path detected in scheduler (#24967) 2026-06-08 11:01:29 +08:00
屈轩
5cdadb69ce fix(region): avoid panic (#24988) 2026-06-08 10:58:47 +08:00
Zexi Li
9f35b4e597 fix(host): rewrite vm_name in telegraf influx proxy after rename (#24991)
Sync host guest desc on local VM rename and correct vm_name (and
tenant_id) tags when metadata service proxies agent metrics to TSDB.
2026-06-08 10:43:38 +08:00
Jian Qiu
c80d865a24 fix: support ansible galaxy mirror (#24987)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-06-08 08:57:09 +08:00
屈轩
e0584f12e3 fix(region): support rockbasecloud (#24978) 2026-06-05 19:28:19 +08:00
屈轩
3ac9178c61 fix(monitor): skip disable account alert (#24979) 2026-06-05 16:14:25 +08:00
Jian Qiu
354408b656 fix: lbagent service code typo 20260604 (#24977)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-06-05 01:13:15 +08:00
屈轩
adbefb74bf fix(region): prefer zones (#24966) 2026-06-04 18:51:48 +08:00
Zexi Li
9d85cfcd5d fix(llm): 更新 model catalog 默认 URL 与 webtop 镜像同步 (#24974)
将 ModelCatalogURL 默认路径改为 model-catalog.yaml;
sync_llm_images 改为同步 fedora-xfce webtop 并注释其它候选镜像。
2026-06-04 18:51:20 +08:00
Zexi Li
dd719de15c fix(llm): container desktop (#24969) 2026-06-04 11:51:29 +08:00
Zexi Li
40beca15e7 fix(monitor): alert_state of resource metrics api (#24965) 2026-06-03 17:15:44 +08:00
屈轩
fac826012e fix(region): extend external_id to 512 (#24962) 2026-06-03 15:27:58 +08:00
Zexi Li
df815ad02b feat(llm): container desktop (#24960) 2026-06-03 13:24:39 +08:00
屈轩
71f8c3004c fix(region): add cpu model nic bandwidth for server sku (#24953) 2026-06-03 10:59:48 +08:00
Jian Qiu
de012133d6 fix: compatibility issue with vms of empty hypervisor (#24958)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-06-03 09:57:53 +08:00
wanyaoqi
d6478049a1 fix(mps): parse pci addr convert to lower case addr (#24943) 2026-06-02 20:03:02 +08:00
wanyaoqi
17e67af77c fix(host): check cluster is valid before do qemuimg convert (#24947) 2026-06-02 20:02:04 +08:00
屈轩
69d3a2d894 fix(region): filter zone region by read only (#24950) 2026-06-02 11:15:20 +08:00
屈轩
b8835bb333 fix(region): support skip server sync by tags (#24948) 2026-06-02 11:05:10 +08:00
屈轩
d20f102508 fix(region): avoid create huawei windows server fail (#24939) 2026-06-01 15:52:44 +08:00
屈轩
47fab40fc0 fix(region): init cloudpods host type (#24933) 2026-05-31 14:17:15 +08:00
屈轩
2346d2691a fix(region): init external project (#24935) 2026-05-31 12:45:57 +08:00
cwz_eikoh
8a676e6b4c Feat/auto gpu ultilization (#24924)
* fix(llm): support hf import llm_sku

* feat(llm): auto-gpu-memory-utilization
2026-05-29 17:45:35 +08:00
屈轩
83a32e14f4 fix(host-deployer): lvm lock (#24926) 2026-05-29 15:01:15 +08:00
wanyaoqi
31e1ea64d9 fix(host): guest sync override cpu_numa_pin before update (#24914) 2026-05-28 19:58:45 +08:00
屈轩
cdc399e6d7 fix(region): add notices sync interval (#24922) 2026-05-28 19:47:51 +08:00
屈轩
6a1c3ea3ad fix(region): remove account id (#24919) 2026-05-28 17:40:28 +08:00
Zexi Li
08bcd59231 fix(ansibleserver): allow CreatorMark to be nullable in AnsiblePlaybookV2 (#24918) 2026-05-28 16:38:19 +08:00
cwz_eikoh
76e30df4f5 Feature/download progress (#24885)
* feat(llm): support download progress when model import

* fix(llm): unsupported catalog source \"ollama\" when model_set import llm_sku
2026-05-27 13:20:47 +08:00
Zexi Li
982807b66b feat(monitor): add ResourceMetricsDefaultInterval option (#24908) 2026-05-27 11:50:48 +08:00
屈轩
ce4ef5af78 fix: upgrade go 1.26 (#24904) 2026-05-27 11:22:07 +08:00
LiuChen
2ad20fff33 fix: throttle image cache progress callback to avoid download bottleneck (#24898)
When using S3/MinIO backend, the progress callback in AcquireImage was
called synchronously on every 4KB read chunk (via StreamPipe2). Each
call invokes UpdateServerProgress which makes a blocking HTTP PUT to the
compute API (~50ms), capping download speed at ~0.65 Mbps regardless of
available bandwidth.

Fix: throttle the callback to fire at most once every 5 seconds and make
the HTTP call asynchronous (goroutine), matching the behavior of v3.11.x
which used a 1-second ticker with async callbacks.

Fixes #24897

Co-authored-by: Mrliuch <liu15094534492@gmail.com>
2026-05-26 15:09:46 +08:00
屈轩
52f84f0cd3 fix(region): skip useless addition network wire create (#24893) 2026-05-25 19:45:43 +08:00
Zexi Li
66ae3c91a7 fix(host): aggregate same-type container devices for env config (#24892)
When multiple NVIDIA GPUs were attached to a container, each device was
passed individually to GetContainerExtraConfigures, producing one
NVIDIA_VISIBLE_DEVICES env per GPU. Duplicate env keys are collapsed by
the runtime to the last value, so the container only saw one GPU even
though the spec listed all of them.

Group RestDevs by DeviceType and invoke GetContainerExtraConfigures
once per type so all GPU UUIDs are joined into a single
NVIDIA_VISIBLE_DEVICES value.
2026-05-25 17:30:10 +08:00
Zexi Li
9ce9949b21 feat(llm,scheduler): vram calculation (#24889) 2026-05-25 16:27:28 +08:00
Jian Qiu
53da0f15fd fix: disable s3 direct download default (#24886)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-05-25 10:03:54 +08:00
cwz_eikoh
588c38ec74 feat(llm): auto append backend_parameters in vllm & sglang (#24876) 2026-05-22 17:01:54 +08:00
Zexi Li
ae431939fd fix(region): prefer check_code series for lb backend check_status (#24878) 2026-05-22 14:17:39 +08:00
Jian Qiu
2ecbbf31d9 fix: set bridge up after created (#24874)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-05-21 20:31:03 +08:00
wanyaoqi
fcf79ceda8 fix(scheduler): set options ContainerNumaAllocate default true (#24869) 2026-05-21 19:31:44 +08:00
Zexi Li
07cb7a5a6f feat(region,host): upload nvidia gpu memory size (#24868) 2026-05-21 16:20:40 +08:00
cwz_eikoh
b0cf03c486 feat(hermes): connect vllm/sglang/ollama (#24842)
Co-authored-by: Zexi Li <zexi.li@icloud.com>
2026-05-21 11:41:01 +08:00
cwz_eikoh
ff6d21e6ca feat(llm): create llm_sku from llm_model_set (#24855) 2026-05-21 11:40:23 +08:00
cwz_eikoh
f8ee734d8f feat(llm): Implement resumable downloads for models from Hugging Face (#24843) 2026-05-21 10:48:27 +08:00
Zexi Li
389583d36c fix(region): ensure lb backend check_status returned when check_code missing (#24856) 2026-05-21 10:34:02 +08:00
wanyaoqi
0be8e92d17 fix(host): remove cgroup root path check quotation marks (#24850) 2026-05-21 10:30:14 +08:00
Zexi Li
be90e452dc feat(llm): llm deployemnt (#24848) 2026-05-20 11:06:23 +08:00
Jian Qiu
6649b066ba Revert "fix: revert host masquerade setting (#24827)" (#24846)
This reverts commit 81149c89f6.
2026-05-19 21:01:42 +08:00
Zexi Li
02a83dc4ab fix(region): query metrics from monitor service (#24840) 2026-05-19 18:02:41 +08:00
Zexi Li
83d434bceb fix(llm): persistent /config dir of hermes agent (#24835) 2026-05-18 14:57:39 +08:00
Zexi Li
14b3048e61 feat(climc): add generic feature-config command (#24830)
Add a generic `feature-config <feature> <on|off>` command alongside the
existing per-feature `feature-config-<name>` commands. A `--force` flag
skips the known-features validation so new features can be toggled
without a code change. Also adds "ai" to the known feature list.
2026-05-18 14:28:46 +08:00
Jian Qiu
81149c89f6 fix: revert host masquerade setting (#24827)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-05-15 01:56:52 +08:00
cwz_eikoh
211619b685 feat(llm): support sglang (#24820) 2026-05-14 16:47:01 +08:00
Jian Qiu
ab3c557878 fix: lbagent keepalived service run may exit (#24804)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-05-13 12:07:43 +08:00
屈轩
ead788f066 fix(region): support stop for change vm config (#24815) 2026-05-12 19:48:02 +08:00
屈轩
8c200905b2 fix(region): update gp3 disk size (#24808) 2026-05-12 17:27:52 +08:00
cwz_eikoh
aec0118414 Feature(vllm): use entrypint instead of StartLLM (#24801)
* feat(llm): use entrypoint instead of StartLLM

* feat(llm): adapt front-end in comfyui instant-model
2026-05-12 10:43:05 +08:00
Zexi Li
6c4d68f3b8 fix(llm): honor SLLM device override when building container spec (#24799) 2026-05-11 20:06:35 +08:00
wanyaoqi
3fcde7842d fix(host): remove -no-kvm args, -no-kvm argument was a synonym for setting -machine accel=tcg (#24790) 2026-05-11 20:00:30 +08:00
wanyaoqi
8a52df081d fix(host): check is cpu hotplug support on guest init (#24785) 2026-05-11 19:59:02 +08:00
Zexi Li
b2ec881a68 feat(llm): add SLLM mounted_models override and driver-level validation (#24797) 2026-05-11 17:41:28 +08:00
Zexi Li
20612e6f4a feat(monitor): use GET for unifiedmonitors resource-metrics (#24783) 2026-05-08 16:19:51 +08:00
Zexi Li
45c0cc4636 fix(monitor): dedupe alert trigger condition in notify templates (#24779) 2026-05-07 15:52:29 +08:00
cwz_eikoh
a0a34f27f6 Feature/comfyui instant model (#24760)
* feat(llm): support cursor

* feat(llm): support import from huggingface

* fix(llm): direction error

* feat(llm): support instant model for comfyui

* feat(llm): support multi file select when save-instant-model
2026-05-07 14:42:44 +08:00
wanyaoqi
55ae324537 feat(host): mps add container device configuration (#24771) 2026-05-07 10:03:42 +08:00
屈轩
000f066e8c fix(esxi-agent): pve agent (#24768) 2026-05-06 17:15:37 +08:00
屈轩
44ae4b68df fix(region): avoid vm set status start fail when serivce restart (#24764) 2026-05-06 12:40:56 +08:00
wanyaoqi
c36093b1e4 fix(host): cpu hotplug compatible with high qemu version (#24759) 2026-05-03 23:22:13 +08:00
wanyaoqi
fe665d986c fix(host): auto merge backinf file generate disks index (#24754) 2026-05-03 23:21:33 +08:00
Zexi Li
d6abdc0bef fix(monitor): normalize resource-metrics alert_state (#24757)
Treat attach and init as init in PerformResourceMetrics output.
2026-04-30 18:42:08 +08:00
Zexi Li
71dd2068c4 fix(monitor): support influxql derivative and difference function translation (#24749) 2026-04-30 13:11:58 +08:00
Jian Qiu
b46f53a033 fix: init ifb kernel module (#24747)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-04-29 23:49:31 +08:00
wanyaoqi
cc8cb4dbdf fix(mcclient,region): add tasks mod, service app options (#24731) 2026-04-29 23:47:54 +08:00
屈轩
caa1c9e458 fix(region): optimized listener rule list (#24741) 2026-04-29 14:09:23 +08:00
Zexi Li
88caf1cd2b fix(host,llm): fix pod shm mount path return and llm restart memory config (#24738)
- Return shmPath instead of empty string when mountpoint is already
  mounted, so callers get the correct path
- Remove incorrect +1 offset in memory comparison and size formatting
  during LLM restart config change
2026-04-28 19:57:48 +08:00
Zexi Li
986d0fbd8d fix(lbagent,monitor): use victoria-metrics for telegraf and fix influxql translation (#24733) 2026-04-27 16:42:08 +08:00
Jian Qiu
e6ba085e37 fix: create redirect lb listener fail (#24726)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-04-27 10:01:28 +08:00
屈轩
49afcfea5b fix(region): lb redirect rule create validate (#24728) 2026-04-27 10:00:41 +08:00
wanyaoqi
48bdf5e230 chore(host-deployer): update host-deployer-base to 1.5.9 (#24721) 2026-04-26 23:02:45 +08:00
Zexi Li
0c6a3770b5 feat(llm): support OpenClaw manual config mode (#24720)
When ManualConfig is enabled, inject OPENCLAW_MANUAL_CONFIG=1 env var
and skip provider/channel credential injection, allowing users to
configure providers and channels themselves inside the desktop.
2026-04-24 11:45:53 +08:00
cwz_eikoh
65e1160c00 Feature/hf-search (#24717)
* llm: add instant-model huggingface query commands

* fix(vllm): use ping instead of health
2026-04-24 10:28:13 +08:00
wanyaoqi
94a861e0b9 fix(host): usb device passthrough use hostport (#24709) 2026-04-23 13:52:37 +08:00
Jian Qiu
43f0a542cf fix: guest change ipaddr no-sync option (#24715)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-04-23 13:51:52 +08:00
Jian Qiu
07d26676d2 fix: handling deleted task object (#24703)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-04-23 10:18:42 +08:00
屈轩
e5a136056f fix(notify): remove useless code (#24710) 2026-04-21 19:37:33 +08:00
Zexi Li
b61af890d1 refactor(llm): extract shared desktop webtop config (#24701)
Move common desktop/webtop container envs, base spec, rootfs, and login-info parsing
into llm_container helpers and reuse in openclaw and hermes-agent drivers.
2026-04-21 15:04:54 +08:00
Zexi Li
45a1498578 fix(scheduler): refactor the pending usage logic (#24706) 2026-04-21 15:03:56 +08:00
Matt Gideon
70c078aa27 fix(host): fix isolated device detection regex for PCI and USB devices (#24690) 2026-04-20 14:04:23 +08:00
Zexi Li
54f4b36e05 feat(llm): support hermes-agent (#24697) 2026-04-20 12:47:30 +08:00
cwz_eikoh
ff89a3839b feat(llm): add hostpaths for llm-sku (#24693) 2026-04-20 10:51:16 +08:00
屈轩
fd157b1be4 fix(region): show associate info (#24687) 2026-04-17 10:10:24 +08:00
Jian Qiu
937067d7e3 fix: add version etc. aux handlers to mcp-server (#24685)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-04-17 09:59:52 +08:00
屈轩
8e3a55588c fix(region): vendor update (#24683) 2026-04-16 23:09:44 +08:00
Jian Qiu
430efcc068 feature: support asymmmetric bandwidth limit (#24680)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-04-16 15:16:02 +08:00
Jian Qiu
076866bcd8 fix: climc container related commands improvements 20260414 (#24671)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-04-15 10:05:34 +08:00
屈轩
5031335cb3 fix(region): sched fail notify (#24676) 2026-04-14 20:13:10 +08:00
屈轩
cb24c2d97e fix(region): disk fail notify (#24673) 2026-04-14 16:27:31 +08:00
Zexi Li
fc6079ed86 fix(llm): harden volume resize and update size log (#24670)
- Wait for disk/desktop status after resize via backup worker
- Centralize volume SizeMB update with resize action log
- Expose vCPU/memory fields in LLM customize columns
2026-04-13 14:39:02 +08:00
Zexi Li
71cf58d63d feat(climc): support setting rootfs sub_directory (#24668) 2026-04-13 11:16:56 +08:00
Zexi Li
139ac88c53 fix(region): set rootfs default sub_directory (#24667) 2026-04-13 10:00:17 +08:00
屈轩
af2d09a0d7 fix(esxi-agent): support esxi vm forder name same with vm name (#24663) 2026-04-13 09:50:44 +08:00
屈轩
448bae5037 fix(region): support query public cloud vm modification types (#24653) 2026-04-10 16:53:45 +08:00
wanyaoqi
31e935ad89 fix(region): optimize fetchHostGuestResource (#24634) 2026-04-10 16:51:54 +08:00
Zexi Li
c6fe02c95d fix(host): restart container on exit when AlwaysRestart is set (#24662) 2026-04-10 15:17:35 +08:00
Jian Qiu
25e479ffc4 fix: vpcagent sync inconsistent networkaddress guestnetwork id (#24657)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-04-10 14:44:30 +08:00
屈轩
8d4f05edbb fix(mcp-server): update mcp docs (#24651) 2026-04-09 20:44:22 +08:00
屈轩
36d7c2ee5b fix(cloudmon): vendor update (#24642) 2026-04-09 16:33:08 +08:00
Jian Qiu
af9b9e3f3a fix: upgrade coredns to v1.10.1 at master (#24620)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-04-08 16:27:11 +08:00
Jian Qiu
05f7e7cae3 fix: undo pr 24532 (#24640)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-04-08 16:25:46 +08:00
Zexi Li
1079017a92 docs(readme): add AI Cloud introduction to README (#24635)
Add AI Cloud section to both English and Chinese README files,
including core capabilities (inference, app management, model library,
templates, GPU ops) and supported applications (Ollama, OpenClaw,
Dify, ComfyUI).
2026-04-08 14:59:20 +08:00
wanyaoqi
3ae9d58b91 feat(host): container add rbd disk support (#24625) 2026-04-08 13:27:55 +08:00
屈轩
b93cc72610 fix(region): clean guest network when purge zone (#24626) 2026-04-07 20:55:40 +08:00
屈轩
54bec90d8f fix(region): esxi wire sync (#24616) 2026-04-04 12:16:55 +08:00
Zexi Li
8223dc98b0 feat(host): support CTyunOS rootfs (#24613) 2026-04-02 17:48:07 +08:00
屈轩
54a98594be fix(region): vendor update (#24609) 2026-04-02 10:34:51 +08:00
cwz_eikoh
f73e975920 feat(llm): get available models from base_url (for ollama & openai) (#24605) 2026-04-01 15:44:11 +08:00
Zexi Li
7e58612829 fix(monitor): update silent_period when channel is empty (#24604)
silent_period is stored as Frequency on the notification, not on the
alert itself. PostUpdate only called UpdateNotification (which recreates
notifications with the new silent_period) when Channel was non-empty.
When channel was an empty array, the silent_period update was silently
skipped. Add an else-if branch to directly update the existing
notifications' Frequency when silent_period changes but channel is empty.
2026-03-31 20:03:45 +08:00
Matt Gideon
31a1aa7f26 fix(host): use findmnt instead of df to detect local mount point (#24579) 2026-03-31 18:06:57 +08:00
Zexi Li
d4ce3799a9 feat(monitor): add batch resource metrics query API (#24598)
Add unifiedmonitor class action `resource-metrics` with client options/CLI command.
Implement host/guest metric drivers to query cpu/mem/disk/net rates and attach alert state.
2026-03-31 17:45:32 +08:00
Jian Qiu
65bf21a163 fix: support build specific multi-arch buildx (#24589)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-03-31 17:43:44 +08:00
Jian Qiu
d8401ff3e3 fix: add customer usable filters that filter noaddr networks (#24586)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-03-31 17:41:52 +08:00
Jian Qiu
578a6d62d7 fix: update extar fields when updating status field (#24595)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-03-31 12:13:50 +08:00
Zexi Li
0926369440 fix(host): use proper shell quoting in pod tar/find commands (#24594)
Add shellQuote helper that safely escapes single quotes and apply it
consistently across tarGzDir and tarHostDir to prevent shell injection
via crafted paths, directory names, or exclude patterns.
2026-03-31 12:04:43 +08:00
Zexi Li
a87233af86 fix(host): get pod status by primary container status (#24583) 2026-03-30 16:21:40 +08:00
wanyaoqi
6f7a0de025 fix(host): add ovmf 4m code (#24577) 2026-03-30 07:54:37 +08:00
Zexi Li
7756be9d38 fix(llm): 修复 llm 镜像没有根据 sku 更新的问题 (#24574) 2026-03-26 21:46:00 +08:00
屈轩
2ef0f7db71 fix(logger): add syslog init log (#24554) 2026-03-26 18:11:34 +08:00
wanyaoqi
037b4c1d2c fix(region): validate kickstart enabled (#24560) 2026-03-26 18:10:13 +08:00
Zexi Li
1546612893 fix(region): order containers by created_at time (#24568) 2026-03-26 12:25:33 +08:00
Zexi Li
3fd0c13e1a fix(keystone): allow blob update for image credentials (#24565)
Also fix type check to allow secret/image only.
2026-03-26 11:41:19 +08:00
屈轩
e2f4b7b6ce fix(region): add domain container usage (#24561) 2026-03-25 18:26:15 +08:00
cwz_eikoh
7598268cd5 fix(vllm): user customize args & health check in hostlocal net (#24543) 2026-03-25 10:36:21 +08:00
wanyaoqi
d7fc457d02 Automated cherry pick of #24544: fix(host): metadata handler proxy telegraf data fix tenant_id (#24545)
* fix(host): metadata handler proxy telegraf data

* fix(host): append unknown dmesg to last entry
2026-03-25 10:34:20 +08:00
Jian Qiu
4ae694b26d fix: lbagent genHaproxyConfig possible nil pointer panic (#24539)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-03-25 10:33:13 +08:00
Jian Qiu
8673c046a9 fix(hostmetrics): add checks for incomplete pod and container stats (#24551)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-03-25 10:31:37 +08:00
屈轩
304b2e334c fix(region): add container usage (#24540) 2026-03-25 10:23:16 +08:00
屈轩
265b4d66b4 fix(host-image): update script for riscv64 host-image (#24533) 2026-03-24 11:37:26 +08:00
Zexi Li
549fa5c9da fix(host): probing multiple container status (#24531) 2026-03-24 10:27:29 +08:00
wanyaoqi
c21af671d6 fix(host): dd zero to lv wife partitions on lvremove (#24527) 2026-03-23 19:01:21 +08:00
wanyaoqi
010ca7d2e2 fix(host-deployer): resizefs add fstype LVM2_member (#24517) 2026-03-23 00:00:34 +08:00
wanyaoqi
2fa1606e7c fix(region): check instance snapshot joint is nil on snapshot purge (#24515) 2026-03-22 23:59:39 +08:00
屈轩
1ec3a231b3 fix(apigateway): stream download content-type (#24507) 2026-03-20 13:41:34 +08:00
Jian Qiu
70fbfe8946 feature: support host-local wire (#24490)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-03-20 01:36:29 +08:00
wanyaoqi
bc43d884c5 Automated cherry pick of #24456: Fix/host deployer nbd driver40 (#24466)
* fix(host-deployer): nbd add concurrency control

* fix(host-deployer,glance): windows image add current version
2026-03-20 01:34:20 +08:00
Zexi Li
e25d6eb814 feat(llm): unify container access url info and login response (#24505) 2026-03-19 23:06:44 +08:00
wanyaoqi
51724b1b21 fix(host-deployer): get resize dev by serial panic (#24448) 2026-03-19 23:04:37 +08:00
cwz_eikoh
b8aa072b7e Feature(mcp): support x-api-key authentication for mcp-server (#24471)
* feat(mcp-server): support base64 ak/sk

* fix(mcp-agent): try to fix route of default-mcp-tools
2026-03-19 15:04:37 +08:00
cwz_eikoh
bdc211a779 feat(llm): support model import for vllm (#24499) 2026-03-19 15:03:35 +08:00
wanyaoqi
dfaf5bca39 fix(glance): cache images to ceph add brand filter (#24473)
* fix(glance): cache images to ceph add brand filter

* fix(region): iso image support default uefi boot mod
2026-03-19 11:45:08 +08:00
Jian Qiu
9f752de9cb fix: logger add app-options-show api (#24495)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-03-19 11:44:17 +08:00
屈轩
abf2c17ef3 fix: update api doc (#24496) 2026-03-19 11:01:11 +08:00
屈轩
17d3e9f0fb fix(region): allow set disk auto-delete attribute (#24486) 2026-03-19 10:27:47 +08:00
Zexi Li
98b7509522 fix(llm): derive openclaw auth password from llm id (#24482) 2026-03-18 19:02:14 +08:00
屈轩
02052405cc fix(region): vendor update (#24481) 2026-03-18 18:51:26 +08:00
wanyaoqi
d64f7fde42 fix(baremetal-agent): bm register reuse baseprepare updateBmInfo (#24472) 2026-03-18 10:10:13 +08:00
Zexi Li
860a8f764a fix(monitor): align multi-metric alert conditions in notifications (#24470) 2026-03-17 15:57:51 +08:00
屈轩
bd2ffa7c46 fix: add more log info (#24460) 2026-03-17 14:38:50 +08:00
Zexi Li
3dcc91434c feat(llm): add llm_types filters and cleanup dify cli (#24458) 2026-03-16 18:05:05 +08:00
Zexi Li
04d29503ee feat(llm): 调整 openclaw 容器与 LLM 基础模型/sku 逻辑 (#24455) 2026-03-16 16:20:01 +08:00
Zexi Li
169ff8fcab fix(llm): mount openclaw home dir (#24451) 2026-03-13 20:38:48 +08:00
屈轩
d5bed784d8 fix(region): avoid delete ksyun vm error (#24440) 2026-03-13 15:23:05 +08:00
Jian Qiu
55f54cc697 fix: compat fixes for container host in vm (#24445)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-03-13 13:26:59 +08:00
cwz_eikoh
d3ab4af466 feat(llm): init vllm as llm_container (#24338)
* 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:02 +08:00
Zexi Li
1fe46558ce feat(host): rotate container logs (#24433) 2026-03-12 15:15:14 +08:00
Zexi Li
cf2f140c08 feat(llm): add login-info api (#24431) 2026-03-12 07:21:20 +08:00
wanyaoqi
86ab99b270 fix(region): guestnetworksecgroup list add network info (#24394) 2026-03-11 19:32:01 +08:00
wanyaoqi
bf838b80c0 fix(host): check file exist before copy ovmf vars (#24367) 2026-03-11 19:29:50 +08:00
Zexi Li
6dbc39b04f feat(llm): restart action (#24427) 2026-03-11 19:08:28 +08:00
屈轩
2203c2322c fix(cloudmon): update volc api (#24422) 2026-03-11 16:54:39 +08:00
Zexi Li
3bdd431db0 Automated cherry pick of #24411: openclaw llm agent (#24420)
* 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:31 +08:00
屈轩
2f8f46f890 fix(monitor): add vm out bandwidth metric (#24416) 2026-03-11 13:49:50 +08:00
屈轩
9cbf9a27dc fix(region): vendor update (#24412) 2026-03-11 11:03:12 +08:00
屈轩
af8f9b06ef fix(region): persistence server status change (#24407) 2026-03-10 15:06:36 +08:00
cwz_eikoh
4d625207bb feat(llm): polymetric dify with llm (#24399)
* feat(llm): polymetric dify with llm

* fix(llm): drop LLMSpecHolder & fix some bugs
2026-03-10 10:23:34 +08:00
Zexi Li
2d25a147eb fix(region): associate eip to pod (#24404) 2026-03-09 15:24:21 +08:00
Zexi Li
92322ba6ba fix(monitor): 仅在 From/To/Interval 为空时设置默认值 (#24396)
setDefaultValue 中 From、To、Interval 改为仅在当前值为空时
才用 inputQuery 覆盖,避免覆盖用户已指定的查询时间范围与间隔
2026-03-06 19:13:19 +08:00
Zexi Li
2385e921ff fix(host): hard code start index of va gpu (#24391) 2026-03-05 11:55:24 +08:00
Zexi Li
6968d8278b feat(host): cgroupv2 implemented for pod (#24388) 2026-03-04 11:22:06 +08:00
cwz_eikoh
a279c4f89f fix: some bugs in mcp-agent & llm (#24355)
* 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:32 +08:00
cwz_eikoh
efea8bdbf7 feat(mcp-server): add mcp-server config (#24354)
* feat(mcp-server): add mcp-server config

* fix(mcp-agent): add claude mcp-server-config
2026-03-03 16:06:07 +08:00
屈轩
700ba69483 fix(esxi-agent): vendor update for rebuild root fail (#24378) 2026-03-03 00:10:28 +08:00
Zexi Li
86bff744da feat(monitor): support disable_notify_recovery for commonalert (#24377) 2026-03-02 16:13:21 +08:00
屈轩
bdb3a90964 fix(region): check bind disk resource (#24371) 2026-03-02 12:02:48 +08:00
屈轩
949cef6348 fix(region): snapshot size opslog (#24368) 2026-02-28 16:38:23 +08:00
屈轩
fa30390902 fix(region): avoid sync remove disk (#24361) 2026-02-27 15:05:48 +08:00
屈轩
3a9d04254e fix(ansibleserver): update telegraf (#24358) 2026-02-27 14:06:33 +08:00
Jian Qiu
525d0ff8ed fix: allow uncache deleted image (#24352)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-02-26 23:07:32 +08:00
wanyaoqi
b72ee232e4 fix(host): add guest max mem size options (#24333) 2026-02-26 20:26:28 +08:00
Zexi Li
e3adcba461 fix(monitor): convert SNodeAlert to SCommonAlert in FetchCustomizeColumns (#24345)
Pass cObjs of type *SCommonAlert to SCommonAlertManager.FetchCustomizeColumns
instead of *SNodeAlert so the parent correctly fetches common alert columns.
2026-02-25 19:31:59 +08:00
Jian Qiu
3023c9cadb fix: keep climc network-create backward compatibility (#24341)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-02-25 09:02:59 +08:00
屈轩
b3a1b09963 fix(region): avoid account sync cost time abnormal (#24334) 2026-02-24 17:33:51 +08:00
Jian Qiu
4f3b357173 fix: instance snapshot virtual size (#24327)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-02-24 09:23:00 +08:00
Zexi Li
b81306bb13 fix(region): wrong args type on callback function of DiskCreateTask (#24332) 2026-02-13 17:09:43 +08:00
Zexi Li
4faf4e87b4 fix(host): do not set cached image status to active for TGZ on host (#24326)
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:39 +08:00
Jian Qiu
998ac1ae75 fix: ensure s3 client init for s3 storage driver (#24323)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-02-12 10:01:49 +08:00
Zexi Li
cfaf88752a feat(region,host): support post overlay uppper config (#24318) 2026-02-11 16:57:52 +08:00
屈轩
4ccb4147e9 fix(yunionconf): policy scope (#24313) 2026-02-11 11:23:45 +08:00
wanyaoqi
39c1392dcd fix(host): set dmesg parse failed log level to debug (#24311) 2026-02-11 00:27:11 +08:00
wanyaoqi
cd5e71e037 fix(host-deployer): deploy single disk has no disk id (#24306) 2026-02-10 19:36:18 +08:00
wanyaoqi
aaa314feca Automated cherry pick of #24301: fix(host-deployer): online resize loop dev (#24303)
* fix(host-deployer): online resize loop dev

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

* fix(climc): commonalert list options
2026-02-10 09:06:51 +08:00
Jian Qiu
a79eedff8d fix: guest syncstatus subtask for disk create task (#24295)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-02-10 09:03:46 +08:00
屈轩
9a88e9afc9 fix(notify): notify receiver (#24288) 2026-02-09 20:42:35 +08:00
屈轩
4c32b50e67 fix(docs): update api doc (#24289) 2026-02-09 19:18:33 +08:00
Jian Qiu
a72601cf9e fix: remove parent task info from task context (#24286)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-02-09 13:22:53 +08:00
wanyaoqi
2584a7b58e fix(host): add device_id only scsi-hd device (#24281) 2026-02-09 11:27:06 +08:00
wanyaoqi
cf1bd85087 fix(host): deploy nics config defore do add nics (#24278) 2026-02-09 08:37:41 +08:00
Jian Qiu
21ec090203 fix: unify lb charge type (#24271)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-02-08 18:43:03 +08:00
Jian Qiu
cc3a44634b feature: support postpaid traffic metering (#24243)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-02-08 12:57:34 +08:00
wanyaoqi
f76bc53e90 feat(region,host,vpcagent): allow guest network dedicate secgroups (#24263) 2026-02-07 17:32:12 +08:00
wanyaoqi
52df8590b0 fix(region,host): rbd snapshot get actual size (#24242)
- add host down and auto migrate notification
2026-02-07 17:31:23 +08:00
屈轩
7108a3b237 fix(region): vendor update (#24264) 2026-02-07 13:51:35 +08:00
wanyaoqi
12bd3be56c fix(region,host): rename screen dump info structure (#24260) 2026-02-06 18:10:19 +08:00
cwz_eikoh
4099ca7521 fix(llm): add handler in apigateway for mcp-agent-chat (#24253) 2026-02-05 18:04:40 +08:00
屈轩
c4820937c0 fix(region): update api doc (#24252) 2026-02-05 16:48:07 +08:00
屈轩
8fe0f2b171 fix(region): snapshot policy operation (#24247) 2026-02-05 16:40:25 +08:00
wanyaoqi
8ccf60e359 fix(glance): set s3 bucket name before s3 init check (#24239) 2026-02-04 23:08:05 +08:00
屈轩
6c60c9bc43 fix(yunionconf): support tags (#24230) 2026-02-04 17:13:54 +08:00
屈轩
188f8e93fc fix(region): public cloud sku create (#24225) 2026-02-04 14:56:44 +08:00
屈轩
310f892904 fix(region): support cloudpods vm disk driver (#24220) 2026-02-04 14:28:05 +08:00
Zexi Li
7401603981 fix(region,climc): persist netinterface vlan_id to hostnetwork (#24216)
- 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:41 +08:00
屈轩
3e5d16875d fix(host): support skip check kernel mod (#24217) 2026-02-04 10:29:54 +08:00
屈轩
ecc9ba0d86 fix(region): avoid duplicate check when update account aksk (#24211) 2026-02-03 20:53:27 +08:00
cwz_eikoh
8b10d33682 Fix(llm): some mistakes, use CmpId & InstantModelId insteadof SvrId & ModelId (#24194)
* fix(llm): some mistakes

* fix(llm): use CmpId instead of SvrId

* fix(llm): instant_model use id instead of modelId
2026-02-03 15:15:15 +08:00
Zexi Li
aaeb06dc1e fix(monitor): comparator string (#24204) 2026-02-03 12:02:04 +08:00
屈轩
1259dd2121 fix(region): init snapshot policy disk table (#24197) 2026-02-02 20:38:58 +08:00
wanyaoqi
1d40b73b11 fix(host): guestnetworksync do nothing on detach vfio nic (#24180) 2026-02-02 20:17:17 +08:00
Jian Qiu
1c35d08a9c fix: allow guestnetwork ip4 addr field nullable (#24190)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-02-02 20:16:14 +08:00
Zexi Li
a43483fd53 feat(monitor): add the registered model manger function (#24195) 2026-02-02 17:51:01 +08:00
屈轩
afe835d883 fix(climc): sku create support arch (#24185) 2026-02-02 14:17:03 +08:00
屈轩
48e5929ba7 fix(notify): support webhook sign (#24138) 2026-02-02 12:53:35 +08:00
wanyaoqi
3d5bff680d feat(region,host): riscv64 cpu arch support (#24126)
* 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:45 +08:00
wanyaoqi
a92d59e4df fix(host): live migrate add timeout (#24161) 2026-02-01 20:23:36 +08:00
wanyaoqi
86475595af fix(region): server add set network num queues (#24168) 2026-02-01 20:13:11 +08:00
wanyaoqi
f7cb8a9b9e fix(glance): set glance s3 bucket name default onecloud-images (#24173) 2026-02-01 20:10:40 +08:00
屈轩
583933916b fix(region): defer ctx cancel (#24154) 2026-01-30 19:11:38 +08:00
cwz_eikoh
e254c2ccf5 Fix(llm): fix bugs & apikey encrypt & support history for mcp-agent-chat & delete modelname in llmSku (#24149)
* 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:50:00 +08:00
wanyaoqi
b968f9a05f fix(region): have agent add check is telegraf deployed (#24148) 2026-01-29 10:34:48 +08:00
屈轩
2fa3f391f6 fix(region): billing resource create time (#24139) 2026-01-28 20:02:11 +08:00
屈轩
5f9974b249 fix(glance): support prob iso image (#24128) 2026-01-28 15:28:47 +08:00
Zexi Li
86a47f9e86 fix(llm): add community-registry api (#24131) 2026-01-28 14:30:53 +08:00
Jian Qiu
3efe11450c fix: skip baremetal-agent riscv64 (#24122)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-01-24 20:32:50 +08:00
屈轩
ffffe734ea fix(region): vendor update (#24117) 2026-01-23 17:03:24 +08:00
屈轩
ea312a3b9a fix(region): cloudpods container sync (#24112) 2026-01-21 15:32:39 +08:00
Jian Qiu
2b890dff68 fix: notify receiver update precedure recode (#24099)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-01-20 00:16:15 +08:00
wanyaoqi
81297ecfc6 fix(host): ensure scsi pci addr on add scsi disk (#24098) 2026-01-19 20:16:42 +08:00
cwz_eikoh
1fc8219ee4 feature(llm): adapt frontend (#23906)
* 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:05 +08:00
屈轩
ebf2fdb151 fix(region): vendor update (#24091) 2026-01-19 14:21:41 +08:00
Jian Qiu
bbfc150e1e fix: user filter revisit (#24088)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-01-19 10:51:08 +08:00
Zexi Li
aee8eecb3b fix(telegraf-raid-plugin): working for victoria metrics (#24087) 2026-01-15 17:21:11 +08:00
Jian Qiu
c820b7fbec fix: detailed apigateway auth failure log (#24076)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-01-15 10:13:15 +08:00
Zexi Li
7bb8bfe6d0 Automated cherry pick of #24082: fix(host): compatible with telegraf 1.36 and add ipmi_sensor conf (#24083)
* fix(host): compatible with telegraf 1.36 and add ipmi_sensor conf

* feat(monitor): add ipmi_sensor metric
2026-01-15 10:08:24 +08:00
屈轩
4bffb8467c fix(region): vendor update (#24079) 2026-01-14 14:05:21 +08:00
屈轩
ebbf8ea26f fix(glance): avoid context warnning (#24073) 2026-01-14 10:54:47 +08:00
屈轩
e850970f16 fix(region): avoid panic when update user resource (#24070) 2026-01-13 18:20:49 +08:00
屈轩
6132322d79 fix(common): skip octet-stream warnning (#24067) 2026-01-13 18:20:30 +08:00
Zexi Li
acb548567a feat(monitor): delta reducer (#24064) 2026-01-12 17:27:42 +08:00
屈轩
61b2705bd1 fix(region): remove useless mod (#24060) 2026-01-12 14:12:09 +08:00
cwz_eikoh
e9382c9ae7 feature(llm): add mcp-agent (#24025)
* feature(llm): add mcp-agent

* feature(llm): support openai in llm_client

* feature(llm): chat-stream demo
2026-01-12 10:45:53 +08:00
屈轩
6b129dfc04 fix(region): host schedtag sync (#24055) 2026-01-11 18:33:37 +08:00
屈轩
84738bc136 fix(region): allow batch resize disk (#24049) 2026-01-09 14:04:45 +08:00
Zexi Li
209e5445f6 fix(monitor): top query of monitor_resource_alert (#24053) 2026-01-09 12:10:34 +08:00
屈轩
258a1eff0c fix(monitor): optimized common alert list (#24042) 2026-01-09 10:09:45 +08:00
wanyaoqi
5fcc388bf8 fix(host): add query id on detect qemu machine info (#24048) 2026-01-09 08:24:16 +08:00
屈轩
a2e35d42ea fix(monitor): optimized monitor resource list (#24038) 2026-01-08 15:23:20 +08:00
屈轩
a075702974 fix(region): support order by snapshot (#24035) 2026-01-08 11:13:52 +08:00
Zexi Li
c18acaf616 fix(monitor): resource id deduplication of alert record (#24033) 2026-01-07 11:16:00 +08:00
屈轩
afd97ebe65 fix(monitor): show alert count (#24027) 2026-01-07 10:02:58 +08:00
Zexi Li
9fbad19989 Automated cherry pick of #24012: feat(host): mount post overlay layers by shortest path order (#24018)
* 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:03:41 +08:00
Zexi Li
aaeb09fb72 fix(monitor): fill resource ids of the cloud account (#24030) 2026-01-06 19:44:28 +08:00
wanyaoqi
cafeb89bc6 fix(region): guest batch create isolated devices add host lock (#24014) 2026-01-06 18:10:26 +08:00
Jian Qiu
f50f83feb1 fix: endpoint mode slave (#24016)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-01-06 18:05:41 +08:00
屈轩
de05b050e4 fix(region): show pretty error (#24020) 2026-01-06 10:29:33 +08:00
屈轩
b91a3dd280 fix(cloudmon): optimized account balance metric collect (#24010) 2025-12-30 19:56:42 +08:00
屈轩
cfbec98bed fix(region): add billing resource check (#24007) 2025-12-30 18:47:21 +08:00
cwz_eikoh
36d6188385 feature(mcp-server): add InitAuth & userCred (#23972) 2025-12-30 10:36:45 +08:00
wanyaoqi
7dfe635b62 fix(region,host,host-deployer): add win11 tpm support (#23952) 2025-12-29 11:18:56 +08:00
wanyaoqi
f845188037 fix(climc): host set memory commit bound incorrect params (#23975) 2025-12-29 11:01:55 +08:00
wanyaoqi
059c98003f fix(glance): image disk_format use String2ImageFormat (#23989) 2025-12-29 11:00:49 +08:00
Jian Qiu
b0985f1ad0 fix: change OutOfResource http status code to 507 (#23986)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-12-29 10:58:58 +08:00
Jian Qiu
56741a74b6 fix: fix missing json tag for struct fields (#24004)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-12-29 10:17:14 +08:00
屈轩
37866bcfa5 fix(monitor): alert filter by owner (#24000) 2025-12-29 10:15:38 +08:00
屈轩
29fda0929f fix(region): show host cpu and mem usage (#23997) 2025-12-25 21:57:54 +08:00
屈轩
272597af19 fix(region): ksyun create vm params (#23995) 2025-12-25 10:32:26 +08:00
屈轩
7e0ca229b5 fix(region): vendor update (#23993) 2025-12-24 19:43:28 +08:00
屈轩
97558e43b4 fix(region): update private cloud host cpu and mem usage by cloudmon (#23967) 2025-12-24 19:21:09 +08:00
Zexi Li
dea21b6cea fix(host): make disk mount point shared for unshared post overlay (#23981) 2025-12-24 15:33:41 +08:00
屈轩
375bb0b709 fix(region): show guest nic index (#23959) 2025-12-24 11:33:44 +08:00
Zexi Li
01655b1dcb fix(host): quote include paths when before executing tar (#23970) 2025-12-23 18:12:03 +08:00
Jian Qiu
bfc17bc3c7 feature: assume user login support (#23964)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-12-23 13:54:04 +08:00
Zexi Li
9434522102 feat(host): add debug info when restoring backup to disk (#23966) 2025-12-23 12:03:00 +08:00
wanyaoqi
d4046b6c36 Automated cherry pick of #23725: feat(baremetal-agent): Linux PCIE disk support mdadm soft raid (#23930)
* 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:36 +08:00
wanyaoqi
55ab19d1c3 fix(scheduler,host): sort numa node by numa distance check memsize (#23923) 2025-12-22 11:44:01 +08:00
wanyaoqi
9f534e0cc5 fix(region): guest usage by arch (#23956) 2025-12-22 11:42:56 +08:00
Jian Qiu
c6c106496f fix: host compat with ovs in container (#23944)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-12-22 11:40:52 +08:00
Jian Qiu
d394a5f9ff fix: host flush addrs instead of reset interface (#23947)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-12-18 01:14:28 +08:00
屈轩
c871568082 fix(region): cloudpods pod (#23935) 2025-12-17 16:19:44 +08:00
cwz_eikoh
805b8afe9d feature(llm): add llm-instant-model-import (#23928)
* 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:33:57 +08:00
屈轩
fedb460d1e fix(region): disable sync schedtags (#23941) 2025-12-16 20:40:49 +08:00
屈轩
767cc73124 fix(region): disable cloudpods auto create project (#23936) 2025-12-15 15:51:34 +08:00
屈轩
f39b8d6ad0 fix(region): add provider info for sync log (#23934) 2025-12-15 13:47:41 +08:00
Zexi Li
752d0e9fed fix(monitor): meter alert panic (#23921) 2025-12-12 10:20:25 +08:00
屈轩
6827fa2fae fix(region): aliyun system disk size (#23925) 2025-12-12 10:19:26 +08:00
Jian Qiu
fe38cd0dee fix: backup storage edit external url (#23917)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-12-09 19:43:37 +08:00
Jian Qiu
f545447f28 fix: splitable not function due to empty datefield (#23911)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-12-09 13:35:20 +08:00
屈轩
25b5de68ff fix(region): vendor update (#23903) 2025-12-07 16:01:08 +08:00
屈轩
9ee1c346d7 fix(region): baidu storage info (#23901) 2025-12-05 16:20:40 +08:00
cwz_eikoh
4c701fa082 Feature/pre quick model (#23898)
* feat: add preinstall for quick-models

* fix: drop error when duplicate blobs
2025-12-05 10:33:45 +08:00
Zexi Li
1d5e173cd0 fix(host): ensure a single file dir when mounting (#23897) 2025-12-04 13:54:21 +08:00
cwz_eikoh
142e540f7f [Feature] llm model 使用 post_overlay 功能实现秒装挂载模型 (#23769)
* 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:10 +08:00
Zexi Li
bdf22fd797 fix(monitor): filter baremetal host for no data query (#23894) 2025-12-03 16:24:41 +08:00
Zexi Li
523e4eba17 fix(apigateway): load llm (#23887) 2025-12-03 16:21:15 +08:00
屈轩
b3e55ae4c9 fix(region): optimized backend sync (#23889) 2025-12-03 15:14:12 +08:00
屈轩
f48a23cbfa fix(region): aliyun vnc addr (#23883) 2025-12-03 14:04:11 +08:00
Zexi Li
6af0bd4b03 fix(host): remove empty files used bind mount (#23882) 2025-12-02 19:34:12 +08:00
wanyaoqi
dce09a3117 fix(host,host-deployer): host-deployer add password quality check (#23876) 2025-12-02 17:02:42 +08:00
Zexi Li
0971950307 Automated cherry pick of #23878: feat(monitor): 支持指定过去时间段返回报警资源最多的top5监控策略 (#23880)
* feat(monitor): 支持指定过去时间段返回报警资源最多的top5监控策略

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

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

* feat(monitor): 支持获取过去时间段各项目下报警资源数量
2025-12-02 15:48:01 +08:00
屈轩
201a1e33f1 fix: update host-deploy base image (#23870) 2025-12-01 11:41:08 +08:00
屈轩
36612bec31 fix(region): vendor update (#23867) 2025-11-30 17:20:38 +08:00
Zexi Li
f95c341f44 fix(monitor): filter alertrecords by alert_name and res_name (#23865) 2025-11-28 18:58:16 +08:00
屈轩
8778a2d83c fix(region): vendor update (#23858) 2025-11-27 20:35:30 +08:00
Zexi Li
ec08f2b07b fix(monitor): alert shield is not working (#23862) 2025-11-27 19:18:45 +08:00
屈轩
f2ae949583 fix(keystone): change token AuditIds width (#23852) 2025-11-27 17:19:43 +08:00
Zexi Li
245dfd8601 fix(monitor): threshold_range message (#23857) 2025-11-27 16:47:43 +08:00
Zexi Li
b1b929ea46 feat(monitor): support threashold range (#23853) 2025-11-27 15:00:08 +08:00
Zexi Li
105d7afb9a feat(climc): support --ouput option for pprof command (#23842) 2025-11-27 14:19:02 +08:00
wanyaoqi
fd47ba567b Fix/host misc fix (#23846)
* fix(host): host register return wrong error value

* fix(host): host handlers use gotypes check ret value is nil
2025-11-27 09:57:16 +08:00
屈轩
8a07c64022 fix(region): vendor update (#23843) 2025-11-26 16:56:54 +08:00
Jian Qiu
802012eb36 fix: generic guest delete task (#23836)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-26 01:00:59 +08:00
wanyaoqi
d04a3a52b6 fix(region,host): perform screendump no save to s3 (#23831) 2025-11-26 01:00:24 +08:00
wanyaoqi
24d85b82ab fix(region): disk take snapshot check backing snapshot is merged (#23832) 2025-11-26 00:58:58 +08:00
屈轩
3017afa872 fix(region): support vmware resource pool (#23830) 2025-11-25 19:07:39 +08:00
Zexi Li
067f2773e6 feat(monitor): get records of monitor_resource_alert (#23825) 2025-11-24 21:34:26 +08:00
屈轩
2188834cd6 fix(region): vendor update (#23819) 2025-11-24 14:17:57 +08:00
Jian Qiu
04c1b43c8b fix: validate policy role delete condition (#23816)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-21 10:59:28 +08:00
Zexi Li
eb23d862c1 fix(monitor): alerting level (#23801) 2025-11-21 10:27:00 +08:00
Jian Qiu
7baeb2396a fix: region-dns not support dameng dialect (#23809)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-21 09:55:06 +08:00
屈轩
c8ccbc6452 fix(region): snapshot policy resource purge (#23803) 2025-11-20 23:41:47 +08:00
Zexi Li
bb8b08b091 fix(monitor): title of notification by language context (#23799) 2025-11-20 20:11:54 +08:00
屈轩
b3bda90176 fix(monitor): avoid panic (#23794) 2025-11-20 18:43:04 +08:00
云原生驿站
7b125d65f3 fix(host): format sLsusbTree field content json tag (#23787) 2025-11-20 18:13:12 +08:00
Zexi Li
ce8f84add6 fix(monitor): check if LastSendNotification is zero (#23782) 2025-11-20 18:04:10 +08:00
屈轩
c54bca0874 fix(region): migrate snapshot policy resource (#23773) 2025-11-20 17:38:09 +08:00
屈轩
7bc3178aca fix(cloudmon): account balance metric with tenant_id (#23784) 2025-11-20 14:22:14 +08:00
屈轩
0938fac2ec fix(cloudmon): avoid undetected new resources (#23777) 2025-11-20 10:48:47 +08:00
Zexi Li
7442954db5 fix(baremetal-agent): msdos typo in grub configuration (#23776) 2025-11-20 10:39:26 +08:00
Jian Qiu
65fdbd20bf fix: support build rpm/deb of riscv64 (#23768)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-19 17:39:40 +08:00
屈轩
ccd731874c fix: support risc-v (#23699) 2025-11-19 17:13:57 +08:00
Jian Qiu
6ad082ed47 fix: diskbackup fail to syncstatus on offline backend (#23767)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-19 11:39:58 +08:00
Jian Qiu
43d9ea5295 fix: export/import disk backup (#23759)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-18 23:49:29 +08:00
Zexi Li
692729443f fix(host): use directory of single file as post_overlay lower (#23757) 2025-11-18 16:34:56 +08:00
Zexi Li
c416b7efcb feat(monitor): set alert_channel to metata (#23755) 2025-11-18 12:52:44 +08:00
屈轩
728a889823 fix(region): esxi vm folder (#23753) 2025-11-17 18:14:07 +08:00
屈轩
5415d1dde2 fix(region): server sku create status (#23748) 2025-11-17 17:01:12 +08:00
wanyaoqi
12b9ffb1e3 feat(region,host): host dmesg collect (#23747) 2025-11-17 15:44:51 +08:00
Jian Qiu
09125bc316 fix: filter schedtags by zones (#23742)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-15 11:00:51 +08:00
Jian Qiu
f748fa2899 feature: user expired_at attribute support (#23723)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-14 10:52:58 +08:00
Zexi Li
94c531cbc2 feat(cloudcommon): add ExtraHook steps to joint model (#23740) 2025-11-14 10:50:47 +08:00
wanyaoqi
1d63c75f0d fix(host): thrown errors on disk fromatfs (#23728) 2025-11-14 10:40:41 +08:00
Zexi Li
8d4afe5e56 fix(host): SHostPingTask was stuck by calling docker command (#23733) 2025-11-13 20:19:13 +08:00
屈轩
c0b9dad64c fix(region): scope resource (#23735) 2025-11-13 14:43:37 +08:00
cwz_eikoh
19db6df2fd fix(region): add kvm_delete_task (#23697) 2025-11-11 16:32:24 +08:00
wanyaoqi
47ac45dfe9 fix(region,scheduler): check is BIOS boot request on uefi predicate (#23719) 2025-11-11 13:45:28 +08:00
Zexi Li
dea5f90e5b fix(baremetal): power status of server is not synced (#23688) 2025-11-10 11:13:05 +08:00
Jian Qiu
77d5813bbf fix: log change bandwidth event (#23712)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-10 09:48:32 +08:00
Jian Qiu
85a570f7c2 fix: vm nic charge type support (#23702)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-07 10:52:51 +08:00
cwz_eikoh
a82f436d2b fix(region): add finish for DependencyTopoGraph (#23707) 2025-11-07 10:20:22 +08:00
cwz_eikoh
c414ef4eda fix(llm): don't rely on polling (#23708) 2025-11-07 10:19:30 +08:00
Zexi Li
77db769c8b fix(host): clear previous usage metrics when any container stopped of pod (#23706) 2025-11-06 20:56:30 +08:00
屈轩
982b0eec78 fix(torrent): vendor update for support risc-v (#23700) 2025-11-06 18:27:14 +08:00
屈轩
eb44cdd26f fix(region): allow delete server sku (#23693) 2025-11-05 18:19:48 +08:00
屈轩
c6967964dc fix(region): add device for disk (#23690) 2025-11-05 15:57:22 +08:00
屈轩
ae8697132b fix(scheduler): sku predicate with empty zone id (#23684) 2025-11-04 20:56:20 +08:00
Zexi Li
04de29158a fix(baremetal-agent): chose root disk by pci path (#23683) 2025-11-04 20:09:30 +08:00
Jian Qiu
f2f15dee51 fix: rename check when change project (#23680)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-11-04 16:08:40 +08:00
cwz_eikoh
c2fe4baf58 feat(region): pod containers start in dependency order (#23668) 2025-11-04 10:38:17 +08:00
屈轩
bce77902bc fix(region): optimized aws server sku sync (#23673) 2025-11-03 22:32:13 +08:00
屈轩
7d3681a735 fix(region): metadata filter by value (#23670) 2025-11-03 19:24:27 +08:00
Zexi Li
9dcd044e83 fix(host): upload container status when not created (#23667) 2025-11-03 15:53:56 +08:00
屈轩
2c622fe4d4 fix(region): optimzed server sku sync (#23662) 2025-11-03 15:13:38 +08:00
屈轩
4a2d41afbe fix(region): disk filter by server (#23658) 2025-11-01 13:32:21 +08:00
屈轩
1d9e418df8 fix(region): optimized filter sku by zone (#23655) 2025-11-01 13:04:41 +08:00
屈轩
41c5c66fe2 fix(region): vendor update (#23652) 2025-11-01 13:03:50 +08:00
JinyuZhao
07d1cecf99 feat: Cloudpods basic service image RISC-V support (#23446)
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>
2025-10-31 19:04:15 +08:00
cwz_eikoh
f1f502cac4 feat(llm): add network id and network type for llm-model (#23620)
* 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:41 +08:00
Zexi Li
a931d2cc4c Automated cherry pick of #23642: fix(scheduler): enable profiling (#23646)
* fix(scheduler): enable profiling

* feat(scheduler): cache NetworkAdditionalWire
2025-10-31 10:19:37 +08:00
屈轩
d1510f2f5e fix(region): sku cpu mem sync (#23648) 2025-10-30 22:33:15 +08:00
屈轩
1fe87cb8e6 fix(region): filter disks by server list (#23643) 2025-10-30 17:24:35 +08:00
屈轩
c6b4daee37 fix(region): vendor update (#23638) 2025-10-30 10:06:17 +08:00
happy-game
0bed60eae7 [OSPP]feature:Automated installation using kickstart (#23094)
* 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

* fix: kickstart misc fix

* 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: wanyaoqi <d3lx.yq@gmail.com>
2025-10-29 14:54:00 +08:00
Zexi Li
9ac1a3f992 fix(host): move the hostInstance.Init() step after InitAuth (#23623) 2025-10-29 14:00:24 +08:00
Jian Qiu
aed979e14e fix: task remote notify (#23630)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-10-29 12:17:41 +08:00
屈轩
899c105bd0 fix(cmd): show mcp server update cmd (#23628) 2025-10-28 18:24:35 +08:00
屈轩
ff404302cb fix(mcp): add dockerfile for mcp server (#23618) 2025-10-28 15:23:11 +08:00
屈轩
282e1499e1 fix(region): set ksyun tag (#23610) 2025-10-24 22:54:04 +08:00
Zexi Li
c7b8129ed6 chore(ci): turn off goimports-check rule (#23605) 2025-10-24 15:48:36 +08:00
cwz_eikoh
897a6fc61f [OSPP]feature: Auto deploy llm and dify (#23282)
* 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
2025-10-24 13:29:31 +08:00
Jian Qiu
fa67fdef77 fix: rpm/deb support postinst/preinst/prerm/postrm hooks (#23594)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-10-23 01:03:42 +08:00
Jian Qiu
9e2beac625 fix: suport bulding multi-arch rpm deb (#23569)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-10-22 23:52:58 +08:00
屈轩
1d361bb4d3 fix(keystone): fetch domain user count (#23590) 2025-10-22 16:25:40 +08:00
wanyaoqi
8abcde01e8 fix(region,host,scheduler): add check kvm cpu max on cpu predicate (#23537) 2025-10-22 15:07:00 +08:00
Zexi Li
4d0c18d224 feat(region,host): support nvidia GPU CDI configuration (#23568) 2025-10-22 15:04:35 +08:00
cwz_eikoh
22ad881b3d feat(container): container-restart (#23584) 2025-10-22 14:59:43 +08:00
屈轩
9b1b60c65f fix(region): support ocean base (#23586) 2025-10-22 14:40:55 +08:00
屈轩
9951c7bcb5 fix(region): disable cloudprovider when sync lost (#23581) 2025-10-22 11:30:17 +08:00
屈轩
db64e36716 fix(region): vendor update (#23578) 2025-10-22 11:12:01 +08:00
Zexi Li
098e8d49fc feat(region): allow containers to be created with auto_start param (#23573) 2025-10-21 17:20:59 +08:00
屈轩
96687005e8 fix(region): adjust the ip_addr character length (#23562) 2025-10-21 10:45:01 +08:00
Jian Qiu
f4975415d6 fix: container memory.high ratio support (#23559)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-10-21 09:33:07 +08:00
屈轩
4f9650fc9b fix(glance): add notify for image create (#23552) 2025-10-16 14:30:41 +08:00
wanyaoqi
5b24d3bb15 fix(webconsole): baremteasl ipmi sol instance_name hide password (#23535) 2025-10-16 00:02:33 +08:00
wanyaoqi
981b2c0c07 fix(host): host probe isoalted device return jsonarray (#23550) 2025-10-16 00:01:46 +08:00
屈轩
9bf9cfa940 fix(region): valid essd pl0 disk resize (#23545) 2025-10-15 17:24:17 +08:00
屈轩
28e1aea2cc fix(region): vendor update (#23539) 2025-10-15 10:57:47 +08:00
屈轩
9e0c524263 fix(region): support change storage type (#23529) 2025-10-14 16:59:13 +08:00
屈轩
ad753e0df2 fix(region): healt status (#23524) 2025-10-13 18:50:57 +08:00
屈轩
f4816d3b80 fix(keystone): distribute permissions when the organization changes (#23501) 2025-10-13 18:49:37 +08:00
屈轩
778d03a6e4 fix(region): private zone create status (#23520) 2025-10-13 18:05:21 +08:00
wanyaoqi
a455b8c8ef fix(host): ensure host wire marshal nil value (#23505) 2025-10-12 11:03:57 +08:00
屈轩
3684642617 fix(region): server sku create with region id (#23508) 2025-10-11 16:54:34 +08:00
wanyaoqi
e21eb05fd4 fix(region,glance,host-deployer): guest image support bios boot mode detect (#23376) 2025-10-11 10:21:03 +08:00
Zexi Li
30ca0f530f fix(baremetal): ensure the execution of the BaremetalServerDestroyTask (#23498) 2025-10-09 17:07:59 +08:00
Jian Qiu
73880eef77 fix: ignore e2fsck errors if retcode < 4 (#23490)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-10-09 16:31:53 +08:00
wanyaoqi
948f67577f fix(host): disk resize error input params (#23494) 2025-10-09 13:28:52 +08:00
Jian Qiu
4094097b50 fix: network manager keyfile static routes (#23479)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-10-08 13:18:50 +08:00
Jian Qiu
77aa8a7f96 fix: support network manager connection profiles (#23469)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-10-03 09:25:34 +08:00
Jian Qiu
30b8491ef5 fix: default cloud region init error (#23478)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-10-03 06:33:35 +08:00
屈轩
736d1fda24 fix(cloudmon): metric sync (#23462) 2025-09-30 16:52:58 +08:00
屈轩
060518e717 fix(region): vendor update (#23452) 2025-09-30 15:09:37 +08:00
屈轩
403176ba4a fix(region): host order by virt cpu (#23458) 2025-09-30 13:19:21 +08:00
Jian Qiu
20d28dc23f fix: hostman master nic may be nil (#23453)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-30 11:53:06 +08:00
Jian Qiu
2f3359c83f fix: s3 common options (#23445)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-29 19:22:35 +08:00
Jian Qiu
8bd6dd48bb fix: disable password history unique check by default (#23435)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-29 15:48:50 +08:00
wanyaoqi
6c53ace799 fix(region,baremetal): ipv6 baremetal register support (#23419) 2025-09-29 15:22:14 +08:00
Jian Qiu
4fed22b8b1 fix: backup task worker count in host configmap (#23428)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-29 15:20:26 +08:00
屈轩
4fdf44cbed fix(cloudevent): options changed with etcd (#23432) 2025-09-29 12:24:08 +08:00
屈轩
cc5024267e fix(region): vendor update (#23415) 2025-09-28 18:03:56 +08:00
wanyaoqi
87c5ba8734 fix(host-deployer): update host-deployer-base to 1.4.11 (#23414) 2025-09-28 17:26:12 +08:00
Zexi Li
605d2d0146 fix(region,host): sync server status by upload guest status api (#23410) 2025-09-28 17:24:23 +08:00
屈轩
40b9239978 fix(region): vendor update (#23404) 2025-09-28 14:58:50 +08:00
wanyaoqi
cdc3814f2f Automated cherry pick of #23377: Automated cherry pick of #23374: fix(region,host): guest add vnc screen dump support (#23378)
* 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:33 +08:00
wanyaoqi
dd2450d7ad Automated cherry pick of #23394: Automated cherry pick of #23386: fix(host-deployer): allow growpart on primary partition (#23395)
* fix(host): init cgroup ignore disable cgroup option

* fix(host-deployer): allow growpart on primary partition
2025-09-27 12:02:21 +08:00
Zexi Li
ced8a404a2 fix(host): unmount post overlay dir without accquire cached image (#23403) 2025-09-27 07:43:18 +08:00
屈轩
933c6223ec fix(region): vendor update (#23397) 2025-09-26 18:05:18 +08:00
屈轩
4a2aa7eb5d fix(region): support cnware (#23388) 2025-09-26 14:44:37 +08:00
屈轩
524c676797 fix(region): vendor update (#23382) 2025-09-26 13:53:32 +08:00
wanyaoqi
453c543d27 fix(host-deployer): loop dev resize diskfs umounted and f2fs support (#23359) 2025-09-24 18:54:06 +08:00
Zexi Li
a8a5ff91da fix(host): clear the rootfs of container before starting (#23360) 2025-09-24 18:51:55 +08:00
Jian Qiu
0d77ff86e9 fix: network filter by ip error for dameng (#23363)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-24 18:50:09 +08:00
Jian Qiu
565424350a fix: auto cleanup obsolete password records (#23370)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-24 18:34:50 +08:00
屈轩
43c7b02b08 fix(region): vendor update (#23367) 2025-09-24 17:20:31 +08:00
Zexi Li
4760c311a1 feat(region,host): clean no persistent rootfs (#23355) 2025-09-22 18:10:30 +08:00
Zexi Li
7c158c4fd9 feat(region,host): clean no persistent rootfs (#23353) 2025-09-22 18:10:01 +08:00
屈轩
f79210144a fix(region): add expired release notify hour options (#23352) 2025-09-22 10:58:20 +08:00
彭镜肇
010fdfee3c Pengjingzhao ospp v2 (#23309)
* feat(mcp-server): 增加mcclient sdk适配器结构体以及对应的认证方法

* feat(mcp-server): 增加资源查询的sdk适配器方法

* feat(mcp-server): 增加资源操作的sdk适配器方法

* feat(mcp-server): 增加区域资源查询工具

* feat(mcp-server): 增加网络资源查询工具

* feat(mcp-server): 增加镜像资源查询工具

* feat(mcp-server): 增加虚拟机资源查询工具

* feat(mcp-server): 增加vpc资源查询工具

* feat(mcp-server): 增加存储资源查询工具

* feat(mcp-server): 增加套餐资源查询工具

* feat(mcp-server): 增加虚拟机创建工具

* feat(mcp-server): 增加虚拟机监控工具

* feat(mcp-server): 增加虚拟机操作工具,包括启动、重启、停止、重置密码和删除

* optimize(mcp-server): 增加工具函数接口定义

* feat(mcp-server): 增加工具函数所使用的结构体模型

* feat(mcp-server): 新增工具统一注册中心

* feat(mcp-server): 增加mcp服务中心

* feat(mcp-server): 增加统一配置中心

* feat(mcp-server): 增加服务启动主入口

* doc(mcp-server): 增加mcp-server相关的说明,安装和使用文档

* fix(mcp-server): 更正文档位置以及补充图片

* refactor(mcp-server): 修正了service以及配置解析的逻辑

* refactor(mcp-server): 将日志打印相关代码改成使用log

* feat(mcp-server): 增加mcclient sdk适配器结构体以及对应的认证方法

* feat(mcp-server): 增加资源查询的sdk适配器方法

* feat(mcp-server): 增加资源操作的sdk适配器方法

* feat(mcp-server): 增加区域资源查询工具

* feat(mcp-server): 增加网络资源查询工具

* feat(mcp-server): 增加镜像资源查询工具

* feat(mcp-server): 增加虚拟机资源查询工具

* feat(mcp-server): 增加vpc资源查询工具

* feat(mcp-server): 增加存储资源查询工具

* feat(mcp-server): 增加套餐资源查询工具

* feat(mcp-server): 增加虚拟机创建工具

* feat(mcp-server): 增加虚拟机监控工具

* feat(mcp-server): 增加虚拟机操作工具,包括启动、重启、停止、重置密码和删除

* optimize(mcp-server): 增加工具函数接口定义

* feat(mcp-server): 增加工具函数所使用的结构体模型

* feat(mcp-server): 新增工具统一注册中心

* feat(mcp-server): 增加mcp服务中心

* feat(mcp-server): 增加统一配置中心

* feat(mcp-server): 增加服务启动主入口

* doc(mcp-server): 增加mcp-server相关的说明,安装和使用文档

* fix(mcp-server): 更正文档位置以及补充图片

* refactor(mcp-server): 修正了service以及配置解析的逻辑

* refactor(mcp-server): 将日志打印相关代码改成使用log

* fix(mcp-server): 修复依赖导入以及缺失等问题

* refactor(mcp-server): 复用common_options

* fix: 修复配置结构体字段重复的问题

* doc(mcp-server): 更正文档错误

* style(mcp-server): 格式化import顺序

* style(mcp-server): 格式化import导入

* style(mcp-server): 规范import语句

* doc(mcp-server): 给目录生成doc文件

---------

Co-authored-by: 屈轩 <qu_xuan@icloud.com>
2025-09-22 10:32:21 +08:00
Jian Qiu
93a8a95ce2 fix: host backup task worker limit (#23349)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-22 09:48:03 +08:00
Jian Qiu
f5322d967c fix: linux sshd_config support (#23343)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-20 00:39:13 +08:00
Zexi Li
17ab2f83d9 fix(scheduler): watch serversku (#23332) 2025-09-19 23:48:51 +08:00
屈轩
51afa789c1 fix(region): rds backup sync (#23305) 2025-09-19 23:47:07 +08:00
wanyaoqi
6f8c0ecf83 fix(host,host-deployer): support lvm disk resize (#23335)
- add resize lvm disk support
- support qga online resize disk partitions and filesystems
2025-09-19 23:46:20 +08:00
Jian Qiu
6ec0769667 fix: check os_arch when server rebuilding root (#23339)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-19 23:44:41 +08:00
屈轩
d46a7010fe fix(region): disk reset webhook (#23325) 2025-09-18 15:08:15 +08:00
屈轩
d01ea18cf2 fix(notify): optimized workwx access token expired time (#23322) 2025-09-18 14:55:10 +08:00
Zexi Li
364fcf585e fix(monitor): diffTagKeys are empty when only one series in results (#23313) 2025-09-18 07:49:39 +08:00
屈轩
5ee016ff02 fix: upgrade goimports (#23320) 2025-09-17 22:01:26 +08:00
屈轩
9dfc3d8df7 fix(region): remove debug sql (#23317) 2025-09-17 16:54:42 +08:00
屈轩
e1166a71a6 fix(cloudmon): alert metric with tenant id (#23314) 2025-09-17 16:40:27 +08:00
屈轩
47f6b42d40 fix(climc): sku create params (#23302) 2025-09-15 15:33:54 +08:00
wanyaoqi
10d881b3f7 fix(region): virtual isolated device balance on guest start (#23046) 2025-09-15 11:58:11 +08:00
屈轩
e6bad2e309 fix(region): support gcp shared vpc and image (#23295) 2025-09-12 23:03:22 +08:00
Zexi Li
633c8e2969 feat(host): hide host files mounted to container (#23292) 2025-09-12 18:54:57 +08:00
屈轩
b524b2fe85 fix(monitor): history alert report (#23278) 2025-09-12 15:27:06 +08:00
Zexi Li
cfc2dc783d fix(host,region): container rootfs use sub directory (#23289) 2025-09-12 15:08:01 +08:00
Zexi Li
e85643a005 fix(monitor): fetch total alert resources from monitor_resource_alert (#23276) 2025-09-10 19:17:41 +08:00
屈轩
ee9e8dbb5e fix(region): update cloudprovider external id (#23271) 2025-09-10 18:59:40 +08:00
Jian Qiu
fe96a6de05 fix: ipv6 ra should be sent periodically (#23258)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-10 18:59:00 +08:00
Jian Qiu
7bee9df361 fix: image self check status (#23249)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-10 18:57:16 +08:00
屈轩
184917cc4d fix(region): support hyperdisk for gcp (#23268) 2025-09-10 15:32:49 +08:00
Zexi Li
45508625af fix(climc): monitor-alertrecords-total-alert command (#23267) 2025-09-10 14:25:02 +08:00
屈轩
9a14320ea1 fix(region): sync cloudpods ipmi ip addr (#23263) 2025-09-09 20:52:49 +08:00
屈轩
f3337ed552 fix(region): cloudpods ipmi info sync (#23261) 2025-09-09 19:27:44 +08:00
屈轩
9dfa4ee355 fix(region): sync cloudpods baremetal isolated device (#23256) 2025-09-09 18:40:01 +08:00
屈轩
cfe4d82e78 fix(region): sync cloudpods host storage info (#23254) 2025-09-09 15:59:57 +08:00
屈轩
46e40421ba fix(region): retention server by tag (#23247) 2025-09-08 17:59:53 +08:00
屈轩
8e243835aa fix(region): support retention server by tags (#23245) 2025-09-08 16:00:18 +08:00
屈轩
db2921733d fix(region): support retention server by tag (#23243) 2025-09-08 15:32:58 +08:00
屈轩
eb82b9d9ca fix: upgrade go 1.24 (#23241) 2025-09-05 18:26:33 +08:00
屈轩
3fdab63193 fix(region): snapshot policy unbind disks (#23238) 2025-09-04 16:57:50 +08:00
屈轩
f9f8a18fbc fix(region): sync prepaid disk expired time (#23235) 2025-09-04 16:47:03 +08:00
屈轩
8bd00065e2 fix(region): add disk change billing type log (#23231) 2025-09-03 20:17:53 +08:00
屈轩
b1c4d11170 fix(region): add kafka and mongodb capability (#23228) 2025-09-03 19:44:26 +08:00
屈轩
73ec13d87f fix(region): distinct cloudprovider fields (#23210) 2025-09-03 14:50:49 +08:00
wanyaoqi
c6e9cf0d1e fix(host): live migrate compat ipv6 (#23212) 2025-09-03 05:49:42 +08:00
Jian Qiu
6d55de51f0 fix: fail to delete cas idp due to readonly domain (#23218)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-03 05:49:06 +08:00
Jian Qiu
c3e9090c71 fix: image s3 direct download option (#23219)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-03 05:47:21 +08:00
Jian Qiu
1a32dcc73b fix: network filter by ipv6 address (#23222)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-03 05:46:22 +08:00
屈轩
c1b204af2a fix(region): support more scheme keypair (#23195) 2025-09-02 14:44:47 +08:00
Zexi Li
313224f219 feat(host): add SdnFetchDataFromComputeService option (#23209) 2025-09-01 23:16:01 +08:00
屈轩
edea56383e fix(region): avoid change to the same config sku not effective (#23202) 2025-09-01 11:42:55 +08:00
Jian Qiu
f101b4592b fix: too many recursive locks when batch create (#23201)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-29 23:08:52 +08:00
屈轩
11018b1b81 fix(region): update api docs (#23193) 2025-08-28 16:28:14 +08:00
wanyaoqi
3356774628 fix(host): update nic desc on nic changed (#23105) 2025-08-28 10:06:53 +08:00
wanyaoqi
e264c84370 feat(region,hostdeployer): add f2fs feature support (#23178) 2025-08-28 10:05:40 +08:00
屈轩
a1bc7bc4fe fix(region): add cloud_env filter for cachedimages (#23190) 2025-08-27 18:34:28 +08:00
Jian Qiu
9603dd9a9e fix: guest ipv6 vip (#23188)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-27 18:07:31 +08:00
Jian Qiu
2732cc3cf9 fix: dhcpv6 should nack confirm if addr changed (#23168)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-26 15:35:03 +08:00
wanyaoqi
3bd9c12610 fix(region,host): ipv6 change addr (#23158) 2025-08-26 15:34:15 +08:00
屈轩
bb7bceaa24 fix(keystone): show ldap url (#23173) 2025-08-26 14:28:32 +08:00
屈轩
af9483536e fix(keystone): upgrade ldap version (#23165) 2025-08-26 13:28:32 +08:00
Jian Qiu
ab5f25c991 fix: deploy gai.conf if both v4 and v6 present (#23160)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-25 18:19:19 +08:00
Zexi Li
be04e9f5b2 feat(host): support single file to use post overlay (#23152) 2025-08-25 11:47:51 +08:00
屈轩
a08a5831d0 fix(region): optimized cached image list (#23153) 2025-08-22 15:43:13 +08:00
wanyaoqi
9852dfc5cf feat(region,host,host-deployer): f2fs filesystem support (#23117) 2025-08-22 09:06:02 +08:00
Zexi Li
56903c3fed fix(region): update the image status to save_fail when OnImageSavedFailed (#23139) 2025-08-21 18:12:15 +08:00
wanyaoqi
2cadd74501 fix(scheduler): add session usage timeout options (#23145) 2025-08-21 18:11:11 +08:00
屈轩
8b3cc35bc3 fix(region): dns zone registrar charset (#23149) 2025-08-21 11:34:31 +08:00
屈轩
dbf91c8b81 fix(region): add change_config status for aigateway (#23137) 2025-08-20 17:05:21 +08:00
屈轩
26980db500 fix(region): avoid update guest disable_delete attribute error when host id is empty (#23134) 2025-08-20 16:21:38 +08:00
Zexi Li
905cad3f5e fix(baremetal): update the grub auto configuration to fix the aarch64 disk boot (#23131) 2025-08-20 15:11:22 +08:00
屈轩
665bcfd847 fix(region): sync lb eip (#23124) 2025-08-20 14:13:52 +08:00
happy-game
f7b40ac941 feat(region): fix ISO size display (#23095)
SGuestcdrom.Size is Byte, not MB
2025-08-20 12:08:16 +08:00
Zexi Li
cd51076bc6 fix(baremetal-agent): error occurred when removing logical volumes on the arm64 host (#23121) 2025-08-20 12:00:07 +08:00
屈轩
35759dfbc7 fix(region): sync dns zone ns info (#23115) 2025-08-19 17:28:37 +08:00
屈轩
1a646216b5 fix(region): sync eip associate resource (#23111) 2025-08-19 14:54:41 +08:00
屈轩
993471a801 fix(region): allow update vpc network cidr (#23109) 2025-08-19 14:38:47 +08:00
屈轩
d14cf0d802 fix(region): add storage filter for snapshot (#23106) 2025-08-18 14:57:43 +08:00
wanyaoqi
1ae79f45da fix(host): run ifdown script on guest delete (#23101) 2025-08-16 14:49:37 +08:00
wanyaoqi
f0e76d18fd fix(host): persistent ceph config for qemu connection (#23088) 2025-08-16 14:46:50 +08:00
Jian Qiu
a2ba9e5e33 fix: webconsole skip refererer check by default (#23091)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-16 14:45:35 +08:00
wanyaoqi
13e08b0e3e fix(vpcagent): dhcp enable default gateway on default network (#23099) 2025-08-16 14:45:00 +08:00
屈轩
7776949770 fix(scheduledtask): force sync account (#23084) 2025-08-14 19:35:57 +08:00
Zexi Li
def96d2d6b fix(region): filter host by ips (#23081) 2025-08-14 18:35:12 +08:00
wanyaoqi
9b2153cb2c fix(host): cephutil and nbd ipv6 compat (#23072)
* 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:39 +08:00
屈轩
dcbec86134 fix(region): vendor update (#23080) 2025-08-14 15:13:23 +08:00
屈轩
c6de8a9479 fix(region): server snapshot policy (#23066) 2025-08-14 10:42:30 +08:00
屈轩
d96d1a0a02 fix(region): dns record policy type (#23075) 2025-08-13 17:49:15 +08:00
屈轩
0b5dd81c77 fix(region): The eip displays the internal ip address of the virtual machine (#23067) 2025-08-12 09:59:02 +08:00
Jian Qiu
2d4ed27c0c fix: ipv6 compatibility issues fixes 20250809 (#23060)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-10 09:10:17 +08:00
Jian Qiu
afde29eb71 fix: task obj_type and object nullable and default empty (#23058)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-10 08:46:52 +08:00
wanyaoqi
f51807ee25 fix(host): lvm guest reload disk before delete snapshot (#23055) 2025-08-08 21:01:39 +08:00
wanyaoqi
e0c13bb814 feat(host): container cpufreq realtime simulate (#23047) 2025-08-08 20:54:56 +08:00
Jian Qiu
717719ef92 fix: filter guest by multiple ips with exact match (#23037)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-08 17:55:49 +08:00
Zexi Li
6db106643d fix(host): 修复 loop 设备被其它进程创建而导致分配失败的问题 (#23042) 2025-08-08 17:52:00 +08:00
Jian Qiu
80eaa42163 fix: host metrics tag add hypervisor (#23035)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-07 22:26:29 +08:00
Jian Qiu
3893215bbd fix: ipv6-only mode compatibility fixes (#23027)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-06 22:01:55 +08:00
屈轩
4e2c7bf353 fix(region): support lb health check sync status (#23028) 2025-08-06 17:37:37 +08:00
屈轩
78db6c2e83 fix(region): disk update tag (#23024) 2025-08-06 15:52:04 +08:00
Jian Qiu
87dfcf7c84 fix: always update hostname for rhel-like os (#23016)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-06 01:08:04 +08:00
wanyaoqi
c0562f2573 fix(region,host): host nic add default secret ipv4 address (#23014) 2025-08-02 23:06:14 +08:00
Jian Qiu
66901a4964 fix: host network ipv6 support (#22963)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-02 12:12:26 +08:00
Zexi Li
0a17611276 feat(region): list gpu by index and device_minor (#23010) 2025-08-01 18:46:01 +08:00
屈轩
fd35536bd7 fix(region): support lb health check (#23008) 2025-08-01 18:38:29 +08:00
Zexi Li
05913ab0bf feat(region,host): upload index and minor info of a nvidia GPU (#23004) 2025-08-01 10:36:03 +08:00
Zexi Li
80ec3f117a feat(region,host): auto create the file or dir of hostPath (#23000) 2025-07-31 14:00:51 +08:00
屈轩
32f480ebbb fix(region): cloudflare redirect pool (#22997) 2025-07-30 20:17:31 +08:00
屈轩
d3f6c1fe8f fix(region): cloudflare lb backend operation (#22995) 2025-07-30 19:00:42 +08:00
Zexi Li
897b22aaa2 fix(scheduler): netinterface cache is not informed (#22994) 2025-07-30 15:35:40 +08:00
屈轩
9d67950805 fix(region): support cloudflare lb (#22992) 2025-07-30 14:51:18 +08:00
Jian Qiu
b1874b5253 fix: unify guest sync status and upload status procedure (#22982)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-30 10:38:04 +08:00
Jian Qiu
04dcae9cac fix: inconsist checksum between image and its same format subimage (#22986)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-30 01:43:59 +08:00
wanyaoqi
d559f2119e fix(host,glance): only target qcow2 set cluster size on image convert (#22981) 2025-07-30 00:43:43 +08:00
Jian Qiu
21867bde96 fix: glance converts all queued subimages, regardless of format (#22973)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-29 10:26:50 +08:00
wanyaoqi
e213bdf6af fix(host): set qemuimg convert cluster_size 64k on compat image (#22967) 2025-07-29 00:04:22 +08:00
Jian Qiu
d0b72da166 fix: set default worker parameter (#22957)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-28 14:12:09 +08:00
Jian Qiu
9d8d9b8096 fix: host clean image with regards of container image deps (#22943)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-26 08:49:30 +08:00
wanyaoqi
9d06b8a7ea fix(region): iso boot do not check boot mode (#22952) 2025-07-26 02:27:37 +08:00
wanyaoqi
5613fa0601 fix(host): host init no numa node (#22944) 2025-07-25 00:32:38 +08:00
屈轩
1608c76b9f fix(region): init guest secgroup (#22940) 2025-07-24 17:15:51 +08:00
Zexi Li
032e362971 feat(host): 保存容器 volume 镜像时设置 min_disk 大小 (#22931) 2025-07-23 20:24:28 +08:00
屈轩
81336e6276 fix(region): add guest billing type for disk (#22934) 2025-07-23 18:53:36 +08:00
wanyaoqi
f02c8c9437 fix(region): ipv6 change ipaddr (#22923) 2025-07-23 09:28:56 +08:00
屈轩
7482731ced fix(region): host order (#22925) 2025-07-22 15:19:48 +08:00
屈轩
dcec13c6d3 fix(region): vendor update (#22918) 2025-07-21 17:33:27 +08:00
屈轩
63fc981e77 fix(region): support ssl delete (#22911) 2025-07-16 19:55:43 +08:00
Jian Qiu
49178a2ed4 fix: dhcpv6 client id change by slice overwritten (#22905)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-16 16:19:06 +08:00
屈轩
2ef73f146b fix(region): add is expired for certificate (#22907) 2025-07-16 15:35:56 +08:00
Jian Qiu
5cbb69e372 fix: deploy ipv6 scripts fixes (#22899)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-15 18:58:25 +08:00
wanyaoqi
f7caf2b147 feat(region,host-deployer): ipv6 only guest support (#22896) 2025-07-15 16:21:37 +08:00
wanyaoqi
ed2d780c64 fix(host): check storage id is correct on src migrate prepare (#22895)
correct disk storage id on dest migrate prepare
2025-07-15 16:12:11 +08:00
屈轩
0c7009f038 fix(region): ssl create with zone info (#22888) 2025-07-14 18:32:11 +08:00
屈轩
16f7c98393 fix(region): ssl certificate create (#22885) 2025-07-14 16:06:11 +08:00
Jian Qiu
8fdf415ff0 fix: host metrics error for missing ip (#22882)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-12 18:00:38 +08:00
Jian Qiu
78bf0bcb2f fix: dhcpv6 support phase 3 (#22880)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-12 12:10:18 +08:00
屈轩
d6227bbbcb fix(region): add sort for host (#22875) 2025-07-11 19:08:50 +08:00
Zexi Li
6438ab627a fix(region): allow stopping the container in probe_failed status (#22872) 2025-07-11 10:41:57 +08:00
Jian Qiu
96cf60afeb fix: host no default routes due to empty ipv6 addr (#22870)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-10 22:33:59 +08:00
wanyaoqi
abfedab61c fix(region): do not set guest to resuce status on guest running (#22869) 2025-07-10 22:10:20 +08:00
屈轩
2820958d83 fix(region): 修复本地到期释放功能和资源同步冲突 (#22859) 2025-07-10 19:37:53 +08:00
wanyaoqi
f2e0f62796 fix(host): add check mem dev is null on guest setup (#22847) 2025-07-09 14:15:57 +08:00
Jian Qiu
ec40153b92 fix: dhcpv6 support, phase 2 (#22851)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-09 14:15:03 +08:00
屈轩
ed0b1eea50 fix(region): 避免删除虚拟机时,未能正常删除后挂载的磁盘 (#22840) 2025-07-07 14:46:05 +08:00
Zexi Li
d0ceb8565c feat(host): support pod post cleanup configuration (#22836) 2025-07-04 17:12:07 +08:00
屈轩
b4c7932e98 fix(region): create disk with tags (#22832) 2025-07-04 17:08:01 +08:00
屈轩
0a8198d30d fix(region): vendor update (#22827) 2025-07-03 15:16:30 +08:00
屈轩
8da39a625a fix: compatible with other os netutils (#22825) 2025-07-03 15:01:38 +08:00
Jian Qiu
36f629e349 fix: dhcpv6 support, initial support (#22820)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-03 14:36:59 +08:00
屈轩
5537fcf7be fix(region): vendor update for sync mongodb ip addr (#22816) 2025-07-03 05:32:34 +08:00
wanyaoqi
e01b4e2468 fix(host): set arm guest max mems to host mem (#22813) 2025-07-03 05:31:50 +08:00
wanyaoqi
3bf65b71d5 fix(host): enable qemu cap detect (#22798) 2025-07-03 05:30:04 +08:00
wanyaoqi
167bffb8c9 fix(region): host calculate set mem_cmt_bound 1 on host enable hugepage (#22809) 2025-07-03 05:28:47 +08:00
wanyaoqi
97d5958d54 fix(host): qemuimg convert add cluster_size (#22797) 2025-07-03 05:28:27 +08:00
屈轩
6da78bca57 fix(region): vendor update (#22805) 2025-07-02 21:01:35 +08:00
屈轩
644dc17c86 fix(esxi-agent): avoid esxi cache image error (#22802) 2025-07-02 19:25:27 +08:00
Zexi Li
ed12949d00 fix(host): adjuest max loop device count to 512 (#22787) 2025-07-01 15:25:20 +08:00
屈轩
bc232d54e2 fix(region): add ai gateway (#22783) 2025-06-27 22:34:16 +08:00
屈轩
e5acc545b5 fix(region): vendor update for cdn attribute (#22777) 2025-06-24 17:42:58 +08:00
屈轩
9c97f665f5 fix(notify): support dingtalk robot sign (#22766) 2025-06-23 16:59:36 +08:00
屈轩
8b198367c1 fix(cloudmon): cloudpods collect metric interval (#22763) 2025-06-23 16:17:19 +08:00
屈轩
39d5d57545 fix(region): vendor update for aliyun alb and nlb (#22761) 2025-06-23 10:30:18 +08:00
屈轩
064c23040e fix(region): sync remove backend group (#22758) 2025-06-20 19:38:18 +08:00
Zexi Li
71070e6e68 feat(region,host): support port mapping rule (#22748) 2025-06-20 19:16:55 +08:00
屈轩
f50c4a5c78 fix(region): support skip sync server by tag value (#22753) 2025-06-20 18:40:30 +08:00
屈轩
0a16227ef2 fix(region): vendor update (#22749) 2025-06-20 18:12:39 +08:00
Jian Qiu
52f1de5547 fix: task filter by owner sql revisit (#22744)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-06-20 16:06:39 +08:00
屈轩
1e8ba8aaed fix(region): ssl certificate purge (#22742) 2025-06-19 17:52:59 +08:00
Jian Qiu
be7bc9335c fix: use goid to identify differnt goroutine (#22722)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-06-19 14:50:39 +08:00
屈轩
93466228d5 fix(region): waf rule create (#22737) 2025-06-18 20:06:00 +08:00
Zexi Li
b931b70911 Monitor worker alert (#22729)
* fix(monitor): GetMetricMeasurement 接口只查询过去30m的数据

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

* fix(monitor): wildchar of alert group by field
2025-06-18 14:25:27 +08:00
屈轩
9378168438 fix(region): lb listener rule associate backend group (#22733) 2025-06-18 14:14:57 +08:00
glzjin
ba97cee426 fix: panic when there is no secondary IP on the host. (#22721) 2025-06-17 11:14:54 +08:00
屈轩
e999914539 fix(region): vendor update (#22724) 2025-06-16 20:07:29 +08:00
屈轩
e593f1a93b fix(region): vendor update for lb multi eip sync (#22719) 2025-06-16 17:36:56 +08:00
屈轩
3c76b9e12a fix(common): context with time (#22708) 2025-06-16 17:15:59 +08:00
wanyaoqi
a6c9fddc2c fix(region,host): add auto merge snapshots options, preallocation options (#22715) 2025-06-13 15:20:28 +08:00
Zexi Li
b8685af42c fix(host): dirty shutdown pod is not auto started (#22703) 2025-06-10 10:17:48 +08:00
Jian Qiu
301bd2e705 fix: remove cgo deps for ioctl (#22700)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-06-07 08:42:06 +08:00
屈轩
18b956c53d fix(region): vendor update (#22697) 2025-06-06 19:22:49 +08:00
屈轩
5bcb17fff3 fix(region): enable cloud dns record (#22694) 2025-06-06 18:31:54 +08:00
Jian Qiu
dab4bf9169 fix: http perf stats monitor (#22684)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-06-06 18:12:04 +08:00
Zexi Li
a7052fab8a fix(host): marshal update status input inside error (#22691) 2025-06-06 17:27:45 +08:00
屈轩
de0f6d6f39 fix(region): waf rule enable disable (#22687) 2025-06-06 14:53:20 +08:00
wanyaoqi
87e0a8989c fix(host): pass decoded userdata to host-deployer (#22683) 2025-06-05 23:51:15 +08:00
屈轩
e9d22ebcfd fix(region): vendor update (#22677) 2025-06-05 19:27:58 +08:00
Zexi Li
4c7c111ad1 fix(host): change mount context timeout to 30s (#22674) 2025-06-05 18:40:15 +08:00
Jian Qiu
cb93050e20 fix: cloudmon high cpu loads for bucket probing (#22657)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-06-05 17:51:16 +08:00
屈轩
4031ff83d6 fix(region): vendor update (#22669) 2025-06-04 17:36:20 +08:00
Zexi Li
1829838939 fix(scheduler): wrong sort order of instance group selection (#22668) 2025-06-04 14:27:51 +08:00
Zexi Li
4731240d25 feat(host): containerd snapshot rootfs service (#22621) 2025-06-04 11:00:27 +08:00
Zexi Li
76e0770b09 fix(host): sync container crash status (#22654) 2025-06-03 20:16:04 +08:00
Zexi Li
90360fa6cb fix(host): retry stopping container forcibly (#22648) 2025-06-03 17:11:50 +08:00
Zexi Li
18805cfd37 fix(host): losetup package initialization order (#22651) 2025-06-03 13:39:21 +08:00
Jian Qiu
77daacdabc fix: update vendor to fix keystone user join project not found (#22643)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-05-31 18:47:34 +08:00
Jian Qiu
cea0bddead fix: disk statu sync recover (#22631)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-05-31 09:04:10 +08:00
Jian Qiu
0b837f735f fix: bucket perform mon random string generation consume high cpu load (#22637)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-05-31 09:03:34 +08:00
wanyaoqi
d0290974c4 fix(host): change log level to debug on get numa node faild (#22638) 2025-05-31 09:02:48 +08:00
Zexi Li
780d55f946 refactor(region,host): container status management (#22634) 2025-05-30 17:48:35 +08:00
wanyaoqi
1c6b9bb6cf feat(host-deployer): deploy vlan subinterface on baremetal hypervisor (#22628)
- host-deployer add deploy vlan subinterface on baremetal hypervisor
- fix baremetal-agent cache image parse input data
2025-05-30 10:31:52 +08:00
wanyaoqi
bc5582ca84 feat(region,host,host-deployer): support set uefi boot order (#22527) 2025-05-30 10:30:53 +08:00
wanyaoqi
4349347246 feat(region,host): qga deploy network config on attach nics (#22549) 2025-05-30 10:30:09 +08:00
屈轩
e41cd644d1 fix(docs): add unifiedmonitor api docs (#22627) 2025-05-29 15:27:03 +08:00
屈轩
c34fcd9f82 fix(docs): update api docs (#22626) 2025-05-29 12:00:51 +08:00
屈轩
289b62101f fix(region): vendor update (#22623) 2025-05-29 11:22:47 +08:00
屈轩
661078fad4 fix(region): secgroup rule filter (#22618) 2025-05-28 18:38:29 +08:00
屈轩
85c84d7f27 fix(docs): update monitor api doc (#22616) 2025-05-28 15:52:16 +08:00
wanyaoqi
d303bc31b5 fix(host): qemu extra params format (#22610) 2025-05-27 13:34:38 +08:00
屈轩
acc08523a5 fix(region): update qcloud storage type (#22613) 2025-05-27 12:44:03 +08:00
屈轩
e29de781bb fix(region): add region driver for cloudflare (#22605) 2025-05-26 16:17:42 +08:00
Jian Qiu
7ba276fb4c fix: tar ignore error revisit (#22603)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-05-26 12:35:01 +08:00
Jian Qiu
ca28f61262 fix: container save image with leading prefix (#22598)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-05-26 12:34:39 +08:00
Jian Qiu
c608716fd0 fix: ignore init loop device error (#22597)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-05-26 11:36:00 +08:00
屈轩
52839ca149 fix(docs): update swagger api (#22599) 2025-05-26 10:51:19 +08:00
wanyaoqi
b879705eb3 fix(host): check min_free_kbytes size is enough (#22591) 2025-05-24 01:11:00 +08:00
Zexi Li
8a3c173631 fix(monitor): not filter status tag key (#22595) 2025-05-23 09:59:35 +08:00
Zexi Li
1442a5efbe feat(host): loop device manager (#22588) 2025-05-22 13:24:18 +08:00
屈轩
3dc18f7deb fix(cloudmon): add vm_ip metric for vm (#22585) 2025-05-22 10:53:55 +08:00
屈轩
eac9c0798f fix(cloudmon): vm metrics with ips (#22582) 2025-05-22 10:41:02 +08:00
屈轩
9ebbd6cebc fix(region): add filter for secgroup rule (#22578) 2025-05-21 19:27:01 +08:00
屈轩
30fa56ff41 fix(region): add account info for sec rules (#22575) 2025-05-21 18:40:09 +08:00
Zexi Li
b4b68dd4b8 fix(host): ignore internal stopped event of primary container (#22573) 2025-05-21 16:23:10 +08:00
屈轩
5498aeca82 fix(region): allow create public server sku (#22569) 2025-05-21 14:43:15 +08:00
Zexi Li
95852d0ccb fix(host): status of stopping primary container (#22567) 2025-05-21 12:23:27 +08:00
屈轩
c8185d64e4 fix(region): init aliyun storage medium type (#22563) 2025-05-20 21:48:28 +08:00
Kathent
d016b0529f [fix]: fix error when create vm with ceph disk (#22482) 2025-05-20 21:27:05 +08:00
Jian Qiu
2943344b48 feature: monitor bucket formance and resource status (#22552)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-05-19 22:28:20 +08:00
Zexi Li
cc92a5ebca fix(host): clean loop device before deleting (#22557) 2025-05-19 19:47:22 +08:00
屈轩
c178cc8b02 fix(region): user sync with ctx (#22554) 2025-05-19 18:09:20 +08:00
Jian Qiu
fe55972aed fix: host files not initialized when host reboot (#22550)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-05-19 01:58:12 +08:00
wanyaoqi
cbbeb8ff4b fix: vendor update 2505013 (#22520) 2025-05-19 01:56:46 +08:00
屈轩
8c7f278b97 fix(region): vendor update (#22543) 2025-05-16 11:19:40 +08:00
屈轩
dcd65d1149 fix(region): guest disk iops (#22540) 2025-05-15 15:46:03 +08:00
屈轩
783c2600b3 fix(region): show correct disk iops (#22539) 2025-05-15 12:49:06 +08:00
屈轩
218f491e22 fix(region): change disk billing type (#22532) 2025-05-15 11:48:22 +08:00
Zexi Li
c22a181f26 feat(region,host): change ownership of post overlay merged dir (#22526) 2025-05-13 19:53:01 +08:00
屈轩
dc5d41ddbb fix(region): add dns brand (#22522) 2025-05-13 16:30:45 +08:00
屈轩
601b648041 fix(region): add proxied for dns record (#22513) 2025-05-12 17:52:36 +08:00
Zexi Li
624d732183 fix(monitor): return measurements info from db directly (#22511) 2025-05-12 17:17:28 +08:00
屈轩
d278ad8ce3 fix(common): avoid empty context (#22508) 2025-05-12 16:21:14 +08:00
屈轩
78367723b1 fix(region): add cloudflare const (#22506) 2025-05-12 14:10:44 +08:00
屈轩
6290cb0daa fix(notify): support notify with robotids (#22502) 2025-05-09 21:23:03 +08:00
屈轩
4267f2ab29 fix(notify): optimized notify error msg (#22500) 2025-05-09 17:35:06 +08:00
屈轩
ce4c891b0e fix(region): vendor update (#22497) 2025-05-09 14:54:52 +08:00
屈轩
60d8a7c49a fix(common): obj id cache (#22494) 2025-05-09 14:46:56 +08:00
Jian Qiu
2c55d15fc2 fix: hostfile delete validation (#22492)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-05-08 23:49:57 +08:00
屈轩
84199a13b8 fix(region): vendor update (#22489) 2025-05-08 18:36:25 +08:00
屈轩
fc01599951 fix(common): policy tag filter cache (#22484) 2025-05-08 15:56:46 +08:00
Jian Qiu
c6bc710cee fix: host files support (#22479)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-05-07 11:29:04 +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
15435 changed files with 6109879 additions and 676869 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"

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.
-->

View File

@@ -13,13 +13,13 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.18'
go-version: '1.26.3'
- name: Install check tools
shell: bash
run: |
set -o xtrace
git clone --branch yun --depth 4 https://github.com/yousong/tools && cd tools
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
@@ -32,7 +32,7 @@ jobs:
export GO111MODULE=on
make -j3 check
make test
targets="$(find cmd -mindepth 1 -maxdepth 1 -type d | grep -v cmd/host-image)"
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

@@ -22,7 +22,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.18'
go-version: '1.26.3'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

View File

@@ -20,7 +20,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.18'
go-version: '1.26.3'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

View File

@@ -21,7 +21,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.18'
go-version: '1.26.3'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

View File

@@ -19,7 +19,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.18'
go-version: '1.26.3'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

View File

@@ -23,7 +23,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.18'
go-version: '1.26.3'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

View File

@@ -19,7 +19,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.18'
go-version: '1.26.3'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

View File

@@ -23,7 +23,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.18'
go-version: '1.26.3'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

View File

@@ -23,7 +23,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.18'
go-version: '1.26.3'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

View File

@@ -23,7 +23,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.18'
go-version: '1.26.3'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

View File

@@ -24,7 +24,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.18'
go-version: '1.26.3'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

View File

@@ -20,7 +20,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.18'
go-version: '1.26.3'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

View File

@@ -23,7 +23,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.18'
go-version: '1.26.3'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

View File

@@ -4,14 +4,42 @@ on:
schedule:
- cron: "0 0 * * *"
permissions:
issues: write
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'
- name: Label inactive issues as stale
env:
GH_TOKEN: ${{ github.token }}
INACTIVE_DAY: "30"
INACTIVE_LABEL: "stale"
EXCLUDE_LABEL: "announcement"
run: |
set -euo pipefail
cutoff="$(date -u -d "${INACTIVE_DAY} days ago" +%Y-%m-%dT%H:%M:%SZ)"
gh issue list \
--repo "${{ github.repository }}" \
--state open \
--limit 1000 \
--json number,labels,updatedAt \
| jq -c \
--arg cutoff "$cutoff" \
--arg inactive "$INACTIVE_LABEL" \
--arg exclude "$EXCLUDE_LABEL" \
'
.[]
| select(.updatedAt < $cutoff)
| select([.labels[].name] | index($exclude) | not)
| select([.labels[].name] | index($inactive) | not)
' \
| while IFS= read -r issue; do
number="$(echo "$issue" | jq -r .number)"
echo "Marking issue #${number} as ${INACTIVE_LABEL}"
gh issue edit "$number" \
--repo "${{ github.repository }}" \
--add-label "$INACTIVE_LABEL"
done

View File

@@ -4,17 +4,41 @@ on:
schedule:
- cron: "0 1 * * *"
permissions:
issues: write
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.
- name: Close inactive issues awaiting user feedback
env:
GH_TOKEN: ${{ github.token }}
INACTIVE_DAY: "7"
run: |
set -euo pipefail
cutoff="$(date -u -d "${INACTIVE_DAY} days ago" +%Y-%m-%dT%H:%M:%SZ)"
body="$(cat <<'EOF'
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。
您超过 37 天未反馈信息,我们将关闭该 issue如有需求您可以重新打开或者提交新的 issue。
EOF
)"
# Trim leading indentation from heredoc lines for a cleaner comment.
body="$(printf '%s\n' "$body" | sed 's/^[[:space:]]*//')"
gh issue list \
--repo "${{ github.repository }}" \
--state open \
--label "stale" \
--label "state/awaiting user feedback" \
--limit 1000 \
--json number,updatedAt \
| jq -c --arg cutoff "$cutoff" '.[] | select(.updatedAt < $cutoff)' \
| while IFS= read -r issue; do
number="$(echo "$issue" | jq -r .number)"
echo "Closing issue #${number}"
gh issue close "$number" \
--repo "${{ github.repository }}" \
--comment "$body"
done

View File

@@ -4,13 +4,19 @@ on:
issues:
types: [closed]
permissions:
issues: write
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'
- name: Remove state labels when issue that hasn't stale label is closed
env:
GH_TOKEN: ${{ github.token }}
run: |
gh issue edit "${{ github.event.issue.number }}" \
--repo "${{ github.repository }}" \
--remove-label "state/awaiting processing" \
--remove-label "state/awaiting user feedback" || true

View File

@@ -4,35 +4,48 @@ on:
name: Add issues workflow labels
permissions:
issues: write
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'
env:
GH_TOKEN: ${{ github.token }}
run: |
gh issue edit "${{ github.event.issue.number }}" \
--repo "${{ github.repository }}" \
--add-label "state/awaiting processing"
- name: Remove require reply label
uses: actions-cool/issues-helper@v2
with:
actions: 'remove-labels'
labels: 'state/awaiting user feedback,stale'
env:
GH_TOKEN: ${{ github.token }}
run: |
gh issue edit "${{ github.event.issue.number }}" \
--repo "${{ github.repository }}" \
--remove-label "state/awaiting user feedback" \
--remove-label "stale" || true
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: Add require reply label
env:
GH_TOKEN: ${{ github.token }}
run: |
gh issue edit "${{ github.event.issue.number }}" \
--repo "${{ github.repository }}" \
--add-label "state/awaiting user feedback"
- name: Remove require handle label
uses: actions-cool/issues-helper@v2
with:
actions: 'remove-labels'
labels: 'state/awaiting processing,stale'
env:
GH_TOKEN: ${{ github.token }}
run: |
gh issue edit "${{ github.event.issue.number }}" \
--repo "${{ github.repository }}" \
--remove-label "state/awaiting processing" \
--remove-label "stale" || true

View File

@@ -4,22 +4,30 @@ on:
issues:
types: [opened, reopened]
permissions:
issues: write
jobs:
issue-open-add-labels:
runs-on: ubuntu-latest
if: ${{ !github.event.issue.pull_request }}
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'
env:
GH_TOKEN: ${{ github.token }}
run: |
gh issue edit "${{ github.event.issue.number }}" \
--repo "${{ github.repository }}" \
--add-label "state/awaiting processing"
- name: Remove require reply label
uses: actions-cool/issues-helper@v2
with:
actions: 'remove-labels'
labels: 'state/awaiting user feedback,stale'
env:
GH_TOKEN: ${{ github.token }}
run: |
gh issue edit "${{ github.event.issue.number }}" \
--repo "${{ github.repository }}" \
--remove-label "state/awaiting user feedback" \
--remove-label "stale" || true
notify-author-comment:
runs-on: ubuntu-latest

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
@@ -207,6 +185,7 @@ y18n-lang := en-US,zh-CN
y18n-packages := \
yunion.io/x/onecloud/cmd/apigateway \
yunion.io/x/onecloud/cmd/keystone \
yunion.io/x/onecloud/cmd/llm \
yunion.io/x/onecloud/cmd/monitor \
yunion.io/x/onecloud/cmd/region \
yunion.io/x/onecloud/cmd/yunionconf \
@@ -258,7 +237,7 @@ hostdeployer-grpc-gen:
check: fmt-check
check: gendocgo-check
check: goimports-check
#check: goimports-check
#check: vet-check
#check: y18n-check
.PHONY: check
@@ -286,18 +265,14 @@ RELEASE_BRANCH:=master
GOPROXY ?= direct
mod:
GOPROXY=$(GOPROXY) GONOSUMDB=yunion.io/x go get -d yunion.io/x/cloudmux@$(RELEASE_BRANCH)
GOPROXY=$(GOPROXY) GONOSUMDB=yunion.io/x 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$$'))
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 +324,7 @@ image:
.PHONY: image
image-telegraf-raid-plugin:
VERSION=release-1.6.5 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.23-go-1.26.3-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

View File

@@ -1,14 +1,17 @@
# 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://v1.cloudpods.org/images/cloudpods_logo_green.png" alt="Cloudpods" height="100">
Cloudpods是一个开源的Golang实现的云原生的融合多云/混合云的云平台,也就是一个云上之云”。Cloudpods不仅可以管理本地的虚拟机和物理机资源还可以管理多个云平台和云账号。Cloudpods隐藏了这些异构基础设施资源的数据模型和API的差异对外暴露了一套统一的API允许用户就像用一个云一样地访问多云。从而大大降低了访问多云的复杂度提升了管理多云的效率。
Cloudpods是一个开源的Golang实现的云原生的融合多云/混合云的云平台,也就是一个云上之云”。Cloudpods不仅可以管理本地的虚拟机和物理机资源还可以管理多个云平台和云账号。Cloudpods隐藏了这些异构基础设施资源的数据模型和API的差异对外暴露了一套统一的API允许用户就像用一个云一样地访问多云。从而大大降低了访问多云的复杂度提升了管理多云的效率。
Cloudpods还提供了 **AI 云**一个面向大语言模型LLM推理与 AI 容器应用的统一管理平台,帮助企业在同一平台完成 AI 工作负载的部署、调度与运维,与 Cloudpods 私有云/多云资源体系无缝集成。
## 谁需要Cloudpods?
@@ -17,12 +20,25 @@ Cloudpods是一个开源的Golang实现的云原生的融合多云/混合云的
* 将VMware vSphere虚拟化集群转换为一个可以自服务的私有云平台
* 在混合云的场景,能够在一个界面访问私有云和公有云
* 通过一个集中的入口访问分布在多个公有云平台上的多个账号
* 当前只使用一个公有云账号但希望将来使用多云的用户
* 当前只使用一个公有云账号但希望将来使用多云的用户
* 需要部署和管理 LLM 推理服务及 AI 容器应用,并需要 GPU 调度支持的用户
## 功能
请访问[产品介绍](https://www.cloudpods.org/docs/introduction/)页面了解详细信息。
### AI 云
* **AI 推理服务**:部署和管理 LLM 推理实例(支持 Ollama、vLLM、SGLang 等),支持 GPU 调度、模型挂载与推理服务地址分配。
* **AI 应用管理**:一站式部署 LLM 应用编排、智能体助手、图像生成等 AI 容器应用。
* **模型库**:统一管理模型来源、版本与缓存,支持多实例复用、离线分发,避免重复下载。
* **模板与镜像**:通过模板定义 CPU/内存/GPU 等资源规格,通过镜像管理容器运行环境,实现标准化交付。
* **GPU 运维**GPU 设备自动探测与注册,支持 NVIDIA/CUDA 环境的统一配置与管理。
支持的 AI 工作负载:
* AI 推理Ollama、vLLM、SGLang
* AI 应用OpenClaw、Dify、ComfyUI、Hermes Agent
### 支持的云平台
* 公有云:
@@ -36,36 +52,42 @@ Cloudpods是一个开源的Golang实现的云原生的融合多云/混合云的
* 天翼云
* 移动云
* 京东云
* 火山引擎
* 百度云
* 金山云
* 青云
* Oracle Cloud
* 联通云
* 私有云:
* OpenStack
* ZStack
* Alibaba Cloud Aspara (阿里飞天)
* Alibaba Cloud Apsara (阿里飞天)
* Huawei HCSO (华为HCSO)
* Nutanix
* BingoCloud
* OceanBase
* 本地基础设施资源:
* 基于 KVM 实现的轻量级私有云
* VMWare vSphere vCenter/ESXi
* Baremetals (IPMI, Redfish API)
* Object storages (Minio, Ceph, XSky)
* VMware vSphere vCenter/ESXi
* Proxmox VE
* 裸金属 (IPMI, Redfish API)
* 对象存储 (Minio, Ceph, XSky)
* NAS (Ceph)
### 支持的云资源
* Servers: instances, disks, network interfaces, networks, vpcs, storages, hosts, wires, snapshots, snapshot policies, security groups, elastic IPs, SSH keypairs, images
* Load Balancers: instances, listeners, backend groups, backends, TSL certificates, ACLs
* Object Storage: buckets, objects
* NAS: file_systems, access_groups, mount_targets
* RDS: instances, accounts, backups, databases, parameters, privileges
* Elastic Cache: instances, accounts, backups, parameters
* DNS: DNS zones, DNS records
* VPC: VPCs, VPC peering, inter-VPC network, NAT gateway, DNAT/SNAT rules, route tables, route entries
* 服务器实例、磁盘、网卡、网络、VPC、存储、宿主机、二层网络、快照、快照策略、安全组、弹性 IP、SSH 密钥对、镜像
* 负载均衡实例、监听、后端服务器组、后端服务器、TLS 证书、访问控制
* 对象存储:存储桶、对象
* NAS:文件系统、权限组、挂载点
* RDS:实例、账号、备份、数据库、参数、权限
* 弹性缓存:实例、账号、备份、参数
* DNSDNS 区域、DNS 记录
* VPCVPCVPC 对等连接、跨 VPC 网络、NAT 网关、DNAT/SNAT 规则、路由表、路由条目
## 安装部署
- [All in One 安装](https://www.cloudpods.org/zh/docs/quickstart/allinone-converge/):在 CentOS 7 或 Debian 10 等发行版里搭建全功能 Cloudpods 服务,可以快速体验**内置私有云**和**多云管理**的功能
- [Kubernetes Helm 安装](https://www.cloudpods.org/zh/docs/quickstart/k8s/):在已有 Kubernetes 集群上通过 Helm 部署一套 Cloudpods CMP 服务,可以体验**多云管理**的功能。
- [Docker Compose 安装](https://www.cloudpods.org/zh/docs/quickstart/docker-compose/):通过 Docker Compose 部署 Cloudpods CMP 服务,可以迅速体验**多云管理**的功能。
- [高可用安装](https://www.cloudpods.org/zh/docs/setup/ha-ce/):在生产环境中使用高可用的方式部署 Cloudpods 服务,包括**内置私有云**和**多云管理**的功能。
请参考文档[安装部署](https://www.cloudpods.org/docs/getting-started/)选择合适的场景部署
## 文档
@@ -79,7 +101,9 @@ Cloudpods是一个开源的Golang实现的云原生的融合多云/混合云的
## 联系我们
请查看[联系我们](https://www.cloudpods.org/docs/contact/)。
* 请查看[联系我们](https://www.cloudpods.org/docs/contact/)。
* TG群: [cloudpods](https://t.me/cloudpods_org)
## 版本历史
@@ -92,3 +116,7 @@ Cloudpods是一个开源的Golang实现的云原生的融合多云/混合云的
## License
Apache license 2.0,详情请看 [LICENSE](./LICENSE)。
## AI生成文档
[DeepWiki](https://deepwiki.com/yunionio/cloudpods) 提供了对本项目代码详细和全面的AI解读可以参考。

View File

@@ -1,7 +1,6 @@
# 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)
@@ -12,19 +11,34 @@
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.
Cloudpods also provides **AI Cloud**, a unified management platform for large language model (LLM) inference and AI container applications, helping enterprises deploy, schedule, and operate AI workloads on a single platform, seamlessly integrated with the Cloudpods private cloud / multi-cloud resource ecosystem.
## Who needs Cloudpods?
* Those who need a simple solution to virtualize a few physical servers into a private cloud
* Those who need a compact and fully automatic baremetal lift-cycle management solution
* Those who want to turn a VMware vSphere virtualization cluster into a private cloud
* Those who need a cohesive view of both public and private cloud in a hybrid cloud setup
* Those who need a centric portal to access multiple acccounts from multiple public clouds
* Those who need a centric portal to access multiple accounts from multiple public clouds
* Those who is currently using a single cloud account, but will not lose the possibility to adopt multicloud strategy
* Those who need to deploy and manage LLM inference services and AI container applications with GPU support
## Features
See [Introduction](https://www.cloudpods.org/docs/introduction/) for details.
### AI Cloud
* **AI Inference Services**: Deploy and manage LLM inference instances (Ollama, vLLM, SGLang, and more) with GPU scheduling, model mounting, and inference service address allocation.
* **AI Application Management**: One-stop deployment of LLM application orchestration, agent assistants, image generation, and other AI container applications.
* **Model Library**: Unified management of model sources, versions, and caches, supporting multi-instance reuse and offline distribution.
* **Templates and Images**: Define resource specifications (CPU/memory/GPU) through templates, manage container runtime environments through images.
* **GPU Operations**: Automatic GPU device detection and registration, unified NVIDIA/CUDA environment configuration and management.
Supported AI workloads:
* AI Inference: Ollama, vLLM, SGLang
* AI Applications: OpenClaw, Dify, ComfyUI, Hermes Agent
### Supported cloud providers
* Public Clouds:
@@ -38,15 +52,24 @@ See [Introduction](https://www.cloudpods.org/docs/introduction/) for details.
* Ctyun (China Telecom)
* ECloud (China Mobile)
* JDCloud
* Volcengine
* Baidu Cloud
* Kingsoft Cloud
* QingCloud
* Oracle Cloud
* China Unicom Cloud
* Private Clouds:
* OpenStack
* ZStack
* Alibaba Cloud Aspara
* Alibaba Cloud Apsara
* Huawei HCSO
* Nutanix
* BingoCloud
* OceanBase
* On-premise resources:
* Lightweight private cloud built on KVM
* VMWare vSphere vCenter/ESXi
* VMware vSphere vCenter/ESXi
* Proxmox VE
* Baremetals (IPMI, Redfish API)
* Object storages (Minio, Ceph, XSky)
* NAS (Ceph)
@@ -54,7 +77,7 @@ See [Introduction](https://www.cloudpods.org/docs/introduction/) for details.
### 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
@@ -64,10 +87,7 @@ See [Introduction](https://www.cloudpods.org/docs/introduction/) for details.
## Getting started
- [All in One Installation](https://www.cloudpods.org/zh/docs/quickstart/allinone-converge/)Building a full-featured Cloudpods service on linux distributions such as CentOS 7 or Debian 10 allows for a quick experience of the **built-in private cloud** and **multi-cloud management** features.
- [Kubernetes Helm Installation](https://www.cloudpods.org/zh/docs/quickstart/k8s/)Deploying the Cloudpods CMP service on an existing Kubernetes cluster using Helm and experience the **multi-cloud management** feature.
- [Docker Compose Installation](https://www.cloudpods.org/zh/docs/quickstart/docker-compose/)Deploying the Cloudpods CMP service using Docker Compose and quickly experience the **multi-cloud management** feature.
- [High availability installation](https://www.cloudpods.org/zh/docs/setup/ha-ce/)Deploying Cloudpods services in a highly available manner for production environments, including **built-in private cloud** and **multi-cloud management** features.
Please refer to the document [Getting Started](https://www.cloudpods.org/en/docs/getting-started/) to select the appropriate scenario for installation.
## Documentations
@@ -82,11 +102,13 @@ Please check this [issue](https://github.com/yunionio/cloudpods/issues/11427) fo
## Contact
See [Contact Us](https://www.cloudpods.org/en/docs/contact/) for details.
* See [Contact Us](https://www.cloudpods.org/en/docs/contact/) for details.
* Telegram: [cloudpods](https://t.me/cloudpods_org)
## Changelog
See [Relase Notes](https://www.cloudpods.org/en/docs/release-notes/) and [Changelog](https://www.cloudpods.org/en/docs/development/changelog/) for details.
See [Release Notes](https://www.cloudpods.org/en/docs/release-notes/) and [Changelog](https://www.cloudpods.org/en/docs/development/changelog/) for details.
## Contribution
@@ -95,3 +117,7 @@ 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.

1
build/aiproxy/vars Normal file
View File

@@ -0,0 +1 @@
DESCRIPTION="Yunion Cloud AI Proxy Service"

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}"
@@ -73,6 +79,8 @@ echo "# Yunion RPM spec
%global pkgname yunion-$PKG
%global homedir /var/run/%{owner}
%global use_systemd $SERVICE
%global debug_package %{nil}
%global __strip /usr/bin/eu-strip
Name: %{pkgname}
Version: $VERSION
@@ -104,41 +112,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 +200,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

@@ -6,6 +6,14 @@ 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)

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

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

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.5.2 /opt/yunion/playbook /opt/yunion/playbook
COPY --from=registry.cn-beijing.aliyuncs.com/yunionio/file-repo:v0.5.2 /opt/yunion/ansible-install-pkg /opt/yunion/ansible-install-pkg
COPY --from=registry.cn-beijing.aliyuncs.com/yunionio/file-repo:v0.5.5 /opt/yunion/playbook /opt/yunion/playbook
COPY --from=registry.cn-beijing.aliyuncs.com/yunionio/file-repo:v0.5.5 /opt/yunion/ansible-install-pkg /opt/yunion/ansible-install-pkg
ADD ./_output/alpine-build/bin/ansibleserver /opt/yunion/bin/ansibleserver

View File

@@ -1,8 +1,8 @@
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
@@ -13,6 +13,7 @@ RUN set -x \
&& 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
@@ -21,8 +22,10 @@ RUN apk add --no-cache --virtual .build-dependencies \
# ansible should be installed
# after setuptools and wheel
RUN rm /usr/lib/python3.*/EXTERNALLY-MANAGED
RUN pip3 install -U pip setuptools wheel \
&& pip3 install paramiko mysqlclient pywinrm \
&& 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/*

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

@@ -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/apimap /opt/yunion/bin/apimap

View File

@@ -1,8 +1,8 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/baremetal-base:v0.3.9-20231219.0
FROM registry.cn-beijing.aliyuncs.com/yunionio/baremetal-base:v0.3.9-20260724.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,9 +1,8 @@
#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:v3.10.8-20231215.0 as yunionos
FROM registry.cn-beijing.aliyuncs.com/yunionio/yunionos:v4.0.0-20251203.0 as yunionos
FROM centos:8 as grub-stage
FROM registry.cn-beijing.aliyuncs.com/cloudpods/centos:8 as grub-stage
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
@@ -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,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/climc-base:20230731.5
FROM registry.cn-beijing.aliyuncs.com/yunionio/climc-base:3.22.2-2
ADD ./build/climc/root/opt /opt

View File

@@ -4,9 +4,9 @@ ARG TARGETPLATFORM
ARG BUILDPLATFORM
ARG TARGETARCH
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
LABEL maintainer="Zexi Li <lizexi@yunionyun.com>"
ENV TZ Asia/Shanghai
ENV TZ="Asia/Shanghai"
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

@@ -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
ADD ./_output/alpine-build/bin/dhcprelay /opt/yunion/bin/dhcprelay

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/esxi-agent /opt/yunion/bin/esxi-agent

View File

@@ -1,26 +0,0 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/file-repo:v0.4.0 as file-repo
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
COPY --from=file-repo /opt/yunion/ansible-install-pkg/telegraf-1.19.2-yn~be742cbf-0.x86_64.rpm /opt/yunion/ansible-install-pkg
COPY --from=file-repo /opt/yunion/ansible-install-pkg/telegraf-1.19.2-yn~be742cbf-0.aarch64.rpm /opt/yunion/ansible-install-pkg
COPY --from=file-repo /opt/yunion/ansible-install-pkg/telegraf_1.19.2-yn~be742cbf-0_arm64.deb /opt/yunion/ansible-install-pkg
COPY --from=file-repo /opt/yunion/ansible-install-pkg/telegraf_1.19.2-yn~be742cbf-0_amd64.deb /opt/yunion/ansible-install-pkg
COPY --from=file-repo /opt/yunion/ansible-install-pkg/telegraf-1.19.2-yn~be742cbf_windows_amd64.zip /opt/yunion/ansible-install-pkg
COPY --from=file-repo /opt/yunion/ansible-install-pkg/telegraf-1.19.2-yn~be742cbf_windows_i386.zip /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

@@ -22,44 +22,25 @@
#
# The Alpine Linux image that should be used as the basis for the guacd image
ARG ALPINE_BASE_IMAGE=latest
FROM alpine:${ALPINE_BASE_IMAGE} AS builder
ARG ALPINE_BASE_IMAGE=3.22.2
ARG TARGETPLATFORM
# The target architecture of the build. Valid values are "ARM" and "X86". By
# default, this is detected automatically.
ARG BUILD_ARCHITECTURE
RUN sed -i 's!https://dl-cdn.alpinelinux.org/!https://mirrors.ustc.edu.cn/!g' /etc/apk/repositories
# The number of processes that may run simultaneously during the build. By
# default, this is detected automatically.
ARG BUILD_JOBS
# Install build dependencies
RUN apk add --no-cache \
autoconf \
automake \
build-base \
cairo-dev \
cmake \
cunit-dev \
git \
grep \
libjpeg-turbo-dev \
libpng-dev \
libtool \
libwebp-dev \
make \
openssl1.1-compat-dev \
pango-dev \
pulseaudio-dev \
util-linux-dev
# Copy source to container for sake of build
# The directory that will house the guacamole-server source during the build
ARG BUILD_DIR=/tmp/guacamole-server
ARG GUAC_VER=1.5.3
RUN git clone --branch=${GUAC_VER} https://github.com/apache/guacamole-server.git /tmp/guacamole-server
#
# Base directory for installed build artifacts.
#
# NOTE: Due to limitations of the Docker image build process, this value is
# duplicated in an ARG in the second stage of the build.
#
# 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
#
@@ -67,11 +48,12 @@ ARG PREFIX_DIR=/opt/guacamole
# library (these can be overridden at build time if a specific version is
# needed)
#
ARG WITH_FREERDP='2(\.\d+)+'
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
@@ -79,6 +61,8 @@ ARG WITH_LIBWEBSOCKETS='v\d+(\.\d+)+'
# options are needed)
#
ARG FREERDP_ARM_OPTS=""
ARG FREERDP_OPTS="\
-DBUILTIN_CHANNELS=OFF \
-DCHANNEL_URBDRC=OFF \
@@ -89,22 +73,25 @@ ARG FREERDP_OPTS="\
-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_SSE2=ON \
-DWITH_SWSCALE=OFF \
-DWITH_WAYLAND=OFF \
-DWITH_X11=OFF \
-DWITH_X264=OFF \
@@ -116,21 +103,47 @@ ARG FREERDP_OPTS="\
-DWITH_XRENDER=OFF \
-DWITH_XTEST=OFF \
-DWITH_XV=OFF \
-DWITH_ZLIB=ON"
-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"
--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 \
@@ -141,45 +154,179 @@ ARG LIBWEBSOCKETS_OPTS="\
-DLWS_WITHOUT_TEST_SERVER_EXTPOLL=ON \
-DLWS_WITH_STATIC=OFF"
# Build guacamole-server and its core protocol library dependencies
RUN echo "$TARGETPLATFORM"
RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; \
then FREERDP_OPTS="${FREERDP_OPTS} -DWITH_SSE2=ON" && echo "SSE2 active"; \
else FREERDP_OPTS="${FREERDP_OPTS} -DWITH_SSE2=OFF" && echo "SSE2 disabled"; \
fi && ${BUILD_DIR}/src/guacd-docker/bin/build-all.sh
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 \
${PREFIX_DIR}/lib/freerdp2/*guac*.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}
RUN sed -i 's!https://dl-cdn.alpinelinux.org/!https://mirrors.ustc.edu.cn/!g' /etc/apk/repositories
#
# Base directory for installed build artifacts. See also the
# CMD directive at the end of this build stage.
#
# NOTE: Due to limitations of the Docker image build process, this value is
# duplicated in an ARG in the first stage of the build.
#
ARG PREFIX_DIR=/opt/guacamole
# Runtime environment
ENV LC_ALL=C.UTF-8
ENV LD_LIBRARY_PATH=${PREFIX_DIR}/lib
ENV GUACD_LOG_LEVEL=info
FROM alpine:${ALPINE_BASE_IMAGE} AS runtime
ARG PREFIX_DIR
ARG BUILD_DIR
# Copy build artifacts into this stage
COPY --from=builder ${PREFIX_DIR} ${PREFIX_DIR}
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 \
@@ -189,6 +336,10 @@ RUN apk add --no-cache \
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
@@ -197,8 +348,6 @@ 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 mkdir -p /opt/cloudpods
RUN chown -R guacd:guacd /opt/cloudpods
# Run with user guacd
USER guacd
@@ -206,9 +355,6 @@ USER guacd
# Expose the default listener port
EXPOSE 4822
# Start guacd, listening on port 0.0.0.0:4822
#
# Note the path here MUST correspond to the value specified in the
# PREFIX_DIR build argument.
#
CMD /opt/guacamole/sbin/guacd -b 0.0.0.0 -L $GUACD_LOG_LEVEL -f
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.5.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.4.6
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-deployer-base:1.5.11
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

@@ -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/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

@@ -1,8 +1,8 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/lbagent-base:v0.0.4
FROM registry.cn-beijing.aliyuncs.com/yunionio/lbagent-base:v0.0.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/lbagent /opt/yunion/bin/lbagent

View File

@@ -1,12 +1,12 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/openvswitch:2.12.4-2
FROM registry.cn-beijing.aliyuncs.com/yunionio/openvswitch:2.12.4-5
MAINTAINER "Jian QIU <qiujian@yunion.cn>"
LABEL maintainer="Jian QIU <qiujian@yunion.cn>"
ENV TZ UTC
ENV TZ="UTC"
ENV GOPATH=/root/go
RUN sed -i 's!https://dl-cdn.alpinelinux.org/!https://mirrors.ustc.edu.cn/!g' /etc/apk/repositories
RUN sed -i 's!v3.20/!v3.22/!g' /etc/apk/repositories
RUN set -x \
&& apk update \

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:20230731.2
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,7 @@
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)
DOCKER_BUILDX_BM = docker buildx build --platform linux/arm64,linux/amd64 --push -t $(REGISTRY)
debian10-base:
@@ -9,68 +10,74 @@ 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.2
ANSIBLESERVER_BASE = 3.22.2-0
ansibleserver-base:
$(DOCKER_BUILDX)/ansibleserver-base:$(ANSIBLESERVER_BASE) -f ./Dockerfile.ansibleserver-base .
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 = 20230731.2
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.9-20231219.1
BAREMETAL_BASE_VERSION = v0.3.9-20260724.0
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)
# TODO: support riscv64 for baremetal-base
baremetal-base:
$(DOCKER_BUILDX)/baremetal-base:$(BAREMETAL_BASE_VERSION) -f ./Dockerfile.baremetal-base .
$(DOCKER_BUILDX_BM)/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.5.2
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.3
LBAGENT_BASE_VERSION = v0.0.5
lbagent-base:
$(DOCKER_BUILDX)/lbagent-base:$(LBAGENT_BASE_VERSION) -f ./Dockerfile.lbagent-base .
GUACD_VERSION=1.5.3
GUACD_VERSION=1.6.0
guacd:
docker buildx build --platform linux/arm64 --push \
-t registry.cn-beijing.aliyuncs.com/yunionio/guacd:$(GUACD_VERSION)-arm64 -f ./Dockerfile.guacd .
docker buildx build --platform linux/amd64 --push \
-t registry.cn-beijing.aliyuncs.com/yunionio/guacd:$(GUACD_VERSION)-amd64 -f ./Dockerfile.guacd .
docker buildx imagetools create -t registry.cn-beijing.aliyuncs.com/yunionio/guacd:$(GUACD_VERSION) \
registry.cn-beijing.aliyuncs.com/yunionio/guacd:$(GUACD_VERSION)-amd64 \
registry.cn-beijing.aliyuncs.com/yunionio/guacd:$(GUACD_VERSION)-arm64
$(DOCKER_BUILDX)/guacd:$(GUACD_VERSION) -f ./Dockerfile.guacd .

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,5 +1,5 @@
DESCRIPTION="Yunion Cloud Image Service"
REQUIRES=(
yunion-qemu-2.12.1
yunion-qemu-4.2.0
)

View File

@@ -1,9 +1,9 @@
{{.title}}
策略名称: {{.name}}
触发时间: {{.start_time}}
报警级别: {{.level}}
触发条件: {{.description | unescaped}}
资源数量:{{len .matches}}
{{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,9 @@
{{.title}}
AlertName: {{.name}}
Time: {{.start_time}}
Level: {{.level}}
TriggerCondition: {{.description | unescaped}}
ResourceCount: {{len .matches}}
{{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 .}}

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,18 @@
[Unit]
Description=Yunion MPS Daemon
Documentation=https://docs.yunion.cn
[Service]
Type=simple
User=root
Group=root
ExecStart=/opt/yunion/bin/mps-daemon
WorkingDirectory=/opt/yunion/bin
KillMode=process
Restart=always
RestartSec=30
LimitNOFILE=500000
LimitNPROC=500000
[Install]
WantedBy=multi-user.target

2
build/mps-daemon/vars Normal file
View File

@@ -0,0 +1,2 @@
DESCRIPTION="Yunion MPS Daemon Utility"
SERVICE="yes"

View File

@@ -0,0 +1 @@
备份导出文件{{ .pack_file_name }}创建成功

View File

@@ -0,0 +1 @@
Backup export file {{ .pack_file_name }} was created.

View File

@@ -0,0 +1 @@
备份导出文件{{ .pack_file_name }}创建成功

View File

@@ -0,0 +1 @@
Backup export file {{ .pack_file_name }} was created.

26
cmd/aiproxy/main.go Normal file
View File

@@ -0,0 +1,26 @@
// Copyright 2019 Yunion
//
// Licensed 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.
package main
import (
"yunion.io/x/onecloud/pkg/aiproxy/service"
"yunion.io/x/onecloud/pkg/util/atexit"
)
func main() {
defer atexit.Handle()
service.StartService()
}

View File

@@ -70,7 +70,7 @@ type BaseOptions struct {
OsRegionName string `default:"$OS_REGION_NAME" help:"Defaults to env[OS_REGION_NAME]"`
OsZoneName string `default:"$OS_ZONE_NAME" help:"Defaults to env[OS_ZONE_NAME]"`
OsEndpointType string `default:"$OS_ENDPOINT_TYPE|internalURL" help:"Defaults to env[OS_ENDPOINT_TYPE] or internalURL" choices:"publicURL|internalURL|adminURL"`
OsEndpointType string `default:"$OS_ENDPOINT_TYPE|internalURL" help:"Defaults to env[OS_ENDPOINT_TYPE] or internalURL" choices:"publicURL|internalURL|adminURL|apigateway"`
// ApiVersion string `default:"$API_VERSION" help:"override default modules service api version"`
OutputFormat string `default:"$CLIMC_OUTPUT_FORMAT|table" choices:"table|kv|json|yaml|flatten-table|flatten-kv" help:"output format"`
@@ -335,7 +335,6 @@ func ClimcMain() {
}
if parser.IsHelpSet() {
fmt.Print(parser.HelpString())
return
}

View File

@@ -17,6 +17,7 @@ package main
import (
"yunion.io/x/onecloud/cmd/climc/entry"
_ "yunion.io/x/onecloud/cmd/climc/shell"
_ "yunion.io/x/onecloud/cmd/climc/shell/aiproxy"
_ "yunion.io/x/onecloud/cmd/climc/shell/ansible"
_ "yunion.io/x/onecloud/cmd/climc/shell/apimap"
_ "yunion.io/x/onecloud/cmd/climc/shell/cloudevent"
@@ -30,6 +31,7 @@ import (
_ "yunion.io/x/onecloud/cmd/climc/shell/identity"
_ "yunion.io/x/onecloud/cmd/climc/shell/image"
_ "yunion.io/x/onecloud/cmd/climc/shell/k8s"
_ "yunion.io/x/onecloud/cmd/climc/shell/llm"
_ "yunion.io/x/onecloud/cmd/climc/shell/logger"
_ "yunion.io/x/onecloud/cmd/climc/shell/misc"
_ "yunion.io/x/onecloud/cmd/climc/shell/monitor"

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