Compare commits

...

9792 Commits

Author SHA1 Message Date
Zexi Li
92e18c0e07 fix(aiproxy): clarify unavailable backend error message (#25683) 2026-09-13 22:32:17 +08:00
Zexi Li
7b80690bac fix(aiproxy): detect listen address (#25678) 2026-09-13 12:35:46 +08:00
Zexi Li
9883a6afec feat(aiproxy): allow listing virtual key token field (#25675)
Expose VirtualKey in list responses so clients can retrieve the token without a separate get.
2026-09-11 18:45:39 +08:00
Zexi Li
d5f3c8752f fix(llm): keep aiproxy routing across stop/restart (#25672)
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:10 +08:00
Zexi Li
45fc5cf0d0 feat(llm): route MCP agent via aiproxy virtual key and routing id (#25665)
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:13:45 +08:00
Jian Qiu
64801c02c1 fix: classic nic dhcp default gateway revisit (#25666)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-09-10 21:06:24 +08:00
Jian Qiu
8fdbce23d6 fix: keystone-role-assignments-list-scope (#25658)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-09-10 17:25:11 +08:00
Jian Qiu
82e3a751b2 fix(cloudid): omit clouduser secret from list and get responses (#25661)
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:22 +08:00
Jian Qiu
fd4f251d7a fix: keystone idp join project roles check (#25655)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-09-10 17:06:30 +08:00
Jian Qiu
d6dcae5da9 fix(llm): validate mcp agent server url and session endpoint (#25650)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 15:29:41 +08:00
Jian Qiu
f18dd74131 fix(llm): authenticate llm router agent route requests (#25648)
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:44:38 +08:00
Jian Qiu
730fa194a5 fix(llm): require get permission when resolving llm_id (#25646)
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 14:15:18 +08:00
Jian Qiu
4af0712a1b fix(identity): validate rolepolicy create and bind-role requests (#25643)
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:04 +08:00
屈轩
0b04770576 fix(region): convert kvm prefer storage (#25640) 2026-09-10 12:21:58 +08:00
Jian Qiu
94cff9d81e fix(identity): check assume login with system scope and target roles (#25636)
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:23 +08:00
Jian Qiu
c47b7b3e06 fix(image): reject images that declare a backing file (#25634)
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:54:50 +08:00
Jian Qiu
83fd5378f5 fix: allow host networks no gateway (#25624)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-09-10 01:32:59 +08:00
Jian Qiu
6c441f09d9 fix: classic net distribute default route for default nic (#25616)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-09-09 22:28:38 +08:00
Zexi Li
8560cd8450 fix(region): include disabled hosts in isolated device usage stats (#25620)
Keep GPU/device usages consistent with hosts inventory; scheduling still uses enabled hosts only.
2026-09-09 22:27:46 +08:00
Jian Qiu
4aa916cc23 fix(container): validate host bind paths and create host-path files with argv (#25604)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-09 20:29:23 +08:00
wanyaoqi
c3da18df12 fix(region): set force stop default timeout 30s (#25613) 2026-09-09 20:28:14 +08:00
Zexi Li
884de1bc51 fix(llm): skip stale container status during pod transitions (#25610)
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:51:57 +08:00
Zexi Li
cb876f036a fix(host): use assigned nvidia GPU memory for pod metrics (#25607)
Derive mem total from isolated-device quotas when available, and harden
losetup ListDevices against empty --json output.
2026-09-09 12:01:31 +08:00
Jian Qiu
4979e0f7b9 fix(guestfs): keep guest file deploy inside the mounted filesystem (#25601)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-08 23:47:10 +08:00
Jian Qiu
41d79c09d6 fix(identity): check SAML assertion issuer, audience, and optional signature (#25598)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-08 20:04:47 +08:00
屈轩
3597116f15 fix(region): support renew kvm vm (#25595) 2026-09-08 15:52:17 +08:00
Jian Qiu
c1e73206c8 fix(cloudcommon): fall back list query scope to the resource default view (#25589)
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:52:35 +08:00
wanyaoqi
a65fb1b852 fix(host): start new goroutine to stop guest (#25585) 2026-09-08 14:09:14 +08:00
Zexi Li
038e530ebc feat(llm): support force restart for LLM and deployments (#25582)
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:13:46 +08:00
屈轩
27d6c94d7d fix(mcp-server): upgrade mcp lib (#25579) 2026-09-07 14:34:31 +08:00
Zexi Li
4ea6581102 feat(llm): allow disabling pod/container cgroup CPU and memory limits (#25576)
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 13:04:13 +08:00
Jian Qiu
3e77511214 fix(apigateway): authenticate csrf resource requests with the caller session (#25568)
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-07 12:13:32 +08:00
屈轩
4bf0b18ad0 fix(region): vendor update (#25572) 2026-09-07 10:28:48 +08:00
Jian Qiu
1dc0e3b5ec fix: module not found return 404 (#25560)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-09-04 19:55:06 +08:00
Jian Qiu
df217c1be2 fix: verify test revisit (#25564)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-09-04 19:40:01 +08:00
屈轩
adf05b2988 fix(region): esxi v2v prefer storage (#25556) 2026-09-04 17:33:39 +08:00
Jian Qiu
3c35e76604 fix(webconsole): authenticate sftp endpoints and check session owner (#25551)
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:45:50 +08:00
Jian Qiu
790d1437a8 fix(webconsole): validate ssh target ip against accessible resources (#25548)
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:42 +08:00
Jian Qiu
5d5c052a9b fix(s3gateway): enforce signature freshness and single key decoding (#25536)
- 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:21 +08:00
Jian Qiu
3047bbdcda fix(webconsole): fetch kubeconfig with user session for k8s shell (#25539)
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:17 +08:00
Jian Qiu
2321b65ee1 fix(webconsole): generate session key with crypto/rand (#25542)
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:22 +08:00
Jian Qiu
70391d0158 fix(webconsole): isolate RDP console sessions with unique ids (#25545)
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:43 +08:00
wanyaoqi
af794715fd fix(region): use host type hypervisor rather than kvm (#25533) 2026-09-03 23:54:21 +08:00
Jian Qiu
4f1706d285 fix(appsrv): do not honor CORS credentials for wildcard origins (#25517)
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:52:58 +08:00
Jian Qiu
d8facf9ffd fix: convert sql.ErrNoRows to 404 not found (#25524)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-09-03 23:50:55 +08:00
Jian Qiu
8cab0232c4 fix(notify): harden verification code generation and verification (#25528)
- 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:48:40 +08:00
Jian Qiu
c053206af9 fix(hostimage): harden nbd export against command injection (#25531)
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:47:31 +08:00
Zexi Li
a79c399c2f feat(llm): support cancel and resume for instant model import (#25520)
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:35 +08:00
Jian Qiu
add8d8381f fix: mask tokens and passwords in logs (#25514)
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:27:34 +08:00
Jian Qiu
2b0d3d4362 fix(mcp-server): do not expose server-monitor as an MCP tool (#25512)
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:21:31 +08:00
屈轩
413f014f9c fix(region): vmware vm nic sync (#25509) 2026-09-03 18:27:32 +08:00
Jian Qiu
32477e1620 fix(hostman): harden deployer command execution against shell injection (#25499)
- 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 10:55:43 +08:00
Jian Qiu
4c3c641c97 fix(webconsole): harden climc shell command execution against injection (#25497)
- 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:52:10 +08:00
Jian Qiu
919d2b9d56 fix: apigateway returns cors_hosts to browser (#25492)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-09-03 00:50:01 +08:00
Jian Qiu
4e798c8b95 fix: update rpm build scripts for openeuler (#25473)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-09-02 17:50:20 +08:00
Zexi Li
071e4fcb2d Automated cherry pick of #25479: Feat/aiproxy model context window (#25480)
* 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:42 +08:00
wanyaoqi
4126bd8494 fix(region): disable startrun snapshotsCleanup (#25448) 2026-09-02 15:59:16 +08:00
Zexi Li
90364a81df fix(cloudcommon): fix err shadowing in GetPropertyDistinctField (#25471) 2026-09-02 15:58:11 +08:00
屈轩
3bcd053ad5 fix(region): optimized cachedimage list (#25467) 2026-09-02 11:40:32 +08:00
屈轩
5ea244bc5c fix(region): support filter cloudprovider by regions (#25462) 2026-09-01 16:05:55 +08:00
屈轩
b3905f139e fix(region): vendor update (#25459) 2026-09-01 13:41:41 +08:00
屈轩
8b2994a380 fix(apigateway): update mcp api addr (#25455) 2026-09-01 13:41:14 +08:00
屈轩
637c5b15a2 fix(region): optimized cachedimage list (#25452) 2026-09-01 09:18:12 +08:00
Zexi Li
69f9ff2a61 feat(llm): add llm_sku clone API and climc support (#25444) 2026-08-27 19:01:15 +08:00
wanyaoqi
8abb4057f1 fix(region,host): optimize snapshot delete (#25441)
use rebase/commit merge backing chain instead of convert.
2026-08-27 16:22:54 +08:00
wanyaoqi
8f13c93e28 fix(region): batch detach isolated devices (#25434) 2026-08-27 13:48:53 +08:00
wanyaoqi
a61a824884 fix(region): set default stop time 300s (#25431) 2026-08-26 15:15:33 +08:00
Jian Qiu
cc2cd72a2f fix: allow empty host networks (#25427)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-08-26 14:39:06 +08:00
屈轩
fa594fe753 fix(region): not real delete glance cachedimage (#25425) 2026-08-25 14:59:03 +08:00
wanyaoqi
24a245fd4f fix(host-deployer): no noeed clean failed mountpoints (#25421) 2026-08-25 11:35:02 +08:00
Jian Qiu
dbb6c4a17b fix: allow create-disk without disk args (#25414)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-08-24 15:48:00 +08:00
屈轩
139df655b7 fix(region): v2v migrate uefi check (#25418) 2026-08-24 15:40:51 +08:00
屈轩
04c6ed26bf fix(glance): avoid receive notify when glance restart (#25411) 2026-08-24 15:05:14 +08:00
wanyaoqi
8bff91b52d fix(host-health,region): host health detect network available add check peers and default gw (#25384) 2026-08-24 14:34:20 +08:00
屈轩
2898cdb20a fix(region): skip hostlocal wire when detect vmware net (#25406) 2026-08-24 14:19:39 +08:00
屈轩
c8ddc8665f fix(region): show more error info for vmware net detect (#25402) 2026-08-24 10:21:33 +08:00
Zexi Li
9f318bbff6 feat(llm): merge SKU envs into container and validate prefer_hosts updates (#25388)
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:42 +08:00
Jian Qiu
8081f677c7 fix: unhandled errors (#25379)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-08-20 17:30:49 +08:00
Zexi Li
a2d0a0a799 fix(host): skip unmanage interface when bridge slave has no address (#25381)
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:27:10 +08:00
屈轩
d109f5bf35 fix(region): skip sync cloudpods kvm secgroup (#25378) 2026-08-20 10:45:13 +08:00
wanyaoqi
8aed63bd0d Automated cherry pick of #25365: fix(region,host): guest stop add timeout options,and check is_force (#25368)
* 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:27 +08:00
屈轩
c241fc1210 fix(region): support cloudpods ipset (#25374) 2026-08-19 18:56:38 +08:00
Zexi Li
388bba8e85 fix(scheduler): report HAMI hostFree before min-memory filter (#25370)
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:13 +08:00
Jian Qiu
945a042676 fix: storage set metadata in post_create (#25363)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-08-19 16:28:31 +08:00
Jian Qiu
0a06731b8d fix: deploy qga path not found error (#25350)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-08-19 13:24:02 +08:00
Zexi Li
425231aa64 feat(llm): check sku schedule info (#25361) 2026-08-19 12:18:07 +08:00
Zexi Li
89c3068a38 fix(aiproxy): remove 30-day limit on custom usage range (#25355)
Allow querying usage statistics over custom date ranges longer than 30 days.
2026-08-17 16:59:56 +08:00
wanyaoqi
f19c914dce Automated cherry pick of #25347: fix(host): add options enabel vendor/device pt usb dev (#25348)
* fix(host): add options enabel vendor/device pt usb dev

* fix(host): add audio device for spice driver
2026-08-16 11:24:10 +08:00
Jian Qiu
73265ea559 fix: disk backup filter by server_id (#25344)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-08-15 09:37:48 +08:00
Jian Qiu
636b81973c feature: support idp driver attribtue_names (#25333)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-08-15 00:15:56 +08:00
wanyaoqi
d7e4a43b9b Automated cherry pick of #25313: Fix/device add params2 (#25314)
* fix(host): device add params use interface

* fix(host): ide device addr
2026-08-15 00:15:40 +08:00
屈轩
ce2c4a588f fix(glance): detect windows iso (#25342) 2026-08-14 19:01:53 +08:00
Zexi Li
f6edc92c62 fix(monitor): nodata 告警补充 ResIdKey 与 AlertDetails (#25338)
为 CommonAlertMetricDetails 填充资源 ID tag,并在无数据评估匹配中序列化 AlertDetails,便于下游定位资源。
2026-08-14 16:08:57 +08:00
屈轩
4096e77d48 fix(glance): iso image detect (#25331) 2026-08-14 14:55:26 +08:00
屈轩
82b468de2e fix: update telegraf version (#25324) 2026-08-14 14:53:25 +08:00
Zexi Li
5b6170421e feat(aiproxy): encrypt ai_key and virtual_key secrets at rest (#25326)
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:22 +08:00
Zexi Li
72eb994f68 feat(aiproxy): migrate catalog resources to virtual resource base (#25317)
Give ai providers/models/keys/routing-models project scope with tenant backfill, and pass project/domain on LLM sync upserts.
2026-08-14 10:43:15 +08:00
屈轩
b12fe78267 fix(cloudmon): cloudpods metric pull delay time (#25320) 2026-08-14 10:38:04 +08:00
屈轩
be6ae61ea4 fix: mcp streamable (#25312) 2026-08-13 16:37:34 +08:00
wanyaoqi
56a5dbcaaf fix(region): server-create add src ip/mac check (#25303) 2026-08-13 10:10:31 +08:00
Zexi Li
9db72a1b5c feat(llm): sync isolated devices by sharing_mode on restart (#25306)
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:07 +08:00
Zexi Li
1baffa21e6 feat(k8s): add cluster history-data-clean climc command (#25301) 2026-08-11 13:55:28 +08:00
Jian Qiu
dc12c191fd fix: dhcp distribute static routes on condition (#25294)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-08-10 10:31:15 +08:00
Zexi Li
b19a23c701 Automated cherry pick of #25222: fix(baremetal): add IPMI LAN channel discovery with fallback (#25293)
* 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: Bo Xu <i@186526.xyz>
2026-08-07 18:26:02 +08:00
Zexi Li
e8f046de4f fix(baremetal): tolerate ipmitool exit 1 when lan output is usable (#25290)
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:30 +08:00
Zexi Li
9d0b4bb975 fix(lbagent): generate valid UDP health check config (#25288)
Signed-off-by: DadaVinqi <DadaVinqi@users.noreply.github.com>
Co-authored-by: DadaVinqi <DadaVinqi@users.noreply.github.com>
2026-08-07 14:31:20 +08:00
屈轩
50d78a7985 fix(region): change config stop options check (#25286) 2026-08-06 17:32:35 +08:00
wanyaoqi
3d173686fc fix(host): e1000 nic add hotplug support (#25282) 2026-08-06 10:48:36 +08:00
Zexi Li
5ea8def943 fix(llm): detach stale GPUs when effective devices are empty on restart (#25279)
Avoid keeping bound isolated devices after SKU/LLM devices are cleared;
desktop container setup now follows effective devices only.
2026-08-06 10:02:09 +08:00
Zexi Li
bd33225ed0 fix(aiproxy): keep weight=1 keys selectable after health penalty (#25275)
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:24:58 +08:00
wanyaoqi
874f82dfac fix(host): slvm create from snapshot (#25266) 2026-08-04 10:23:14 +08:00
Zexi Li
9e89074f86 feat(host): support Hygon DCU HAMI vdev core allocation (#25273) 2026-08-04 10:20:41 +08:00
wanyaoqi
bd3a1d0de9 feat(glance): support nfs as backend storage (#25242) 2026-08-03 16:01:01 +08:00
Jian Qiu
e6621aacf0 fix: region backward compatible fields for isolated_devices (#25262)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-08-03 15:45:47 +08:00
Zexi Li
97fc254cf5 fix(llm): derive aiproxy upstream model key from local_path sku (#25271) 2026-08-03 15:44:45 +08:00
Zexi Li
3d3ae1ef0c feat(llm,host): support Hygon DCU runtime for vLLM containers (#25259)
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:51:58 +08:00
wanyaoqi
77aa8c9471 fix(region,host,monitor): hami misc fix (#25256)
- npusmi monitor support
2026-07-31 10:10:35 +08:00
Zexi Li
8d490d5a3a fix(seclib2): support Ed25519 encryption (#25253)
Handle Ed25519 public and private keys in the AES-based encryption path.

Add round-trip coverage for OpenSSH and PKCS#8 private keys.

Co-authored-by: hechang <117586514+Haibersut@users.noreply.github.com>
2026-07-30 10:35:36 +08:00
Jian Qiu
2911f92f9b fix: handle host listen interface and master nic (#25248)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-07-29 23:46:26 +08:00
Zexi Li
c1980ee7fe feat(host): support Hygon DCU isolated device and HAMI (#25246)
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:41 +08:00
Zexi Li
203f5bb396 fix(llm): require memory_mb for local_path HAMi devices (#25244)
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:39 +08:00
wanyaoqi
4a729a7639 Automated cherry pick of #25206: fix(region,host): host register with correct hostname (#25232)
* fix(region,host): host register with correct hostname

* fix(region): guest migrate reuse create params schedtag
2026-07-28 10:59:34 +08:00
wanyaoqi
712ce702ce feat(host): support ascend npu hami (#25236) 2026-07-28 10:55:50 +08:00
Zexi Li
80ea7e60e1 feat(baremetal): support IPMI RMCP+ cipher suite probe and persist (#25238)
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:06 +08:00
屈轩
daf21aa6a3 fix(climc): climc options update (#25228) 2026-07-27 19:41:40 +08:00
wanyaoqi
6bc05ca5c1 fix(host): qmp device add convert string to boolean (#25231) 2026-07-27 19:08:27 +08:00
Zexi Li
ea0e1ca42f fix(aiproxy): avoid permanent ai_key blacklist and clarify skip reasons (#25224)
Enter cooldown when health score hits zero so keys can recover, and include concrete skip reasons in resolve errors.
2026-07-27 12:15:55 +08:00
Jian Qiu
94862f5232 feature: ip set support (#25219)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-07-24 16:34:50 +08:00
Jian Qiu
887bb943b8 fix: vpc distributes static routes (#25212)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-07-23 19:12:22 +08:00
Zexi Li
205dbe2f64 feat(llm): support hami (#25214) 2026-07-23 17:08:26 +08:00
Jian Qiu
554cdd01be fix: baremetal use legacy http client (#25209)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-07-23 16:33:36 +08:00
屈轩
da03a421a5 fix(region): vendor update (#25205) 2026-07-22 11:19:14 +08:00
Jian Qiu
06517e5aa6 fix: allow empty ip on link-local nic (#25201)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-07-22 11:06:30 +08:00
屈轩
6d49bee5e6 fix(region): vendor update (#25198) 2026-07-21 23:38:10 +08:00
屈轩
033408e7d0 fix(mcp-server): optimized mcp desc (#25195) 2026-07-21 16:19:30 +08:00
屈轩
fe1846f690 fix(mcp-server): support forwarding mcp-server request (#25192) 2026-07-21 13:27:46 +08:00
屈轩
7aa20811f5 fix(mcp-server): optimized mcp server options (#25189) 2026-07-20 20:58:37 +08:00
屈轩
93971e83fb fix(mcp-server): mcp use climc struct (#25185) 2026-07-20 17:17:27 +08:00
wanyaoqi
1950824dfa feat(region,host,scheduler): isolated device refactor and hami support (#25181) 2026-07-20 13:20:49 +08:00
wanyaoqi
7fec30216b fix(host-deployer): bond netplan add vlan subinterface config (#25179) 2026-07-20 12:19:46 +08:00
wanyaoqi
23e1910817 fix(region): baremetal boot mode decided by selected host on image support both uefi&bios (#25167) 2026-07-20 12:07:39 +08:00
wanyaoqi
a8f3474fb2 fix(host-deployer): windows disk extend separate partition and filesystem (#25168) 2026-07-20 12:06:33 +08:00
wanyaoqi
bee68803b2 fix(host): add nest virtualization options (#25169) 2026-07-20 12:03:50 +08:00
wanyaoqi
f58fcc2999 fix(region): disk change driver support change aio_mode and cache_mode (#25170) 2026-07-20 11:57:55 +08:00
屈轩
fcbf833fde fix(mcp-server): query scope params (#25173) 2026-07-17 00:26:57 +08:00
屈轩
af2e410c24 fix(cloudid): batch detach policy (#25165) 2026-07-16 19:27:36 +08:00
屈轩
f6e32e7707 fix(region): support cas hypervisor (#25162) 2026-07-16 19:08:01 +08:00
Zexi Li
277546c95c fix(aiproxy): emit done events before response.completed in stream converter (#25159)
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:04:02 +08:00
Zexi Li
98d4515548 feat(aiproxy): auto-provision placeholder ai_key for upstream resolve (#25155) 2026-07-15 19:24:43 +08:00
cwz_eikoh
e6c6f66760 feat(llm): add llm-router-agent (#25149) 2026-07-15 15:32:45 +08:00
cwz_eikoh
f3bc838d41 feat(llm): support llm-bench in llm (#25147) 2026-07-15 15:03:15 +08:00
Zexi Li
5505986263 feat(aiproxy): support streaming responses for visual messages (#25145)
* 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:37 +08:00
Zexi Li
83f4518355 feat(aiproxy): move visual provider to model columns and support streaming responses (#25143)
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:44 +08:00
Zexi Li
b4e5fbb0b7 refactor(aiproxy): rename chat log config to API log with S3 fields (#25132)
* 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:43 +08:00
wanyaoqi
6e889e9cfa fix(region): reset guest quorum child index on guest shutdown (#25134) 2026-07-14 00:08:59 +08:00
屈轩
c75cfb4ca1 fix(region): split sync and probe worker (#25101) 2026-07-13 13:59:34 +08:00
Jian Qiu
2e28bd7ca7 fix: allow security group cidr have multiple prefixes (#25123)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-07-13 13:58:51 +08:00
Zexi Li
e73cb9dc43 feat(aiproxy): add Z.AI / Zhipu provider with dual OpenAI and Anthropic API modes (#25130)
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:09 +08:00
Zexi Li
0d58ed4ccb feat(aiproxy): add OpenAI Responses API with provider adapters and Codex support (#25121)
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:42 +08:00
Jian Qiu
5bc80cfb42 fix: allow deleting idp without checking project count (#25109)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-07-10 08:35:32 +08:00
屈轩
214a606991 fix(region): gcp network tags (#25120) 2026-07-09 17:11:25 +08:00
屈轩
60bc65da31 fix(yunionconf): batch import tags (#25117) 2026-07-09 16:43:06 +08:00
Jian Qiu
ff9268966c fix: host order by sql redundant group by (#25113)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-07-09 14:22:38 +08:00
cwz_eikoh
e0b568d0ed feat(aiproxy): support log record in aiproxy through minio (#25115) 2026-07-09 13:01:35 +08:00
Jian Qiu
95f4bcf1f0 fix: lb listener rule specific certificates (#25105)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-07-08 12:03:36 +08:00
Zexi Li
f538dcf2e6 feat(aiproxy): add Anthropic Messages API and migrate functional tests to Go (#25097)
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:03 +08:00
屈轩
8c87c0e57d fix(region): pve host driver compatibility (#25099) 2026-07-03 15:37:58 +08:00
Zexi Li
c91b5bc70c feat(llm): add ModelScope instant model import and refactor model download (#25091)
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:12:59 +08:00
Zexi Li
f1f3c1df2a feat(llm): support local_path scheduling with prefer_hosts and deployment restart (#25085) 2026-07-01 13:11:02 +08:00
wanyaoqi
f6e5f71fba fix(host-deployer): mount procfs before deploy guestfs (#25086) 2026-07-01 00:53:31 +08:00
Zexi Li
00bcdae23f feat(scheduler): append GPU reserved resource hints on predicate failure (#25083) 2026-06-30 15:40:34 +08:00
Zexi Li
3413845e96 feat(llm): backfill orphan LLM instances into deployments on init (#25079)
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:26:16 +08:00
wanyaoqi
b47a802515 fix(host-deployer): do base64 windows password (#25070) 2026-06-27 06:48:35 +08:00
屈轩
90ea5b77b0 fix(region): quota check (#25076) 2026-06-26 13:05:30 +08:00
wanyaoqi
372fae41c6 fix(region,host): kvm guest change disk driver reset uefi vars (#25068) 2026-06-26 10:20:25 +08:00
wanyaoqi
3b796dc0e8 fix(host): qemu set multifd before start incoming migration (#25064)
use drive mirror do block migration
2026-06-26 10:18:45 +08:00
Zexi Li
d3b4ab273a Automated cherry pick of #25074: feat(llm): tool call defaults & auto gpu ultilization (#25075)
* feat(llm): upgrade auto-gpu-ultilization

* feat(llm): add vllm tool call defaults

* feat(llm): add sglang tool call defaults

---------

Co-authored-by: cwz <cwz_eikoh@163.com>
2026-06-26 10:15:55 +08:00
Zexi Li
686b0f3872 feat(llm): async instant model delete and improve import status tracking (#25072)
fix(aiproxy): set OpenAI handler process timeouts and skip upstream error
response when request context is already cancelled.
2026-06-25 19:52:28 +08:00
Zexi Li
b52aa5de85 feat(llm): validate GPU devices on deployment create and improve error messages (#25062) 2026-06-24 14:26:18 +08:00
wanyaoqi
043eac88ba fix(region): snapshot validate add check guest is quorum master guest (#25052) 2026-06-24 10:30:14 +08:00
cwz_eikoh
c3db76457d Automated cherry pick of #25016: Feature/http get+llm probe (#25045)
* hostman: probe http get in pod netns

* llm: watch pod status for service readiness
2026-06-23 19:40:46 +08:00
屈轩
854b93e3a4 fix(region): filter sku by zone ids (#25061) 2026-06-23 15:14:51 +08:00
Zexi Li
5a4bbefe72 fix(aiproxy): defer stream context cancel until chunks are consumed (#25058) 2026-06-23 14:09:37 +08:00
Zexi Li
4237ce52ea feat(llm): sync llm deployment with aiproxy catalog and routing (#25013)
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 19:35:50 +08:00
cwz_eikoh
d2bbda642b Automated cherry pick of #25044: Feature/llm route for aiproxy (#25046)
* feat(aiproxy): support routing model in aiproxy

* feat(llm): add llm-router
2026-06-22 10:09:58 +08:00
Jian Qiu
c6225bc046 fix: credential scope revisit (#25050)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-06-21 09:25:58 +08:00
wanyaoqi
c559974e44 fix(host): recycle servers dir on guest delete (#25022) 2026-06-21 08:34:26 +08:00
Jian Qiu
5392cfc8a9 fix: some host_type should consider container (#25048)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-06-20 09:47:47 +08:00
屈轩
9f0d1af484 fix(region): remove debug log (#25042) 2026-06-17 14:50:25 +08:00
屈轩
0956e660a4 fix(region): aws dedicated host sync (#25040) 2026-06-16 20:14:27 +08:00
屈轩
4bce487605 fix(compute): polish httperrors error messages in pkg/compute (#25036)
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:22 +08:00
屈轩
4e07d3b30c fix(region): vendor update (#25034) 2026-06-15 17:59:22 +08:00
Zexi Li
81ebea9451 feat(llm): add community images catalog API (#25030)
Expose llmimages.yaml as list/show/refresh endpoints with configurable
source URL, periodic cache refresh, and mcclient module support.
2026-06-15 17:26:25 +08:00
屈轩
acac258359 fix(region): filter sku by zone ids (#25029) 2026-06-15 15:50:46 +08:00
屈轩
c0f9765f9c fix(region): vendor update (#25027) 2026-06-15 14:58:14 +08:00
屈轩
fadd9b92f2 fix(region): struct tag fix (#25024) 2026-06-15 13:57:10 +08:00
wanyaoqi
a3a14bbed7 fix(region): guest detach isolated devices add is_force options (#25020) 2026-06-15 09:54:40 +08:00
屈轩
fc795b15c0 fix(region): disk througput sync (#25018) 2026-06-13 11:56:18 +08:00
wanyaoqi
8527232b7c fix(host): guest python launcher error (#25012) 2026-06-12 14:02:36 +08:00
屈轩
ded845a3dc fix(region): optimized sku query (#25009) 2026-06-11 14:31:29 +08:00
wanyaoqi
3172a1e86c fix(region): host model add api stats (#24955) 2026-06-09 23:01:40 +08:00
屈轩
7cff45fb5b feat(aiproxy): add aiproxy (#25003) 2026-06-09 18:54:54 +08:00
屈轩
5a2bfd9b5a fix(region): sku price (#25002) 2026-06-09 15:58:18 +08:00
Zexi Li
9f1e77deb6 feat(monitor): add tag name/id mapping in metric measurement API (#24999)
Return structured MetricMeasurementOutput with TagNameIdMap and
TagNameIdValueMap so callers can resolve resource names to IDs.
2026-06-09 15:14:35 +08:00
Zexi Li
72d7bd23b4 Automated cherry pick of #24985: Feat/deployment hostpath (#24993)
* feat(llm): hostpath support in deployment

* fix(llm): status error in deployment & sku deleted by deployment accidentally

---------

Co-authored-by: cwz <cwz_eikoh@163.com>
2026-06-08 11:23:48 +08:00
Zexi Li
51a85f66ba feat(host): support host_path detected in scheduler (#24992)
Co-authored-by: cwz <cwz_eikoh@163.com>
2026-06-08 11:01:14 +08:00
屈轩
035e31d9bf fix(region): avoid panic (#24989) 2026-06-08 10:58:27 +08:00
Zexi Li
3d086abf3e fix(host): rewrite vm_name in telegraf influx proxy after rename (#24983)
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:18 +08:00
Jian Qiu
d9419958d7 fix: support ansible galaxy mirror (#24986)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-06-08 08:56:48 +08:00
屈轩
cfb9a97c78 fix(region): support rockbasecloud (#24984) 2026-06-05 19:28:48 +08:00
屈轩
957e785bd3 fix(monitor): skip disable account alert (#24980) 2026-06-05 16:14:28 +08:00
Jian Qiu
f082dc9b2d fix: lbagent service code typo 20260604 (#24976)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-06-05 01:13:36 +08:00
屈轩
f2d7af548e fix(region): prefer zones (#24972) 2026-06-04 18:52:01 +08:00
Zexi Li
e42070a852 fix(llm): 更新 model catalog 默认 URL 与 webtop 镜像同步 (#24973)
将 ModelCatalogURL 默认路径改为 model-catalog.yaml;
sync_llm_images 改为同步 fedora-xfce webtop 并注释其它候选镜像。
2026-06-04 18:51:12 +08:00
Zexi Li
a1ba61b875 fix(llm): container desktop (#24970) 2026-06-04 11:51:41 +08:00
Zexi Li
80dcd3ae42 fix(monitor): alert_state of resource metrics api (#24964) 2026-06-03 17:15:31 +08:00
屈轩
802062d0f7 fix(region): extend external_id to 512 (#24963) 2026-06-03 15:31:56 +08:00
Zexi Li
e3fb9b2295 feat(llm): container desktop (#24961) 2026-06-03 13:24:53 +08:00
屈轩
fa44e4502b fix(region): add cpu model nic bandwidth for server sku (#24954) 2026-06-03 10:59:55 +08:00
Jian Qiu
9908af95ea fix: compatibility issue with vms of empty hypervisor (#24957)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-06-03 09:57:39 +08:00
wanyaoqi
0759f3b2be fix(mps): parse pci addr convert to lower case addr (#24944) 2026-06-02 20:03:16 +08:00
wanyaoqi
b26e1568f7 fix(host): check cluster is valid before do qemuimg convert (#24946) 2026-06-02 20:01:40 +08:00
屈轩
0481bf291a fix(region): filter zone region by read only (#24951) 2026-06-02 11:15:27 +08:00
屈轩
65e5be3420 fix(region): support skip server sync by tags (#24949) 2026-06-02 11:07:36 +08:00
屈轩
adc2a468f9 fix(region): avoid create huawei windows server fail (#24940) 2026-06-01 15:52:48 +08:00
屈轩
da07addf18 fix(region): init cloudpods host type (#24934) 2026-05-31 14:17:35 +08:00
屈轩
07ca3b1520 fix(region): init external project (#24936) 2026-05-31 12:48:24 +08:00
cwz_eikoh
28b9e2e155 Automated cherry pick of #24924: Feat/auto gpu ultilization (#24929)
* fix(llm): support hf import llm_sku

* feat(llm): auto-gpu-memory-utilization
2026-05-29 17:45:48 +08:00
屈轩
c3fe7a6290 fix(host-deployer): lvm lock (#24927) 2026-05-29 15:01:20 +08:00
wanyaoqi
444cf1546c fix(host): guest sync override cpu_numa_pin before update (#24912) 2026-05-28 19:58:26 +08:00
屈轩
17445a6822 fix(region): add notices sync interval (#24923) 2026-05-28 19:48:09 +08:00
屈轩
07f434a96b fix(region): remove account id (#24920) 2026-05-28 17:40:14 +08:00
Zexi Li
fd50a6902c fix(ansibleserver): allow CreatorMark to be nullable in AnsiblePlaybookV2 (#24917) 2026-05-28 16:38:07 +08:00
Zexi Li
d87805622e Automated cherry pick of #24885: Feature/download progress (#24909)
* feat(llm): support download progress when model import

* fix(llm): unsupported catalog source \"ollama\" when model_set import llm_sku

---------

Co-authored-by: cwz <cwz_eikoh@163.com>
2026-05-27 13:20:54 +08:00
Zexi Li
8f46ef5098 feat(monitor): add ResourceMetricsDefaultInterval option (#24906) 2026-05-27 11:50:23 +08:00
屈轩
916463712a fix: upgrade go 1.26 (#24905) 2026-05-27 11:22:13 +08:00
Jian Qiu
f0647f6ee0 fix: throttle image cache progress callback to avoid download bottleneck (#24900)
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:00 +08:00
屈轩
208acd9463 fix(region): skip useless addition network wire create (#24894) 2026-05-25 19:45:58 +08:00
Zexi Li
f314e7fa33 fix(host): aggregate same-type container devices for env config (#24891)
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:29:53 +08:00
Zexi Li
4c0dd07a91 feat(llm,scheduler): vram calculation (#24884) 2026-05-25 16:27:20 +08:00
Jian Qiu
959e03cccf fix: disable s3 direct download default (#24887)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-05-25 10:04:06 +08:00
Zexi Li
ecdf0e824f feat(llm): auto append backend_parameters in vllm & sglang (#24883)
Co-authored-by: cwz <cwz_eikoh@163.com>
2026-05-22 17:02:18 +08:00
Zexi Li
b7c90351a1 fix(region): prefer check_code series for lb backend check_status (#24877) 2026-05-22 14:17:14 +08:00
Jian Qiu
447c0a1f55 fix: set bridge up after created (#24873)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-05-21 20:30:26 +08:00
wanyaoqi
2eb6254b17 fix(scheduler): set options ContainerNumaAllocate default true (#24870) 2026-05-21 19:32:04 +08:00
Zexi Li
d41aa739ff feat(region,host): upload nvidia gpu memory size (#24866) 2026-05-21 16:20:22 +08:00
Zexi Li
7ed23c433d feat(hermes): connect vllm/sglang/ollama (#24863)
Co-authored-by: cwz <cwz_eikoh@163.com>
2026-05-21 11:41:22 +08:00
Zexi Li
c019216508 feat(llm): create llm_sku from llm_model_set (#24865)
Co-authored-by: cwz <cwz_eikoh@163.com>
2026-05-21 11:40:37 +08:00
Zexi Li
383764dbb6 feat(llm): Implement resumable downloads for models from Hugging Face (#24859)
Co-authored-by: cwz <cwz_eikoh@163.com>
2026-05-21 10:48:39 +08:00
wanyaoqi
955fc5ba54 fix(host): remove cgroup root path check quotation marks (#24852) 2026-05-21 10:33:17 +08:00
Zexi Li
b440adf404 fix(region): ensure lb backend check_status returned when check_code missing (#24854) 2026-05-21 10:18:36 +08:00
Zexi Li
9775565a53 feat(llm): llm deployemnt (#24847) 2026-05-20 11:06:13 +08:00
Jian Qiu
5cec665b48 Revert "fix: revert host masquerade setting (#24826)" (#24845)
This reverts commit a642560fce.
2026-05-19 20:57:43 +08:00
Zexi Li
e6be8d9146 fix(region): query metrics from monitor service (#24837) 2026-05-19 18:00:56 +08:00
Zexi Li
d38b835f8e fix(llm): persistent /config dir of hermes agent (#24834) 2026-05-18 14:57:26 +08:00
Zexi Li
3209292fc9 feat(climc): add generic feature-config command (#24829)
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:36 +08:00
Jian Qiu
a642560fce fix: revert host masquerade setting (#24826)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-05-15 01:57:02 +08:00
Zexi Li
41a5d7aa3f feat(llm): support sglang (#24822)
Co-authored-by: cwz <cwz_eikoh@163.com>
2026-05-14 17:07:37 +08:00
Jian Qiu
91fd01617f fix: lbagent keepalived service run may exit (#24805)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-05-13 12:08:08 +08:00
屈轩
144b0f11c2 fix(region): support stop for change vm config (#24816) 2026-05-12 20:08:11 +08:00
屈轩
240ca79b9a fix(region): update gp3 disk size (#24810) 2026-05-12 17:27:23 +08:00
Zexi Li
520bab0dca Automated cherry pick of #24801: Feature(vllm): use entrypint instead of StartLLM (#24803)
* feat(llm): use entrypoint instead of StartLLM

* feat(llm): adapt front-end in comfyui instant-model

---------

Co-authored-by: cwz <cwz_eikoh@163.com>
2026-05-12 10:46:03 +08:00
Zexi Li
48fcab103c fix(llm): honor SLLM device override when building container spec (#24798) 2026-05-11 20:06:12 +08:00
wanyaoqi
4ba4bb7d89 fix(host): remove -no-kvm args, -no-kvm argument was a synonym for setting -machine accel=tcg (#24788) 2026-05-11 20:00:44 +08:00
wanyaoqi
e1ca2530f7 fix(host): check is cpu hotplug support on guest init (#24786) 2026-05-11 19:59:35 +08:00
Zexi Li
f4503e2284 feat(llm): add SLLM mounted_models override and driver-level validation (#24795) 2026-05-11 17:41:05 +08:00
Zexi Li
310183aab2 feat(monitor): use GET for unifiedmonitors resource-metrics (#24781) 2026-05-08 16:19:22 +08:00
Zexi Li
e8cf980c79 fix(monitor): dedupe alert trigger condition in notify templates (#24778) 2026-05-07 15:52:01 +08:00
Zexi Li
dc4fd66eba Automated cherry pick of #24760: Feature/comfyui instant model (#24775)
* 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

---------

Co-authored-by: cwz <cwz_eikoh@163.com>
2026-05-07 14:42:53 +08:00
wanyaoqi
12e8b22a24 feat(host): mps add container device configuration (#24772) 2026-05-07 10:03:18 +08:00
屈轩
c0400121b8 fix(esxi-agent): pve agent (#24769) 2026-05-06 17:15:41 +08:00
屈轩
0d77887890 fix(region): avoid vm set status start fail when serivce restart (#24765) 2026-05-06 12:41:00 +08:00
wanyaoqi
3774162bd8 fix(host): cpu hotplug compatible with high qemu version (#24758) 2026-05-03 23:22:01 +08:00
wanyaoqi
e935fc5689 fix(host): auto merge backinf file generate disks index (#24753) 2026-05-03 22:39:02 +08:00
Zexi Li
4eb015e649 fix(monitor): normalize resource-metrics alert_state (#24756)
Treat attach and init as init in PerformResourceMetrics output.
2026-04-30 18:42:01 +08:00
Zexi Li
0005ea8229 fix(monitor): support influxql derivative and difference function translation (#24748) 2026-04-30 13:11:45 +08:00
Jian Qiu
225791f78c fix: init ifb kernel module (#24745)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-04-29 23:48:59 +08:00
wanyaoqi
e9dde8eae6 fix(mcclient,region): add tasks mod, service app options (#24734) 2026-04-29 23:48:06 +08:00
屈轩
5375fff061 fix(region): optimized listener rule list (#24742) 2026-04-29 14:09:29 +08:00
Zexi Li
0f30ccf520 fix(host,llm): fix pod shm mount path return and llm restart memory config (#24737)
- 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:42 +08:00
Zexi Li
a403ad5091 fix(lbagent,monitor): use victoria-metrics for telegraf and fix influxql translation (#24732) 2026-04-27 16:41:55 +08:00
Jian Qiu
b1908b24e3 fix: create redirect lb listener fail (#24725)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-04-27 10:01:19 +08:00
屈轩
acdf623027 fix(region): lb redirect rule create validate (#24729) 2026-04-27 10:00:54 +08:00
wanyaoqi
e42d517b28 chore(host-deployer): update host-deployer-base to 1.5.9 (#24722) 2026-04-26 23:02:59 +08:00
Zexi Li
9be35e4b45 feat(llm): support OpenClaw manual config mode (#24719)
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:46 +08:00
Zexi Li
67cceae9e2 Automated cherry pick of #24717: Feature/hf-search (#24718)
* llm: add instant-model huggingface query commands

* fix(vllm): use ping instead of health

---------

Co-authored-by: cwz <cwz_eikoh@163.com>
2026-04-24 10:28:34 +08:00
wanyaoqi
52bbe7c9a7 fix(host): usb device passthrough use hostport (#24708) 2026-04-23 13:52:49 +08:00
Jian Qiu
7e5f5cff5e fix: guest change ipaddr no-sync option (#24714)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-04-23 13:52:04 +08:00
Jian Qiu
bb7b50dbc0 fix: handling deleted task object (#24702)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-04-23 10:19:14 +08:00
屈轩
350412009e fix(notify): remove useless code (#24711) 2026-04-21 19:38:04 +08:00
Zexi Li
6372ef9819 refactor(llm): extract shared desktop webtop config (#24699)
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:44 +08:00
Zexi Li
5577aefb22 fix(scheduler): refactor the pending usage logic (#24705) 2026-04-21 15:03:44 +08:00
Matt Gideon
cc1524a71f fix(host): fix isolated device detection regex for PCI and USB devices (#24692) 2026-04-20 14:22:38 +08:00
Zexi Li
23e21c2c16 feat(llm): support hermes-agent (#24696) 2026-04-20 12:47:23 +08:00
Zexi Li
2ee8ae31ad feat(llm): add hostpaths for llm-sku (#24695)
Co-authored-by: cwz <cwz_eikoh@163.com>
2026-04-20 10:51:40 +08:00
屈轩
c119af4b81 fix(region): show associate info (#24688) 2026-04-17 10:10:29 +08:00
Jian Qiu
e129e0477a fix: add version etc. aux handlers to mcp-server (#24686)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-04-17 09:59:56 +08:00
屈轩
c839d38f60 fix(region): vendor update (#24684) 2026-04-16 23:11:21 +08:00
Jian Qiu
54309f95f3 feature: support asymmmetric bandwidth limit (#24679)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-04-16 15:15:43 +08:00
Jian Qiu
ee66577d94 fix: climc container related commands improvements 20260414 (#24672)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-04-15 10:05:45 +08:00
屈轩
5a09e3d5c9 fix(region): sched fail notify (#24677) 2026-04-14 20:13:31 +08:00
屈轩
b55a9a5482 fix(region): disk fail notify (#24674) 2026-04-14 16:28:28 +08:00
Zexi Li
218c973638 fix(llm): harden volume resize and update size log (#24631)
- 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:38:50 +08:00
Zexi Li
94d2e10f00 feat(climc): support setting rootfs sub_directory 2026-04-13 11:09:52 +08:00
Zexi Li
1b184d3ea7 fix(region): set rootfs default sub_directory (#24666) 2026-04-13 09:59:16 +08:00
屈轩
f8cab462c1 fix(esxi-agent): support esxi vm forder name same with vm name (#24664) 2026-04-13 09:50:48 +08:00
屈轩
255a1fe84f fix(region): support query public cloud vm modification types (#24654) 2026-04-10 16:54:24 +08:00
wanyaoqi
61b5b8b792 fix(region): optimize fetchHostGuestResource (#24633) 2026-04-10 16:53:03 +08:00
Zexi Li
6ccf058d5c fix(host): restart container on exit when AlwaysRestart is set (#24661) 2026-04-10 15:17:11 +08:00
Jian Qiu
258e47056c fix: vpcagent sync inconsistent networkaddress guestnetwork id (#24649)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-04-10 14:44:21 +08:00
屈轩
c568447a61 fix(mcp-server): update mcp docs (#24652) 2026-04-09 20:45:23 +08:00
屈轩
d2aef76bd5 fix(cloudmon): vendor update (#24643) 2026-04-09 16:33:12 +08:00
Jian Qiu
f9ac278ba3 fix: upgrade coredns to v1.10.1 at 4.0 (#24619)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-04-08 16:26:50 +08:00
Jian Qiu
05da992fba fix: undo pr 24532 (#24638)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-04-08 16:25:23 +08:00
wanyaoqi
99bef191f6 feat(host): container add rbd disk support (#24624) 2026-04-08 13:27:46 +08:00
屈轩
3f3c92fa7d fix(region): clean guest network when purge zone (#24627) 2026-04-07 20:55:45 +08:00
屈轩
c0c9ba6d78 fix(region): esxi wire sync (#24617) 2026-04-04 12:17:00 +08:00
Zexi Li
27874cdbeb feat(host): support CTyunOS rootfs (#24612) 2026-04-02 17:47:56 +08:00
屈轩
904ed8dd3a fix(region): vendor update (#24610) 2026-04-02 10:34:51 +08:00
Zexi Li
dffac28e32 feat(llm): get available models from base_url (for ollama & openai) (#24608)
Co-authored-by: cwz <cwz_eikoh@163.com>
2026-04-01 15:44:30 +08:00
Zexi Li
aa17f76589 fix(monitor): update silent_period when channel is empty (#24602)
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:00:39 +08:00
Jian Qiu
3553263bb6 fix(host): use findmnt instead of df to detect local mount point (#24599)
Co-authored-by: Haibersut <117586514+Haibersut@users.noreply.github.com>
2026-03-31 18:06:40 +08:00
Zexi Li
4f693c4641 feat(monitor): add batch resource metrics query API (#24596)
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:44:35 +08:00
Jian Qiu
11be1de968 fix: support build specific multi-arch buildx (#24588)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-03-31 17:43:09 +08:00
Jian Qiu
e1d108a7f0 fix: add customer usable filters that filter noaddr networks (#24585)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-03-31 17:27:47 +08:00
Zexi Li
ee98c29d9a fix(host): use proper shell quoting in pod tar/find commands (#24592)
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:07 +08:00
Zexi Li
846ba369ac fix(host): get pod status by primary container status (#24581) 2026-03-30 16:21:18 +08:00
wanyaoqi
c61f5113d2 fix(host): add ovmf 4m code (#24575) 2026-03-30 07:54:08 +08:00
Zexi Li
e205da2232 fix(llm): 修复 llm 镜像没有根据 sku 更新的问题 (#24572) 2026-03-26 21:38:21 +08:00
屈轩
225de2334e fix(logger): add syslog init log (#24555) 2026-03-26 18:11:22 +08:00
wanyaoqi
9bb31f4b33 fix(region): validate kickstart enabled (#24558) 2026-03-26 18:09:41 +08:00
Zexi Li
9eaa72993b fix(region): order containers by created_at time (#24567) 2026-03-26 12:16:31 +08:00
Zexi Li
fb8a339cbb fix(keystone): allow blob update for image credentials (#24564)
Also fix type check to allow secret/image only.
2026-03-26 11:41:13 +08:00
屈轩
057e5ebeaa fix(region): add domain container usage (#24562) 2026-03-25 18:26:39 +08:00
Zexi Li
b1f7890324 fix(vllm): user customize args & health check in hostlocal net (#24553)
Co-authored-by: cwz <cwz_eikoh@163.com>
2026-03-25 10:36:46 +08:00
wanyaoqi
c1edcf27fe fix(host): metadata handler proxy telegraf data fix tenant_id (#24544)
* fix(host): metadata handler proxy telegraf data

* fix(host): append unknown dmesg to last entry
2026-03-25 10:34:09 +08:00
Jian Qiu
b45a5f7f9d fix: lbagent genHaproxyConfig possible nil pointer panic (#24537)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-03-25 10:32:41 +08:00
Jian Qiu
d73d3e0108 fix(hostmetrics): add checks for incomplete pod and container stats (#24549)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-03-25 10:31:07 +08:00
屈轩
84bbe1bfc1 fix(region): add container usage (#24542) 2026-03-25 10:23:27 +08:00
屈轩
b9ef8476f2 fix(host-image): update script for riscv64 host-image (#24535) 2026-03-24 11:37:36 +08:00
Zexi Li
7c26ab8db3 fix(host): probing multiple container status (#24529) 2026-03-24 10:27:06 +08:00
wanyaoqi
ab7210c6b6 fix(host): dd zero to lv wife partitions on lvremove (#24525) 2026-03-23 19:02:16 +08:00
wanyaoqi
c4a6c9ff8a fix(host-deployer): resizefs add fstype LVM2_member (#24516) 2026-03-23 00:00:17 +08:00
wanyaoqi
ec315b5516 fix(region): check instance snapshot joint is nil on snapshot purge (#24513) 2026-03-22 23:59:17 +08:00
屈轩
cb266540a1 fix(apigateway): stream download content-type (#24508) 2026-03-20 13:41:40 +08:00
Jian Qiu
64c362f20f feature: support host-local wire (#24497)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-03-20 01:36:42 +08:00
wanyaoqi
603f591ebf Cherry pick of #23094 upstream release 4.0 1770106850 (#24452)
* feat(region, climc): Add kickstart parameters and metadata

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

* feat(host): Implement automated VM installation

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

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

* feat(host): Implement Kickstart monitoring

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

* feat(region): add kickstart type metadata

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

* feat(host): Handle kickstart installing and timeout

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

* feat(host): provide Kickstart config via content

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

* refactor(host): Enhance the kickstart installation

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

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

* refactor(host): extract kickstart cleanup function

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

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

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

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

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

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

* feat(host): download kickstart config from URL

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

* feat(host): copy kickstart kernel files

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

---------

Co-authored-by: happygame <happygame1024@gmail.com>
2026-03-20 01:35:27 +08:00
wanyaoqi
9142916763 Fix/host deployer nbd driver40 (#24456)
* fix(host-deployer): nbd add concurrency control

* fix(host-deployer,glance): windows image add current version
2026-03-20 01:32:08 +08:00
Zexi Li
ef6241ac9b feat(llm): unify container access url info and login response (#24504) 2026-03-19 23:06:31 +08:00
wanyaoqi
508d4f7713 fix(host-deployer): get resize dev by serial panic (#24446) 2026-03-19 23:03:34 +08:00
cwz_eikoh
e3548b1830 Automated cherry pick of #24471: Feature(mcp): support x-api-key authentication for mcp-server (#24500)
* feat(mcp-server): support base64 ak/sk

* fix(mcp-agent): try to fix route of default-mcp-tools
2026-03-19 15:04:45 +08:00
cwz_eikoh
e3e04ab29d feat(llm): support model import for vllm (#24503) 2026-03-19 15:03:49 +08:00
wanyaoqi
8e83889c9f Automated cherry pick of #24473: fix(glance): cache images to ceph add brand filter (#24479)
* fix(glance): cache images to ceph add brand filter

* fix(region): iso image support default uefi boot mod
2026-03-19 11:45:43 +08:00
Jian Qiu
4314497e88 fix: logger add app-options-show api (#24493)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-03-19 11:43:55 +08:00
屈轩
f5beef50f5 fix(region): allow set disk auto-delete attribute (#24488) 2026-03-19 10:27:57 +08:00
Zexi Li
3e925b6d95 fix(llm): derive openclaw auth password from llm id (#24480) 2026-03-18 19:01:02 +08:00
屈轩
db451719dd fix(region): vendor update (#24485) 2026-03-18 18:52:18 +08:00
wanyaoqi
25fbf463bc fix(baremetal-agent): bm register reuse baseprepare updateBmInfo (#24474) 2026-03-18 10:10:31 +08:00
Zexi Li
bc9c5cf088 fix(monitor): align multi-metric alert conditions in notifications (#24468) 2026-03-17 15:57:19 +08:00
屈轩
5476c43cda fix: add more log info (#24461) 2026-03-17 14:38:57 +08:00
Zexi Li
354e3cd872 feat(llm): add llm_types filters and cleanup dify cli (#24457) 2026-03-16 17:01:36 +08:00
Zexi Li
8c6167bb7b feat(llm): 调整 openclaw 容器与 LLM 基础模型/sku 逻辑 (#24453) 2026-03-16 16:19:40 +08:00
Zexi Li
ace220a0ca fix(llm): mount openclaw home dir (#24449) 2026-03-13 20:38:28 +08:00
屈轩
f1df0e3ac1 fix(region): avoid delete ksyun vm error (#24441) 2026-03-13 15:23:11 +08:00
Jian Qiu
39f3853f3e fix: compat fixes for container host in vm (#24439)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-03-13 13:26:42 +08:00
cwz_eikoh
2c59756f75 Automated cherry pick of #24338: feat(llm): init vllm as llm_container (#24437)
* 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:19 +08:00
Zexi Li
6c98f46671 feat(host): rotate container logs (#24432) 2026-03-12 15:14:49 +08:00
Zexi Li
25d1965950 feat(llm): add login-info api (#24429) 2026-03-12 07:20:43 +08:00
wanyaoqi
620814527a fix(region): guestnetworksecgroup list add network info (#24392) 2026-03-11 19:31:46 +08:00
wanyaoqi
c32b6792d9 fix(host): check file exist before copy ovmf vars (#24365) 2026-03-11 19:29:25 +08:00
Zexi Li
88f9b71e53 feat(llm): restart action (#24426) 2026-03-11 19:07:39 +08:00
屈轩
90cc427ad5 fix(cloudmon): update volc api (#24423) 2026-03-11 16:54:44 +08:00
Zexi Li
81d1308ddd openclaw llm agent (#24411)
* 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:10 +08:00
屈轩
6b83d6148f fix(monitor): add vm out bandwidth metric (#24417) 2026-03-11 13:49:55 +08:00
屈轩
f2e3713e04 fix(region): vendor update (#24413) 2026-03-11 11:03:18 +08:00
屈轩
86ce69b4a1 fix(region): persistence server status change (#24409) 2026-03-10 15:06:47 +08:00
Zexi Li
804cbbfd45 Automated cherry pick of #24399: feat(llm): polymetric dify with llm (#24405)
* feat(llm): polymetric dify with llm

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

---------

Co-authored-by: cwz <cwz_eikoh@163.com>
2026-03-10 10:23:44 +08:00
Zexi Li
93820a5af4 fix(region): associate eip to pod (#24402) 2026-03-09 15:23:57 +08:00
Zexi Li
6eca607a9b fix(monitor): 仅在 From/To/Interval 为空时设置默认值 (#24395)
setDefaultValue 中 From、To、Interval 改为仅在当前值为空时
才用 inputQuery 覆盖,避免覆盖用户已指定的查询时间范围与间隔
2026-03-06 19:13:10 +08:00
Zexi Li
b7d7a1aa16 fix(host): hard code start index of va gpu 2026-03-05 11:49:02 +08:00
Zexi Li
5b4f6f1f72 feat(host): cgroupv2 implemented for pod (#24116) 2026-03-04 11:21:42 +08:00
cwz_eikoh
64d3842c93 Automated cherry pick of #24355: fix: some bugs in mcp-agent & llm (#24383)
* 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:08:22 +08:00
cwz_eikoh
6a7904788a Automated cherry pick of #24354: feat(mcp-server): add mcp-server config (#24385)
* feat(mcp-server): add mcp-server config

* fix(mcp-agent): add claude mcp-server-config
2026-03-03 16:06:15 +08:00
屈轩
30cb39af98 fix(esxi-agent): vendor update for rebuild root fail (#24380) 2026-03-03 00:17:06 +08:00
Zexi Li
acb62fc773 feat(monitor): support disable_notify_recovery for commonalert (#24375) 2026-03-02 16:12:49 +08:00
屈轩
9f4f88fc62 fix(region): check bind disk resource (#24372) 2026-03-02 12:02:53 +08:00
屈轩
bcc6800988 fix(region): snapshot size opslog (#24369) 2026-02-28 16:38:29 +08:00
屈轩
520ecda36b fix(region): avoid sync remove disk (#24362) 2026-02-27 15:06:05 +08:00
屈轩
ad4ee389e5 fix(ansibleserver): update telegraf (#24359) 2026-02-27 14:06:40 +08:00
Jian Qiu
0ff2ef0e19 fix: allow uncache deleted image (#24349)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-02-26 23:08:24 +08:00
wanyaoqi
d7b099efa0 fix(host): add guest max mem size options (#24342) 2026-02-26 20:26:41 +08:00
Zexi Li
0096082472 fix(monitor): convert SNodeAlert to SCommonAlert in FetchCustomizeColumns (#24344)
Pass cObjs of type *SCommonAlert to SCommonAlertManager.FetchCustomizeColumns
instead of *SNodeAlert so the parent correctly fetches common alert columns.
2026-02-25 19:31:51 +08:00
Jian Qiu
479e8e1b3a fix: keep climc network-create backward compatibility (#24340)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-02-25 09:03:12 +08:00
屈轩
df2a6d6170 fix(region): avoid account sync cost time abnormal (#24336) 2026-02-24 17:34:02 +08:00
Jian Qiu
b6e11061ef fix: instance snapshot virtual size (#24328)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-02-24 09:23:14 +08:00
Zexi Li
8ce635a36a fix(region): wrong args type on callback function of DiskCreateTask (#24330) 2026-02-13 17:05:22 +08:00
Zexi Li
fbd83ed9b0 fix(host): do not set cached image status to active for TGZ on host (#24324)
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:04:49 +08:00
Jian Qiu
4bb85225b0 fix: ensure s3 client init for s3 storage driver (#24321)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-02-12 10:01:12 +08:00
Zexi Li
e1c2b122b1 feat(region,host): support post overlay uppper config (#24287) 2026-02-11 16:57:04 +08:00
屈轩
5a49aa6a3c fix(yunionconf): policy scope (#24314) 2026-02-11 11:23:51 +08:00
wanyaoqi
3e557a8eb9 fix(host): set dmesg parse failed log level to debug (#24309) 2026-02-11 00:59:35 +08:00
wanyaoqi
39b64b8edd fix(host-deployer): deploy single disk has no disk id (#24304) 2026-02-10 19:35:45 +08:00
wanyaoqi
1b36450a7c fix(host-deployer): online resize loop dev (#24301)
* fix(host-deployer): online resize loop dev

* fix(host-deployer): update host-deployer-base
2026-02-10 17:07:51 +08:00
Zexi Li
11ca895482 feat(monitor): support alert reason notification (#24290)
* feat(monitor): support alert reason notification

* fix(climc): commonalert list options
2026-02-10 09:06:24 +08:00
Jian Qiu
48b438d37b fix: guest syncstatus subtask for disk create task (#24292)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-02-10 09:03:19 +08:00
屈轩
99e582286c fix(notify): notify receiver (#24297) 2026-02-09 20:42:39 +08:00
Jian Qiu
42da4e038c fix: remove parent task info from task context (#24283)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-02-09 13:22:02 +08:00
wanyaoqi
33b60e4bc6 fix(host): add device_id only scsi-hd device (#24279) 2026-02-09 11:26:45 +08:00
wanyaoqi
7cc035a767 fix(host): deploy nics config defore do add nics (#24276) 2026-02-09 08:38:35 +08:00
Jian Qiu
f84b8f1a65 fix: unify lb charge type (#24272)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-02-08 18:43:14 +08:00
Jian Qiu
1659268809 feature: support postpaid traffic metering (#24269)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-02-08 12:57:45 +08:00
wanyaoqi
73f71776de feat(region,host,vpcagent): allow guest network dedicate secgroups (#24261) 2026-02-07 17:31:44 +08:00
wanyaoqi
cebeaae9d0 fix(region,host): rbd snapshot get actual size (#24240)
- add host down and auto migrate notification
2026-02-07 17:30:54 +08:00
屈轩
8b3b1a0ab6 fix(region): vendor update (#24265) 2026-02-07 13:52:06 +08:00
wanyaoqi
1479e5da3e fix(region,host): rename screen dump info structure (#24258) 2026-02-06 18:08:50 +08:00
cwz_eikoh
0b229dc00a fix(llm): add handler in apigateway for mcp-agent-chat (#24254) 2026-02-05 18:16:46 +08:00
屈轩
60da86e645 fix(region): snapshot policy operation (#24249) 2026-02-05 16:40:33 +08:00
wanyaoqi
987fca770c fix(glance): set s3 bucket name before s3 init check (#24237) 2026-02-04 23:07:33 +08:00
屈轩
ee161f21b0 fix(yunionconf): support tags (#24231) 2026-02-04 17:13:59 +08:00
屈轩
1d898e52a7 fix(region): public cloud sku create (#24226) 2026-02-04 14:56:55 +08:00
屈轩
873006650f fix(region): support cloudpods vm disk driver (#24221) 2026-02-04 14:28:09 +08:00
Zexi Li
24dda38605 fix(region,climc): persist netinterface vlan_id to hostnetwork (#24213)
- 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:12 +08:00
屈轩
cc3a74b2f9 fix(host): support skip check kernel mod (#24218) 2026-02-04 10:30:02 +08:00
屈轩
522ca973f2 fix(region): avoid duplicate check when update account aksk (#24209) 2026-02-03 20:53:12 +08:00
Zexi Li
3e982a7438 Automated cherry pick of #24194: Fix(llm): some mistakes, use CmpId & InstantModelId insteadof SvrId & ModelId (#24205)
* fix(llm): some mistakes

* fix(llm): use CmpId instead of SvrId

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

---------

Co-authored-by: cwz <cwz_eikoh@163.com>
2026-02-03 16:46:07 +08:00
Zexi Li
05bb19c5a6 fix(monitor): comparator string (#24202) 2026-02-03 12:01:41 +08:00
屈轩
9489b6baa4 fix(region): init snapshot policy disk table (#24198) 2026-02-02 20:38:49 +08:00
wanyaoqi
e86609c969 fix(host): guestnetworksync do nothing on detach vfio nic (#24178) 2026-02-02 20:18:05 +08:00
Jian Qiu
8e1c23ec2e fix: allow guestnetwork ip4 addr field nullable (#24191)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-02-02 20:16:29 +08:00
Zexi Li
6b68d880c7 feat(monitor): add the registered model manger function (#24153) 2026-02-02 17:50:46 +08:00
屈轩
3f0c52be68 fix(climc): sku create support arch (#24186) 2026-02-02 14:17:08 +08:00
屈轩
9204340b38 fix(notify): support webhook sign (#24182) 2026-02-02 12:53:55 +08:00
wanyaoqi
c005337eed Automated cherry pick of #24126: feat(region,host): riscv64 cpu arch support (#24174)
* feat(region,host): riscv64 cpu arch support

* fix(region,host): compatible riscv64

* fix(host): add qemu v10.0.7 support
2026-02-01 20:27:12 +08:00
wanyaoqi
7d4245c677 fix(host): live migrate add timeout (#24162) 2026-02-01 20:24:00 +08:00
wanyaoqi
5341c97ccf fix(region): server add set network num queues (#24166) 2026-02-01 20:12:39 +08:00
wanyaoqi
a1bfcc1d9f fix(glance): set glance s3 bucket name default onecloud-images (#24171) 2026-02-01 20:10:57 +08:00
屈轩
e1730556e1 fix(region): defer ctx cancel (#24156) 2026-01-30 19:11:58 +08:00
cwz_eikoh
f2cc3f0c18 Automated cherry pick of #24149: Fix(llm): fix bugs & apikey encrypt & support history for mcp-agent-chat & delete modelname in llmSku (#24150)
* 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:11 +08:00
wanyaoqi
cd755ba02b fix(region): have agent add check is telegraf deployed (#24145) 2026-01-29 10:34:13 +08:00
屈轩
86ffcde03a fix(region): billing resource create time (#24140) 2026-01-28 19:59:48 +08:00
屈轩
fa08f8fd8f fix(glance): support prob iso image (#24133) 2026-01-28 15:28:56 +08:00
Zexi Li
7f54e038c0 fix(llm): add community-registry api (#24130) 2026-01-28 14:30:43 +08:00
Jian Qiu
d83585f158 fix: skip baremetal-agent riscv64 (#24123)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-01-24 20:33:16 +08:00
屈轩
855afe6dc5 fix(region): vendor update (#24118) 2026-01-23 17:03:32 +08:00
屈轩
784efcf211 fix(region): cloudpods container sync (#24113) 2026-01-21 15:33:40 +08:00
Jian Qiu
0cbdf68df3 fix: notify receiver update precedure recode (#24100)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-01-20 00:16:06 +08:00
wanyaoqi
28bbdd3061 fix(host): ensure scsi pci addr on add scsi disk (#24097) 2026-01-19 20:16:30 +08:00
cwz_eikoh
8c20fb7e3d Automated cherry pick of #23906: feature(llm): adapt frontend (#24095)
* feature(llm): add llm-list details, add autostart for llm-save-instant-model

* fix(llm): adjust some interfaces

* fix: name-dup problem when create llm

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

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

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

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

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

* feature(llm): add url-get interface

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

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

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

* feature(llm): support openai in llm_client

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

- support host_lower_map for post overlay image

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

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

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

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

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

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

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

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

* fix(llm): change app to model

* fix(llm): rename origin model to sku

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

* fix(llm): saved paths for instant model

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

---------

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

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

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

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

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

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

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

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

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

* fix(llm): format file names

* fear(llm): add exec stream

* fear(llm): init llm model cache

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

* feat(llm): auto clean model cache

* fix(llm): auto clean tmp model cache

* feat(dify): init dify-create

* fix(dify): change dify default registry

* feat: support create model with gguf file

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

* feat(dify): init user customize dify parameters

* feat: update llm as a service in climc

* fix: delete llm from region service

* feat: init llm service (with error)

* fix: resolve errors (task cant callback yet)

* feat: add PerformRequestHostActionByOtherService for container

* fix: make llm service usable

* feat: delete llm and dify after guest deleted

* feat(llm): add llm-image

* feat(llm): add llm-model

* feat: mv old llm to ollama

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

* fix(llm): make llm-create usable

* fix(llm): add pull-model step

* feat(llm): add list and delete

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

* feat(llm): add dify-model

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

* fix: remove remain code in compute

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

* feat(llm): abstract llm_base from llm

* fix(llm): make dify usable

* feat(llm): add sync_dify_images.sh

* fix(llm): format import

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

* feat(llm): add model-update

* fix(llm): gendocgo

---------

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

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

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

---------

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

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

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

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

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

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

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

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

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

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

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

* feat(host): add vastaitech gpu metrics support

* feat(host): add cph amd gpu metrics

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

---------

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

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

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

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

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

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

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

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

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

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

---------

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

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

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

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

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

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

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

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

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

* fix(region,host): function parameters

---------

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

* fix: hidden parent org nodes

---------

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

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

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

* fix: ipv6 support more

* fix: update vendor for ipv6 support

* fix: allow enable ipv6 on existing guestnetwork

---------

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

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

* fix: default gateway 2

---------

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

* update vendor

---------

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

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

---------

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

* fix(region): aws redis set metadata status

---------

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

* fix(keystone): fix keystone usage for projectNum

---------

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

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

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

* minor fixes

---------

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

* fix: validate condition when changing network wire id

* fix: allow update user enabled field

---------

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

* feat(region,host): vgpu support

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

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

---------

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

* update vendor

* update vendor

---------

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* fix(host): live migration optimize

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

* fix(host): live migration optimize

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

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

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

* fix(host): desc add is_volatile_host

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

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

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-11-22 12:20:45 +08:00
Zexi Li
d60ea269fc fix(host): filter usb hub devices (#15413) 2022-11-21 17:21:28 +08:00
Zexi Li
15d7ecd330 Merge pull request #15405 from ioito/hotfix/qx-vender-update-hcs-vm
fix(region): vender update
2022-11-21 17:00:25 +08:00
Zexi Li
d1f5335973 Merge pull request #15407 from wanyaoqi/fix/cephutils
fix(host): ceph utils command add timeout
2022-11-21 15:26:13 +08:00
ioito
a289cf2e92 fix(region): vender update 2022-11-21 15:04:02 +08:00
wanyaoqi
17ef436d0e fix(host): ceph utils command add timeout
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-11-21 14:59:57 +08:00
屈轩
354028952b fix(region): cloudpods self manage check (#15398) 2022-11-20 17:11:43 +08:00
Zexi Li
77acab1572 Merge pull request #15396 from ioito/hotfix/qx-hcs-storage-type
fix(region): hcs storage type width
2022-11-18 16:08:21 +08:00
ioito
808db9d872 fix(region): hcs storage type width 2022-11-18 15:56:50 +08:00
seraphico
9403a90b9a fix(baremetal): When the mac address in nics_standby does not have Index or nic_type, it will cause a panic, which will cause the physical server to fail to switch to bare metal 2022-11-18 11:02:23 +08:00
屈轩
bac71bf2a0 fix(cloudmon): add process stats metric (#15392) 2022-11-17 20:40:08 +08:00
Zexi Li
a805af5564 feat(climc): k8s cluster extra config (#15390) 2022-11-17 18:41:21 +08:00
屈轩
a0dea0ccf2 fix(region): hcs vender update (#15391) 2022-11-17 18:40:04 +08:00
屈轩
dab4598dde fix(cloudmon): collect system metric (#15385) 2022-11-17 18:39:35 +08:00
Zexi Li
282e46ddb8 Merge pull request #15382 from swordqiu/hotfix/qj-separate-region-cloudmux-import
feature: separate region and cloudmux
2022-11-17 14:21:50 +08:00
wanyaoqi
15ef8028da feat(region,climc): server set boot index (#15369) 2022-11-16 23:20:54 +08:00
屈轩
3c90ef7532 fix(common): show version when action not found (#15370) 2022-11-16 22:30:10 +08:00
wanyaoqi
f1d8299e54 fix(host): virito-blk pci addr dup prefix (#15374)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-11-16 22:28:11 +08:00
Qiu Jian
a6c7832021 feature: separate region and cloudmux 2022-11-16 20:49:27 +08:00
屈轩
ba4c37b206 fix(region): account clean host cache (#15375) 2022-11-16 15:50:39 +08:00
Jian Qiu
fa6b33884a fix: vpc secgroup should deny any ingress traffic be default (#15355)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-16 11:16:58 +08:00
Zexi Li
bec38d9a16 feat(climc): k8s cluster force deploy (#15372) 2022-11-16 10:12:54 +08:00
Zexi Li
0728ffd474 Merge pull request #15365 from swordqiu/hotfix/qj-set-disk-ssd-according-to-storage-medium-type
fix: automatically set disk is_ssd according to storage medium_type
2022-11-15 23:45:16 +08:00
Zexi Li
1c4ca698da Merge pull request #15368 from ioito/hotfix/qx-request-retry
fix(region): add retry for request
2022-11-15 23:44:58 +08:00
ioito
4085667cf3 fix(region): add retry for request 2022-11-15 12:46:36 +08:00
Zexi Li
c260a102aa Merge pull request #15358 from swordqiu/hotfix/qj-not-detect-vm-ips-when-manage-vmware
fix: do not detect vm ips when managing vmware
2022-11-15 10:39:41 +08:00
wanyaoqi
ad3f592747 fix(scheduler): ignore fetch disk image failed (#15361) 2022-11-15 00:49:46 +08:00
wanyaoqi
83f72c9e2f fix(region): dead lock on batch migrate (#15363)
New parallel task will lock Model Manager.
If guests hosts count bigger than one will stuck on Lock
Guest Model Manager.

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

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-11-15 00:48:54 +08:00
Qiu Jian
1d0f715843 fix: automatically set disk is_ssd according to storage medium_type 2022-11-15 00:14:33 +08:00
wanyaoqi
d68fd533e4 fix(host-deployer): os arch and uefi detect (#15351) 2022-11-13 18:18:01 +08:00
wanyaoqi
70755a9a1b feat(region,host): sriov nic support (#15342)
Support sriov nic passthrough to kvm guest.

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

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-11-13 18:17:30 +08:00
Qiu Jian
856db39a58 fix: do not detect vm ips when managing vmware 2022-11-12 22:10:41 +08:00
Zexi Li
beb2951523 Merge pull request #15348 from swordqiu/hotfix/qj-scheduler-ignore-storage-capacity-constraint-if-migrating
fix: scheduler ignore storage capacity constraint if migrating
2022-11-12 18:40:52 +08:00
Zexi Li
5552cf8b28 Merge pull request #15353 from swordqiu/hotfix/qj-excel-output-pretty-float
fix: make excel output floating number pretty
2022-11-12 18:39:54 +08:00
Qiu Jian
09f8cbbef7 fix: make excel output floating number pretty 2022-11-11 22:16:00 +08:00
屈轩
079be4492d fix(region): task panic (#15345) 2022-11-11 19:51:37 +08:00
Qiu Jian
4fe9dcec16 fix: scheduler ignore storage capacity constraint if migrating 2022-11-11 19:49:57 +08:00
Zexi Li
66f01d043b Merge pull request #15344 from ioito/hotfix/qx-vender-update-hcso
fix(region): vender update
2022-11-11 11:22:08 +08:00
ioito
02875a31e6 fix(region): vender update 2022-11-11 11:05:50 +08:00
wanyaoqi
6173bffe87 fix(host): set max cpus for virt machine type (#15339) 2022-11-11 08:29:20 +08:00
Zexi Li
a15f1736de feat(glance): precise_match option of image list input (#15341) 2022-11-11 08:27:48 +08:00
Zexi Li
b22af4a4b5 Merge pull request #15338 from ioito/hotfix/qx-region-sync
fix(region): region geo info sync
2022-11-10 16:49:07 +08:00
Zexi Li
af0dcee9e3 fix(scheduler): check capacity of disk_schedtag_predicate (#15336)
* only check free_capacity when not migrating or non schared storage

* only check actual_free_capacity when storage is local
2022-11-10 11:42:38 +08:00
ioito
6aad6487a7 fix(region): region geo info sync 2022-11-10 11:10:03 +08:00
Zexi Li
7df7b672ab Merge pull request #15333 from swordqiu/automated-cherry-pick-of-#15332-upstream-master
Automated cherry pick of #15332: fix: image osinfo nil panic
2022-11-09 23:06:46 +08:00
Zexi Li
4b2baaac3f Merge pull request #15334 from wanyaoqi/fix/remove-pcie-extend-bus-check
fix(host): remove has pcie extend bus check
2022-11-09 23:06:19 +08:00
wanyaoqi
929770264d fix(host): remove has pcie extend bus check
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-11-09 21:55:42 +08:00
Qiu Jian
10155cdae9 fix: image osinfo nil panic 2022-11-09 14:49:41 +08:00
屈轩
aa9492578f fix(region): 避免i18n重复删除再创建 (#15324) 2022-11-09 00:09:44 +08:00
Jian Qiu
b04cdba24b fix: format version for rpm spec (#15328)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-11-09 00:08:46 +08:00
wanyaoqi
4a36afc4c5 fix(region): add power states check in some cases (#15323) 2022-11-09 00:08:21 +08:00
wanyaoqi
c66cbb72b7 fix(host-deployer): check /etc/network dir is esixt (#15314) 2022-11-08 11:42:54 +08:00
Zexi Li
456e03d1d9 Merge pull request #15321 from ioito/hotfix/qx-delete-status
fix(common): avoid return invalid delete status
2022-11-08 10:20:08 +08:00
ioito
236353fc09 fix(common): avoid return invalid delete status 2022-11-07 17:34:54 +08:00
Zexi Li
e95b39a11a Merge pull request #15320 from ioito/hotfix/qx-vender-update-remove-dependency
fix(region: remove dependency
2022-11-07 17:17:22 +08:00
ioito
4b1410d5b2 fix(region: remove dependency 2022-11-07 16:39:25 +08:00
Zexi Li
b77d652ee6 Merge pull request #15317 from gouqi11/fix/modelartsRefresh
fix(cloudmux): modelarts refresh status
2022-11-07 15:25:57 +08:00
mhf
ef380ba3fa fix(cloudmux): modelarts refresh status 2022-11-07 15:05:21 +08:00
Jian Qiu
5d9d253328 fix: mcclient code cleanup 20221106 (#15310)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-07 02:19:24 +08:00
Jian Qiu
488be6b7fb fix: choose available storage by server_id (#15306)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-07 02:18:59 +08:00
wanyaoqi
d9c016c62a fix(region,host): disconnect esxi disk on disk delete (#15298) 2022-11-07 02:18:30 +08:00
Zexi Li
53161cb0f9 fix(monitor): only query enabled host for alerting (#15301) 2022-11-07 02:17:59 +08:00
Jian Qiu
f472e7aa57 fix: generate ssh host keys for linux guest (#15303)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-07 02:16:25 +08:00
Jian Qiu
fea06ca2d2 fix: secgroup peer secgroup constraint (#15111)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-11-07 02:15:43 +08:00
wanyaoqi
ec53faee26 fix(region): set power status on guest status ready (#15308) 2022-11-06 21:10:56 +08:00
屈轩
0302043fcd fix: vender update (#15302) 2022-11-06 20:39:49 +08:00
Zexi Li
4fcc109256 Merge pull request #15294 from ioito/hotfix/qx-vender-update-rf
fix: vender update
2022-11-04 17:45:10 +08:00
Zexi Li
ea09efe2b0 Merge pull request #15295 from gouqi11/fix/modelartsTimeout
fix(region):modelartsTimeout
2022-11-04 17:42:51 +08:00
mhf
3ed5fd30b2 fix(region):modelartsTimeout 2022-11-04 15:58:04 +08:00
ioito
eba93fe354 fix: vender update 2022-11-04 15:35:57 +08:00
Zexi Li
112991ea85 Merge pull request #15292 from gouqi11/fix/modelartsStatus
fix(region):modelarts task
2022-11-04 15:27:15 +08:00
mhf
0bc94edd81 fix/modelarts task 2022-11-04 14:32:39 +08:00
Zexi Li
b3ea6fbf13 Merge pull request #15257 from ioito/hotfix/qx-optimized-project-list
fix(keystone): optimzed project list
2022-11-04 14:29:19 +08:00
Zexi Li
1f08aa0a50 Merge pull request #15266 from swordqiu/hotfix/qj-allow-duplicate-id-when-sync-vms
fix: allow duplicate vm ids when sync
2022-11-04 12:27:23 +08:00
Zexi Li
2c8bceaed0 Merge pull request #15280 from swordqiu/hotfix/qj-allow-upload-image-via-apigateway-proxy
fix: allow upload image via apigateway backend proxy
2022-11-04 12:26:19 +08:00
Zexi Li
a40dec2c8a Merge pull request #15286 from wanyaoqi/hotfix/deploy-telegraf-error-info
fix(host-deployer): add deploy telegraf error info
2022-11-04 12:16:06 +08:00
Zexi Li
410e2563c3 Merge pull request #15288 from wanyaoqi/fix/remove-debug-log
fix(host): remove debug log
2022-11-04 12:15:44 +08:00
wanyaoqi
8db0974ef3 fix(host): remove debug log 2022-11-03 20:46:10 +08:00
wanyaoqi
d29be7d253 fix(host-deployer): add deploy telegraf error info 2022-11-03 20:40:28 +08:00
Zexi Li
59eee8f222 Merge pull request #15276 from wanyaoqi/fix/disk-change-storage-failed
fix(region): implement failed stage: OnDiskLiveChangeStorageReadyFailed
2022-11-03 15:29:21 +08:00
Zexi Li
2f2aa4e79c Merge pull request #15272 from wanyaoqi/fix/host-offline
fix(region): panic on host offline and update health status is nil
2022-11-03 15:21:13 +08:00
Zexi Li
fbea11ec40 Merge pull request #15268 from swordqiu/hotfix/qj-save-unsynced-ip-metadata
fix: save unsynced ip to metadata
2022-11-03 15:18:00 +08:00
Zexi Li
c17d2bc72f Merge pull request #15281 from gouqi11/fix/modelartsStatus
fix/modelarts status
2022-11-03 15:17:27 +08:00
mhf
ed97cf2039 fix/modelarts status 2022-11-03 14:56:36 +08:00
Qiu Jian
47b0be0efd fix: allow upload image via apigateway backend proxy 2022-11-02 20:32:18 +08:00
wanyaoqi
fad56e8785 fix(region): implement failed stage: OnDiskLiveChangeStorageReadyFailed 2022-11-02 17:32:29 +08:00
wanyaoqi
1a7683c056 fix(region): panic on host offline and update health status is nil 2022-11-01 20:48:31 +08:00
Zexi Li
5ffe1c3506 feat(region): no_bmc option of host create api (#15270) 2022-11-01 17:38:42 +08:00
Zexi Li
1bad4c75ba Merge pull request #15271 from ioito/hotfix/qx-hcs-obs
fix(region): hcs obs
2022-11-01 17:23:35 +08:00
ioito
26bfd8ee58 fix(region): hcs obs 2022-11-01 17:01:52 +08:00
Qiu Jian
24bba7e0e3 fix: sync unsynced ip to metadata 2022-11-01 01:54:30 +08:00
Qiu Jian
9d262fd949 fix: allow duplicate vm ids when sync 2022-10-31 23:14:41 +08:00
Zexi Li
9418bdf6be Merge pull request #15262 from ioito/hotfix/qx-account-balance
fix(region): account balance
2022-10-31 12:23:32 +08:00
Zexi Li
2ce7e1b107 Merge pull request #15264 from zexi/codegen-py3
feat(misc): use python3 for scripts/codegen.py
2022-10-31 12:22:53 +08:00
Zexi Li
2436c51811 Merge pull request #15229 from wanyaoqi/feat/bootindex
feat(region,host): support assign bootindex for cdrom or disks
2022-10-31 12:18:08 +08:00
Zexi Li
fe46ac0ad5 feat(misc): use python3 for scripts/codegen.py 2022-10-31 12:10:50 +08:00
Zexi Li
5fdb06b9a7 Merge pull request #15247 from ioito/hotfix/qx-lb-validate
fix(region): lb validate
2022-10-31 12:08:52 +08:00
ioito
8303f123e2 fix(region): account balance 2022-10-31 12:06:48 +08:00
ioito
8778ce4229 fix(region): lb validate create 2022-10-31 11:56:30 +08:00
Zexi Li
5ade02f00c Merge pull request #15261 from zexi/sync-cloudmux-const
fix(region): use cloudmux consts
2022-10-31 11:32:18 +08:00
Zexi Li
64618a74f0 Merge pull request #15228 from ioito/hotfix/qx-hcs-vpc
fix(region): hcs vpc create
2022-10-31 11:30:26 +08:00
Zexi Li
4e51e654a0 fix(region): use cloudmux consts 2022-10-31 11:16:13 +08:00
ioito
33b7639b7d fix(webconsole): hcs webconsole 2022-10-31 10:58:29 +08:00
ioito
cdc912ff8c fix(keystone): optimzed project list 2022-10-31 10:42:14 +08:00
wanyaoqi
ab1e535e0f feat(region,host): support assign bootindex for cdrom or disks
If bootindex is assigned, legacy boot order cdn/dcn will be disabled.
each device bootindex is accquire uniqued. default bootindex -1 is mean
bootindex not assign. If all of the devices not assigned bootindex,
guest will use the legacy boot order.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-31 10:20:17 +08:00
Zexi Li
6f67a46d06 Merge pull request #15234 from wanyaoqi/fix/maxcpus
fix(host): x86 machine max cpus
2022-10-31 10:16:05 +08:00
Zexi Li
7bc5f649bc Merge pull request #15253 from wanyaoqi/feat/isolated-device-hotplug
feat(gpus): add hotplug support of gpu devices
2022-10-31 10:15:47 +08:00
Jian Qiu
fa96a1943b feature: enable monitor proxy at host metadata server (#15244)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-29 18:31:01 +08:00
Zexi Li
2d2f2ec2c2 fix(baremetal): panic occured when get server ssh client (#15249) 2022-10-29 06:20:34 +08:00
Zexi Li
0e2c520ecd feat(misc): use cloudmux package (#15254) 2022-10-28 19:53:03 +08:00
wanyaoqi
23a172b082 feat(gpus): add hotplug support of gpu devices
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-28 10:49:52 +08:00
Zexi Li
72c7fe038c Merge pull request #15246 from gouqi11/cloudpodsMonitor
fix(cloudmon):cloudpodsMonitor
2022-10-27 19:34:13 +08:00
mhf
41dbc51fea cloudpodsMonitor 2022-10-27 18:56:40 +08:00
Zexi Li
228ca7ed0f Merge pull request #15233 from gouqi11/controlMetricsGoroutineCount
controlMetricsGoroutineCount
2022-10-27 18:54:34 +08:00
wanyaoqi
c727ad0b1e fix(host): assign vfio dev pci address (#15243)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-26 23:06:26 +08:00
屈轩
9dea6d2a7d fix(region): skip disk sync by system tags (#15231) 2022-10-26 02:10:38 +08:00
屈轩
3fb8b7d879 fix(region): aliyun sync by resource group (#15191) 2022-10-26 02:08:50 +08:00
Jian Qiu
724deb5f5e feature: google shell support query bigquery (#15213)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-26 02:08:13 +08:00
Jian Qiu
b20091bd99 fix: force reset expired password (#15224)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-26 02:07:55 +08:00
Jian Qiu
53519e3425 feature: automatically purge expired splitables (#15225)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-26 02:06:45 +08:00
Jian Qiu
13fbbe371a fix: ignore secgroup sync error (#15236)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-26 02:05:53 +08:00
mhf
d25ed28504 controlMetricsGoroutineCount 2022-10-25 19:25:28 +08:00
wanyaoqi
ac6b6716ce fix(host): x86 machine max cpus
if max cpux exceed 255, machine requires Extended Interrupt Mode
enabled.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-25 19:01:13 +08:00
Jian Qiu
73aa71d7df fix: access backend service by specific region/zone (#15223)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-25 17:05:30 +08:00
Zexi Li
85edf1a21b Merge pull request #14929 from ioito/feat/qx-hcs
feat(region): hcs
2022-10-25 15:00:18 +08:00
ioito
11cf497268 support hcs 2022-10-25 14:48:20 +08:00
wanyaoqi
630f31912b fix(host): alloc numa node for guest (#15212)
mem backend file is relay on numa node init

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

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-24 05:45:05 +08:00
wanyaoqi
47fcc088bb feat(host): add hyperv cpu features for kernel 5.4 (#15221)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-24 05:44:35 +08:00
wanyaoqi
0d701003e3 fix(region): multi cdrom interface not compatible (#15222)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-24 05:42:49 +08:00
Zexi Li
214b51298c Merge pull request #15219 from gouqi11/fixModelarts
fixModelartsNodeCount nullable
2022-10-21 18:56:41 +08:00
mhf
70047bbed3 fixModelartsNodeCount nullable 2022-10-21 18:48:26 +08:00
Zexi Li
7b00932d1e Merge pull request #15182 from ioito/hotfix/qx-vnc-cmd
fix(climc): origin vnc
2022-10-21 17:30:02 +08:00
屈轩
8888393da1 fix(region): incloudsphere vm nic with ip (#15209) 2022-10-21 17:17:12 +08:00
Zexi Li
8696c5e504 Merge pull request #15215 from zexi/automated-cherry-pick-of-#15214-upstream-master
Automated cherry pick of #15214: fix(scheduler): do free capacity check when storage filter enabled
2022-10-20 16:36:39 +08:00
Zexi Li
141ebfc399 Merge pull request #15217 from gouqi11/fix/remoteFileReturnBug
fix/remoteFileReturnBug
2022-10-20 16:36:11 +08:00
mhf
10f5eb13c1 fix/remoteFileReturnBug 2022-10-20 16:06:37 +08:00
Zexi Li
8d28143a80 fix(scheduler): do free capacity check when storage filter enabled 2022-10-20 14:57:01 +08:00
Zexi Li
906e9f7150 Merge pull request #15207 from ioito/hotfix/qx-cloudmon-delay-time
fix(cloudmon): default delay time for 6 minutes
2022-10-20 00:30:45 +08:00
Zexi Li
586ccdd2cd Merge pull request #15210 from ioito/hotfix/qx-disk-short-desc
fix(region): add disk_type for disk short desc
2022-10-19 18:45:35 +08:00
ioito
6395e077f3 fix(region): add disk_type for disk short desc 2022-10-19 18:18:00 +08:00
Zexi Li
bec3300bac Merge pull request #15202 from ioito/hotfix/qx-incloudsphere-misc
fix(region): incloudshpere reset password
2022-10-18 11:20:03 +08:00
ioito
d2a7f43f61 fix(cloudmon): default delay time for 6 minutes 2022-10-18 10:59:55 +08:00
Zexi Li
8a650bd639 Merge pull request #15205 from zexi/automated-cherry-pick-of-#15204-upstream-master
Automated cherry pick of #15204: fix(ansibleserver): force sleep 50s before running
2022-10-18 10:49:20 +08:00
Zexi Li
4a5c7bfd3c fix(ansibleserver): force sleep 50s before running 2022-10-18 10:43:25 +08:00
Zexi Li
9555a789f7 Merge pull request #15203 from swordqiu/hotfix/qj-update-model-api-20221017
fix: update auto-gen model api 20221017
2022-10-17 18:01:43 +08:00
ioito
efae12b727 fix(region): incloudshpere reset password 2022-10-17 18:00:32 +08:00
Qiu Jian
340790d894 fix: update auto-gen model api 20221017 2022-10-17 17:12:18 +08:00
Jian Qiu
df373cdaf6 feature: api for sending emails with attachments (#15201)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-17 14:30:03 +08:00
屈轩
bc8b181d9f fix(websonsole): vnc query (#15195) 2022-10-15 22:05:14 +08:00
屈轩
2ab93e71c3 fix(glance): esxi vmdk requre streamOptimized (#14995) 2022-10-15 22:03:27 +08:00
Zexi Li
cc7b591f4a Merge pull request #15185 from gouqi11/fix/remotefile
fix/remotefile guest
2022-10-14 21:13:00 +08:00
Zexi Li
d16069e1b1 Merge pull request #15198 from gouqi11/fix/huawei-aksk-createdAt
fix/huawei-aksk-createdAt
2022-10-14 21:12:26 +08:00
Zexi Li
c98cfb0c1c Merge pull request #15196 from ioito/hotfix/qx-incloudsphere-image-sync
fix(reigon): incloudsphere image sync
2022-10-14 18:49:35 +08:00
mhf
c94fb33c32 fix/remotefile guest 2022-10-14 18:20:30 +08:00
mhf
b546f875fe fix/huawei-aksk-createdAt 2022-10-14 18:18:50 +08:00
ioito
15642769fc fix(reigon): incloudsphere image sync 2022-10-14 16:29:19 +08:00
Zexi Li
daa8912644 Merge pull request #15190 from ioito/hotfix/qx-incloudsphere-list
fix(region): incloudsphere list items
2022-10-14 16:17:57 +08:00
Zexi Li
32cce3cbd5 Merge pull request #15194 from zexi/automated-cherry-pick-of-#15192-upstream-master
Automated cherry pick of #15192: fix(scheduler): check free capacity of each storage
2022-10-14 13:33:14 +08:00
Zexi Li
053944c265 fix(scheduler): check free capacity of each storage 2022-10-14 12:42:16 +08:00
ioito
223898bbe1 fix(region): incloudsphere list items 2022-10-14 10:53:48 +08:00
Zexi Li
4985c7cad8 Merge pull request #15186 from ioito/hotfix/qx-incloudsphere-vm-ip
fix(region): incloudsphere vm ip
2022-10-14 10:36:10 +08:00
Zexi Li
89b2a1c7b3 Merge pull request #15187 from ioito/hotfix/qx-sku-vm-cnt
fix(region): optimized sku list
2022-10-14 10:35:05 +08:00
Zexi Li
290cc4cdb5 Merge pull request #15183 from ioito/hotfix/qx-skip-account-check
fix(region): skip account check
2022-10-14 10:33:43 +08:00
Zexi Li
03cccd2029 Merge pull request #15189 from wanyaoqi/fix/hugepage-update
fix(region): hugepage validate mem update
2022-10-14 10:33:14 +08:00
wanyaoqi
b2e1c0b2d9 fix(region): hugepage validate mem update 2022-10-14 10:15:20 +08:00
ioito
f066df45ef fix(region): optimized sku list 2022-10-13 18:10:23 +08:00
ioito
81915cd658 fix(region): incloudsphere vm ip 2022-10-13 17:15:01 +08:00
ioito
2e017dbffe fix(region): skip account check 2022-10-13 16:59:18 +08:00
ioito
f1d2bbd18a fix(climc): origin vnc 2022-10-13 16:54:32 +08:00
Zexi Li
7c9e7aaa85 Merge pull request #15179 from ioito/hotfix/qx-skip-duplicate-account-check
fix(region): skip duplicate account check
2022-10-13 12:14:19 +08:00
ioito
3e81bc3ed1 fix(region): skip duplicate account check 2022-10-13 11:49:13 +08:00
Zexi Li
bcf52f3db4 Merge pull request #15177 from swordqiu/hotfix/qj-disk-fallocate-support
fix: disk fallocate support
2022-10-13 09:47:38 +08:00
Zexi Li
9952c9ad8d Merge pull request #15168 from wanyaoqi/fix/hugepages
feat(region,host): hugepage optimize
2022-10-13 09:47:18 +08:00
Zexi Li
fadec7480b Merge pull request #15163 from swordqiu/hotfix/qj-ssd-flag-for-scsi-hd-only
fix: ssd(rotation_rate=1) option only applicable to scsi-hd device
2022-10-13 09:46:22 +08:00
Zexi Li
ea4750d1c5 Merge pull request #15156 from ioito/hotfix/qx-openstack-vnc
fix(region): openstack vnc
2022-10-13 09:45:45 +08:00
Zexi Li
fb55bd34a1 Merge pull request #15170 from ioito/hotfix/qx-purge-vm-by-tags
fix(region): purge vm by tags
2022-10-13 09:45:12 +08:00
Zexi Li
25e0e5ae98 Merge pull request #15172 from ioito/hotfix/qx-cloudmon-err
fix(cloudmon): show unmarshal error
2022-10-13 09:44:47 +08:00
Jian Qiu
35cb0f8131 fix: no etcd watching if endpoint type is not internal (#15174)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-13 09:36:41 +08:00
Qiu Jian
a38d0e2d05 fix: disk fallocate support 2022-10-13 02:35:53 +08:00
ioito
865d078b41 fix(cloudmon): show unmarshal error 2022-10-12 17:40:30 +08:00
ioito
964a1a4d7c fix(region): purge vm by tags 2022-10-12 16:35:31 +08:00
Zexi Li
f1050571d7 Merge pull request #15165 from ioito/hotfix/qx-google-vm
fix(region): avoid panic
2022-10-12 16:32:32 +08:00
ioito
da932145c9 fix(region): avoid panic 2022-10-12 15:13:48 +08:00
wanyaoqi
3d0c09195e feat(region,host): hugepage optimize
- host agent will not allocate hugepage on init
- except hugepage, the remaining memory update to reserved memory
- default hugepage size 1024M
- host model add page size field

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-12 14:57:13 +08:00
屈轩
871000141e fix: climc image cache (#15152) 2022-10-12 14:55:36 +08:00
wanyaoqi
6d3a592833 fix(region): only kvm use qgs set password in guest running status (#15158)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-12 14:55:03 +08:00
Qiu Jian
7a15734768 fix: ssd(rotation_rate=1) option only applicable to scsi-hd device 2022-10-12 14:21:00 +08:00
Jian Qiu
9f65fd6abb fix: debian 11 support missing at release/3.8 (#15160)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-11 21:18:03 +08:00
Zexi Li
8382486550 Merge pull request #15108 from wanyaoqi/feat/qemu-kvm-caps
Feat/qemu kvm caps
2022-10-11 20:12:54 +08:00
wanyaoqi
e83b167e43 feat(host): qemu kvm cpu caps 2022-10-11 18:34:38 +08:00
ioito
f83e0894a2 fix(region): openstack vnc 2022-10-11 16:50:03 +08:00
Zexi Li
c8a39cdc79 Merge pull request #15150 from wanyaoqi/hotfix/host-image-remove-auth
fix(host-image): cancel auth host-image http requests
2022-10-11 10:45:19 +08:00
Zexi Li
209564526a Merge pull request #15147 from ioito/hotfix/qx-python-sdk-generage
fix(climc): python sdk generage
2022-10-11 10:44:52 +08:00
Zexi Li
530dc36c4d Merge pull request #15137 from ioito/hotfix/qx-snappolicy-tz
fix(region): snapshot time zone
2022-10-11 10:43:45 +08:00
Zexi Li
6360bbacf2 Merge pull request #15134 from swordqiu/hotfix/qj-override-os-info-meta
fix: override valid os info in metadata
2022-10-11 10:42:25 +08:00
Zexi Li
38c5cecbd5 Merge pull request #15133 from ioito/hotfix/qx-incloudsphere-network
fix(region): incloudsphere network
2022-10-11 10:41:45 +08:00
Zexi Li
46425949ab Merge pull request #15138 from ioito/hotfix/qx-lb-panic
fix(region): lb sync panic
2022-10-11 10:40:49 +08:00
Zexi Li
8159e0318e Merge pull request #15154 from ioito/hotfix/qx-aliyun-oss
fix(region): oss permission
2022-10-11 10:38:51 +08:00
ioito
b0185d7708 fix(region): oss permission 2022-10-10 19:14:06 +08:00
Zexi Li
bc2eb0a998 Merge pull request #15148 from ioito/hotfix/qx-apsara-endpoint
fix(region): apsara region endpoint
2022-10-10 15:50:37 +08:00
ioito
0227503d76 fix(region): apsara region endpoint 2022-10-10 10:36:28 +08:00
wanyaoqi
865ff6953f fix(region): recover code remove by #14996 (#15144)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

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

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-09 23:48:50 +08:00
Qiu Jian
f278a7860e fix: override valid os info in metadata 2022-10-09 22:58:35 +08:00
ioito
61b7ce6fdb fix(climc): python sdk generage 2022-10-09 18:54:19 +08:00
ioito
9ea371eb2d fix(region): lb sync panic 2022-10-09 15:45:28 +08:00
Zexi Li
eddbbdc1df Merge pull request #15102 from ioito/hotfix/qx-azure-resourcegroup
fix(region): azure resource group
2022-10-09 15:35:55 +08:00
ioito
8193c4b8cb fix(region): snapshot time zone 2022-10-09 15:09:07 +08:00
Zexi Li
c2ef03353c Merge pull request #15131 from ioito/hotfix/qx-short-desc
fix(region): add project tag short desc
2022-10-09 00:26:07 +08:00
Zexi Li
537438270d Merge pull request #15125 from ioito/hotfix/qx-api-gen
fix(region): api gen
2022-10-09 00:25:45 +08:00
Zexi Li
06225f9d83 Merge pull request #15128 from ioito/hotfix/qx-aliyun-saml-name
fix(cloudid): aliyun saml provider name
2022-10-09 00:25:07 +08:00
ioito
e8bb88247d fix(region): azure resource group 2022-10-08 21:27:52 +08:00
Zexi Li
48bd8d72d3 Automated cherry pick of #15120: optimize(scheduler): global cache for schedtag (#15121)
* optimize(scheduler): global cache for schedtag

* feat(scheduler): informer of schedtag
2022-10-08 20:49:38 +08:00
ioito
f17910bf78 fix(region): incloudsphere network 2022-10-08 20:03:21 +08:00
ioito
c7952084b9 fix(region): add project tag short desc 2022-10-08 18:20:25 +08:00
wanyaoqi
35303d97f2 fix(host-image): cancel auth host-image http requests 2022-10-08 15:37:10 +08:00
ioito
c323d1e505 fix(cloudid): aliyun saml provider name 2022-10-08 15:37:04 +08:00
ioito
484a3ae6cb fix(region): api gen 2022-10-08 15:05:03 +08:00
Zexi Li
617a6702e4 Merge pull request #15122 from ioito/hotfix/qx-modelarts-change-config
fix(region): modelarts change config
2022-10-08 14:45:47 +08:00
ioito
9273266789 fix(region): modelarts change config 2022-10-08 14:25:33 +08:00
Zexi Li
4fc9bbf029 Merge pull request #15118 from zexi/automated-cherry-pick-of-#15117-upstream-master
Automated cherry pick of #15117: fix(monitor): monitor error message
2022-10-08 12:03:36 +08:00
Zexi Li
4fca491f73 fix(monitor): monitor error message 2022-10-08 11:54:21 +08:00
Jian Qiu
fd6e54c8b8 fix: preserve os info of instance (#15114)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-10-08 11:19:41 +08:00
Jian Qiu
6df42c5275 update vendor wireguard 20221005 (#15112)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-05 17:17:42 +08:00
Zexi Li
e6385c142c Merge pull request #15109 from gouqi11/fixModelartsStatus
fix modelarts status bug
2022-09-30 11:53:23 +08:00
mhf
20f1decf63 fix modelarts status bug 2022-09-30 11:25:01 +08:00
Zexi Li
92da2889f9 Merge pull request #15105 from swordqiu/hotfix/qj-not-resize-partion-unsupported-fs
fix: do not resize partition of unsupported fs
2022-09-29 10:07:49 +08:00
Qiu Jian
11d734f2d0 fix: do not resize partition of unsupported fs 2022-09-28 23:03:10 +08:00
屈轩
7b530f9387 fix(region): support remote file (#15054) 2022-09-28 20:46:21 +08:00
Zexi Li
a64bc62b2d Merge pull request #15100 from ioito/hotfix/qx-metric-metadata
fix(cloudmon): remove cloudmon metadata tag
2022-09-28 19:31:19 +08:00
ioito
48436a7d3c fix(cloudmon): remove cloudmon metadata tag 2022-09-28 18:14:07 +08:00
Zexi Li
f9b5ed223d Merge pull request #15098 from zexi/automated-cherry-pick-of-#15097-upstream-master
Automated cherry pick of #15097: fix(ansibleserver): force sleep 15s before running playbook
2022-09-28 17:38:58 +08:00
Zexi Li
e9f892875d fix(ansibleserver): force sleep 15s before running playbook 2022-09-28 17:23:29 +08:00
Zexi Li
73eea36e0a Merge pull request #15094 from gouqi11/addNodeCount
add modelarts nodecount
2022-09-28 15:51:34 +08:00
mhf
9c5402f15c add modelarts nodecount 2022-09-28 15:35:43 +08:00
wanyaoqi
893bf12cf7 fix(region): check migration bandwidth is nil (#15082) 2022-09-28 15:27:53 +08:00
屈轩
7e2f2e8ada fix(cloudid): azure cloudgroup (#15092) 2022-09-28 15:27:17 +08:00
屈轩
7d772ff1e4 fix(monitor): rename tags to tag_pairs (#15087) 2022-09-28 15:26:29 +08:00
wanyaoqi
fc0702d90c fix(host): rbd snap delete (#15074) 2022-09-28 15:25:07 +08:00
wanyaoqi
59fd4f61be fix(region): host health use sync map (#15067)
* fix(region): host health use sync map

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

* fix auto migrate on host shutdown

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-28 14:12:46 +08:00
Zexi Li
5e6935bc3a fix(cloudcommon): notify event of specific resources (#15091) 2022-09-28 13:01:03 +08:00
wanyaoqi
2785f49cf9 fix(region,host): guest add power states (#15031)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-28 07:55:45 +08:00
Zexi Li
3fcd994743 fix(host): out of range when list GPU devices (#15080) 2022-09-28 07:53:08 +08:00
屈轩
a3297e71c2 fix(climc): add debug for esxicli (#15059) 2022-09-27 21:20:34 +08:00
Davidzkeng
bbaaf2da7e Feature/floppy (#15008)
* feat(region,host): add floppy,mult cdrom

* fix floppy-device

Co-authored-by: huangzekeng <huangzekeng@grgbanking.com>
2022-09-27 21:15:52 +08:00
Zexi Li
3a9f2de4ee fix(monitor): not depend taskman to execute async task (#15065) 2022-09-27 21:14:41 +08:00
Zexi Li
ecd7e81887 fix(cloudcommon): invoke model.PostUpdate when differences exist (#15070) 2022-09-27 21:11:26 +08:00
屈轩
6e1d1bd4a6 fix(cloudid): azure clouduser (#15068) 2022-09-27 21:09:01 +08:00
屈轩
9d2cb819de fix(region): secgroup rule sync (#15075) 2022-09-27 21:07:41 +08:00
屈轩
71fcf3ee88 fix(cloudmon): remove special characters (#15062) 2022-09-27 21:03:52 +08:00
Zexi Li
f0d381bc25 Merge pull request #15053 from wanyaoqi/feat/windows-setup-telegraf
feat(host): deploy telegraf in windows guest
2022-09-27 11:29:46 +08:00
wanyaoqi
3c7ddc7f53 fix(host): usb kbd command line (#15056)
add machine usb command first

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

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-27 09:27:41 +08:00
wanyaoqi
23803968c9 feat(host): deploy telegraf in windows guest
depends on telegraf service install command.
2022-09-26 18:08:31 +08:00
Zexi Li
b475d3c8c9 Merge pull request #15033 from wanyaoqi/fix/migrate-forecase-add-rescue-mode
fix(region): migrate forecase add rescue mode
2022-09-26 15:22:21 +08:00
Zexi Li
df9b0bb679 Merge pull request #15044 from ioito/hotfix/qx-proxmox-feat
fix(climc): feature config
2022-09-26 15:21:55 +08:00
Zexi Li
0a372612dd Merge pull request #15051 from zexi/automated-cherry-pick-of-#15050-upstream-master
Automated cherry pick of #15050: feat(region): is_baremetal option for storage list
2022-09-26 15:20:13 +08:00
Zexi Li
28f8dd886d feat(region): is_baremetal option for storage list 2022-09-26 15:12:44 +08:00
Zexi Li
7397d23c4e Merge pull request #15048 from ioito/hotfix/qx-influx-query
fix(monitor): influx query
2022-09-26 15:04:44 +08:00
ioito
3f7e684ddc fix(monitor): influx query 2022-09-26 15:01:03 +08:00
Zexi Li
aa84e7894d Merge pull request #15046 from ioito/hotfix/qx-monitor-misc
Hotfix/qx monitor misc
2022-09-26 14:05:57 +08:00
小林仔
52fa73a631 support simple query 2022-09-26 13:27:49 +08:00
ioito
d69c691f13 fix(climc): feature config 2022-09-23 18:04:26 +08:00
Zexi Li
3b8bacf83c Merge pull request #15041 from ioito/hotfix/qx-cloud-group-role
fix(cloudid): role obs iam
2022-09-23 17:05:55 +08:00
ioito
7e891276c0 fix(cloudid): role obs iam 2022-09-23 16:47:22 +08:00
Zexi Li
66b6ee8d85 Merge pull request #15039 from swordqiu/hotfix/qj-host-cpu-architecture
fix: ihost add cpu_architecture interface
2022-09-23 16:07:31 +08:00
QIU Jian
cc48804901 fix: ihost add cpu_architecture interface 2022-09-23 14:47:18 +08:00
wanyaoqi
79dfa27ca5 fix(host): live migrate optimize (#14996)
- support set live migrate bandwidth
- support cancel migrate
- live migrate enable multifd
- cancel set live migrate max downtime in init live migrate
- save and sync guest desc and start script on sync config
- init machine pci addresses on load guest desc
- load memory devices for guests not init pci addresses
- attach network set upscript and downscript
- add a guest launcher for redirect qemu stdout/stderr
- start monitor on guest script start
- fix guest hotplug cpu and mem not update desc
2022-09-23 14:09:33 +08:00
Jian Qiu
8d077e2a88 fix: splitable duplicate records (#15032)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-09-23 14:09:00 +08:00
屈轩
194ab2dc89 fix(region): avoid panic when show dns zone (#15035) 2022-09-23 13:52:36 +08:00
wanyaoqi
cf7e733326 fix(region): migrate forecase add rescue mode
Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2022-09-23 10:50:09 +08:00
Zexi Li
8fa37ac7e3 Merge pull request #15022 from swordqiu/hotfix/qj-esxi-save-image-failed
fix: esxi save image fail
2022-09-23 10:12:37 +08:00
Zexi Li
c18c4f71ac Merge pull request #15028 from ioito/hotfix/qx-huawei-obs-iam
fix(cloudid): obs iam
2022-09-23 10:10:53 +08:00
ioito
b36fca2c92 fix(cloudid): obs iam 2022-09-22 22:57:03 +08:00
Zexi Li
b7863c882c Merge pull request #15024 from gouqi11/hcso-modelarts-monitor
HCSO modelarts monitor
2022-09-22 20:42:25 +08:00
mhf
17169e9d0d delete huaweiClient 2022-09-22 18:35:27 +08:00
Qiu Jian
cd535f73d1 fix: esxi save image fail 2022-09-22 02:07:51 +08:00
Zexi Li
7036382854 Merge pull request #15018 from gouqi11/hcso-modelarts
add hcso modelarts
2022-09-21 20:56:18 +08:00
mhf
7b3eabfd39 resert endpoint 2022-09-21 17:48:56 +08:00
Zexi Li
c2d505f1c5 Merge pull request #15013 from ioito/hotfix/qx-system-tags
fix(region): qcloud and google system tag
2022-09-21 14:25:29 +08:00
mhf
bac407a65c add hcso modelarts 2022-09-21 13:56:46 +08:00
屈轩
5730d98511 fix(region): hcso duplicate role (#14999) 2022-09-20 22:43:33 +08:00
Zexi Li
c2c9ce8ccf Merge pull request #15011 from gouqi11/addAKSK
add hcso aksk
2022-09-20 20:25:53 +08:00
mhf
0268e73569 add hcso aksk 2022-09-20 20:13:50 +08:00
Zexi Li
dab6ffde65 Merge pull request #15015 from ioito/hotfix/qx-vm-host-metric
fix(hostman): host and vm metric id
2022-09-20 18:41:27 +08:00
Zexi Li
30b8168343 Merge pull request #15009 from ioito/hotfix/qx-cloudid-error
fix(cloudid): clear cloudid error
2022-09-20 18:39:59 +08:00
ioito
7ff1c4c3fd fix(hostman): host and vm metric id 2022-09-20 18:03:01 +08:00
ioito
db75092c22 fix(region): qcloud and google system tag 2022-09-20 17:54:08 +08:00
ioito
0f2c5f12a4 fix(cloudid): clear cloudid error 2022-09-20 14:44:37 +08:00
Zexi Li
eb712a088f Merge pull request #15006 from zexi/automated-cherry-pick-of-#15005-upstream-master
Automated cherry pick of #15005: fix(climc): always net vlan_id to 1 when updating network
2022-09-20 10:46:36 +08:00
Zexi Li
5aac03c01c fix(climc): always net vlan_id to 1 when updating network 2022-09-20 10:45:38 +08:00
Zexi Li
a7daf2065f Merge pull request #15003 from zexi/automated-cherry-pick-of-#15002-upstream-master
Automated cherry pick of #15002: feat(baremetal,region): support disable_image_cache for baremetalagent
2022-09-20 10:29:43 +08:00
Zexi Li
ecf61f6ea0 feat(baremetal,region): support disable_image_cache for baremetalagent 2022-09-20 10:04:54 +08:00
屈轩
fc563cc540 fix(cloudmon): unified metric id with resource id (#14997) 2022-09-19 22:53:41 +08:00
Zexi Li
eaf2294bf7 Merge pull request #14954 from wanyaoqi/feat/check-gpfs-mountpoint-is-local
feat(region,host): check disk type of gpfs mountpoint
2022-09-19 22:28:50 +08:00
Zexi Li
f762132f47 Merge pull request #14987 from gouqi11/modelartsCreateFix
fix modelarts create bug
2022-09-19 21:23:17 +08:00
mhf
a31ed4d14b fix modelarts create bug 2022-09-19 19:42:23 +08:00
Zexi Li
7e660c60a1 Merge pull request #14889 from IxaKylin/support-pve2
support pve
2022-09-19 10:33:20 +08:00
屈轩
213dfd87e4 fix(region): cloudaccount options (#14990) 2022-09-17 19:38:06 +08:00
Mig Yang
fb39a8aaf1 support pve 2022-09-17 09:43:19 +08:00
wanyaoqi
dd38722779 feat(region,host): check disk type of gpfs mountpoint
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-16 18:27:00 +08:00
Zexi Li
ac3b54d7b3 Automated cherry pick of #14979: fix(monitor,region,climc): use commonalert api for scaling policy (#14986)
* fix(monitor,region,climc): use commonalert api for scaling policy

* fix(monitor): use commonalert as nodealert's backend
2022-09-16 10:34:52 +08:00
Zexi Li
b793051b36 Merge pull request #14974 from ioito/hotfix/qx-azure-win-disk-usage
fix(cloudmon): azure windows disk usage
2022-09-16 03:06:14 +08:00
Zexi Li
159942ceb1 Merge pull request #14985 from swordqiu/hotfix/qj-update-readme-with-heml-installation
fix: update README for helm installation
2022-09-16 03:05:32 +08:00
Qiu Jian
63d33c49b3 fix: update README for helm installation 2022-09-15 23:14:46 +08:00
wanyaoqi
8ac6004b84 fix(host): get gpu qemu params (#14981)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-15 22:48:06 +08:00
Zexi Li
7faa32dfa7 Merge pull request #14983 from gouqi11/modelartsBugFix
bugfix(modelarts)
2022-09-15 21:41:56 +08:00
mhf
dea296172a modelartsBugFix 2022-09-15 21:22:40 +08:00
Zexi Li
c6b99377eb Merge pull request #14980 from zexi/hostmetrics-nic
fix(host): hostmetrics nics
2022-09-15 01:25:39 +08:00
Zexi Li
7977d78898 fix(host): hostmetrics nics 2022-09-15 01:24:56 +08:00
Zexi Li
33a9cc1d1c fix(host): no vm_scaling_group_id in hostmetrics (#14977) 2022-09-15 01:16:35 +08:00
ioito
153d43348d fix(cloudmon): azure windows disk usage 2022-09-14 19:40:25 +08:00
Zexi Li
6c7de082fd Merge pull request #14972 from gouqi11/modelarts-t
modelarts
2022-09-14 16:00:38 +08:00
Zexi Li
4b9f32e03f Merge pull request #14962 from ioito/hotfix/qx-azure-disk-used-percent
fix(region): azure win disk usage percent
2022-09-14 10:11:59 +08:00
Zexi Li
cfdb90b84e Merge pull request #14949 from wanyaoqi/fix/generate-pci-address
fix(host): generate pci address for guests created
2022-09-14 10:10:34 +08:00
Zexi Li
4d70b3d5ec Merge pull request #14965 from zexi/automated-cherry-pick-of-#14964-upstream-master
Automated cherry pick of #14964: fix(monitor): alert resource not recorverd
2022-09-14 10:05:41 +08:00
Zexi Li
c50b494d01 Merge pull request #14967 from swordqiu/hotfix/qj-set-vfs-cache-pressure
fix: set vfs_cache_pressure to 350
2022-09-14 01:05:42 +08:00
mhf
4f1a1f67b0 modelarts 2022-09-13 20:07:55 +08:00
Qiu Jian
6db8d62834 fix: set vfs_cache_pressure to 350 2022-09-13 16:18:24 +08:00
Zexi Li
ce27f26404 fix(monitor): alert resource not recorverd 2022-09-13 13:44:58 +08:00
ioito
46725d8ba1 fix(region): azure win disk usage percent 2022-09-13 10:34:16 +08:00
Zexi Li
5fd3cad876 Merge pull request #14959 from swordqiu/hotfix/qj-remove-irrelevant-common-options
fix: remove irrelevant common options
2022-09-13 08:56:46 +08:00
Zexi Li
b764f55c43 Merge pull request #14961 from swordqiu/feature/qj-climc-parallel-test
feature(climc): climc parallel test tools
2022-09-13 08:55:22 +08:00
Qiu Jian
d266863d17 feature(climc): climc parallel test tools 2022-09-13 01:49:44 +08:00
Qiu Jian
8654a70876 fix: remove irrelevant common options 2022-09-12 18:22:18 +08:00
Zexi Li
58568f4ddc fix(baremetal): clean UEFI info for baremetal host (#14957) 2022-09-12 18:20:03 +08:00
Zexi Li
1fa3ba7e4f Merge pull request #14952 from wanyaoqi/fix/check-existing-path
fix(region): format and check existing path
2022-09-09 10:01:05 +08:00
Zexi Li
ade6cb6c03 Merge pull request #14950 from wanyaoqi/fix/qga-set-password
fix(region): check qga set password username is equal login_account
2022-09-09 10:00:45 +08:00
wanyaoqi
9459ad7e61 fix(host): generate pci address for guests created
Generate pci addresses for guests create before structure desc.
Read guest pci info from qmp query-pci command and fill guest
description.
Guest desc add field AnonymousPCIDevs to save unidentified pci devices
address.
2022-09-08 20:36:42 +08:00
wanyaoqi
494e13d68a fix(region): format and check existing path
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-08 20:22:11 +08:00
wanyaoqi
9f38fced2c fix(region): check qga set password username is equal login_account
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-08 18:00:58 +08:00
Zexi Li
5b8d97c8f3 Merge pull request #14947 from zexi/automated-cherry-pick-of-#14946-upstream-master
Automated cherry pick of #14946: fix(region): gpu_models in capabilities' response
2022-09-08 14:05:38 +08:00
Zexi Li
9b14edfc9c fix(region): gpu_models in capabilities' response 2022-09-08 13:04:46 +08:00
Zexi Li
fd1e30f4fc Merge pull request #14927 from wanyaoqi/feat/set-password
feat(region): set password use same interface
2022-09-07 10:48:25 +08:00
Zexi Li
8f73e2c19d fix(scheduler): testing failed (#14943) 2022-09-07 10:47:54 +08:00
Zexi Li
1e8368a568 Merge pull request #14922 from ioito/hotfix/qx-secgroup-rule
fix(region): secgroup rule sync
2022-09-07 10:47:17 +08:00
Zexi Li
ae98c15b68 Merge pull request #14933 from swordqiu/hotfix/qj-fail-to-create-ceph-disk
fix: fail to create ceph disk, missing disk credential
2022-09-07 10:38:28 +08:00
Zexi Li
0a25ef8fe2 Merge pull request #14930 from ioito/hotfix/qx-cloudprovider-project-id
fix(region): cloudprovider tenant id
2022-09-07 10:37:48 +08:00
Zexi Li
caebf1e37c Merge pull request #14935 from swordqiu/hotfix/qj-agent-pull-system-scope
fix: agent pull list with system scope
2022-09-07 10:36:54 +08:00
Zexi Li
0fc852c543 Merge pull request #14939 from swordqiu/hotfix/qj-add-hsts-header-if-tls-enabled
fix: add HSTS (RFC 6797) header if TLS enabled
2022-09-07 10:36:17 +08:00
Qiu Jian
7a0a3a47f7 fix: add HSTS (RFC 6797) header if TLS enabled
https://www.tenable.com/plugins/nessus/142960
2022-09-07 07:48:41 +08:00
Qiu Jian
4fdf5b91fc fix: agent pull list with system scope 2022-09-07 00:43:15 +08:00
Qiu Jian
3c5eb43504 fix: fail to create ceph disk, missing disk credential 2022-09-07 00:37:18 +08:00
ioito
24c35579f2 fix(region): cloudprovider tenant id 2022-09-06 20:25:48 +08:00
Zexi Li
f78a9a7fb7 Merge pull request #14925 from zexi/automated-cherry-pick-of-#14924-upstream-master
Automated cherry pick of #14924: fix(scheduler): fill storage and network results
2022-09-06 19:59:53 +08:00
wanyaoqi
10bf6e574f feat(region): set password use same interface
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-06 15:51:29 +08:00
Zexi Li
33e70266b0 fix(scheduler): fill storage and network results 2022-09-06 12:04:23 +08:00
wanyaoqi
a4e9f86c2a feat(region,host): deploy telegraf (#14915)
Support deploy telegraf on server deploy.
Add start telegraf on guest reboot crontab in guest os.
2022-09-06 00:13:20 +08:00
Zexi Li
05af5310a6 Merge pull request #14920 from ioito/hotfix/qx-aliyun-redis-metric
fix(cloudmon): aliyun redis metric
2022-09-05 17:08:50 +08:00
ioito
f4f932210f fix(cloudmon): aliyun redis metric 2022-09-05 16:28:36 +08:00
Zexi Li
df4113bf1d Merge pull request #14916 from swordqiu/hotfix/qj-ldap-search-with-pagination
fix(keystone): ldap search with pagination
2022-09-05 16:16:39 +08:00
Zexi Li
07d6ae5d5c Merge pull request #14691 from ykdh/feature/implement-dnszonefile
feat(region): dns records convert to zone file
2022-09-05 16:15:06 +08:00
ioito
99e96ad80e fix(region): secgroup rule sync 2022-09-05 16:03:33 +08:00
Qiu Jian
c4343673e5 fix(keystone): ldap search with pagination 2022-09-04 19:11:54 +08:00
Jian Qiu
13d882d8d9 feature: webhook support notification of user update (#14912)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-09-04 05:04:11 +08:00
ykdh
d8c758bdf4 feat(region): dns records convert to zone file 2022-09-03 10:46:52 +08:00
Zexi Li
20ea3d5e78 Merge pull request #14910 from ioito/hotfix/qx-metric-tag
fix(cloudmon): server metric tag
2022-09-02 18:08:51 +08:00
ioito
63e2e1fa4e fix(cloudmon): server metric tag 2022-09-02 18:02:07 +08:00
Zexi Li
f02b6c17ae Merge pull request #14908 from ioito/hotfix/qx-incloudsphere-host-type
fix(region): incloudsphere host type
2022-09-02 12:13:08 +08:00
Zexi Li
568920f8e4 Merge pull request #14903 from ioito/hotfix/qx-alert-history
fix(cloudmon): alert history
2022-09-02 12:11:27 +08:00
Zexi Li
e6f7954831 Merge pull request #14901 from ioito/hotfix/qx-qcloud-redis-metric
fix(cloudmon): qcloud redis metric
2022-09-02 10:45:31 +08:00
ioito
98161827ba fix(region): incloudsphere host type 2022-09-02 10:13:11 +08:00
Jian Qiu
d19c394d14 fix: allow update server pending deleted at (#14905)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-09-02 10:05:11 +08:00
bqyang
5b92f78518 test(radix_test.go): refactor TestRadixNode func make it more tidy (#14885) 2022-09-01 20:32:34 +08:00
ioito
fab139fa33 fix(cloudmon): alert history 2022-09-01 19:26:26 +08:00
ioito
43da1a140b fix(cloudmon): qcloud redis metric 2022-09-01 15:39:23 +08:00
Jian Qiu
598d0800dd fix: support huawei sms service (#14895)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-09-01 14:49:17 +08:00
Zexi Li
05bbb3d135 Merge pull request #14897 from ioito/hotfix/qx-distinct-sku
fix(region): support distinct sku by name
2022-09-01 12:07:40 +08:00
Zexi Li
d2abdee42c Merge pull request #14899 from ioito/hotfix/qx-metric-desc
fix(cloudmon): 添加监控指标描述信息
2022-09-01 12:03:00 +08:00
ioito
ce1edbabd9 fix(cloudmon): 添加监控指标描述信息 2022-09-01 11:54:26 +08:00
ioito
5dd040dd2d fix(region): support distinct sku by name 2022-09-01 10:31:45 +08:00
Zexi Li
fa3de0b117 Merge pull request #14891 from ioito/hotfix/qx-aws-error
fix(region): aws not found error
2022-08-31 20:59:54 +08:00
Zexi Li
3f1327c034 Merge pull request #14893 from ioito/hotfix/qx-aliyun-k8s-metric
fix(cloudmon): k8s metric
2022-08-31 20:59:09 +08:00
ioito
01cf4864b4 fix(cloudmon): k8s metric 2022-08-31 17:44:17 +08:00
Jian Qiu
85ec1ef5d8 feature(host-deployer): support neokylin (#14886)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-31 11:21:11 +08:00
ioito
4c141520e1 fix(region): aws not found error 2022-08-31 10:02:20 +08:00
Zexi Li
117a8674a8 Merge pull request #14883 from ioito/hotfix/qx-bucket-redis-metric
fix(cloudmon): bucket and redis metric
2022-08-30 19:42:08 +08:00
ioito
725442b68e fix(cloudmon): bucket and redis metric 2022-08-30 19:17:13 +08:00
Jian Qiu
811da33f20 fix(notify): fail to create deleted contacts (#14881)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-30 17:59:23 +08:00
Zexi Li
8b52a4a577 Merge pull request #14879 from ioito/hotfix/qx-qcloud-k8s-metric
fix(cloudmon): qcloud k8s metric
2022-08-30 17:34:16 +08:00
ioito
53557b09fb fix(cloudmon): qcloud k8s metric 2022-08-30 17:20:38 +08:00
Zexi Li
47ff4eb2b7 Merge pull request #14877 from ioito/hotfix/qx-azure-win-metric
fix(cloudmon): azure windows metric
2022-08-30 14:24:07 +08:00
Zexi Li
6c9326ad96 Merge pull request #14869 from ioito/hotfix/qx-hw-provider-desc
fix(region): show huawei cloudprovider with region name
2022-08-30 14:19:46 +08:00
ioito
e3ccad74c2 fix(cloudmon): azure windows metric 2022-08-30 12:38:40 +08:00
Zexi Li
52b536164e Merge pull request #14854 from wanyaoqi/fix/host-get-free-pots
fix(host): get unused port
2022-08-30 11:37:14 +08:00
Zexi Li
b4c3c40112 Merge pull request #14841 from wanyaoqi/feat/qga
feat(region,host): qga set user password
2022-08-30 11:35:53 +08:00
Zexi Li
4b5bd303c6 Merge pull request #14867 from ioito/hotfix/qx-cloudid-redirect-url
fix(cloudid): support redirect url for qcloud aliyun and aws
2022-08-30 11:35:12 +08:00
Zexi Li
bd7a744042 Merge pull request #14855 from ioito/hotfix/qx-aws-enable-monitor-agent
fix(region): support enable aws monitor agent
2022-08-30 11:34:38 +08:00
Zexi Li
2aa1dfe76b Merge pull request #14873 from swordqiu/hotfix/qj-policy-cache-aotmic-ops
fix: policy cache get/set with atomic ops
2022-08-30 11:33:47 +08:00
Zexi Li
a0a24ce1ee Merge pull request #14875 from ioito/hotfix/qx-hw-metric
fix(cloudmon): huawei metric pull
2022-08-30 11:33:21 +08:00
ioito
62852c25bf fix(cloudmon): huawei metric pull 2022-08-30 11:10:01 +08:00
Qiu Jian
60a2a3aa9d fix: policy cache get/set with atomic ops 2022-08-30 07:31:00 +08:00
ioito
04e0334b5e fix(region): show huawei cloudprovider with region name 2022-08-29 20:28:58 +08:00
ioito
a185c5d8b5 fix(cloudid): support redirect url for qcloud aliyun and aws 2022-08-29 19:56:43 +08:00
屈轩
ee14c4e1d2 fix(region): jdcloud misc (#14863) 2022-08-29 18:09:34 +08:00
Jian Qiu
f3ecde64cf fix: add password info to server vnc info (#14861)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-29 18:08:51 +08:00
wanyaoqi
a4413b92e1 fix(host): compare desc cdrom (#14860)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-29 17:23:04 +08:00
Jian Qiu
872feb5484 feature: verify user with sms code (#14858)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-29 15:39:18 +08:00
Zexi Li
5261a80df5 Merge pull request #14851 from swordqiu/feature/qj-auth-with-sms
feature: auth user with sms code
2022-08-29 10:50:21 +08:00
ioito
0f45253a3b fix(region): support enable aws monitor agent 2022-08-29 10:46:11 +08:00
wanyaoqi
525daa0e53 fix(host): get unused port
add sync map avoid use the same port repeatedly.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-28 23:00:30 +08:00
wanyaoqi
1570b17eb3 fix: gen copyright
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-28 13:52:25 +08:00
wanyaoqi
b4a347f237 feat(qga): add server-qga-command
usage:
climc server-qga-command <ID> <QGA_RAW_COMMAND>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-28 13:51:21 +08:00
wanyaoqi
63b30cef60 feat(region,host): qga set user password
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-28 13:51:21 +08:00
Qiu Jian
be2c26ad99 feature: verify user with sms code 2022-08-28 12:28:24 +08:00
wanyaoqi
354b9c49dc fix(host): fix panic on change cdrom succ (#14842)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-27 06:57:54 +08:00
wanyaoqi
d3a6f033f4 fix(region): update host cpu_reserved on reserve cpus (#14847)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-27 06:57:15 +08:00
Zexi Li
b8fe67cf8e Merge pull request #14752 from ioito/feat/qx-metric-refactor
refactor(cloudmon): metric collect
2022-08-26 19:39:57 +08:00
ioito
2e94335a2f refactor(cloudmon): metric collect 2022-08-26 19:28:07 +08:00
Zexi Li
1a5a82653b Merge pull request #14844 from wanyaoqi/feature/usb-controller-type-ehci
feat(region,host): custom usb controller type
2022-08-26 17:10:16 +08:00
wanyaoqi
89a04fc125 feat(region,host): custom usb controller type
support usb controller type: qemu-xhci, usb-ehci.
qemu-xhci is much more virtualization-friendly when compared to EHCI and UHCI.
but guest supports XHCI which should be the case for any operating system
released around 2010 or later.
So sometimes wo need use usb controller type EHCI.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-26 11:58:44 +08:00
Zexi Li
7f244f9d36 Merge pull request #14839 from ioito/hotfix/qx-k8s-version
fix(region): api version for k8s
2022-08-25 14:27:12 +08:00
ioito
9d200d5805 fix(region): api version for k8s 2022-08-25 14:16:42 +08:00
Zexi Li
9b5fa4d2c3 Merge pull request #14836 from swordqiu/hotfix/qj-remove-apiversion-param
fix: remove apiversion param from session
2022-08-25 10:24:57 +08:00
Zexi Li
78a8cff7a5 Merge pull request #14828 from ioito/hotfix/qx-billing-cycle
fix(region): billing cycle
2022-08-25 10:23:17 +08:00
Zexi Li
e19aa4bb0a Merge pull request #14831 from ioito/hotfix/qx-k8s-cluster-purge
fix(region): k8s purge when deleted
2022-08-25 10:22:43 +08:00
Zexi Li
802673912f Merge pull request #14834 from ioito/hotfix/qx-apsara-instance-id
fix(region): apsara instance id
2022-08-25 10:22:03 +08:00
QIU Jian
293afd2e69 fix: remove apiversion param from session 2022-08-25 09:43:50 +08:00
ioito
724ea55e74 fix(region): apsara instance id 2022-08-24 19:39:13 +08:00
Zexi Li
c6f557fd68 Merge pull request #14833 from gouqi11/automated-cherry-pick-of-#14713-upstream-master
Automated cherry pick of #14713: 添加mongodb最大链接数、所用磁盘占比等、、、
2022-08-24 18:42:44 +08:00
mhf
389ddfd995 添加mongodb最大链接数、所用磁盘占比等、、、 2022-08-24 17:39:30 +08:00
wanyaoqi
48ce4b31cd feat(host): describe pci controller and devices in guest desc (#14826)
- describe pci controller and devices in guest desc.
- extend pcie bus and pcie-to-pci bridge and root ports, disks and
nics default attach to pci-bridge for support hotplug.
- generate pci address on guest starts
- live guest desc for running guest, and save source desc

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

Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2022-08-24 16:33:42 +08:00
ioito
031b768216 fix(region): k8s purge when deleted 2022-08-24 16:03:59 +08:00
ioito
f221184bbf fix(region): billing cycle 2022-08-24 11:19:37 +08:00
Zexi Li
a971f89849 Merge pull request #14817 from swordqiu/hotfix/qj-disable-cloud-mon-ping-probe
fix(cloudmon): allow disable ping probe
2022-08-22 17:09:01 +08:00
Zexi Li
7b88abf859 Merge pull request #14822 from ioito/hotfix/qx-cloud-env-filter
fix: cloud_env options
2022-08-22 17:03:28 +08:00
ioito
137282cae8 fix: cloud_env options 2022-08-19 17:05:29 +08:00
Zexi Li
1e1084a7d8 Merge pull request #14820 from zexi/automated-cherry-pick-of-#14819-upstream-master
Automated cherry pick of #14819: fix(region): choose storage when no medium specified
2022-08-19 14:42:28 +08:00
Zexi Li
dec7d6cc38 fix(region): choose storage when no medium specified 2022-08-19 14:41:23 +08:00
Qiu Jian
bfdcfce287 fix(cloudmon): allow disable ping probe 2022-08-19 10:38:00 +08:00
Zexi Li
abce3a980d Merge pull request #14811 from swordqiu/hotfix/qj-host-mem-commit-bound-typo
fix: host mem_commit_bound typo
2022-08-18 17:14:09 +08:00
Zexi Li
fc5cb6f829 Merge pull request #14814 from gouqi11/orderbyguest
order-by-guest-count
2022-08-18 11:10:12 +08:00
mhf
53388d08a3 order-by-guest-count 2022-08-18 09:49:18 +08:00
QIU Jian
6c45b3788b fix: host mem_commit_bound typo 2022-08-18 01:38:38 +08:00
Zexi Li
24679a56ee Merge pull request #14807 from ioito/hotfix/qx-climc-options
fix(climc): options for network address
2022-08-17 16:16:20 +08:00
ioito
ab894cee43 fix(climc): options for network address 2022-08-17 16:13:44 +08:00
Zexi Li
26531e4504 Merge pull request #14801 from swordqiu/feature/qj-oidc-sp-init-logout-support
feature(apigateway): SP-initiated logout
2022-08-17 10:40:28 +08:00
Zexi Li
e6ad9f62a0 Merge pull request #14766 from ioito/hotfix/qx-onpremise-filter-options
fix(region): add cloud_env filter options for network address
2022-08-17 10:40:03 +08:00
Zexi Li
2eddb76f66 Merge pull request #14805 from gouqi11/privateConnection
阿里云内网connectionStr
2022-08-17 10:39:35 +08:00
Jian Qiu
8f2d7a2cfa fix: add host-type-count climc subcommand (#14798)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-16 19:04:44 +08:00
Jian Qiu
4ccf115bb2 fix: allow start vm on raspberry pi 4 (#14762)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-16 19:03:56 +08:00
mhf
919cf2d397 阿里云内网connectionStr 2022-08-16 11:50:31 +08:00
Qiu Jian
faf204c01c feature(apigateway): SP-initiated logout 2022-08-16 00:41:53 +08:00
Zexi Li
6a7a70faf3 Merge pull request #14788 from ioito/feat/qx-metric-interface
fix(region): add interface for metric
2022-08-12 08:48:29 +08:00
Zexi Li
ae4e38d2a0 Merge pull request #14787 from ioito/hotfix/qx-incloudsphere-resize-disk
fix(region): incloudsphere resize disk
2022-08-12 08:47:19 +08:00
Zexi Li
d95869552e Merge pull request #14782 from ioito/hotfix/qx-huawei-lb-rule-sync
fix(region): huawei lb rule sync
2022-08-12 08:46:15 +08:00
Zexi Li
4f56d8f3a2 Merge pull request #14792 from ioito/hotfix/qx-secgroup-sync-rule
fix(region): secgroup rule sync
2022-08-12 08:45:31 +08:00
Zexi Li
feffbce440 Merge pull request #14795 from gouqi11/add-guestSourt
虚拟机、磁盘排序与过滤
2022-08-12 08:44:55 +08:00
mhf
ae92b25707 虚拟机、磁盘排序与过滤 2022-08-11 19:23:10 +08:00
ioito
f550c229db fix(region): secgroup rule sync 2022-08-11 18:32:39 +08:00
wanyaoqi
82d5be2096 feat(region): add virtio vga type support (#14785)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-11 18:00:17 +08:00
Jian Qiu
5b26125806 feature: model manager dispatcher (#14780)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-11 14:30:04 +08:00
ioito
ec1635b57b fix(region): add interface for metric 2022-08-11 14:28:35 +08:00
ioito
45f05bdfa3 fix(region): incloudsphere resize disk 2022-08-11 11:34:59 +08:00
ioito
f621e23cd4 fix(region): huawei lb rule sync 2022-08-11 09:47:10 +08:00
wanyaoqi
61263ce585 fix(host): host desc missing security rulers (#14779)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-10 00:43:21 +08:00
Zexi Li
9ccfdec444 Merge pull request #14763 from swordqiu/feature/qj-parameter-edit-util
feature: parameter edit util
2022-08-09 12:08:46 +08:00
Zexi Li
27e9818afc Merge pull request #14770 from gouqi11/UsedTimeFixed
修改getYears,getMonth顺序bug
2022-08-09 12:07:04 +08:00
Jian Qiu
48a9d0e5d3 fix: no log for storage enable/disable (#14768)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-08-09 08:58:53 +08:00
wanyaoqi
af2e65a5c2 fix(host): uefi boot firmwaire use pflash options (#14756)
option '-bios OVMF.fd' accidental hang on uefi boot.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-08 22:41:04 +08:00
Zexi Li
3c14a6c7a1 Merge pull request #14767 from Davidzkeng/fix/oidc_redirect
fix(apigateway): edit http redirect code 301 to 302
2022-08-08 19:55:56 +08:00
mhf
17b74ddae4 修改getYears,getMonth顺序bug 2022-08-08 17:32:57 +08:00
huangzekeng
3230ad06a9 fix(apigateway): edit http redirect code 301 to 302 2022-08-08 13:50:16 +08:00
Zexi Li
932c1a4b3b Merge pull request #14765 from ioito/hotfix/qx-incloudsphere-image-size
fix(region): incloudsphere create image size
2022-08-08 11:48:22 +08:00
ioito
71d675d510 fix(region): incloudsphere create image size 2022-08-08 11:34:00 +08:00
ioito
321b31b797 fix(region): add cloud_env filter options for network address 2022-08-08 10:48:45 +08:00
Qiu Jian
fdfebf2710 feature: parameter edit util 2022-08-07 17:47:51 +08:00
Jian Qiu
ad8b7308d4 fix: opsadmin no log permission (#14759)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-07 11:56:20 +08:00
Zexi Li
5887141998 Merge pull request #14753 from wanyaoqi/fix/disk-attach-driver
fix(region): use virtio replace ide on diskattach
2022-08-05 17:52:11 +08:00
wanyaoqi
41904cc217 fix(region): use virtio replace ide on diskattach
If disk driver not assign, default use previous disk driver.
Bus windows server can't recognize hot attached 'ide' disk,
use 'virtio' replace 'ide' driver on diskattach.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-05 12:24:27 +08:00
Zexi Li
98844526f8 Merge pull request #14750 from swordqiu/hotfix/qj-dmidecode-not-working
fix: allow dmidecode not working for hostman
2022-08-05 11:41:31 +08:00
Qiu Jian
774ae6c906 fix: allow dmidecode not working for hostman 2022-08-05 01:30:35 +08:00
Zexi Li
223275d5d8 Merge pull request #14732 from ioito/hotifx/qx-apsara-bucket-size
fix(region): 避免缺失department信息导致获取bucket容量失败
2022-08-02 09:51:12 +08:00
Zexi Li
73e8ce538d Merge pull request #14743 from wanyaoqi/fix/fuse-mount-on-guest-start
fix(region,host): mount fusefs on guest start
2022-08-02 09:48:48 +08:00
Zexi Li
eaf43fbf57 Merge pull request #14734 from swordqiu/hotfix/qj-choose-host-storage-ignore-capacity
fix: choose host storage without considering storage capacity
2022-08-02 09:47:35 +08:00
Zexi Li
3ef2559c66 Merge pull request #14737 from swordqiu/hotfix/qj-climc-detach-disk-keep-disk
fix: climc detach disk ignore keep_disk param
2022-08-02 09:44:37 +08:00
Zexi Li
f36a5dbfc1 Merge pull request #14747 from ioito/hotfix/qx-incloudsphere-image
fix(region): incloudsphere image
2022-08-02 09:43:58 +08:00
ioito
de798267b6 fix(region): incloudsphere image 2022-08-01 19:35:27 +08:00
Zexi Li
989f4fd6a2 Merge pull request #14745 from zexi/automated-cherry-pick-of-#14744-upstream-master
Automated cherry pick of #14744: fix(region): sync domain_id to kubeserver
2022-08-01 13:08:12 +08:00
Zexi Li
a781b79913 fix(region): sync domain_id to kubeserver 2022-08-01 10:54:44 +08:00
wanyaoqi
b96721fc58 fix(region,host): mount fusefs on guest start
In case of host shutdown, fusefs will not mount on host reboot.
Add check and mount fusefs on guest start.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-01 10:28:57 +08:00
wanyaoqi
597adce302 fix(host): dhcp server panic on unmarshal route (#14741)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-31 11:21:18 +08:00
Qiu Jian
4b85109f36 fix: clicm detach disk ignore keep_disk param 2022-07-29 22:37:55 +08:00
Qiu Jian
f4433eb928 fix: choose host storage without considering storage capacity 2022-07-29 22:03:22 +08:00
ioito
8dbe85425a fix(region): 避免缺失department信息导致获取bucket容量失败 2022-07-29 19:54:16 +08:00
Zexi Li
85ca060ef2 Merge pull request #14731 from ioito/hotfix/qx-incloudsphere-hypervisor
fix(region): incloudsphere hypervisor
2022-07-29 18:58:46 +08:00
ioito
bebb278583 fix(region): incloudsphere hypervisor 2022-07-29 16:01:06 +08:00
Zexi Li
a5b18b51db Merge pull request #14728 from ioito/hotfix/qx-aliyun-local-storage
fix(region): sync aliyun local disk
2022-07-29 10:12:07 +08:00
Zexi Li
9b7daf0603 Merge pull request #14726 from wanyaoqi/fix/host-deployer-mount-rootfs
fix(host-deployer): mount kvm rootfs
2022-07-29 10:11:37 +08:00
Zexi Li
1283fc94d8 Merge pull request #14724 from wanyaoqi/fix/disk-change-storage
fix(region,host): disk live change storage
2022-07-29 10:10:27 +08:00
Zexi Li
f7a949b6b3 Merge pull request #14719 from wanyaoqi/fix/recode-desc2
feature(host): structure guest description
2022-07-29 10:09:45 +08:00
Zexi Li
22433c07f6 Merge pull request #14711 from wanyaoqi/feat/migrate-forecast-convert-to-kvm
feat(region): migrate forecast add convert support
2022-07-28 21:19:42 +08:00
Zexi Li
526ff3e2da Merge pull request #14723 from ioito/hotfix/qx-incloudsphere-capacity
fix(region): incloudsphere capacity
2022-07-28 21:18:58 +08:00
ioito
c545538862 fix(region): sync aliyun local disk 2022-07-28 20:52:08 +08:00
wanyaoqi
37390fc095 fix(host-deployer): mount kvm rootfs
NewAggregate return nil when len(errs) == 0.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-28 20:48:38 +08:00
wanyaoqi
08c65cc89f fix(region,host): disk change storage
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-28 18:33:54 +08:00
wanyaoqi
d4248017ae featue(host): structure guest description
Structure guest description and fix typo with json method.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-28 17:46:07 +08:00
ioito
615ba79edb fix(region): incloudsphere capacity 2022-07-28 17:32:38 +08:00
Zexi Li
35d4364ba4 Merge pull request #14720 from zexi/baremetal-ping
fix(region): baremetal host ping forbidden
2022-07-28 16:37:56 +08:00
Zexi Li
46c555cbe9 fix(region): baremetal host ping forbidden 2022-07-28 14:44:52 +08:00
Jian Qiu
07c012f929 remove circle cache (#14716)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-27 22:43:58 +08:00
Jian Qiu
6dcaa631e7 feature: add syslog webservice apis (#14714)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-27 00:19:33 +08:00
Zexi Li
2c0f701826 Merge pull request #14712 from ioito/feat/qx-incloudsphere-op
feat(region): incloudsphere operation
2022-07-26 23:03:48 +08:00
wanyaoqi
fb758a1aff chore(build): add memclean pkg required files (#14707)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-26 22:41:00 +08:00
ioito
3239bcf074 feat(region): incloudsphere operation 2022-07-26 19:07:52 +08:00
wanyaoqi
9c105c269e feat(region): migrate forecast add convert support
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-26 11:38:38 +08:00
屈轩
c5c6d55f95 fix(region): vm user data (#14705) 2022-07-26 07:28:55 +08:00
Jian Qiu
014d11e463 fix: remove circle ci store artifacts (#14708)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-26 07:28:19 +08:00
Jian Qiu
fc1a949c50 feat(region,host): mem clean after guest exited. (#14703)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Co-authored-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-25 09:17:43 +08:00
Jian Qiu
55c198982a fix: logger syslog format update (#14700)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-23 12:40:42 +08:00
Jian Qiu
b2674489e9 fix: verbose vpcagent sync error (#14698)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-23 11:21:48 +08:00
Zexi Li
29486fd50b fix(monitor): sync cache when migrated successfully (#14697) 2022-07-23 11:21:35 +08:00
屈轩
99aac9c1fb fix(region): mark cachedimage deleted (#14692) 2022-07-23 11:20:25 +08:00
Zexi Li
2a2f9bde4e Merge pull request #14645 from gouqi11/addField
对mongodb、磁盘添加IPOS字段
2022-07-22 19:10:23 +08:00
mahongfei
7a735d15b6 对mongodb、磁盘添加IPOS字段 2022-07-22 10:56:00 +08:00
Jian Qiu
7d79c4462f fix: minor fixes for creating disks from exisint file (#14686)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-20 22:16:49 +08:00
Zexi Li
98be503164 Merge pull request #14688 from ioito/hotfix/qx-huawei-idp-sso
fix(cloudid): 华为云idp sso跳转指定页面
2022-07-20 20:55:48 +08:00
ioito
ce9e45bdda fix(cloudid): 华为云idp sso跳转指定页面 2022-07-20 20:05:45 +08:00
Zexi Li
ed1e87470c Merge pull request #14680 from ioito/hotfix/qx-mobile-typo
fix(keystone): mobile typo
2022-07-20 11:45:11 +08:00
Zexi Li
efb73544bc Merge pull request #14683 from ioito/hotfix/qx-monitor
fix(monitor): avoid panic
2022-07-20 11:43:04 +08:00
ioito
3c284bc739 fix(monitor): avoid panic 2022-07-20 10:23:21 +08:00
ioito
a6de1d2c44 fix(keystone): mobile typo 2022-07-20 10:00:03 +08:00
wanyaoqi
c8c5a28675 feat(region,host): create disk from existing path (#14677)
Server create disk from existing path.

Usage:

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

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-19 20:02:10 +08:00
Zexi Li
c98e584641 feat(climc): k8s grafana db configuration (#14672) 2022-07-19 20:01:57 +08:00
Zexi Li
c7e367112f Merge pull request #14678 from zexi/update-mcclient-readme
fix(mcclient): update readme
2022-07-19 17:52:50 +08:00
Zexi Li
62acbe6752 fix(mcclient): update readme 2022-07-19 17:51:43 +08:00
Zexi Li
2c217db010 Merge pull request #14675 from ioito/hotfix/qx-default-account-cloud-init
fix(region): 默认用户注入
2022-07-19 17:09:25 +08:00
ioito
ab40285828 fix(region): 默认用户注入 2022-07-19 16:12:32 +08:00
Zexi Li
31332f7dc9 Merge pull request #14670 from zexi/automated-cherry-pick-of-#14669-upstream-master
Automated cherry pick of #14669: fix(ansibleserver): update base image to v1.1.1
2022-07-19 11:29:58 +08:00
Zexi Li
7d7e04a454 fix(ansibleserver): update base image to v1.1.1 2022-07-19 11:27:25 +08:00
Zexi Li
8ebfe45946 Merge pull request #14658 from wanyaoqi/fix/unmarshal-cpuset
fix(host): fix set cgroup unmarshal cpuset
2022-07-19 00:13:47 +08:00
屈轩
6ec1ff09ad fix(cloudid): huawei saml provider (#14664) 2022-07-18 23:03:15 +08:00
Zexi Li
7020256481 Merge pull request #14661 from ioito/hotfix/qx-azure-rds-metric
fix(cloudmon): azure rds metric
2022-07-18 21:02:37 +08:00
Zexi Li
f4a6302975 Merge pull request #14659 from ioito/hotfix/qx-azure-readonly-auth
fix(region): azure account read only
2022-07-18 20:59:06 +08:00
ioito
cb0977d6fb fix(cloudmon): azure rds metric 2022-07-18 17:00:18 +08:00
ioito
00d9b5fa59 fix(region): azure account read only 2022-07-18 15:29:02 +08:00
wanyaoqi
7c425950ed fix(host): fix set cgroup unmarshal cpuset
Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2022-07-18 13:51:28 +08:00
Zexi Li
2fd04feb06 Merge pull request #14657 from zexi/automated-cherry-pick-of-#14656-upstream-master
Automated cherry pick of #14656: update baremetal base image
2022-07-17 13:42:24 +08:00
Zexi Li
1bec4ec045 update baremetal base image 2022-07-17 13:41:01 +08:00
屈轩
1bf29f002c fix(region): hw eip associate type (#14651) 2022-07-16 13:40:31 +08:00
Jian Qiu
e12414e300 fix: make sure to call virtual functions (#14653)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-16 13:40:10 +08:00
Zexi Li
d5fbca1e4f feat(baremetal): update base image to support lvm (#14650) 2022-07-16 12:26:35 +08:00
Zexi Li
60d1fc2ca7 Merge pull request #14646 from ioito/hotfix/qx-join-filter
fix(common): pretty error msg for invalid joint filter
2022-07-15 14:59:16 +08:00
Zexi Li
8dd5478ce3 Merge pull request #14639 from wanyaoqi/feat/server-batch-convert-to-kvm
feat(climc): server batch convert to kvm
2022-07-15 10:55:27 +08:00
Zexi Li
e2c4626709 Merge pull request #14638 from wanyaoqi/feature/server-monitor-support-qmp
feat(region,host): server-monitor support qmp
2022-07-15 10:54:33 +08:00
Zexi Li
5aa2cf645a Merge pull request #14627 from wanyaoqi/fix/disable-ping-task-on-host-health-checker-enabled
fix(region): disable ping detect task
2022-07-15 10:52:12 +08:00
Zexi Li
ae4461dc1e Merge pull request #14644 from zexi/automated-cherry-pick-of-#14642-upstream-master
Automated cherry pick of #14642: fix(monitor): onecloud notifiers role_ids validation
2022-07-14 21:27:17 +08:00
ioito
69ad3c12e2 fix(common): pretty error msg for invalid joint filter 2022-07-14 20:31:42 +08:00
lzx
1122aeaa16 fix(monitor): onecloud notifiers role_ids validation 2022-07-14 18:16:21 +08:00
Zexi Li
93ea09c967 Merge pull request #14640 from ioito/hotfix/qx-google-retry
fix(region): google request retry
2022-07-14 17:41:25 +08:00
ioito
1ccee097ab fix(region): google request retry 2022-07-14 17:10:27 +08:00
wanyaoqi
7d601ebaa8 feat(climc): server batch convert to kvm
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-14 16:34:04 +08:00
wanyaoqi
e26ea2ebb3 feat(region,host): server-monitor support qmp
server-montior add qmp option, default is hmp.

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

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-14 16:17:53 +08:00
Zexi Li
0ec0a182c0 fix(monitor): balancer source specified host (#14637) 2022-07-14 12:21:51 +08:00
Jian Qiu
f214ae8913 fix: not detect arm physical nics (#14635)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-14 08:52:39 +08:00
Jian Qiu
8774311d26 fix: allow set splitable max duration (#14633)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-14 08:51:25 +08:00
Zexi Li
55d4335540 Merge pull request #14618 from ioito/hotfix/qx-apsara-storage-type
fix(region): apsara storage type
2022-07-13 18:08:04 +08:00
Zexi Li
2fbbe46409 Merge pull request #14624 from zexi/automated-cherry-pick-of-#14623-upstream-master
Automated cherry pick of #14623: feat(appsrv): pprof handler with prefix
2022-07-13 18:06:06 +08:00
Zexi Li
64a79c3d74 Merge pull request #14622 from zexi/automated-cherry-pick-of-#14621-upstream-master
Automated cherry pick of #14621: feat(monitor): common alert notify by role scope
2022-07-13 18:05:21 +08:00
Zexi Li
b6a41d9570 Merge pull request #14620 from ioito/hotfix/qx-secgroup-rule-sync
fix(region): 默认安全组规则同步问题修复
2022-07-13 18:00:08 +08:00
Zexi Li
ed2a5ea586 feat(monitor): common alert notify by role scope 2022-07-13 17:53:37 +08:00
wanyaoqi
8ff808d782 fix(region): disable ping detect task
disable ping detect host task on health checker enabled

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-13 11:09:19 +08:00
Jian Qiu
0928e67f11 fix: do not migrate memory snapshot in rescue mode (#14625)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-13 07:02:42 +08:00
Zexi Li
757f703879 feat(appsrv): pprof handler with prefix 2022-07-12 21:50:47 +08:00
ioito
50f2beb554 fix(region): 默认安全组规则同步问题修复 2022-07-12 16:39:21 +08:00
wanyaoqi
d9c042252a fix(region,host): host health reconnect etcd add timeout (#14610)
- host: host health reconnect etcd add timeout
- region: request health status use 'GET' method
- region: only migrate running guests on host down
- etcd: keepalive use background context

Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2022-07-12 10:38:17 +08:00
ioito
a328ce5d3d fix(region): apsara storage type 2022-07-12 10:33:52 +08:00
Jian Qiu
9fbbe05c6a fix: misc fixes 20220712 (#14614)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-12 08:00:57 +08:00
屈轩
9fe38b157c fix(region): huawei prepaid instance params (#14611) 2022-07-12 07:40:40 +08:00
wanyaoqi
2b8b78df76 feat(host): qemu process add threads name (#14607)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-12 06:59:22 +08:00
Zexi Li
2c1042c6bb feat(log,notify): notification of action log exceed count (#14606) 2022-07-12 06:58:46 +08:00
Jian Qiu
07997efbaa fix: add inmemory lock test for PR#14555 (#14570)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-07-08 21:54:35 +08:00
屈轩
532922d98a fix(region): apsara bucket acl (#14601) 2022-07-08 21:54:04 +08:00
Jian Qiu
5b4dcf4486 fix: recover opslog roles definition (#14603)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-08 21:53:19 +08:00
Zexi Li
01a46913e5 fix(cloudcommon): record checksum in list (#14600) 2022-07-08 21:49:05 +08:00
wanyaoqi
2a07fc1ecb fix(host): prepare guest config on state paused (#14597)
run onGuestPrelaunch on guest state paused

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-08 21:35:50 +08:00
Zexi Li
d8f9bb3d96 Merge pull request #14594 from swordqiu/hotfix/qj-host-duplicate-enable-remote-executor-option
fix: remote duplicate enable_remote_executor option
2022-07-08 11:27:33 +08:00
Zexi Li
f6f79226bb Merge pull request #14592 from zexi/automated-cherry-pick-of-#14588-upstream-master
Automated cherry pick of #14588: fix(baremetal): best effort to disable/enable serial
2022-07-08 11:03:40 +08:00
Jian Qiu
b9ed7ce58a fix: fail to sync metadata table for splitable (#14593)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-08 09:58:00 +08:00
Zexi Li
825d5cc965 Merge pull request #14590 from zexi/automated-cherry-pick-of-#14589-upstream-master
Automated cherry pick of #14589: fix(monitor): no metrics of baremetal server
2022-07-08 09:36:22 +08:00
Qiu Jian
dbda136ddc fix: remote duplicate enable_remote_executor option 2022-07-08 09:32:17 +08:00
Zexi Li
b0273b0065 fix(baremetal): best effort to disable/enable serial 2022-07-07 22:51:17 +08:00
Zexi Li
a30680fac6 fix(monitor): no metrics of baremetal server 2022-07-07 22:43:23 +08:00
wanyaoqi
02a9d84d6e fix(region, host): misc fix host health checker (#14575)
- hostagent remove option enable host health, default enabled,
  its rely on etcd endpoint register.
- add option auto migrate on host shutdown.
- fix hostman check network is available.
- use hostname instead hostId as etcd key
- init health checker before host instace init.
- refector host_health checker.

Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2022-07-07 10:28:27 +08:00
Zexi Li
8e3b09a1e2 Merge pull request #14586 from swordqiu/feature/qj-opslog-misc
fix: log admin action logs in separate logs
2022-07-07 09:36:31 +08:00
Qiu Jian
4476b9f701 fix: log admin action logs in separate logs 2022-07-07 07:36:08 +08:00
Zexi Li
5164a34a60 Merge pull request #14585 from zexi/automated-cherry-pick-of-#14584-upstream-master
Automated cherry pick of #14584: fix(notify): adjust email width of receiver to 128
2022-07-06 16:10:48 +08:00
Zexi Li
022a522a21 fix(notify): adjust email width of receiver to 128 2022-07-06 16:10:21 +08:00
Zexi Li
6a590f123e fix(host): aarch64 cpu info (#14581) 2022-07-05 16:33:00 +08:00
Jian Qiu
c7e22c7b8a fix: update vendor 20220705 (#14578)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-05 16:15:16 +08:00
Zexi Li
3b2c482764 Merge pull request #14573 from zhasm/hotfix/rex-image-tmp-name-with-timestamp
fix: add timestamp for temp docker container name during compilation
2022-07-04 16:44:00 +08:00
Zhang Dongliang
004b5e5acd fix: add timestamp for temp docker container name during compilation 2022-07-04 16:26:37 +08:00
Jian Qiu
0b11c57eca update vendor for sqlchemy update master 20220703 (#14571)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-03 12:51:23 +08:00
wanyaoqi
d51d7599d2 feat(region,host): refector guests cgroups (#14558)
* feat(region,host): refector guests cgroups

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

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

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

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

* hostman: disable cpuset balancer

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-02 18:00:48 +08:00
屈轩
182970ca66 fix(region): 修复同步dns解析不生效问题 (#14560) 2022-07-02 17:59:55 +08:00
屈轩
63933bbec4 fix(region): redis attr and disk iops (#14544) 2022-07-02 17:59:23 +08:00
Jian Qiu
e51dfc470e update vendor master 20220702 (#14568)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-02 10:32:09 +08:00
Jian Qiu
bf781bb1db fix: convert clickhouse connection string with auth info (#14566)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-02 10:13:20 +08:00
Jian Qiu
7ea8d33841 fix: convert clickhouse sqlstr from v1 to v2 (#14553)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-02 07:57:05 +08:00
Jian Qiu
5b0338f543 fix: preserve aws root account name (#14551)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-01 22:36:05 +08:00
Jian Qiu
8aecc4e547 fix: update vendor master 20220701 (#14563)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-01 21:11:47 +08:00
Jian Qiu
dfcba16fda fix: update vendor 20220701 (#14556)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-01 15:50:52 +08:00
Jian Qiu
898fd2e2c8 fix: update vendor master 20220630 (#14549)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-06-30 21:32:20 +08:00
Zexi Li
1f951a9415 Merge pull request #14546 from zexi/automated-cherry-pick-of-#14545-upstream-master
Automated cherry pick of #14545: fix(host): use alpine-build:3.16.0-go-1.18.2-0
2022-06-30 14:23:28 +08:00
Zexi Li
787f2e8dcf fix(host): use alpine-build:3.16.0-go-1.18.2-0 2022-06-30 14:22:47 +08:00
Zexi Li
966be1b1cb Merge pull request #14542 from swordqiu/hotfix/qj-fix-typo-clickhouse-db
fix: typo of clickhouse_db
2022-06-29 11:26:57 +08:00
QIU Jian
0e8f4d010e fix: typo of clickhouse_db 2022-06-29 09:38:15 +08:00
屈轩
f69e878c50 fix(region): incloudsphere host info (#14538) 2022-06-28 20:34:31 +08:00
Zexi Li
6b31de01cf fix(monitor): cpu usage score (#14540) 2022-06-28 20:34:12 +08:00
Zexi Li
dbd63bd016 Merge pull request #14537 from zexi/automated-cherry-pick-of-#14536-upstream-master
Automated cherry pick of #14536: fix(build): fatal: unsafe repository ('/root/go/src/yunion.io/x/onecl…
2022-06-28 12:13:45 +08:00
Zexi Li
a303fcc37a fix(build): fatal: unsafe repository ('/root/go/src/yunion.io/x/onecloud' is owned by someone else) 2022-06-28 11:51:09 +08:00
Jian Qiu
26089ffde0 fix: make condition eval compatible with go 1.18 (#14534)
* fix: make condition eval compatible with go 1.18

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

* update go,mod go version to 1.18

* update vendor

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-28 00:29:56 +08:00
Jian Qiu
4ad382a7bd fix: update build image (#14533)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-27 16:01:43 +08:00
Zexi Li
6794f2fdcd Merge pull request #14530 from ioito/hotfix/qx-azure-region-city
fix(region): azure region city
2022-06-27 11:34:48 +08:00
Zexi Li
6c2935cf34 Merge pull request #14529 from ioito/hotfix/qx-incloud-sphere-error
fix(region): incloudsphere error
2022-06-27 11:34:21 +08:00
ioito
c3f6b96629 fix(region): azure region city 2022-06-27 10:59:06 +08:00
ioito
2766769314 fix(region): incloudsphere error 2022-06-27 10:14:05 +08:00
Jian Qiu
84cdeff92b fix: update vendor for clickhouse v2 (#14520)
* fix: update vendor for clickhouse v2

* fix: fix go vet

* fix: unreachable codes

* fix: composite literal uses unkeyed fields

* fix: ignore bad syntax for struct tag value

* fix: use make test to do test ci job

* fix: specify circleci resource_class

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-25 15:52:15 +08:00
Jian Qiu
2e3b1f47d7 Updated config.yml 2022-06-25 08:16:22 +08:00
Jian Qiu
2a47105af3 fix: upgrade go version to 1.16 for build docker images (#14526)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-25 02:21:27 +08:00
屈轩
236c2a2ed6 feat(region): Support InCloud Sphere (#14502)
* feat(region): Support InCloud Sphere

* add: 支持认证及账号录入

* add: 支持region,zone,host资源同步

* add: 实例信息同步

* add: 存储和磁盘同步

* add: 网络信息同步
2022-06-25 00:06:37 +08:00
wanyaoqi
c7f5feca7e host_health: auto migrate on host shutdown (#14523)
Before this patch, host guests will not migrate on host manual shutdown.
This patch from k8s node status check host still on line, if node status
not ready, region will migrate guests on host.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-06-25 00:05:29 +08:00
Zexi Li
22de7780f5 Merge pull request #14517 from zexi/update-telegraf-raid-plugin
fix(telegraf-raid-plugin): release-1.6.4 image
2022-06-24 01:18:47 +08:00
Zexi Li
b739637691 fix(telegraf-raid-plugin): release-1.6.4 image 2022-06-24 00:35:11 +08:00
Zexi Li
8b009591f2 Merge pull request #14494 from ioito/hotfix/qx-cloud-init
fix(region): user data fix
2022-06-23 17:01:20 +08:00
Zexi Li
11e89f6ce2 Merge pull request #14493 from zexi/monitor-lb-migrate
feat(monitor): VMs of host loadbalance
2022-06-23 17:00:43 +08:00
Zexi Li
a409b04fa3 Merge pull request #14513 from swordqiu/hotfix/qj-host-detect-physical-nics
fix: fail to detect host physical nics
2022-06-23 16:58:09 +08:00
wanyaoqi
dc92f09d95 fix(region,host): auto migrate on host down (#14497)
* fix(region,host): auto migrate on host down

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

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

* host_health: add check network available

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

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-06-23 16:26:18 +08:00
Qiu Jian
ecd35d3678 fix: fail to detect host physical nics 2022-06-23 13:31:39 +08:00
Zexi Li
e5f01ad535 feat(monitor): VMs of host loadbalance 2022-06-23 00:25:03 +08:00
Jian Qiu
8b2a5d13ee fix: migrate failure for encrypted local vm (#14508)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-06-22 23:10:45 +08:00
Jian Qiu
9e099cf451 fix: cleanup tap flows and services for deleted guest and host (#14503)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-22 23:10:07 +08:00
Jian Qiu
cb58c16f59 fix: imageinfo.OsInfo empty (#14505)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-22 23:09:09 +08:00
Jian Qiu
91483a5028 fix: splitable auto_incremental steps should be more than 1 (in case of (#14499)
HA setup)

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-22 06:36:05 +08:00
Jian Qiu
df4321d934 fix: clickhouse set max idle connections (#14496)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-22 06:35:33 +08:00
ioito
8cdd9c77eb fix(region): user data fix 2022-06-21 20:06:06 +08:00
Jian Qiu
daf40a1481 fix(region): not delete groupnetwork when deleting guest (#14488)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-21 11:28:56 +08:00
Jian Qiu
2dfe607fbb fix: climc create aksk not return access_key (#14483)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-21 11:28:24 +08:00
Jian Qiu
ee61887eac fix: nas support create from encrypted snapshot (#14481)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-21 11:21:15 +08:00
屈轩
85bb1f0c4f feat(region): add tablestore sync (#14472) 2022-06-18 10:18:22 +08:00
Zexi Li
70214488a9 Merge pull request #14480 from swordqiu/hotfix/qj-scheduler-options-not-update
fix: scheduler options not updated by OptionManager
2022-06-17 23:32:56 +08:00
Qiu Jian
1aee43ab03 fix: scheduler options not updated by OptionManager 2022-06-17 23:10:00 +08:00
Jian Qiu
b6f80536c7 fix: tap flow check duplicity (#14478)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-16 14:15:41 +08:00
Jian Qiu
dc3c08e8fe Hotfix/qj tap service mirrorfixes2 (#14476)
* fix: no details for net_tap_flows

* fix: tap support bugfixes

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-16 02:56:18 +08:00
屈轩
5e3059d3bf fix(region): show more statistic info (#14474) 2022-06-16 02:48:25 +08:00
Zexi Li
ca19a927c7 fix(baremetal): EnableSerialConsole of UOS (#14471) 2022-06-16 02:47:20 +08:00
Jian Qiu
14e7e9603c feature: support tap service phase 2 (#14466)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-15 05:21:43 +08:00
Zexi Li
cc48edf555 feat(baremetal): wrap pxe error (#14463) 2022-06-15 04:46:49 +08:00
Zexi Li
0c2762da7f feat(climc): server-list --os-arch (#14465) 2022-06-15 04:46:23 +08:00
Jian Qiu
f1e616a671 feature: tap service support (#14433)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-14 17:23:52 +08:00
屈轩
d8b97722a4 fix(cloudmon): aliyun rds metric debug log (#14444) 2022-06-14 02:38:58 +08:00
wanyaoqi
edeffed5fe feat(region,host): support multiqueues on vhost network (#14455)
Guest network add attribute num_queues, one is default.
And we can assign queues on guest create, eg:
server-create --net num-queues=4

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

Co-authored-by: wanyaoqi <wanyaoqi@baidu.com>
2022-06-14 02:38:09 +08:00
屈轩
01399a698e fix(region): custom user data (#14449) 2022-06-14 01:51:59 +08:00
Jian Qiu
44a5951048 fix: fail to update billingresourcecheck_tbl (#14456)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-14 01:50:15 +08:00
屈轩
e2411b63ea fix(cloudevent): allow disable sync cloudevent (#14446) 2022-06-14 00:46:34 +08:00
屈轩
b99b392167 fix(region): eip sync (#14453) 2022-06-14 00:45:45 +08:00
屈轩
a6a36cb74d fix(region): aliyun readonly (#14451) 2022-06-14 00:44:33 +08:00
Jian Qiu
94319b514c fix: add CreateByInsertOrUpdate flag (#14442)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-13 02:27:22 +08:00
Jian Qiu
f6c4bb7f21 fix: keystoen cronman use uninitialized admin token (#14439)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-13 00:00:24 +08:00
Jian Qiu
6aa32e5bf5 fix: splitable add index should modify base spec (#14434)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-12 20:34:39 +08:00
Zexi Li
3bacecf00c Merge pull request #14431 from swordqiu/hotfix/qj-host-common-options-20220611
fix: move hostoptions of qemu_version and host_cpu_passthrough to base options
2022-06-11 19:34:38 +08:00
Qiu Jian
87f84477f1 fix: move hostoptions of qemu_version and host_cpu_passthrough to base
options
2022-06-11 19:23:21 +08:00
Jian Qiu
58a53d9df5 fix: manage_ntp_configuration not effective (#14426)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-11 19:16:45 +08:00
Jian Qiu
5b81fa4367 fix: update vendor 20220611 master (#14429)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-11 19:16:21 +08:00
Zexi Li
aa51950271 fix(baremetal): storcli set sysblock rotational of SSD logical volume (#14424) 2022-06-10 18:22:12 +08:00
Zexi Li
b5a95f25f4 Merge pull request #14423 from zexi/automated-cherry-pick-of-#14421-upstream-master
Automated cherry pick of #14421: fix(host): Telegraf 1.19.2 conf
2022-06-09 15:13:51 +08:00
Zexi Li
39dc05e3b0 fix(host): Telegraf 1.19.2 conf 2022-06-09 12:57:23 +08:00
Zexi Li
7b036fb497 Merge pull request #14419 from zexi/automated-cherry-pick-of-#14418-upstream-master
Automated cherry pick of #14418: fix(scheduler): check if chached image supports UEFI
2022-06-08 16:57:48 +08:00
Zexi Li
d2907bf5bf fix(scheduler): check if chached image supports UEFI 2022-06-08 16:48:41 +08:00
Zexi Li
fedaa1ebec Merge pull request #14415 from ioito/hotfix/qx-ceph-pool-size
fix(host): ceph pool size
2022-06-07 21:53:27 +08:00
ioito
f824010431 fix(host): ceph pool size 2022-06-07 17:09:09 +08:00
Zexi Li
6b5099e903 Merge pull request #14413 from ioito/hotfix/qx-climc-http-proxy
fix(climc): support proxy for climc
2022-06-07 07:57:11 +08:00
Zexi Li
1faf3d2d75 Merge pull request #14410 from ioito/hotfix/qx-api-doc-tab
fix(region): api doc replace tab to space
2022-06-06 14:37:37 +08:00
ioito
8fed88af8d fix(climc): support proxy for climc 2022-06-06 14:18:53 +08:00
ioito
6f6f9590da fix(region): api doc replace tab to space 2022-06-06 11:30:44 +08:00
Zexi Li
0c8a285882 Merge pull request #14406 from swordqiu/feature/qj-endpoint-type-apigateway
feature: support apigatewa type of endpoint
2022-06-05 22:27:20 +08:00
Qiu Jian
f0609fe9fb feature: support apigatewa type of endpoint 2022-06-05 19:00:22 +08:00
Jian Qiu
05e3e95554 update vendor master 20220605 (#14407)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-05 18:36:25 +08:00
Sjhu
9d0721abf6 fix(region):资源统计bug,已使用资源统计包含裸金属资源,总数未包含,导致资源使用率统计异常。 (#14396)
guestUsage统计中排除掉裸金属资源,hypervisors.Delete(api.HYPERVISOR_CONTAINER, api.HYPERVISOR_BAREMETAL)

Co-authored-by: chenxiaochen <chenxiaochen@bonc.com.cn>
2022-06-05 18:10:32 +08:00
Jian Qiu
29ddc5e0e3 update vendor master 20220604 (#14399)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-04 23:41:24 +08:00
Jian Qiu
43d04043a5 feature: fetch options of an application via api (#14398)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-04 10:33:31 +08:00
Zexi Li
6f5c0a6962 fix(host): openvswitch service name on UOS (#14394) 2022-06-03 01:50:28 +08:00
屈轩
7a986b764d fix(region): eip allocate (#14389) 2022-06-03 01:49:22 +08:00
wanyaoqi
f163690191 feat(host,region): suport live change disk storage (#14342)
Guest start drive mirror job to copy full disk to target, after drive
mirror job ready, guest reopen target disk to replace source disk.
Qemu must support block reopen image feature.

Supported storage: local, ceph

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-06-03 01:47:48 +08:00
Zexi Li
8b1e083c6e Merge pull request #14387 from ioito/hotfix/qx-bucket-size
fix(region): apsara bucket limit size
2022-06-02 16:31:49 +08:00
Zexi Li
832b1204d6 Merge pull request #14385 from ioito/hotfix/qx-image-tool
optimize(region): add more image dist
2022-06-02 16:31:20 +08:00
Zexi Li
0ffc6cbbe8 Merge pull request #14383 from ioito/hotfix/qx-api-doc
fix(region): api doc
2022-06-02 16:24:56 +08:00
ioito
e1e623f502 optimize(region): add more image dist 2022-06-02 16:20:20 +08:00
ioito
44ff87d215 fix(region): apsara bucket limit size 2022-06-02 16:06:18 +08:00
ioito
872c742801 fix(region): api doc 2022-06-02 15:39:04 +08:00
Zexi Li
f137eb4e54 Merge pull request #14367 from ioito/hotfix/qx-lb-api
fix(region): lb eip api fix
2022-06-02 10:21:02 +08:00
Zexi Li
541e5d647a Merge pull request #14372 from ioito/hotfix/qx-tag-lock
fix(region): 避免加锁导致设置标签超时
2022-06-02 10:20:40 +08:00
Zexi Li
f327100c64 Merge pull request #14377 from ioito/hotfix/qx-disk-save-task
fix(region): disk save task
2022-06-02 10:19:43 +08:00
Zexi Li
1fb1af17bb Merge pull request #14380 from ioito/hotfix/qx-clean-vm-misc-options
fix(region): clean vm misc options
2022-06-02 10:18:41 +08:00
ioito
250c7fdb91 fix(region): clean vm misc options 2022-06-02 10:11:39 +08:00
Zexi Li
1bbf719d91 Merge pull request #14375 from swordqiu/hotfix/qj-remove-virtio-blk-num-queues
fix: remove virtio-blk num-queues param
2022-06-01 23:48:55 +08:00
ioito
cda56a4cef fix(region): disk save task 2022-06-01 15:47:29 +08:00
Qiu Jian
1fbb5bd944 fix: remove virtio-blk num-queues param 2022-06-01 12:23:54 +08:00
ioito
1e12c1d5ca fix(region): 避免加锁导致设置标签超时 2022-06-01 12:00:24 +08:00
Zexi Li
d5ceb1e425 Merge pull request #14371 from swordqiu/hotfix/qj-add-notes-for-identity-models
fix: add comments for identity models
2022-06-01 10:01:40 +08:00
Zexi Li
62d1e0ba14 Merge pull request #14364 from ioito/hotfix/qx-aliyun-bucket-access-url
fix(region): aliyun bucket access url
2022-06-01 09:39:15 +08:00
Zexi Li
2fc0c132e3 Merge pull request #14369 from swordqiu/automated-cherry-pick-of-#14368-upstream-master
Automated cherry pick of #14368: Hotfix/qj disable disk io multiqueue
2022-06-01 09:38:31 +08:00
Qiu Jian
3198c2f7d7 fix: add comments for identity models 2022-06-01 00:12:56 +08:00
Qiu Jian
0fe34202b7 add options to set disk driver and cachemode 2022-05-31 21:25:20 +08:00
Qiu Jian
5b1b083642 fix: disable disk multi-queue 2022-05-31 21:25:20 +08:00
ioito
fcd33468aa fix(region): lb eip api fix 2022-05-31 12:15:06 +08:00
Zexi Li
f655f0a222 Merge pull request #14359 from swordqiu/hotfix/qj-wrong-hyperviro-kvm-vnc-info
fix: wrong hypervisor in kvm vnc info
2022-05-31 11:03:51 +08:00
ioito
c0e82aa075 fix(region): aliyun bucket access url 2022-05-31 10:49:43 +08:00
Jian Qiu
2563303d1d fix: more detailed log for server hange_config (#14358)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-31 09:42:50 +08:00
Qiu Jian
275d905a0c fix: wrong hypervisor in kvm vnc info 2022-05-31 01:05:31 +08:00
Zexi Li
c3327501a8 Merge pull request #14348 from ioito/hotfix/qx-user-data
fix(region): public cloud user data
2022-05-30 23:48:10 +08:00
Zexi Li
9384b23e18 Merge pull request #14354 from swordqiu/hotfix/qj-update-vendor-master-20220530
update vendor master 20220530
2022-05-30 23:45:32 +08:00
Zexi Li
de8c8495c8 Merge pull request #14351 from ioito/hotfix/qx-aliyun-disk
fix(region): aliyun disk external id
2022-05-30 23:43:00 +08:00
Zexi Li
6caa9389af Merge pull request #14345 from swordqiu/hotfix/qj-maintenance-empty-host-status-recovery
fix: recover host status if maintain an empty host
2022-05-30 23:40:56 +08:00
Zexi Li
b0d5717b68 Merge pull request #14344 from swordqiu/hotfix/qj-set-pagination-order
fix: allow set pagination order
2022-05-30 23:39:37 +08:00
Qiu Jian
6aafe7a393 update vendor master 20220530 2022-05-30 21:05:21 +08:00
ioito
f76df16a0f fix(region): aliyun disk external id 2022-05-30 16:02:17 +08:00
ioito
8d654de641 fix(region): public cloud user data 2022-05-30 14:52:34 +08:00
Qiu Jian
be7a583084 fix: recover host status if maintain an empty host 2022-05-30 14:39:01 +08:00
Qiu Jian
79f6d28888 fix: allow set pagination order 2022-05-30 11:46:36 +08:00
Jian Qiu
ea5f72563b fix: vpc eip misc fixes: 1. eip filter 2. lb filter 3. create eip when (#14343)
lb creating

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-29 23:51:28 +08:00
Jian Qiu
01a90bad17 fix: lb apis for create-eip/associate-eip/dissociate-eip (#14338)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-29 10:24:18 +08:00
Jian Qiu
618e88c51a fix: backup pack missing encrypt_key_id (#14333)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-29 10:12:47 +08:00
Jian Qiu
9ebdd84ff3 fix: server associate eip check (#14339)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-29 10:12:01 +08:00
屈轩
e978f4084b fix(region): vpc lb with eip (#14332) 2022-05-28 20:29:58 +08:00
Jian Qiu
94f509a524 fix: hide server rtc_change event log (#14334)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-28 09:07:22 +08:00
Zexi Li
a0f326eb95 Merge pull request #14330 from ioito/hotfix/qx-huawei-lb-eip
fix(region): huawei lb eip sync
2022-05-27 02:30:03 +08:00
Zexi Li
a50c28a7b5 Merge pull request #14328 from ioito/hotfix/qx-apsara-bucket-limit
fix(region): apsara bucket limit
2022-05-27 02:29:29 +08:00
Zexi Li
f75c9fdd5d Merge pull request #14326 from ioito/hotfix/qx-eip-filter
fix(region): add filter for eip
2022-05-27 02:28:55 +08:00
ioito
1cbe2732c3 fix(region): huawei lb eip sync 2022-05-26 19:56:16 +08:00
ioito
b59ce09ab7 fix(region): apsara bucket limit 2022-05-26 19:17:38 +08:00
ioito
c66cb07e3f fix(region): add filter for eip 2022-05-26 18:59:26 +08:00
Jian Qiu
671c755fc5 fix: add widget-settings (#14325)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-26 17:39:34 +08:00
Zexi Li
6feb11e759 Merge pull request #14318 from swordqiu/hotfix/qj-server-is-daemon-permission
fix: make server is_daemon an admin attribute
2022-05-26 12:13:38 +08:00
Qiu Jian
fa880ee9e6 fix: make server is_daemon an admin attribute 2022-05-26 08:12:31 +08:00
Zexi Li
fea98bc723 Merge pull request #14312 from ioito/hotfix/aliyun-oss-https
fix(region): aliyun oss https
2022-05-25 18:41:05 +08:00
ioito
0cd2ffb077 fix(region): aliyun oss https 2022-05-25 16:53:01 +08:00
Zexi Li
3c36c496a1 Merge pull request #14308 from ioito/hotfix/qx-azure-disk
fix(region): azure disk status
2022-05-25 14:44:45 +08:00
Zexi Li
7da5f16d2a Merge pull request #14310 from ioito/hotfix/qx-eip-update
fix(region): eip update
2022-05-25 14:44:29 +08:00
ioito
3a6da3766f fix(region): eip update 2022-05-25 12:17:00 +08:00
ioito
398c7e2b0c fix(region): azure disk status 2022-05-25 11:43:38 +08:00
Zexi Li
ef4a321a1f Merge pull request #14295 from ioito/hotfix/qx-prob-lock
fix(region): account probe lock
2022-05-25 10:17:11 +08:00
Zexi Li
afbcfec2ae Merge pull request #14293 from zexi/toggle-feature
feat(climc): feature configuration
2022-05-25 10:09:27 +08:00
Zexi Li
49e36851b5 Merge pull request #14304 from swordqiu/feature/qj-daemon-server-support
feature: daemon server support
2022-05-25 10:03:33 +08:00
Zexi Li
5be2d0135d feat(climc): feature configuration 2022-05-25 10:00:46 +08:00
Zexi Li
a69b0fe2b3 Merge pull request #14300 from ioito/hotfix/qx-eip-associate-type
fix(region): eip associate type
2022-05-25 09:53:53 +08:00
Qiu Jian
15395555d8 feature: daemon server support 2022-05-25 05:03:15 +08:00
Zexi Li
650e2669e1 Merge pull request #14301 from ioito/hotfix/qx-huawei-object-temp-url
fix(region): huawei object temp url
2022-05-24 18:26:48 +08:00
ioito
a4b9ce513a fix(region): huawei object temp url 2022-05-24 16:26:43 +08:00
ioito
0e41cc13c9 fix(region): eip associate type 2022-05-24 15:51:52 +08:00
Zexi Li
954d4205e5 Merge pull request #14297 from ioito/hotfix/qx-qcloud-cert-panic
fix(region): avoid panic with qcloud sync
2022-05-24 14:16:52 +08:00
ioito
ae9ade5754 fix(region): avoid panic with qcloud sync 2022-05-24 11:37:55 +08:00
ioito
7f90d38e5f fix(region): account probe lock 2022-05-24 11:28:11 +08:00
Zexi Li
37fdcec5c4 Merge pull request #14291 from ioito/hotfix/qx-apsara-org-id
fix(region): input apsara organization id
2022-05-23 19:27:27 +08:00
ioito
8ba89c272d fix(region): input apsara organization id 2022-05-23 18:50:21 +08:00
Zexi Li
26cbbbccad Merge pull request #14288 from ioito/hotfix/qx-disk-resize
fix(host): optimized disk resize
2022-05-23 14:51:14 +08:00
ioito
197ba296bc fix(host): optimized disk resize 2022-05-23 11:01:09 +08:00
Zexi Li
e6c069f3f4 Merge pull request #14283 from swordqiu/hotfix/qj-fail-to-convert-vmdk-image
fix: fail to recogonize vmdk image
2022-05-22 22:01:35 +08:00
Zexi Li
8e233d4bce Merge pull request #14280 from swordqiu/hotfix/qj-force-image-cache-invalid-early
fix: force invalidate cached image early
2022-05-22 22:00:44 +08:00
屈轩
974ced404e fix(host-deployer): ignore root fs mount error (#14285) 2022-05-22 17:18:52 +08:00
Qiu Jian
0f80bc05f4 fix: fail to recogonize vmdk image 2022-05-21 17:50:33 +08:00
Qiu Jian
b720171ee0 fix: force invalidate cached image early 2022-05-21 02:53:40 +08:00
Zexi Li
7a784c94ff Merge pull request #14278 from ioito/hotfix/qx-cloudmon-metric
fix(cloudmon): report influxdb data
2022-05-20 19:13:25 +08:00
ioito
4e856edafa fix(monitor): vm_disk userd_percent 2022-05-20 18:35:13 +08:00
ioito
5b26d491b7 fix(cloudmon): report influxdb data 2022-05-19 14:36:43 +08:00
Zexi Li
286cf83864 Merge pull request #14275 from swordqiu/hotfix/qj-fail-to-update-usb-devs
fix: fail to update isolated_devices of type USB
2022-05-19 10:03:25 +08:00
Qiu Jian
364d9ce109 fix: fail to update isolated_devices of type USB 2022-05-19 01:58:50 +08:00
屈轩
037f75815c fix(region): add log for set expire time (#14266) 2022-05-19 01:22:30 +08:00
Zexi Li
63bb93a89b fix(region): GPU device type update supported (#14271) 2022-05-19 01:21:54 +08:00
Zexi Li
d30cd018c6 Merge pull request #14272 from ioito/hotfix/qx-is-gpu
fix(region): check is gpu by server sku
2022-05-18 23:11:38 +08:00
ioito
6d67e7fe6e fix(region): check is gpu by server sku 2022-05-18 21:21:59 +08:00
屈轩
2a0deea6e9 fix(common): data resp (#14264) 2022-05-17 16:36:52 +08:00
Zexi Li
4a00dbb18c Merge pull request #14262 from swordqiu/hotfix/qj-kvm-resume
fix: kvm resume should be treated as start
2022-05-16 10:49:52 +08:00
Zexi Li
51a54dd738 Merge pull request #14260 from swordqiu/hotfix/qj-adjust-logger-events
fix: adjust logger events
2022-05-16 10:34:21 +08:00
Qiu Jian
16e28195f4 fix: kvm resume should be treated as start 2022-05-16 02:18:15 +08:00
Qiu Jian
07e4c2897e fix: adjust logger events 2022-05-16 01:49:48 +08:00
Jian Qiu
1c2a4ed9d4 fix: host ping piggyback storage info (#14257)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-16 00:34:50 +08:00
wanyaoqi
913aec9f7f feat(host): create disk from encrypted snapshot (#14256)
support create disk from encrypted snapshot, new disk encrypt info must
same with snapshot, and should used with libqemuio2.12.

area: host,host-image,fetcherfs
Signed-off-by: wanyaoqi <wanyaoqi1995@163.com>
2022-05-16 00:34:37 +08:00
Zexi Li
68b517b1ab Merge pull request #14249 from Davidzkeng/hotfix/oidc_id_token
fix(apigateway): 修复oidc认证中,返回的id_token为空
2022-05-15 15:08:49 +08:00
Zexi Li
dae5d10e76 Merge pull request #14246 from zexi/climc-devtool-script-apply
feat(climc): SERVERIDS of devtool batch apply
2022-05-13 17:35:27 +08:00
屈轩
01d7d82ad9 fix(reigon): ecloud sign time (#14250) 2022-05-13 17:28:06 +08:00
Zexi Li
e4d1f4bbd0 Merge pull request #14240 from ioito/hotfix/qx-secgroup-guest-cnt
fix(region): secgroup guest cnt
2022-05-13 15:23:20 +08:00
huangzekeng
5b506b3917 fix(apigateway): 修复oidc认证中,返回的id_token为空
修复odic认证返回的id_token为空
2022-05-13 14:34:33 +08:00
Zexi Li
bf01361d3d feat(climc): SERVERIDS of devtool batch apply 2022-05-13 13:38:25 +08:00
Zexi Li
60e24ee2c5 Merge pull request #14243 from swordqiu/hotfix/qj-set-exec-env-lang
fix: set procutils execution LANG env
2022-05-13 10:04:47 +08:00
Qiu Jian
5a022246be fix: set procutils execution LANG env 2022-05-12 18:45:59 +08:00
ioito
f31c005528 fix(region): secgroup guest cnt 2022-05-12 18:02:37 +08:00
Zexi Li
e238f31df4 fix(region): get spec of baremetal in ready status (#14233) 2022-05-11 08:29:38 +08:00
Zexi Li
c0074bc6a5 fix(cloudcommon): update splittable checksum (#14232) 2022-05-11 08:29:26 +08:00
Zexi Li
0c9eecde54 Merge pull request #14238 from ioito/hotfix/qx-json-field
fix(region): json name
2022-05-10 16:59:28 +08:00
ioito
a830ed904e fix(region): json name 2022-05-10 16:53:22 +08:00
Zexi Li
6fe2bd9347 Merge pull request #14236 from ioito/hotfix/qx-topology-storage
fix(region): return storage info with topology
2022-05-10 14:02:02 +08:00
ioito
b577c5d41f fix(region): return storage info with topology 2022-05-10 13:51:36 +08:00
Zexi Li
765ee46145 Merge pull request #14225 from ioito/hotfix/qx-rds-ip-filter
fix(regoon): search rds by ip addr
2022-05-10 09:18:23 +08:00
Zexi Li
77f3c98f36 Merge pull request #14229 from swordqiu/hotfix/qj-adjust-opsadmin-policy
fix: adjust opsadmin and secadmin policy
2022-05-10 09:17:59 +08:00
Zexi Li
8ebb34fbb2 Merge pull request #14227 from swordqiu/hotfix/qj-fix-host-sync-wire-class-metadata
fix: host sync wire class metadata
2022-05-10 09:17:37 +08:00
Qiu Jian
f3905b69ef fix: adjust opsadmin and secadmin policy 2022-05-10 00:16:44 +08:00
Qiu Jian
e2ffb087a1 fix: host sync wire class metadata 2022-05-09 22:16:34 +08:00
ioito
1a2f2deda4 fix(regoon): search rds by ip addr 2022-05-09 22:16:19 +08:00
Jian Qiu
029e27b826 fix: adjust syslog format (#14223)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-09 08:00:59 +08:00
Jian Qiu
69b4901bb6 fix: ignore no partition error for initial deployment (#14220)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-08 23:42:29 +08:00
Jian Qiu
6d1067a0de fix: adjust secadmin and opsadmin policies (#14218)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-08 23:42:05 +08:00
屈轩
caeea77878 fix(region): remove metadata (#14214) 2022-05-07 20:07:24 +08:00
yunion-ci-robot
565ae863d8 Merge pull request #14213 from zexi/automated-cherry-pick-of-#14211-upstream-master
Automated cherry pick of #14211: Server usb filter
2022-05-07 19:34:45 +08:00
Zexi Li
39da24facf fix(region): server usb filter 2022-05-07 19:23:05 +08:00
Jian Qiu
2289dca066 fix: adjust opsadmin policy (#14207)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-07 01:19:26 +08:00
Yousong Zhou
37fc897a11 Feature/yousong vpc elb (#11423)
* regiondrivers: kvm: lb: make "network" an optional argument

* loadbalancernetworks: add MacAddr field for lb with eip

* apis: compute: add LOADBALANCER to EIP_ASSOCIATE_VALID_TYPES

* regiondrivers: fix typo RequestAssociat{,e}Eip

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

* regiondrivers: kvm: RequestAssociateEip: support loadbalancer

* tasks: EipAssociateTask: add support for loadbalancer

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

* elasticips: PerformAssociate: validate loadbalancer condition

* tasks: EipDissociateTask: support non-managed loadbalancer

* loadbalancers: add StartSyncstatus method for EipAssociateTask

* regiondrivers: kvm: allow creation of vpc lb

* loadbalanceragents: add timestamp fields for network objects

* climc: eips: add associate type loadbalancer

* mcclient: loadbalancernetworks: add Mac_Addr column

* vpcagent: models: add loadbalancernetworks

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

* vpcagent: ovn: add ClaimLoadbalancerNetwork()

* mcclient: models: add LoadbalancerNetwork

* mcclient: models: add Network

* lbagent: models: use IBaseManager to accomodate joint manager

* lbagent: models: add {,Loadbalancer}Networks

* lbagent: models: export a few fields

* lbagent: models: add fields for vpc lb models

* iproute2: add NewAddressEx constructor

* lbagent: add worker for vpc lb

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

* lbagent: apihelper: use ovn worker

* lbagent: models: use pkg/compute/models

* mcclient: models: remove lb models

* lbagent: api: use pkg/apihelper

* vpcagent: models: add lblisteners and lbacls

* vpcagent: ovn: add lbacl support
2022-05-06 23:22:50 +08:00
Zexi Li
fae360cc1d fix(build): model api gen updated (#14205) 2022-05-06 23:22:09 +08:00
Zexi Li
04460ea5a3 Merge pull request #14203 from ioito/hotfix/qx-rds-ip
fix(region): rds ip addr
2022-05-05 20:09:53 +08:00
Zexi Li
f00ad0151a Merge pull request #14201 from ioito/hotfix/qx-apsara-bucket
fix(region): apsara bucket capacity
2022-05-05 20:09:08 +08:00
ioito
2592a2913f fix(region): apsara bucket capacity 2022-05-05 18:43:44 +08:00
ioito
d3fc59ed45 fix(region): rds ip addr 2022-05-05 18:41:22 +08:00
Jian Qiu
1831f63ef1 fix: backup recover failure (#14199)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-04 23:28:26 +08:00
Jian Qiu
27ef061862 fix: disk reset encrypted disks (#14195)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-04 23:09:14 +08:00
Jian Qiu
fc12bdcf2e fix: add more deetails for sub-snapshot/sub-backup/sub-images (#14197)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-04 23:08:41 +08:00
Jian Qiu
a48392073b fix: live migrate encrypted server (#14194)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-04 01:19:21 +08:00
Jian Qiu
3f9be08fa3 Feature/qj encryption support snapshot backup (#14191)
* feature: encryption support snapshot and backup

* fix: encrypted snapshot create

* fix issues with backup encryption

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-03 11:39:55 +08:00
Jian Qiu
a393b65903 fix: save guest image with empty partition fail (#14189)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-02 16:29:27 +08:00
Jian Qiu
4375bad382 fix: deploy encrypted disk (#14187)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-02 09:07:03 +08:00
Jian Qiu
ba77386fba fix: add image set class metadata climc (#14185)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-02 09:06:40 +08:00
Jian Qiu
2b292f121e fix: adaptively enable NetworkManager (#14183)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-02 09:06:16 +08:00
Zexi Li
dbe828cdee fix(baremetal): try clear jbod devices before create (#14182) 2022-05-01 21:36:11 +08:00
Jian Qiu
e9f4c131c2 fix: clean temp server when migrate prepare dest fail (#14174)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-29 08:10:53 +08:00
wanyaoqi
6f29f7d87a fix(host): fix get disk pci addr (#14171)
Fix hot-plug virtio disk failed.
after add usb and rng deivce, available pci address should update.

Signed-off-by: wanyaoqi <wanyaoqi1995@163.com>
2022-04-29 02:45:46 +08:00
Rain Zheng
c708e4ac11 Windows monitor agent (#14062)
* feat: add pywinrm to ansibleserver-base

* feat(devtool,ansibleserver): support install monitor agent to windows

* feat: modify Dockerfil.file-repo

Co-authored-by: rain <mac@Rains-MBP.lan>
2022-04-29 00:38:24 +08:00
Zexi Li
15ba212828 Merge pull request #14165 from ioito/hotfix/qx-qcloud-read-only
fix(region): qcloud account read only
2022-04-28 20:46:43 +08:00
Zexi Li
b0282920a7 Merge pull request #14169 from ioito/hotfix/qx-account-sync-pre-check
fix(region): remove account sync pre check
2022-04-28 20:43:42 +08:00
ioito
c94c629b72 fix(region): remove account sync pre check 2022-04-28 20:40:10 +08:00
Jian Qiu
9410f3165a fix: cleanup s3 mount directory before glance start (#14167)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-28 16:49:57 +08:00
ioito
7f69b0fc96 fix(region): qcloud account read only 2022-04-28 14:42:19 +08:00
Zexi Li
3a4f2b4183 Merge pull request #14156 from swordqiu/hotfix/qj-apigateway-response-encrypt-passwd
fix: apigateway sends encrypt_passwd to indicate passwd encryption
2022-04-28 09:45:39 +08:00
Zexi Li
efc8f27647 Merge pull request #14160 from swordqiu/hotfix/qj-logclient-i18n-for-backup-ops
fix: logclient i18n for backup ops
2022-04-28 09:45:14 +08:00
Zexi Li
228fdbadb8 Merge pull request #14162 from swordqiu/hotfix/qj-guest-vdi-override
fix: guest vdi spec override image spec
2022-04-28 09:44:42 +08:00
Zexi Li
76ac710037 fix(baremetal): disable use perccli temporarily (#14146) 2022-04-28 09:42:44 +08:00
Jian Qiu
2dd1aeb8aa fix: mount disk readonly (#13152)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-28 09:26:45 +08:00
Qiu Jian
a72849d261 fix: guest vdi spec override image spec 2022-04-27 20:56:19 +08:00
Qiu Jian
abc7083bc7 fix: logclient i18n for backup ops 2022-04-27 20:41:53 +08:00
Zexi Li
8d9a5d67fd Merge pull request #14158 from swordqiu/hotfix/qj-glance-convert-vmdk-fail
fix: glance convert vmdk fail
2022-04-27 14:33:40 +08:00
Qiu Jian
8364e5b0d2 fix: glance convert vmdk fail 2022-04-27 14:03:56 +08:00
Qiu Jian
1e97ea3693 fix: apigateway sends encrypt_passwd to indicate passwd encryption 2022-04-27 13:01:30 +08:00
Zexi Li
9cf08e804c Merge pull request #14155 from zexi/readme-subscription
feat(readme): add subsciption link
2022-04-27 12:59:34 +08:00
Zexi Li
37b17f6bac feat(readme): add subsciption link 2022-04-27 12:58:41 +08:00
Zexi Li
e4df9aa6b0 Merge pull request #14135 from ioito/hotfix/qx-account-probe-time
fix(region): account probe time
2022-04-27 08:58:25 +08:00
Zexi Li
a1c01d42ef Merge pull request #14136 from ioito/hotfix/qx-ipv6-purge
fix(region): ipv6 gateway purge
2022-04-26 10:25:01 +08:00
Zexi Li
311be8e995 Merge pull request #14139 from ioito/hotfix/qx-openstack-nic
fix(region): openstack vm nic
2022-04-26 10:21:22 +08:00
Zexi Li
a9d7144051 fix(baremetal): bond network not config and chage not found (#14147) 2022-04-26 02:49:35 +08:00
Zexi Li
ef1ebc6f92 Merge pull request #14141 from swordqiu/hotfix/qj-fail-delete-storage-with-fake-deleted-snapshots
fix: fail to delete storages with fake-deleted snapshots
2022-04-26 02:25:41 +08:00
Qiu Jian
ee48584c47 fix: fail to delete storages with fake-deleted snapshots 2022-04-25 22:40:57 +08:00
ioito
64de2775e2 fix(region): openstack vm nic 2022-04-25 16:58:21 +08:00
ioito
4ab0e1ebbc fix(region): ipv6 gateway purge 2022-04-25 14:29:52 +08:00
ioito
6f142548f2 fix(region): account probe time 2022-04-25 10:15:48 +08:00
Zexi Li
4d92a21957 Merge pull request #14133 from ioito/hotfix/qx-hw-request
fix(region): hw request api
2022-04-24 19:21:48 +08:00
Zexi Li
c41a517513 Merge pull request #14111 from ioito/hotfix/qx-aws-sku
fix(region): aws sku list
2022-04-24 19:21:24 +08:00
Zexi Li
b4f1ef35e7 Merge pull request #14130 from ioito/hotfix/qx-vdi-check
fix(region): vdi check
2022-04-24 19:19:58 +08:00
ioito
0103839940 fix(region): hw request api 2022-04-24 17:53:35 +08:00
ioito
153216f3a2 fix(region): vdi check 2022-04-24 17:11:30 +08:00
Zexi Li
f6f826e8d2 Merge pull request #14120 from ioito/hotfix/qx-mount-disk
fix(host): mount disk error
2022-04-24 15:05:14 +08:00
Zexi Li
ff49cd4642 Merge pull request #14128 from zexi/automated-cherry-pick-of-#14123-upstream-master
Automated cherry pick of #14123: fix(region): make access_ip of host updatable
2022-04-24 14:29:49 +08:00
Zexi Li
6dad0ef967 fix(region): make access_ip of host updatable 2022-04-24 11:53:17 +08:00
ioito
9c7a1fe72e fix(region): aws sku list 2022-04-24 11:23:36 +08:00
ioito
96b98e9746 fix(host): mount disk error 2022-04-24 11:22:23 +08:00
Zexi Li
37ee6e6ed4 Merge pull request #14121 from zexi/fix-ssh-log
fix(webconsole): record command input and ps1
2022-04-24 10:26:15 +08:00
Zexi Li
a5a098b751 fix(webconsole): record command input and ps1 2022-04-23 23:23:18 +08:00
Jian Qiu
ea7c6cf213 feature: uos guest support (#14117)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-23 19:22:06 +08:00
Jian Qiu
88c2db1fb6 fix: imags peripherals missing id (#14114)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-23 19:21:33 +08:00
Zexi Li
f27262706a fix(webconsole): ssh command log with login user (#14112) 2022-04-23 19:21:04 +08:00
Zexi Li
c86ffe7055 Merge pull request #14072 from zexi/webconsole-ssh-log
feat(webconsole): ssh command log
2022-04-22 14:33:35 +08:00
Zexi Li
06e440c6fc Merge pull request #14105 from ioito/hotfix/qx-avoid-panic
fix(region): avoid panic
2022-04-22 14:20:20 +08:00
Zexi Li
2f53f7a7a5 Merge pull request #14108 from ioito/hotfix/qx-secgroup-create-time
fix(region): secgroup created time
2022-04-22 14:19:02 +08:00
ioito
600ba79ab1 fix(region): secgroup created time 2022-04-22 14:06:43 +08:00
Zexi Li
52a3e53e79 feat(webconsole): ssh command log 2022-04-22 11:51:33 +08:00
Zexi Li
f1bd610627 Merge pull request #14102 from zhaoxiangchun/feature/zxc-bingo-master
fix(cloudmon): add apsarea diskusage metric
2022-04-22 11:41:13 +08:00
ioito
af5455813d fix(region): avoid panic 2022-04-22 11:01:07 +08:00
zhaoxiangchun
63cbd8e240 fix(cloudmon): add apsarea diskusage metric 2022-04-21 20:24:23 +08:00
Zexi Li
6cd3549b0c Merge pull request #14100 from ioito/hotfix/qx-res-created-time
fix(region): sync resource created time
2022-04-21 20:08:05 +08:00
ioito
afbee642a7 fix(region): sync resource created time 2022-04-21 19:46:36 +08:00
Zexi Li
c5c389bd4a Merge pull request #14093 from ioito/hotfix/qx-sql-err
fix(region): avoid panic
2022-04-21 19:06:13 +08:00
Zexi Li
ae124774de Merge pull request #14096 from ioito/hotfix/qx-vm-sync-name
fix(region): sync vm name
2022-04-21 19:05:37 +08:00
Zexi Li
9c0c160360 Merge pull request #14098 from ioito/feat/qx-ipv6-gateway
feat(region): ipv6 gateway sync for apsara
2022-04-21 19:04:27 +08:00
ioito
c3e80baef4 feat(region): ipv6 gateway sync for apsara 2022-04-21 17:47:13 +08:00
ioito
018d21c09b fix(region): avoid panic 2022-04-21 17:09:05 +08:00
ioito
6477749eb1 fix(region): sync vm name 2022-04-21 17:03:06 +08:00
Zexi Li
8d685ba266 Merge pull request #14091 from ioito/hotfix/qx-apsara-oss
fix(region): apsara oss to asapi
2022-04-20 21:57:12 +08:00
ioito
4fa6fe457a fix(region): apsara oss to asapi 2022-04-20 20:31:09 +08:00
Jian Qiu
38bd88aa26 fix: always recycle disk files (#14066)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-20 16:29:30 +08:00
Jian Qiu
4ce81999b4 fix: arm support spice (#14089)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-20 16:27:46 +08:00
Jian Qiu
5402c68551 fix: adjust opsadmin permission (#14086)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-20 15:01:52 +08:00
Jian Qiu
b4ab2de962 fix: make notify template example field nullable (#14083)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-20 15:01:06 +08:00
Jian Qiu
89225090ab fix: cached image fail to refresh (#14081)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-20 15:00:35 +08:00
Zexi Li
8d5457b79b Merge pull request #14076 from ioito/hotfix/qx-account-sync
fix(region): account sync
2022-04-19 19:43:31 +08:00
Zexi Li
826794d747 Merge pull request #14079 from ioito/hotfix/qx-huawei-eip-api
fix(region): refactor huawei eip api
2022-04-19 19:43:11 +08:00
ioito
9e76d9616f fix(region): refactor huawei eip api 2022-04-19 18:52:34 +08:00
ioito
e99a0de489 fix(region): account sync 2022-04-19 16:46:35 +08:00
Zexi Li
96e501b310 Merge pull request #14069 from ioito/hotfix/qx-enable-log
fix(region): enable and disable log for provider regions
2022-04-19 16:21:51 +08:00
Zexi Li
aaf6079301 Merge pull request #14074 from ioito/hotfix/qx-apsara-credential-update
fix(region): apsara credential update
2022-04-19 16:21:24 +08:00
ioito
7a9810761a fix(region): apsara credential update 2022-04-19 16:08:45 +08:00
ioito
2df3423734 fix(region): enable and disable log for provider regions 2022-04-19 11:41:50 +08:00
Zexi Li
56a7a119c8 Merge pull request #14036 from ioito/hotfix/qx-hw-lb
fix(region): huawei lb api
2022-04-18 18:30:59 +08:00
ioito
95c8b69be8 fix(region): huawei lb api 2022-04-18 17:59:55 +08:00
Zexi Li
38df762fa5 Merge pull request #14055 from swordqiu/hotfix/qj-user-reset-credential
feature: user reset credential
2022-04-18 16:29:42 +08:00
Zexi Li
1b20524fce Merge pull request #14060 from zhasm/hotfix/zhengyu-notify-template-update
fix(notify): 通知模板更新
2022-04-18 15:58:02 +08:00
Zhang Dongliang
633726e48f fix(notify): 通知模板更新 2022-04-18 15:47:17 +08:00
Zexi Li
8b07286332 Merge pull request #14057 from ioito/hotfix/qx-apigateway-export-timeout
fix(apigateway): log export timeout
2022-04-18 14:39:31 +08:00
Zexi Li
32cd3b4977 Merge pull request #14058 from dong0320/ui-0418
feat:add screenshots
2022-04-18 14:33:05 +08:00
ioito
4f5894d061 fix(apigateway): log export timeout 2022-04-18 14:23:22 +08:00
董丽萍
5ad51327a4 feat:add screenshots 2022-04-18 14:21:46 +08:00
Qiu Jian
1021814404 feature: user reset credential 2022-04-18 00:16:29 +08:00
Jian Qiu
9902e39374 fix: user project lists with metadata (#14053)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-18 00:01:21 +08:00
Jian Qiu
82627e7c84 fix: extend guest disk attributes (#14050)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-17 23:08:31 +08:00
Jian Qiu
675a5c2634 fix: allow opsadmin view logs (#14048)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-17 23:08:03 +08:00
Jian Qiu
0d67701fc7 fix: guest backup bufixes (#14046)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-17 23:07:33 +08:00
Zexi Li
e1c26d9192 Merge pull request #14030 from ioito/hotfix/qx-qcloud-bw
fix(region): qcloud bandwidth and networkinterface
2022-04-17 12:39:01 +08:00
Zexi Li
9100fa8196 Merge pull request #14011 from ioito/hotfix/qx-external-project-create
feat(region): external project create
2022-04-17 00:35:16 +08:00
Zexi Li
ad7e2ea427 Merge pull request #14033 from ioito/hotfix/qx-azure-created-time
fix(region): azure created time sync
2022-04-17 00:33:48 +08:00
Zexi Li
ed574dd866 Merge pull request #13858 from zhaoxiangchun/feature/zxc-bingo-master
feat(cloudmon): support bingo cloud metric pull
2022-04-17 00:32:33 +08:00
Jian Qiu
f44168407e fix: log auth fail event (#14043)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-16 18:35:08 +08:00
Jian Qiu
16c74db9c8 fix: guest save image inherit projects of guest (#14041)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-16 09:34:33 +08:00
Zexi Li
b36786220d Merge pull request #14039 from swordqiu/hotfix/qj-fix-permission-20220416
fix permission 20220416
2022-04-16 03:55:57 +08:00
Zexi Li
543db56d71 Merge pull request #14037 from swordqiu/hotfix/qj-sync-domain-default-project
fix: sync IDP domain default project
2022-04-16 03:37:28 +08:00
Qiu Jian
d2fa031a5c fix permission 20220416 2022-04-16 02:32:12 +08:00
Qiu Jian
69418d1a37 fix: sync IDP domain default project 2022-04-16 00:21:31 +08:00
ioito
1fc005397c fix(region): azure created time sync 2022-04-15 17:33:54 +08:00
ioito
814c46c93e fix(region): qcloud bandwidth and networkinterface 2022-04-15 16:08:59 +08:00
Zexi Li
b641b485b6 Merge pull request #14025 from ioito/hotfix/qx-apsara-resource-group
fix(region): apsara resource groups
2022-04-15 11:35:07 +08:00
Zexi Li
6c297037c3 Merge pull request #14027 from ioito/hotfix/qx-eip-climc
fix(climc): eip change bw cli
2022-04-15 11:33:53 +08:00
ioito
a719b01ff5 fix(climc): eip change bw cli 2022-04-15 11:13:30 +08:00
Zexi Li
10641d4085 Merge pull request #14023 from ioito/hotfix/qx-log-export-timeout
fix(logger): action log export timeout
2022-04-14 20:40:52 +08:00
ioito
fdf937eb5e fix(region): apsara resource groups 2022-04-14 20:38:09 +08:00
ioito
d8774daadb fix(logger): action log export timeout 2022-04-14 14:41:40 +08:00
zhaoxiangchun
7f62bcfc10 feat(cloudmon): support bingo cloud metric pull 2022-04-14 12:45:54 +08:00
Jian Qiu
25062f802a fix: encrypt by user id (#14021)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-14 07:54:56 +08:00
Jian Qiu
e0af65c776 fix: log roles support utf8 (#14017)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-14 00:49:25 +08:00
Zexi Li
9b4d4eb16b Merge pull request #14020 from zexi/readme-with-ui
fix(readme): bad link image url
2022-04-14 00:16:47 +08:00
Zexi Li
0e5d64f3bd fix(readme): bad link image url 2022-04-14 00:14:44 +08:00
Zexi Li
2a1057e245 Merge pull request #14019 from zexi/readme-with-ui
feat(readme): update summary with UI image
2022-04-13 23:46:47 +08:00
Zexi Li
35f0a49449 feat(readme): update summary with UI image 2022-04-13 23:45:42 +08:00
Jian Qiu
536407bcdd fix: use user owner key to create user (#14015)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-13 23:15:45 +08:00
屈轩
e898322b07 fix(keystone): remove notify (#14013) 2022-04-13 23:15:12 +08:00
ioito
0461ff0eb1 feat(region): external project create 2022-04-13 17:10:04 +08:00
Zexi Li
558bd1d00d Merge pull request #14007 from ioito/hotfix/qx-export-dup-tag-key
fix(region): avoid export duplicate tag key
2022-04-13 16:20:52 +08:00
Zexi Li
af93c5e57f Merge pull request #14005 from rainzm/notify/topic_1_1_notification
feat(notify): add topic_type in notification details
2022-04-13 16:20:25 +08:00
ioito
d944c8ae3a fix(region): avoid export duplicate tag key 2022-04-13 16:08:19 +08:00
rainzm
c3d1caa1e6 feat(notify): add topic_type in notification details 2022-04-13 15:58:12 +08:00
Zexi Li
c1728c89a3 Merge pull request #14002 from ioito/hotfix/qx-host-order-by-commit-rate
fix(region): host order by commit rate
2022-04-13 12:18:47 +08:00
ioito
03e5ca2100 fix(region): host order by commit rate 2022-04-13 11:28:02 +08:00
Jian Qiu
76c26458ac fix: backup bugifxes: 1. not inherit projects of disk. 2. class not (#14000)
inherit by disk 3. fail to creat guest image

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-13 01:39:36 +08:00
Zexi Li
6d8c326103 Merge pull request #13984 from zexi/automated-cherry-pick-of-#13981-upstream-master
Automated cherry pick of #13981: fix(region): multi disk created after instance snapshot
2022-04-13 00:56:44 +08:00
Zexi Li
f64b550817 Merge pull request #13998 from swordqiu/hotfix/qj-adjust-admin-default-permissions
fix: adjust admin default permissions
2022-04-13 00:55:21 +08:00
Zexi Li
ef9bc82db3 Merge pull request #13996 from swordqiu/hotfix/qj-migrate-set-downtime-2
fix: migrate set down time
2022-04-13 00:54:44 +08:00
Qiu Jian
37abf8aa2d fix: adjust admin default permissions 2022-04-12 20:43:48 +08:00
Qiu Jian
2cd805ead6 fix: migrate set down time 2022-04-12 20:17:08 +08:00
Zexi Li
929e41233a Merge pull request #13987 from ioito/hotfix/qx-huawei-api
fix(region): huawei api
2022-04-12 16:45:22 +08:00
ioito
20e5fc584b fix(region): huawei api 2022-04-12 15:57:26 +08:00
Zexi Li
5460c7c381 Merge pull request #13989 from ioito/hotfix/qx-esxi-wire-update
fix(region): avoid panic
2022-04-12 15:05:46 +08:00
ioito
f87e624270 fix(region): avoid panic 2022-04-12 14:55:38 +08:00
Zexi Li
83e6442514 Merge pull request #13988 from zexi/readme-ocboot-branch
fix(README): ocboot use branch release/3.8
2022-04-12 14:54:07 +08:00
Zexi Li
76e8170d92 fix(README): ocboot use branch release/3.8 2022-04-12 14:49:29 +08:00
Zexi Li
ce1b4cdd3a Merge pull request #13979 from swordqiu/hotfix/qj-change-qemu-default-version-to-4.2.0
fix: change qemu default version to 4.2.0
2022-04-12 14:38:05 +08:00
Zexi Li
e651ec6cdd Merge pull request #13985 from rainzm/notify/topic_1_1_notification
feat(notify): filter notification by topic_type
2022-04-12 14:37:44 +08:00
Zexi Li
fd5c39a418 fix(region): multi disk created after instance snapshot 2022-04-12 13:59:27 +08:00
rainzm
68bb344201 feat(notify): filter notification by topic_type
之前的模型,消息和Event是一一对应的,一个Event可以和多个Topic对应,
为了支持通过Topic Type过滤消息,现在Event和Topic是一一对应的。
2022-04-12 13:52:55 +08:00
Jian Qiu
ef2b3cd7fc fix: more detailed privilege hint (#13975)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-12 12:09:18 +08:00
Qiu Jian
c5e0158ea6 fix: change qemu default version to 4.2.0 2022-04-12 12:06:35 +08:00
Jian Qiu
ad811a43b2 fix: encrypt server cannot attach disk with conflict encrypt key (#13973)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-12 10:12:12 +08:00
Jian Qiu
52af0c0672 fix: disk create input preserve encrypt info (#13971)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-12 10:11:31 +08:00
Jian Qiu
37148224d2 fix: schduler not sync cached image class metadata (#13969)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-12 10:09:34 +08:00
Zexi Li
21e6cd6ffc Merge pull request #13967 from swordqiu/hotfix/qj-create-table-missing-indexes
fix: create table missing indexes
2022-04-11 22:59:20 +08:00
Qiu Jian
68bda2b1a0 fix: create table missing indexes 2022-04-11 22:08:42 +08:00
Zexi Li
1dddfea823 Merge pull request #13962 from ioito/hotfix/qx-aws-regions
fix(region): aws all regions
2022-04-11 20:46:08 +08:00
ioito
1515e5b636 fix(region): aws all regions 2022-04-11 19:59:24 +08:00
Zexi Li
65a39df83a Merge pull request #13960 from zexi/get-qemu-info
feat(region): kvm qemu version and cmdline info
2022-04-11 18:56:55 +08:00
Zexi Li
6e8da20bc0 Merge pull request #13958 from ioito/hotfix/qx-permission
fix(region): cloud lake of permissions
2022-04-11 18:56:00 +08:00
Zexi Li
371568c2aa Merge pull request #13954 from zhaoxiangchun/fix/zxc-master
fix(region): app replace backgroud ctx
2022-04-11 18:37:51 +08:00
Zexi Li
917bb9a337 feat(region): kvm qemu version and cmdline info 2022-04-11 17:49:37 +08:00
ioito
0feb31c29d fix(region): cloud lake of permissions 2022-04-11 16:47:06 +08:00
Jian Qiu
06bd541153 fix: disable lock ctx check (#13956)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-11 14:56:03 +08:00
zhaoxiangchun
f82803f29d fix(region): app replace backgroud ctx 2022-04-11 14:51:36 +08:00
Jian Qiu
a68799579d fix: support create encrypt key on create (#13950)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-11 14:41:16 +08:00
Zexi Li
a359b228c4 Merge pull request #13940 from ioito/hotfix/qx-google-label
fix(region): google label encode
2022-04-11 09:53:02 +08:00
Zexi Li
7e5e5a30f8 Merge pull request #13952 from swordqiu/hotfix/qj-fangde-desktop
fix: fangde desktop
2022-04-11 09:51:24 +08:00
Qiu Jian
dd3e9b1565 fix: fangde desktop 2022-04-11 09:29:49 +08:00
Jian Qiu
b77aa834e3 fix: keystone issues: 1. add no_policy_violation_check (#13948)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-11 06:39:08 +08:00
Zexi Li
d700f89877 Merge pull request #13941 from rainzm/esxi_prepare_network/config_nil
fix(region): exclude the host whose config or config.network is nil
2022-04-09 14:31:59 +08:00
Zexi Li
664d080049 Merge pull request #13946 from ioito/hotfix/qx-readonly-fix
fix(region): read only fix
2022-04-08 20:11:09 +08:00
ioito
d7562dd88d fix(region): read only fix 2022-04-08 19:49:48 +08:00
ioito
f7cd042c5a fix(region): google label encode 2022-04-08 17:54:17 +08:00
rainzm
39e542a731 fix(region): exclude the host whose config or config.network is nil 2022-04-08 17:46:36 +08:00
Zexi Li
8d80b4d48b Merge pull request #13938 from zexi/notify-lock-panic
fix(notify): lock panic when InitializeData
2022-04-08 15:20:20 +08:00
Zexi Li
8f921c3385 fix(notify): lock panic when InitializeData 2022-04-08 15:09:35 +08:00
Zexi Li
cc3dc07b92 Merge pull request #13922 from ioito/hotfix/qx-account-read-only
fix(region): account read only
2022-04-08 09:58:09 +08:00
Zexi Li
0f385c6a56 Merge pull request #13936 from zexi/onecloud-base-3-15-4
feat(build): add onecloud-base:v3.15.4-0 image build file
2022-04-08 09:40:53 +08:00
屈轩
6fda826deb fix(region): qcloud client no need fetch bucket (#13880) 2022-04-08 01:35:47 +08:00
wanyaoqi
2e7faba76c host: fix isImportFromLibvirt (#13933)
should check __origin_id not getOriginId

Signed-off-by: wanyaoqi <wanyaoqi1995@163.com>
2022-04-08 01:30:05 +08:00
Zexi Li
ab25e87431 feat(build): add onecloud-base:v3.15.4-0 image build file 2022-04-08 01:07:42 +08:00
Zexi Li
3e368eb93d Merge pull request #13901 from swordqiu/hotfix/qj-scheduler-missing-context
fix: scheduler add missing context
2022-04-07 22:07:21 +08:00
ioito
a6dc0a24e6 fix(region): account read only 2022-04-07 18:32:01 +08:00
Zexi Li
89a6af1a8c Merge pull request #13928 from ioito/hotfix/qx-aws-storage
fix(region): aws storage type sync
2022-04-07 17:46:08 +08:00
Zexi Li
9224441f57 Merge pull request #13923 from ioito/hotfix/qx-cloudpods-misc-fix
fix(region): cloudpods misc fix
2022-04-07 17:30:08 +08:00
Zexi Li
fb88c1bb64 Merge pull request #13924 from ioito/hotfix/qx-ctx-lock
fix(region): ctx lock panic
2022-04-07 17:29:25 +08:00
ioito
13c17a579e fix(region): aws storage type sync 2022-04-07 17:24:45 +08:00
ioito
4bcf2cf99b fix(region): ctx lock panic 2022-04-07 14:54:29 +08:00
ioito
bb8896fc10 fix(region): cloudpods misc fix 2022-04-06 16:19:51 +08:00
Zexi Li
cae88170ca Merge pull request #13910 from swordqiu/hotfix/qj-migrate-set-downtime
fix: migrate set downtime
2022-04-06 12:49:05 +08:00
Zexi Li
eeb8ecc080 Merge pull request #13888 from swordqiu/hotfix/qj-panic-on-locking-default-context
fix: panic when locking on Background or TODO context
2022-04-06 12:20:23 +08:00
Jian Qiu
aee2d78186 feature: event log add severity and kind fields (#13919)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-06 06:57:44 +08:00
Jian Qiu
094c643dd0 fix: logout event log (#13916)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-06 01:30:22 +08:00
Jian Qiu
3b7a12c3e5 fix: typos in predefined policy yaml (#13914)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 16:15:26 +08:00
Jian Qiu
d6438171aa fix: chage parameter not compatible with fangde OS (#13907)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 16:14:27 +08:00
Jian Qiu
58743308b8 fix: save image for aarch64 os show os_arch of x86_64 (#13903)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 16:12:15 +08:00
Jian Qiu
0f7d5469ae fix: update vendor for sqlchemy (#13912)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 16:11:39 +08:00
Qiu Jian
df5bb58318 fix: migrate set downtime 2022-04-05 15:16:46 +08:00
Qiu Jian
24c83d6f9a fix: scheduler add missing context 2022-04-05 11:29:30 +08:00
屈轩
2697e61340 fix(region): sync aliyun remark to cloud (#13846) 2022-04-05 11:21:26 +08:00
屈轩
c5b068e8bb fix(region): optimized disk-list (#13874) 2022-04-05 11:20:19 +08:00
Jian Qiu
ce745224a5 fix: cloudaccounts getMoreDetails should pass ctx (#13884)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 11:18:21 +08:00
Jian Qiu
6771d4e983 fix: better handling of network not avaiable on host error (#13890)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 11:17:18 +08:00
Jian Qiu
f7376c905f fix: make temporary snapshots invisible (#13881)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 11:16:31 +08:00
Jian Qiu
243f2a0987 fix: opsadmin should have project list and get permission (#13894)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 11:15:05 +08:00
Jian Qiu
87a7d4efe0 fix: host inherit class metadata from wire (#13896)
* fix: host inherit class metadata from wire

* deal with host delete exit

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 11:14:28 +08:00
Jian Qiu
2215f3d760 fix: make test format errors (#13898)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 11:13:40 +08:00
Qiu Jian
fde185d93e fix: panic when locking on Background or TODO context 2022-04-05 00:07:04 +08:00
Zexi Li
eeb076c45d Merge pull request #13863 from ioito/hotfix/qx-service-err
fix(apigateway): convert net err to service error
2022-04-03 10:54:00 +08:00
Zexi Li
4c45a3c126 Merge pull request #13877 from rainzm/notify/websocket
fix(notify): enable websocket notifications defaultly for event notify
2022-04-02 18:59:27 +08:00
rainzm
75aeacef8e fix(notify): enable websocket notifications defaultly for event notify 2022-04-02 18:50:21 +08:00
Zexi Li
7154da3225 Merge pull request #13865 from rainzm/notify/checksum
Security notify
2022-04-02 18:11:51 +08:00
Zexi Li
544e1aa500 Merge pull request #13872 from rainzm/backupstroage/offline
feat(region): add reason when syning status for backup storage
2022-04-02 18:02:32 +08:00
Zexi Li
7301471ada Merge pull request #13869 from ioito/hotfix/qx-public-ip-sync
fix(region): vm public ip sync
2022-04-02 14:55:35 +08:00
rainzm
0b303e9fad feat(region): add reason when syning status for backup storage 2022-04-02 14:34:15 +08:00
Zexi Li
fe709d601e Merge pull request #13839 from ioito/hotfix/qx-qcloud-dns-api
fix(region): qcloud use new dns api
2022-04-02 14:14:47 +08:00
ioito
64ba649576 fix(region): qcloud use new dns api 2022-04-02 14:08:32 +08:00
ioito
a9b792b0ae fix(region): vm public ip sync 2022-04-02 11:53:15 +08:00
Zexi Li
47e34bd065 Merge pull request #13867 from swordqiu/hotfix/qj-qemu-img-backing-file-json
fix: support qemu backing file with json format
2022-04-01 23:06:55 +08:00
Zexi Li
0e4792cc9b Merge pull request #13860 from zhaoxiangchun/fix/zxc-master
fix(cloudmon): fix gcp metric pull
2022-04-01 23:03:50 +08:00
Qiu Jian
cb89eae95e fix: support qemu backing file with json format 2022-04-01 21:08:39 +08:00
Zexi Li
a19e367d80 Merge pull request #13848 from ioito/hotfix/qx-account-permission
fix(region): show account lake of permission
2022-04-01 19:48:09 +08:00
rainzm
b38148c2d6 feat(climc): add notify-event-send 2022-04-01 19:00:59 +08:00
rainzm
53ec0d052e feat(keystone): call event notify when user is locked 2022-04-01 19:00:59 +08:00
rainzm
33475733f6 feat(host): notify when snapshot memory checksum test fail 2022-04-01 19:00:59 +08:00
rainzm
419a33958c feat(image): notify when image checksum test fail 2022-04-01 19:00:56 +08:00
rainzm
f5d58cdee9 feat(cloudcommon): notify when the checksum of db table record test fail
1. remove pkg/cloudcommon/db dependency on pkg/cloudcommon
2. init db notifier in pkg/cloudcommon.InitDB
3. move interface 'IStartable' to pkg/util/logclient package which alone references above interface
2022-04-01 18:50:40 +08:00
rainzm
0713624f0c feat(cloudcommon): add SystemEventNotify and SystemExceptionNotifyWithResult 2022-04-01 18:50:39 +08:00
rainzm
64d685ca07 feat(notify): add topic 'checksum test faile' and 'user lock' 2022-04-01 18:50:34 +08:00
ioito
b2c4aafe46 fix(apigateway): convert net err to service error 2022-04-01 15:39:23 +08:00
zhaoxiangchun
5fd96046ad fix(cloudmon): fix gcp metric pull
1. external_id format
2022-04-01 14:49:43 +08:00
Jian Qiu
8da40d66ee fix: fail to snapshot and clone due to mismatch class metadata (#13856)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-01 13:19:03 +08:00
Jian Qiu
c9697d39fe fix: cloudshell use dynamic keystone endpoint (#13853)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-01 13:14:47 +08:00
Zexi Li
8fbace1af7 Merge pull request #13852 from zexi/automated-cherry-pick-of-#13851-upstream-master
Automated cherry pick of #13851: fix(host): arm ovmf not injected
2022-04-01 12:29:01 +08:00
Zexi Li
f3f1bd6613 fix(host): arm ovmf not injected 2022-04-01 11:52:46 +08:00
ioito
142ebcac66 fix(region): show account lake of permission 2022-04-01 11:40:58 +08:00
Jian Qiu
df6f118542 fix: aarch64 ensure UEFI (#13844)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-03-31 18:15:57 +08:00
Zexi Li
4e689b1aa0 Merge pull request #13842 from swordqiu/hotfix/qj-wrong-region-reference
fix: region should be refered by consts.GetRegion()
2022-03-31 17:01:50 +08:00
Qiu Jian
4f1f4cbb0f fix: region should be refered by consts.GetRegion() 2022-03-31 16:48:29 +08:00
Jian Qiu
2ff9be6e1d feature: add webconsole enabled user the default webconsole policy (#13837)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-03-31 13:50:33 +08:00
Jian Qiu
2a4191c23a fix: image may missing os_arch and checksum (#13835)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-03-31 13:50:05 +08:00
屈轩
9f539a4bce fix(apigateway): export timeout (#13827) 2022-03-31 12:57:06 +08:00
Zexi Li
41f928841f Merge pull request #13824 from ioito/hotfix/qx-vender-update
fix(region): curl vender update
2022-03-30 16:55:53 +08:00
Zexi Li
5ad235d914 Merge pull request #13831 from rainzm/glance/inits3_checkimage
fix(glance): check image after initializing s3
2022-03-30 16:53:10 +08:00
rainzm
54abd2f1d3 fix(glance): check image after initializing s3 2022-03-30 16:00:49 +08:00
ioito
03a494194b fix(region): curl vender update 2022-03-30 11:02:40 +08:00
Zexi Li
391a56e720 Merge pull request #13821 from swordqiu/hotfix/qj-remote-tmp-file-not-move
fix: remote file not move
2022-03-30 10:14:29 +08:00
Zexi Li
14305741ba fix(telegraf-raid-plugin): zombies recycle (#13817) 2022-03-30 07:41:41 +08:00
Qiu Jian
c0dfabbafa fix: remote file not move 2022-03-30 07:32:54 +08:00
Zexi Li
c761768f36 Merge pull request #13813 from ioito/hotfix/qx-report
fix(apigateway): report data for cloudpods
2022-03-29 22:38:03 +08:00
ioito
3c8d635ce7 fix(apigateway): report data for cloudpods 2022-03-29 18:17:49 +08:00
Zexi Li
04330dbeee Merge pull request #13811 from swordqiu/hotfix/qj-arm-default-machine-virt
fix: change arm default machine virt
2022-03-29 13:27:32 +08:00
Qiu Jian
36649e2bc3 fix: change arm default machine virt 2022-03-29 12:43:59 +08:00
Zexi Li
33fa44ff92 Merge pull request #13808 from ioito/hotfix/qx-cloudprovider-distinct
fix(region): cloudprovider distinct
2022-03-29 11:53:41 +08:00
Zexi Li
e48a0eb3ad Merge pull request #13803 from ioito/hotfix/qx-host-order-by-storage
fix(region): order by host storage
2022-03-29 11:53:10 +08:00
ioito
6aec7a076d fix(region): cloudprovider distinct 2022-03-29 09:50:53 +08:00
Zexi Li
0cdc33a923 feat(keystone): config option db record checksum (#13806) 2022-03-28 12:40:33 +08:00
ioito
ea20e64d51 fix(region): order by host storage 2022-03-28 11:32:10 +08:00
Jian Qiu
2553a85a03 fix: predefined ops/sec/adt manager roles (#13801)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-03-27 22:49:22 +08:00
Jian Qiu
79affb7c81 fix: add GetEncryptKeysRpc (#13799)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-03-27 14:49:00 +08:00
wanyaoqi
a5c27565d5 region/host: fix reset ceph root disk after rebuild root (#13794)
Ceph storage disk rebuild root will rename origin disk to backing
disk, so we need use backing disk reset snapshot.

Signed-off-by: wanyaoqi <wanyaoqi1995@163.com>
2022-03-27 11:34:35 +08:00
Zexi Li
4a13598189 fix(logger): SActionlog should return ActionLogManager (#13795) 2022-03-27 11:01:30 +08:00
Zexi Li
0d5b4f43e4 feat(vendor): update vendor for master (#13792) 2022-03-27 11:00:59 +08:00
Zexi Li
3b315d7656 Merge pull request #13788 from taigrr/master
update ghw dependency
2022-03-26 19:03:04 +08:00
Zexi Li
35b04c9476 Merge pull request #13780 from zhaoxiangchun/fix/zxc-master
fix(cloudmon): cloudmon fix
2022-03-26 19:01:08 +08:00
Zexi Li
53ef65d79c Merge pull request #13789 from swordqiu/hotfix/qj-aes-decrypt-fail
fix: aes decrypt failure
2022-03-26 19:00:47 +08:00
Zexi Li
26d2f73325 Merge pull request #13785 from swordqiu/hotfix/qj-assoicate-eip-with-vpc-instance-group
fix: instance group with classic network cannot associate with eip
2022-03-26 19:00:14 +08:00
Qiu Jian
742a9b54aa fix: aes decrypt failure 2022-03-26 15:18:25 +08:00
Jian Qiu
ce836b3f77 feature: qemu encryption support (#13733)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-03-26 14:52:42 +08:00
Tai Groot
bb0bb4eba9 update vendor modules 2022-03-25 20:54:39 -07:00
Tai Groot
6235b23f9c update ghw dependency 2022-03-25 20:49:31 -07:00
Qiu Jian
79d4d01606 fix: instance group with classic network cannot associate with eip 2022-03-26 03:24:27 +08:00
Zexi Li
afc48bac82 fix(host-deployer): chage for exists cloudroot user (#13782) 2022-03-25 20:10:09 +08:00
zhaoxiangchun
e31cc0144d fix(cloudmon): cloudmon fix
1. 增加account tag
2. aws region pull metric add lock
2022-03-25 16:29:15 +08:00
Zexi Li
e6b80262ed Merge pull request #13777 from ioito/hotfix/qx-cpu-int
fix(region): cpu float to int
2022-03-25 11:45:12 +08:00
ioito
72e5c303e0 fix(region): cpu float to int 2022-03-25 11:29:51 +08:00
Zexi Li
92b16936e1 Merge pull request #13772 from ioito/hotfix/qx-bingo-attr
fix(region): bingo node attr
2022-03-24 21:25:15 +08:00
Zexi Li
c91a6e0139 Merge pull request #13769 from ioito/hotfix/qx-cloudpods-misc
fix(region): cloudpods misc fix
2022-03-24 21:24:17 +08:00
Zexi Li
2f782ddeba Merge pull request #13774 from ioito/hotfix/qx-aes-256
fix(region): add seclib aes
2022-03-24 18:53:53 +08:00
ioito
d76f2d20fb fix(region): add seclib aes 2022-03-24 18:07:28 +08:00
ioito
9ee7ace482 fix(region): bingo node attr 2022-03-24 17:04:02 +08:00
ioito
d7f197a033 fix(region): cloudpods misc fix 2022-03-24 14:33:20 +08:00
Zexi Li
17c17aa3a0 Merge pull request #13767 from swordqiu/hotfix/qj-host-deploy-mkdir-chmod
fix: host deploy chmod after mkdir to ensure permission
2022-03-23 23:45:16 +08:00
Zexi Li
87a325c7e1 Merge pull request #13753 from ioito/hotfix/qx-cached-image
fix(region): clean glance image cache
2022-03-23 23:44:09 +08:00
Qiu Jian
e8ce9e1271 fix: host deploy chmod after mkdir to ensure permission 2022-03-23 20:34:19 +08:00
Zexi Li
8b5abae087 Merge pull request #13764 from rainzm/appevr/lock
fix(region): release lock in SyncAppEnvironments
2022-03-23 16:38:38 +08:00
rainzm
aae6131b20 fix(region): release lock in SyncAppEnvironments 2022-03-23 16:31:12 +08:00
Zexi Li
ce1c9363e6 Merge pull request #13762 from ioito/hotfix/qx-bingo-fix
fix(region): bingocloud sync fix
2022-03-23 15:58:18 +08:00
ioito
9e7f2c8446 fix(region): bingocloud sync fix 2022-03-23 15:47:00 +08:00
Zexi Li
a329b555a7 Merge pull request #13749 from ioito/hotfix/qx-vmware-sec
fix(region): vmware no need secgroup
2022-03-23 10:59:50 +08:00
Zexi Li
d8ad6f96b2 Merge pull request #13757 from ioito/hotfix/qx-sched-tag-sync
fix(region): host sched tag sync
2022-03-23 00:28:02 +08:00
Zexi Li
fa62b2dabd Merge pull request #13760 from swordqiu/hotfix/qj-add-more-set-class-metadata
fix: add more set class metadata commands
2022-03-23 00:27:15 +08:00
Qiu Jian
e60e1cd60e fix: add more set class metadata commands 2022-03-22 21:52:34 +08:00
ioito
b174c23663 fix(region): host sched tag sync 2022-03-22 18:53:41 +08:00
ioito
2e9edfb334 fix(region): clean glance image cache 2022-03-22 17:29:35 +08:00
ioito
01e820fd5c fix(region): vmware no need secgroup 2022-03-21 20:07:54 +08:00
Zexi Li
117e81a4d9 Merge pull request #13747 from zexi/host-check-vm-cpuset
fix(region): add host cpuset used cores
2022-03-21 18:39:49 +08:00
Zexi Li
b456f585bb fix(region): add host cpuset used cores 2022-03-21 18:18:14 +08:00
Zexi Li
29e3f22422 Merge pull request #13687 from ioito/hotfix/qx-log-export
fix(region): log export
2022-03-21 18:17:34 +08:00
Zexi Li
c72c370765 Merge pull request #13732 from zexi/memory-snapshot-checksum
feat(region,host): memory snapshot checksum
2022-03-21 18:17:05 +08:00
Zexi Li
a569b0046e feat(region,host): memory snapshot checksum 2022-03-21 17:14:26 +08:00
Zexi Li
b3e1f4a78e Merge pull request #13738 from ioito/hotfix/qx-redis-public-connection
fix(region): elastic search public connection
2022-03-21 16:40:58 +08:00
Zexi Li
0693a16f24 Merge pull request #13744 from zexi/host-check-vm-cpuset
fix(region): guest and host cpuset one-to-one validate
2022-03-21 16:40:19 +08:00
Zexi Li
ec9e3bd338 feat(cloudcommon,region,keystone,logger): use enable_db_checksum_tables option control checksum record (#13736)
region: guests_tbl
keystone: user
logger: action_tbl
2022-03-21 13:28:23 +08:00
Zexi Li
a882054889 fix(region): guest and host cpuset one-to-one validate 2022-03-21 12:52:51 +08:00
Zexi Li
1eb838c08c Merge pull request #13739 from ioito/hotfix/qx-sku-init-2
fix(region): sku init
2022-03-21 12:52:07 +08:00
Zexi Li
e363c1f625 Merge pull request #13721 from zhaoxiangchun/fix/zxc-master
fix(host): fix guest nicStat  Metric in host
2022-03-21 12:51:03 +08:00
ioito
616f4b2958 fix(region): elastic search public connection 2022-03-21 12:09:14 +08:00
ioito
aefa35fd0a fix(region): sku init 2022-03-21 11:45:55 +08:00
Zexi Li
8eb752933d Merge pull request #13727 from ioito/hotfix/qx-sku-name
fix(region): sku name
2022-03-21 11:38:33 +08:00
Zexi Li
accda613aa Merge pull request #13734 from rainzm/ib/recovery_project
fix(region): get project id correctly when recovery guest
2022-03-21 11:26:32 +08:00
rainzm
48fb4e7c43 fix(region): get project id correctly when recovery guest 2022-03-21 11:03:09 +08:00
Zexi Li
6430db2fee Merge pull request #13730 from rainzm/ib/recovery_info
fix(region): use ServerCreateInput as instanceBackup.ServerConfig
2022-03-18 19:33:51 +08:00
rainzm
1082bcc6d6 fix(region): use ServerCreateInput as instanceBackup.ServerConfig 2022-03-18 19:21:25 +08:00
ioito
9ad9d99197 fix(region): sku name 2022-03-18 18:07:25 +08:00
Rain Zheng
b0e5edeaf2 fix(region): use original project to recovery from instance backup (#13725) 2022-03-18 17:08:45 +08:00
zhaoxiangchun
2bb35769e2 fix(host): fix guest nicStat Metric in host 2022-03-18 15:36:18 +08:00
Zexi Li
29162af90c Merge pull request #13718 from ioito/hotfix/qx-vpc-topology-schetags
fix(region): host schedtags with topology
2022-03-18 14:36:32 +08:00
ioito
c225b5b258 fix(region): host schedtags with topology 2022-03-18 14:10:37 +08:00
Zexi Li
67b8457682 Merge pull request #13715 from ioito/hotfix/qx-sku-init
fix(region): sku init
2022-03-18 11:51:53 +08:00
ioito
3f1814dd6e fix(region): sku init 2022-03-18 10:00:10 +08:00
Zexi Li
d942a19250 Merge pull request #13708 from ioito/hotfix/qx-gcp-sec
fix(region): google gcp and label
2022-03-17 21:25:50 +08:00
Zexi Li
1d86e03eb2 Merge pull request #13711 from swordqiu/hotfix/qj-host-deploy-dir-permission
fix: host deploy mkdir permission
2022-03-17 21:24:50 +08:00
Qiu Jian
dea8d03d96 fix: host deploy mkdir permission 2022-03-17 16:30:35 +08:00
ioito
03a248e8b7 fix(region): google gcp and label 2022-03-17 16:24:37 +08:00
Zexi Li
caa80f2cbb Merge pull request #13702 from ioito/hotfix/qx-cloudimage-sync
fix(region): sync with storagecachedimage status
2022-03-16 18:10:13 +08:00
Zexi Li
89e4147bb5 Merge pull request #13696 from ioito/hotfix/qx-cloudpods-err
fix(region): cloudpods error
2022-03-16 17:45:59 +08:00
Zexi Li
84138697dd Merge pull request #13699 from ioito/hotfix/qx-sync-owner-id
fix(region): sync owner id
2022-03-16 17:36:46 +08:00
Zexi Li
d951726c34 Merge pull request #13705 from rainzm/vmware/storage
feat(region,esxiagent): support specifying storage when creating a data disk
2022-03-16 17:36:10 +08:00
rainzm
cbee639b5c feat(region,esxiagent): support specifying storage when creating a data disk 2022-03-16 14:42:29 +08:00
ioito
191753a3a0 fix(region): sync with storagecachedimage status 2022-03-16 14:41:48 +08:00
ioito
b765110fd5 fix(region): sync owner id 2022-03-15 21:34:26 +08:00
ioito
a42fd8ca05 fix(region): cloudpods error 2022-03-15 20:19:58 +08:00
Zexi Li
218f36d996 Merge pull request #13693 from ioito/hotfix/qx-redis-project-sync
fix(region): redis project sync
2022-03-15 20:00:56 +08:00
ioito
1932844f22 fix(region): redis project sync 2022-03-15 19:50:27 +08:00
Zexi Li
ad30742a1c Merge pull request #13691 from zexi/db-checksum
Db checksum
2022-03-15 14:23:36 +08:00
Zexi Li
6756e49a8c fix(keystone): db_checksum_skip_init blacklist 2022-03-15 11:33:41 +08:00
wanyaoqi
c2c88f5ef8 fix(host/region): fix import servers from libvirt (#13681)
make servers_import_from_libvirt workable in container environment.
bindmount libvirt monitor dir to host container and use procutils read
guest xml configure.

Signed-off-by: wanyaoqi <wanyaoqi1995@163.com>
2022-03-15 00:51:09 +08:00
屈轩
6a0ecc2940 fix(host): upload storage info with zone id (#13559) 2022-03-15 00:50:39 +08:00
Zexi Li
575d7fac7c feat(cloudcommon): db record checksum for consistency (#13679) 2022-03-14 23:30:11 +08:00
ioito
4b552395da fix(region): log export 2022-03-14 15:20:38 +08:00
Zexi Li
2450eba412 Merge pull request #13683 from ioito/hotfix/qx-random-sync
fix(region): remove random sync
2022-03-14 15:11:23 +08:00
ioito
ef0b7c2f12 fix(region): remove random sync 2022-03-14 10:32:47 +08:00
屈轩
2aa0d9fa03 fix(keystone): auth token error (#13061) 2022-03-12 16:52:55 +08:00
Zexi Li
5f6d180a11 Merge pull request #13677 from swordqiu/hotfix/qj-server-inherit-image-vdi-property
fix: server inherit the vdi_protocol of image property
2022-03-11 21:09:16 +08:00
Qiu Jian
43f9e6a19b fix: server inherit the vdi_protocol of image property 2022-03-11 19:45:39 +08:00
屈轩
844377b7f3 fix(glance): image save (#13673) 2022-03-11 16:16:10 +08:00
屈轩
50e93fd336 fix(region): google disk name (#13670) 2022-03-11 16:15:14 +08:00
Zexi Li
b9bae4245a Merge pull request #13643 from ioito/hotfix/qx-bingo-client-proxy
fix(region): bingo cloud request proxy
2022-03-11 10:18:40 +08:00
屈轩
4565337fac fix(climc): add purge splitable for action and cloudevent (#13663) 2022-03-10 23:41:34 +08:00
Zexi Li
6d038f7033 Merge pull request #13645 from ioito/hotfix/qx-nullable-colume-tag
fix(region): remove nullable tag
2022-03-10 19:36:46 +08:00
Zexi Li
85d3ba9887 Merge pull request #13659 from swordqiu/hotfix/qj-aws-s3-remove-leading-slash
fix: aws s3 object with leading slash
2022-03-10 18:50:59 +08:00
Zexi Li
adc2df368d Merge pull request #13667 from rainzm/host/image_lock
fix(host): avoid deadlock when fetch image fails
2022-03-10 18:50:19 +08:00
rainzm
ea47164a4d fix(host): avoid deadlock when fetch image fails 2022-03-10 18:36:27 +08:00
Qiu Jian
a9c9d01dcb fix: aws s3 object with leading slash 2022-03-10 10:59:39 +08:00
Zexi Li
0bb5d074e4 Merge pull request #13641 from rainzm/secret/network
optimization for class metadata and instance backup
2022-03-10 01:12:38 +08:00
Zexi Li
43d6bc0665 Merge pull request #13657 from ioito/hotfix/qx-host-guests
fix(region): host guest cnt for deleted
2022-03-10 01:11:06 +08:00
ioito
a147095bc2 fix(region): host guest cnt for deleted 2022-03-09 15:56:02 +08:00
Zexi Li
383f363e05 Merge pull request #13647 from ioito/hotfix/qx-hw-storage
fix(region): huawei storage type
2022-03-09 14:58:19 +08:00
Zexi Li
c54b921abc Merge pull request #13652 from zhaoxiangchun/fix/zxc-master
fix(cloudmon): 3.9 release add Usage pull func
2022-03-09 14:57:55 +08:00
Zexi Li
7c68a59fe3 Merge pull request #13651 from rainzm/scheduler/init
fix(scheduler): init db after init auth
2022-03-09 14:57:11 +08:00
ioito
9da2e0e4a5 fix(region): huawei storage type 2022-03-09 14:45:28 +08:00
rainzm
ca4bdef869 fix(scheduler): init db after init auth 2022-03-09 14:30:14 +08:00
zhaoxiangchun
0103c1a81d fix(cloudmon): 3.9 release add Usage pull func 2022-03-09 14:27:08 +08:00
ioito
3dfdcd18fc fix(region): remove nullable tag 2022-03-09 11:49:59 +08:00
屈轩
e3b53ccf42 fix(region): show guest cnt for host (#13639) 2022-03-09 10:07:10 +08:00
ioito
ecf65ef6e7 fix(region): bingo cloud request proxy 2022-03-08 20:49:04 +08:00
rainzm
e2e19ba771 feat(region): try to restore to the original project when the instance backup is recoveryed 2022-03-08 19:04:18 +08:00
rainzm
af1f721f50 fix(region): get mountpoint from guestdisk not disk's metadata 2022-03-08 19:02:48 +08:00
rainzm
0dc3525091 feat(scheduler): class metadata ignore public system image 2022-03-08 14:49:28 +08:00
Zexi Li
68507a55f1 Merge pull request #13569 from ioito/feat/qx-bingocloud-op
feat(region): support bingocloud sync
2022-03-08 14:47:37 +08:00
Zexi Li
b55dd44e48 Merge pull request #13636 from rainzm/scalinggroup/create_fix
fix(region): add generate_name if not before validate guest creating data
2022-03-08 13:04:05 +08:00
Zexi Li
5ddc807737 Merge pull request #13638 from zexi/update-etcd-package-master
feat(vendor): update etcd package for master
2022-03-08 13:03:28 +08:00
Zexi Li
1c2a76cc76 feat(vendor): update etcd package for master 2022-03-08 10:52:23 +08:00
Zexi Li
23add10153 Merge pull request #13629 from zexi/isp-with-memory-filter
feat(region): instance snapshot with_memory filter
2022-03-08 10:40:47 +08:00
Zexi Li
58c3921a45 Merge pull request #13631 from rainzm/instancebackup/force_delete
Instancebackup force delete
2022-03-08 10:40:15 +08:00
Zexi Li
2945dab96e Merge pull request #13633 from ioito/hotfix/qx-skip-server
fix(region): allow skip server sync by system tags
2022-03-08 10:34:02 +08:00
rainzm
8ea28d77f4 fix(region): add generate_name if not before validate guest creating data 2022-03-07 18:39:43 +08:00
ioito
93f9784d02 fix(region): allow skip server sync by system tags 2022-03-07 17:44:07 +08:00
rainzm
7270d0f19b feat(region): support for forced deletion of instance backups 2022-03-07 17:38:41 +08:00
rainzm
c2be07be27 feat(climc): add DeleteWithParam 2022-03-07 17:16:52 +08:00
rainzm
1dac86a231 feat(region): check backup storage status before making backup 2022-03-07 17:15:59 +08:00
Zexi Li
30f2d41309 Merge pull request #13606 from swordqiu/hotfix/qj-disable-cache-for-oidc-auth-callback
fix: disable cache for oidc auth callback
2022-03-07 16:00:58 +08:00
Zexi Li
af5c427d65 Merge pull request #13620 from ioito/hotfix/qx-qcloud-disk-range
fix(region): qcloud disk range changed
2022-03-07 16:00:07 +08:00
Zexi Li
3b5989d264 Merge pull request #13624 from zexi/telgraf-raid-plugin-update
feat(telegraf-raid-plugin): update rootfs and image version
2022-03-07 15:59:15 +08:00
Zexi Li
35f631745a feat(region): instance snapshot with_memory filter 2022-03-07 15:58:31 +08:00
Zexi Li
046b37fafd feat(telegraf-raid-plugin): update rootfs and image version 2022-03-07 11:52:55 +08:00
ioito
13a61d0b79 fix(region): qcloud disk range changed 2022-03-07 11:12:35 +08:00
Rain Zheng
e11d9acbc9 Instancebackup/syncstatus (#13618)
* feat(region): add status in snapshot or save phase for instancebackup

* feat(region): add sync_status for instancebackup

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

* feat(region): add syncstatus for backup storage

* fix(region): correct stage for InstanceBackupDeleteTask

* feat(climc): add syncstatus for backupstorage and instancebackup
2022-03-07 09:52:23 +08:00
ioito
885faa5020 feat(region): support bingocloud sync 2022-03-06 17:28:19 +08:00
Rain Zheng
7072e1798b fix(scheduledtask): treat hour and minute as utc time (#13610) 2022-03-06 17:07:49 +08:00
屈轩
004e4de0ce fix(region): rds project sync (#13613) 2022-03-06 17:07:04 +08:00
Zexi Li
2be3d48604 Merge pull request #13603 from ioito/hotfix/qx-lb-info
fix(region): expend length lb info
2022-03-06 11:07:09 +08:00
ioito
5d6a1f33ab fix(region): expend length lb info 2022-03-06 11:04:53 +08:00
Zexi Li
0571eda577 Merge pull request #13582 from ioito/hotfix/qx-project-role-metadata
fix(keystone, apigateway): project role with metadata
2022-03-06 10:20:51 +08:00
Zexi Li
3827b5c5d8 Merge pull request #13600 from ioito/hotfix/qx-azure-lb
fix(region): remote useless info of azure lb
2022-03-06 10:20:01 +08:00
ioito
8a02a0897a fix(region): remote useless info of azure lb 2022-03-06 10:02:25 +08:00
Qiu Jian
2204530dec fix: disable cache for oidc auth callback 2022-03-05 10:31:06 +08:00
Zexi Li
5f55625a23 Merge pull request #13596 from rainzm/ansible/requirements
fix(ansible): use the correct length value 'text'
2022-03-04 22:00:18 +08:00
rainzm
093353316e fix(ansible): use the correct length value 'text' 2022-03-04 16:05:09 +08:00
Zexi Li
1b0d4e4dfd Merge pull request #13593 from ioito/hotfix/qx-filter-by-manager
fix(region): external project filter by manager id
2022-03-04 12:28:19 +08:00
ioito
e31319e08c fix(region): external project filter by manager id 2022-03-04 12:02:40 +08:00
Zexi Li
54c5bb8bb2 Merge pull request #13577 from zexi/qemu-mem-snapshot
feat(host): server instance snapshot with memory
2022-03-04 10:17:11 +08:00
Zexi Li
5dc14f14eb Merge pull request #13573 from rainzm/secret/network
class metadata limit for vpc, wire and network
2022-03-03 21:01:15 +08:00
Zexi Li
36b02eaeae Merge pull request #13589 from rainzm/agentinstall/sshport
fix(region,devtool): get ssh port from 'servers/<id>/sshport' api
2022-03-03 21:00:06 +08:00
Zexi Li
540371495c Merge pull request #13584 from ioito/hotfix/qx-secgroup-merge
fix(region): not allow merge default secgroup
2022-03-03 20:59:14 +08:00
rainzm
842851dbaf fix(region,devtool): get ssh port from 'servers/<id>/sshport' api 2022-03-03 16:42:51 +08:00
Zexi Li
ef4653c18f Merge pull request #13578 from zexi/kvm-net-addr
fix(host): remove addr of qemu nic option
2022-03-03 16:25:22 +08:00
Zexi Li
74008ce998 Merge pull request #13581 from zexi/instance-snapshot-reset-validate
fix(region): instance snapshot reset should match self guest
2022-03-03 16:18:40 +08:00
ioito
01f289be04 fix(region): not allow merge default secgroup 2022-03-03 15:47:48 +08:00
ioito
229313d2d4 fix(keystone, apigateway): project role with metadata 2022-03-03 15:31:26 +08:00
Zexi Li
e5d801657b fix(region): instance snapshot reset should match self guest 2022-03-03 15:05:13 +08:00
Zexi Li
c0a0121d2b feat(host): server instance snapshot with memory 2022-03-03 13:53:11 +08:00
Zexi Li
a1355a8717 Merge pull request #13575 from swordqiu/hotfix/qj-host-update-sn
fix: host update sn
2022-03-03 09:29:38 +08:00
Zexi Li
49a742bfcf fix(host): remove addr of qemu nic option 2022-03-03 09:27:44 +08:00
Qiu Jian
0ae246f01d fix: host update sn 2022-03-02 18:57:02 +08:00
rainzm
ff02e8c3ea fix(scheduler): ignore classmetadata check when it is nil 2022-03-02 17:26:49 +08:00
rainzm
59c32ff7d6 feat(region): increase classmetadata limit for vpc, wire, network and host
host will inherit wire's classmetadata when adding netif and netif is
admin type
2022-03-02 17:25:29 +08:00
Zexi Li
0558a305d6 Merge pull request #13570 from ioito/hotfix/qx-rbd-disk-path
fix(host): rbd disk path
2022-03-02 12:00:56 +08:00
ioito
b751b72c35 fix(host): rbd disk path 2022-03-02 11:41:35 +08:00
Zexi Li
f0d14fce4f Merge pull request #13566 from ioito/hotfix/qx-notify-panic
fix(notify): add panic notify
2022-03-01 19:18:42 +08:00
Zexi Li
f6bbd05a30 Merge pull request #13563 from rainzm/notify/release
fix(region): expiration notification works for resources after renewal
2022-03-01 19:06:39 +08:00
rainzm
bdf71b228a fix(region): expiration notification works for resources after renewal 2022-03-01 17:22:01 +08:00
ioito
6f32a0281a fix(notify): add panic notify 2022-03-01 17:17:29 +08:00
Zexi Li
6b8c4147b6 Merge pull request #13555 from ioito/hotfix/qx-user-info-totp
fi(apigateway): user info with totp
2022-03-01 11:15:04 +08:00
Zexi Li
8120401da2 Merge pull request #13561 from ioito/hotfix/qx-global-vpc-delete-cmd
fix(climc): add cmd for global vpc
2022-03-01 11:07:49 +08:00
Zexi Li
1d471a5eff Merge pull request #13552 from ioito/hotfix/qx-reset-password-base64
fix(yunionapi): reset password with base64
2022-03-01 11:04:13 +08:00
ioito
80f5b7d8d5 fix(climc): add cmd for global vpc 2022-02-28 15:24:52 +08:00
Zexi Li
10b1d9bdd3 Merge pull request #13529 from ioito/feat/qx-aws-rds
fix(region): aws rds create
2022-02-28 15:14:36 +08:00
ioito
a6e495e552 fi(apigateway): user info with totp 2022-02-28 11:15:09 +08:00
ioito
d74d1803bf fix(yunionapi): reset password with base64 2022-02-28 10:52:55 +08:00
Zexi Li
5056a90185 Merge pull request #13293 from rainzm/bugfix/template_create
fix(glance): convert image in s3 storage
2022-02-28 10:48:20 +08:00
Zexi Li
bee17fc674 Merge pull request #13551 from swordqiu/hotfix/qj-update-README-ssh-key-no-passphrase
fix: update README indicate that ssh private key without passphrase
2022-02-28 09:58:14 +08:00
Zexi Li
d95f9ddfaa feat(region): add server-cpuset-cores cmd to get pinned and usable cores (#13548) 2022-02-26 21:43:51 +08:00
Qiu Jian
27989e2ab8 fix: update README indicate that ssh private key without passphrase 2022-02-26 16:43:25 +08:00
屈轩
142b36bbd0 fix(region): project tags filter for usages (#13471) 2022-02-26 14:28:04 +08:00
rainzm
71baf8268f fix(glance): re-convert as long as subformat is not active
之前的写法会导致saving或者save_fail状态的subformat,不会再次
转换。而且镜像是否需要转换,由ImageCheckTask决定了,ImageConvertTask
只需要注意不重新转换active的subformat就好了,save失败的subformat
也应该设置状态为save_fail。
2022-02-25 18:49:29 +08:00
ioito
3b93455076 fix(region): aws rds create 2022-02-25 18:31:46 +08:00
Zexi Li
47bde1987c Merge pull request #13536 from ioito/hotfix/qx-nutanix-nic-sync
fix(region): nutanix nic sync
2022-02-25 16:39:11 +08:00
Zexi Li
9bfd62325b Merge pull request #13543 from zexi/arm-duplicate-video0
fix(host): arm kvm duplicate video0 device
2022-02-25 10:14:11 +08:00
Zexi Li
00b201482f Merge pull request #13539 from ioito/hotfix/qx-cli-help
fix(climc): add --help for other cli
2022-02-24 23:48:48 +08:00
Zexi Li
6346b500cc fix(host): arm kvm duplicate video0 device 2022-02-24 23:16:54 +08:00
Zexi Li
226d2d5161 Merge pull request #13541 from rainzm/virtual/postcreate
fix(region): call parent's PostCreate in virtualResourceBase.PostCreate
2022-02-24 19:08:37 +08:00
rainzm
a7f6a1f3df fix(region): call parent's PostCreate in virtualResourceBase.PostCreate 2022-02-24 18:50:44 +08:00
ioito
c1d963dcc4 fix(climc): add --help for other cli 2022-02-24 16:15:12 +08:00
rainzm
b7a7ded193 fix(glance): convert image in s3 storage 2022-02-24 15:56:21 +08:00
ioito
7fc78f0dc0 fix(region): nutanix nic sync 2022-02-24 14:34:49 +08:00
Zexi Li
e3ac849f1f Merge pull request #13510 from swordqiu/hotfix/qj-allow-idp-initiated-saml-login
fix: allow IDP initiated SAML login
2022-02-24 11:53:31 +08:00
Zexi Li
ce13a7a11b Merge pull request #13480 from ioito/hotfix/qx-climc-help
fix(climc): support --help args
2022-02-24 11:53:14 +08:00
ioito
8354483e59 fix(climc): support --help args 2022-02-24 11:14:10 +08:00
Zexi Li
49979bafcc Merge pull request #13531 from rainzm/scalinggroup/opt
fix(region): init scalinggroup controller in correct order
2022-02-24 10:17:58 +08:00
rainzm
3645328503 fix(region): init scalinggroup controller in correct order 2022-02-23 20:13:18 +08:00
Zexi Li
b5d8522f37 feat(region,host): server cpuset supported (#13527)
* feat(region,host): server cpuset supported

* feat(region,host): cpuset remove
2022-02-23 16:07:01 +08:00
Qiu Jian
af6e968980 fix: allow IDP initiated SAML login 2022-02-23 15:28:30 +08:00
Zexi Li
06e3c9cc81 Merge pull request #13525 from rainzm/instancebackup/import_export
feat(region,host): support packing and unpacking instancebackup
2022-02-23 14:54:33 +08:00
rainzm
77ea86fafe feat(region,host): support packing and unpacking instancebackup 2022-02-23 10:04:07 +08:00
Zexi Li
fef3222dc0 Merge pull request #13518 from ioito/hotfix/qx-vm-nic-sync
fix(region): vm nic sync with network
2022-02-22 19:23:10 +08:00
Rain Zheng
1af62d9c18 fix(region): delete disk actually when cleaning disks (#13521) 2022-02-22 17:58:51 +08:00
Zexi Li
df2b0bc711 Merge pull request #13515 from ioito/hotfix/qx-host-info
fix(host): host register
2022-02-22 15:53:14 +08:00
ioito
2ba4cac402 fix(host): host register 2022-02-22 15:29:06 +08:00
Zexi Li
7857ccae6c Merge pull request #13511 from ioito/hotfix/qx-ceph-df
fix(host): ceph df with total_bytes
2022-02-22 11:03:51 +08:00
ioito
63b02556bc fix(host): ceph df with total_bytes 2022-02-22 09:47:16 +08:00
ioito
7daaac743d fix(region): vm nic sync with network 2022-02-22 09:40:44 +08:00
Zexi Li
b8ec34ad7a fix(region): live migrate skip_kernel_check api (#13508) 2022-02-21 21:22:17 +08:00
Zexi Li
56224527a9 Merge pull request #13496 from ioito/hotfix/qx-host-log
fix(host): add host online offline log
2022-02-21 18:11:13 +08:00
Zexi Li
7bc3f83bf2 Merge pull request #13493 from zexi/host-image-build-flags
fix(host-image): update build flags
2022-02-21 18:10:10 +08:00
Zexi Li
92baa395ab Merge pull request #13499 from swordqiu/feature/qj-time-limited-policy
feature: policy limited by time range
2022-02-21 18:09:45 +08:00
Zexi Li
aebf274c8e Merge pull request #13502 from ioito/hotfix/qx-log-purge
fix(climc): log purge
2022-02-21 18:09:13 +08:00
Zexi Li
5cabe11265 Merge pull request #13504 from swordqiu/hotfix/qj-create-local-user-nil-pointer-error
fix: user create user nil pointer error
2022-02-21 16:53:15 +08:00
Qiu Jian
7d776f37ae fix: user create user nil pointer error 2022-02-21 12:08:47 +08:00
ioito
4be6e1bd00 fix(climc): log purge 2022-02-21 10:46:25 +08:00
Qiu Jian
5f322b440e feature: policy limited by time range 2022-02-20 01:18:22 +08:00
ioito
7b4702ec97 fix(host): add host online offline log 2022-02-18 18:30:05 +08:00
Zexi Li
201d4c3ca2 fix(host-image): update build flags 2022-02-18 10:51:54 +08:00
Zexi Li
9ce60bb405 Merge pull request #13489 from rainzm/backupstorage/public
feat(climc): add public and private for backupstorage
2022-02-18 09:50:24 +08:00
Zexi Li
95734c554b Merge pull request #13478 from ioito/hotfix/qx-server-create-with-disk-desc
fix(climc): server create with disk desc
2022-02-18 09:49:53 +08:00
Zexi Li
af7480d08f Merge pull request #13485 from zexi/update-baremetal-base-img
fix(baremetal): update baremetal-base image version
2022-02-18 09:48:00 +08:00
Zexi Li
9eb83b4a86 fix(baremetal): update baremetal-base image version 2022-02-17 22:07:52 +08:00
rainzm
004917bac3 feat(climc): add public and private for backupstorage 2022-02-17 19:22:24 +08:00
Zexi Li
924fd39ea9 Merge pull request #13486 from rainzm/guest/real_delete
fix(region): send SERVER_DELETE event notify when guest is actually deleted
2022-02-17 17:55:06 +08:00
rainzm
7d7700f6e3 fix(region): send SERVER_DELETE event notify when guest is actually deleted 2022-02-17 17:42:36 +08:00
Zexi Li
5088248482 Merge pull request #13475 from swordqiu/hotfix/qj-not-init-bios-input
fix: not initialize input BIOS
2022-02-17 11:58:53 +08:00
Zexi Li
55c3fe52ae Merge pull request #13481 from rainzm/secret/resource
Fix for secret/resource
2022-02-16 20:24:46 +08:00
rainzm
6de3e63cb5 fix: add common Inherit 2022-02-16 20:14:49 +08:00
rainzm
6761c7de9a fix(image): add independent PerformChangeOwner for image 2022-02-16 20:13:19 +08:00
Zexi Li
807459a49d Merge pull request #13371 from rainzm/secret/resource
Classification of resources
2022-02-16 17:51:51 +08:00
rainzm
338ecead35 fix(scheduler): add GetAllClassMedata in mock test 2022-02-16 17:44:32 +08:00
rainzm
5bec11dc85 feat: add GetAllClassMetadata for tenantcache 2022-02-16 17:31:15 +08:00
ioito
75a4c042b2 fix(climc): server create with disk desc 2022-02-16 16:23:38 +08:00
Qiu Jian
5d7be16df1 fix: not initialize input BIOS 2022-02-16 14:22:54 +08:00
Zexi Li
0364119116 Merge pull request #13474 from zexi/server-create-count
fix(region): swagger server create count ignore
2022-02-16 13:25:03 +08:00
Zexi Li
c615156040 fix(region): swagger server create count ignore 2022-02-16 13:17:58 +08:00
Zexi Li
1af7b772da Merge pull request #13468 from ioito/hotfix/qx-image-statistics
fix(glance): image statistics
2022-02-16 10:27:09 +08:00
Zexi Li
ce005e93d8 Merge pull request #13457 from ioito/hotfix/qx-ldap-sync-log
fix(keyston): add sync log for ldap
2022-02-15 19:04:15 +08:00
Zexi Li
b66541db9b Merge pull request #13463 from ioito/hotfix/qx-tag-export
fix(region): tag key export
2022-02-15 19:02:38 +08:00
Zexi Li
c64f7749a7 fix(baremetal): grub msdos partition detected (#13466) 2022-02-15 18:58:01 +08:00
ioito
86e7c2b661 fix(glance): image statistics 2022-02-15 18:47:24 +08:00
rainzm
42a8eb837b feat: add project with class metadata 2022-02-15 18:22:01 +08:00
ioito
ee6f40bd83 fix(region): tag key export 2022-02-15 18:15:50 +08:00
Zexi Li
7e5b3c890f Merge pull request #13460 from ioito/hotfix/qx-tdsql-tag
fix(region): qcloud tdsql tags
2022-02-15 17:54:26 +08:00
ioito
bc3bfc75de fix(region): qcloud tdsql tags 2022-02-15 17:30:16 +08:00
ioito
2a2c38fb8a fix(keyston): add sync log for ldap 2022-02-15 15:46:28 +08:00
Zexi Li
5ea56b08c9 Merge pull request #13451 from swordqiu/hotfix/qj-classic-network-mtu-issue
fix: class network mtu should consider default_mtu
2022-02-15 15:25:07 +08:00
Zexi Li
73c456b31c Merge pull request #13454 from zexi/host-arm-usb1
fix(host): aarch64 vm usb id duplicated
2022-02-15 15:24:17 +08:00
Zexi Li
16571c758c fix(host): aarch64 vm usb id duplicated 2022-02-15 11:34:30 +08:00
Qiu Jian
14ebb3427c fix: class network mtu should consider default_mtu 2022-02-15 09:55:55 +08:00
Zexi Li
d5e0ffe2ce Merge pull request #13442 from swordqiu/hotfix/qj-filter-server-by-vip
fix: filter server by vip or eip of vip
2022-02-15 09:52:25 +08:00
Qiu Jian
ff58d7c677 fix: filter server by vip or eip of vip 2022-02-15 03:10:29 +08:00
Zexi Li
070dae3464 Merge pull request #13446 from ioito/hotfix/qx-qemu-arg
fix(host): arm qemu remove -no-kvm
2022-02-14 21:31:43 +08:00
Zexi Li
a832e0ba0b Merge pull request #13443 from ioito/hotfix/qx-s3-object-acl
fix(region): minio s3 object set acl error
2022-02-14 18:59:04 +08:00
ioito
39b05a5264 fix(host): arm qemu remove -no-kvm 2022-02-14 17:46:53 +08:00
ioito
6ecd4d78fd fix(region): minio s3 object set acl error 2022-02-14 15:20:36 +08:00
Zexi Li
70e4d6f604 Merge pull request #13439 from swordqiu/hotfix/qj-delete-disk-skip-recycle
fix: delete disk skip recycle_bin
2022-02-14 09:59:33 +08:00
Zexi Li
9078134e34 Merge pull request #13409 from ioito/hotfix/qx-external-project-manager-id
fix(region): associate manager with external project
2022-02-14 09:58:51 +08:00
Qiu Jian
1ad4f9e7d0 fix: delete disk skip recycle_bin 2022-02-13 20:45:55 +08:00
Zexi Li
b591275698 Merge pull request #13426 from swordqiu/hotfix/qj-delay-block-stream
fix: delay block stream after server start
2022-02-12 21:15:14 +08:00
Zexi Li
ca55915711 Merge pull request #13430 from swordqiu/feature/qj-need-reset-password
feature: local user add need_reset_password field
2022-02-12 21:14:34 +08:00
Zexi Li
15a9bdf7ba Merge pull request #13433 from swordqiu/feature/qj-customizable-totp-issuer
feature: customizable totp issuer string
2022-02-12 21:14:00 +08:00
Zexi Li
fe9497a000 Merge pull request #13436 from swordqiu/hotfix/qj-missing-instance-type-for-cloned-server
fix: missing instance type for cloned server
2022-02-12 21:13:31 +08:00
Qiu Jian
314af41466 fix: missing instance type for cloned server 2022-02-12 06:17:06 +08:00
Qiu Jian
b14c447752 feature: local user add need_reset_password field 2022-02-12 02:20:54 +08:00
Qiu Jian
134d2821b6 feature: customizable totp issuer string 2022-02-12 02:16:00 +08:00
Qiu Jian
410efc1bc3 fix: delay block stream after server start 2022-02-12 00:32:28 +08:00
Zexi Li
d00dc04897 Merge pull request #13422 from ioito/feat/qx-bingo-cloud
feat(region): bingo cloud cli
2022-02-11 20:13:42 +08:00
ioito
af57c8cc1f feat(region): bingo cloud cli 2022-02-11 18:25:33 +08:00
Zexi Li
3e3ce71c60 fix(region): vm_sync_isolated_device i18n (#13419) 2022-02-11 12:16:14 +08:00
Zexi Li
9a2e657c59 feat(baremetal): grub http boot initrd and kernel (#13414) 2022-02-11 12:14:34 +08:00
Zexi Li
af7a28233b Merge pull request #13415 from ioito/hotfix/qx-action-log
fix(region): action log
2022-02-11 11:37:54 +08:00
ioito
db461d037b fix(region): action log 2022-02-11 11:11:25 +08:00
Zexi Li
fe406b7a06 Merge pull request #13406 from ioito/hotfix/qx-waf-rule-sync
fix(region): skip first sync waf rule
2022-02-10 18:26:37 +08:00
Zexi Li
fc5fcdf390 Merge pull request #13411 from swordqiu/feature/qj-policy-import-export
feature: policy import/export utils
2022-02-10 18:25:39 +08:00
Qiu Jian
40dfc281f0 feature: policy import/export utils 2022-02-10 18:13:19 +08:00
ioito
bb8df2b6ea fix(region): associate manager with external project 2022-02-10 17:16:33 +08:00
ioito
3f62f676cf fix(region): skip first sync waf rule 2022-02-10 16:23:01 +08:00
Zexi Li
814f7117a8 fix(baremetal): add boot_loader syslinux and grub option (#13401) 2022-02-09 20:36:22 +08:00
Zexi Li
da5b825458 Merge pull request #13404 from zhaoxiangchun/fix/zxc-master
fix(cloudmon): fix  Apsara elb metric
2022-02-09 17:40:24 +08:00
Zexi Li
13b4ecfccf Merge pull request #13398 from ioito/hotfix/qx-hw-routetable
fix(region): huawei routetable
2022-02-09 17:35:29 +08:00
zhaoxiangchun
495cdd240f fix(cloudmon): fix Apsara elb metric 2022-02-09 17:25:59 +08:00
rainzm
d502c574b4 feat(climc): add (set-)class-metadata 2022-02-09 15:26:42 +08:00
rainzm
73f8987d02 fix(region): remove secret level resource 2022-02-09 15:26:42 +08:00
rainzm
4ba8d257ba feat(region): add class-metadata for standaloneAnonResource 2022-02-09 15:26:42 +08:00
rainzm
a75d5f3099 feat(region): check class_metadate when attach disk to guest 2022-02-09 15:26:42 +08:00
rainzm
e037738700 feat(region,image): inherit between resources
host -> guest -> disk -> image/backup/snapshot
          |
instance image/backup/snapshot -> image/backup/snapshot
2022-02-09 15:26:42 +08:00
rainzm
a97341a42e feat(scheduler): add class_metadata predicate 2022-02-09 15:26:42 +08:00
rainzm
9a2348e918 feat(region,image): cachedimage inherits the class metadata of image 2022-02-09 15:26:42 +08:00
rainzm
27d70e9a30 feat(region,image): add SecretResourceBase 2022-02-09 15:26:42 +08:00
rainzm
eaa03232d9 feat(region): add metadata prefix 'cls'
Such tags have inherited and isolated properties
2022-02-09 15:26:42 +08:00
ioito
b09109e671 fix(region): huawei routetable 2022-02-09 14:07:09 +08:00
Zexi Li
6d615bad96 Merge pull request #13396 from ioito/hotfix/qx-sparse-file
fix(host): sparse file seek
2022-02-09 10:40:10 +08:00
ioito
9fec1e478b fix(host): sparse file seek 2022-02-09 10:30:55 +08:00
Zexi Li
af5595dba3 Merge pull request #13392 from zexi/fix-host-migrate-remove-tls-obj
fix(host): make tls-creds empty when no tls migrate
2022-02-08 16:44:51 +08:00
Zexi Li
c525dfd2c5 fix(host): make tls-creds empty when no tls migrate 2022-02-08 16:18:59 +08:00
Zexi Li
1a94fe73db Merge pull request #13389 from zexi/batch-migrate-tls-opt
fix(region): batch migrate use enable_tls_migration option
2022-02-08 16:13:04 +08:00
Zexi Li
0418e5f3a5 fix(region): batch migrate use enable_tls_migration option 2022-02-08 15:10:18 +08:00
Zexi Li
ac268bf260 Merge pull request #13388 from zexi/automated-cherry-pick-of-#13386-upstream-master
Automated cherry pick of #13386: fix(host): dist prepare migrate_certs
2022-02-08 12:36:09 +08:00
Zexi Li
47691fae67 fix(host): dist prepare migrate_certs 2022-02-08 12:31:04 +08:00
Zexi Li
d8e3cb0e56 Merge pull request #13382 from swordqiu/hotfix/qj-qemu-img-force-share
fix: qemu-img info force share (-U)
2022-02-08 10:09:38 +08:00
Qiu Jian
a7fc6a287e fix: qemu-img info force share (-U) 2022-02-08 02:25:42 +08:00
Zexi Li
0f039e866e feat(region,keystone): add enable_tls_migration config (#13379) 2022-02-07 15:24:21 +08:00
Zexi Li
5350cf6c5b Merge pull request #13376 from swordqiu/feature/qj-native-hugepage-cleanup
feature: cleanup native hugepage codes
2022-02-07 14:19:52 +08:00
Qiu Jian
97866bfee0 feature: cleanup native hugepage codes 2022-02-06 17:58:16 +08:00
Jian Qiu
2c45629b50 feature: baremetal tftp send customized files according to a file map (#13374)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-02-03 21:21:17 +08:00
Rain Zheng
1aaa8ad1b0 fix(host): judge whether the resource exists correctly (#13368) 2022-01-29 00:58:04 +08:00
屈轩
72a5e80a8d fix(region): optimized public image sync (#13355) 2022-01-29 00:56:31 +08:00
Jian Qiu
d66b1c125d fix: test secgroup rules to ovn ACL and recode guest adminSecgroup (#13358)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-01-29 00:51:17 +08:00
屈轩
acc30d02d4 fix(region): update go mod (#13364) 2022-01-28 15:28:26 +08:00
屈轩
a7c2c251bf fix(common): tenant cache name (#13366) 2022-01-28 15:28:05 +08:00
屈轩
25c75187ce fix(host,region): add action log (#13302) 2022-01-28 11:17:40 +08:00
屈轩
ce83a5319c fix(region): set sys disk index to 0 (#13322) 2022-01-28 11:16:32 +08:00
屈轩
1475e23270 fix(region): 支持同时指定项目切自动创建项目 (#13359) 2022-01-28 11:13:13 +08:00
Zexi Li
b213be0ede Merge pull request #13341 from ioito/feat/qx-spare-file
feat(host): transfer sparse file over network
2022-01-27 15:33:41 +08:00
Zexi Li
f74410129f Merge pull request #13348 from ioito/hotfix/qx-vm-secgroup
fix(region): clear vm secgroup
2022-01-27 15:28:47 +08:00
Zexi Li
51590f3bd2 Merge pull request #13339 from zexi/tls-migration
Tls migration
2022-01-27 15:28:11 +08:00
ioito
a73e530cc1 feat(host): transfer sparse file over network 2022-01-27 14:07:16 +08:00
Zexi Li
1cdafb1ded Merge pull request #13345 from ioito/hotfix/qx-nutanix-disk
fix(region): nutanix disk
2022-01-27 12:25:28 +08:00
ioito
ae1956f0a9 fix(region): clear vm secgroup 2022-01-27 11:16:27 +08:00
Zexi Li
6a71444b27 feat(region,host): tls live migrating 2022-01-27 10:32:54 +08:00
ioito
b078e4b278 fix(region): nutanix disk 2022-01-27 10:16:20 +08:00
Zexi Li
105b0d2381 Merge pull request #13342 from swordqiu/feature/qj-support-fangde-os
feature: support fangde OS
2022-01-27 01:37:01 +08:00
Qiu Jian
791a9fb371 feature: support fangde OS 2022-01-26 23:27:01 +08:00
Zexi Li
4264d8774f feat(util): add tls util 2022-01-26 19:22:57 +08:00
Zexi Li
993f09e652 Merge pull request #13336 from ioito/hotfix/qx-huawei-rtb
fix(region): huawei rtb name
2022-01-26 19:07:59 +08:00
Zexi Li
daa1c802a9 Merge pull request #13332 from ioito/hotfix/qx-nutanix-image
fix(region): nutanix image and vpc vlan id
2022-01-26 18:38:32 +08:00
Zexi Li
6cf7d69c2a Merge pull request #13327 from rainzm/scheduledtask/timezone
fix(scheduledtask): format time from utc_offset
2022-01-26 17:48:28 +08:00
ioito
c3d37c7f5f fix(region): huawei rtb name 2022-01-26 16:05:01 +08:00
ioito
f5119fe743 fix(region): nutanix image and vpc vlan id 2022-01-26 15:48:11 +08:00
Zexi Li
5b8341550c Merge pull request #13330 from swordqiu/hotfix/qj-qemu-4.2.0-compat
fix: support qemu 4.2.0
2022-01-26 13:56:20 +08:00
Qiu Jian
d9a2c291b5 fix: support qemu 4.2.0 2022-01-26 13:45:10 +08:00
rainzm
260af5090c fix(scheduledtask): format time from utc_offset 2022-01-26 12:01:41 +08:00
Zexi Li
3f39b3175e Merge pull request #13314 from ioito/hotfix/qx-org-switch
fix(keystone): add global setting
2022-01-26 10:47:24 +08:00
Zexi Li
d75509f887 Merge pull request #13325 from rainzm/bugfix/bakcup
Bugfix/bakcup
2022-01-26 10:46:55 +08:00
Zexi Li
3b31abdc66 Merge pull request #13319 from ioito/hotfix/qx-nutanix-disk-type
fix(region): nutanix disk type
2022-01-26 10:29:47 +08:00
rainzm
8d684d3758 fix(region): marshall correctly SDiskBackup.DiskConfig 2022-01-25 17:51:17 +08:00
rainzm
55e0220d46 fix(host): init local backup dir 2022-01-25 17:05:06 +08:00
ioito
e914b035c1 fix(region): nutanix disk type 2022-01-25 16:51:28 +08:00
Zexi Li
5e405af576 Merge pull request #13316 from ioito/hotfix/qx-nutanix-vcpu
fix(region): nutanix instance vcpu
2022-01-25 14:57:50 +08:00
ioito
41fd940a44 fix(region): nutanix instance vcpu 2022-01-25 14:45:53 +08:00
ioito
00628a0757 fix(keystone): add global setting 2022-01-25 14:15:02 +08:00
Zexi Li
992ca0d49d Merge pull request #13308 from swordqiu/hotfix/qj-log-allow-view-events-of-owner-project
fix: allow view events of owner objects
2022-01-25 11:17:53 +08:00
Zexi Li
897d98f056 Merge pull request #13311 from ioito/hotfix/qx-nutanix-misc
fix(region): nutanix misc fix
2022-01-25 11:17:18 +08:00
ioito
96b24245b3 fix(region): nutanix misc fix 2022-01-25 11:10:00 +08:00
Qiu Jian
93d611b4a2 fix: allow view events of owner objects 2022-01-25 02:06:13 +08:00
Zexi Li
a870550831 Merge pull request #13299 from ioito/hotfix/qx-nutanix-net-vlan-id
fix(region): nutanix duplicate vlan id
2022-01-24 23:29:46 +08:00
Zexi Li
0faa403ce1 Merge pull request #13305 from swordqiu/hotfix/qj-rng-device-use-urandom
fix: rng device should use urandom instead of random
2022-01-24 23:26:44 +08:00
Qiu Jian
02725606d9 fix: rng device should use urandom instead of random 2022-01-24 23:01:10 +08:00
Zexi Li
6b9af1730d Merge pull request #13239 from rainzm/vmbackup/init
Instance/Disk Backup Support
2022-01-24 18:13:38 +08:00
ioito
70de3f4127 fix(region): nutanix duplicate vlan id 2022-01-24 14:17:38 +08:00
Zexi Li
e6b222072a Merge pull request #13290 from swordqiu/hotfix/qj-baremetal-match-by-empty-uuid
fix: baremetal mismatch with empty Guid
2022-01-24 10:46:39 +08:00
Qiu Jian
072beffe2f fix: baremetal mismatch with empty Guid 2022-01-22 18:50:58 +08:00
Zexi Li
bb2a7c979f Merge pull request #13216 from ioito/feat/qx-nutanix-op
feat(region): support nutanix
2022-01-22 18:23:42 +08:00
Zexi Li
bd914db5a6 Merge pull request #13288 from rainzm/bugfix/template_create
fix(region): add generate_name before validate creating data
2022-01-22 16:42:41 +08:00
rainzm
745d8123d4 fix(region): optimize codes
1. do not ignore err
2. replace jsonutils.JSONObject with specific structure
3. delete redundant code
4. fix edge problems
2022-01-22 15:35:04 +08:00
Zexi Li
397362db45 Merge pull request #13282 from ioito/hotfix/qx-list-result
fix(common): always return next_marker
2022-01-22 12:19:37 +08:00
Zexi Li
ac3cf07fb7 Merge pull request #13285 from swordqiu/hotfix/qj-arm-image-default-uefi
fix: arm image support UEFI by default
2022-01-22 12:18:56 +08:00
Qiu Jian
bac734f548 fix: arm image support UEFI by default 2022-01-21 19:04:04 +08:00
ioito
4e4e471b47 fix(common): always return next_marker 2022-01-21 18:43:42 +08:00
ioito
9f708cec0c feat(region): support nutanix 2022-01-21 14:04:06 +08:00
Zexi Li
b65e3eb512 fix(host): enable qemu log (#13278) 2022-01-21 13:19:35 +08:00
Zexi Li
9e71dd0f0f Merge pull request #12901 from zexi/qemu-4.0.1
feat(host): qemu 4.0.1 supported
2022-01-21 11:58:03 +08:00
Zexi Li
b9a6158460 Merge pull request #13274 from zexi/qemu-cmdline-out-range
fix(hostman): cmdline option range panic
2022-01-21 11:51:00 +08:00
Zexi Li
acb31312af fix(hostman): cmdline option range panic 2022-01-21 11:45:24 +08:00
Zexi Li
b5676cc249 fix(host): qmpmon typo 2022-01-21 11:41:01 +08:00
Zexi Li
43f4800cb8 fix(hostman): cmdline option range panic 2022-01-21 11:40:25 +08:00
Zexi Li
b932984ba6 feat(host): qemu 4.0.1 supported 2022-01-21 11:15:25 +08:00
Zexi Li
e81b7b6a62 Merge pull request #13265 from swordqiu/hotfix/qj-batch-migrate-in-parrallel
fix: batch migrate in parrallel
2022-01-21 10:12:40 +08:00
Zexi Li
1b54ec53c7 Merge pull request #13269 from swordqiu/feature/qj-log-to-syslog-server
feature: support log to remote syslog server
2022-01-21 10:12:05 +08:00
Zexi Li
6eb6584bc7 Merge pull request #13268 from zexi/qemu-migrate-args
Qemu migrate args
2022-01-21 09:55:46 +08:00
Zexi Li
78f186371c feat(host,region): unify target qemu commandline from source 2022-01-21 00:37:32 +08:00
Qiu Jian
85913affc6 feature: support log to remote syslog server 2022-01-21 00:08:45 +08:00
Qiu Jian
4ee2ffafb7 fix: batch migrate in parrallel 2022-01-20 21:40:20 +08:00
Zexi Li
555e071aa8 Merge pull request #13260 from rainzm/bugfix/isolated-device
fix(host): Stop the retry of purge when the target does not exist
2022-01-20 21:09:06 +08:00
Zexi Li
559331564c Merge pull request #13263 from zhaoxiangchun/fix/zxc-master
fix(cloudmon): fix cloudmon GetResourceByOperator
2022-01-20 21:08:42 +08:00
zhaoxiangchun
902755cf5e fix(cloudmon): fix cloudmon GetResourceByOperator 2022-01-20 19:00:30 +08:00
rainzm
a063376f86 fix(host): Stop the retry of purge when the target does not exist 2022-01-20 18:03:50 +08:00
Zexi Li
5bf99cc9a3 Merge pull request #13257 from ioito/hotfix/qx-tag-cc
fix(common): metadata update key
2022-01-20 17:43:37 +08:00
ioito
cb9bcd9586 fix(common): metadata update key 2022-01-20 15:16:43 +08:00
rainzm
e2017f1f75 fix(region): add generate_name before validate creating data 2022-01-20 15:00:56 +08:00
Zexi Li
1808fbf69a Merge pull request #13243 from rainzm/notify/autorenew
feat(notify): judge whether to enable automatic renewal when the expiration notice is given
2022-01-20 09:53:59 +08:00
Zexi Li
313912cfab Merge pull request #13226 from swordqiu/hotfix/qj-policy-tag-filter-usages
fix: usages should be filtered by policy tags
2022-01-20 09:45:18 +08:00
Zexi Li
f1f9b8f6cf Merge pull request #13240 from swordqiu/hotfix/qj-fix-web-security-defects
fix: add header x-xss-protection
2022-01-20 09:44:28 +08:00
Zexi Li
0c6c85227c Merge pull request #13253 from swordqiu/hotfix/qj-vpcagent-nil-pointer-panic2
fix: vpcagent nil pointer panic
2022-01-20 09:43:45 +08:00
Zexi Li
14a17af189 fix(baremetal): raid ssd disk as firstly root disk (#13246) 2022-01-20 00:41:49 +08:00
Zexi Li
8967db0624 Merge pull request #13249 from ioito/hotfix/qx-region-info
fix(apigateway): add is forget login user option
2022-01-19 20:06:14 +08:00
ioito
9a67cf837e fix(apigateway): add is forget login user option 2022-01-19 20:00:03 +08:00
Qiu Jian
8f4243adfd fix: vpcagent nil pointer panic 2022-01-19 19:17:13 +08:00
rainzm
6893749dde fix(region,notify): add create, delete and sync notification of loadbalancerbackendgroup 2022-01-19 19:17:01 +08:00
rainzm
3b5186127f feat(notify): judge whether to enable automatic renewal when the expiration notice is given 2022-01-19 17:16:49 +08:00
rainzm
d8611811b5 fix(region): set status creating for instance backup when creating 2022-01-19 14:48:17 +08:00
Qiu Jian
ead9115b6f fix: add header x-xss-protection 2022-01-19 12:55:51 +08:00
rainzm
342a220a2d feat(climc): add climc command for instance/disk backup 2022-01-19 12:04:34 +08:00
rainzm
3502a8074f feat(region): support instance backup
Instance backup is a logical collection of multiple disk backups
2022-01-19 12:04:34 +08:00
rainzm
5c6ba0d750 feat(region, host): support disk backup
1. create backup for disk
2. create disk from backup
3. recovery disk directly
4. delete backup
2022-01-19 12:04:27 +08:00
rainzm
3c2b1a45d1 fix(cloudcommon): splice notifyurl correctly 2022-01-19 11:35:30 +08:00
Zexi Li
444e530683 Merge pull request #13235 from ioito/hotfix/qx-vpc-tag
fix(region): vpc tag sync
2022-01-19 11:01:14 +08:00
ioito
5bcf3acccc fix(region): vpc tag sync 2022-01-19 10:57:43 +08:00
Zexi Li
88823c092f Merge pull request #13232 from ioito/hotfix/qx-lb-bandwidth-fix
fix(region): qcloud lb bandwidth
2022-01-19 00:43:41 +08:00
ioito
424f52a6c8 fix(region): qcloud lb bandwidth 2022-01-18 22:13:25 +08:00
Zexi Li
310defe8b4 Merge pull request #13227 from swordqiu/hotfix/qj-list-joint-nil-pointer
fix: list join resource nil pointer access
2022-01-18 16:56:36 +08:00
Zexi Li
99415746af Merge pull request #13231 from zexi/automated-cherry-pick-of-#13229-upstream-master
Automated cherry pick of #13229: feat(build): make glance-base image
2022-01-18 16:46:57 +08:00
Zexi Li
fdd64fbda9 feat(build): make glance-base image 2022-01-18 16:22:55 +08:00
Qiu Jian
70cc42963d fix: list join resource nil pointer access 2022-01-18 09:16:17 +08:00
Zexi Li
dc621cd2c5 fix(hostman): config BONDING_OPTS for ifcfg-bondx (#13223) 2022-01-18 02:46:38 +08:00
Qiu Jian
8dbf972f17 fix: usages should be filered by policy tags 2022-01-18 02:45:49 +08:00
Zexi Li
8a71fccdd7 Merge pull request #13217 from swordqiu/feature/qj-full-sync-project-domain-meta
fix: full sync of project and domain metadata
2022-01-18 00:32:31 +08:00
Qiu Jian
d6476c6374 fix: full sync of project and domain metadata 2022-01-17 21:54:57 +08:00
Zexi Li
8887389c70 Merge pull request #13219 from ioito/hotfix/qx-vpc-network-tags
fix(region): sync tags for vpc and network
2022-01-17 20:39:54 +08:00
ioito
ada6d9c179 fix(region): sync tags for vpc and network 2022-01-17 20:36:19 +08:00
Zexi Li
6e19e6fe6e Merge pull request #13213 from zexi/wire-create-bw
fix(region): create wire input bw deprecated
2022-01-17 18:38:46 +08:00
Zexi Li
2ce7a52e28 fix(region): create wire input bw deprecated 2022-01-17 14:49:14 +08:00
Zexi Li
f4375a5d14 Merge pull request #13203 from ioito/hotfix/qx-cidr-filter
fix(region): add cidr filter for route table
2022-01-17 10:09:42 +08:00
Zexi Li
8f431806ee Merge pull request #13208 from swordqiu/automated-cherry-pick-of-#13207-upstream-master
Automated cherry pick of #13207: fix: handle exception that qemu quit or cancel migrate during migration
2022-01-17 10:09:14 +08:00
Zexi Li
50d33b8f74 Merge pull request #13209 from swordqiu/feature/qj-support-dhcp-option-82
feature: support dhcp relay information option 82
2022-01-17 10:08:10 +08:00
Qiu Jian
14f0abb0c3 feature: support dhcp relay information option 82 2022-01-17 01:05:54 +08:00
Qiu Jian
e18da15479 fix: handle exception that qemu quit or cancel migrate during migration 2022-01-16 15:33:37 +08:00
ioito
4a576f1323 fix(region): add cidr filter for route table 2022-01-15 16:12:31 +08:00
Zexi Li
4935993b85 Merge pull request #13200 from zhaoxiangchun/fix/zxc-master
fix(common): ListItemFilter func exec in the end
2022-01-15 10:41:52 +08:00
zhaoxiangchun
032750b0e8 fix(common): ListItemFilter func exec in the end
1.ListItemFilter 中如果有group by 操作(meter服务),如果使用框架解析filter参数,
会把filter 解析加入到 having结构中。
2022-01-15 10:24:17 +08:00
Zexi Li
29b8b123a5 Merge pull request #13196 from zhaoxiangchun/fix/zxc-master
fix(monitor): alerting resourece filter by scope
2022-01-14 10:33:12 +08:00
Zexi Li
385c8d6092 Merge pull request #13193 from ioito/feat/qx-nutanix
feat(region): add nutanix sync
2022-01-13 19:09:12 +08:00
zhaoxiangchun
7d56ec2a17 fix(monitor): alerting resourece filter by scope 2022-01-13 18:44:18 +08:00
ioito
e43caa33b4 feat(region): add nutanix sync 2022-01-13 18:07:34 +08:00
Zexi Li
f914400c34 Merge pull request #13187 from zhaoxiangchun/fix/zxc-master
fix(s3gateway): delete dbinit
2022-01-13 10:34:37 +08:00
Zexi Li
5d5890a1e5 Merge pull request #13168 from ioito/hotfix/qx-worker-task-list
fix(region): show worker and tasks list by service type
2022-01-13 10:28:52 +08:00
Zexi Li
f789ded902 Merge pull request #13188 from ioito/hotfix/qx-wire-manager
fix(region): wire statusinfras
2022-01-13 10:27:59 +08:00
ioito
2630c21802 fix(region): wire statusinfras 2022-01-13 10:04:22 +08:00
zhaoxiangchun
b4ab87c861 fix(s3gateway): delete dbinit 2022-01-12 18:25:58 +08:00
Zexi Li
a8f5517f2e Merge pull request #13185 from zexi/bm-megaraid-perccli
fix(baremetal): perccli image update
2022-01-11 18:51:02 +08:00
Zexi Li
2ef2ebb365 fix(baremetal): perccli image update 2022-01-11 18:23:09 +08:00
Zexi Li
a2e6abcfed Merge pull request #13167 from zexi/bm-megaraid-perccli
[WIP] feat(baremetal): megaraid perccli supported
2022-01-11 17:28:48 +08:00
Zexi Li
e35fdb266b feat(baremetal): megaraid perccli supported 2022-01-11 17:27:52 +08:00
Zexi Li
5474f9b390 Merge pull request #13183 from zexi/automated-cherry-pick-of-#13180-upstream-master
Automated cherry pick of #13180: feat(scheduler): log CheckDisksAllocable skipped storage
2022-01-11 11:21:33 +08:00
Zexi Li
d6db54f9e1 feat(scheduler): log CheckDisksAllocable skipped storage 2022-01-11 11:20:43 +08:00
Zexi Li
b2d513b1f1 Merge pull request #13170 from swordqiu/automated-cherry-pick-of-#13169-upstream-master
Automated cherry pick of #13169: fix: guest sync status persistent block_stream status
2022-01-11 10:31:56 +08:00
Zexi Li
a9eec346f7 Merge pull request #13176 from swordqiu/hotfix/qj-snapshot-and-clone-event-notes
fix: add snapshot_and_clone event notes
2022-01-11 10:30:56 +08:00
Qiu Jian
d81d6cc368 fix: guest sync status persistent block_stream status 2022-01-11 10:20:57 +08:00
ioito
5633e3778b fix(region): show worker and tasks list by service type 2022-01-11 09:49:12 +08:00
Zexi Li
c9bdb3a9e6 Merge pull request #13125 from zexi/migrate-kernel-check
fix(region,scheduler): live migrate target host kernel version check
2022-01-11 09:29:28 +08:00
Qiu Jian
425f7c5f91 fix: add snapshot_and_clone event notes 2022-01-11 09:28:41 +08:00
Zexi Li
29d1b3eaa6 Merge pull request #13139 from zexi/schedulder-bm-uefi
feat(scheduler): baremetal uefi image filter
2022-01-11 09:26:37 +08:00
Zexi Li
35c9a7653a Merge pull request #13171 from swordqiu/hotfix/qj-ceph-clone-across-pool
fix: ceph clone image across pool should use pool of target image
2022-01-11 09:23:04 +08:00
Qiu Jian
9eb91a4b95 fix: ceph clone image across pool should use pool of target image 2022-01-11 02:56:21 +08:00
Zexi Li
037fc1cd5a Merge pull request #13165 from rainzm/restartnetwork/blockstream
fix(region): reset status to block_stream after restarting network
2022-01-10 15:35:13 +08:00
rainzm
0d5642ea72 fix(region): reset status to block_stream after restarting network 2022-01-10 15:28:58 +08:00
Zexi Li
f232e8e90c Merge pull request #13158 from ioito/hotfix/qx-vm-remove-update
fix(region): kvm vm no need remote update
2022-01-10 15:08:38 +08:00
Zexi Li
748aacb65e Merge pull request #13163 from rainzm/restartnetwork/blockstream
feat(region): allow restart network when guest in block stream status
2022-01-10 14:55:46 +08:00
rainzm
1d4a7445f9 feat(region): allow restart network when guest in block stream status 2022-01-10 14:44:55 +08:00
ioito
447240cb5a fix(region): kvm vm no need remote update 2022-01-10 11:06:27 +08:00
Zexi Li
8777eb2b60 feat(scheduler): baremetal uefi image filter 2022-01-10 10:43:19 +08:00
Jian Qiu
d1a270baaa fix: not using MarshalAll for output jsonobject (#13156)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-01-10 09:53:30 +08:00
Jian Qiu
a8f3d54259 fix: vpcagent access group panic (#13146)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-01-10 09:15:42 +08:00
Zexi Li
07d25018c7 Merge pull request #13153 from swordqiu/hotfix/qj-windows-hostname-limited-to-15-chars
fix: windows server name cannot be longer than 15 chars
2022-01-09 21:30:35 +08:00
Qiu Jian
a229cc3cec fix: windows server name cannot be longer than 15 chars 2022-01-09 19:37:41 +08:00
Zexi Li
eac221344c Merge pull request #13148 from swordqiu/feature/qj-perform-image-probe
feature: add API for image perform probe
2022-01-09 14:37:12 +08:00
Zexi Li
ec26a562d9 Merge pull request #13150 from swordqiu/hotfix/qj-spice-args-fix
fix: usb id in spice command args conflict with usb-xhci
2022-01-09 14:36:21 +08:00
Qiu Jian
0859eded3f fix: usb id in spice command args conflict with usb-xhci 2022-01-08 02:28:43 +08:00
Qiu Jian
140b1ee005 feature: add API for image perform probe 2022-01-08 02:01:00 +08:00
Zexi Li
5764f631cb Merge pull request #13143 from ioito/hotfix/qx-cloudevent-ski-init-data
fix(cloudevent): skip cloudevent init data
2022-01-07 22:42:13 +08:00
ioito
3928a4c228 fix(cloudevent): skip cloudevent init data 2022-01-07 19:33:16 +08:00
Zexi Li
e9016592f8 Merge pull request #13141 from zexi/batch-migrate-cpu-check
refix(region): skip_cpu_check for batch migrate api
2022-01-07 16:31:12 +08:00
Zexi Li
39885b6cb0 fix(region): skip_cpu_check for batch migrate api 2022-01-07 15:48:26 +08:00
Zexi Li
b3a633b2f8 Merge pull request #13136 from swordqiu/hotfix/qj-detach-network-i18n
fix: add detach network i18n
2022-01-06 18:52:29 +08:00
Qiu Jian
92e3b1dba5 fix: add detach network i18n 2022-01-06 11:24:41 +08:00
Zexi Li
78ae625c5e Merge pull request #13132 from swordqiu/hotfix/qj-fetch-iso-img-properties
fix: fetch image properties from iso properly
2022-01-05 22:06:41 +08:00
Zexi Li
98b2534614 Merge pull request #13129 from ioito/hotfix/qx-image-not-found-err-details
fix(region): image not found details error
2022-01-05 22:05:13 +08:00
Zexi Li
476e853ca4 Merge pull request #13134 from zexi/isolated-device-purge
fix(host): purge isolated_device not work
2022-01-05 17:59:10 +08:00
Zexi Li
10e460c39d fix(host): purge isolated_device not work 2022-01-05 17:34:40 +08:00
Qiu Jian
548d6a900f fix: fetch image properties from iso properly 2022-01-05 16:40:11 +08:00
ioito
4fb6833502 fix(region): image not found details error 2022-01-05 11:55:38 +08:00
Zexi Li
b704adce55 Merge pull request #13126 from zexi/isodev-probe
fix(host): unplugged isolated devices probe not deleted
2022-01-05 10:42:17 +08:00
Zexi Li
a79b8bb73e fix(host): qemu usb passthrough option convert to int 2022-01-04 20:28:12 +08:00
Zexi Li
7492da80c3 fix(region,scheduler): live migrate target host kernel version check 2022-01-04 18:42:20 +08:00
Zexi Li
4158671cc5 fix(host): unplugged isolated devices probe not deleted 2022-01-04 18:36:35 +08:00
Zexi Li
be9c1760cd Merge pull request #13123 from ioito/hotfix/qx-qemu-block-dev
Hotfix/qx qemu block dev
2022-01-04 17:09:30 +08:00
ioito
2bfdc5fe75 fix(host): migrate progress 2022-01-04 15:58:36 +08:00
Zexi Li
ea9728502c Merge pull request #13120 from rainzm/guest_create/eip
fix(region): check whether ipProvider is nil
2022-01-04 14:35:10 +08:00
rainzm
0a52b0e373 fix(region): check whether ipProvider is nil 2022-01-04 11:45:30 +08:00
Zexi Li
c43dc47748 Merge pull request #13117 from swordqiu/hotfix/qj-set-default-gc-thresh
fix: host tune system set default arp gc threshold
2022-01-04 11:44:58 +08:00
Qiu Jian
c0ddbbac83 fix: host tune system set default arp gc threshold 2022-01-04 11:00:05 +08:00
Zexi Li
2d222700df Merge pull request #13113 from swordqiu/hotfix/qj-qemu-img-convert-hang
fix: qemu-img convert may hang on aarach64
2022-01-04 09:35:44 +08:00
Zexi Li
62c79877b8 Merge pull request #13115 from swordqiu/hotfix/qj-fix-vpc-mtu
fix: automatic set ovsbridge MTU, consistent MTU settings
2022-01-04 09:35:13 +08:00
Zexi Li
098f06a46c Merge pull request #13111 from swordqiu/hotfix/qj-migrate-change-host-id
fix: update server desc host_id after migration
2022-01-04 09:34:13 +08:00
Qiu Jian
2a5e04abed fix: automatic set ovsbridge MTU, consistent MTU settings 2022-01-04 00:19:02 +08:00
Qiu Jian
ca10cc1bef fix: qemu-img convert may hang on aarach64 2022-01-03 02:52:57 +08:00
Qiu Jian
690bc4c3d1 fix: update server desc host_id after migration 2022-01-02 12:28:30 +08:00
Jian Qiu
9fa6696e3c feature: vip support (#13020)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-01-02 08:49:32 +08:00
Zexi Li
3555090f41 Merge pull request #13109 from ioito/hotfix/qx-glance-progress
fix(glance): add progress for image save
2022-01-01 13:49:22 +08:00
Zexi Li
3f34f18a6c Merge pull request #13107 from ioito/hotfix/qx-lb-bandwidth
fix(region): qcloud lb support bandwidth
2022-01-01 13:48:40 +08:00
ioito
1a828d1d87 fix(glance): add progress for image save 2021-12-31 18:10:21 +08:00
ioito
244d643680 fix(host): qemu block device 2021-12-31 17:36:40 +08:00
ioito
d5a19885ca fix(region): qcloud lb support bandwidth 2021-12-31 15:46:16 +08:00
Zexi Li
6176260927 Merge pull request #13103 from swordqiu/feature/qj-climc-add-storage-ceph-run
feature: climc add storage-ceph-run to ease ceph diag
2021-12-31 12:28:30 +08:00
Zexi Li
9bcc8f195f Merge pull request #13104 from ioito/hotfix/qx-migrate-complete-set-progress
fix(host): clean progress when migrate complete
2021-12-31 10:30:17 +08:00
ioito
6bcb02f098 fix(host): clean progress when migrate complete 2021-12-31 10:25:51 +08:00
Rain Zheng
9b6278b5e0 fix(yunionconf): register metadata model (#13100) 2021-12-31 06:09:42 +08:00
屈轩
9f92441349 fix(host): add progress for migrate (#13101) 2021-12-31 06:09:16 +08:00
Qiu Jian
b96960d5ae feature: climc add storage-ceph-run to ease ceph diag 2021-12-31 06:07:26 +08:00
Zexi Li
71c646128a Merge pull request #13081 from ioito/hotfix/qx-storage-status
fix(region): storage add unmount status
2021-12-30 17:47:50 +08:00
Zexi Li
95f70c4160 Merge pull request #13098 from ioito/hotfix/qx-block-complete
fix(host): guest clone progress complete
2021-12-30 16:58:41 +08:00
ioito
ef7c263bb2 fix(host): guest clone progress complete 2021-12-30 16:52:09 +08:00
Zexi Li
f2bcc85772 Merge pull request #13093 from zexi/isolated-dev-list
feat(region): isolated devices filter by guest_id
2021-12-30 13:36:06 +08:00
Zexi Li
4cb791c352 Merge pull request #13095 from swordqiu/hotfix/qj-start-block-stream-detach-startup-task
fix: start block stream detach qemu startup task
2021-12-30 13:19:14 +08:00
Qiu Jian
0dbc69c617 fix: start block stream detach qmu startup task 2021-12-30 12:48:16 +08:00
Zexi Li
0107c9e8c1 Merge pull request #12773 from zexi/baremetal-grub
feat(baremetal): aarch64 supported and grub as bootloader
2021-12-30 12:00:17 +08:00
Zexi Li
67e5fd618b feat(region): isolated devices filter by guest_id 2021-12-30 11:46:38 +08:00
Zexi Li
6bcacb67c6 Merge pull request #13091 from zexi/guest-isolated-dev
feat(compute): server probe isolated devices supported
2021-12-30 11:27:12 +08:00
Zexi Li
d9c9057813 feat(compute): server probe isolated devices supported 2021-12-30 11:05:34 +08:00
Zexi Li
5b23f4c1bf Merge pull request #13071 from ioito/hotfix/qx-keystone-policy
fix(region): keystone default policy
2021-12-30 10:45:24 +08:00
Zexi Li
9ebe178778 Merge pull request #13049 from ioito/hotfix/qx-sync-by-resource
fix(region): sync resource by network
2021-12-30 10:42:33 +08:00
Zexi Li
9a4a02078c Merge pull request #13089 from zexi/isolated-dev-typo
fix(region): isolated device reserved memory default typo
2021-12-30 10:27:13 +08:00
Zexi Li
2ba910b27d fix(region): isolated device reserved memory default typo 2021-12-30 10:25:41 +08:00
Zexi Li
de1d23514d Merge pull request #13085 from zexi/migrate-status
fix(region): not override migrating status when manually sync status
2021-12-30 10:04:21 +08:00
Zexi Li
0d00627bed Merge pull request #13087 from swordqiu/hotfix/qj-migration-improvements-20211229
fix: several improvements on qemu migration:
2021-12-30 10:04:01 +08:00
Qiu Jian
41ca44f02e fix: several improvements on qemu migration: 1. enable qemu debug log if
host log_level is debug. 2. disable rng device by default. 3. handle
resume fail post migration
2021-12-30 02:02:35 +08:00
Zexi Li
56cf35fa4d Merge pull request #13078 from ioito/hotfix/qx-server-template-validate
fix(region): server templete validate
2021-12-30 01:07:01 +08:00
Zexi Li
7e38f44a04 fix(region): not override migrating status when manually sync status 2021-12-29 23:15:15 +08:00
Zexi Li
72f14851a7 Merge pull request #13073 from ioito/hotfix/qx-lb-filter-by-owner
fix(region): lb filter by owner
2021-12-29 19:24:51 +08:00
Zexi Li
f2645bd1e3 Merge pull request #13063 from rainzm/guestimage/fix
fix(region): distinguish guests_ Root and data of image sub image
2021-12-29 19:23:07 +08:00
Zexi Li
72baf16c7e Merge pull request #13083 from zexi/isolated-dev-hotplug
fix(region,host): sync usb isolated device error not display
2021-12-29 17:42:27 +08:00
Zexi Li
afd5f0f220 fix(region,host): sync usb isolated device error not display 2021-12-29 17:38:56 +08:00
Zexi Li
f78e4696ac Merge pull request #13076 from ioito/hotfix/qx-wire-topology-name
fix(region): wire topology name
2021-12-29 17:38:05 +08:00
Zexi Li
cf3037b8f6 Merge pull request #13079 from swordqiu/hotfix/qj-empty-disk-storage-type
fix: fail to fetch disk storage_type
2021-12-29 17:36:59 +08:00
ioito
9781a06bc3 fix(region): storage add unmount status 2021-12-29 17:30:21 +08:00
Qiu Jian
e8c684ecfb fix: fail to fetch disk storage_type 2021-12-29 17:23:32 +08:00
ioito
e090460c20 fix(region): server templete validate 2021-12-29 17:17:23 +08:00
ioito
c07b865ad5 fix(region): wire topology name 2021-12-29 16:36:04 +08:00
ioito
f9ce860436 fix(region): lb filter by owner 2021-12-29 14:50:48 +08:00
ioito
16d2ed2924 fix(region): keystone default policy 2021-12-29 11:20:57 +08:00
Zexi Li
889c94196c Merge pull request #13056 from ioito/hotfix/qx-sku-sync-zone-id
fix(region): ignore invalid zone id skus
2021-12-29 11:13:29 +08:00
Zexi Li
4e18752fa9 Merge pull request #13067 from ioito/hotfix/qx-vpc-topology-owner-status
fix(region): add owner status for vpc topology
2021-12-28 19:48:09 +08:00
Zexi Li
3de7e2e1f5 Merge pull request #13069 from zexi/device-model-len
fix(region): set isolated_device model 512 length
2021-12-28 19:42:43 +08:00
Zexi Li
0052e9db83 fix(region): set isolated_device model 512 length 2021-12-28 19:41:07 +08:00
ioito
0b67893d92 fix(region): add owner status for vpc topology 2021-12-28 19:40:39 +08:00
Zexi Li
78466d5a06 Merge pull request #13026 from zexi/usb-passthrough
feat(region,host): usb passthrough
2021-12-28 19:21:29 +08:00
Zexi Li
8423aa9e63 feat(region,host): usb passthrough 2021-12-28 19:05:42 +08:00
rainzm
af7b675b42 fix(region): distinguish guests_ Root and data of image sub image 2021-12-28 18:28:51 +08:00
Zexi Li
ad587af395 Merge pull request #13059 from ioito/hotfix/qx-vpc-topology-scope
fix(region): vpc topology scope with system
2021-12-28 16:27:51 +08:00
ioito
25f71da5ec fix(region): vpc topology scope with system 2021-12-28 16:19:05 +08:00
ioito
767e0ffa36 fix(region): ignore invalid zone id skus 2021-12-28 14:39:20 +08:00
Zexi Li
2184959ef2 Merge pull request #13050 from ioito/hotfix/qx-aws-secgroup-name
fix(region): aws security group name generate
2021-12-28 10:56:23 +08:00
Zexi Li
cac10f815a Merge pull request #13008 from ioito/hotfix/qx-secgroup-purge
fix(region): secgroup purge with cloudaccount deleted
2021-12-28 10:55:33 +08:00
Zexi Li
ce403aea25 Merge pull request #13053 from ioito/hotfix/qx-json-to-string
fix(region): json to string fix
2021-12-28 10:53:51 +08:00
ioito
ec453b0413 fix(region): json to string fix 2021-12-28 10:41:26 +08:00
ioito
9006e0225c fix(region): aws security group name generate 2021-12-28 09:56:09 +08:00
ioito
21ad3c093b fix(region): sync resource by network 2021-12-27 17:49:42 +08:00
Zexi Li
c974692962 Merge pull request #13047 from ioito/hotfix/qx-vpc-topology-for-host
fix(region): vpc topology data fix
2021-12-27 15:57:24 +08:00
ioito
ad68340d63 fix(region): vpc topology data fix 2021-12-27 15:30:23 +08:00
Zexi Li
f29426fc4d Merge pull request #13042 from swordqiu/hotfix/qj-migrate-progress-update
Hotfix/qj migrate progress update
2021-12-27 12:16:59 +08:00
Zexi Li
2e56910e4d Merge pull request #13031 from rainzm/email/delete_config
fix(notify): real delete for email and mobile
2021-12-27 12:14:01 +08:00
Zexi Li
94e446af7b Merge pull request #13010 from ioito/hotfix/qx-vm-stop-status
fix(region): 删除vm中间不会出现ready状态,避免前端停止刷新
2021-12-27 12:12:49 +08:00
Zexi Li
00bd35904a Merge pull request #13036 from swordqiu/hotfix/qj-enable-kvm-pv-eoi-by-default
fix: enable kvm_pv_eoi by default
2021-12-27 12:10:20 +08:00
Zexi Li
4596e92fe0 Merge pull request #13040 from swordqiu/hotfix/qj-hostinfo-onfail-not-return
fix: hostinfo onfail should return immediately
2021-12-27 12:08:53 +08:00
Zexi Li
9b9187bd83 Merge pull request #13045 from ioito/hotfix/qx-vpc-topology-for-host
fix(region): add vpc host topology
2021-12-27 11:08:02 +08:00
ioito
8433fc5ffb fix(region): add vpc host topology 2021-12-27 10:48:39 +08:00
屈轩
67a0073b2f fix(region): host name validate with generate name (#12980) 2021-12-26 09:02:28 +08:00
Qiu Jian
255be9e2c3 fix: add migrate progress metrics 2021-12-26 00:15:16 +08:00
Qiu Jian
c367780fd1 feature: migrate progress update 2021-12-25 15:47:19 +08:00
yunion-ci-robot
5c8b9b0215 Merge pull request #13033 from ioito/hotfix/qx-vm-clone-speed
fix(host): add vm clonse progress and mbps
2021-12-25 15:32:39 +08:00
Qiu Jian
34aeb755d1 fix: hostinfo onfail should return immediately 2021-12-25 14:47:54 +08:00
yunion-ci-robot
c004bc0748 Merge pull request #13030 from swordqiu/hotfix/qj-arm-supported-max-cpu-64
fix: arm supported maxcpu<64
2021-12-24 21:58:41 +08:00
Qiu Jian
71eb0fd87a fix: enable kvm_pv_eoi by default 2021-12-24 21:45:22 +08:00
ioito
db981a146b fix(host): add vm clonse progress and mbps 2021-12-24 20:03:31 +08:00
rainzm
021fc5647e fix(notify): real delete for email and mobile 2021-12-24 18:52:23 +08:00
Zexi Li
b3eafddcf2 Merge pull request #13018 from swordqiu/hotfix/qj-hide-systemd-detection-logs
fix: hide systemd detection logs
2021-12-24 18:24:07 +08:00
Zexi Li
6e79c52195 Merge pull request #13027 from ioito/hotfix/qx-google-secgroup
fix(region): google security group fix
2021-12-24 18:23:05 +08:00
Zexi Li
96b86c83c7 Merge pull request #13015 from ioito/hotfix/qx-vpc-tags
fix(region): vpc create with tags
2021-12-24 18:11:06 +08:00
Zexi Li
1a37eb70bf Merge pull request #13024 from zexi/automated-cherry-pick-of-#13022-upstream-master
Automated cherry pick of #13022: fix(region): gpu fuzzy match model name exactly
2021-12-24 18:10:02 +08:00
Zexi Li
a3078c79f4 Merge pull request #13013 from ioito/hotfix/qx-vpc-peer-connection-sync
fix(region): 对等连接同步状态恢复对端id
2021-12-24 18:09:22 +08:00
Qiu Jian
e9d0ffa102 fix: arm supported maxcpu<64 2021-12-24 17:58:21 +08:00
ioito
3f51296ae7 fix(region): google security group fix 2021-12-24 17:36:50 +08:00
Zexi Li
c8ba25b154 fix(region): gpu fuzzy match model name exactly 2021-12-24 14:54:10 +08:00
Qiu Jian
e4bf8dc3ab fix: hide systemd detection logs 2021-12-23 20:30:21 +08:00
ioito
f4b7c31653 fix(region): vpc create with tags 2021-12-23 19:38:15 +08:00
ioito
595fd8b3a9 fix(region): 对等连接同步状态恢复对端id 2021-12-23 18:27:49 +08:00
ioito
e1615e42ac fix(region): 删除vm中间不会出现ready状态,避免前端停止刷新 2021-12-23 18:02:36 +08:00
Zexi Li
dfda9d51b0 Merge pull request #13005 from ioito/hotfix/qx-server-sku-scheduler-sync
fix(region): sku scheduler sync
2021-12-23 16:19:27 +08:00
ioito
0cdda0c629 fix(region): secgroup purge with cloudaccount deleted 2021-12-23 16:18:05 +08:00
ioito
0685c2f737 fix(region): sku scheduler sync 2021-12-23 14:50:17 +08:00
Zexi Li
97f7220a7d Merge pull request #13003 from rainzm/network/restart_fix
Fixex for restart network
2021-12-23 14:45:55 +08:00
rainzm
9737f52387 fix(region): Make function calls to the region instead of API calls in task
The mechanism of task resource locking will lead to the blocking and blocking of API calls
2021-12-23 14:36:45 +08:00
rainzm
d7f1fb242f feat(region, host): allow open forward with specified remote addr 2021-12-23 14:31:50 +08:00
Zexi Li
ab4d1b863f feat(baremetal): support aarch64 and use grub as bootloader 2021-12-23 14:07:11 +08:00
Zexi Li
277bf5f611 Merge pull request #12987 from ioito/hotfix/qx-auto-switch-server-sku
fix(region): auto switch server sku when create vm fail
2021-12-23 10:33:29 +08:00
Zexi Li
7fcd5699dc Merge pull request #13001 from swordqiu/hotfix/qj-migrate-no-event-notes
fix: migrate no event notes
2021-12-23 09:59:27 +08:00
Zexi Li
8b603dd723 Merge pull request #12998 from swordqiu/hotfix/qj-fix-migrate-timeout-error
fix: migrate timeout error
2021-12-23 09:58:51 +08:00
Zexi Li
1da7ac8f97 Merge pull request #12995 from swordqiu/hotfix/qj-migrate-timeout-error
fix: 1. migration timeout applicable to shared storage migrate only
2021-12-23 09:58:21 +08:00
Qiu Jian
8d53a3d8e2 fix: migrate no event notes 2021-12-23 07:58:24 +08:00
Qiu Jian
54d0b2bff7 fix: migrate timeout error 2021-12-23 07:54:18 +08:00
Qiu Jian
9856331086 fix: 1. migration timeout applicable to shared storage migrate only
2. migration timeout logic error
3. cancel host download handler timeout
4. add enable_vm_uuid option
5. add migrate event log notes
2021-12-23 01:34:30 +08:00
Zexi Li
dc2e97f8ae Merge pull request #12993 from rainzm/webhook/fix_2
fix(region): replace vpc_delete with vpc_sync_delete when sycnRemoveVpc
2021-12-22 22:31:33 +08:00
rainzm
664fe61a4e fix(region): replace vpc_delete with vpc_sync_delete when sycnRemoveVpc 2021-12-22 21:38:55 +08:00
Zexi Li
a11ed2275f Merge pull request #12991 from rainzm/webhook/fix_1
Webhook fix for notify
2021-12-22 19:45:36 +08:00
rainzm
a100d4f245 feat(notify): add topic 'resource release due 30 day' 2021-12-22 19:21:33 +08:00
rainzm
0a4f087786 fix(notify): add missing webhook notification 2021-12-22 19:21:30 +08:00
Zexi Li
7f28a5db2b Merge pull request #12986 from zexi/webconsole-interface-cast
fix(webconsole): ISessionData convert to *session.RemoteConsoleInfo
2021-12-22 17:07:07 +08:00
ioito
9e0bb622b0 fix(region): auto switch server sku when create vm fail 2021-12-22 17:05:25 +08:00
Zexi Li
a655cd723f fix(webconsole): ISessionData convert to *session.RemoteConsoleInfo 2021-12-22 17:02:21 +08:00
Zexi Li
f04fdf10f0 Merge pull request #12969 from rainzm/network/restart
feat(region): restart network after change ipaddr for guest
2021-12-22 16:56:33 +08:00
Zexi Li
412e2cfea0 Merge pull request #12981 from ioito/hotfix/qx-vpc-peer-connection
fix(region): qcloud vpc peer connection
2021-12-22 15:52:22 +08:00
Zexi Li
beaa15cd11 Merge pull request #12984 from ioito/hotfix/qx-vpc-topology
fix(region): add vpc topology
2021-12-22 15:51:45 +08:00
Zexi Li
b8c73a1d77 Merge pull request #12983 from zexi/build-host-image
feat(host-image): build host-image
2021-12-22 15:36:21 +08:00
ioito
ae5dbb19c6 fix(region): add vpc topology 2021-12-22 15:09:09 +08:00
Zexi Li
1b34d8c102 feat(host-image): build host-image 2021-12-22 15:08:39 +08:00
ioito
0cc1da8552 fix(region): qcloud vpc peer connection 2021-12-22 14:17:30 +08:00
Zexi Li
96c8776ef4 Merge pull request #12978 from zexi/build-baremetal-base
fix(build): move librbd librados to baremetal-agent-base image
2021-12-22 11:15:10 +08:00
Zexi Li
f447dde7e5 fix(build): move librbd librados to baremetal-agent-base image 2021-12-22 11:11:49 +08:00
rainzm
7aaf6aee3b feat(region): restart network after change ipaddr for guest 2021-12-22 11:07:45 +08:00
Zexi Li
c748418975 Merge pull request #12958 from ioito/hotfix/qx-qcloud-secgroup-rule-sync
fix(region): qcloud secgroup rule sync
2021-12-22 10:36:18 +08:00
Zexi Li
95f5ed6ed1 Merge pull request #12961 from ioito/hotfix/qx-aws-capability
fix(region): aws capability
2021-12-22 10:28:52 +08:00
Zexi Li
0bc5eab42f Merge pull request #12965 from ioito/hotfix/qx-disabled-brands-empty-array
fix(region): show empty array disabled brands
2021-12-22 10:27:40 +08:00
Zexi Li
9401545bc0 Merge pull request #12963 from ioito/hotfix/qx-vmware-fix-ip
fix(region): vmware sync fix ip
2021-12-22 10:26:04 +08:00
Zexi Li
aeaec0c1e7 Merge pull request #12967 from ioito/hotfix/qx-aws-eip-dissociate
fix(region): aws eip dissociate
2021-12-22 10:25:24 +08:00
Zexi Li
39b6a502fd Merge pull request #12971 from ioito/hotfix/qx-secgroup-filter
fix(region): security group cache filter
2021-12-22 10:24:31 +08:00
Zexi Li
ab4d88587b Merge pull request #12956 from swordqiu/hotfix/qj-system-server-no-vpc-network
fix: system server randomly lose connectivity in vpc network
2021-12-22 10:24:14 +08:00
Qiu Jian
bb193f7941 fix: system server randomly lose connectivity in vpc network 2021-12-22 02:43:23 +08:00
Zexi Li
54e0c33047 fix(host): update vlan (#12974) 2021-12-22 00:59:03 +08:00
Zexi Li
5fd55d9008 optimize(host-image,fetcherfs): download disk speed too slow (#12976) 2021-12-22 00:56:49 +08:00
ioito
34a031938d fix(region): security group cache filter 2021-12-21 21:26:01 +08:00
ioito
9e5229bc53 fix(region): aws eip dissociate 2021-12-21 19:39:46 +08:00
ioito
a7db932c28 fix(region): vmware sync fix ip 2021-12-21 16:35:16 +08:00
ioito
82fa2676e3 fix(region): show empty array disabled brands 2021-12-21 16:06:43 +08:00
ioito
f92d775382 fix(region): aws capability 2021-12-21 14:31:59 +08:00
ioito
ec1695a48c fix(region): qcloud secgroup rule sync 2021-12-21 14:20:03 +08:00
Zexi Li
ea59c62d6a Merge pull request #12909 from ioito/hotfix/qx-block-job-speed
fix(host): add speed info for block-job
2021-12-20 15:59:18 +08:00
ioito
d62d6abf7a fix(host): add speed info for block-job 2021-12-20 15:52:45 +08:00
Zexi Li
9e71aef9dd Merge pull request #12929 from ioito/hotfix/qx-secgroup-name-generate
fix(region): security group name generate for every cloud platform
2021-12-20 13:02:53 +08:00
Zexi Li
56ac545396 Merge pull request #12941 from zhaoxiangchun/feature/zxc-cloudmon-master
fix(cloudmon): 飞天云监控中拉取metadata信息
2021-12-20 13:02:25 +08:00
Zexi Li
a0d16b5ade Merge pull request #12955 from swordqiu/hotfix/qj-show-ovn-mapped-ip-in-host-list
fix: show host ovn_mapped_ip_addr
2021-12-20 13:02:03 +08:00
Zexi Li
7207464d78 Merge pull request #12942 from ioito/hotfix/qx-scope-resource-count
fix(keystone): scope resource count
2021-12-20 13:00:33 +08:00
Qiu Jian
a6d2770055 fix: show host ovn_mapped_ip_addr 2021-12-20 01:49:56 +08:00
Zexi Li
e1c2833fd1 Merge pull request #12938 from swordqiu/hotfix/qj-server-migrate-failed-due-to-stop-event
fix: server migration halted by an unexpected STOP event
2021-12-19 18:33:13 +08:00
Qiu Jian
c67f1bde5b fix: server migration halted by an unexpected STOP event 2021-12-18 22:00:06 +08:00
Zexi Li
386caa0f9d Merge pull request #12946 from ioito/hotfix/qx-dns-zone-cache-purge
fix(region): dns zone cache purge
2021-12-18 01:05:43 +08:00
Zexi Li
e04dd2a356 Merge pull request #12951 from ioito/hotfix/qx-eip-name-with-pinyin
fix(region): eip name with pinyin
2021-12-18 01:05:29 +08:00
Zexi Li
8c04f718df Merge pull request #12950 from ioito/hotfix/qx-zstack-vm-name-cn-messy-code
fix(region): avoid vm name messy code with zhCN for zstack
2021-12-18 01:05:12 +08:00
ioito
4d55056c9b fix(region): eip name with pinyin 2021-12-17 18:33:22 +08:00
ioito
9d98d8d016 fix(region): avoid vm name messy code with zhCN for zstack 2021-12-17 18:23:01 +08:00
ioito
65ca022d49 fix(region): dns zone cache purge 2021-12-17 18:05:59 +08:00
ioito
d70decfd4f fix(keystone): scope resource count 2021-12-17 16:09:34 +08:00
Zexi Li
888099b52b Merge pull request #12884 from rainzm/resizefs
feat(hostdeployer): use resizepart directly
2021-12-17 15:36:08 +08:00
Zexi Li
db257d7c4f Merge pull request #12933 from ioito/hotfix/qx-eip-bandwidth-storage-usage
fix(region): add eip and disk usage
2021-12-17 14:34:21 +08:00
Zexi Li
b99c19b2f8 Merge pull request #12939 from zexi/vm-start-failed-log
fix(region): vm start failed stage not invoked
2021-12-17 11:24:00 +08:00
zhaoxiangchun
488f7d30b2 fix(cloudmon): 飞天云监控中拉取metadata信息 2021-12-17 11:22:49 +08:00
Zexi Li
7135ebbfd2 fix(region): vm start failed stage not invoked 2021-12-17 11:19:11 +08:00
Zexi Li
4eb1f866f0 Merge pull request #12827 from zhaoxiangchun/feature/zxc-k8s-cloudmon-master
feat(cloudmon): aliyun,qcloud,azure k8s monitor metric
2021-12-17 11:06:45 +08:00
屈轩
efa89ad2e0 fix(region): merge input and output json (#12920) 2021-12-16 21:18:42 +08:00
Zexi Li
aeb5b4655d fix(host): more readable error info of GetWireOfIp (#12935) 2021-12-16 21:13:33 +08:00
ioito
be997f90df fix(region): add eip and disk usage 2021-12-16 16:34:40 +08:00
Zexi Li
1706a0408a Merge pull request #12914 from rainzm/disk/disk_type
feat(region): support detach disk with disk_type 'sys'
2021-12-16 15:16:14 +08:00
rainzm
54907dd4d8 feat(region): support detach disk with disk_type 'sys' 2021-12-16 15:06:17 +08:00
ioito
e9c3a244d9 fix(region): security group name generate for every cloud platform 2021-12-16 14:26:33 +08:00
Zexi Li
35704864bc Merge pull request #12913 from ioito/hotfix/qx-vpc-peer-fix
fix(region): vpc sync misc fix
2021-12-16 10:50:49 +08:00
Zexi Li
40144353c6 Merge pull request #12885 from ioito/feat/qx-aws-nat-read
feat(region): aws nat gateway read
2021-12-16 10:40:54 +08:00
Zexi Li
6ea79d03a4 Merge pull request #12925 from swordqiu/hotfix/qj-lbagent-pull-onecloud-only
fix: lbagent pull resources of OneCloud only
2021-12-16 10:39:56 +08:00
Qiu Jian
533b10f4c2 fix: lbagent pull resources of OneCloud only 2021-12-15 22:41:02 +08:00
Zexi Li
9f956bbcff Merge pull request #12922 from zexi/cold-migrate-disk-removed
fix(host): cold migration disk removed
2021-12-15 19:12:07 +08:00
Zexi Li
14dfea8450 fix(host): cold migration disk removed 2021-12-15 18:24:16 +08:00
ioito
7d9ca023a1 fix(region): vpc sync misc fix 2021-12-15 16:39:41 +08:00
Zexi Li
e45a0bd85d Merge pull request #12916 from zexi/x86-file-locking
fix(host): enable file.locking=off option for local disk
2021-12-15 16:28:57 +08:00
Zexi Li
4a787ee982 fix(host): enable file.locking=off option for local disk 2021-12-15 16:20:32 +08:00
Zexi Li
a5a3c19706 Merge pull request #12911 from zexi/fix-migrate-target-storage-id
fix(region): live migrate target_storage_id quoted
2021-12-15 15:09:30 +08:00
Zexi Li
810edac622 fix(region): live migrate target_storage_id quoted 2021-12-15 14:57:50 +08:00
Rain Zheng
fc087f03b5 feat(region): add storage_id in GuestDiskInfo (#12881) 2021-12-15 04:17:11 +08:00
Zexi Li
939ebc8030 Merge pull request #12902 from zexi/qemu-uuid
feat(host): qemu add uuid option
2021-12-14 21:25:36 +08:00
Zexi Li
0bd53ce5ff Merge pull request #12906 from rainzm/snapshot/disk
fix(region): respect disk's snapshotId in disk_batch_create_task
2021-12-14 21:23:54 +08:00
rainzm
50c95b66f1 fix(region): respect disk's snapshotId in disk_batch_create_task 2021-12-14 21:15:34 +08:00
Zexi Li
10c57ecb07 Merge pull request #12891 from ioito/hotfix/qx-aliyun-trans
fix(region): aliyun error translation
2021-12-14 21:11:25 +08:00
Zexi Li
2dcd7fc045 Merge pull request #12898 from ioito/hotfix/qx-image-upload-progress
fix(climc): add progress for image upload
2021-12-14 21:11:03 +08:00
Zexi Li
ac30fbc5b5 Merge pull request #12893 from ioito/hotfix/qx-openstack-proxy
fix(region): openstack use proxy
2021-12-14 21:08:31 +08:00
Zexi Li
d4f8482f7f feat(host): qemu add uuid option 2021-12-14 21:02:25 +08:00
ioito
2b916f7c40 fix(climc): add progress for image upload 2021-12-14 14:41:50 +08:00
ioito
311243b9a3 fix(region): openstack use proxy 2021-12-14 14:32:08 +08:00
ioito
da454317d9 fix(region): aliyun error translation 2021-12-14 11:41:13 +08:00
Zexi Li
c2c013cc1e Merge pull request #12887 from ioito/hotfix/qx-global-vpc-filter
fix(region): add filter for global vpc
2021-12-13 22:55:11 +08:00
Zexi Li
b877709289 Merge pull request #12889 from ioito/hotfix/qx-cloudprovider-region-enabled-set
fix(region): set cloudproviderregions enabled status
2021-12-13 22:54:38 +08:00
Zexi Li
ab8357de0d Merge pull request #12869 from ioito/hotfix/qx-vpc-filter
fix(region): vpc filter params
2021-12-13 17:15:43 +08:00
Zexi Li
28c311fa21 Merge pull request #12861 from rainzm/storagentcacheimage/active
fix(hostman): update storagecacheimage status from 'ready' to 'avtive'
2021-12-13 17:15:01 +08:00
Zexi Li
e308f1938f Merge pull request #12856 from ioito/hotfix/qx-google-disk
fix(region): google vm disk attach
2021-12-13 17:14:31 +08:00
Zexi Li
2c0dfb49bb Merge pull request #12853 from swordqiu/hotfix/qj-fail-to-start-arm-vm
fix: fail to start arm vm
2021-12-13 17:14:03 +08:00
Zexi Li
8d9f000997 Merge pull request #12848 from ioito/hotfix/qx-auto-renew-duration
fix(region): set auto renew with duration
2021-12-13 17:13:02 +08:00
ioito
98ff5fcb28 fix(region): set cloudproviderregions enabled status 2021-12-13 17:11:51 +08:00
ioito
31ca83d091 fix(region): add filter for global vpc 2021-12-13 16:54:30 +08:00
ioito
dbaab28274 feat(region): aws nat gateway read 2021-12-13 16:37:35 +08:00
Zexi Li
511326239d Merge pull request #12873 from ioito/hotfix/qx-vpc-peer-connection-panic
fix(region): avoid panic when sync vpc peer connection
2021-12-13 16:23:22 +08:00
Zexi Li
8c3a3d7ff9 Merge pull request #12871 from ioito/hotfix/qx-global-vpc-details
fix(region): show more global vpc details
2021-12-13 16:22:37 +08:00
rainzm
5fe399bfdd feat(region): use resizepart directly 2021-12-13 14:21:01 +08:00
Zexi Li
a74893506b fix(region): inject OsArch to scheduler input when change config 2021-12-13 12:19:46 +08:00
Jian Qiu
5f58994459 fix: cloudevent not initialize cloudevents_tbl in clickhouse (#12880)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-12-12 15:59:56 +08:00
Zexi Li
9b623b4cd8 Merge pull request #12875 from swordqiu/feature/qj-suppor-galaxy-kylin-os
feature: support galaxy kylin guest OS
2021-12-12 12:12:40 +08:00
Zexi Li
f8c9a502e3 Merge pull request #12855 from swordqiu/feature/qj-ops-log-use-clickhouse
feature: use clickhouse as opslog storage
2021-12-12 12:11:28 +08:00
Qiu Jian
ff9fcbb121 feature: support galaxy kylin guest OS 2021-12-11 13:20:33 +08:00
ioito
c7e8beb9a6 fix(region): avoid panic when sync vpc peer connection 2021-12-10 17:51:43 +08:00
ioito
324fbf121d fix(region): show more global vpc details 2021-12-10 17:31:45 +08:00
ioito
cac3d1d2fb fix(region): vpc filter params 2021-12-10 17:26:42 +08:00
Zexi Li
9de50ae887 Merge pull request #12850 from ioito/hotfix/qx-time-format
fix(region): format time output
2021-12-10 16:59:26 +08:00
Zexi Li
1dc5a47499 Merge pull request #12847 from ioito/hotfix/qx-deployer--hostname
fix(hostdeployer): deployer hostname
2021-12-10 16:58:31 +08:00
Zexi Li
a0c3cfaf63 Merge pull request #12858 from ioito/hotfix/qx-zstack-auth
fix(region): zstack time zone auth
2021-12-10 16:57:22 +08:00
Zexi Li
d91c7679bb Merge pull request #12864 from ioito/hotfix/qx-aliyun-route-table-sync
fix(region): aliyun route table sync
2021-12-10 16:54:50 +08:00
Zexi Li
4444356620 Merge pull request #12867 from ioito/hotfix/qx-google-vpc-delete
fix(region): unified vpc not found error
2021-12-10 16:54:14 +08:00
ioito
ee4060b591 fix(region): unified vpc not found error 2021-12-10 16:41:41 +08:00
ioito
06945a4ceb fix(region): aliyun route table sync 2021-12-10 16:32:52 +08:00
ioito
dad31f0ef0 fix(region): google vm disk attach 2021-12-10 15:33:30 +08:00
rainzm
19ddeda614 fix(hostman): update storagecacheimage status from 'ready' to 'avtive' 2021-12-10 15:28:48 +08:00
ioito
98764a0998 fix(region): zstack time zone auth 2021-12-10 15:06:37 +08:00
Qiu Jian
8b6f7305d6 feature: use clickhouse to storage opslogs 2021-12-10 09:23:33 +08:00
Qiu Jian
abbbf636a8 fix: fail to start arm vm 2021-12-10 02:02:04 +08:00
Zexi Li
3499630fb5 Merge pull request #12851 from ioito/hotfix/qx-google-eip-snapshot-fix
fix(region): google eip and snapshot op fix
2021-12-09 23:07:59 +08:00
ioito
919342adbf fix(region): google eip and snapshot op fix 2021-12-09 18:39:42 +08:00
ioito
3552156e35 fix(region): format time output 2021-12-09 17:51:13 +08:00
ioito
63c0e59f7c fix(region): set auto renew with duration 2021-12-09 17:14:40 +08:00
ioito
476684de9d fix(hostdeployer): deployer hostname 2021-12-09 16:08:21 +08:00
Zexi Li
c1b9d6ef20 Merge pull request #12835 from rainzm/hostdeployer/vgrename
fix(hostdeployer): Operate with the original name when vgrename fails
2021-12-09 11:22:22 +08:00
Zexi Li
6fa65c18b1 Merge pull request #12792 from ioito/hotfix/qx-optimized-sync
fix(region): optimized cloudaccount sync resources
2021-12-09 11:14:12 +08:00
Zexi Li
5fafdf175f Merge pull request #12843 from ioito/hotfix/qx-google-misc
fix(region): google sync fix
2021-12-09 01:01:21 +08:00
Zexi Li
21253502aa Merge pull request #12841 from ioito/hotfix/qx-es-access-info
fix(region): add access info for es
2021-12-09 01:00:46 +08:00
Zexi Li
2607da3bfb Merge pull request #12845 from ioito/hotfix/qx-qcloud-kafka-fix
fix(region): kafka data
2021-12-09 00:58:37 +08:00
ioito
c2c8670444 fix(region): kafka data 2021-12-08 19:18:40 +08:00
ioito
6e71ef5d50 fix(region): google sync fix 2021-12-08 18:56:41 +08:00
ioito
9b3cd5fd54 fix(region): add access info for es 2021-12-08 18:03:18 +08:00
Zexi Li
2c69ed60b8 Merge pull request #12837 from swordqiu/hotfix/qj-fail-to-recove-disk-in-unknown-status
fix: fail to recover disk status if disk in unknown status
2021-12-08 12:44:53 +08:00
Zexi Li
18f5b1357b Merge pull request #12811 from zexi/block-stream-freq
fix(host): adjust kvm block_stream query frequency and speed limit
2021-12-08 12:44:30 +08:00
Zexi Li
70edbdcb3c fix(host): adjust kvm block_stream query frequency and speed limit 2021-12-08 10:17:28 +08:00
Qiu Jian
c8a142fc7f fix: fail to recover disk status if disk in unknown status 2021-12-08 00:27:08 +08:00
ioito
fa8f9f946b fix(region): optimized cloudaccount sync resources 2021-12-07 20:24:23 +08:00
rainzm
f9a0f956f7 fix(hostdeployer): Operate with the original name when vgrename fails 2021-12-07 20:21:58 +08:00
Zexi Li
172484e82e Merge pull request #12833 from ioito/hotfix/qx-google-id
fix(region): google replace globalid
2021-12-07 19:43:47 +08:00
Zexi Li
49a9aaef85 Merge pull request #12794 from ioito/hotfix/qx-join-list-export
fix(apigateway): support export for join module
2021-12-07 19:43:34 +08:00
Qu Xuan
d87901b259 fix(region): google replace globalid 2021-12-07 19:18:54 +08:00
zhaoxiangchun
fc69fe9a22 feat(monitor): add k8s metric describetion 2021-12-07 17:02:19 +08:00
Zexi Li
06f75b37b1 Merge pull request #12793 from ioito/hotfix/qx-network-filter-by-route-table
fix(region): add route table filter for networks
2021-12-07 12:05:35 +08:00
Zexi Li
27c5d7c6b0 Merge pull request #12829 from swordqiu/hotfix/qj-opslog-empty-usercred
fix: opslog might log event with empty usercred
2021-12-07 10:24:14 +08:00
Zexi Li
73da91e63c Merge pull request #12828 from swordqiu/hotfix/qj-support-anolis-os
feature: support Anolis OS
2021-12-07 10:23:40 +08:00
Jian Qiu
b03bbfde7c fix: mcclient modules not fully loaded (#12832)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-12-06 23:06:50 +08:00
Qiu Jian
de2ea33411 fix: opslog might log event with empty usercred 2021-12-06 22:14:45 +08:00
Qiu Jian
bf170f8cdf feature: support Anolis OS 2021-12-06 21:18:27 +08:00
zhaoxiangchun
5c9cf5b725 feat(cloudmon): aliyun,qcloud,azure k8s monitor metric 2021-12-06 16:40:29 +08:00
Zexi Li
4d718c5bf6 Merge pull request #12807 from rainzm/sort/modify
fix(scheduler): consider perfer and avoid score when sorting HostPrirityList
2021-12-06 14:49:10 +08:00
Zexi Li
eddc7861e2 Merge pull request #12825 from swordqiu/feature/qj-set-default-docker-daemon-mtu
feature: set docker daemon default mtu when deploy
2021-12-06 10:08:00 +08:00
Qiu Jian
5caa123bd1 feature: set docker daemon default mtu when deploy 2021-12-06 07:15:49 +08:00
Zexi Li
158518373c Merge pull request #12819 from swordqiu/hotfix/qj-logger-create-fail-for-empty-notes
fix: fail to insert action log with empty notes
2021-12-06 00:03:58 +08:00
Zexi Li
93c3f38f4c Merge pull request #12822 from swordqiu/hotfix/qj-image-allow-empty-tracker
fix: image service can start without valid track endpoints
2021-12-06 00:03:17 +08:00
Qiu Jian
12acff6e8f fix: image service can start without valid track endpoints 2021-12-05 23:27:36 +08:00
Qiu Jian
1a7db803ad fix: fail to insert action log with empty notes 2021-12-05 23:22:30 +08:00
Zexi Li
ba9af9571a Merge pull request #12817 from swordqiu/feature/qj-server-create-with-existing-disks
feature: server create with existing disks
2021-12-05 23:19:50 +08:00
Qiu Jian
7a7a4bd5a2 feature: server create with existing disks 2021-12-05 17:48:30 +08:00
Jian Qiu
f1a613e15a fix: check permission for getallmetadata params (#12815)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-12-05 08:59:12 +08:00
Zexi Li
e57b5117e3 Merge pull request #12774 from swordqiu/feature/qj-cascading-project-support
Feature/qj cascading project support
2021-12-05 00:18:47 +08:00
Qiu Jian
bdc99987f8 fix: no filter does not work 2021-12-04 21:02:28 +08:00
rainzm
02656f6c59 fix(scheduler): consider perfer and avoid score when sorting HostPriorityList 2021-12-03 14:54:48 +08:00
Zexi Li
dca6a87957 Merge pull request #12803 from zexi/docker-image-unify-utc
fix(build): unify docker image UTC timezone
2021-12-03 11:36:12 +08:00
Zexi Li
67aea1add2 fix(build): unify docker image UTC timezone 2021-12-03 11:28:33 +08:00
Zexi Li
8b06cbd9e3 Merge pull request #12805 from clamyang/bugfix/add-select-cond
fix(region): filter deleted storages
2021-12-03 10:34:05 +08:00
yangbaoqiang
abf6ca2f91 fix(region): filter deleted storages
In some situation, getValidStorages return deleted storage and the zone was deleted from
remote(openstack or others).
2021-12-02 23:01:15 +08:00
Zexi Li
15f8c53029 Merge pull request #12797 from rainzm/sort/modify
fix(scheduler): correct sorting for HostPriorityList
2021-12-02 21:14:59 +08:00
rainzm
a66adb55e7 fix(scheduler): correct sorting for HostPriorityList 2021-12-02 20:57:38 +08:00
Zexi Li
c0e2115f0c Merge pull request #12796 from ioito/hotfix/qx-apsara-tags
fix(region): project tags
2021-12-02 19:30:53 +08:00
ioito
61755e30e8 fix(region): project tags 2021-12-02 19:10:54 +08:00
Zexi Li
4266115019 Merge pull request #12795 from ioito/hotfix/qx-apsara-tags
fix(region): apsara tags sync for project
2021-12-02 18:24:51 +08:00
ioito
921fd1e8fc fix(region): apsara tags sync for project 2021-12-02 17:53:32 +08:00
ioito
b8115d4f03 fix(apigateway): support export for join module 2021-12-02 17:40:08 +08:00
ioito
22a75b9f33 fix(region): add route table filter for networks 2021-12-02 17:02:48 +08:00
Zexi Li
9f53ef9723 Merge pull request #12783 from ioito/hotfix/qx-apsara-project-tags
fix(region): set tags for project
2021-12-02 14:54:30 +08:00
ioito
af93d52eda fix(region): set tags for project 2021-12-02 14:23:36 +08:00
Zexi Li
18377b96aa Merge pull request #12787 from rainzm/imagestatus/active
fix(esxiagent): update storagecachedimage status from 'ready' to 'active'
2021-12-02 14:14:59 +08:00
rainzm
ca38104875 fix(esxiagent): update storagecachedimage status from 'ready' to 'active' 2021-12-02 11:21:24 +08:00
Qiu Jian
1d354d8919 1. Remove is_rbac_enable option
2. code changes due to interface change
2021-12-02 10:24:23 +08:00
Qiu Jian
fbe741f6cd tag filter for rbac 2021-12-02 07:43:10 +08:00
Qiu Jian
ae7c972afc update vendor 2021-12-02 07:43:10 +08:00
Qiu Jian
5eac5832b9 minor fixes 2021-12-02 07:43:10 +08:00
Qiu Jian
84a9ae95f6 feature: policy support tags 2021-12-02 07:43:10 +08:00
Zexi Li
d6b8dcfe8e Merge pull request #12780 from ioito/hotfix/qx-sql-backend
fix(yunionconf): use sqlchemy backend
2021-12-01 19:17:29 +08:00
Zexi Li
2699374bd2 Merge pull request #12785 from zexi/automated-cherry-pick-of-#12784-upstream-master
Automated cherry pick of #12784: fix(region): host support list by os_arch
2021-12-01 18:20:47 +08:00
Zexi Li
dba51f3976 fix(region): host support list by os_arch 2021-12-01 17:44:43 +08:00
Zexi Li
aeaf2f9e3d Merge pull request #12781 from zexi/improve-machine-validate-msg
fix(region): improve validate machine type message
2021-12-01 15:35:51 +08:00
Zexi Li
ad61aaeac8 fix(region): improve validate machine type message 2021-12-01 15:20:36 +08:00
ioito
80b610acf3 fix(yunionconf): use sqlchemy backend 2021-12-01 10:55:48 +08:00
Zexi Li
26cd2be7d7 Merge pull request #12777 from rainzm/ansibleserver/file-repo
fix(ansibleserver): update file-repo from v0.3.3 to v0.3.4
2021-11-30 20:16:06 +08:00
rainzm
79601d3ad9 fix(ansibleserver): update file-repo from v0.3.3 to v0.3.4
1. When checking telegraf, it is compatible with higher version Debian
2. Debian compatible when getting the installation package name
2021-11-30 17:48:38 +08:00
Zexi Li
b3f42a6cfe Merge pull request #12775 from rainzm/cnddomain/createfix
fix(region): setExteranlId and upload tags after creating cdndomain
2021-11-30 17:38:27 +08:00
rainzm
4b32d707ff fix(region): setExteranlId and upload tags after creating cdndomain 2021-11-30 17:08:54 +08:00
Zexi Li
336a6c8fff Merge pull request #12763 from ioito/hotfix/qx-remove-not-found-res
fix(region): delete vm and disk when it was not found
2021-11-30 00:04:15 +08:00
Zexi Li
bf0dbd0c50 Merge pull request #12762 from ioito/hotfix/qx-apigateway-scheduler
fix(apigateway): add scheduler module
2021-11-30 00:03:34 +08:00
Zexi Li
afbf3e9938 Merge pull request #12770 from ioito/hotfix/qx-account-region-sync
fix(region): sync with checked regions
2021-11-30 00:03:15 +08:00
Zexi Li
21bdadce5c Merge pull request #12766 from ioito/hotfix/qx-qcloud-cdn-third_party
fix(region): add third_party for qcloud
2021-11-30 00:02:40 +08:00
Jian Qiu
d1ecca0361 fix: make test for a moving server options (#12772)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-29 23:55:45 +08:00
Jian Qiu
b9b688dd17 update vendor 20211129 (#12771)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-29 23:41:41 +08:00
ioito
dd8d9db55e fix(region): add third_party for qcloud 2021-11-29 19:12:36 +08:00
ioito
42b6455c76 fix(region): sync with checked regions 2021-11-29 19:00:03 +08:00
Zexi Li
6552bc871d Merge pull request #12768 from ioito/hotfix/qx-azure-json
fix(region): azure json unmarshal
2021-11-29 17:44:11 +08:00
ioito
cf39fa720e fix(region): azure json unmarshal 2021-11-29 17:14:11 +08:00
ioito
3a408fc8fd fix(region): delete vm and disk when it was not found 2021-11-29 15:48:44 +08:00
屈轩
68694df3de fix(apigateway): add scheduler module 2021-11-29 15:34:21 +08:00
Zexi Li
e6814568bc Merge pull request #12747 from swordqiu/hotfix/qj-vpcagent-refresh-session-token
fix: vpcagent fail to refresh session token
2021-11-28 18:12:44 +08:00
Zexi Li
c115c029aa Merge pull request #12754 from ioito/hotfix/qx-cdn-create
fix(region): cdn create fix
2021-11-28 18:12:13 +08:00
Zexi Li
ea89b80ad6 Merge pull request #12757 from ioito/hotfix/qx-nas-create-with-tag
fix(region): support nas create with tag
2021-11-28 18:11:31 +08:00
Jian Qiu
e6a7d160e6 feature: support tag tree (#12751)
* feature: support tag tree

* update vendor

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

* modify Makefile to remove CGO_ENABLED=0 for esxi_agent

* update vendor 20211121

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

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

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

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

因为没有syncStorage,所以在同步syncHostStorge的时候无法disconnect host
和 没有的storage,这是因为storage上还有host的虚拟机。syncHostStorages
会失败,storageCache 也就不会同步,上面的icloudImage也不会同步。
2021-07-09 19:19:53 +08:00
rainzm
8f92195928 fix(region): set DefaultSysDiskBackend as empty for esxi guest 2021-07-09 19:09:57 +08:00
yunion-ci-robot
0d9403a298 Merge pull request #11609 from zexi/hotfix/baremetal-redfish-poweron-fallback
fix(baremetal): use ipmitool power reset when redfish power on error
2021-07-09 18:52:00 +08:00
Zexi Li
815cd9faf7 Merge pull request #11620 from tb365/bugfix/tb-update-vendor-070901
update vendor
2021-07-09 17:22:18 +08:00
rainzm
955cf6500b feat(devtool): use server forward direct for guest with kvm hypervisor 2021-07-09 16:10:59 +08:00
tb365
a83ff5bf98 update vendor 2021-07-09 16:07:29 +08:00
Zexi Li
539f68309b fix(baremetal): use ipmitool power reset when redfish power on error 2021-07-09 14:43:12 +08:00
zhaoxiangchun
4c2bca8f8b fix(monitor): fix monitor resourece update
1.通过region返回的obj更新监控资源时 remove掉id信息
2021-07-09 12:36:46 +08:00
Zexi Li
713278b457 Merge pull request #11603 from zhaoxiangchun/fix/zxc-query-restType
fix(monitor):  alert policy use ownerId when update
2021-07-09 12:06:57 +08:00
Zexi Li
1cd0995efa Merge pull request #11610 from swordqiu/hotfix/qj-host-detach-wire-bugs
fix: host detach wire not update netinterface
2021-07-09 11:49:49 +08:00
Qiu Jian
184a6a0817 fix: host detach wire not update netinterface 2021-07-09 10:35:24 +08:00
Zexi Li
6cfdfb4002 Merge pull request #11593 from tb365/bugfix/tb-bugfix-0700701
Bugfix/tb bugfix 0700701
2021-07-09 10:32:59 +08:00
zhaoxiangchun
3c499f209c fix(monitor): alert policy use ownerId when update
1.根据参数中的project和domain属性调用FetchOwnerId方法,然后确定报警策略归属并进行监控查询过滤
2021-07-09 10:10:30 +08:00
Zexi Li
72fc836846 Merge pull request #11601 from swordqiu/feature/qj-google-oidc-identity-provider
Feature/qj google oidc identity provider
2021-07-09 10:00:00 +08:00
Qiu Jian
788ad518c2 minor fixes 2021-07-08 22:44:42 +08:00
Zexi Li
89e9ad2339 Merge pull request #11580 from ioito/hotfix/qx-manager-name-update
fix(region): update manager name
2021-07-08 22:15:45 +08:00
yunion-ci-robot
f5133e156c Merge pull request #11563 from zexi/host-aware-kubelet-config
feat(host): aware of kubelet eviction config
2021-07-08 20:03:01 +08:00
yunion-ci-robot
b77be40a30 Merge pull request #11597 from rainzm/lvm/fine
fix(host-deployer): make SKVMGuestLVMPartition work find
2021-07-08 18:40:59 +08:00
rainzm
0a75aaad6e fix(host-deployer): make SKVMGuestLVMPartition work fine
1. add needChangeName to indicate whether to change the name when
   putting down
2. remove unnecessary IsVgActice
3. findPartitions from /dev/{vgname}/{lvname} or
   /dev/mapper/{vgname}-{lvname}
2021-07-08 18:15:56 +08:00
Zexi Li
79a4303be8 Merge pull request #11590 from ioito/hotfix/qx-jdcloud-rds-err
fix(region): validate jdcloud rds err
2021-07-08 11:28:08 +08:00
Zexi Li
65cf01b029 Merge pull request #11588 from ioito/hotfix/qx-azure-china-redis
fix(region): avoid sync azure china redis failed
2021-07-08 11:27:57 +08:00
Zexi Li
d9c5e408b3 Merge pull request #11548 from ioito/hotfix/qx-mongodb
feat(region): add mongodb
2021-07-08 11:26:55 +08:00
Zexi Li
d23ff37679 Merge pull request #11587 from zhaoxiangchun/fix/zxc-query-restType
feat(monitor): update monitor resource overview
2021-07-08 10:30:35 +08:00
Qiu Jian
f08ea8b2c8 feature: support Google Oauth2.0 2021-07-08 02:27:05 +08:00
Zexi Li
e770f4f653 feat(host): aware of kubelet eviction config 2021-07-07 21:27:39 +08:00
zhaoxiangchun
0919c2ee3e feat(monitor): update monitor resource overview
1.调整监控总览-报警资源逻辑
启用禁用策略时对报警资源进行对应的挂载和解绑
2021-07-07 20:36:11 +08:00
Zexi Li
119c5b155d Merge pull request #11583 from rainzm/error/handle
fix(region): handle the error of RequestGuestCreateAllDisks
2021-07-07 20:29:07 +08:00
tb365
5649af2192 azure elb support sync ip backend 2021-07-07 20:13:56 +08:00
tb365
be5aeda1b1 azure application lb sync fix 2021-07-07 18:17:36 +08:00
Qu Xuan
875abe66d6 fix(region): validate jdcloud rds err 2021-07-07 18:09:54 +08:00
Qu Xuan
247d10f65b fix(region): avoid sync azure china redis failed 2021-07-07 17:53:14 +08:00
Zexi Li
818c2ae917 Merge pull request #11586 from ioito/hotfix/qx-azure-redis-capability
fix(region): azure cache capability
2021-07-07 17:19:14 +08:00
Qu Xuan
7f3ac39f30 fix(region): azure cache capability 2021-07-07 17:02:51 +08:00
rainzm
4dd1ecc793 fix(region): handle the error of RequestGuestCreateAllDisks 2021-07-07 15:43:36 +08:00
rainzm
06f23b26e8 fix(notify): Support selective update of robot field 2021-07-07 15:38:11 +08:00
Zexi Li
45be44e179 Merge pull request #11575 from rainzm/gst
fix(notify): set default lang 'zh_CN' for robot
2021-07-07 09:38:12 +08:00
Zexi Li
7b0d4f8826 Merge pull request #11579 from ioito/hotfix/qx-jd-rds-port
fix(region): update jdcloud rds port
2021-07-07 09:37:50 +08:00
Zexi Li
fa2ce19c74 Merge pull request #11570 from rainzm/hostdeployer/win10_pwd
feat(hostdeployer): change the way fo GetLoginAccount in windows
2021-07-06 22:22:26 +08:00
Zexi Li
5c1006d0f9 Merge pull request #11557 from tb365/feature/tb-support-azure-elb
support azure elb sync
2021-07-06 20:42:06 +08:00
Qu Xuan
9187d9abf7 fix(region): update manager name 2021-07-06 20:23:57 +08:00
Qu Xuan
53746609ab fix(region): update jdcloud rds port 2021-07-06 19:51:06 +08:00
yunion-ci-robot
c64a29c3b9 Merge pull request #11574 from zexi/fix-uefi-probe
fix(host-deployer): detect UEFI supported not correct
2021-07-06 19:51:03 +08:00
rainzm
5ab4cc9e7f fix(notify): set default lang 'zh_CN' for robot 2021-07-06 19:25:53 +08:00
Zexi Li
cf7b226c37 fix(host-deployer): detect UEFI supported not correct 2021-07-06 18:16:16 +08:00
rainzm
6e164070d3 feat(hostdeployer): change the way fo GetLoginAccount in windows
首先,如果不是win10,并且 windowsDefaultAdminUser 置为 true,以及
Administrator 没有lock,那么使用 Administrator。
否则,优先使用第一个没有被锁定且不是 Administrator 的user,如果最后没有
符合条件的user,且Adminstrator 没有被lock,就是用 Administrator。
否则,报错。
2021-07-06 17:35:33 +08:00
yunion-ci-robot
dd5f6595b0 Merge pull request #11564 from zexi/open-euler-support
feat(host): add openEuler rootFs driver
2021-07-06 15:29:00 +08:00
tb365
a0a5d088d0 azure lb global id to lowercase 2021-07-06 15:10:47 +08:00
Zexi Li
6e8993a220 feat(host): add openEuler rootFs driver 2021-07-06 14:49:34 +08:00
Zexi Li
ca21e3d122 Merge pull request #11567 from ioito/hotfix/qx-azure-waf-sync
fix(region): sync azure waf instance
2021-07-06 14:36:54 +08:00
Qu Xuan
67e393b673 fix(region): sync azure waf instance 2021-07-06 14:34:41 +08:00
Zexi Li
1c824eb2e3 Merge pull request #11547 from ioito/hotfix/qx-guest-disk-info
fix(region): return disk type
2021-07-06 12:24:17 +08:00
tb365
eb55569436 lb backend group details add lb_listener_count 2021-07-06 09:49:40 +08:00
Qu Xuan
69a6aedf17 feat(region): add mongodb 2021-07-05 16:49:48 +08:00
Zexi Li
9d97fdf4eb Merge pull request #11560 from zexi/update-owners
update OWNERS
2021-07-05 15:55:25 +08:00
Zexi Li
75a745368f update OWNERS 2021-07-05 15:53:17 +08:00
tb365
bb10f3ef3a support azure elb sync 2021-07-05 11:22:21 +08:00
Zexi Li
4302385438 Merge pull request #11554 from swordqiu/hotfix/qj-add-cloudroot-as-system-account
fix: add cloudroot as system account, so as not using normal user id
2021-07-04 10:26:31 +08:00
Qiu Jian
31b5866e47 fix: add cloudroot as system account, so as not using normal user id 2021-07-03 17:25:28 +08:00
Jian Qiu
64af16114b fix: minor changes of LICENSE and README (#11553)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-07-03 12:36:18 +08:00
Qu Xuan
5d1b907933 fix(region): return disk type 2021-07-02 15:44:49 +08:00
Zexi Li
116b8b81a8 Merge pull request #11537 from rainzm/notify/template
Notify templates
2021-07-02 11:36:56 +08:00
Zexi Li
681be2df90 Merge pull request #11543 from zexi/automated-cherry-pick-of-#11542-upstream-master
Automated cherry pick of #11542: fix(climc): update climc-base image to 20210701
2021-07-02 11:28:33 +08:00
Zexi Li
3b06b4c0ef fix(climc): update climc-base image to 20210701 2021-07-02 10:13:54 +08:00
Zexi Li
a4a04866a7 Merge pull request #11539 from swordqiu/hotfix/qj-abort-windows-ntfs-resize-for-2003
fix: do not use ntfsresize to resize NTFS partition
2021-07-02 10:01:04 +08:00
Qiu Jian
179562bc40 fix: do not use ntfsresize to resize NTFS partition
This makes resizing windows 2003 ntfs partition non-functional
2021-07-02 09:13:37 +08:00
rainzm
0b3f18830c feat(notify): add save api for notify template 2021-07-01 18:44:39 +08:00
rainzm
cd40909dec fix(notify): add create tag fro Attribution in SConfig 2021-07-01 18:42:15 +08:00
Zexi Li
11b04454f2 Merge pull request #11372 from ioito/hotfix/qx-dry-run
fix(common): supported dry run
2021-06-30 20:41:53 +08:00
Zexi Li
f06e5d8f7e Merge pull request #11530 from ioito/hotfix/qx-aliyun-vnc
fix(webconsole): aliyun vnc windows ctl+alt+del
2021-06-30 20:09:28 +08:00
Qu Xuan
1498e69e46 fix(webconsole): aliyun vnc windows ctl+alt+del 2021-06-30 19:58:50 +08:00
Zexi Li
8437d59c5f Merge pull request #11522 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
fix(monitor): update alert panel scope by  alert dashboard
2021-06-30 10:30:47 +08:00
Zexi Li
38b465d766 Merge pull request #11527 from zhaoxiangchun/fix/zxc-query-restType
fix(monitor): fix monitor process alert
2021-06-30 10:25:52 +08:00
zhaoxiangchun
9c6d0b8252 fix(monitor): fix monitor process alert
修复进程监控报警后,没有触发前端报警提示的问题
2021-06-30 09:46:44 +08:00
yunion-ci-robot
573aad4093 Merge pull request #11524 from zexi/fix/sched-baremetal-network
fix(scheduler): baremetal network free address out of count
2021-06-29 23:24:16 +08:00
Zexi Li
c8facc9489 fix(scheduler): baremetal network free address out of count 2021-06-29 20:24:35 +08:00
zhaoxiangchun
b2835c5d8a fix(monitor): update alert panel scope by alert dashboard 2021-06-29 17:23:41 +08:00
Zexi Li
fd2e0f7ddf Merge pull request #11506 from ioito/hotfix/qx-qcloud-memcache
fix(region): add qcloud memcached sync
2021-06-29 10:01:52 +08:00
Zexi Li
20feba39ca Merge pull request #11483 from ioito/hotfix/qx-jd-balanec
fix(region): format jd cloud balance
2021-06-29 10:01:07 +08:00
Zexi Li
885bc8e540 Merge pull request #11518 from swordqiu/hotfix/qj-servers-directory-in-symbol-link-dir
fix(host): allow server directory a symbol link to directory in other location
2021-06-29 10:00:27 +08:00
Zexi Li
b54f7f4087 Merge pull request #11521 from swordqiu/hotfix/qj-update-readme-simplify-install-steps
fix: simplify installation stes to two steps
2021-06-29 09:57:37 +08:00
Qiu Jian
09570b0f16 fix: simplify installation stes to two steps 2021-06-29 01:38:31 +08:00
Qiu Jian
7765ec0e3b fix(host): allow server directory a symbol link to directory in other
location
2021-06-29 00:01:19 +08:00
Zexi Li
79865d12ef Merge pull request #11514 from zhaoxiangchun/feature/zxc-alertpanel-name
fix(monitor): fix alert record not return resource details
2021-06-28 20:21:46 +08:00
Qu Xuan
f615862db3 fix(region): add qcloud memcached sync 2021-06-28 19:51:05 +08:00
Zexi Li
1f70773522 Merge pull request #11490 from ioito/feat/qx-redis-azure
feat(region): add azure redis
2021-06-28 19:43:03 +08:00
Zexi Li
022863ff10 Merge pull request #11503 from ioito/hotfix/qx-opslog-id
fi(region): avoid opslog without resource id
2021-06-28 19:41:40 +08:00
Zexi Li
dcf4d23d16 Merge pull request #11502 from ioito/hotfix/qx-waf-purge
fix(region): waf purge with account delete
2021-06-28 19:41:12 +08:00
Zexi Li
4b9626d9e4 Merge pull request #11494 from zhaoxiangchun/feature/zxc-overview-monitor-resource
fix(monitor): update monitor resourece joint scope
2021-06-28 19:40:38 +08:00
zhaoxiangchun
7310d612e6 fix(monitor): fix alert record not return resource details 2021-06-28 19:39:03 +08:00
Zexi Li
e6e2f21f5e Merge pull request #11507 from ioito/hotfix/qx-snapshot-sync
fix(region): avoid panic when sync snapshot project
2021-06-28 19:36:34 +08:00
Zexi Li
f2b252a4ad Merge pull request #11509 from rainzm/esxi/host_datacenter
fix: get datacenter of host via GetDatacenter
2021-06-28 19:35:34 +08:00
Qu Xuan
049cf670ad fix(region): avoid panic when sync snapshot project 2021-06-28 18:14:03 +08:00
rainzm
e52a9a7add fix: get datacenter of host via GetDatacenter 2021-06-28 18:13:45 +08:00
Qu Xuan
7fc23cb683 fi(region): avoid opslog without resource id 2021-06-28 17:19:35 +08:00
Qu Xuan
71b0c07bc2 fix(region): waf purge with account delete 2021-06-28 16:37:50 +08:00
Zexi Li
72c8aa74f0 Merge pull request #11500 from zexi/automated-cherry-pick-of-#11498-upstream-master
Automated cherry pick of #11498: fix(region): baremetal server change ip address reuse
2021-06-28 15:07:25 +08:00
Zexi Li
2d5e9b1574 fix(region): baremetal server change ip address reuse 2021-06-28 14:45:17 +08:00
zhaoxiangchun
f8b690602d fix(monitor): update monitor resourece joint scope
1.将agent监控报警策略关联到虚拟机资源
2021-06-28 12:16:00 +08:00
Zexi Li
0911c243aa Merge pull request #11492 from zhaoxiangchun/feature/zxc-customsize-billing
feat(climc): update meter dimension climc
2021-06-28 11:36:41 +08:00
Qu Xuan
59eb84fb27 feat(region): add azure redis 2021-06-28 10:56:38 +08:00
zhaoxiangchun
cff9cbc2f8 feat(climc): update meter dimension climc 2021-06-26 22:20:28 +08:00
Zexi Li
bc7d77cd0c Merge pull request #11489 from rainzm/region/remove_debug
fix(cloudcommon): remove unnecessary  debug info
2021-06-25 18:31:39 +08:00
Zexi Li
1137ac549c Merge pull request #11486 from ioito/hotfix/qx-batch-validate-create
fix(common): batch validate create
2021-06-25 18:31:15 +08:00
Zexi Li
60cc2cbc1e Merge pull request #10970 from rainzm/scheduler/hostnetwork
feat(scheduler): optimize the speed of network predicate
2021-06-25 18:27:19 +08:00
rainzm
15ee20a4ab fix(cloudcommon): remove unnecessary debug info 2021-06-25 17:03:50 +08:00
rainzm
cc5b93ea41 feat: add interface INetworkNicCountGetter 2021-06-25 15:54:48 +08:00
rainzm
bf977bb745 feat(scheduler): optimize the speed of network predicate 2021-06-25 15:53:59 +08:00
Qu Xuan
a87a8f2f41 fix(common): batch validate create 2021-06-25 15:49:02 +08:00
Zexi Li
1766549f2d Merge pull request #11478 from rainzm/notify/distinct
fix(notify): distinct field of receivers
2021-06-24 20:14:25 +08:00
Zexi Li
2d77a1a048 Merge pull request #11484 from ioito/hotfix/qx-remove-app-gateway
fix(region): remove app gateway
2021-06-24 20:13:26 +08:00
Qu Xuan
9d6dc3540f fix(region): remove app gateway 2021-06-24 17:39:40 +08:00
Qu Xuan
bc4d1d7b8b fix(region): format jd cloud balance 2021-06-24 15:37:37 +08:00
Zexi Li
4183fdbd46 Merge pull request #11424 from rainzm/notify/domain_subs
Notify managed by domain admin
2021-06-24 10:42:16 +08:00
rainzm
1c865268f8 fix(notify): distinct field of receivers 2021-06-24 10:39:15 +08:00
rainzm
cb335c1086 feat(region): remove webhook notify in guest.PostUpdate 2021-06-24 10:30:06 +08:00
rainzm
83ac629652 feat(notify): compatible with webhook configuration 2021-06-24 10:30:06 +08:00
rainzm
311d0efb80 feat(notify,region): improvement of news subscription 2021-06-24 10:30:01 +08:00
rainzm
7630589465 feat(notify): add action 'change_ipaddr' for notify topic 2021-06-24 10:29:35 +08:00
rainzm
066efeea65 feat(notify): adjust subscribers when deleting bots and recipients 2021-06-24 10:29:35 +08:00
rainzm
04d930ab2b feat(notify): topic and subscriber at the domain level 2021-06-24 10:29:35 +08:00
rainzm
1d1bb6c381 feat(notify): advanced notify config and robot
1. Notify config has now become a domain resource, so that each domain can have its own configuration about notify.
   The domains has no configuration will use system config.
2. Robot separates from config and becomes a shared project resource. Sending information to robot can
   choose which robot to send to.
2021-06-24 10:29:35 +08:00
Zexi Li
c22c9eb021 Merge pull request #11471 from zhaoxiangchun/feature/zxc-overview-monitor-resource
feat(monitor): add jenkins metric desc
2021-06-24 10:02:30 +08:00
Zexi Li
06180e53b5 Merge pull request #11473 from rainzm/region/sync_faster_v1
Sync VMware resource faster
2021-06-24 10:01:24 +08:00
rainzm
17db82c1ee feat(esxi): disable sync cloudimage from image cache 2021-06-23 17:01:29 +08:00
rainzm
9a114b5fe5 feat(esxi): reduce the number of requests and the amount of data transferred 2021-06-23 17:01:28 +08:00
rainzm
9f0fdb2913 feat(region): add ProhibitRefreshingCloudImage for options 2021-06-23 17:01:28 +08:00
zhaoxiangchun
589c80356f feat(monitor): add jenkins metric desc 2021-06-23 15:27:19 +08:00
Zexi Li
92f81cee39 Merge pull request #11453 from ioito/hotfix/qx-skip-qcloud-start-err
fix(region): ignore qcloud vm start error
2021-06-23 11:54:42 +08:00
yunion-ci-robot
22e73bd5cd Merge pull request #11457 from zexi/vm-netplan
feat(host): support netplan configuration
2021-06-23 11:39:11 +08:00
Zexi Li
fe1b4e5370 Merge pull request #11463 from ioito/hotfix/qx-server-stop-reason
fix(hostman): show server status changed reason
2021-06-23 10:53:20 +08:00
Zexi Li
2e4fef2f29 Merge pull request #11461 from zhaoxiangchun/feature/zxc-overview-monitor-resource
fix(monitor): fix monitor overview
2021-06-23 10:51:37 +08:00
Zexi Li
02e57f7e8f feat(host): support netplan configuration 2021-06-23 10:08:09 +08:00
Zexi Li
5c6200af4b Merge pull request #11460 from ioito/feat/qx-jd-cloud-rds
feat(region): support jd cloud rds
2021-06-22 18:40:08 +08:00
Zexi Li
8f307e4b38 Merge pull request #11458 from ioito/hotfix/qx-azure-rds-sql-server
fix(region): add azure sql server
2021-06-22 18:39:34 +08:00
Qu Xuan
dc879ab8d7 fix(hostman): show server status changed reason 2021-06-22 17:58:26 +08:00
zhaoxiangchun
e228f19bb4 Merge branch 'master' of https://github.com/yunionio/onecloud into feature/zxc-overview-monitor-resource 2021-06-22 17:06:49 +08:00
zhaoxiangchun
f6d7f07c7e fix(monitor): fix monitor overview
1.监控总览中资源报警统计支持项目钻取
2. 资源报警状态修复
2021-06-22 17:04:09 +08:00
Qu Xuan
89f06f2f1f fix(region): add azure sql server 2021-06-22 16:48:48 +08:00
Qu Xuan
11f1f9756e feat(region): support jd cloud rds 2021-06-22 16:01:00 +08:00
Zexi Li
9766509e3e Merge pull request #11454 from zhaoxiangchun/bugfix/zxc-mon
fix(monitor): exit monitor engine in time when happen err
2021-06-21 23:49:37 +08:00
zhaoxiangchun
9b493fb593 fix(monitor): exit monitor engine in time when happen err 2021-06-21 16:08:48 +08:00
Qu Xuan
1c27836c7c fix(region): ignore qcloud vm start error 2021-06-21 14:32:28 +08:00
Zexi Li
145463eeb0 Merge pull request #11448 from zexi/baremetal-remove-bundle-lib
fix(baremetal): remove bundle libs build
2021-06-21 10:42:48 +08:00
Zexi Li
54250d3d80 fix(baremetal): remove bundle libs build 2021-06-21 10:29:41 +08:00
Zexi Li
0276d6a5de Merge pull request #11443 from zhaoxiangchun/feature/zxc-agent-metirc
fix(monitor): fix agent monitor query
2021-06-21 00:34:37 +08:00
Zexi Li
2ca045cc3a Merge pull request #11439 from rainzm/receiver/filter
feat(notify): filter all recipients in this domain and recipients who have joined projects in this domain
2021-06-21 00:34:20 +08:00
Zexi Li
1c69f5c1cc Merge pull request #11428 from zhaoxiangchun/feature/zxc-overview-monitor-resource
feat(monitor) 3.7 add monitor resource overview
2021-06-21 00:33:31 +08:00
Zexi Li
89005b9a4a Merge pull request #11316 from ioito/feat/qx-aliyun-waf
feat(region): waf
2021-06-21 00:32:59 +08:00
yunion-ci-robot
b18fcc3c30 Merge pull request #11433 from zexi/scheduler-reuse-baremetal-ip
fix(region,scheduler): baremetal reuse ip
2021-06-19 22:39:58 +08:00
Zexi Li
3348d708a3 Merge pull request #11446 from swordqiu/hotfix/qj-update-readme-20210618
fix: update README to add user list and bilibili URL
2021-06-19 15:34:11 +08:00
Zexi Li
ecd52cbb82 Merge pull request #11447 from yunionio/add-code-of-conduct-1
Create CODE_OF_CONDUCT.md
2021-06-19 12:57:29 +08:00
Jian Qiu
d0a7d89f3e Create CODE_OF_CONDUCT.md 2021-06-19 00:03:50 +08:00
Qiu Jian
32bfd5211f fix: update README to add user list and bilibili URL 2021-06-18 23:42:14 +08:00
Qu Xuan
f3dbe33671 feat(region): waf 2021-06-18 19:14:27 +08:00
Zexi Li
257fc28196 Merge pull request #11422 from ioito/feat/qx-app-gateway
feat(region): add app gateway resource
2021-06-18 19:09:26 +08:00
zhaoxiangchun
40f33db2a2 fix(monitor): fix agent monitor query
1.修复agent监控查询图表显示id的问题
2021-06-18 18:52:34 +08:00
Zexi Li
2b390f0a1e Merge pull request #11441 from ioito/hotfix/qx-pm-disable
fix(region): skip disabled project mapping
2021-06-18 18:32:22 +08:00
zhaoxiangchun
640dfe7b4e Merge branch 'master' of https://github.com/yunionio/onecloud into feature/zxc-overview-monitor-resource 2021-06-18 18:18:25 +08:00
Qu Xuan
711fbb6c3b fix(region): skip disabled project mapping 2021-06-18 18:04:04 +08:00
zhaoxiangchun
4ac0042153 feat(monitor) 3.7 add monitor resource overview
1. 监控中增加资源统计
2. 资源在报警总览中的状态:
   init--未设置告警;alerting--发生告警;/attach--已关联策略并且报警消息正常
3.只涉及宿主机和虚拟机

https://bug.yunion.io/zentao/task-view-3130.html
2021-06-18 17:46:40 +08:00
Zexi Li
8c8d779f80 Merge pull request #11419 from ioito/hotfix/qx-cloudprovider-filter
fix(region): add project filter for cloudprovider
2021-06-18 16:21:06 +08:00
Zexi Li
97a9060bc8 Merge pull request #11436 from ioito/hotfix/qx-manager-extra-filed
fix(region): manager distinct field
2021-06-18 16:20:56 +08:00
Zexi Li
49749609b4 fix(region,scheduler): baremetal reuse ip 2021-06-18 15:45:50 +08:00
rainzm
ed5dac6244 feat(notify): filter all recipients in this domain and recipients who have joined projects in this domain 2021-06-18 15:20:30 +08:00
Qu Xuan
bda4737518 fix(region): manager distinct field 2021-06-18 14:19:23 +08:00
Zexi Li
16109e41a9 Merge pull request #11430 from zexi/fix/host-sched-cache
fix(region): clean schedule cache when host add or delete netif
2021-06-18 11:16:06 +08:00
Zexi Li
574e1f3cdf fix(region): clean schedule cache when host add or delete netif 2021-06-18 11:02:40 +08:00
yunion-ci-robot
6e43c3f972 Merge pull request #11425 from bistuzx/master
add meter billing exchange rate module
2021-06-17 23:53:53 +08:00
bistuzx@163.com
f88ea19a76 add module billing exchange rate 2021-06-17 19:36:35 +08:00
Qu Xuan
77c8d9f787 feat(region): add app gateway resource 2021-06-17 18:12:07 +08:00
Qu Xuan
8ab645e60d fix(region): add project filter for cloudprovider 2021-06-17 17:18:10 +08:00
Zexi Li
7959fb28a4 Merge pull request #11402 from ioito/hotfix/qx-pm-info
fix(region): show project mapping managers info
2021-06-17 14:57:00 +08:00
Zexi Li
d146d72284 Merge pull request #11413 from swordqiu/hotfix/qj-support-windows-2003
fix: support windows 2003
2021-06-17 10:18:27 +08:00
Zexi Li
036b1fa6fd Merge pull request #11415 from swordqiu/hotfix/qj-skip-resize-lvm-partition
fix: do not resize LVM paritition and skip and return success
2021-06-17 09:48:04 +08:00
Qiu Jian
56025bc557 fix: support windows 2003 2021-06-17 09:44:47 +08:00
Qiu Jian
4e65ec00c4 fix: do not resize LVM paritition and skip and return success 2021-06-17 01:53:09 +08:00
yunion-ci-robot
6110b13ff9 Merge pull request #11205 from zexi/feat/bm-no-bmc-management
feat(baremetal): support management of none BMC host
2021-06-16 23:26:53 +08:00
Zexi Li
c6dd12a813 Merge pull request #11404 from ioito/hotfix/qx-qcloud-bw
fix(region): ignore qcloud bw pkg error
2021-06-16 20:09:47 +08:00
Zexi Li
0956a55189 Merge pull request #11406 from yousong/feature/yousong-webconsole-zombie
webconsole: wait zombies
2021-06-16 20:08:51 +08:00
Yousong Zhou
f519b88f69 webconsole: wait zombies 2021-06-16 19:32:20 +08:00
Qu Xuan
502718ec19 fix(region): ignore qcloud bw pkg error 2021-06-16 18:18:11 +08:00
Qu Xuan
b5cc187ec1 fix(region): show project mapping managers info 2021-06-16 16:53:33 +08:00
Zexi Li
6179886b7c fix(baremetal): record uefi info 2021-06-16 12:49:17 +08:00
Zexi Li
331f6c1f6e Merge pull request #11397 from ioito/hotfix/qx-resource-status
fix(region): add status resource statistic
2021-06-15 16:32:00 +08:00
Qu Xuan
aef09a0504 fix(region): add status resource statistic 2021-06-15 14:10:13 +08:00
Jian Qiu
93d946816f fix: change site URL to www.cloudpods.org (#11396)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-06-13 03:21:31 +08:00
Zexi Li
d7670a7de0 Merge pull request #11380 from rainzm/notify/verified
fix(notify): clean verifiedNote when marking verified
2021-06-11 17:48:55 +08:00
Zexi Li
4e8b343b46 Merge pull request #11376 from ioito/hotfix/qx-qcloud-bandwidth-pkg
fix(region): qcloud bandwidth pkg
2021-06-11 17:48:49 +08:00
Zexi Li
83d89d1a61 Merge pull request #11375 from ioito/hotfix/qx-host-storage-update
fix(host): update rbd storage capacity
2021-06-11 17:46:28 +08:00
Zexi Li
279eacd9be Merge pull request #11367 from ioito/hotfix/qx-manager-tag-sync
fix(region): support cloudprovider bind project mapping
2021-06-11 17:45:48 +08:00
Zexi Li
72060e0c0a Merge pull request #11388 from zexi/doc-issue-template
fix(github): document template add enhancement label
2021-06-11 16:45:58 +08:00
Zexi Li
e709bb2f98 fix(github): document template add enhancement label 2021-06-11 16:45:02 +08:00
Zexi Li
36e4ee6ffb Merge pull request #11374 from swordqiu/hotfix/qj-update-readme
fix: update README 20210610
2021-06-11 16:20:38 +08:00
Qu Xuan
4763059f7d fix(region): qcloud bandwidth pkg 2021-06-11 14:43:03 +08:00
Zexi Li
b67c9dec06 Merge pull request #11383 from zexi/doc-issue-template
feat(github): add document issue template
2021-06-11 14:04:52 +08:00
Zexi Li
9790f54b7a feat(github): add document issue template 2021-06-11 14:03:07 +08:00
rainzm
6f0290ca72 fix(notify): clean verifiedNote when marking verified 2021-06-11 10:04:46 +08:00
Qiu Jian
b4bb9c724b fix: update README 20210610 2021-06-11 00:40:57 +08:00
Qu Xuan
d76f366c57 fix(host): update rbd storage capacity 2021-06-10 19:33:14 +08:00
Qu Xuan
1bc8e38452 fix(region): support cloudprovider bind project mapping 2021-06-10 15:48:16 +08:00
Zexi Li
519b774e73 Merge pull request #11347 from zhaoxiangchun/feature/zxc-customsize-billing
feat(mcclient): add bills dimension climc
2021-06-10 05:33:46 +08:00
Zexi Li
39888576c2 Merge pull request #11369 from ioito/hotfix/qx-rbd-storage-used
fix(host): get ceph used capacity
2021-06-10 05:32:29 +08:00
Zexi Li
75f45a5440 Merge pull request #11373 from swordqiu/hotfix/qj-update-readme
fix: update README 20210610
2021-06-10 05:30:38 +08:00
Qiu Jian
2354722cce fix: update README 20210610 2021-06-10 01:10:54 +08:00
Qu Xuan
705e068a6e fix(common): supported dry run 2021-06-09 20:12:44 +08:00
Qu Xuan
0144f03cd6 fix(host): get ceph used capacity 2021-06-09 19:24:28 +08:00
zhaoxiangchun
79f08937ab feat(mcclient): add bills dimension climc 2021-06-09 11:15:13 +08:00
Zexi Li
0b0ac0f151 Merge pull request #11310 from ioito/hotfix/qx-sync-panic
fix(region): avoid vmware sync hosts panic
2021-06-08 23:28:55 +08:00
Zexi Li
67dae3171a Merge pull request #11338 from rainzm/agent/tags
Add some tags to the monitoring data generated by the agent
2021-06-08 23:27:11 +08:00
Zexi Li
893030a080 Merge pull request #11340 from ioito/hotfix/qx-huawei-group-role
fix(cloudid): huawei group role attach and detach
2021-06-08 23:14:58 +08:00
Zexi Li
044227f20c Merge pull request #11349 from ioito/hotfix/qx-saml-provider-create
fix(cloudid): avoid duplicate create saml provider
2021-06-08 23:13:12 +08:00
Zexi Li
303844ce97 Merge pull request #11354 from ioito/feat/qx-export-keys
feat(apigateway): support export dict keys
2021-06-08 23:11:45 +08:00
Zexi Li
14e811f954 Merge pull request #11357 from ioito/hotfix/qx-storage-update
fix(region): avoid storage update not work
2021-06-08 23:09:58 +08:00
Zexi Li
18c1cc28ac Merge pull request #11361 from ioito/hotfix/qx-snapshot-validate
fix(region): validate disk status when create snapshot
2021-06-08 23:08:11 +08:00
Qu Xuan
82af2f702b fix(region): validate disk status when create snapshot 2021-06-08 20:04:50 +08:00
Qu Xuan
9c520ee7a7 fix(region): avoid storage update not work 2021-06-08 17:32:24 +08:00
Qu Xuan
557fd96cc0 feat(apigateway): support export dict keys 2021-06-08 16:14:01 +08:00
Qu Xuan
6ff1610ff3 fix(cloudid): avoid duplicate create saml provider 2021-06-08 14:18:07 +08:00
yunion-ci-robot
82f969e408 Merge pull request #11311 from ioito/hotfix/qx-huawei-disk-tags
fix(region): huawei disk tags
2021-06-08 10:50:26 +08:00
Zexi Li
35e4258898 fix(baremetal): nvme allocable 2021-06-07 18:11:36 +08:00
Zexi Li
72a6fab20b Merge pull request #11332 from ioito/hotfix/qx-sku-attachd-disk
fix(region): validate attached disk size and backend
2021-06-07 17:43:23 +08:00
Zexi Li
9198c4d94e Merge pull request #11335 from zhaoxiangchun/feature/zxc-customsize-billing
fix(telegraf-raid-plugin): add image-telegraf-raid-plugin in Makefile
2021-06-07 17:42:33 +08:00
Qu Xuan
85f3ddc3f7 fix(cloudid): huawei group role attach and detach 2021-06-07 17:28:01 +08:00
rainzm
95412c1290 feat(build): change file repo version in Dockerfile.ansibleserver 2021-06-07 17:01:14 +08:00
rainzm
0d33ecd28c feat(devtool): add some tags 2021-06-07 17:00:15 +08:00
rainzm
9a01d83eeb fix(anisbleserver): support complex yaml config in ansibleplaybook_instance 2021-06-07 16:59:01 +08:00
zhaoxiangchun
9a3310b92d fix(telegraf-raid-plugin): add image-telegraf-raid-plugin in Makefile 2021-06-07 16:18:07 +08:00
Qu Xuan
90cc8250b6 fix(region): validate attached disk size and backend 2021-06-07 15:43:35 +08:00
Zexi Li
d23b0a51f1 Merge pull request #11306 from ioito/hotfix/qx-skip-quota-check
fix(region): skip server migrate quota check
2021-06-07 10:28:11 +08:00
Qu Xuan
ba25d3910e fix(region): skip server migrate quota check 2021-06-07 10:13:13 +08:00
Zexi Li
865cd5b48d Merge pull request #11331 from swordqiu/hotfix/qj-add-reddit
fix: add reddit contact
2021-06-06 12:20:52 +08:00
Qiu Jian
cfd3a15b66 fix: add reddit contact 2021-06-06 10:10:36 +08:00
Zexi Li
d555adc7f7 Merge pull request #11326 from ioito/hotfix/qx-guest-tags
fix(region): sync tags with new guest
2021-06-06 00:54:24 +08:00
Zexi Li
96a8c09f37 Merge pull request #11330 from swordqiu/hotfix/qj-update-readme-20210606
fix: update README embed image
2021-06-06 00:53:53 +08:00
Qiu Jian
13f61a1d71 fix: update README embed image 2021-06-06 00:50:14 +08:00
Zexi Li
a459586e43 Merge pull request #11329 from swordqiu/hotfix/qj-improve-documentation-20210605
fix: README improvement
2021-06-06 00:07:57 +08:00
Qiu Jian
cd1c242908 fix: README improvement 2021-06-05 23:43:39 +08:00
Zexi Li
516837ab22 Merge pull request #11320 from zhaoxiangchun/feature/zxc-jdcloud-monitor
fix: 修复云账号和宿主机报警问题
2021-06-05 12:16:30 +08:00
Zexi Li
565b2db732 Merge pull request #11328 from swordqiu/hotfix/qj-improve-documentation-20200604
fix: improve documentation
2021-06-05 12:15:47 +08:00
Qiu Jian
2cc64af6fc fix: improve documentation 2021-06-05 03:40:05 +08:00
Qu Xuan
e461f87a9e fix(region): sync tags with new guest 2021-06-04 23:09:00 +08:00
Zexi Li
ee82adba4f Merge pull request #11297 from tb365/bugfix/tb-bugfix-060301
fix(region): lb local cert sync fix
2021-06-04 21:09:46 +08:00
Zexi Li
6016ae2121 Merge pull request #11299 from swordqiu/hotfix/qj-hpsactl-skip-empty-slots
fix: hpssacli should skip empty slots
2021-06-04 21:04:07 +08:00
Zexi Li
a63864b04a Merge pull request #11324 from swordqiu/hotfix/qj-readme-improvement-20210604
fix: improve readme
2021-06-04 21:02:52 +08:00
Qiu Jian
89a83dea5d fix: improve readme 2021-06-04 20:44:29 +08:00
yunion-ci-robot
88df4c912a Merge pull request #11325 from yousong/bugfix/yousong-readme-icon
README.md: update icon URLs
2021-06-04 20:35:27 +08:00
Yousong Zhou
98d5fb0728 README.md: update icon URLs 2021-06-04 20:25:46 +08:00
Zexi Li
ea1d46efe3 Merge pull request #11318 from ioito/hotfix/qx-guest-delete-with-disk
fix(region): avoid guest delete not with disks
2021-06-04 19:46:22 +08:00
zhaoxiangchun
cf29c44bbb fix: 修复云账号和宿主机报警问题
1.云账号报警时过滤掉已经禁用的云账号
2.修复宿主机报警时资源名称重复的问题
2021-06-04 19:23:25 +08:00
Qu Xuan
b5aa64d91b fix(region): avoid guest delete not with disks 2021-06-04 19:15:28 +08:00
Qu Xuan
7b6f28eefa fix(region): huawei disk tags 2021-06-04 14:36:20 +08:00
Qu Xuan
0a5ec52484 fix(region): avoid vmware sync hosts panic 2021-06-04 12:04:41 +08:00
Zexi Li
fb7b322256 Merge pull request #11305 from swordqiu/hotfix/qj-update-readme-20210604
fix: improve README
2021-06-04 09:53:56 +08:00
Qiu Jian
09e1e1ced2 fix: improve README 2021-06-04 02:01:38 +08:00
Qiu Jian
b7133f715b fix: hpssacli should skip empty slots
hpssacli may fail when detect disks on empty slots, which cause raid
detection failure
2021-06-03 19:31:52 +08:00
Zexi Li
ef7bc9e09d feat(baremetal): add UEFI related util 2021-06-03 19:02:52 +08:00
tb365
daf496a5b6 fix(region): lb local cert sync fix 2021-06-03 18:46:06 +08:00
Zexi Li
7e83136fe0 Merge pull request #11296 from zhaoxiangchun/feature/zxc-jdcloud-monitor
feat: support jdcloud pull monitor metric
2021-06-03 18:10:29 +08:00
zhaoxiangchun
81da6c3af9 feat: support jdcloud pull monitor metric 2021-06-03 15:11:22 +08:00
Zexi Li
88b8a97c63 Merge pull request #11289 from ioito/hotfix/qx-guest-start-params
fix(host): avoid panic when params is nil
2021-06-03 11:42:21 +08:00
Qu Xuan
8192af65ef fix(host): avoid panic when params is nil 2021-06-03 11:24:31 +08:00
Zexi Li
3f87a6fc6f fix(baremetal): close ssh test client 2021-06-03 02:43:31 +08:00
Zexi Li
7c6e861d71 Merge pull request #11284 from zexi/glance-s3-image-check-status
fix(glance): add option of s3 image status check
2021-06-02 11:17:55 +08:00
Zexi Li
00069a6070 fix(glance): add option of s3 image status check 2021-06-02 10:44:16 +08:00
Zexi Li
1b25544bc6 Merge pull request #11279 from ioito/hotfix/qx-disk-resize-deadlock
fix(region): avoid deadlock when resize disk
2021-06-01 19:19:10 +08:00
Zexi Li
03e2e2f816 Merge pull request #11274 from ioito/hotfix/qx-disable-auto-ip-allocate
fix(region): disable public cloud ip pre allocate
2021-06-01 18:55:08 +08:00
Zexi Li
2923ce2e13 Merge pull request #11261 from rainzm/jdcloud/init
Jdcloud/init
2021-06-01 18:52:38 +08:00
rainzm
276102a229 fix: add default security group rules and priorities to JDCloud 2021-06-01 18:36:29 +08:00
rainzm
bbbcadcedb add secgroup-list 2021-06-01 18:35:28 +08:00
rainzm
74f1868556 fix(multicloud): get the storage type of the disk correctly 2021-06-01 15:43:10 +08:00
Qu Xuan
30800f7320 fix(region): avoid deadlock when resize disk 2021-06-01 14:09:40 +08:00
Zexi Li
2814f482b0 Merge pull request #11268 from swordqiu/hotfix/qj-windows-extend-file-system
fix: windows resize file system
2021-06-01 11:54:46 +08:00
Qiu Jian
6c8b8441d4 fix: windows resize file system 2021-05-31 23:59:17 +08:00
Qu Xuan
a7c9ba3760 fix(region): disable public cloud ip pre allocate 2021-05-31 15:06:01 +08:00
rainzm
4783fb7540 feat(multicloud): add JdcloudTags 2021-05-31 10:15:53 +08:00
rainzm
928a801c87 update vendor 2021-05-31 10:15:53 +08:00
rainzm
00f94399fb feat: support JDCloud (Host read only) 2021-05-31 10:15:50 +08:00
Zexi Li
0f4de0dbdf Merge pull request #11266 from ioito/hotfix/qx-aws-json-unmarshal
fix(region): fix aws json unmarshal error
2021-05-31 09:56:02 +08:00
tb365
458ff46624 add jdcloud reigon&host&guest driver 2021-05-31 09:31:33 +08:00
tb365
4c369d19f3 add jd cloud constants 2021-05-31 09:31:33 +08:00
Qu Xuan
4a2e3e066f fix(region): fix aws json unmarshal error 2021-05-29 12:30:46 +08:00
Zexi Li
c712b71533 Merge pull request #11264 from ioito/hotfix/qx-tag-base
fix(region): split provider tag sync
2021-05-28 20:36:18 +08:00
Qu Xuan
4af24a2928 fix(region): split provider tag sync 2021-05-28 20:18:10 +08:00
yunion-ci-robot
04c97d538b Merge pull request #11258 from zhaoxiangchun/feature/zxc-raid-plugin
fix(host): raid status
2021-05-28 20:10:17 +08:00
zhaoxiangchun
219b853ecc fix(host): raid status 2021-05-28 19:56:14 +08:00
Zexi Li
f56b5352b1 Merge pull request #11253 from tb365/bugfix/tb-bugfix-052801
fix(region): lbcert cache clean duplicate data fix
2021-05-28 19:18:08 +08:00
Zexi Li
3fcaef556f Merge pull request #11256 from ioito/hotfix/qx-request-timeout
fix(cloudid): remove debug code
2021-05-28 19:17:29 +08:00
Zexi Li
5b4192a018 Merge pull request #11249 from ioito/hotfix/qx-project-sync-optimized
fix(region): optimized disk eip snapshot project sync
2021-05-28 19:17:01 +08:00
Qu Xuan
814bec45f9 fix(cloudid): remove debug code 2021-05-28 15:53:35 +08:00
tb365
9cfc6a1e59 fix(region): lbcert cache clean duplicate data fix 2021-05-28 15:45:39 +08:00
Zexi Li
15b5034695 Merge pull request #11245 from swordqiu/hotfix/qj-apigateway-regions-filter-by-domain-illegal-mix-of-collations
fix: get apigateway auth/regions with error of illegal mix of collations
2021-05-28 15:43:22 +08:00
Zexi Li
06f4b32e4c Merge pull request #11251 from ioito/hotfix/qx-project-mapping-sync
fix(region): project sync condition
2021-05-28 15:28:54 +08:00
Qu Xuan
ec72fbbcc4 fix(region): project sync condition 2021-05-28 15:14:32 +08:00
Qu Xuan
e80be2b586 fix(region): optimized disk eip snapshot project sync 2021-05-28 14:31:51 +08:00
Qiu Jian
a087863ab0 fix: get apigateway auth/regions with error of illegal mix of collations 2021-05-28 09:37:43 +08:00
Zexi Li
7f7651c6d5 Merge pull request #11217 from ioito/hotfix/qx-qcloud-tags
fix(region): optimized aliyun qcloud tags sync
2021-05-27 20:33:24 +08:00
Zexi Li
b1e5fa1fb5 Merge pull request #11228 from ioito/hotfix/qx-secgroup-typo
fix(region): translation errors
2021-05-27 19:49:52 +08:00
Zexi Li
7163831fe0 Merge pull request #11226 from tb365/bugfix/tb-bugfix-052601
fix(region): lb cert name fix
2021-05-27 19:45:21 +08:00
Zexi Li
88e6f8acb0 Merge pull request #11240 from zexi/hotfix/resuce-mode-migrate
fix(region): migrate use rescue mode
2021-05-27 19:43:27 +08:00
Zexi Li
2ff170229c Merge pull request #11242 from zexi/revert-raid-status
Revert "fix(host): raid status fix"
2021-05-27 19:42:37 +08:00
Zexi Li
54855736a6 Revert "fix(host): raid status fix"
This reverts commit 392f5ab237.
2021-05-27 19:39:39 +08:00
Zexi Li
67f4bc5bbc Merge pull request #11233 from zhaoxiangchun/feature/zxc-raid-plugin
fix(host): raid status fix
2021-05-27 19:36:13 +08:00
Zexi Li
72d779c1b9 fix(region): migrate use rescue mode 2021-05-27 19:32:46 +08:00
zhaoxiangchun
392f5ab237 fix(host): raid status fix
1. All status are online except offline.
2021-05-27 15:59:24 +08:00
Qu Xuan
d1c34a60c2 fix(region): optimized azure aliyun qcloud tags sync 2021-05-27 10:53:17 +08:00
Qu Xuan
314d664ff2 fix(region): translation errors 2021-05-27 10:46:16 +08:00
tb365
2252e1951a fix(region): lb cert name fix 2021-05-26 17:20:21 +08:00
Zexi Li
f5f3619f03 Merge pull request #11219 from ioito/hotfix/qx-kvm-local-disk
fix(host): avoid delete removed disk failed
2021-05-26 14:21:48 +08:00
Zexi Li
6c5bba7dd2 feat(baremetal): support management of none BMC host 2021-05-25 21:06:47 +08:00
Qu Xuan
352ceefedd fix(host): avoid delete removed disk failed 2021-05-25 20:59:57 +08:00
Zexi Li
39e5d51f6a Merge pull request #11201 from ioito/hotfix/qx-azure-deploy-failed
fix(region): show azure deploy failed error
2021-05-25 19:08:30 +08:00
Zexi Li
6ed30e7b9d Merge pull request #11212 from ioito/hotfix/qx-aws-tag
fix(region): aws vpc network eip disk tags sync
2021-05-25 19:07:43 +08:00
Qu Xuan
920369021d fix(region): aws vpc network eip disk tags sync 2021-05-25 17:43:11 +08:00
Zexi Li
932d194a85 Merge pull request #11166 from zexi/feat/migrate-forecast
feat(region): add server migration predication API
2021-05-25 17:03:27 +08:00
Qu Xuan
f8d58a4eda fix(region): show azure deploy failed error 2021-05-25 10:33:47 +08:00
Zexi Li
0333d41fb8 Merge pull request #11198 from ioito/hotfix/qx-project-mapping-with-account
fix(region): restrict account project mapping
2021-05-24 18:16:34 +08:00
Zexi Li
cb12ff21ab Merge pull request #11191 from ioito/hotfix/qx-azure-tags
fix(region): azure uniform tags
2021-05-24 17:23:08 +08:00
Zexi Li
ff7c514f55 feat(region): add server migration predication API 2021-05-24 17:00:32 +08:00
Qu Xuan
8907dd4e8a fix(region): restrict account project mapping 2021-05-24 16:46:00 +08:00
Qu Xuan
ef70a95da9 fix(region): azure uniform tags 2021-05-24 15:01:31 +08:00
Zexi Li
83ab0f5925 Merge pull request #11178 from ioito/hotfix/qx-project-mapping-rules
fix(region): add project and domain info for project mapping rules
2021-05-24 10:15:52 +08:00
Zexi Li
bf1bd9aade Merge pull request #11177 from tb365/bugfix/tb-bugfix-052101
feat(region): loadbalancer certificate add purge methods
2021-05-24 10:14:57 +08:00
Zexi Li
eb79c9f311 Merge pull request #11180 from ioito/hotfix/qx-guest-disks
fix(region): avoid only query one guest disk
2021-05-23 00:12:30 +08:00
TangBin
f119385596 fix(region): gofmt fix 2021-05-21 10:20:27 +08:00
Qu Xuan
e7502720ae fix(region): avoid only query one guest disk 2021-05-21 09:49:46 +08:00
Qu Xuan
9d6813cee6 fix(region): add project and domain info for project mapping rules 2021-05-20 20:39:27 +08:00
Qu Xuan
74f0d51aee fix(region): check sku request error 2021-05-20 20:00:12 +08:00
Zexi Li
66c37925d6 Merge pull request #11168 from ioito/hotfix/qx-storage-filter
fix(region): add host_id options for storage filter
2021-05-20 18:54:17 +08:00
Zexi Li
5321302a93 Merge pull request #11170 from ioito/hotfix/qx-aws-session-cache
fix(region): avoid aws session not assume role
2021-05-20 18:52:53 +08:00
Zexi Li
f609004a4d Merge pull request #11172 from zhaoxiangchun/feature/zxc-storage-monitor
fix(monitor): fix storage tag
2021-05-20 18:51:38 +08:00
zhaoxiangchun
391b8b5175 fix(monitor): fix storage tag 2021-05-20 17:23:40 +08:00
Qu Xuan
6456fa3af0 fix(region): avoid aws session not assume role 2021-05-20 16:40:54 +08:00
Qu Xuan
4fcbef3e7f fix(region): add host_id options for storage filter 2021-05-20 14:38:49 +08:00
Zexi Li
ffe5b989c2 Merge pull request #11025 from zhaoxiangchun/feature/zxc-storage-monitor
feat(monitor): add storage monitor metric
2021-05-20 09:53:45 +08:00
Zexi Li
5f75296b6e Merge pull request #11164 from zexi/fix/pr-template-typo
fix(github): PR template typo
2021-05-20 09:46:42 +08:00
Zexi Li
995eb229a3 fix(github): PR template typo 2021-05-20 09:45:21 +08:00
Zexi Li
650588bd2e Merge pull request #11160 from ioito/hotfix/qx-sku-sync-err
fix(region): check sku request error
2021-05-19 23:30:45 +08:00
Qu Xuan
b12c265877 fix(region): check sku request error 2021-05-19 19:25:35 +08:00
Zexi Li
552c240590 Merge pull request #11159 from zexi/update-github-template
feat(github): update github PR and issue template
2021-05-19 18:33:34 +08:00
Zexi Li
2b475685eb feat(github): update github PR and issue template 2021-05-19 18:33:08 +08:00
Zexi Li
8c446c28c9 Merge pull request #11154 from ioito/hotfix/qx-azure-secgroup
fix(region): avoid azure secgroup sync removed
2021-05-19 17:41:14 +08:00
Zexi Li
c66fa8353d Merge pull request #11152 from ioito/hotfix/qx-project-mapping-index
fix(region): avoid index out of range panic
2021-05-19 17:40:03 +08:00
Zexi Li
b1ff45e91f Merge pull request #11158 from zexi/fix/readme-deadlinks
fix(readme): remove deadlinks
2021-05-19 17:38:13 +08:00
Zexi Li
fc2088dee8 fix(readme): remove deadlinks 2021-05-19 17:35:06 +08:00
Qu Xuan
d83bc8477d fix(region): avoid azure secgroup sync removed 2021-05-19 15:56:34 +08:00
Qu Xuan
df26704b36 fix(region): avoid index out of range panic 2021-05-19 15:34:08 +08:00
Zexi Li
b64934e330 Merge pull request #11148 from rainzm/ansible/opt
feat(ansible): add rolePublic and timeout options
2021-05-19 15:23:23 +08:00
Zexi Li
28c897d76e Merge pull request #11146 from ioito/hotfix/qx-project-mapping-details
fix(region): more accounts details for project mapping
2021-05-19 15:23:10 +08:00
Zexi Li
93889d2a7b Merge pull request #11139 from tb365/bugfix/tb-bugfix-051801
fix(region): ctyun delete secgroup fix
2021-05-19 15:22:05 +08:00
rainzm
8b3e591cfc feat(ansible): add rolePublic and timeout options 2021-05-19 11:23:03 +08:00
Qu Xuan
a33179e76e fix(region): more accounts details for project mapping 2021-05-18 17:55:38 +08:00
Zexi Li
4c5c713b41 Merge pull request #11142 from zexi/fix/image-nonstandard-update
fix(glance): make image is_standard updatable
2021-05-18 17:18:19 +08:00
Zexi Li
d88af7a6f7 fix(glance): make image is_standard updatable 2021-05-18 16:40:26 +08:00
Zexi Li
3b249f2402 Merge pull request #11134 from ioito/hotfix/qx-azure-domain
fix(cloudid): clouduser use default domain
2021-05-18 15:56:26 +08:00
Qu Xuan
8bc0ad557f fix(cloudid): clouduser use default domain 2021-05-18 15:18:05 +08:00
TangBin
33b0517d4a fix(region): ctyun delete secgroup fix 2021-05-18 14:54:33 +08:00
Zexi Li
227509fdca Merge pull request #11126 from rainzm/is/create
fix(region): check whether the disks of the instance snapshot is empty when creating vm
2021-05-17 22:36:47 +08:00
Zexi Li
d8bb4b6b4e Merge pull request #11130 from ioito/hotfix/qx-swagger-api
fix(docs): update swagger api
2021-05-17 22:36:00 +08:00
Qu Xuan
23290092d7 fix(docs): update swagger api 2021-05-17 19:59:00 +08:00
rainzm
2d725011d3 fix(region): check whether the disks of the instance snapshot is empty when creating vm 2021-05-17 17:06:00 +08:00
Zexi Li
fef8c6ddf4 Merge pull request #11052 from ioito/hotfix/qx-guest-list-optimized
fix(region): optimzed guest disks
2021-05-17 10:09:52 +08:00
Zexi Li
645f3aa254 Merge pull request #11101 from ioito/hotfix/qx-sku-optimized
fix(region): optimized server sku sku
2021-05-17 10:08:11 +08:00
Zexi Li
c607ce3fcd Merge pull request #11116 from rainzm/webhook/fix
webhook fix
2021-05-17 10:07:23 +08:00
Zexi Li
496569ad9e Merge pull request #11107 from rainzm/esxi/copydisk
fix(esxiagent): make the copied disk type as thin
2021-05-17 10:06:57 +08:00
Zexi Li
1df401cacf Merge pull request #11121 from rainzm/esxi/deploy
fix(esxiagent): execute deploy operation by default in AgentDeployGuest
2021-05-17 10:06:03 +08:00
yunion-ci-robot
b3485c997f Merge pull request #11123 from ioito/hotfix/qx-project-mapping-optional
fix(region): project mapping optional
2021-05-16 16:07:58 +08:00
屈轩
0fbbe57e4a fix(region): project mapping optional 2021-05-16 14:07:40 +08:00
rainzm
b44a6a053a fix(esxiagent): execute deploy operation by default in AgentDeployGuest 2021-05-14 19:04:15 +08:00
Zexi Li
4d7fa332ac Merge pull request #11112 from tb365/bugfix/tb-bugfix-051401
fix(region): aws sync disk missing image id fix
2021-05-14 17:32:44 +08:00
rainzm
f3e3a94eda fix(region): send webhook when the creation task is completely completed 2021-05-14 17:06:00 +08:00
rainzm
4a83028f7e fix(region): send webhook notification when delete dbinstance 2021-05-14 16:46:26 +08:00
TangBin
7a861689ff fix(region): aws sync disk missing image id fix 2021-05-14 15:17:42 +08:00
rainzm
5d32571262 fix(esxiagent): make the copied disk type as thin
磁盘首选精简制备,但是copy disk默认是预分配,所以需要特别指定为
精简制备
2021-05-14 14:59:53 +08:00
Qu Xuan
ec45559d32 fix(region): optimized server sku sku 2021-05-13 20:55:28 +08:00
Zexi Li
a737ab7346 Merge pull request #11094 from tb365/bugfix/tb-bugfix-051301
fix(region): remove snapshots checking for huawei cloud while delete …
2021-05-13 20:28:56 +08:00
Zexi Li
f213fab8e4 Merge pull request #11097 from ioito/hotfix/qx-sku-update
fix(region): allow update sku status
2021-05-13 20:27:26 +08:00
Qu Xuan
d35206bf1c fix(region): allow update sku status 2021-05-13 19:44:51 +08:00
Zexi Li
eeffacaee0 Merge pull request #11032 from ioito/hotfix/qx-aliyun-vpc-endpoint
fix(region): aliyun vpc endpoint
2021-05-13 18:51:40 +08:00
Zexi Li
3bbfbd75aa Merge pull request #11053 from ioito/hotfix/qx-sku-sched-clear
fix(region): optimized sku sched clear
2021-05-13 18:49:21 +08:00
Zexi Li
40e1d4112a Merge pull request #11095 from rainzm/event/notify
fix(region): use the previous method for guest notification instead of message subscription
2021-05-13 18:48:28 +08:00
rainzm
f5008a4329 fix(region): use the previous method for guest notification instead of message subscription 2021-05-13 17:38:15 +08:00
TangBin
113ef352ce fix(region): remove snapshots checking for huawei cloud while delete server 2021-05-13 15:28:13 +08:00
yunion-ci-robot
ed6511471c Merge pull request #11050 from rainzm/nginx/test
fix(ansibleserver): correct playbook path and role path
2021-05-13 11:55:56 +08:00
Qu Xuan
65d52dbabb fix(region): optimized sku sched clear 2021-05-13 11:05:53 +08:00
Qu Xuan
7f37398ae4 fix(region): aliyun vpc endpoint 2021-05-12 16:26:33 +08:00
Qu Xuan
8c21558fe5 fix(region): optimzed guest disks 2021-05-12 16:22:04 +08:00
rainzm
cb410623d4 fix(ansibleserver): correct playbook path 2021-05-12 16:21:33 +08:00
zhaoxiangchun
8685e96198 feat(monitor): add storage monitor metric
1.增加块存储storage监控信息:
  1)增加对应翻译信息
  2)监控信息和modules.Strorages接口进行交集取值
  3)返回信息处理
2021-05-12 16:19:47 +08:00
Zexi Li
a1a32a91bb Merge pull request #11048 from zexi/fix/glance-s3-put-image
fix(glance): set fail status when upload image to s3
2021-05-12 15:15:54 +08:00
Zexi Li
48cfdd5ed3 fix(glance): set fail status when upload image to s3 2021-05-12 15:00:13 +08:00
Zexi Li
707722e3e5 Merge pull request #11046 from zexi/automated-cherry-pick-of-#11045-upstream-master
Automated cherry pick of #11045: fix(baremetal): register baremetal name invalid
2021-05-12 14:52:51 +08:00
Zexi Li
64878713ef fix(baremetal): register baremetal name invalid 2021-05-12 13:07:11 +08:00
Zexi Li
3d9d4aa349 Merge pull request #11043 from rainzm/webhook/compatible
maintain compatibility with previous webhooks
2021-05-12 12:19:34 +08:00
Zexi Li
5c10959639 Merge pull request #11030 from rainzm/vmware/remote_update
fix(region): add RequestRemoteUpdate for ESXiGuestDriver
2021-05-12 12:01:48 +08:00
rainzm
ff47f8177d fix(region): maintain compatibility with webhook notify 2021-05-12 10:35:27 +08:00
rainzm
a28ff0400a fix(cloudcommon): disable EventNotify for now
The front end is not yet open, temporarily disable it to avoid meaningless logic and requests
2021-05-12 10:34:41 +08:00
Zexi Li
b5213930b4 Merge pull request #11036 from ioito/hotfix/qx-aliyun-nas-endpoint
fix(region): aliyun nas endpoint
2021-05-12 10:23:50 +08:00
Zexi Li
66f017fd87 Merge pull request #11041 from swordqiu/hotfix/qj-climc-docker-build-fail
fix: resolve conflict of climc docker build
2021-05-12 09:34:28 +08:00
Qiu Jian
49807175fe fix: resolve conflict of climc docker build 2021-05-12 09:04:52 +08:00
Zexi Li
d8a671e60b Merge pull request #11039 from zexi/fix/climc-rpm
fix(climc): mv climc rpm package .bashrc to /etc/profile.d/climc.sh
2021-05-11 18:18:01 +08:00
Zexi Li
386b8e5c7f fix(climc): mv climc rpm package .bashrc to /etc/profile.d/climc.sh 2021-05-11 18:15:07 +08:00
Qu Xuan
b725729f0b fix(region): aliyun nas endpoint 2021-05-11 15:39:46 +08:00
rainzm
2c26b6fb3f fix(region): add RequestRemoteUpdate for ESXiGuestDriver 2021-05-11 11:38:18 +08:00
Zexi Li
7f1f68b57c Merge pull request #11010 from ioito/hotfix/qx-project-mapping
fix(region): support project mapping
2021-05-11 10:10:24 +08:00
Yousong Zhou
7bd835b8c8 Merge pull request #11023 from yousong/bugfix/yousong-cloudproxy
Bugfix/yousong cloudproxy
2021-05-11 09:52:58 +08:00
yunion-ci-robot
28e151ab34 Merge pull request #11027 from rainzm/lastseen/fix
fix for installing agent for vm
2021-05-11 09:51:54 +08:00
rainzm
9b7a33f432 fix(devtool): set 'task_id' and 'task_notify_url' in header 2021-05-10 19:54:11 +08:00
rainzm
09a9d4e493 fix(devtool): get 'lastseen' not 'last_seen' of forward 2021-05-10 18:53:17 +08:00
rainzm
f261db7ae8 feat(cloudproxy): add GetDetailsLastseen for forwards 2021-05-10 18:53:17 +08:00
Yousong Zhou
59f99c653a guests: sshable: fix breaking out from wait loop 2021-05-10 17:07:51 +08:00
Yousong Zhou
f6271885c1 cloudproxy: agent: no collision between ports of ssh conn and forwards 2021-05-10 17:07:51 +08:00
Qu Xuan
ff43472c61 fix(region): support project mapping 2021-05-10 16:13:29 +08:00
Yousong Zhou
a4d35457ca cloudproxy: agent: refresh every 11 seconds 2021-05-10 14:16:30 +08:00
Yousong Zhou
1457b37c7d cloudproxy: agent: ssh: wait ssh conn state while passing it out 2021-05-10 13:43:07 +08:00
Zexi Li
0319f28da6 Merge pull request #11011 from rainzm/pe/projectId
fix(cloudproxy): correct fetch projectId from server for PE
2021-05-10 12:07:49 +08:00
Zexi Li
5400c4ed03 Merge pull request #10996 from rainzm/snapshot/autosync
fix(region): continue to sync the snapshots that are being created when syncing auto created snapshot
2021-05-10 12:05:38 +08:00
Zexi Li
e5a87af6fd Merge pull request #11016 from swordqiu/hotfix/qj-cloud-shell-init-by-backends
fix: init cloud shell by apigateway
2021-05-10 12:02:39 +08:00
Zexi Li
5e9f028b14 Merge pull request #11013 from swordqiu/hotfix/qj-missing-yunionconf-log
fix: missing yunionconf log
2021-05-10 12:00:04 +08:00
Qiu Jian
ea6797c606 fix: init cloud shell by apigateway 2021-05-09 01:33:36 +08:00
rainzm
f906d15a5e fix(cloudproxy): correct fetch projectId from server for PE 2021-05-08 22:25:00 +08:00
Qiu Jian
740b3c94aa fix: missing yunionconf log 2021-05-08 21:49:36 +08:00
Zexi Li
cd9c7290d9 Merge pull request #11005 from zhaoxiangchun/bugfix/zxc-monitor
fix(monitor): alertpanel update don't chcek uniq name
2021-05-08 20:38:53 +08:00
Zexi Li
9576874b63 Merge pull request #11008 from yousong/feature/yousong-cloudproxy-pe-test
cloudproxy: test proxy endpoint connectivity and remote config
2021-05-08 20:38:33 +08:00
Yousong Zhou
cba91b54db cloudproxy: test proxy endpoint connectivity and remote config 2021-05-08 19:30:31 +08:00
zhaoxiangchun
ef607c52fa fix(monitor): alertpanel update don't chcek uniq name 2021-05-08 17:44:36 +08:00
zhaoxiangchun
6bb09d027b Merge branch 'master' of https://github.com/yunionio/onecloud into bugfix/zxc-monitor 2021-05-08 17:30:31 +08:00
Zexi Li
8f6141ac42 Merge pull request #10978 from zhaoxiangchun/feature/zxc-agent-metirc
feat(monitor): add agent monitor metric
2021-05-08 17:27:01 +08:00
Zexi Li
6087a08de5 Merge pull request #10983 from zhaoxiangchun/bugfix/zxc-monitor
fix(monitor): monitor query : cloudaccount no data fix
2021-05-08 17:25:26 +08:00
Zexi Li
2fdacf53db Merge pull request #11000 from ioito/hotfix/qx-classic-network-sql
fix(region): wire sql fix
2021-05-08 16:09:59 +08:00
Qu Xuan
e2efeece3d fix(region): wire sql fix 2021-05-08 15:48:25 +08:00
zhaoxiangchun
c4d3ef6bd2 Merge branch 'master' into bugfix/zxc-monitor 2021-05-08 15:31:31 +08:00
zhaoxiangchun
2703c0c460 Merge branch 'master' into feature/zxc-agent-metirc 2021-05-08 15:30:33 +08:00
rainzm
a966210432 fix(region): continue to sync the snapshots that are being created when syncing auto created snapshot 2021-05-08 11:04:21 +08:00
Zexi Li
074c68f251 Merge pull request #10985 from ioito/hotfix/qx-azure-databricks
fix: add tag for databricks vm
2021-05-08 10:36:07 +08:00
Zexi Li
2887c9a5ca Merge pull request #10988 from ioito/hotfix/qx-empty-result
fix: avoid return no data result
2021-05-08 10:35:22 +08:00
yunion-ci-robot
32ac58aa68 Merge pull request #10990 from rainzm/agent/install
fix for install monitor agent
2021-05-08 10:31:40 +08:00
yunion-ci-robot
413c01f1c6 Merge pull request #10993 from yousong/bugfix/yousong-cloudproxy-wait-on-error
Bugfix/yousong cloudproxy wait on error
2021-05-08 10:29:40 +08:00
zhaoxiangchun
4c932ee961 feat(monitor): add agent monitor metric
1.增加对agent采集数据的翻译
2021-05-08 09:45:33 +08:00
Qu Xuan
12b72a6e10 fix: add tag for databricks vm 2021-05-08 09:28:00 +08:00
Yousong Zhou
ce98d7dd13 guests: sshable: wait and retry for newly created forward 2021-05-07 19:40:01 +08:00
Yousong Zhou
1c18dbb7d9 guests: sshable: log error should unmarshal fail 2021-05-07 19:28:56 +08:00
Yousong Zhou
1a93f26dd0 cloudproxy: agent: more verbose log for ssh connect failure 2021-05-07 19:28:56 +08:00
Yousong Zhou
d5f1627872 cloudproxy: agent: wait a while on connect error 2021-05-07 19:28:56 +08:00
Yousong Zhou
532961f520 cloudproxy: forwards: show details for fwd returned from create-from-server 2021-05-07 19:28:56 +08:00
Yousong Zhou
627ea8ccc9 db: add GetItemDetails 2021-05-07 19:28:56 +08:00
rainzm
13768a053a fix: update version of file-repo 2021-05-07 18:31:06 +08:00
rainzm
c6ae4706d7 fix(devtool): wait for the remote forward to run normally 2021-05-07 18:29:54 +08:00
rainzm
314ac5ac49 fix(devtool): extend the waiting time when checking remote forward 2021-05-07 18:28:38 +08:00
rainzm
33bdc9d2f2 fix(devtool): add scope=system query when list proxy endpoints 2021-05-07 18:27:35 +08:00
rainzm
489ddc90f7 fix(devtool): correct output error 2021-05-07 18:26:11 +08:00
Qu Xuan
298179baa7 fix: avoid return no data result 2021-05-07 17:34:42 +08:00
zhaoxiangchun
ddfd563ec2 Merge branch 'master' of https://github.com/yunionio/onecloud into bugfix/zxc-monitor 2021-05-07 17:10:01 +08:00
yunion-ci-robot
62f38187b1 Merge pull request #10979 from rainzm/cloudproxy/fix
fix for creating proxy endpoint
2021-05-07 14:30:41 +08:00
Zexi Li
d2d4296bc6 Merge pull request #10981 from zexi/feat/host-list-order
feat(region): host list order by server count
2021-05-07 10:34:24 +08:00
zhaoxiangchun
f0eb80a2ae fix(monitor): monitor query : cloudaccount no data fix
1.修复云账号余额监控查询无数据返回
2021-05-07 09:39:21 +08:00
Zexi Li
ac491f4f58 feat(region): host list order by server count 2021-05-06 20:53:04 +08:00
rainzm
0e77703c76 fix(region): allow domain admin to obtain ssh private keys 2021-05-06 16:38:24 +08:00
rainzm
51e75c48f8 fix(cloudproxy): keep the proxy endpoint project and server consistent 2021-05-06 16:33:52 +08:00
yunion-ci-robot
67f6aa11a5 Merge pull request #10975 from zhasm/feature/rex-disable-rbdcli-for-arm
feat(arm64,build): arm 编译时,不编译 rbdcli
2021-05-06 15:12:39 +08:00
Zhang Dongliang
a54becaf2e feat(arm64,build): arm 编译时,不编译 rbdcli 2021-05-06 11:44:57 +08:00
Zexi Li
668f200f25 Merge pull request #10972 from rainzm/receiver/join_domain
fix(notify): correctly filter those recipients who join the domain
2021-04-30 09:58:56 +08:00
rainzm
5a39fc18c0 fix(notify): correctly filter those recipients who join the domain 2021-04-29 20:12:14 +08:00
Zexi Li
c26ef9108d Merge pull request #10964 from tb365/bugfix/tb-bugfix-042801
Bugfix/tb bugfix 042801
2021-04-29 09:46:42 +08:00
Zexi Li
016e1f6037 Merge pull request #10967 from ioito/hotfix/qx-keystone-logclient-panic
fix(keystone): avoid panic when call logclient
2021-04-29 09:46:10 +08:00
Qu Xuan
4ba014cf5c fix(keystone): avoid panic when call logclient 2021-04-28 19:32:23 +08:00
TangBin
d4255d71e0 feat(region): add zone disk capability api 2021-04-28 18:09:09 +08:00
TangBin
65b597566b feat(region): cloudregion add disk capability api 2021-04-28 16:42:25 +08:00
yunion-ci-robot
9184fb26b8 Merge pull request #10956 from ioito/hotfix/qx-host-worker-lock
fix: avoid host worker is locked when image cache is deleted
2021-04-28 09:56:28 +08:00
yunion-ci-robot
e422244e1c Merge pull request #10940 from swordqiu/hotfix/qj-import-user-require-password
Hotfix/qj import user require password
2021-04-28 09:54:27 +08:00
Qiu Jian
896596731a fix: require password for imported user 2021-04-28 01:11:56 +08:00
Qu Xuan
b13cdefb72 fix: avoid host worker is locked when image cache is deleted 2021-04-27 20:37:06 +08:00
Zexi Li
4cd56ff66d Merge pull request #10932 from rainzm/sshable/fix
Correctly execute the ansible playbook with the specified private key
2021-04-27 20:12:42 +08:00
Zexi Li
ae59a669ab Merge pull request #10954 from zhaoxiangchun/bugfix/zxc-dashboard
fix(monitor): alertdashboard setscope
2021-04-27 20:12:10 +08:00
Zexi Li
f96d5ff17c Merge pull request #10952 from ioito/hotfix/qx-storage-optimized
fix: optimized rbd storage input and update
2021-04-27 20:11:44 +08:00
Zexi Li
3c15efc7de Merge pull request #10948 from rainzm/agent/fix
Makes the process of installing the agent more rigorous
2021-04-27 20:10:49 +08:00
Zexi Li
d0928e1de0 Merge pull request #10941 from zexi/fix/migrate-from-source-host
fix(region): download cached image from source host before migrating
2021-04-27 20:09:18 +08:00
Zexi Li
4be6772544 Merge pull request #10944 from ioito/hotfix/qx-metadata-ci
fix(region): tag list key case insensitive
2021-04-27 17:21:03 +08:00
Zexi Li
3a6e7f55ab fix(region): download cached image from source host before migrating 2021-04-27 17:13:30 +08:00
zhaoxiangchun
d62467097d fix(monitor): alertdashboard setscope
1.监控面板归属展示问题修复
2021-04-27 17:09:55 +08:00
Qu Xuan
f83b8b0436 fix: optimized rbd storage input and update 2021-04-27 15:42:34 +08:00
rainzm
fd458a6030 feat(devtool): makes the process of installing the agent more rigorous
1. Use the method returned by server sshable to execute ansible playbook
2. Use direct connection and cloud proxy to find the url that the remote machine
can send data back to local influxdb
2021-04-27 11:58:34 +08:00
Qu Xuan
3e3e9b7cf2 fix(region): tag list key case insensitive 2021-04-27 11:54:10 +08:00
Zexi Li
5788704501 Merge pull request #10937 from swordqiu/hotfix/qj-baremetal-missing-cloudroot
fix(baremetal,esxiagent): no cloudroot user initialized
2021-04-27 10:17:14 +08:00
Zexi Li
20a893d504 Merge pull request #10934 from swordqiu/hotfix/qj-any-pool-usage-key
fix(region): add all.servers.any_pool/all.hosts.any_pool metrics
2021-04-27 10:16:18 +08:00
Qiu Jian
952cc03ae6 fix(baremetal,esxiagent): no cloudroot user initialized 2021-04-27 01:58:35 +08:00
Qiu Jian
86c282c0a4 fix(region): add all.servers.any_pool/all.hosts.any_pool metrics 2021-04-27 01:47:21 +08:00
rainzm
67d7c571f2 fix(ansibleserver): be compatible with empty params 2021-04-26 19:26:04 +08:00
rainzm
9a651dad3f feat(region): return forwardDetails when query server sshable 2021-04-26 19:25:18 +08:00
Zexi Li
5c5023184c Merge pull request #10922 from ioito/hotfix/qx-keystone-tag-list
fix(keystone): tag list for keystone service
2021-04-26 19:10:46 +08:00
Zexi Li
9085799c32 Merge pull request #10926 from zhaoxiangchun/bugfix/zxc-dashboard
fix(monitor): alertpanel create fix; nodealert filterbyowner fix
2021-04-26 19:09:08 +08:00
Zexi Li
55df3a1450 Merge pull request #10928 from ioito/hotfix/qx-account-arrears
fix(region): account arrears
2021-04-26 19:08:09 +08:00
rainzm
0d1f54bab1 fix(ansibleserver): add LF for privateKey if not 2021-04-26 18:56:46 +08:00
rainzm
0894df5e14 feat(ansibleserver): respect keepTmpdir when running ansibleplaybook v1 2021-04-26 18:56:08 +08:00
rainzm
cad24302d8 fix(ansibleserver): don't init privateKey for ansibleplaybook if it already have one 2021-04-26 18:53:07 +08:00
Qu Xuan
f233311ccf fix(region): account arrears 2021-04-26 17:56:05 +08:00
zhaoxiangchun
3a10cd66b7 fix(monitor): alertpanel create fix; nodealert filterbyowner fix
1.监控图表保存时取消重名检测,允许图表重名
2.虚拟机详情页设置报警时,不同视图下设置报警权限调整

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

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

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

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

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

* fix(region): sync exttags to user tags

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

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

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

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

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

QEMU 5.2.0 outputs it to stdout and in the following format

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

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

After

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

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

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

perform public should check the sharing scope of resource
2020-12-10 19:03:01 +08:00
wanyaoqi
9c04a7bf37 fix(region): gpu server change config use reserved resources 2020-12-10 18:38:35 +08:00
Qu Xuan
57ae689490 fix(region,yunionapi,glance): using global proxy 2020-12-10 18:31:51 +08:00
Qu Xuan
ed9675a90f fix(region): import rule error hint 2020-12-10 18:28:38 +08:00
Zexi Li
84f02c1f76 Merge pull request #9329 from ioito/hotfix/qx-aws-default-user
fix(region): aws default account
2020-12-10 17:23:33 +08:00
Zexi Li
3f194b4ccf Merge pull request #9325 from rainzm/notify/config_change
Try to repull contacts when changing notify config
2020-12-10 17:22:06 +08:00
Zexi Li
a3a99743d8 Merge pull request #9324 from zexi/feature/k8s-component-climc
Feature/k8s component climc
2020-12-10 17:20:16 +08:00
Zexi Li
e14371a821 Merge pull request #9298 from ioito/hotfix/qx-openstack-network
fix(region): support openstack subnet allocation pools
2020-12-10 17:17:29 +08:00
yunion-ci-robot
097ffba0f4 Merge pull request #9172 from ioito/hotfix/qx-save-image
feat(region): save image for public cloud
2020-12-10 17:17:09 +08:00
Zexi Li
fc10483072 Merge pull request #9320 from swordqiu/hotfix/qj-disable-quota-check-by-default
fix(cloudcommon): disable quota check by default
2020-12-10 17:08:32 +08:00
Zexi Li
8cc0b63c86 fix(baremetal): convert to host failed
- convert schedule should include converting status
- auto register name should lowercase
- finish convert set host name by guest
2020-12-10 16:58:02 +08:00
Qu Xuan
77f515a932 fix(region): openstack hosts sync 2020-12-10 16:54:20 +08:00
Qu Xuan
b511db2e0a fix(region): aws default account 2020-12-10 16:23:52 +08:00
Zexi Li
2c56715459 feat(climc): add k8s component minio and thanos operate subcmd 2020-12-10 12:04:10 +08:00
rainzm
75998a132b fix(notify): repull subcontact after changing config 2020-12-10 10:15:19 +08:00
rainzm
5bc847f052 fix(notify): check for changes before updating config 2020-12-10 10:11:22 +08:00
rainzm
aabb200585 refactor(notify): add StartSubcontactPullTask for receiver 2020-12-10 10:09:41 +08:00
Qiu Jian
0a7513cce4 fix(cloudcommon): disable quota check by default
1. add enable_quota_check common option
2. disable quota check by default
3. specify scope of quota limit in OutOfQuota error message
2020-12-10 01:19:06 +08:00
Qiu Jian
e31abb6f0d update vendor 2020-12-09 21:12:55 +08:00
Qiu Jian
ab75c8f93c feature(cloudcommon): split opslog table
automatically split opslog table, so as to delete obsolete event logs
2020-12-09 21:12:55 +08:00
Zexi Li
87521a6ed8 Merge pull request #9159 from ioito/hotfix/qx-storage-capability
feat(region): add instance storage capability
2020-12-09 21:03:52 +08:00
Zexi Li
152f584a70 Merge pull request #9295 from swordqiu/hotfix/qj-update-i18n-master-20201209
fix(cloudcommon): supplement i18n translations
2020-12-09 20:44:11 +08:00
Zexi Li
997f1d9d49 Merge pull request #9292 from rainzm/receiver/intelij_get
feat(notify): add intellij-get for receiver
2020-12-09 20:43:07 +08:00
Zexi Li
6f74c7f4c4 Merge pull request #8848 from wanyaoqi/feature/wyq/host-deployer-libguestfs
host-deployer: add deploy driver libguestfs
2020-12-09 20:41:22 +08:00
Zexi Li
a77cc2f5ee Merge pull request #9259 from wanyaoqi/bugfix/wyq/attach-network-on-registerd-baremetal-server
fix(region): attach network on register baremetal server
2020-12-09 20:39:53 +08:00
Zexi Li
c354e820df Merge pull request #9302 from ioito/hotfix/qx-qcloud-instance-delete
fix(region): optimized qcloud prepaid instance delete
2020-12-09 20:37:26 +08:00
Zexi Li
ca89a13622 Merge pull request #9305 from ioito/hotfix/qx-openstack-change-config
fix(region): optimized openstack change config
2020-12-09 20:36:41 +08:00
Zexi Li
aea45b2cd2 Merge pull request #9308 from yousong/bugfix/yousong-eip-chargetype
Bugfix/yousong eip chargetype
2020-12-09 20:34:55 +08:00
Zexi Li
feb81db1b8 Merge pull request #9315 from wanyaoqi/bugfix/wyq/restart-session-check-lease-living
fix(host): check lease living on restart etcd session
2020-12-09 20:33:08 +08:00
rainzm
e8a085a947 feat(notify): user cmdline helpler for climc notify-receiver-xxx 2020-12-09 17:02:17 +08:00
wanyaoqi
92e0ed3434 fix(host): check lease living on restart etcd session 2020-12-09 16:53:55 +08:00
rainzm
6ed0b5e9fa feat(notify): add intellij-get for receiver 2020-12-09 16:45:23 +08:00
Yousong Zhou
a48d0ab7fb refactor(apis): compute: remove EIP_CHARGE_TYPE_DEFAULT
The default is now cloud provider specific
2020-12-09 12:16:20 +08:00
Yousong Zhou
82e297a551 fix(region): sanitize eip charge type on all callsites 2020-12-09 12:16:19 +08:00
Yousong Zhou
5550803667 feat(region): regiondriver: add methods on eip charge type 2020-12-09 12:04:19 +08:00
Qu Xuan
20ca72cd43 fix(region): optimized openstack change config 2020-12-09 11:47:36 +08:00
Qu Xuan
691a5fc775 fix(region): optimized qcloud prepaid instance delete 2020-12-09 11:14:54 +08:00
Qu Xuan
792b4cdd83 fix(region): support openstack subnet allocation pools 2020-12-09 10:29:25 +08:00
Qiu Jian
fbdcbeb751 fix(cloudcommon): supplement i18n translations 2020-12-09 00:43:54 +08:00
Zexi Li
516f5ab0d3 Merge pull request #9253 from ioito/hotfix/qx-azure-storageaccount-temp-url
fix(region): temp url sign wrong
2020-12-08 21:39:39 +08:00
Zexi Li
434ab6b82a Merge pull request #9263 from ioito/hotfix/qx-azure-instance-storage-type
fix(region): azure instance data disk storage type
2020-12-08 21:38:41 +08:00
Zexi Li
b9deee3060 Merge pull request #9266 from ioito/hotfix/qx-openstack-zone
fix(region): openstack available zones
2020-12-08 21:36:59 +08:00
Zexi Li
46e7d87b25 Merge pull request #9277 from wanyaoqi/bugfix/wyq/fix-validate-migrate-guests
fix(region): validate isolated devices on migrate
2020-12-08 21:35:51 +08:00
Zexi Li
6207523696 Merge pull request #9282 from ioito/hotfix/qx-guest-password
fix(region): restore password validate condition
2020-12-08 21:35:03 +08:00
Zexi Li
ee3219c9ab Merge pull request #9285 from ioito/hotfix/qx-cloud-account-sync
fix(region): sync account id
2020-12-08 21:34:04 +08:00
Zexi Li
3edef59d25 Merge pull request #9288 from zhasm/hotfix/rex-git-branch-minor
fix(git,make): 更新获取 git branch 的规则
2020-12-08 18:11:18 +08:00
Zhang Dongliang
eb7372263b fix(git,make): 更新获取 git branch 的规则 2020-12-08 17:59:24 +08:00
Qu Xuan
561f642675 fix(region): sync account id 2020-12-08 17:54:54 +08:00
wanyaoqi
948f926bf6 feat(host-deployer): add deploy driver libguestfs
Add drvier libguestfs to support deploy more operator system,
you can use it by edit host config file add 'image_deploy_driver: libguestfs'.
By the default host-deploy support run three guestfish at the same time.
And host deployer will recycle free guestfish every ten minitues.

cherrypick: release/3.6
2020-12-08 17:49:44 +08:00
Qu Xuan
06207c4a37 fix(region): restore password validate condition 2020-12-08 17:43:36 +08:00
yunion-ci-robot
3ba67a1c96 Merge pull request #9272 from wanyaoqi/bugfix/wyq/fix-vgrename-centos
fix(host-deployer): cancel rename centos vgname
2020-12-08 17:07:40 +08:00
wanyaoqi
97a542890d fix(region): validate isolated devices on migrate 2020-12-08 16:48:50 +08:00
Zexi Li
20e0fdcfb9 Merge pull request #9268 from zhasm/hotfix/rex-gitbranch-fix
fix(git,make): git branch 获取方式优化
2020-12-08 16:35:18 +08:00
Qu Xuan
9ddf207441 fix(region): openstack available zones 2020-12-08 16:18:33 +08:00
wanyaoqi
c302bae2bf fix(host-deployer): cancel rename centos vgname 2020-12-08 16:15:56 +08:00
wanyaoqi
92727def00 fix(region): attach network on register baremetal server 2020-12-08 15:53:17 +08:00
Zhang Dongliang
71e63e2ed1 fix(git,make): git branch 获取方式优化 2020-12-08 15:49:50 +08:00
Qu Xuan
38507661fb fix(region): azure instance data disk storage type 2020-12-08 14:56:07 +08:00
Zexi Li
18c919399a Merge pull request #9230 from zhasm/hotfix/rex-gitbranch-fix
fix(git,make): 修正 gitbranch 变量的获取方式,解决自动升级版本 tag 不统一的问题
2020-12-08 12:50:41 +08:00
Zhang Dongliang
0b2aed858a fix(git,make): 修正 gitbranch 变量的获取方式,解决自动升级版本 tag 不统一的问题 2020-12-08 11:52:33 +08:00
Qu Xuan
3a7d6fb140 fix(region): temp url sign wrong 2020-12-08 11:35:08 +08:00
Zexi Li
c8a237886e Merge pull request #9146 from ioito/hotfix/qx-keystone-refresh-scope-resource
fix(keystone): allow refresh scope resource
2020-12-08 09:39:48 +08:00
Zexi Li
0fb9c59fb7 Merge pull request #9246 from wanyaoqi/bugfix/wyq/fix-backup-server-start
fix(region): fix backup server start task
2020-12-08 09:35:20 +08:00
Zexi Li
b498c9b8da Merge pull request #9251 from swordqiu/hotfix/qj-filter-role-policies-panic
fix(keystone): rolepolicies list panic if filter by domain scope
2020-12-08 09:34:16 +08:00
Zexi Li
072a8aa367 Merge pull request #9248 from swordqiu/hotfix/qj-oidc-turn-on-debug
fix(keystone): oidc driver turn on debug mode if log-level is debug
2020-12-08 09:28:55 +08:00
Qiu Jian
4411c4e5bb fix(keystone): rolepolicies list panic if filter by domain scope
rolepolicies list panic if filter by scope=domain
2020-12-08 03:12:42 +08:00
Qiu Jian
57a0e8d63e fix(keystone): oidc driver turn on debug mode if log-level is debug
oidc driver turn on debug mode if log-level is debug
2020-12-08 02:49:09 +08:00
Zexi Li
7ef268ee15 Merge pull request #9243 from ioito/hotfix/qx-azure-windows-reset-password
fix(region): azure reset windows os password
2020-12-07 22:18:52 +08:00
Qu Xuan
a1a025eec9 feat(region): save image for public cloud 2020-12-07 21:13:21 +08:00
wanyaoqi
d2a3d200fe fix(region): fix backup server start task 2020-12-07 21:05:41 +08:00
Zexi Li
653ef8abcd Merge pull request #9240 from ioito/hotfix/qx-azure-resp
fix(region): avoid timeout for waiting azure async task
2020-12-07 20:40:57 +08:00
Zexi Li
4fd198be2d Merge pull request #9224 from tb365/bugfix/tb-bugfix-1207
Bugfix/tb bugfix 1207
2020-12-07 20:37:01 +08:00
Qu Xuan
2d46a73d4d fix(region): azure reset windows os password 2020-12-07 20:19:05 +08:00
Zexi Li
b5600f21cb Merge pull request #9220 from ioito/hotfix/qx-qcloud-secgroup-project-id
fix(region): region qcloud secgroup project id
2020-12-07 20:18:07 +08:00
Zexi Li
6de57d90a7 Merge pull request #9227 from ioito/hotfix/qx-azure-disk-size
fix(region): avoid resize azure disk error
2020-12-07 20:16:42 +08:00
Zexi Li
67d177e54c Merge pull request #9231 from wanyaoqi/bugfix/wyq/adapter-telegraf-to-container-environment
fix(host): update telegraf conf adapter to container environment
2020-12-07 19:59:08 +08:00
Zexi Li
dbcffccdfc Merge pull request #9237 from rainzm/notify/webconsole
feat(notify): add webconsole in enabled contact types
2020-12-07 19:57:35 +08:00
Qu Xuan
ab8d1238c2 fix(region): avoid timeout for waiting azure async task 2020-12-07 19:49:35 +08:00
rainzm
8aeda8f841 feat(notify): add webconsole in enabled contact types 2020-12-07 19:10:30 +08:00
TangBin
2dcc1d610e fix(region): lbcert&lbacl releated listener count bugfix 2020-12-07 17:36:41 +08:00
wanyaoqi
38a9218e9e fix(host): update telegraf conf adapter to container environment 2020-12-07 17:11:38 +08:00
TangBin
b3736ab20d fix(region): lb listener filter by acl_id 2020-12-07 15:26:05 +08:00
Qu Xuan
64849240b2 fix(region): avoid resize azure disk error 2020-12-07 15:25:34 +08:00
TangBin
485cf8b3c8 fix(region): redis master zone empty fix 2020-12-07 14:54:11 +08:00
TangBin
db20769cf2 fix(region): elastic cache name is empty fix
#6527
2020-12-07 14:08:02 +08:00
Zexi Li
54759842b8 Merge pull request #9205 from ioito/hotfix/qx-passord-validate
fix(region): validate invalid character for password
2020-12-07 10:52:03 +08:00
Qu Xuan
c14b245fad fix(keystone): allow refresh scope resource 2020-12-07 10:46:58 +08:00
Qu Xuan
d9d3fe26bd fix(region): region qcloud secgroup project id 2020-12-07 10:26:19 +08:00
Zexi Li
36e3a684e9 Merge pull request #9202 from tb365/bugfix/tb-bugfix-1204
Bugfix/tb bugfix 1204
2020-12-07 10:23:44 +08:00
Qu Xuan
c9ca2c8755 fix(region): validate invalid character for password 2020-12-07 10:07:14 +08:00
TangBin
f6abe165b5 fix(region): change dbinstance sku sync info log to warn 2020-12-07 09:57:38 +08:00
Zexi Li
416e6b7c8e Merge pull request #9217 from ioito/bugfix/qx-qcloud-secgroup-sync
fix(region): optimized qcloud secgroup sync, only redis need secgroup be in same project
2020-12-04 20:31:24 +08:00
yunion-ci-robot
f99ba966c2 Merge pull request #9215 from zhaoxiangchun/feat/zxc-suggestion-master
chore(monitor): delete suggestion files
2020-12-04 20:26:28 +08:00
zhaoxiangchun
ad0c063fb9 chore(monitor): delete suggestion files
1. 移除优化建议相关内容
2. mcclient中新增baseManager:SuggestionManager,修改优化建议相关的manager
2020-12-04 19:28:23 +08:00
Qu Xuan
6183f39168 fix(region): optimized qcloud secgroup sync, only redis need secgroup be in same project 2020-12-04 19:24:56 +08:00
Zexi Li
b2255754c9 Merge pull request #9210 from ioito/hotfix/qx-azure-metric
fix(region): azure metric request path
2020-12-04 18:00:47 +08:00
Zexi Li
57278dc4d9 Merge pull request #9213 from zexi/hotfix/remove-k8s-extend-scheduler
refactor(scheduler): remove unused k8s predicates code
2020-12-04 17:58:48 +08:00
Zexi Li
dbfd5a8e5d refactor(scheduler): remove unused k8s predicates code 2020-12-04 17:18:51 +08:00
Qu Xuan
9c7145fd53 fix(region): azure metric request path 2020-12-04 17:13:15 +08:00
Zexi Li
599bf4e622 Merge pull request #9196 from lvyangyang/fix-tag-log
feat(region): add bucket cloud tags support
2020-12-04 16:57:36 +08:00
Zexi Li
eb3c87b2fa Merge pull request #9204 from zexi/hotfix/remove-kubernetes-depend
Hotfix/remove kubernetes depend
2020-12-04 16:53:51 +08:00
Zexi Li
c025944d17 fix(go.mod): remove k8s.io/kubernetes dependency 2020-12-04 16:45:25 +08:00
TangBin
43d4ddd82d fix(region): dbinstance skus sync log level fix 2020-12-04 15:30:35 +08:00
TangBin
8dcd685e46 fix(region): server skus add cloud_env 2020-12-04 15:25:52 +08:00
Zexi Li
ddf7e8b729 Merge pull request #9066 from rainzm/esxi/createnets
feat(region): add wire level for preparing network
2020-12-04 14:52:42 +08:00
rainzm
9d048f8f9b feat(climc): add cloud-account-preparenets-vmware command 2020-12-04 14:27:51 +08:00
rainzm
9a23c9da67 feat(region): allow prepare nets for existed cloudaccounts
纳管云账号 -> 合并网段 -> 为vmware集群添加新的宿主机 ->
如何获取网络信息?

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

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

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

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

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

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

 [1] 6313cc407e
2020-11-26 21:18:58 +08:00
Yousong Zhou
3bbaedaa7f vendor: add github.com/aliyun/alibaba-cloud-sdk-go/services/ecs 2020-11-26 21:18:58 +08:00
Yousong Zhou
d0f64150c2 cloudprovider: ICloudNic: add methods for secondary addresses 2020-11-26 21:18:58 +08:00
Yousong Zhou
ab7ad856b5 multicloud: ICloudNic: add GetId() 2020-11-26 21:18:58 +08:00
Yousong Zhou
1569966aa3 multicloud: ICloudNic: fix GetMAC() 2020-11-26 21:18:58 +08:00
Yousong Zhou
9f31365416 hostman: metadata: add handler for /local-sub-ipv4s 2020-11-26 21:18:58 +08:00
Yousong Zhou
e3b55426aa networkaddresses: add to nics field of guest desc 2020-11-26 21:18:58 +08:00
Yousong Zhou
1476f59130 networkaddresses: add parent_type guestnetwork 2020-11-26 21:18:58 +08:00
Yousong Zhou
2306fbb6f5 networks: usedAddressQuery: rename with baseq, ownerq, retq 2020-11-26 21:18:58 +08:00
Yousong Zhou
4ec791f031 networks: split getUsedAddressQuery as method of each manager 2020-11-26 21:18:57 +08:00
Yousong Zhou
10042037ab networks: fix typo in log 2020-11-26 21:18:57 +08:00
Yousong Zhou
b271ab4631 db_dispatcher: allow batch create for models without name 2020-11-26 21:18:57 +08:00
Yousong Zhou
1d25083bfe db: interface: manager: add HasName() method 2020-11-26 21:18:57 +08:00
Yousong Zhou
8e2c8feabf db: standalone_anon: empty result for name query 2020-11-26 21:18:57 +08:00
Yousong Zhou
3d53f8dabe db: add standalone_anon 2020-11-26 21:18:57 +08:00
Yousong Zhou
cc00e58f58 schedtags: add ListItemExportKeys 2020-11-26 21:18:57 +08:00
Yousong Zhou
6bf5be5b0b db: add manager methods appliers 2020-11-26 21:18:57 +08:00
Yousong Zhou
a57a63bf58 db_dispatcher: delay compute to where needed 2020-11-26 21:18:57 +08:00
Yousong Zhou
fd98674c92 db_dispatcher: remove unused GetExtraDetails call 2020-11-26 21:18:57 +08:00
Yousong Zhou
6c65eb1ea6 db: virtualjoint: add FilterById on RowId 2020-11-26 21:18:57 +08:00
Yousong Zhou
89361aee27 db: modelbase: BatchCreateValidateCreateData: return orig data 2020-11-26 21:18:57 +08:00
Yousong Zhou
805002005f db: check funcs required by dispatcher 2020-11-26 21:18:57 +08:00
Yousong Zhou
97dbd1899f region: networks: attach func use struct args 2020-11-26 21:18:57 +08:00
Yousong Zhou
7444234981 region: networkresource: fix signature of GetExtraDetails 2020-11-26 21:18:57 +08:00
Yousong Zhou
ff525a9595 multicloud: aliyun: make getSdkClient proxy aware 2020-11-26 21:18:57 +08:00
Yousong Zhou
027817f565 climc: helper: add BatchCreate helper 2020-11-26 21:18:57 +08:00
Yousong Zhou
85aa05f1f7 climc: helper: create call as a standalone method 2020-11-26 21:18:57 +08:00
Yousong Zhou
a56aca9cbe climc: s/Keyworkd/Keyword/ 2020-11-26 21:18:53 +08:00
Yousong Zhou
02315bdd85 vendor: bump yunion.io/x/pkg 2020-11-26 21:17:07 +08:00
Yousong Zhou
d67eeac5dd vendor: bump yunion.io/x/sqlchemy 2020-11-26 21:17:07 +08:00
Qiu Jian
ef8ad89668 fix(cloudcommon): adjust policy refresh to default 30 seconds
Cache policy check result for 30 seconds by default
2020-11-26 21:14:50 +08:00
Qu Xuan
b574323cba fix(region): auto sync cloudaccount resources 2020-11-26 20:53:27 +08:00
Qu Xuan
ac146af36b fix(cloudid): auto update saml provider metadata 2020-11-26 20:18:13 +08:00
TangBin
797101e6ca fix(region): huawei sync storages bugfix 2020-11-26 19:25:25 +08:00
Qu Xuan
bd8cf2453d fix(region): qcloud request retry 2020-11-26 19:02:41 +08:00
Qu Xuan
5c64f32f08 fix(climc): replace ' -> " 2020-11-26 17:35:15 +08:00
Yousong Zhou
bbc511f6d1 feat(host): add option OvnEncapIpDetectionMethod can-reach:xx 2020-11-26 17:01:08 +08:00
Yousong Zhou
1c39030edb feat(netutils2): add MyIPTo 2020-11-26 16:53:39 +08:00
yunion-ci-robot
219b591252 Merge pull request #8828 from wanyaoqi/feature/wyq/update-arm-apis
feature: update cpu arch apis
2020-11-26 16:37:33 +08:00
Qu Xuan
5a82bffebd fix(region): avolid aliyun fin bucket list objects error 2020-11-26 16:15:51 +08:00
wanyaoqi
3f8e469438 feat(region/glance): update cpu arch apis
add multi arch resourcebase manager
update multi arch resource list apis

cherrypick: release/3.6
2020-11-26 15:14:03 +08:00
Qu Xuan
880e09ee34 fix(region): allow member user get saml auth addr 2020-11-26 15:01:09 +08:00
Zexi Li
d7c096db0f Merge pull request #8968 from swordqiu/hotfix/qj-esxi-host-bebind-nat
fix(region,esxiagent): allow host behind a nat
2020-11-26 12:11:05 +08:00
yunion-ci-robot
e567d6a552 Merge pull request #8991 from zexi/hotfix/scheduler-sync
fix(scheduler): cleanup exipre cache before schedule
2020-11-26 11:44:39 +08:00
Zexi Li
b7a8b37f7d fix(region): wire get vpc releated hosts is empty 2020-11-26 10:59:39 +08:00
yunion-ci-robot
66c200cd3f Merge pull request #8779 from tb365/feature/tb-loadbalancer-project-optimization
负载均衡ACL&证书增加项目和共享
2020-11-26 10:47:34 +08:00
TangBin
8686b77b87 fix(region): climc add base projects options 2020-11-26 10:24:41 +08:00
Zexi Li
aaef2778e3 Merge pull request #8937 from yousong/bugfix/yousong-task-err
fix(treewide): fix task error recording
2020-11-26 09:24:55 +08:00
Zexi Li
99a8f99e1d Merge pull request #8886 from rainzm/feat/cp_pr_title
feat(scripts): add more reasonable title for cherry pick PR
2020-11-25 22:05:28 +08:00
Zexi Li
180cb4fabf Merge pull request #8925 from rainzm/isp/quota
Fixs for InstanceSnapshot
2020-11-25 22:04:18 +08:00
Zexi Li
0743852fab Merge pull request #8902 from zhaoxiangchun/feature/zxc-nodata-master
feat(monitor): add nodata alert policy
2020-11-25 22:02:44 +08:00
Zexi Li
40d7135dc2 Merge pull request #8955 from tb365/bugfix/tb-bugfix-1125
fix(region): allow reset huawei system disk
2020-11-25 22:01:07 +08:00
Zexi Li
ae06501b4e Merge pull request #8961 from ioito/hotfix/qx-qcloud-hssd
fix(region): valid qcloud hssd for system disk
2020-11-25 21:59:17 +08:00
Zexi Li
8a74b3e3fa Merge pull request #8977 from zhaoxiangchun/bugfix/zxc-monitor-servicetype-master
fix(monitor): modify monitor serviceType in StartService()
2020-11-25 21:56:50 +08:00
Zexi Li
f4d1ca4667 Merge pull request #8987 from rainzm/fix/sci_delete
fix(region): allow delete storagecachedimage with 'cache_failed' status
2020-11-25 21:55:26 +08:00
Zexi Li
b7835f9796 fix(region): network clean schedule cache after real deleted 2020-11-25 21:50:14 +08:00
Zexi Li
c0da4cc524 fix(scheduler): clean expire cache before schedule 2020-11-25 21:50:14 +08:00
zhaoxiangchun
dcdf3a1281 fix(monitor): modify monitor serviceType in StartService()
1.修改monitor服务在service代码中注册的serviceType:
   alerter ===> monitor
2020-11-25 20:29:49 +08:00
Zexi Li
69d712a1b4 Merge pull request #8965 from zhaoxiangchun/bugfix/zxc-suggest-timefromj-master
fix(monitor): suggestalert ignore throw err
2020-11-25 19:45:52 +08:00
Zexi Li
453541393b Merge pull request #8973 from ioito/hotfix/qx-qcloud-instance-delete-timeout
fix(region): set qcloud instance del timeout to 20m
2020-11-25 19:37:04 +08:00
rainzm
da03a979f8 fix(region): ignore params.Disks when cloning vm from snapshot 2020-11-25 18:23:14 +08:00
rainzm
be76d1eb47 fix(region): add size and storageType for VMware InstanceSnapshot 2020-11-25 18:23:14 +08:00
rainzm
b9e983787d fix(esxiagent): add humanized tips when searching vm failed 2020-11-25 18:23:14 +08:00
rainzm
e6c908da2e fix(region): make project of instance snapshot be consistent with the instance 2020-11-25 18:23:14 +08:00
rainzm
b4011db917 fix(region): save when canceling pendingUsage 2020-11-25 18:23:14 +08:00
rainzm
4b73139763 feat(region): set pendingUsage before creating instance snapshots 2020-11-25 18:23:12 +08:00
rainzm
d1ed0ec679 feat(region): add instance_snapshot for regionquota 2020-11-25 18:22:29 +08:00
rainzm
33a702617f fix(region): purge all instance snapshots when purging guest 2020-11-25 18:22:23 +08:00
rainzm
e4cd054b74 feat(region): add SCloudregionResourceBase for SInstanceSnapshot
理论上,可以通过
SInstanceSnapshot->SGuest->SHost->SZone->SCloudregionResourceBase
拿到 cloudregion_id, 但是这样的效率太低了
2020-11-25 18:21:14 +08:00
TangBin
a537c0e396 fix(region): update translations 2020-11-25 18:10:32 +08:00
TangBin
332f752ae3 fix(region): allow reset huawei system disk 2020-11-25 18:06:41 +08:00
rainzm
052a10f635 fix(region): allow delete storagecachedimage with 'cache_failed' status
Having status 'cache_failed' means this storagecachedimage does not actually exist.
2020-11-25 17:43:39 +08:00
Zexi Li
319a7ab2a2 Merge pull request #8970 from ioito/hotfix/qx-saml-auth-url
fix(cloudid): avoid empty auth url
2020-11-25 17:16:40 +08:00
Qu Xuan
bd9f961bd2 fix(region): set qcloud instance del timeout to 20m 2020-11-25 17:16:15 +08:00
Qu Xuan
79ea27170f fix(cloudid): avoid empty auth url 2020-11-25 17:05:59 +08:00
Zexi Li
5a4b95f1a5 Merge pull request #8958 from ioito/hotfix/qx-saml-auth
fix(region): validate cloudaccount saml auth params
2020-11-25 16:06:41 +08:00
Qiu Jian
a5327c3cec fix(region,esxiagent): allow host behind a nat
check host by ip may fail if host is behind a nat. ignore this case.
2020-11-25 12:17:13 +08:00
zhaoxiangchun
e10d9b698e Merge branch 'master' of https://github.com/yunionio/onecloud into feature/zxc-nodata-master 2020-11-25 12:06:28 +08:00
zhaoxiangchun
b8c008a8a1 fix(monitor): suggestalert ignore throw err
1.修复优化建议忽略操作报错
2020-11-25 12:01:05 +08:00
Qu Xuan
c5c77b4062 fix(region): valid qcloud hssd for system disk 2020-11-25 11:50:49 +08:00
Qu Xuan
c05b75385f fix(region): validate cloudaccount saml auth params 2020-11-25 11:33:50 +08:00
yunion-ci-robot
4a8eafbc0a Merge pull request #8895 from ioito/hotfix/qx-password-check
fix(region): 避免OneCloud密码校验通过,公有云厂商密码校验不通过
2020-11-25 09:58:15 +08:00
Zexi Li
693201b803 Merge pull request #8947 from yousong/bugfix/yousong-vm-changeip-eip
fix(region): change_ipaddr: retain eip_id on detach and attach
2020-11-25 09:27:59 +08:00
yunion-ci-robot
01a46ea458 Merge pull request #8942 from yousong/bugfix/yousong-vm-changeip
Bugfix/yousong vm changeip
2020-11-25 09:16:16 +08:00
Yousong Zhou
2c8c3b7907 fix(region): change_ipaddr: retain eip_id on detach and attach 2020-11-24 21:57:27 +08:00
Yousong Zhou
9beb3706ed fix(vpcagent): models: guestnetworks: accomodate change_ipaddr
change_ipaddr does detach, then attach of network.  It's not solely an
update of ipaddr, but a combination of deletion then creation.
2020-11-24 21:55:04 +08:00
Yousong Zhou
64dc5219f7 feat(cloudcommon): db: jointbase: add list:"user" for RowId 2020-11-24 21:55:04 +08:00
yunion-ci-robot
75331fe417 Merge pull request #8930 from zexi/feature/schedtag-set-resource
feat(region/schedtag): schedtag support set multi resources
2020-11-24 21:33:17 +08:00
yunion-ci-robot
6c00313a01 Merge pull request #8926 from zhaoxiangchun/bugfix/zxc-suggest-timefromj-master
fix(monitor): modify suggestrule  process influxdb data
2020-11-24 21:28:14 +08:00
Yousong Zhou
c6970e9a25 fix(treewide): fix task error recording 2020-11-24 20:36:14 +08:00
yunion-ci-robot
dc3e2a7b24 Merge pull request #8933 from ioito/hotfix/qx-eip-bw
fix(region): avoid public ip bandwidth is zero
2020-11-24 20:24:17 +08:00
TangBin
18a185aec9 负载均衡ACL&证书增加项目和共享 2020-11-24 19:44:49 +08:00
Qu Xuan
e6b75b8537 fix(region): avoid public ip bandwidth is zero 2020-11-24 18:09:34 +08:00
zhaoxiangchun
91d1f64eff fix(monitor): modify suggestrule process influxdb data
1. 调整与监控相关的时间范围的判断逻辑:不再要求时间范围内必须都有数据
2020-11-24 17:45:47 +08:00
Zexi Li
3edf8c1d08 feat(region/schedtag): schedtag support set multi resources 2020-11-24 15:01:02 +08:00
yunion-ci-robot
3192b9a06f Merge pull request #8913 from tb365/feature/tb-support-aliyun-finance
feat(region): support aliyun finance cloud
2020-11-24 09:47:59 +08:00
Zexi Li
b394040657 Merge pull request #8920 from zhaoxiangchun/bugfix/zxc-commonalert
fix(monitor): modify notify alertInfo and alertOk detach resource
2020-11-24 09:33:41 +08:00
TangBin
85324cadf3 fix(region): aliyun zone name fix 2020-11-24 09:30:21 +08:00
TangBin
bb091a3cb8 fix(region): aliyun region name 2020-11-24 09:30:21 +08:00
TangBin
8682c71d94 fix(region): aliyun sync region fix 2020-11-24 09:30:21 +08:00
TangBin
2a1f9ecbcc feat(region): support aliyun finance cloud 2020-11-24 09:27:21 +08:00
zhaoxiangchun
68dfa8a8c8 fix(monitor): modify notify alertInfo and alertOk detach resource
1.修复报警信息中>等被转义的问题
2.针对:host_raid.adapter和smart_device.exit_status
  只能出现alerting和nodata
两种报警状态。在queryCondition的查询逻辑下,nodata情况也进行detach操作
3.修复报警记录中报警策略翻译异常的问题
2020-11-23 21:32:15 +08:00
Zexi Li
af6482576e Merge pull request #8917 from ioito/hotfix/qx-classic-vpc-name
fix(region): set classic vpc name to "-"
2020-11-23 21:25:13 +08:00
Zexi Li
0d537d158a Merge pull request #8912 from ioito/hotfix/qx-capability-saml-auth
fix(region): add saml auth for capability
2020-11-23 21:23:59 +08:00
Qu Xuan
db00c83555 fix(region): set classic vpc name to "-" 2020-11-23 17:42:34 +08:00
Zexi Li
8e50c94614 Merge pull request #8904 from ioito/hotfix/qx-azure-host-storage
fix(region): azure host with storage
2020-11-23 16:46:17 +08:00
Zexi Li
d8d486236c Merge pull request #8903 from ioito/hotfix/qx-capability-account
fix(region): add instance capability info(default account)
2020-11-23 16:45:36 +08:00
Qu Xuan
90709ab704 fix(region): add saml auth for capability 2020-11-23 16:25:55 +08:00
Zexi Li
d9f432c5c6 Merge pull request #8906 from swordqiu/feature/qj-filter-domain-user-by-idp-entity-id
feat(keystone): filter domain/user by idp_entity_id
2020-11-23 16:12:26 +08:00
Zexi Li
bc88082a21 Merge pull request #8911 from ioito/hotfix/qx-apsara-fix
fix(region): apsara account fix
2020-11-23 16:11:20 +08:00
lvyangyang
6a480937b8 fix(region): fix set bucket referer 2020-11-23 16:08:50 +08:00
Qu Xuan
ab58f0335f fix(region): apsara account fix 2020-11-23 15:42:13 +08:00
Zexi Li
7853ce4fa1 Merge pull request #8889 from wanyaoqi/bugfix/wyq/put-host-offline-util-success
bugfix: wait put host offline success
2020-11-23 13:04:48 +08:00
Qiu Jian
b27b086cce feat(keystone): filter domain/user by idp_entity_id
filter domain/user by idp_entity_id
2020-11-23 12:19:37 +08:00
Qu Xuan
8207a9c997 fix(region): azure host with storage 2020-11-23 11:26:20 +08:00
zhaoxiangchun
4888f7d819 feat(monitor): add nodata alert policy
1.add queryConditon子类:nodataQueryCondition处理nodata类型策略
2.遍历Onecloud类型宿主机,得到nodata宿主机信息
2020-11-23 10:10:14 +08:00
Qu Xuan
cfd7c5bd90 fix(region): add instance capability info(default account) 2020-11-23 10:05:19 +08:00
wanyaoqi
83c1073f68 fix(host): wait put host offline success
Unregister host wait for host offline success,
in case region is in upgrading.

cherrypick: release/3.4
2020-11-22 15:29:45 +08:00
Zexi Li
415ab23f9d Merge pull request #8896 from swordqiu/hotfix/qj-oidc-get-data-from-body
fix: oidc data may be encapuslated in data field
2020-11-22 12:05:30 +08:00
Qiu Jian
95db19f104 fix(keystone): oidc data may be encapuslated in data field
兼容一些oidc实现,返回数据包裹在data字段里
2020-11-22 11:51:01 +08:00
Zexi Li
40db9ca0dd Merge pull request #8740 from lvyangyang/inter_vpcs_network
inter vpc network
2020-11-22 11:23:53 +08:00
Zexi Li
ec09ff6b49 Merge pull request #8892 from yousong/bugfix/yousong-i18n
Bugfix/yousong i18n
2020-11-22 10:59:55 +08:00
Qu Xuan
0da66b071e fix(region): 避免OneCloud密码校验通过,公有云厂商密码校验不通过 2020-11-21 23:58:25 +08:00
yunion-ci-robot
c2a2aebaf2 Merge pull request #8865 from swordqiu/hotfix/qj-allow-disk-attach-to-multiple-servers
fix: allow disk attach to multiple guests
2020-11-21 19:25:00 +08:00
Yousong Zhou
ab7ba83225 fix(region): elasticcache_instances: fix error fmt 2020-11-21 17:28:38 +08:00
Yousong Zhou
65571cc5e4 fix(locales): fix translation text 2020-11-21 17:28:38 +08:00
Zexi Li
0402f925bf Merge pull request #8887 from tb365/bugfix/tb-bugfix-1120
Bugfix/tb bugfix 1120
2020-11-20 19:56:39 +08:00
Zexi Li
8f19bc430d Merge pull request #8125 from ioito/feature/qx-apsara-sync
feature: add apsara support
2020-11-20 19:54:45 +08:00
TangBin
6391ef84d8 fix(region): create/update aliyun account bugfix 2020-11-20 18:38:42 +08:00
TangBin
96d2e24034 fix(region): purge account bugfix
忽略由于证书缓存与负载均衡监听关联导致purge账号失败的问题
2020-11-20 17:43:49 +08:00
rainzm
c5f94e13a3 feat(scripts): add more reasonable title for cherry pick PR
Before that, we used the first commit title of the main PRs and spliced
them to become the title of the cherry pick PR.

Obviously, it is more reasonable to use the titles of the main PRs and
splicing to become the title of the cherry pick PR.
2020-11-20 17:36:17 +08:00
spike.lv
eb91e8fcd1 feat(region): inter vpc network 2020-11-20 17:35:12 +08:00
TangBin
767e06a1d0 fix(region): checking cloudenv while create/update aliyun cloud account
#6389
2020-11-20 17:24:44 +08:00
Zexi Li
56b038cd0e Merge pull request #8884 from ioito/hotfix/qx-aliyunfi-oss
fix(region): compatible aliyun fin oss
2020-11-20 16:35:44 +08:00
TangBin
c18d1f0e77 fix(region): create redis validate network and sku zone match 2020-11-20 16:15:22 +08:00
Qu Xuan
0feddb13af fix(region): compatible aliyun fin oss 2020-11-20 16:05:31 +08:00
TangBin
e5289f8a4c fix(region): delete aliyun account bugfix 2020-11-20 15:45:10 +08:00
TangBin
0bbba6d3f8 fix(region): redis create account add name validate
公有云redis不允许创建名为root的账号

#6398
2020-11-20 14:24:34 +08:00
Zexi Li
0344d7e4b2 Merge pull request #8881 from lvyangyang/fix/qcloud-bucket-cdn-domain
fix(region): get qcloud bucket cdn-domain
2020-11-20 11:17:41 +08:00
TangBin
4e811240e4 fix(region): ignore classic vpc checkout while add lb backend
阿里云公网EL属于经典网络,在添加后端服务器时,不需要LB VPC和服务器的vpc 完全匹配

#6040
#6404
2020-11-20 11:08:47 +08:00
lvyangyang
b5d50fdfcf fix(region): get qcloud bucket cdn-domain 2020-11-20 10:34:23 +08:00
Zexi Li
39bc3037d6 Merge pull request #8877 from ioito/hotfix/qx-huawei-rds-password
fix: 自动生成华为云rds密码
2020-11-20 10:05:11 +08:00
Zexi Li
00bbc57bd0 Merge pull request #8873 from ioito/hotfix/qx-guest-undeploy
optimized: server delete log and wait time
2020-11-20 10:04:18 +08:00
Zexi Li
a2081832ed Merge pull request #8876 from ioito/feat/qx-rds-create-by-backup
feat: rds recovery new instance from backup supported
2020-11-19 20:52:52 +08:00
Qu Xuan
fd4b544fbc feat: rds recovery new instance from backup supported 2020-11-19 20:06:36 +08:00
Qu Xuan
a08fb0044f fix: 自动生成华为云rds密码 2020-11-19 19:53:04 +08:00
Qu Xuan
1e160821e6 optimized: server delete log and wait time 2020-11-19 16:25:37 +08:00
Qu Xuan
b195f95bdf feature: add apsara support 2020-11-19 15:41:30 +08:00
yunion-ci-robot
c2446eab26 Merge pull request #8869 from lvyangyang/lyy/cdn_domain_enable
fix(region): qcloud bucket set cors
2020-11-19 15:03:12 +08:00
Zexi Li
7f799a1835 Merge pull request #7869 from ioito/hotfix/qx-cloudevent-doamin-filter
fix: 支持公有云域过滤操作日志
2020-11-19 14:44:31 +08:00
lvyangyang
f1b428be07 fix(region): qcloud bucket set cors 2020-11-19 14:36:55 +08:00
Zexi Li
36cc3d7399 Merge pull request #8856 from tb365/bugfix/tb-bugfix-111701
add redis and redis skus slave zone info & huawei aws supported stora…
2020-11-19 14:33:00 +08:00
Qiu Jian
0718da3d70 fix: allow disk attach to multiple guests 2020-11-19 13:21:28 +08:00
Zexi Li
4c8bacea0f Merge pull request #8838 from zhaoxiangchun/bugfix/zxc-commonalert
suggestAlert feature:
2020-11-19 12:55:16 +08:00
Zexi Li
ebd9a7517a Merge pull request #8531 from wanyaoqi/feature/wyq/check-block-replication-is-support
host: drive mirror check block replication is support
2020-11-19 12:53:55 +08:00
Zexi Li
24bbbb4b0a Merge pull request #8847 from wanyaoqi/bugfix/wyq/fix-order-init-host-service
host: fix order init host srevice
2020-11-19 12:50:07 +08:00
Zexi Li
7391c6e1f6 Merge pull request #8569 from ioito/hotfix/qx-azure-list
fix: 优化azure资源同步
2020-11-19 12:46:46 +08:00
Qu Xuan
06581ad1a5 fix: optimized jsonRequest 2020-11-19 12:02:55 +08:00
TangBin
1afaa2950a add getStorageType err log 2020-11-19 12:02:50 +08:00
Qu Xuan
0d85df52bf fix: 优化azure资源同步 2020-11-19 12:01:04 +08:00
Zexi Li
ec45faf972 Merge pull request #8841 from ioito/hotfix/qx-server-stop
fix: 支持关机不收费
2020-11-19 11:56:40 +08:00
Zexi Li
ce53dd01d0 Merge pull request #8792 from rainzm/esxi/storagetype
feat(esxi): use more specific storage types
2020-11-19 11:52:24 +08:00
zhaoxiangchun
2bae6c0bb6 suggestAlert feature:
1.支持由建议列表忽略一类建议信息
2.建议列表和忽略列表,展示名称的处理。同时后端返回资源名称。
3.优化建议规则的修改。后端支持climc修改周期period和时间范围配置
4.优化建议规则返回describe信息
5.去掉了后端自动对忽略列表的init动作

影响范围: 优化建议规则的展示;建议列表的展示
2020-11-19 11:22:31 +08:00
Zexi Li
7ee1655123 Merge pull request #8860 from swordqiu/hotfix/qj-add-cpu-total-memory-total-usage
fix: add host.memoty.total and host.cpu.total usage stats
2020-11-19 11:03:09 +08:00
Zexi Li
d745acc798 Merge pull request #8863 from ioito/hotfix/qx-saml-api-addr
fix: cloudid api addr
2020-11-19 11:02:11 +08:00
Qu Xuan
4592299ffa fix: cloudid api addr 2020-11-19 10:23:35 +08:00
Qiu Jian
bc5c74b1bd fix: add host.memoty.total and host.cpu.total usage stats 2020-11-19 01:23:05 +08:00
Zexi Li
6ff5653fa4 Merge pull request #8832 from wanyaoqi/feature/wyq/custom-cloudroot-home-dir
host-deployer: customize user cloudroot home dir
2020-11-18 23:50:22 +08:00
Zexi Li
7b1d35b50b Merge pull request #8844 from zhaoxiangchun/feature/zxc-alertdisable
detach AlertResource on alertDisable
2020-11-18 21:16:29 +08:00
Zexi Li
84f9591127 Merge pull request #8850 from swordqiu/hotfix/qj-add-host-joint-domain-resources
fix: add host-joint resources into domain level resources
2020-11-18 21:15:15 +08:00
Zexi Li
359c5a1221 Merge pull request #8858 from rainzm/fix/disk_resize
fix(hostdeployer): umount rootfs before resize partition
2020-11-18 21:13:33 +08:00
rainzm
27378f2c85 fix(hostdeployer): umount rootfs before resize partition 2020-11-18 18:26:26 +08:00
yunion-ci-robot
f502c6722a Merge pull request #8849 from zhasm/feature/rex-cross-docker-buildx
docker 交叉编译规则更新
2020-11-18 16:35:09 +08:00
TangBin
2d15a7b977 add redis and redis skus slave zone info & huawei aws supported storage type update 2020-11-18 16:16:51 +08:00
Zhang Dongliang
c9ec30b5b3 docker 交叉编译规则更新 2020-11-18 15:55:39 +08:00
Qiu Jian
7fbe72ce5d fix: add host-joint resources into domain level resources 2020-11-18 15:19:50 +08:00
wanyaoqi
cbb801753b host: fix order init host srevice 2020-11-18 12:20:57 +08:00
zhaoxiangchun
357dd4e698 detach AlertResource on alertDisable
1. 报警规则禁用时,detach 关联的报警资源

影响范围:报警规则的禁用;logger日志服务i18n的日志展示
2020-11-18 12:19:34 +08:00
yunion-ci-robot
d3b892d728 Merge pull request #8697 from ioito/feature/qx-saml-support
feature: saml for cloudid
2020-11-18 11:21:08 +08:00
Qu Xuan
11c3f6a6ef fix: 支持关机不收费 2020-11-17 20:44:16 +08:00
Zexi Li
63d1d27069 Merge pull request #8842 from lvyangyang/lyy/bucket_cdn_domain
add:get bucket cdn domain
2020-11-17 20:40:53 +08:00
yunion-ci-robot
23a12c5484 Merge pull request #8836 from ioito/hotfix/qx-secgroup-rule-import
fix: support import rules for secgroups
2020-11-17 18:30:08 +08:00
lvyangyang
9b627c10fb add:get bucket cdn domain 2020-11-17 18:24:04 +08:00
Qu Xuan
d4edbbb610 feature: saml for cloudid 2020-11-17 18:02:37 +08:00
Zexi Li
c75130fc44 Merge pull request #8827 from rainzm/fix/notifyRobot
Fixs of Notify
2020-11-17 17:51:57 +08:00
yunion-ci-robot
03c10e15b1 Merge pull request #8726 from rainzm/esxi/resizefs
Try to resizefs after resizing esxi disk
2020-11-17 16:44:09 +08:00
rainzm
36dec7baa0 fix: add err handler for notifyRobot 2020-11-17 16:34:12 +08:00
rainzm
a4dc42e69a feat(notify): enable watching user in keystone 2020-11-17 16:34:08 +08:00
rainzm
7ed99506a5 fix(notify): be compatible with keystone's UsersV3.GetById
Fill UsersV3.GetById with user's name, it will return user's info.
2020-11-17 16:15:06 +08:00
Qu Xuan
cece2852aa fix: support import rules for secgroups 2020-11-17 15:31:09 +08:00
Zexi Li
3130e61a29 Merge pull request #8793 from rainzm/fix/esxi_snapshot
fix(region): chooseHostStorage
2020-11-17 15:21:17 +08:00
Zexi Li
9bbb738020 Merge pull request #8823 from ioito/hotfix/qx-aliyun-rds-backup
optimized: aliyun create rds backup
2020-11-17 14:52:15 +08:00
Zexi Li
920e257907 Merge pull request #8816 from zhaoxiangchun/bugfix/zxc-commonalert
modify  alertResource ws info
2020-11-17 14:51:20 +08:00
rainzm
8c17cdd5e2 feat(region): add RequestResizeDiskOnHost to SESXiHostDriver 2020-11-17 14:48:29 +08:00
rainzm
a1bc77a40e feat(esxiagent): try to resize partition after resizing disk 2020-11-17 14:48:29 +08:00
rainzm
22cec0964e feat(hostdeployer): support resizefs for esxi disk 2020-11-17 14:48:26 +08:00
Zexi Li
d15881355d Merge pull request #8803 from wanyaoqi/bugfix/wyq/host-reconnect-etcd
host: restart etcd session on keepalive failed
2020-11-17 14:20:11 +08:00
yunion-ci-robot
b237f36408 Merge pull request #8820 from tb365/bugfix/tb-qcloud-create-single-zone-elb-bugfix
qcloud create single zone elb bugfix
2020-11-17 10:02:06 +08:00
yunion-ci-robot
a683ea6ef2 Merge pull request #8830 from rainzm/scheduler/storagetype
feat(scheduler): support filtering storage via medium
2020-11-16 23:02:13 +08:00
yunion-ci-robot
c516faee7e Merge pull request #8817 from ioito/hotfix/qx-error-cause
fix: add error cause
2020-11-16 21:41:12 +08:00
wanyaoqi
6e66a129d6 host-deployer: customize user cloudroot home dir 2020-11-16 21:12:35 +08:00
rainzm
bf30c48eea feat(scheduler): support filtering storage via medium 2020-11-16 20:46:31 +08:00
Qu Xuan
aa5cbd0b0e optimized: aliyun create rds backup 2020-11-16 20:12:43 +08:00
yunion-ci-robot
a3f1f77496 Merge pull request #8795 from lvyangyang/lyy/bucket_task
qcloud bucket task
2020-11-16 16:44:05 +08:00
lvyangyang
8c29c53961 add:bucket ops const i18n 2020-11-16 15:28:37 +08:00
TangBin
63eddd2194 qcloud create single zone elb bugfix 2020-11-16 15:12:21 +08:00
Qu Xuan
83f5ce4316 fix: add error cause 2020-11-16 14:54:03 +08:00
zhaoxiangchun
d02db0e401 modify alertResource ws info
ignore_alert:ture 前端不再进行弹窗提示
2020-11-16 14:27:17 +08:00
yunion-ci-robot
2a54a139dc Merge pull request #8814 from swordqiu/hotfix/qj-qcloud-create-bucket-missing-appid
fix: qcloud create bucket without appId
2020-11-16 13:21:06 +08:00
Qiu Jian
38018080cc fix: qcloud create bucket without appId 2020-11-16 12:57:54 +08:00
lvyangyang
da4150e5ca qcloud bucket task 2020-11-16 12:06:32 +08:00
yunion-ci-robot
b11b5a2b45 Merge pull request #8774 from rainzm/fix/esxisp
Fix for esxi instance snapshot
2020-11-16 11:02:03 +08:00
rainzm
7818709539 fix: creating esxi guest from instance snapshot 2020-11-16 10:39:12 +08:00
rainzm
a14b556f27 fix(region): start vm when 'auto_start' is true 2020-11-16 10:38:29 +08:00
rainzm
8ef1af0dbc fix: set isp's status as 'instance_snapshot_reset' when reseting guest from isp 2020-11-16 10:38:26 +08:00
Zexi Li
448ce6379e Merge pull request #8783 from tb365/bugfix/tb-aliyunfin-region-name
aliyun finance cloud region add suffix
2020-11-15 08:00:20 +08:00
Zexi Li
b81f658d49 Merge pull request #8780 from swordqiu/hotfix/qj-keystone-init-empty-catalogy-panic
fix: mcclient panic when keystone init empty service catalog
2020-11-15 07:59:01 +08:00
Zexi Li
61d37663ca Merge pull request #8806 from zhaoxiangchun/bugfix/zxc-commonalert
commonalert bugfix:
2020-11-15 07:54:59 +08:00
Zexi Li
2112926934 Merge pull request #8809 from swordqiu/hotfix/qj-baremetal-usage-exclude-converted-baremetal
fix: baremetal usage should exclude converted hypervisor
2020-11-15 07:52:06 +08:00
Qiu Jian
8fcc85745d fix: baremetal usage should exclude converted hypervisor 2020-11-15 01:39:42 +08:00
zhaoxiangchun
c39540d5ca commonalert bugfix:
1.修改消息模版内容:对matches信息进行聚合只返回对应的name信息。解决body消息超过限制
2.报警资源:每次以策略匹配的最新matches为标准。进行updateOrCreate 和
  delete操作。

影响范围:消息模版、报警资源数量
2020-11-14 18:18:25 +08:00
wanyaoqi
7dc8f906c9 host: restart etcd session on keepalive failed 2020-11-14 15:24:40 +08:00
yunion-ci-robot
a525fabe47 Merge pull request #8800 from swordqiu/hotfix/qj-host-memory-usage-stats-incorrecct
fix: host memory usage status not correct
2020-11-14 11:22:04 +08:00
Qiu Jian
2a1b5f8a75 fix: mcclient panic when keystone init empty service catalog 2020-11-14 00:17:18 +08:00
yunion-ci-robot
75861efc77 Merge pull request #8796 from yousong/bugfix/yousong-jsonutils
vendor: update yunion.io/x/jsonutils
2020-11-14 00:10:02 +08:00
Qiu Jian
157fb1e488 fix: host memory usage status not correct 2020-11-13 23:55:33 +08:00
Yousong Zhou
854ff4079a vendor: update yunion.io/x/jsonutils
See yunionio/onecloud#8357
2020-11-13 18:44:12 +08:00
Zexi Li
353343072d Merge pull request #8790 from tb365/feature/tb-huawei-vm-support-vnc
huawei vm support vnc
2020-11-13 17:45:35 +08:00
rainzm
cfc58a3566 fix(region): chooseHostStorage
Setting options.Options.LockStorageFromCachedimage will trigger this bug.
2020-11-13 17:11:18 +08:00
rainzm
bb6af1e222 feat(esxi): use more specific storage types
Replace 'nas' with some specific types such as 'vsan', 'nfs' and 'cifs'.
2020-11-13 15:35:02 +08:00
Zexi Li
a2ffb6f33b Merge pull request #8786 from swordqiu/hotfix/qj-keystone-init-empty-catalog
fix: keystone init empty catalogy cause panic
2020-11-13 15:23:44 +08:00
TangBin
6b23c5c8fc huawei vm support vnc 2020-11-13 15:03:16 +08:00
Qiu Jian
b84f237961 fix: keystone init empty catalogy cause panic 2020-11-13 14:50:13 +08:00
TangBin
576120f153 aliyun finance cloud zone add suffix 2020-11-13 14:43:41 +08:00
TangBin
7360c544ff aliyun finance cloud region add suffix 2020-11-13 14:37:22 +08:00
Zexi Li
aa6a599c8f Merge pull request #8771 from swordqiu/feature/qj-allow-join-project-across-domain
feature: allow join project across domain
2020-11-13 10:39:38 +08:00
Zexi Li
45dc4bbd41 Merge pull request #8776 from zhaoxiangchun/bugfix/zxc-commonalert
suggestalet bugfix
2020-11-13 10:38:39 +08:00
zhaoxiangchun
922874936f suggestalet bugfix
1.安全组规则的in规则为全开放的主机 筛选逻辑修改
2.修复无法正确过滤用户所属资源的bug
2020-11-12 21:31:54 +08:00
yunion-ci-robot
bcc857ab88 Merge pull request #8737 from lvyangyang/lyy/fix/sync_aws_lb_tag
add:aws lb tag
2020-11-12 21:01:01 +08:00
Qiu Jian
f10267b0fe feature: allow join project across domain 2020-11-12 19:40:23 +08:00
yunion-ci-robot
bb6882fb99 Merge pull request #8758 from ioito/hotfix/qx-server-create-params
fix: public ip and duration for create params
2020-11-12 19:34:02 +08:00
Zexi Li
83e97c11c9 Merge pull request #8760 from ioito/hotfix/qx-huawei-object-acl
fix: avoid panic
2020-11-12 19:31:18 +08:00
Zexi Li
7b77196054 Merge pull request #8756 from ioito/hotfix/qx-low-memeory-sku-create
fix: support create 512mb server sku
2020-11-12 18:52:11 +08:00
Zexi Li
bf3af4d717 Merge pull request #8764 from ioito/hotfix/qx-qcloud-hssd-disk
fix: support resize qcloud hssd disk
2020-11-12 18:51:22 +08:00
Qu Xuan
b8410be115 fix: support resize qcloud hssd disk 2020-11-12 16:46:15 +08:00
Qu Xuan
7a60225617 fix: avoid panic 2020-11-12 16:18:59 +08:00
Qu Xuan
d7ab5fdd14 fix: public ip and duration for create params 2020-11-12 16:00:35 +08:00
Qu Xuan
c7a6ec8e9d fix: support create 512mb server sku 2020-11-12 14:02:10 +08:00
yunion-ci-robot
49823078b1 Merge pull request #8753 from rainzm/fix/syncsdisk
fix(region): prevent infinite recursion
2020-11-12 11:53:04 +08:00
rainzm
d2ed191752 fix(region): prevent infinite recursion
When weekDays is [1,2,3,4,5,6,7] and timePoints is [0], It will recurse infinitely.
2020-11-12 11:38:23 +08:00
Zexi Li
4fe47fe405 Merge pull request #8747 from ioito/hotfix/qx-account-prob-log
fix: avoid check region log every time when account status is unknown
2020-11-12 00:51:05 +08:00
Zexi Li
c78636910e Merge pull request #8749 from ioito/hotfix/qx-rds-renew
fix: renew rds
2020-11-12 00:49:39 +08:00
Qu Xuan
98d20725aa fix: renew rds 2020-11-11 19:05:15 +08:00
Qu Xuan
c2c9edd9c6 fix: avoid check region log every time when account status is unknown 2020-11-11 15:25:37 +08:00
Zexi Li
7123a8fc28 Merge pull request #8744 from ioito/hotfix/qx-cron-job-ctx
fix: avoid lock reentry
2020-11-11 12:04:23 +08:00
Zexi Li
623d905900 Merge pull request #8743 from wanyaoqi/feature/wyq/qemu-arm-fix-cdrom-params
qemu-arm: fix cdrom params
2020-11-11 12:03:45 +08:00
Zexi Li
dbbbcee08f Merge pull request #8741 from swordqiu/hotfix/qj-role-policy-set-update
fix: role-set-policies support update only operation
2020-11-11 11:58:14 +08:00
Zexi Li
c5b60916af Merge pull request #8723 from tb365/bugfix/tb-bugfix-20111001
batch user create bugifx
2020-11-11 11:56:16 +08:00
Zexi Li
3bb643cc52 Merge pull request #8722 from wanyaoqi/feature/wyq/misc-1110
misc bugfix: add log note, show reserved memory, specific bash start guest
2020-11-11 11:55:39 +08:00
Zexi Li
5f926f2865 Merge pull request #8719 from tb365/bugfix/tb-bugfix-201110
huawei create disk bugfix
2020-11-11 11:54:01 +08:00
Qu Xuan
cfebba2557 fix: avoid lock reentry 2020-11-10 21:13:55 +08:00
wanyaoqi
cc7542cc6f qemu-arm: fix cdrom params 2020-11-10 20:55:41 +08:00
Qiu Jian
f1be0adf6e allow delete role-policy-binding 2020-11-10 20:30:27 +08:00
lvyangyang
910bec329b add:aws lb tag 2020-11-10 19:49:10 +08:00
Qiu Jian
d66ee1fd4b fix: role-set-policies support update only operation 2020-11-10 19:05:55 +08:00
Zexi Li
df82c0808f Merge pull request #8738 from ioito/hotfix/qx-rds-renew
fix: qcloud rds set renew flag
2020-11-10 19:05:18 +08:00
屈轩
c56ebfd043 fix: qcloud rds set renew flag 2020-11-10 18:56:27 +08:00
Zexi Li
b091a7d2ba Merge pull request #8735 from tb365/bugfix/tb-bugfix-20111003
redis set autorenew bugfix
2020-11-10 18:41:25 +08:00
TangBin
6ce5b1d509 redis set autorenew bugfix 2020-11-10 18:35:06 +08:00
Zexi Li
9a8bb46ff0 Merge pull request #8730 from ioito/hotfix/qx-rds-task
fix: rds task fix
2020-11-10 18:02:14 +08:00
Qu Xuan
0272c76950 fix: rds task fix 2020-11-10 18:00:00 +08:00
Zexi Li
097d1af288 Merge pull request #8728 from tb365/bugfix/tb-bugfix-20111002
redis set autorenew bugfix
2020-11-10 17:46:28 +08:00
TangBin
fe07cda1a9 redis set autorenew bugfix 2020-11-10 17:43:17 +08:00
TangBin
3ceec3aa1e batch user create bugifx 2020-11-10 16:46:40 +08:00
wanyaoqi
aa45e62cbd host: specifie bash for start guest 2020-11-10 16:06:48 +08:00
wanyaoqi
0b11854a8b usage: host show isolated dev reserved memory 2020-11-10 16:03:13 +08:00
TangBin
4e3e5b01a5 huawei create disk bugfix 2020-11-10 15:45:51 +08:00
yunion-ci-robot
e6de534916 Merge pull request #8709 from rainzm/esxi/snapshot
Esxi Instance snapshot
2020-11-10 15:37:20 +08:00
rainzm
f077f06021 feat(region): support automatic start vm after reseting isp 2020-11-10 15:19:30 +08:00
rainzm
bb109953df feat(region): add SExternalizedResourceBase, SManagedResourceBase to SInstanceSnapshot 2020-11-10 15:19:30 +08:00
rainzm
1e297dca12 feat: update locales 2020-11-10 15:19:30 +08:00
rainzm
6f6ea9e38f feat: support creating vm from instance snapshot 2020-11-10 15:19:26 +08:00
rainzm
2ed4534f48 feat: creat, delete, revert and sync operator for esxi instance snapshots 2020-11-10 15:17:57 +08:00
Zexi Li
338e1cb570 Merge pull request #8713 from ioito/hotfix/qx-rds-auto-renew
fix: support rds set auto renew
2020-11-10 12:55:19 +08:00
Zexi Li
aaa4dccea8 Merge pull request #8715 from ioito/hotfix/qx-aws-secgroup-rule
fix: aws secgroup out rule is deny any
2020-11-10 12:54:23 +08:00
Zexi Li
1ff8798698 Merge pull request #8711 from tb365/bugfix/tb-bugfix-201109
redis prepaid create autorenew bugfix
2020-11-10 12:53:18 +08:00
wanyaoqi
f464a904d1 add success note on guest start and stop 2020-11-10 11:50:03 +08:00
Qu Xuan
bc28c8bdfb fix: aws secgroup out rule is deny any 2020-11-10 11:03:49 +08:00
TangBin
dd2eb4b446 redis create bugfix 2020-11-10 10:56:36 +08:00
Qu Xuan
a7e832488e fix: support rds set auto renew 2020-11-09 20:12:07 +08:00
TangBin
3a44985557 redis prepaid create autorenew bugfix 2020-11-09 19:31:03 +08:00
Zexi Li
f344228b91 Merge pull request #8692 from swordqiu/hotfix/qj-scoped-policy-system-level
fix: change level of scopedpolicy to system
2020-11-09 18:20:33 +08:00
yunion-ci-robot
48849d044f Merge pull request #8698 from rainzm/build/faster_docker_build
Faster docker build
2020-11-09 14:23:37 +08:00
yunion-ci-robot
ef90b52498 Merge pull request #8649 from rainzm/network/filter_via_storage
feat(region): filter network via storage
2020-11-09 14:22:22 +08:00
rainzm
e11011ddb7 feat: add ICloudInstanceSnapshot & modify ICloudVM 2020-11-09 13:54:48 +08:00
rainzm
7bdcf95524 feat: support snapshot of esxi 2020-11-09 13:54:45 +08:00
yunion-ci-robot
ed75370e24 Merge pull request #8707 from tb365/feature/tb-qcloud-redis-support-autorenew
qcloud redis secgroup sync fix & qcloud add renew& auto_renew
2020-11-09 11:30:21 +08:00
Qiu Jian
79ad3c188f fix: change level of scopedpolicy to system 2020-11-09 11:11:03 +08:00
Zexi Li
6889061a7c Merge pull request #8705 from swordqiu/hotfix/qj-scoped-policy-binding-search-by-name
fix: search by name and order by scopedpolicy for scopedpolicybindings
2020-11-09 10:45:42 +08:00
Zexi Li
f28a196ac4 Merge pull request #8703 from zhaoxiangchun/bugfix/zxc-commonalert
commonalert bugfix:
2020-11-09 10:44:20 +08:00
Qiu Jian
73e117c6e4 fix: search by name and order by scopedpolicy for scopedpolicybindings 2020-11-09 00:22:26 +08:00
zhaoxiangchun
a9c3c5bfdc commonalert bugfix:
1. 报警消息中过滤onecloud信息
2. 报警记录中报警恢复match 信息根据alertingMatches进行过滤处理
2020-11-08 17:09:17 +08:00
Zexi Li
2920f44c70 Merge pull request #8694 from lvyangyang/lyy/fix/dns_recordname_check
fix:修复dns record name校验的问题
2020-11-07 18:40:31 +08:00
Zexi Li
c46e1f2346 Merge pull request #8700 from ioito/hotfix/qx-rds-dirty-data
fix: sync remove dirty rds accounts
2020-11-07 18:26:56 +08:00
TangBin
09145c3c1d qcloud redis secgroup sync fix & qcloud add renew& auto_renew 2020-11-06 22:32:04 +08:00
Qu Xuan
008fd554c6 fix: sync remove dirty rds accounts 2020-11-06 20:36:33 +08:00
rainzm
5ab362d05f feat(build): add DOCKER_BUILDKIT in docker_push.sh 2020-11-06 20:12:58 +08:00
rainzm
2b5014b847 feat(build): add .dockerignore 2020-11-06 20:12:31 +08:00
lvyangyang
089aea99d8 fix:修复dns record name校验的问题 2020-11-06 19:42:46 +08:00
yunion-ci-robot
4653e46ec9 Merge pull request #8689 from swordqiu/hotfix/qj-change-owner-update-quota-usages
fix: change owner should update quota usages
2020-11-06 15:11:19 +08:00
yunion-ci-robot
0ecff3e65e Merge pull request #8686 from rainzm/fix/GetIImageById
Fix for Esxi and GetIImage
2020-11-06 15:07:17 +08:00
yunion-ci-robot
a0a3394eb4 Merge pull request #8683 from ioito/hotfix/qx-aliyun-eip-api
fix: aliyun eip api
2020-11-06 15:04:20 +08:00
yunion-ci-robot
54b59d74d4 Merge pull request #8676 from lvyangyang/lyy/qcloud_routetable
add:qcloud routetable
2020-11-06 15:03:19 +08:00
Qiu Jian
1bd4b85bf5 fix: change owner should update quota usages 2020-11-06 14:32:04 +08:00
Zexi Li
74b129073f Merge pull request #8680 from ioito/hotfix/qx-server-sku-filter
fix: 支持多内存过滤套餐
2020-11-06 13:49:53 +08:00
Zexi Li
9290797435 Merge pull request #8677 from swordqiu/hotfix/qj-fix-order-by-extra-fields-missing-columns-error
fix: missing column error when order by extra fields
2020-11-06 13:49:28 +08:00
Zexi Li
bb4dc2f2ee Merge pull request #8672 from zexi/hotfix/scheduler-ignore-non-running
scheduler: ignore non running guests only exclude ready status
2020-11-06 13:48:05 +08:00
rainzm
be0e8d73b7 fix(esxi): don't specify spec.Identity when osName is empty 2020-11-06 11:46:36 +08:00
rainzm
7aa5b28b37 fix(esxi): add device after cloning vm 2020-11-06 11:45:54 +08:00
rainzm
936ea00406 refactor(region): faster GetIImageById 2020-11-06 11:44:46 +08:00
rainzm
42309b8a7b refactor(region): faster sync CapacityUsed for Storage
1. replace cronjob SyncCapacityUsedForStorage with
SyncCapacityUsedForEsxiStorage
2. do not sync capacityUsed for storage when deleting and creating vm
for now because of performance issues。
2020-11-06 11:41:29 +08:00
rainzm
dfc246ca5b feat(region): add option NoCheckOsTypeForCachedImage 2020-11-06 11:36:59 +08:00
Qu Xuan
cdead1c476 fix: aliyun eip api 2020-11-06 11:08:54 +08:00
lvyangyang
4569326322 add:qcloud routetable 2020-11-06 10:34:18 +08:00
Qu Xuan
25aed0a7ee fix: 支持多内存过滤套餐 2020-11-06 10:30:38 +08:00
Qiu Jian
03d17e6fba fix: missing column error when order by extra fields 2020-11-05 23:51:03 +08:00
yunion-ci-robot
c7a119e85a Merge pull request #8670 from swordqiu/feature/qj-name-pattern-offset
feature: allow specify offset in name pattern
2020-11-05 18:31:30 +08:00
yunion-ci-robot
86ed0a308a Merge pull request #8668 from zhaoxiangchun/feature/zxc-alert-resource-filter
add resource type
2020-11-05 18:28:12 +08:00
Zexi Li
b47b0dc863 scheduler: ignore non running guests only exclude ready status 2020-11-05 18:05:49 +08:00
Qiu Jian
0beee87db3 feature: allow specify offset in name pattern 2020-11-05 16:48:43 +08:00
Zexi Li
a8d17e9cb8 Merge pull request #8667 from tb365/bugfix/tb-bugfix-201105
qcloud release prepaid resource bugfix
2020-11-05 15:08:42 +08:00
Zexi Li
728c576ea7 Merge pull request #8654 from swordqiu/hotfix/qj-sso-status-in-cookie
fix: save sso login status in cookie
2020-11-05 13:10:51 +08:00
Zexi Li
93b4b7008c Merge pull request #8664 from swordqiu/hotfix/qj-update-vendor-jsonutils-20201104
update vendor for jsonutils
2020-11-05 13:10:22 +08:00
TangBin
3b7c925212 qcloud release prepaid resource bugfix 2020-11-05 12:00:08 +08:00
zhaoxiangchun
0a0b73406d add resource type
1.支持前端通过资源类型进行过滤分类
2020-11-05 11:46:14 +08:00
Qiu Jian
ca0e79effb update vendor for jsonutils 2020-11-05 11:28:37 +08:00
Zexi Li
97682f1716 Merge pull request #8661 from zexi/hotfix/scheduler-forecast-with-candidates
scheduler: forecast api with candidates result
2020-11-05 00:39:17 +08:00
Zexi Li
b60e19b1b0 Merge pull request #8662 from swordqiu/hotfix/qj-server-name-historically-unique
server generate name should be historically unique
2020-11-05 00:38:08 +08:00
Qiu Jian
4431acde83 fix:
1. server generate name should be historically unique
2. ipaddr of a batch of server is in the same order as generated name
2020-11-05 00:21:12 +08:00
Zexi Li
543770694c Merge branch 'master' into hotfix/scheduler-forecast-with-candidates 2020-11-04 23:02:20 +08:00
Zexi Li
56cf88ec76 Merge pull request #8659 from zhaoxiangchun/bugfix/zxc-commonalert
commonalert bugfix
2020-11-04 23:01:44 +08:00
yunion-ci-robot
64bebb97e8 Merge pull request #8652 from yousong/feature/yousong-bgptype
Feature/yousong filter by bgptype
2020-11-04 21:11:10 +08:00
Zexi Li
0ed41b09e1 scheduler: forecast api with candidates result 2020-11-04 21:10:07 +08:00
yunion-ci-robot
d96f0486a0 Merge pull request #8658 from lshmouse/typo
Fix a typo: ProviderFactor -> ProviderFactory
2020-11-04 20:54:12 +08:00
yunion-ci-robot
d67ecae75e Merge pull request #8655 from lvyangyang/lyy/dns_record_name_validate
fix:域名正则校验dnsrecord name,同步中文域名取punycode
2020-11-04 18:41:09 +08:00
zhaoxiangchun
97ed340387 commonalert bugfix 2020-11-04 18:17:26 +08:00
Shaohui Liu
47d358ecb1 Fix a typo: ProviderFactor -> ProviderFactory 2020-11-04 18:10:03 +08:00
rainzm
f03d5af31f feat(region): filter network via storage 2020-11-04 17:17:55 +08:00
lvyangyang
73d750e1c7 fix:域名正则校验dnsrecord name,同步中文域名取punycode 2020-11-04 17:16:11 +08:00
Yousong Zhou
6464597c97 climc: network-list with multiple --bgp-type args 2020-11-04 16:48:22 +08:00
Yousong Zhou
51dafd29e7 networks: make filter by bgp types available 2020-11-04 16:48:22 +08:00
Yousong Zhou
d4469ffde4 networks: list: make bgp_type available 2020-11-04 16:48:22 +08:00
Qiu Jian
ae327021db fix: save sso login status in cookie 2020-11-04 16:40:57 +08:00
Zexi Li
45d8281e6e Merge pull request #8553 from swordqiu/feature/qj-keystone-sso-create-domain
feature: auto create domain for sso idp
2020-11-04 16:31:56 +08:00
Zexi Li
93d05ebd77 Merge pull request #8627 from lvyangyang/lyy/add_route
vpcPeeringConnection  add route
2020-11-04 16:26:20 +08:00
Zexi Li
5b334bfbe4 Merge pull request #8651 from swordqiu/hotfix/qj-policy-permission-data-incorrect
fix: auth permission result incorrect
2020-11-04 16:13:12 +08:00
lvyangyang
321e3c2f7c add route 2020-11-04 15:40:04 +08:00
Qiu Jian
4349cc7f98 fix: auth permission result incorrect 2020-11-04 12:04:45 +08:00
Zexi Li
e3a87410c5 Merge pull request #8647 from ioito/hotfix/qx-qcloud-rds-status-and-expired-time
fix: add rds status and expired time
2020-11-04 11:22:40 +08:00
Zexi Li
8631ca1a97 Merge pull request #8637 from tb365/bugfix/tb-qcloud-redis-bugfix-20201103
Bugfix/tb qcloud redis bugfix 20201103
2020-11-04 11:21:28 +08:00
Zexi Li
ab9e0ba184 Merge pull request #8633 from tb365/bugfix/tb-bugfix-20110201
Bugfix/tb bugfix 20110201
2020-11-04 11:19:42 +08:00
Zexi Li
37ee7fcf4e Merge pull request #8631 from zhaoxiangchun/bugfix/zxc-commonalert
modify monitor querycondition:
2020-11-04 11:07:50 +08:00
Zexi Li
5f163f64db Merge pull request #8628 from swordqiu/hotfix/qj-scoped-policy-filter-at-scope-project
fix: scopedpolicybindings filter by scope project
2020-11-04 10:59:27 +08:00
Zexi Li
b398ad99fc Merge pull request #8640 from rainzm/verify/template
fix(notify): customize the title of the verification email based on the copyright
2020-11-04 10:58:18 +08:00
yunion-ci-robot
acff2f6a09 Merge pull request #8643 from swordqiu/hotfix/qj-elasticcache-quota
fix: elasticcache quota not take effect
2020-11-04 10:54:46 +08:00
Qu Xuan
f47f2c51e4 fix: add rds status and expired time 2020-11-04 10:46:55 +08:00
zhaoxiangchun
d45c096390 modify monitor querycondition:
1.对于策略可以返回多个field value。供策略进行使用
2. 对于1种情况需要在commonalert种设置metadata属性
3. 修改alertresource get driver的判断逻辑
4. 针对host 相关的measurement 默认增加res_type 过滤filter
2020-11-04 10:43:47 +08:00
TangBin
c5a88b80b5 add option PrepaidDeleteExpireCheck 2020-11-04 09:57:30 +08:00
Qiu Jian
9f122f7452 fix: elasticcache quota not take effect 2020-11-04 00:56:28 +08:00
Qiu Jian
32fe10b001 fix: scopedpolicybindings filter by scope project 2020-11-03 23:12:30 +08:00
Zexi Li
6269097b3b Merge pull request #8636 from ioito/hotfix/qx-qcloud-sku-storage
fix: add qcloud hssd
2020-11-03 20:41:45 +08:00
rainzm
d3aae00092 fix(notify): customize the title of the verification email based on the copyright 2020-11-03 20:24:00 +08:00
Qu Xuan
5b4efddec6 fix: add qcloud hssd 2020-11-03 19:57:19 +08:00
TangBin
bbe362be2f qcloud delete prepaid redis bugfix 2020-11-03 19:33:41 +08:00
TangBin
4be09cfc0d qcloud create prepaid redis bugfix 2020-11-03 19:12:31 +08:00
TangBin
2f7781d152 lbcert cache delete bugfix 2020-11-03 17:55:43 +08:00
TangBin
0bf274f125 aws create bugfix 2020-11-03 17:55:43 +08:00
Yousong Zhou
f127253e3f Merge pull request #8629 from zhaoxiangchun/feature/zxc-commonalert-dashboard
modify go test error
2020-11-03 17:00:20 +08:00
yunion-ci-robot
4c3a251dd3 Merge pull request #8532 from zexi/feature/cloudresources-schedtag
feature: support cloudprovider, cloudregion and zone schedtag
2020-11-03 16:54:46 +08:00
zhaoxiangchun
72b9f2ec77 modify go test error 2020-11-03 15:22:26 +08:00
yunion-ci-robot
aa1a511c0f Merge pull request #8586 from zhaoxiangchun/feature/zxc-commonalert-dashboard
modify monitor dashboard save:
2020-11-03 14:28:46 +08:00
Zexi Li
3a29fda075 Merge pull request #8621 from rainzm/webhook/domain
NotifyWebhook for domain
2020-11-03 11:49:41 +08:00
Zexi Li
8f3cb2de67 Merge pull request #8625 from ioito/hotfix/qx-qcloud-rds-ro
fix: avoid not found cdbro- mysql instance
2020-11-03 11:48:54 +08:00
Qu Xuan
dc59a08721 fix: avoid not found cdbro- mysql instance 2020-11-03 11:05:50 +08:00
Zexi Li
dad884d481 Merge pull request #8619 from wanyaoqi/bugfix/wyq/fix-stream-disk
host: fix stream disk on add disk from snapshot
2020-11-03 10:39:36 +08:00
Zexi Li
2c070f8f9e Merge pull request #8616 from rainzm/fix/disksize
Fix for DiskSize of ESXi
2020-11-03 10:38:40 +08:00
Zexi Li
165abd4e6c Merge pull request #8618 from swordqiu/hotfix/qj-scopedpolicybinding-filter-error
fix: scopedpolicybinding filter by category sql error
2020-11-02 20:29:01 +08:00
rainzm
5a07858e1a feat(region): use NotifyWebhook when operating dnszone 2020-11-02 19:49:50 +08:00
rainzm
fd360b071e feat(region): add CloudCaches in DnsZoneDetails with GET 2020-11-02 19:25:31 +08:00
rainzm
6efb3fc12a fix(region): add SDnsZoneCache to DnsZoneCacheDetails 2020-11-02 19:22:03 +08:00
yunion-ci-robot
b727119845 Merge pull request #8613 from ioito/hotfix/qx-rds-zone-sync
optimized: rds zone sync
2020-11-02 19:07:46 +08:00
Qiu Jian
10a4d86d25 fix: scopedpolicybinding filter by category sql error 2020-11-02 18:21:01 +08:00
wanyaoqi
4a2613a66a fix stream disk on add disk from snapshot 2020-11-02 17:58:18 +08:00
Qu Xuan
d207d982e8 optimized: rds zone sync 2020-11-02 16:47:34 +08:00
rainzm
d01b6e1502 fix(esxi): return sumsize of disks fo template 2020-11-02 16:15:55 +08:00
rainzm
46e42724b7 fix(region): allow resize system disk of esxi 2020-11-02 16:15:32 +08:00
Zexi Li
c1c2b42145 Merge pull request #8599 from tb365/bugfix/tb-bugfix-20103001
qcloud create project not match bugfix
2020-11-02 15:51:11 +08:00
tangbin
bf1d8eccf5 goimport fix 2020-11-02 15:38:19 +08:00
Qiu Jian
178e1ab8fc feature: auto create domain for sso idp 2020-11-02 13:59:50 +08:00
yunion-ci-robot
b16e08f315 Merge pull request #8611 from zhaoxiangchun/bugfix/zxc-commonalert
deal return error info: tsdb
2020-11-02 10:25:47 +08:00
yunion-ci-robot
67f9e1c45e Merge pull request #8603 from rainzm/fix/snapshotsync
fix(region): compute NextSyncTime for snapshotpolicydisk
2020-11-02 01:42:45 +08:00
yunion-ci-robot
c2675d1547 Merge pull request #8608 from swordqiu/hotfix/qj-service-config-misc-bugfixes
fix: save service config changes may send invalid action log
2020-11-01 11:48:48 +08:00
Zexi Li
624759eb4f Merge pull request #8604 from zexi/hotfix/monitor-query-signature
monitor: query with signature
2020-11-01 11:48:09 +08:00
zhaoxiangchun
8df8e6ca26 deal return error info: tsdb 2020-10-31 23:29:18 +08:00
TangBin
f87c0e3972 clean duplicate cached certificated at initial 2020-10-31 23:29:09 +08:00
TangBin
9a43bb667d qcloud create project not match bugfix 2020-10-31 23:08:21 +08:00
Qiu Jian
354bcd9f07 fix: save service config changes may send invalid action log 2020-10-31 18:57:52 +08:00
Zexi Li
3a5bde4a3b monitor: query with signature and support measurement without database 2020-10-31 17:17:24 +08:00
Rain Zheng
97f93e6a12 fix(region): compute NextSyncTime for snapshotpolicydisk
1. 如果计算出来的 NextSyncTime 和 base 相等,可以将 base 加1一个小时递归处理。
2. 对于 retentionday 有效的快照策略,比如某一个 snaphsotpolicy
是每周一生效,并且打的快照自动保留 3 天,那么,就应该在每周一(打快照)
和每周四(释放快照)进行快照的同步。
2020-10-31 15:48:56 +08:00
yunion-ci-robot
2994dbf915 Merge pull request #8601 from zexi/hotfix/apigateway-remove-influxdb-query-proxy
apigateway: disable influxdb service query proxy
2020-10-31 15:19:44 +08:00
Zexi Li
81da6c5775 apigateway: disable influxdb service query proxy 2020-10-31 12:44:53 +08:00
yunion-ci-robot
d7621317f2 Merge pull request #8596 from tb365/bugfix/tb-bugfix-201030
qcloud cert bugfix
2020-10-31 11:52:43 +08:00
yunion-ci-robot
850c37ab60 Merge pull request #8598 from swordqiu/hotfix/qj-scoped-policy-binding-filter-by-multiple-categories
fix: filter scopedpolicybindings with multiple categories
2020-10-30 19:39:45 +08:00
yunion-ci-robot
308896a29d Merge pull request #8593 from rainzm/fix/autosyncsnapshot
Detach snapshotpolicy when deletding disk
2020-10-30 19:38:46 +08:00
yunion-ci-robot
2caa1c2c5a Merge pull request #8590 from ioito/hotfix/qx-secgroup-cache-tenant-id
fix: secgroup cache tenant_id
2020-10-30 19:34:51 +08:00
yunion-ci-robot
a8e77968bd Merge pull request #8589 from swordqiu/hotfix/qj-enforce-response-charset
fix: enforce response charset
2020-10-30 19:33:44 +08:00
yunion-ci-robot
395c26ab04 Merge pull request #8567 from yousong/feature/yousong-guest-bgptype
Feature/yousong guest bgptype
2020-10-30 19:30:44 +08:00
Qiu Jian
56e5b177d0 fix: filter scopedpolicybindings with multiple categories 2020-10-30 17:20:15 +08:00
TangBin
6343e3f4ba qcloud certificate sync bugfix 2020-10-30 15:56:00 +08:00
TangBin
d6677d86d7 qcloud cert bugfix 2020-10-30 15:50:09 +08:00
rainzm
7582ead4c1 fix(region): clear dirty data of snapshotpolicydisks when start up 2020-10-30 15:20:48 +08:00
rainzm
e660946d25 fix(region): detach all snapshotpolicy when realdeleting disk 2020-10-30 14:47:44 +08:00
Qu Xuan
373166c506 fix: secgroup cache tenant_id 2020-10-30 14:37:02 +08:00
yunion-ci-robot
8628145762 Merge pull request #8587 from ioito/hotfix/qx-rds-vpc
fix: sync rds class vpc
2020-10-30 13:01:42 +08:00
Qiu Jian
9073461f99 fix: enforce response charset 2020-10-30 12:50:23 +08:00
屈轩
d9e72f78e7 fix: sync rds class vpc 2020-10-30 12:49:15 +08:00
zhaoxiangchun
d519be9ab1 modify monitor dashboard save:
1.panel和dashboard继承scoperesource。通过joint进行关联
2.dashboade 通过details
  参数控制是否返回所关联的panel信息。penel新建时需要此逻辑
3.依据scoperesource属性实现查询,创建的逻辑
2020-10-30 12:11:33 +08:00
yunion-ci-robot
6da9e1bb81 Merge pull request #8584 from ioito/hotfix/qx-rds-classic-vpc
fix: classic vpc for rds
2020-10-30 12:02:44 +08:00
rainzm
c6864e4ae6 fix(region): prevent dirty data when syncing snapshot 2020-10-30 11:58:43 +08:00
Zexi Li
17d90dccdc Merge pull request #8583 from zexi/hotfix/climc-k8s-machine-list
climc: k8s machine show resource_id
2020-10-30 11:37:49 +08:00
Qu Xuan
0f4114449f fix: classic vpc for rds 2020-10-30 11:12:46 +08:00
yunion-ci-robot
7bc24a357c Merge pull request #8580 from swordqiu/hotfix/qj-scoped-policy-binding-doc-keywords
fix: scopedpolicies and scopedpolicybindings swagger resource name
2020-10-30 11:12:42 +08:00
Zexi Li
0f25214872 climc: k8s machine show resource_id 2020-10-30 11:03:51 +08:00
Zexi Li
cc32bb39ef feature: support cloudprovider, cloudregion and zone schedtag 2020-10-30 10:58:34 +08:00
yunion-ci-robot
1de5147bf2 Merge pull request #8581 from swordqiu/hotfix/qj-support-qcloud-zonal-bucket
fix: compatible with qcloud zonal bucket
2020-10-30 09:12:42 +08:00
yunion-ci-robot
a89ca20f72 Merge pull request #8576 from rainzm/snapshotpolicy/fix
fix(region): sync automatically snapshot for external disk
2020-10-30 08:49:42 +08:00
yunion-ci-robot
7eea4105ae Merge pull request #8558 from zexi/hotfix/informer-context-cancelled
informer: ignore outside context cancel when worker run
2020-10-30 00:36:43 +08:00
Qiu Jian
3f568a63d1 fix: compatible with qcloud zonal bucket 2020-10-30 00:14:12 +08:00
yunion-ci-robot
7850511b6e Merge pull request #8573 from tb365/bugfix/tb-bugfix-2010293
qcloud elb cert duplicate fix
2020-10-29 23:28:43 +08:00
Qiu Jian
46fe31cbd8 fix: scopedpolicies and scopedpolicybindings swagger resource name 2020-10-29 22:55:15 +08:00
rainzm
f13c12d0c2 fix(region): sync automatically snapshot for external disk 2020-10-29 22:28:56 +08:00
TangBin
46e65d9e02 qcloud elb cert duplicate fix 2020-10-29 22:23:39 +08:00
yunion-ci-robot
b66497ac03 Merge pull request #8570 from tb365/bugfix/tb-bugfix-20102902
qcloud redis create missing project id bugfix
2020-10-29 20:58:47 +08:00
Zexi Li
ff53671a18 informer: ignore outside context cancel when worker run 2020-10-29 20:53:17 +08:00
TangBin
babed456d5 qcloud redis create missing project id bugfix 2020-10-29 20:46:12 +08:00
yunion-ci-robot
d1282ae516 Merge pull request #8564 from rainzm/cachedimage/vendor
update vendor
2020-10-29 20:08:43 +08:00
rainzm
e48616cdc0 update vendor 2020-10-29 17:22:19 +08:00
yunion-ci-robot
85f76fb8ed Merge pull request #8559 from tb365/bugfix/tb-bugfix-20102901
qcloud lb sync project bugfix
2020-10-29 17:18:42 +08:00
Yousong Zhou
4d895d6587 climc: servers: create with eip bgp type 2020-10-29 17:12:57 +08:00
Yousong Zhou
6bbf090494 guests: add bgp_type arg when create guest 2020-10-29 17:12:57 +08:00
Yousong Zhou
f514950480 elasticips: NewEipForVMOnHost: make args a struct 2020-10-29 17:12:57 +08:00
Yousong Zhou
774cfcbfaf regiondrivers: kvm: exact match bgp_type 2020-10-29 17:12:57 +08:00
yunion-ci-robot
61fd7e0e52 Merge pull request #8540 from swordqiu/hotfix/qj-set-customized-private-prefixes
fix: allow set customized private prefixes
2020-10-29 17:00:45 +08:00
yunion-ci-robot
c875ed5c7a Merge pull request #8544 from swordqiu/hotfix/qj-scheduler-option-manager
fix: use option manager for scheduler
2020-10-29 16:55:42 +08:00
yunion-ci-robot
295a46894d Merge pull request #8554 from tb365/bugfix/tb-bugfix-201029
Bugfix/tb bugfix 201029
2020-10-29 16:44:42 +08:00
TangBin
8589d67ac3 qcloud lb sync project bugfix 2020-10-29 16:43:20 +08:00
yunion-ci-robot
24af7a4b47 Merge pull request #8556 from wanyaoqi/bugfix/wyq/fix-generate-ifname
bugfix: retry generate ifname from random string
2020-10-29 15:14:49 +08:00
wanyaoqi
f71def645e retry generate ifname from random string 2020-10-29 14:56:01 +08:00
TangBin
02d0902d94 redis 2.8 reset password bugfix 2020-10-29 14:28:12 +08:00
TangBin
0a695c2dca add redis capabilty & lb purge 2020-10-29 14:07:05 +08:00
Yousong Zhou
5da75ae45b Merge pull request #8548 from swordqiu/hotfix/qj-fail-delete-public-ip
fix: fail to delete public_ip eip
2020-10-29 10:18:37 +08:00
yunion-ci-robot
18ca8e986d Merge pull request #8541 from ioito/hotfix/qx-rds-sync
fix: avoid sync part of rds
2020-10-29 00:55:44 +08:00
yunion-ci-robot
b51b13f801 Merge pull request #8551 from swordqiu/hotfix/qj-go-vet-error-20201028
fix: make test go vet error
2020-10-29 00:52:43 +08:00
yunion-ci-robot
eb59b41223 Merge pull request #8543 from tb365/bugfix/tb-qcloud-redis-bugfix-1028
Bugfix/tb qcloud redis bugfix 1028
2020-10-29 00:04:42 +08:00
yunion-ci-robot
5ae7003a30 Merge pull request #8545 from rainzm/wehook/lbrdsredis
Notify via webhook
2020-10-28 23:57:41 +08:00
Qiu Jian
08bb11db66 fix: make test go vet error 2020-10-28 23:53:11 +08:00
Qiu Jian
554ec88734 fix: fail to delete public_ip eip 2020-10-28 23:40:52 +08:00
tangbin
ac03debc97 redis delete bugfix 2020-10-28 22:13:35 +08:00
TangBin
ea497d077d qcloud elb auth mode bugfix 2020-10-28 21:57:52 +08:00
Qiu Jian
dcc689cc17 fix: allow set customized private prefixes 2020-10-28 21:50:19 +08:00
wanyaoqi
0389ec8048 ha guest misc fix 2020-10-28 21:14:57 +08:00
yunion-ci-robot
b9628c9421 Merge pull request #8538 from lvyangyang/lyy/qcloud_redis_tags
qcloud redis tags
2020-10-28 21:11:54 +08:00
rainzm
ce0c88d790 feat(region): call NotifyWebhook in when sonme tasks complete
dbinstace: create, delete, change_config;

elasticcache: create, delete, change_config;

loadbalancer, loadbalancer_backend_group,
loadbalancer_listener, loadbalancer_backend: create, delete
2020-10-28 21:08:37 +08:00
rainzm
0d36b3b749 refactor(region): remove return value of NotifyWebhook 2020-10-28 21:07:34 +08:00
Qiu Jian
8f2c514699 fix: use option manager for scheduler 2020-10-28 21:04:51 +08:00
Qu Xuan
a01cd0a81b fix: avoid sync part of rds 2020-10-28 20:21:08 +08:00
yunion-ci-robot
f7ee989c6b Merge pull request #8535 from rainzm/cachedimage/fasterlistpro
refactor(region): faster list for cachedimage
2020-10-28 17:58:43 +08:00
rainzm
de4f1579dd refactor(region): faster list for cachedimage
Pro version of #8440 with checking the necessity of id filtering
2020-10-28 15:21:23 +08:00
lvyangyang
cfbe92ed91 qcloud redis tags 2020-10-28 14:58:21 +08:00
yunion-ci-robot
ebfa86d45b Merge pull request #8533 from tb365/bugfix/tb-bugfix-20102701
Bugfix/tb bugfix 20102701
2020-10-28 12:37:41 +08:00
tangbin
399539b92d elb sync bugfix 2020-10-28 12:13:03 +08:00
wanyaoqi
980396f151 dirve mirror check block replication is support 2020-10-28 10:51:33 +08:00
yunion-ci-robot
b6cbf86d3b Merge pull request #8521 from swordqiu/hotfix/qj-adjust-default-policy-quota
fix: adjust default identity quota
2020-10-28 10:36:44 +08:00
tangbin
1eaf06d051 sync elb support classic vpc 2020-10-28 07:56:49 +08:00
yunion-ci-robot
62db4e8440 Merge pull request #8523 from tb365/feature/tb-qcloud-redis-support
qcloud redis support
2020-10-28 01:06:40 +08:00
yunion-ci-robot
57cacd0cd7 Merge pull request #8525 from rainzm/fix/esxi_saveimage
Fix for saving image in ESXi
2020-10-28 00:57:41 +08:00
yunion-ci-robot
de533cab6b Merge pull request #8512 from ioito/hotfix/qx-qcloud-project-sync
fix: avoid sync project panic
2020-10-28 00:46:42 +08:00
yunion-ci-robot
6b91b9ff86 Merge pull request #8443 from rainzm/cachedimage/fr
Respect multiple disks in VMware Template
2020-10-28 00:17:42 +08:00
yunion-ci-robot
d401bfcb62 Merge pull request #8509 from wanyaoqi/bugfix/wyq/fix-host-archs-capabilities
bugfix: fix get host archs capability
2020-10-28 00:12:43 +08:00
rainzm
26b1050b31 fix(esxi): filter vmdk item in lease.info 2020-10-27 21:25:32 +08:00
rainzm
6afa803050 fix(esxi): use correct device index
1. Sort devices via their Key.
2. There is no relationship between vdisk index and vnics length.
2020-10-27 21:20:58 +08:00
rainzm
d616b40044 fix(esxi): no callback in uploadHandler 2020-10-27 21:19:40 +08:00
TangBin
d7894776f3 qcloud redis support 2020-10-27 20:33:28 +08:00
yunion-ci-robot
81df94b277 Merge pull request #8435 from swordqiu/feature/qj-scoped-policy-manager
Feature/qj scoped policy manager
2020-10-27 18:19:40 +08:00
yunion-ci-robot
dd2a68496f Merge pull request #8510 from ioito/hotfix/qx-cloudaccount-climc
fix: optimized cloudaccount climc
2020-10-27 17:33:41 +08:00
Zexi Li
bfffcfecde Merge pull request #8517 from ioito/hotfix/qx-secgroup-status
fix: set secgroup status
2020-10-27 17:28:22 +08:00
yunion-ci-robot
e686a0aa49 Merge pull request #8505 from ioito/hotfix/qx-lb-lock
add: DisableDelete for lb
2020-10-27 17:05:40 +08:00
Qiu Jian
4d04059bcb fix: adjust default identity quota 2020-10-27 16:38:28 +08:00
yunion-ci-robot
099bc4a8ea Merge pull request #8504 from ioito/hotfix/qx-qcloud-instance-create
fix: qcloud server create
2020-10-27 16:19:41 +08:00
Qu Xuan
b6016939cb fix: set secgroup status 2020-10-27 16:16:54 +08:00
Qu Xuan
6ee94ab41c fix: avoid sync project panic 2020-10-27 16:11:20 +08:00
Qu Xuan
64740ff0fd fix: optimized cloudaccount climc 2020-10-27 15:27:44 +08:00
wanyaoqi
8d07a6308f fix get host archs capability 2020-10-27 12:12:03 +08:00
Qu Xuan
0e5835ffac fix: qcloud server create 2020-10-27 10:49:13 +08:00
Qiu Jian
1805be4d2f list support scope filter 2020-10-27 00:46:03 +08:00
Qiu Jian
48e40fa5a9 update api models 2020-10-26 23:58:02 +08:00
Qiu Jian
01d4c2a1c7 feature: support scoped policy that manage ui policies for
domains&projects
2020-10-26 23:58:02 +08:00
Qu Xuan
73e8080d42 add: DisableDelete for lb 2020-10-26 21:51:37 +08:00
yunion-ci-robot
f41ff021c7 Merge pull request #8499 from yousong/bugfix/yousong-lockman-test
lockman: test: add prefix setting
2020-10-26 21:22:39 +08:00
Yousong Zhou
cd5163eebb lockman: test: add prefix setting 2020-10-26 20:26:42 +08:00
yunion-ci-robot
42f3ad00fa Merge pull request #8496 from zhaoxiangchun/bugfix/zxc-commonalert
commalertUpdateInput increat param:
2020-10-26 19:55:48 +08:00
rainzm
5251304a47 feat(esxi): expand disk config from subimages when creating vm 2020-10-26 19:47:04 +08:00
rainzm
a174c32eae feat: respect params.Disks when cloning vm 2020-10-26 19:46:57 +08:00
rainzm
564c6cf45f feat: add SubImages in Image 2020-10-26 19:06:22 +08:00
zhaoxiangchun
10b273938d commalertUpdateInput increat param:
1.处理operator对alertType == system的报警策略的update请求
2020-10-26 18:40:47 +08:00
yunion-ci-robot
85862c7f19 Merge pull request #8493 from rainzm/fix/cachedimagelist
fix(region): roll back the optimization of cachedimage list
2020-10-26 18:16:40 +08:00
rainzm
eef90b58e7 fix(region): roll back the optimization of cachedimage list 2020-10-26 17:34:54 +08:00
Zexi Li
2e4a06e77a Merge pull request #8492 from zexi/feature/k8s-fedres-update
Feature/k8s fedres update
2020-10-26 17:12:19 +08:00
Zexi Li
b0f73311d7 Merge pull request #8464 from wanyaoqi/bugfix/wyq/check-disk-is-in-reset-before-delete-snapshot
bugfix:check disk is in reset before delete snapshot
2020-10-26 17:03:00 +08:00
yunion-ci-robot
9d7a82401d Merge pull request #8487 from ioito/hotfix/qx-eip-sync
fix: avoid delete public ip when sync eip list
2020-10-26 17:02:41 +08:00
Zexi Li
ddf483bc0e climc: add k8s federated resource update subcommand 2020-10-26 16:57:06 +08:00
Qu Xuan
d60dee6a97 fix: avoid delete public ip when sync eip list 2020-10-26 16:17:15 +08:00
yunion-ci-robot
128173d320 Merge pull request #7620 from wanyaoqi/feature/wyq/arm-v2
feature: arm support
2020-10-26 15:50:40 +08:00
yunion-ci-robot
ca6c5ef3aa Merge pull request #8120 from swordqiu/feature/qj-policy-group-3.5
feature: policy group support
2020-10-25 20:17:42 +08:00
yunion-ci-robot
deb720d793 Merge pull request #8483 from swordqiu/hotfix/qj-vpc-create-climc-no-region
fix: climc vpc-create missing cloudregion_id
2020-10-25 10:53:38 +08:00
yunion-ci-robot
ec6f90ac4c Merge pull request #8484 from swordqiu/hotfix/qj-vm-usage-stats-not-correct
fix: server usage status not correct
2020-10-25 10:52:42 +08:00
Qiu Jian
ce06e078f0 fix: server usage status not correct 2020-10-25 08:34:51 +08:00
Qiu Jian
2d39cb4cb0 feature: policy group support 2020-10-24 22:46:46 +08:00
Qiu Jian
588fff60fc fix: climc vpc-create missing cloudregion_id 2020-10-24 22:40:39 +08:00
Zexi Li
167c672194 Merge pull request #8481 from ioito/hotfix/qx-qcloud-rds-create
fix: 避免参数异常
2020-10-24 13:11:17 +08:00
Zexi Li
107f7588cb Merge pull request #8470 from wanyaoqi/bugfix/wyq/fix-stream-disk-complete
bugfix: fix on stream disk complete snapshots refcount not update
2020-10-24 13:09:25 +08:00
Zexi Li
d011cbfc87 Merge pull request #8474 from zexi/hotfix/monitor-datasource-ep
monitor: set default influxdb datasource by endpoint type
2020-10-24 13:06:55 +08:00
Qu Xuan
9821f7fe9e fix: 避免参数异常 2020-10-24 12:58:59 +08:00
Zexi Li
2cdb173036 Merge pull request #8415 from ioito/hotfix/qx-rds-secgroup
fix: rds 支持多安全组
2020-10-24 12:10:31 +08:00
Qu Xuan
5cd26b297e fix: 支持多安全组 2020-10-24 11:44:31 +08:00
yunion-ci-robot
fd7348c7f0 Merge pull request #8460 from lvyangyang/lyy/create_with_tag
qcloud create lb,mysql with tags
2020-10-23 21:09:16 +08:00
yunion-ci-robot
ce178b01d7 Merge pull request #8478 from tb365/bugfix/tb-bugfix-20102301
Bugfix/tb bugfix 20102301
2020-10-23 21:00:15 +08:00
TangBin
44b40599a5 qcloud zone sync fix 2020-10-23 20:44:27 +08:00
TangBin
541a2d4e0d loadbalancer support batch create 2020-10-23 20:30:53 +08:00
yunion-ci-robot
8ea168a6e8 Merge pull request #8468 from ioito/hotfix/qx-rds-fix
fix: qcloud 5.5 single zone
2020-10-23 20:18:17 +08:00
Zexi Li
409c67e24b monitor: set default influxdb datasource by endpoint type 2020-10-23 20:07:15 +08:00
Qu Xuan
9a03bf17ce fix: 支持批量创建rds 2020-10-23 19:38:04 +08:00
wanyaoqi
4efbe27abc fix on stream disk complete snapshots refcount not update 2020-10-23 19:09:38 +08:00
Qu Xuan
cdd652c1ee fix: qcloud 5.5 single zone 2020-10-23 18:55:16 +08:00
yunion-ci-robot
9822abac3a Merge pull request #8412 from zhaoxiangchun/bugfix/zxc-commonalert
bugfix:commalert
2020-10-23 18:35:17 +08:00
yunion-ci-robot
a4e3ddf78e Merge pull request #8461 from rainzm/guestimage/public
fix(glance): allow public and private operations of guestimage
2020-10-23 18:28:16 +08:00
wanyaoqi
e7ce3fd9d8 check disk is in reset before delete snapshot 2020-10-23 18:23:18 +08:00
yunion-ci-robot
3dba8ad4f4 Merge pull request #8450 from wanyaoqi/bugfix/wyq/misc-host-fix
host increase cpu mem max size
2020-10-23 18:18:19 +08:00
yunion-ci-robot
ceac46fdbd Merge pull request #8456 from rainzm/esxi/disksize
fix(esxi): resize root disk after cloning vm
2020-10-23 18:16:16 +08:00
yunion-ci-robot
110102c603 Merge pull request #8449 from tb365/bugfix/tb-bugfix-201023
Bugfix/tb bugfix 201023
2020-10-23 18:15:15 +08:00
yunion-ci-robot
5810e1d06f Merge pull request #8454 from rainzm/esix/disksizecreate
fix(esxi): resize root disk after creating vm
2020-10-23 18:14:15 +08:00
lvyangyang
2c043454a5 create with tags 2020-10-23 18:13:54 +08:00
Zexi Li
21e1ab4b00 Merge pull request #8447 from ioito/hotfix/qx-rds-fix
fix: sync rds account host info
2020-10-23 18:04:05 +08:00
zhaoxiangchun
b4a83dc15e bugfix:
1.资源报警增加websocket 消息通知:admin用户
2.统一influxdb中查询到的tag展示
2020-10-23 17:57:20 +08:00
rainzm
5824b7add0 fix(glance): allow public and private operations of guestimage
The public and private operations of the guest image depends on these operations of the subimage.
2020-10-23 17:46:49 +08:00
Qu Xuan
f159c73186 fix: add duration match 2020-10-23 17:15:40 +08:00
rainzm
bd014a6adf fix(esxi): resize root disk after cloning vm
The root disk size set when the machine is cloned does not take effect,
so set the root disk size after the machine is cloned.
2020-10-23 17:02:33 +08:00
rainzm
9daef7d97c fix(esxi): resize root disk after creating vm
The root disk size set when the machine is created does not take effect,
so set the root disk size after the machine is created.
2020-10-23 16:39:53 +08:00
TangBin
6f2a9d8b7c elb salve zone 1 external id bugfix 2020-10-23 16:22:42 +08:00
TangBin
94d3fa82af elb sync zone bugfix 2020-10-23 16:12:00 +08:00
Qu Xuan
fb7d22f675 fix: sync rds account host info 2020-10-23 15:44:39 +08:00
wanyaoqi
6b7a525734 host increase cpu mem max size 2020-10-23 15:13:17 +08:00
TangBin
1f17dcf680 add qcloud elb zone1 details 2020-10-23 12:04:22 +08:00
yunion-ci-robot
13f179d0b3 Merge pull request #8445 from swordqiu/lvyangyang-lyy/resource_tag
resource tags
2020-10-22 22:43:16 +08:00
lvyangyang
58737942ad resource tags 2020-10-22 22:20:53 +08:00
yunion-ci-robot
ae9d1b6ba6 Merge pull request #8440 from rainzm/cachedimage/fasterlist
refactor(region): faster list for cachedimage
2020-10-22 21:24:14 +08:00
yunion-ci-robot
963287b563 Merge pull request #8444 from yousong/bugfix/yousong-eip-varchar
Bugfix/yousong eip varchar
2020-10-22 21:16:18 +08:00
Yousong Zhou
4537cc3dba elasticips: charge_type: make it varchar column 2020-10-22 20:58:12 +08:00
Yousong Zhou
e61a85b7c1 elasticips: bgp_type: make the db column nullable
It's nullable previously, and alter table NOT NULL will error out on
NULL column value
2020-10-22 20:56:35 +08:00
yunion-ci-robot
7cc0ea74a9 Merge pull request #8410 from rainzm/esxi/copy_disk
feat(esxi): copy disk from image when creating vm
2020-10-22 20:33:15 +08:00
yunion-ci-robot
abeddc49cc Merge pull request #8426 from ioito/hotfix/qx-rds-expired-sync
fix: 避免冲掉设置的到期释放时间
2020-10-22 20:13:25 +08:00
yunion-ci-robot
3e1599b4dc Merge pull request #8416 from lvyangyang/fix/qcloud_dns_all_project
fix:get all project dns resource
2020-10-22 20:11:16 +08:00
yunion-ci-robot
e4be550a86 Merge pull request #8430 from tb365/feature/tb-qcloud-elb-support-multi-zones
Feature/tb qcloud elb support multi zones
2020-10-22 20:10:16 +08:00
yunion-ci-robot
ffcca38512 Merge pull request #8437 from rainzm/fix/snapshotpolicylist
SnapshotPolicy Display and Sync
2020-10-22 20:07:18 +08:00
rainzm
bd4851c9f9 refactor(region): faster list for cachedimage
修改之前:
诸如provider, zone, host_schedtag_id, valid
等过滤条件,是通过过滤出符合条件的 storagecachedimage 然后使用 cachedimage_id 来过滤 cachedimge,
问题是,每一个过滤条件都会独立的去执行上面的过程,这样同样的查询可能要经过很多次,并且如果遇到
弱的过滤条件,比如 valid ,过滤出来的 storagecachedimage
非常之多,然后在使用 cachedimage_id 去过滤 cachedimage,会非常慢。

修改之后:
过滤条件的相似的逻辑合并起来,只需要向 subQuery 中添加 filter,使用 subQuery 一次把 storagecachedimage
过滤出来,然后使用 cachedimage_id 过滤 cachedimage。
2020-10-22 20:05:49 +08:00
rainzm
213d495a3d fix: don't update NextSyncTime when snapshots that should be added has not 2020-10-22 19:35:19 +08:00
rainzm
a2d221685e fix(region): init NextSyncTimeiwhen create snapshotpolicydisks 2020-10-22 19:34:45 +08:00
rainzm
92d862b17d fix(region): add suffix 'display' for time_points and repeat_weekdays
TimePoints and RepeatWeekdays in SnapshotPolicyDetails is duplicated
with thess in SnapshotPolicy, which result in the fault of reponse for
request GET.
2020-10-22 19:33:55 +08:00
TangBin
f86dc52e90 qcloud elb supplort multi zones 2020-10-22 16:01:42 +08:00
TangBin
69e0ae9ded climc lb-create add parameter zone1 2020-10-22 15:51:32 +08:00
TangBin
e6af8ad2c4 qcloud elb support multi zones 2020-10-22 15:38:48 +08:00
Qu Xuan
98bd229b33 fix: 避免冲掉设置的到期释放时间 2020-10-22 15:37:54 +08:00
yunion-ci-robot
0d272fab28 Merge pull request #8407 from wanyaoqi/bugfix/wyq/fix-informer-backend
bugfix: fix informer set backend
2020-10-22 15:04:16 +08:00
yunion-ci-robot
45058b338c Merge pull request #8417 from ioito/hotfix/qx-secgroup-quota
fix: secgroup quota support
2020-10-22 14:56:13 +08:00
yunion-ci-robot
cbc967c965 Merge pull request #8419 from ioito/hotfix/qx-lb-quota
fix: add lb quota check
2020-10-22 14:45:14 +08:00
yunion-ci-robot
e7676f103b Merge pull request #8420 from ioito/hotfix/qx-rds-quota
fix: add rds quota check
2020-10-22 14:42:13 +08:00
yunion-ci-robot
23a69e36a7 Merge pull request #8423 from ioito/hotfix/qx-aliyun-region
fix: add aliyun new region
2020-10-22 14:31:17 +08:00
Qu Xuan
80b0ed3ccd fix: add aliyun new region 2020-10-22 11:50:53 +08:00
Qu Xuan
adcce7538d fix: secgroup quota support 2020-10-21 21:29:11 +08:00
Qu Xuan
f74e345b02 fix: add rds quota check 2020-10-21 21:24:50 +08:00
Qu Xuan
5e4cc33146 fix: add lb quota check 2020-10-21 21:18:29 +08:00
lvyangyang
efa5a8495a fix:get all project dns resource 2020-10-21 18:16:44 +08:00
rainzm
937bf4513b feat(esxi): copy disk from image when creating vm
Before, we use delta disk based on vmdk in image_cache when creating vm.
In theory, creating a machine like this is faster and occupies less storage.
However, it may also affect performance and definitely cannot change the
size of the system disk.

Now, we copy disk from vmdk in image_cache to solve above questions.
2020-10-21 14:14:24 +08:00
yunion-ci-robot
4e1e4e29fd Merge pull request #8404 from rainzm/notify/client
Verified webconsole and IntelliNotify
2020-10-21 10:51:14 +08:00
yunion-ci-robot
642ddcaba6 Merge pull request #8349 from ioito/hotfix/qx-huawei-clirc
fix: huawei clirc region not correct
2020-10-21 01:01:13 +08:00
rainzm
c12b276ea1 feat(notify): add IntelliNotify
IntelliNotify will try to create receiver nonexistent if createReceiver is set to true
2020-10-20 20:34:35 +08:00
rainzm
fbc951330c fix(notify): add AllOkContactTypes in where permanently enabled and verified ContactType 2020-10-20 20:29:21 +08:00
yunion-ci-robot
418e3e5990 Merge pull request #8193 from ioito/feature/qx-qcloud-rds
feature: add qcloud rds support
2020-10-20 18:58:12 +08:00
Zexi Li
135b080631 Merge pull request #8400 from wanyaoqi/bugfix/wyq/fix-fetch-customize-columns
bugfix: fix fetch customize columns
2020-10-20 18:52:29 +08:00
wanyaoqi
cb45349ec4 fix fetch customize columns 2020-10-20 18:42:39 +08:00
wanyaoqi
128ec17741 fix informer backend 2020-10-20 17:45:25 +08:00
Qu Xuan
f776054187 feature: add qcloud rds support 2020-10-20 17:40:53 +08:00
Zexi Li
1b967e9595 Merge pull request #8338 from tb365/feature/tb-add-aliyun-finance-env
add aliyun finance environment
2020-10-20 13:31:43 +08:00
yunion-ci-robot
bff1066744 Merge pull request #8258 from rainzm/snapshot/sync
feat: add a retry mechanism to AutoSyncExtDiskSnapshot
2020-10-20 13:31:13 +08:00
Zexi Li
a5872c0ab3 Merge pull request #8395 from tb365/bugfix/tb-bugfix-201020
lbcert delete bugfix
2020-10-20 13:28:21 +08:00
Zexi Li
9ec68e0b8d Merge pull request #8397 from zexi/hotfix/alert-resource
fix: monitor commonalert not detach alert resource
2020-10-20 13:26:38 +08:00
Zexi Li
06a30edcf8 fix: monitor commonalert not detach alert resource 2020-10-20 13:19:49 +08:00
Zexi Li
95bba5df0b Merge pull request #8392 from rainzm/fix/snapshotpolicy2
Fix of snapshotpolicy
2020-10-20 11:49:24 +08:00
rainzm
f6844e3c6d feat: use details data to cover obj data in FetchCustomizeColumns 2020-10-20 11:19:44 +08:00
TangBin
05f1900a26 lbcert delete bugfix 2020-10-20 11:19:41 +08:00
yunion-ci-robot
2bc39203ea Merge pull request #8227 from yousong/feature/yousong-eip-isp
Feature/yousong eip bgp type
2020-10-20 11:00:16 +08:00
yunion-ci-robot
e36936c4f5 Merge pull request #8381 from lvyangyang/lyy/update_metadata
set resource tags
2020-10-20 10:57:12 +08:00
lvyangyang
3a73eb9e30 resource tags 2020-10-20 10:16:38 +08:00
rainzm
2f6678f9a7 fix(region): compute binded disk count when deleting snapshotpolicy 2020-10-20 09:56:45 +08:00
yunion-ci-robot
bb1cc41b24 Merge pull request #8390 from zhaoxiangchun/bugfix/zxc-commonalert
bugfix: commonalert
2020-10-19 23:18:12 +08:00
zhaoxiangchun
444ff1901d bugfix: commonalert
1.报警消息中取消返回sql信息
2.commonalert 中支持top bottom 结构influxdb 查询
2020-10-19 23:05:27 +08:00
yunion-ci-robot
018881d6c2 Merge pull request #8357 from zhaoxiangchun/bugfix/zxc-qcloud-pullmetric
bugfix: qcloud pull metric
2020-10-19 22:36:12 +08:00
yunion-ci-robot
14f5b471ba Merge pull request #8346 from zexi/feature/alert-resource
monitor: add alert resource
2020-10-19 22:12:12 +08:00
zhaoxiangchun
26965521f2 bugfix: qcloud pull metric
get请求中增加region参数
2020-10-19 22:10:33 +08:00
yunion-ci-robot
85d79721c8 Merge pull request #8379 from yousong/feature/yousong-logger-action
Feature/yousong logger action
2020-10-19 22:06:12 +08:00
Zexi Li
31cf935dac monitor: add alert resource 2020-10-19 22:05:39 +08:00
Zexi Li
6fcdc49832 Merge pull request #8388 from wanyaoqi/bugfix/wyq/remove-try-set-informer-backend
bugfix: remove try set informer backend
2020-10-19 22:02:35 +08:00
wanyaoqi
917a62c142 remove try set informer backend 2020-10-19 21:32:26 +08:00
Zexi Li
32cacf0f34 Merge pull request #8385 from wanyaoqi/bugfix/wyq/update-raid-state-to-lower-case
telegraf-raid-plugin: update raid state to lower case
2020-10-19 20:59:56 +08:00
yunion-ci-robot
6e6ebae520 Merge pull request #8383 from wanyaoqi/bugfix/wyq/keystone-init-etcd-backend
bugfix: keystone init etcd backend
2020-10-19 20:58:14 +08:00
yunion-ci-robot
06152cb590 Merge pull request #8382 from lvyangyang/fix/vpc_peer_error_wrap
fix:qcloud vpc peer  error  wrap
2020-10-19 20:10:11 +08:00
wanyaoqi
de03ab9397 telegraf-raid-plugin: update raid state to lower case 2020-10-19 20:09:46 +08:00
wanyaoqi
5f5090038b keystone init etcd backend 2020-10-19 20:03:02 +08:00
rainzm
5e82a7e506 feat: add a retry mechanism to AutoSyncExtDiskSnapshot 2020-10-19 20:01:51 +08:00
yunion-ci-robot
72ef0c5476 Merge pull request #8344 from rainzm/notify/webhook
Notify/webhook
2020-10-19 18:24:12 +08:00
Zexi Li
6526122f08 Merge pull request #8337 from swordqiu/hotfix/qj-cancel-pending-delete-should-add-quota-usages
fix: cancel pending-delete should increase resource quota usages
2020-10-19 17:43:55 +08:00
lvyangyang
bb4e09aee7 fix:qcloud vpc peer error wrap 2020-10-19 17:24:48 +08:00
yunion-ci-robot
53df123d4c Merge pull request #8340 from rainzm/fix/valid_cachedimage
feat: add valid filter for cachedimage list
2020-10-19 17:12:11 +08:00
rainzm
18fdfad79e feat: add valid filter for cachedimage list
Use the 'valid' switch to control whether to filter out
the cachedimage corresponding to invalid storage
2020-10-19 16:26:03 +08:00
Yousong Zhou
e4cef880a3 logger: actionlog: i18n for distinct-field 2020-10-19 16:21:36 +08:00
Yousong Zhou
c1468105f8 cloudcommon: db: GET: i18n for result of get property calls 2020-10-19 16:21:36 +08:00
Yousong Zhou
d639b0a84c cloudcommon: db: add man.GetI18N 2020-10-19 16:21:36 +08:00
Yousong Zhou
d6243fbc6a cloudcommon: db: modelbase: distinct-field: readability change 2020-10-19 16:21:36 +08:00
Yousong Zhou
d8887266ae logger: actionlog: readability change 2020-10-19 16:21:36 +08:00
Qiu Jian
2486aa3071 fix: cancel pending-delete should increase resource quota usages 2020-10-19 16:02:50 +08:00
rainzm
541128d37b feat(region): call NotifyWebhook in the life cycle of guests 2020-10-19 16:00:16 +08:00
rainzm
264b9ef39f feat: add NotifyWebhook in notifyclient 2020-10-19 16:00:12 +08:00
yunion-ci-robot
0ffda5712a Merge pull request #8361 from swordqiu/hotfix/qj-not-lock-guest-after-lock-eip
fix: do not lock guest after lock eip, to prevent possible dead lock
2020-10-19 15:20:12 +08:00
yunion-ci-robot
785283e3f3 Merge pull request #8353 from swordqiu/hotfix/qj-reduce-change-config-logs
fix: reduce change config logs
2020-10-19 15:19:16 +08:00
yunion-ci-robot
cb93bdcb95 Merge pull request #8347 from swordqiu/hotfix/qj-remote-update-metadata-loop
fix: remote update metadata may cause metadata update loop
2020-10-19 15:18:18 +08:00
yunion-ci-robot
3b2f7ee30d Merge pull request #8350 from swordqiu/hotfix/qj-missing-authenticate-log
fix: missing authenticate action log for user web login
2020-10-19 15:17:12 +08:00
Zexi Li
c954f8223d Merge pull request #8366 from ioito/hotfix/qx-rds-usage
fix: add rds cpu and memory usage
2020-10-19 15:11:46 +08:00
Zexi Li
96e7c75746 Merge pull request #8373 from ioito/hotfix/qx-google-storage
fix: 新增google存储类型
2020-10-19 15:11:03 +08:00
Zexi Li
f6ce91c681 Merge pull request #8369 from ioito/hotfix/qx-worker-fix
fix: use correct worker
2020-10-19 15:09:52 +08:00
Qu Xuan
f7b16c592f fix: 新增google存储类型 2020-10-19 12:05:18 +08:00
yunion-ci-robot
93d682503e Merge pull request #8355 from wanyaoqi/feature/wyq/fix-sync-storage-info-duration
host: fix sync storage info duration'
2020-10-19 11:57:12 +08:00
rainzm
2e094a310a feat(notify): allow empty receivers for robot or webhook contact type 2020-10-19 11:56:50 +08:00
Qiu Jian
adbf513167 fix: missing authenticate action log for user web login 2020-10-19 11:53:26 +08:00
Qiu Jian
d681a148df fix: reduce change config logs 2020-10-19 11:51:04 +08:00
Qiu Jian
20f3feaabc fix: remote update metadata may cause metadata update loop 2020-10-19 11:45:44 +08:00
Qiu Jian
0466b2c805 fix: do not lock guest after lock eip, to prevent possible dead lock 2020-10-19 11:42:28 +08:00
Qu Xuan
dc8086b3c2 fix: use correct worker 2020-10-19 11:41:25 +08:00
Qu Xuan
d7ae0eaa8d fix: add rds cpu and memory usage 2020-10-19 11:22:06 +08:00
Yousong Zhou
bc898e9e3b climc: eip ops by bgp type 2020-10-19 10:53:17 +08:00
Yousong Zhou
59dd8a0e29 eip: create by BgpType 2020-10-19 10:53:17 +08:00
Yousong Zhou
258ceb7ba8 networks: add field BgpType 2020-10-19 10:53:17 +08:00
Yousong Zhou
b7c3959e04 vendor: update yunion.io/x/sqlchemy 2020-10-19 10:53:17 +08:00
yunion-ci-robot
db9872e9fa Merge pull request #8358 from yousong/bugfix/yousong-build
.circleci: build: make with parallel level 2
2020-10-19 10:50:17 +08:00
Yousong Zhou
47fd7fb27e .circleci: build: make with parallel level 2 2020-10-19 10:27:55 +08:00
wanyaoqi
4b09751f56 host: fix sync storage info duration' 2020-10-18 01:01:00 +08:00
Qu Xuan
3d70213220 fix: huawei clirc region not correct 2020-10-17 18:56:36 +08:00
yunion-ci-robot
fe2ecd15ca Merge pull request #8332 from rainzm/esxi/lockstorage
Feats for ESXi
2020-10-17 18:22:10 +08:00
rainzm
012d9b1588 feat(notify): support webhook contact type 2020-10-17 18:03:19 +08:00
rainzm
2679294529 refactor: find the most suitable storage 2020-10-17 17:38:39 +08:00
rainzm
93df31a97f feat(esxiagent): try to customize vm if deployfs failed 2020-10-17 17:38:39 +08:00
rainzm
10f0f07bdb feat: support lock storage from selected cachedimage 2020-10-17 17:38:37 +08:00
TangBin
2032e5f1d1 add aliyun finance environment 2020-10-17 17:22:35 +08:00
yunion-ci-robot
b43c3780b8 Merge pull request #8325 from wanyaoqi/feature/wyq/report-raid-info
telegraf raid plugin
2020-10-17 13:49:47 +08:00
wanyaoqi
225f3b21c1 telegraf raid plugin 2020-10-17 10:59:19 +08:00
Zexi Li
928f6c9c0b Merge pull request #8304 from swordqiu/feature/qj-qcloud-update-metadata-name
Feature/qj qcloud update metadata name
2020-10-16 23:43:53 +08:00
Qiu Jian
e967dd7d6a feature: remote update qcloud instance metadata and name 2020-10-16 21:40:35 +08:00
Qiu Jian
38abe9b45d feature: qcloud create VM with tags 2020-10-16 21:37:28 +08:00
yunion-ci-robot
d7d90af6b5 Merge pull request #8334 from rainzm/cachedimage/filter
fix(compute): filter cachedimage with health storage
2020-10-16 19:42:47 +08:00
rainzm
625bf23569 fix(compute): filter cachedimage with health storage 2020-10-16 18:29:02 +08:00
Zexi Li
50ee78cf6a Merge pull request #8330 from ioito/hotfix/qx-instance-hostname
fix: hostname for instance
2020-10-16 17:43:12 +08:00
Qu Xuan
65582cab95 fix: hostname for instance 2020-10-16 17:12:17 +08:00
yunion-ci-robot
cfbb8458ee Merge pull request #8323 from zhasm/hotfix/rex-clean-alpine-build-cache
remove alpine build cache before make image
2020-10-16 15:13:44 +08:00
yunion-ci-robot
d6734576a9 Merge pull request #8326 from zexi/hotfix/images-distinct-field
fix: get images distinct field
2020-10-16 14:31:34 +08:00
yunion-ci-robot
6be508b701 Merge pull request #8321 from ioito/hotfix/qx-dnszone-sync-records
fix: sync dns records after sync vpcs
2020-10-16 12:53:31 +08:00
Zhang Dongliang
0619d3566f remove alpine build cache before make image 2020-10-16 11:59:33 +08:00
Zexi Li
f14ec60a76 fix: get images distinct field 2020-10-16 11:59:23 +08:00
yunion-ci-robot
99dc8ce1fe Merge pull request #8319 from swordqiu/hotfix/qj-resolve-with-meta-filter-conflict
fix: resolve with_meta filter conflict
2020-10-16 11:38:32 +08:00
Qu Xuan
914b76069f fix: sync dns records after sync vpcs 2020-10-16 10:40:18 +08:00
yunion-ci-robot
70c755068c Merge pull request #8314 from rainzm/esxi/joindvpg
feat(esxi): do not specify portkey in NewVNIC
2020-10-16 10:38:35 +08:00
Qiu Jian
cc7423d558 fix: resolve with_meta filter conflict 2020-10-16 10:30:02 +08:00
rainzm
8553f90248 feat(esxi): do not specify portkey in NewVNIC 2020-10-16 08:22:05 +08:00
yunion-ci-robot
f9be2999c6 Merge pull request #8312 from swordqiu/feature/qj-filter-storage-by-image
feature: filter storages by image
2020-10-15 23:08:34 +08:00
yunion-ci-robot
ae005ea860 Merge pull request #8308 from ioito/hotfix/qx-secgroup-rule-sync
fix: 避免并发同步安全组导致规则混乱
2020-10-15 22:59:34 +08:00
Qiu Jian
6abd9b0e92 feature: filter storages by image 2020-10-15 22:51:56 +08:00
Qu Xuan
0e3f781003 fix: 避免并发同步安全组导致规则混乱 2020-10-15 22:26:23 +08:00
yunion-ci-robot
17ea4ddafe Merge pull request #8305 from zexi/hotfix/remove-utf8-stringutils
stringutils2: add RemoveUtf8Strings func
2020-10-15 21:44:32 +08:00
Zexi Li
f0cc1d3d1a stringutils2: add RemoveUtf8Strings func 2020-10-15 19:33:18 +08:00
Zexi Li
fc15772ab6 Merge pull request #8302 from swordqiu/hotfix/qj-filter-resource-by-metadata
fix: allwo filter resource by with-meta and with-user-meta filter
2020-10-15 15:17:02 +08:00
Zexi Li
8cfc2f32f1 Merge pull request #8299 from ioito/hotfix/qx-rds-sku-filter-by-provider
fix: support filter rds sku by provider
2020-10-15 15:15:54 +08:00
Qiu Jian
c4d30371ef fix: allwo filter resource by with-meta and with-user-meta filter 2020-10-15 14:46:08 +08:00
Qu Xuan
0dc485d589 fix: support filter rds sku by provider 2020-10-15 14:28:52 +08:00
yunion-ci-robot
ac6a7a9685 Merge pull request #8297 from swordqiu/hotfix/qj-filter-role-assignment-with-project-domains
fix: filter role assignments by project domains id or name
2020-10-15 14:25:33 +08:00
yunion-ci-robot
39ead9fb61 Merge pull request #8294 from ioito/hotfix/qx-huawei-disk-v2-api
fix: use new api
2020-10-15 14:24:34 +08:00
yunion-ci-robot
0c34fb9939 Merge pull request #8289 from lvyangyang/fix/openstack_lbb_backend
fix:openstack lb 后端ip无法映射到主机的异常处理
2020-10-15 14:22:37 +08:00
yunion-ci-robot
97fe7be808 Merge pull request #8265 from rainzm/esxi/template_hack
sync and use of ESXi template
2020-10-15 13:13:30 +08:00
Qiu Jian
e2e186a754 fix: filter project role with system=true 2020-10-15 13:06:45 +08:00
Qiu Jian
b2add97a0d fix: filter role assignments by project domains id or name 2020-10-15 13:01:00 +08:00
Qu Xuan
db6846aab0 fix: use new api 2020-10-15 11:30:27 +08:00
rainzm
7ab4decab3 feat: add 'vlan_id' param when creating network 2020-10-15 10:48:36 +08:00
rainzm
335c8eecc0 feat: change templateid as <providerId>/<uuid> in esxi 2020-10-15 10:48:36 +08:00
Rain
281d1c45df fix: support fake tempalte when searching template vm 2020-10-15 10:48:00 +08:00
yunion-ci-robot
02d97f652b Merge pull request #8290 from ioito/hotfix/qx-qcloud-secgroup
fix: 优化安全组规则同步
2020-10-15 09:09:30 +08:00
Qu Xuan
efa5978cf6 fix: 优化安全组规则同步 2020-10-14 21:04:18 +08:00
lvyangyang
415ef08661 fix:openstack lb 后端ip无法映射到主机的异常处理 2020-10-14 18:24:01 +08:00
yunion-ci-robot
f898079c11 Merge pull request #8284 from swordqiu/feature/qj-qcloud-creae-vm-with-tags
feature: qcloud create VM with tags
2020-10-14 17:50:29 +08:00
yunion-ci-robot
0816bb0fc4 Merge pull request #8287 from wanyaoqi/bugfix/wyq/distinguish-between-float32-and-float64-on-json-marshal
fix: replace NewFloat by NewFloat64 and NewFloat32
2020-10-14 16:52:32 +08:00
Qiu Jian
ddefc2ab34 feature: qcloud create VM with tags 2020-10-14 15:21:21 +08:00
wanyaoqi
1cfee7cf6c replace NewFloat by NewFloat64 and NewFloat32 2020-10-14 11:54:30 +08:00
wanyaoqi
63887337fd make mode 2020-10-14 11:39:04 +08:00
yunion-ci-robot
41542b7c98 Merge pull request #8281 from ioito/hotfix/qx-bucket-sync-project
fix: sync huawei bucket project info
2020-10-14 10:51:31 +08:00
yunion-ci-robot
5a969fcae3 Merge pull request #8264 from ioito/hotfix/qx-instance-public-ip
fix: support public ip create
2020-10-14 10:50:30 +08:00
yunion-ci-robot
454e453359 Merge pull request #8275 from lvyangyang/fix/aliyun_timeout_retry
fix:aliyun jsonRequest 增加i/o timeout retry
2020-10-14 10:47:29 +08:00
yunion-ci-robot
502bf73105 Merge pull request #8253 from ioito/hotfix/qx-qcloud-bandwidth
fix: qcloud eip with bandwidth attr
2020-10-14 10:44:30 +08:00
yunion-ci-robot
0d66d35ad2 Merge pull request #8231 from wanyaoqi/feature/wyq/add-interface-freeze-virtual-resource
region: add interface freeze virtual resource
2020-10-14 10:42:30 +08:00
Qu Xuan
4b1d914b83 fix: sync huawei bucket project info 2020-10-13 20:47:08 +08:00
Qu Xuan
02ec88ccc6 fix: support public ip create 2020-10-13 20:00:00 +08:00
Zexi Li
243f4af95f Merge pull request #8270 from ioito/hotfix/qx-qcloud-bandwidth-user
fix: 支持带宽包用户
2020-10-13 17:34:20 +08:00
Zexi Li
dd2ab45d11 Merge pull request #8267 from ioito/hotfix/qx-google-new-region
fix: trans google new region name
2020-10-13 17:34:02 +08:00
yunion-ci-robot
90b1d0a524 Merge pull request #8278 from wanyaoqi/bugfix/wyq/fix-host-deployer-base-image
update host-deployer base image
2020-10-13 17:09:30 +08:00
yunion-ci-robot
27a38b6c74 Merge pull request #8276 from zhasm/hotfix/rex-docker-push-mkdir
在 docker push 脚本里创建_output 目录,以便容错
2020-10-13 17:01:30 +08:00
wanyaoqi
bc26bdb8fb fix host-deployer base image 2020-10-13 16:57:48 +08:00
lvyangyang
93365de62e fix:aliyun jsonRequest 增加i/o timeout retry 2020-10-13 16:55:31 +08:00
Zhang Dongliang
4be578fc2f 在 docker push 脚本里创建_output 目录,以便容错 2020-10-13 16:46:29 +08:00
yunion-ci-robot
833e57bf95 Merge pull request #8273 from zhasm/hotfix/rex-rex-fix-root-ownership-dockerpush
在 docker push 脚本里创建_output 目录,以便容错
2020-10-13 16:18:30 +08:00
Zhang Dongliang
1f7988ecd7 在 docker push 脚本里创建_output 目录,以便容错 2020-10-13 15:36:27 +08:00
Qu Xuan
f3c819299f fix: 支持带宽包用户 2020-10-13 15:32:40 +08:00
Qu Xuan
17ff08282b fix: trans google new region name 2020-10-13 14:14:05 +08:00
rainzm
e43c86586b fix(esxiagent): check whether regexp is nil 2020-10-13 13:02:17 +08:00
rainzm
d618f61c16 feat(esxiagent): keep data disks when cloning vm 2020-10-13 13:01:14 +08:00
Qu Xuan
b32c54f7cf fix: qcloud eip with bandwidth attr 2020-10-13 10:41:31 +08:00
yunion-ci-robot
8855dff371 Merge pull request #8188 from ioito/hotfix/qx-qcloud-secgroup-name
fix: avoid qcloud secgroup cache name not sync
2020-10-13 10:35:28 +08:00
Zexi Li
e8442294f4 Merge pull request #8228 from yousong/bugfix/yousong-eip-opslog
Bugfix/yousong eip opslog
2020-10-13 10:13:26 +08:00
yunion-ci-robot
db55ef3e04 Merge pull request #8242 from zexi/hotfix/baremetal-pxe-filter-network
baremetal: fix pxe filter network by guest_dhcp
2020-10-13 10:12:29 +08:00
Zexi Li
5018b091fb Merge pull request #8232 from rainzm/esxi/template_fix1
Fix for ESXi Template
2020-10-13 10:06:06 +08:00
Zexi Li
6c8505a736 Merge pull request #8210 from ioito/hotfix/qx-secgroup-purge
fix: validate secgroup purge condition
2020-10-13 10:02:54 +08:00
Zexi Li
ea62a72232 Merge pull request #8234 from swordqiu/feature/qj-session-level-auth-cookie
feature: allow session level yunion_auth cookie
2020-10-13 10:01:51 +08:00
Zexi Li
8035ea0d77 Merge pull request #8246 from swordqiu/hotfix/qj-output-details-wrong-project-id
fix: project_id in resource details not correct
2020-10-13 10:00:06 +08:00
Zexi Li
54f75d3890 Merge pull request #8248 from ioito/hotfix/qx-qcloud-instance-bandwidth
fix: qcloud instance with max bandwidth
2020-10-13 09:57:12 +08:00
yunion-ci-robot
9dd48de668 Merge pull request #8256 from zhasm/hotfix/rex-fix-root-ownership
解决编译之后 output 的 owerner 问题
2020-10-12 19:22:27 +08:00
Yousong Zhou
b44ac491c1 eip: NewEipForVMOnHost: add opslog 2020-10-12 18:23:20 +08:00
Yousong Zhou
83f5a38c2a eip: construct a pointer type 2020-10-12 18:23:20 +08:00
Zhang Dongliang
54f86817d1 解决编译之后 output 的 owerner 问题 2020-10-12 18:11:21 +08:00
rainzm
bffa601dc4 fix(esxi): use system disk of template only when cloning vm
1. Create a driver if necessary.
2. After cloning the virtual machine, remove all data disks.
3. Create new data disks.
2020-10-12 17:30:46 +08:00
rainzm
d4c9e6e562 fix(esxi): search template from whole vCenter 2020-10-12 17:30:46 +08:00
Qu Xuan
bb62c03923 fix: qcloud instance with max bandwidth 2020-10-12 16:28:57 +08:00
yunion-ci-robot
8e9617ac8c Merge pull request #8252 from lvyangyang/fix/vpc_peering_httperror
fix: vpc peering http error params
2020-10-12 16:24:27 +08:00
yunion-ci-robot
749dabc7ca Merge pull request #8237 from swordqiu/hotfix/qj-pass-make-test-20201011
fix: format errors that block make test
2020-10-12 16:09:23 +08:00
lvyangyang
db7d32cd17 fix: vpc peering http error params 2020-10-12 15:22:53 +08:00
yunion-ci-robot
11a56c10ff Merge pull request #8235 from swordqiu/hotfix/qj-clean-pending-domain-usage
fix: not clean pending domain usage
2020-10-12 15:04:21 +08:00
yunion-ci-robot
a8eb402687 Merge pull request #8126 from rainzm/esxi/ip
Feats for ESXi Manage
2020-10-12 15:01:18 +08:00
rainzm
a4527aec5d feat: add vlanId for suggested network 2020-10-12 14:24:24 +08:00
yunion-ci-robot
26b54923b9 Merge pull request #7952 from lvyangyang/vpc-peering-connection
Vpc peering connection
2020-10-12 14:21:18 +08:00
Qiu Jian
187dee690e fix: project_id in resource details not correct 2020-10-12 14:18:02 +08:00
yunion-ci-robot
95cd5d5d3a Merge pull request #8238 from swordqiu/hotfix/qj-ldap-sync-not-update-email-phone
fix: ldap sync not update user's phone and email
2020-10-12 11:54:19 +08:00
Zexi Li
129001dfb4 baremetal: fix pxe filter network by guest_dhcp 2020-10-12 11:34:30 +08:00
lvyangyang
bd22eb0b16 add: vpc peering connection 2020-10-12 10:34:23 +08:00
rainzm
48940c77ae feat(esxi): support fake template vm via regex filter 2020-10-12 10:12:58 +08:00
rainzm
e0aa673575 feat: filter esxi ip by CIDR 2020-10-12 10:12:55 +08:00
Qiu Jian
13fa3c2999 fix: ldap sync not update user's phone and email 2020-10-11 05:42:51 +08:00
Qiu Jian
5e5b0613f8 fix: format errors that block make test 2020-10-11 05:12:34 +08:00
Qiu Jian
624c4db06f fix: not clean pending domain usage 2020-10-11 04:33:08 +08:00
Qiu Jian
2a6445c31b feature: allow session level yunion_auth cookie 2020-10-11 03:09:11 +08:00
rainzm
fc6a30b209 feat(region): make address recommendations more precise
1. 虚拟机的网络推荐不再是一整个C段网络,而是存在的连续IP组成的网段,
这样更准确,用户可以根据自己的需要,合并或者扩充建议的网段
2. 使用 DefaultNetworkGatewayAddressEsxi 来配置子网默认的网关地址。
2020-10-10 20:48:23 +08:00
rainzm
4b860cb43e feat: add 'ip-list' for esxicli 2020-10-10 20:48:20 +08:00
wanyaoqi
e64fe802e0 genreate api models 2020-10-10 20:07:22 +08:00
wanyaoqi
dcdf45d184 add interface freeze virtual resource 2020-10-10 20:07:11 +08:00
yunion-ci-robot
4e901bda63 Merge pull request #8194 from rainzm/esxiagent/fix_nil
fix(esxi): check nil value when NewVirtualMachine
2020-10-10 19:03:48 +08:00
yunion-ci-robot
ed522b4c8b Merge pull request #8214 from tb365/bugfix/tb-bugfix-101001
remove aws lbbg cache metedata
2020-10-10 18:54:19 +08:00
yunion-ci-robot
91a7e10e88 Merge pull request #8213 from zhaoxiangchun/bugfix/zxc-commonalert
Bugfix/zxc commonalert
2020-10-10 17:11:18 +08:00
yunion-ci-robot
d4b70586c2 Merge pull request #8225 from zhasm/hotfix/rex-esxi-agent-arm64-patch
esxi-agent 编译方式兼容 arm64
2020-10-10 16:20:46 +08:00
rex zhasm
343b718b5b Merge branch 'master' into hotfix/rex-esxi-agent-arm64-patch 2020-10-10 16:10:03 +08:00
yunion-ci-robot
7bebf9007a Merge pull request #8218 from yousong/bugfix/yousong-webconsole-ssh-compat
Bugfix/yousong webconsole ssh compat
2020-10-10 15:34:51 +08:00
Zhang Dongliang
eda8be1be8 esxi-agent 编译方式兼容 arm64 2020-10-10 14:56:59 +08:00
zhaoxiangchun
3d9923a7c0 Add web url to alarm template 2020-10-10 14:50:00 +08:00
zhaoxiangchun
c0eae040a8 bugfix:scoperesource FilterByOwner
1.调度标签 和 优化建议 FilterByOwner 逻辑调整
2020-10-10 14:50:00 +08:00
Yousong Zhou
aa6e45e4d9 webconsole: ssh: add keyboard-interactive as an option
For ESXi 6.0

  Authentications that can continue: publickey,keyboard-interactive
2020-10-10 14:39:02 +08:00
Yousong Zhou
cce2af5010 webconsole: ssh: each argument on its own line 2020-10-10 14:39:02 +08:00
TangBin
1ce5db7695 remove aws lbbg cache metedata 2020-10-10 14:17:19 +08:00
yunion-ci-robot
046e4e3d6c Merge pull request #8199 from rainzm/cloudaccount/pn_fix
Fix for cloudaccount PrepareNets
2020-10-10 13:44:11 +08:00
yunion-ci-robot
0fb262783d Merge pull request #8189 from wanyaoqi/feature/wyq/support-list-macs
region: guest detail add field macs
2020-10-10 12:15:08 +08:00
yunion-ci-robot
8b0217051d Merge pull request #8207 from ioito/hotfix/qx-instance-hostname
fix: qcloud set hostname for instance
2020-10-10 12:05:07 +08:00
yunion-ci-robot
970523ee15 Merge pull request #8183 from yousong/bugfix/yousong-ovn-dhcp-time
vpcagent: ovn: increase dhcp lease, renew, rebind time
2020-10-10 11:54:09 +08:00
Qu Xuan
6f23593290 fix: validate secgroup purge condition 2020-10-10 11:53:40 +08:00
rainzm
e010c5c1f6 fix: avoid slice out of bounds 2020-10-10 11:50:04 +08:00
Qu Xuan
aa7495c9a6 fix: qcloud set hostname for instance 2020-10-10 11:37:41 +08:00
yunion-ci-robot
1867c15d7b Merge pull request #8205 from swordqiu/hotfix/qj-cached-image-filter-by-host-schedtag
fix: filter cached images with host schedtag
2020-10-10 11:35:09 +08:00
yunion-ci-robot
3dc572ff56 Merge pull request #8202 from swordqiu/hotfix/qj-auto-index-start-from-1
fix: server name auto index should start from 1
2020-10-10 11:35:04 +08:00
rainzm
01ba4b9524 fix(esxi): check nil value when NewVirtualMachine 2020-10-10 11:19:24 +08:00
rainzm
e4217074c3 fix(esxi): filter linkLocalAddress 2020-10-10 10:31:30 +08:00
rainzm
3c59d7fece fix(esxi): check whether some fields of vm are nil 2020-10-10 10:31:25 +08:00
Qiu Jian
1c0c66fd41 fix: filter cached images with host schedtag 2020-10-10 06:54:05 +08:00
Qiu Jian
a08a779edf fix: server name auto index should start from 1 2020-10-10 06:21:09 +08:00
yunion-ci-robot
b11e472706 Merge pull request #8152 from zhasm/hotfix/rex-host-arm64-alpine-base-image
multi-arch 的镜像使用支持 arm64
2020-10-09 12:59:01 +08:00
wanyaoqi
54275ddcf5 region: guest detail add field macs 2020-10-09 11:46:03 +08:00
Qu Xuan
35e57a8336 fix: avoid qcloud secgroup cache name not sync 2020-10-09 10:46:59 +08:00
rex zhasm
86f28388bf Merge branch 'master' into hotfix/rex-host-arm64-alpine-base-image 2020-10-09 10:43:08 +08:00
yunion-ci-robot
65cfd4108f Merge pull request #8176 from zhaoxiangchun/bugfix/zxc-commonalert
modify suggest rule cli
2020-10-09 10:33:59 +08:00
Yousong Zhou
39f979398b vpcagent: ovn: increase dhcp lease, renew, rebind time 2020-10-09 10:07:18 +08:00
yunion-ci-robot
d6d4724e2c Merge pull request #8178 from swordqiu/hotfix/qj-bucket-not-found-error
fix: error code of external bucket not found error should be 404
2020-10-09 09:11:59 +08:00
yunion-ci-robot
1892c37dd7 Merge pull request #8181 from swordqiu/hotfix/qj-network-merge-no-continuous
hotfix: 1. allow merge networks without continuous addresses 2. filter guest_ip_start and guest_ip_end with contains operator
2020-10-09 09:09:00 +08:00
Qiu Jian
6a55acafaf hotfix: 1. allow merge networks without continuous addresses 2. filter
guest_ip_start and guest_ip_end with contains operator
2020-10-07 23:28:12 +08:00
Qiu Jian
6a5fdc5d0d fix: error code of external bucket not found error should be 404 2020-09-30 17:39:55 +08:00
zhaoxiangchun
af9e911fd0 modify suggest rule cli
1.增加perform config方法,方便修改默认规则:执行周期,扫描窗口的属性
2020-09-30 17:15:28 +08:00
yunion-ci-robot
bc16b008c4 Merge pull request #8173 from yousong/bugfix/yousong-dns-strict-sub
dns: isMyDomain: match only strict subdomain of dns_domain
2020-09-30 16:32:48 +08:00
yunion-ci-robot
b43fa14f8e Merge pull request #8153 from lvyangyang/bugfix/dnsrecord_cname_dup
fix:允许cname record通过policy创建多值
2020-09-30 16:31:50 +08:00
yunion-ci-robot
ad56d53eaf Merge pull request #8168 from swordqiu/hotfix/qj-wire-sync-shared-info
fix: emulated wire not sync vpc shared info
2020-09-30 16:17:47 +08:00
Yousong Zhou
a67026dec0 dns: isMyDomain: match only strict subdomain of dns_domain 2020-09-30 16:14:23 +08:00
yunion-ci-robot
040efbc82d Merge pull request #8171 from ioito/hotfix/qx-dnszone-cache-policy
fix: 允许域管理员可以看到共享的dns zone cache列表
2020-09-30 16:13:47 +08:00
Qu Xuan
24fcccf5f5 fix: 允许域管理员可以看到共享的dns zone cache列表 2020-09-30 15:55:37 +08:00
Qiu Jian
c5cfceeb97 fix: emulated wire not sync vpc shared info 2020-09-30 15:52:05 +08:00
lvyangyang
68283ceedb fix:允许cname record通过policy多值 2020-09-30 12:17:38 +08:00
yunion-ci-robot
c379ab7615 Merge pull request #8163 from swordqiu/hotfix/qj-oidc-auth-response-user-info
fix: oidc response user's info
2020-09-30 12:11:47 +08:00
yunion-ci-robot
906909c0ac Merge pull request #8165 from swordqiu/hotfix/qj-revert-scoped-resource-filter-by-owner
fix: revert filter-by-owner changes of scoped resource
2020-09-30 12:07:51 +08:00
Qiu Jian
be4a76b253 fix: oidc response user's info 2020-09-30 11:54:57 +08:00
Qiu Jian
4e4ea5e6b5 fix: revert filter-by-owner changes of scoped resource 2020-09-30 11:32:06 +08:00
yunion-ci-robot
7b632e0105 Merge pull request #8159 from tb365/bugfix/tb-bugfix-092901
aliyun public elb region fix
2020-09-29 23:28:50 +08:00
yunion-ci-robot
47b2ae9435 Merge pull request #8151 from swordqiu/hotfix/qj-mcclient-readme-sample
add mcclient sample
2020-09-29 20:22:33 +08:00
yunion-ci-robot
fd95290d55 Merge pull request #8145 from lvyangyang/bugfix/public_domain_name_validate
fix:forbid top level public domain name
2020-09-29 20:19:09 +08:00
TangBin
44e9cf0491 aliyun public elb region fix 2020-09-29 20:01:55 +08:00
yunion-ci-robot
8fcc4f12f3 Merge pull request #8076 from zhaoxiangchun/bugfix/zxc-commonalert
bugfix:commonalert
2020-09-29 19:17:34 +08:00
Zhang Dongliang
0b3afa9ebe multi-arch 的镜像使用使用支持 arm64 2020-09-29 19:15:17 +08:00
Zexi Li
c0eb02fb1c Merge pull request #8154 from tb365/bugfix/tb-bugfix-092901
aliyun public elb brand fix
2020-09-29 18:19:25 +08:00
zhaoxiangchun
1c7deaf7b6 bugfix commalert 3.4
1.后端先隐藏rds,redis,oss等相关信息
2.报警通知中规则描述增加单位信息
3.调整优化建议规则相关逻辑
2020-09-29 18:07:59 +08:00
TangBin
d71a1f8670 aliyun public elb brand fix 2020-09-29 16:18:46 +08:00
Zhang Dongliang
65e3900ea4 multi-arch 的镜像使用使用支持 arm64 2020-09-29 14:37:25 +08:00
Qiu Jian
a4bedc7e2e add mcclient sample 2020-09-29 14:24:23 +08:00
yunion-ci-robot
ccb174bd2f Merge pull request #8149 from ioito/hotfix/qx-dns-record-list
fix: allow domain admin view shared dns zone records
2020-09-29 12:23:34 +08:00
yunion-ci-robot
827ba932f1 Merge pull request #8146 from ioito/hotfix/qx-dns-zone-cache-status
fix: avoid sync dns zone cache status is init
2020-09-29 12:20:33 +08:00
Qu Xuan
d45d48806b fix: allow domain admin view shared dns zone records 2020-09-29 11:19:49 +08:00
lvyangyang
4435255f44 fix:forbid top level public domain name 2020-09-29 11:02:39 +08:00
yunion-ci-robot
341ad0c19f Merge pull request #8101 from rainzm/cloudaccount/fix1
fix(region): set ownerId as userCred when can't FetchOwnerId
2020-09-29 10:41:39 +08:00
Qu Xuan
9d76c3e029 fix: avoid sync dns zone cache status is init 2020-09-29 10:38:18 +08:00
yunion-ci-robot
7be60e3314 Merge pull request #8143 from zexi/hotfix/k8s-fed-rolebinding-joint
mcclient modules: fix k8s fed rolebinding joint wrong resource manager
2020-09-29 10:35:36 +08:00
Zexi Li
c7e8287c67 mcclient modules: fix k8s fed rolebinding joint wrong resource manager 2020-09-29 08:25:48 +08:00
yunion-ci-robot
22013a0f36 Merge pull request #8141 from swordqiu/hotfix/qj-filter-storage-by-host-schedtag
fix: filter storages by host schedtag
2020-09-29 01:20:35 +08:00
Qiu Jian
69561b40f5 fix: filter storages by host schedtag 2020-09-29 00:14:06 +08:00
zhaoxiangchun
342706eb74 Merge branch 'master' of https://github.com/yunionio/onecloud into bugfix/zxc-commonalert 2020-09-28 19:05:14 +08:00
yunion-ci-robot
586ed7a4fe Merge pull request #8139 from zhaoxiangchun/bugfix/zxc-esxi-vm-mon
bugfix :esxi 多机器环境下拉取监控超时
2020-09-28 18:27:33 +08:00
zhaoxiangchun
dd6167a1a4 Merge branch 'master' of https://github.com/yunionio/onecloud into bugfix/zxc-commonalert 2020-09-28 18:17:26 +08:00
zhaoxiangchun
6154f46a64 bugfix :esxi 多机器环境下拉取监控超时
1.简化mo.virtualMachine 实体中的属性
2.批量获取cloudprovider下所有的虚拟机的监控信息
2020-09-28 18:07:22 +08:00
Zexi Li
0d6c825ee8 Merge pull request #8137 from zexi/hotfix/host-spec-model
region: host specs replace space char to '_'
2020-09-28 17:46:51 +08:00
Zexi Li
eb093a3459 region: host specs replace space char to '_' 2020-09-28 17:37:18 +08:00
Zexi Li
ed148ce20e Merge pull request #8135 from zexi/hotfix/spec-query-escape
specs: fix specKey url not escape
2020-09-28 17:01:40 +08:00
Zexi Li
bf682f5659 specs: fix specKey url not escape 2020-09-28 16:50:42 +08:00
yunion-ci-robot
459421efb5 Merge pull request #8133 from rainzm/scheduler/fix/instance_group
fix(scheduler): filter InstanceGroup whose enabled is false
2020-09-28 16:40:35 +08:00
yunion-ci-robot
bf90c7900d Merge pull request #8123 from rainzm/notifyclient/fix/template_cache_lang
fix: suffix template cache key
2020-09-28 16:30:33 +08:00
yunion-ci-robot
369dd17ff2 Merge pull request #8086 from lvyangyang/dns_recordset_fix
fix:/dnsrecordset 增加CNAME检查,dnsrecord update的重复检查
2020-09-28 16:28:34 +08:00
Zexi Li
f2b2a13ac0 Merge pull request #8129 from tb365/bugfix/tb-bugfix-092801
aliyun create public lb fix
2020-09-28 16:24:16 +08:00
Rain
ca58fb8d21 fix(scheduler): filter InstanceGroup whose enabled is false 2020-09-28 15:54:12 +08:00
TangBin
2de610a3a6 aliyun create public lb fix 2020-09-28 11:58:54 +08:00
yunion-ci-robot
b4c58ed9a1 Merge pull request #8121 from zexi/hotfix/spec-resource-include-details
region: fix query object by spec not include details
2020-09-27 22:10:37 +08:00
rainzm
5f10a9a39c fix: suffix template cache key 2020-09-27 21:07:11 +08:00
yunion-ci-robot
87fc96e01a Merge pull request #8116 from wanyaoqi/bugfix/wyq/host-storage
bugfix: nfs storage umount on detach
2020-09-27 21:03:36 +08:00
Zexi Li
88514a9fc2 region: fix query object by spec not include details 2020-09-27 20:46:56 +08:00
lvyangyang
ed99a69811 fix:/dnsrecordset重复检查,dnszonevpc数量 2020-09-27 20:21:54 +08:00
yunion-ci-robot
4617602e54 Merge pull request #8114 from swordqiu/hotfix/qj-filter-by-host-schedtag-id
fix: filter cloudprovider/network by host-schedtag-id
2020-09-27 19:56:37 +08:00
wanyaoqi
4ec1727d72 increase rbd check timeout 2020-09-27 18:30:53 +08:00
wanyaoqi
24eaf51210 umount nfs on detach storage 2020-09-27 18:30:17 +08:00
Qiu Jian
23a18a81f4 fix: filter cloudprovider/network by host-schedtag-id 2020-09-27 17:58:25 +08:00
Qu Xuan
ef3d74f4ea fix: 支持公有云域过滤操作日志 2020-09-27 16:53:02 +08:00
yunion-ci-robot
d7585cfdfe Merge pull request #8110 from ioito/hotfix/qx-dns-zonecache-owner
fix: dns zone cache owner info
2020-09-27 16:51:34 +08:00
yunion-ci-robot
41b028f047 Merge pull request #8087 from tb365/bugfix/tb-bugfix-092401
Bugfix/tb bugfix 092401
2020-09-27 15:09:32 +08:00
Zexi Li
d9ef31e424 Merge pull request #8084 from ioito/hotfix/qx-openstack-zone-emulate
fix: openstack zone not emulated
2020-09-27 14:46:49 +08:00
yunion-ci-robot
dbff0300b0 Merge pull request #8109 from swordqiu/hotfix/qj-vpc-schedtag-set-user-metadata
fix: add climc support vpc/schedtag user metadata
2020-09-27 14:46:32 +08:00
Zexi Li
e1793b4a7f Merge pull request #8088 from wanyaoqi/bugfix/wyq/set-stagefail-on-cleanfail
bugfix: set stagefail on clean  snapshot fail
2020-09-27 14:45:51 +08:00
yunion-ci-robot
be109073e6 Merge pull request #8099 from rainzm/esxi/fix5
Fix of Syncing Schedtag
2020-09-27 14:45:33 +08:00
yunion-ci-robot
a7330d1355 Merge pull request #8107 from ioito/hotfix/qx-disk-create-prefer-manager
fix: allow create disk prefer manager
2020-09-27 14:44:35 +08:00
Qu Xuan
a14b4e590e fix: dns zone cache owner info 2020-09-27 14:29:16 +08:00
Qu Xuan
74cb19cd88 fix: allow create disk prefer manager 2020-09-27 14:18:21 +08:00
Qiu Jian
bd122a01fd fix: add climc support vpc/schedtag user metadata 2020-09-27 12:00:23 +08:00
yunion-ci-robot
9c1c21e875 Merge pull request #8059 from ioito/hotfix/qx-batch-create-guest
fix: avoid serial vm creation
2020-09-26 23:18:33 +08:00
yunion-ci-robot
66c5fd4971 Merge pull request #8104 from zexi/hotfix/schedtag-remove-resoruce
region: fix schedtag joint resource master/slave field wrong order
2020-09-26 08:48:31 +08:00
Zexi Li
e3b25201ad Merge pull request #8095 from ioito/hotfix/qx-avoid-clean-storage
fix: avoid purge storages
2020-09-25 20:54:37 +08:00
Zexi Li
0113ec40c2 region: fix schedtag joint resource master/slave field wrong order 2020-09-25 20:49:05 +08:00
rainzm
dbb1d80729 fix(region): set ownerId as userCred when can't FetchOwnerId 2020-09-25 20:33:44 +08:00
rainzm
fc9b61c2a9 fix:(region) correct syncSchedtags
1.把extTagName存到metadata里面,这样就算修改tag的name,也能在metadata里面拿到。
2.已经创建的schedtag就不要重复创建了。
2020-09-25 20:26:46 +08:00
rainzm
370e7723ba fix(esxi): Guarantee the uniqueness of the schedtag for esxi host
Replace 'cluster:<clustername>' with
'cluster:/<cloudprovidername>/<dcname>/<clustername>'.
2020-09-25 20:26:46 +08:00
Qu Xuan
a8996ec9d1 fix: avoid purge storages 2020-09-25 19:14:59 +08:00
wanyaoqi
d13cc99495 set stagefail on clean fail 2020-09-25 18:38:54 +08:00
Zexi Li
96ecfde984 Merge pull request #8075 from ioito/upstream/qx-cross-domain-resource-sync
fix: allow cross doamin resource sync
2020-09-25 16:56:23 +08:00
ioito
a31339f687 fix: openstack zone not emulated 2020-09-25 16:14:12 +08:00
ioito
eaef5a7575 fix: allow cross doamin resource sync 2020-09-25 15:48:54 +08:00
Zexi Li
a88e2f8573 Merge pull request #8077 from ioito/hotfix/qx-account-delete
fix: avoid account delete failed
2020-09-25 12:11:32 +08:00
Zexi Li
f7bb7be6cb Merge pull request #8017 from rainzm/esix/sta
Statistics AutualCapacityUsed for Storage
2020-09-25 12:08:25 +08:00
Zexi Li
e97a4b9e34 Merge pull request #8080 from zexi/hotfix/climc-k8s-sync
climc: add k8s fed resource sync action
2020-09-25 12:06:07 +08:00
TangBin
1d044f7126 huawei client request add throttling control 2020-09-25 12:05:59 +08:00
Zexi Li
594d2f434a Merge pull request #8002 from lvyangyang/openstack_vm_deleted_status
fix: disk delete error
2020-09-25 11:14:51 +08:00
yunion-ci-robot
aaab5c1bb5 Merge pull request #8054 from rainzm/esxi/cluster
Sync cluster for ESXi Host
2020-09-25 11:04:26 +08:00
ioito
8c0776c2ae fix: avoid account delete failed 2020-09-25 10:51:44 +08:00
zhaoxiangchun
6037c84a58 bugfix:commonalert
1.suggestrule cli 调整
2020-09-25 10:41:45 +08:00
rainzm
390cc11e7a feat(region): sync capacityUsed for storage after deploying or deleting guest 2020-09-25 10:33:45 +08:00
rainzm
0bd75b7bc0 feat(region): sync schedtags when syncing host 2020-09-25 10:28:57 +08:00
Zexi Li
1569422ed5 Merge pull request #8056 from ioito/hotfix/qx-google-attach-disk
fix: 仅在可用区故障时可强制挂载磁盘
2020-09-25 01:40:44 +08:00
Zexi Li
df08ea35fc Merge pull request #8013 from lvyangyang/error-info-fix
fix: dns 错误信息补全
2020-09-25 01:39:47 +08:00
Zexi Li
6830851925 Merge pull request #8068 from ioito/hotfix/qx-openstack-keypair
fix: avoid compare err with cloudprovider.ErrNotFound direct
2020-09-25 01:38:15 +08:00
Zexi Li
7561938c1c Merge pull request #8063 from rainzm/cloudaccount/fix/preparenet
fix(region): fetch correct ownerId in PerformPrepareNets
2020-09-24 21:21:37 +08:00
Zexi Li
09f742438f Merge pull request #8071 from ioito/hotfix/qx-sql-err
fix: sql err
2020-09-24 21:19:08 +08:00
ioito
1b91060323 fix: sql err 2020-09-24 20:20:14 +08:00
ioito
cb919f2880 fix: avoid compare err with cloudprovider.ErrNotFound direct 2020-09-24 20:13:44 +08:00
TangBin
d8832a1670 huawei elb get params log 2020-09-24 20:10:40 +08:00
rainzm
0bda9e7514 feat(region): sync CapacityUsed for Storage 2020-09-24 19:55:24 +08:00
rainzm
fd14e7b6c8 feat: add GetCapacityUsedMB for ICloudStorage 2020-09-24 19:55:24 +08:00
rainzm
56d24dfa99 refactor(region): replace 'ActualCapacity' with 'ActualCapacityUsed' 2020-09-24 19:55:24 +08:00
TangBin
35d1553362 qcloud elb create listener fix 2020-09-24 18:31:21 +08:00
Zexi Li
037fa814ff climc: add k8s fed resource sync action 2020-09-24 18:12:21 +08:00
rainzm
60490c75de fix(region): fetch correct ownerId in PerformPrepareNets 2020-09-24 17:22:22 +08:00
TangBin
faeb294d56 huawei snapshot delete fix 2020-09-24 17:02:24 +08:00
ioito
f7010a6d7b fix: avoid serial vm creation 2020-09-24 16:39:56 +08:00
ioito
0a4bd281de fix: 仅在可用区故障时可强制挂载磁盘 2020-09-24 15:31:54 +08:00
rainzm
1cb286080a feat(esxi): add GetSchedtags implementation for esxi.SHost 2020-09-24 15:18:57 +08:00
rainzm
c9039f9478 feat: add GetSchedtags for ICloudHost 2020-09-24 15:17:36 +08:00
yunion-ci-robot
9a7eae6e03 Merge pull request #8049 from zexi/hotfix/climc-k8s-opt
climc: refactor k8s sub command
2020-09-24 10:58:17 +08:00
yunion-ci-robot
392849b6e4 Merge pull request #8007 from rainzm/task/withLang
Fix & Feat of Notify or Lang
2020-09-24 10:43:19 +08:00
yunion-ci-robot
20009e74bc Merge pull request #8051 from zhaoxiangchun/bugfix/zxc-commonalert
commonalert bugfix 3.4
2020-09-24 10:24:19 +08:00
lvyangyang
13823d41e1 wait deleted 2020-09-24 09:54:55 +08:00
Zexi Li
732a0a39f9 Merge pull request #8029 from ioito/hotfix/qx-account-delete
fix: avoid account delete failed
2020-09-23 23:51:18 +08:00
Zexi Li
f518d8e702 Merge pull request #8048 from swordqiu/hotfix/qj-scope-resource-filter-by-owner
fix: scope resource filter by owner
2020-09-23 23:49:17 +08:00
Zexi Li
e2604d5311 climc: refactor k8s sub command 2020-09-23 23:43:12 +08:00
yunion-ci-robot
b42280f4bf Merge pull request #8031 from wanyaoqi/feature/wyq/support-mutli-params
apigateway: support mutli params
2020-09-23 23:13:23 +08:00
zhaoxiangchun
475c81c58c commonalert bugfix 3.4 2020-09-23 21:41:13 +08:00
yunion-ci-robot
d3eb0666c6 Merge pull request #8024 from swordqiu/feature/qj-apigateway-userinfo-include-project-metadata
fix: apigateway userinfo includes project metadata
2020-09-23 21:22:22 +08:00
yunion-ci-robot
28a5043d6d Merge pull request #8014 from wanyaoqi/feature/wyq/support-search-ip
feature: search eip
2020-09-23 21:21:19 +08:00
Qiu Jian
4a27d49123 fix: scope resource filter by owner 2020-09-23 21:21:07 +08:00
rainzm
c5a78a9028 fix: use i18n.Table to handle Chinese-English conversion 2020-09-23 21:20:06 +08:00
rainzm
8eb420e42c feat: log err when sending notification via notifyclient 2020-09-23 21:20:06 +08:00
rainzm
43d45a1b4d fix(region): split brand as 'YunionCloud' and '云联壹云' when notify server event 2020-09-23 21:20:06 +08:00
rainzm
e45ddaeb99 feat: inherit lang from ctx fro Task 2020-09-23 21:19:57 +08:00
Zexi Li
08475105ae Merge pull request #8034 from swordqiu/hotfix/qj-role-assignment-filter-group-user
fix: role assignment filter by users not working for effective users in groups
2020-09-23 21:16:04 +08:00
Zexi Li
d8b21ef86d Merge pull request #8011 from ioito/hotfix/qx-cloud-user-sync
fix: 避免添加新账号后长时间未同步iam用户
2020-09-23 21:10:23 +08:00
yunion-ci-robot
92259b8895 Merge pull request #8030 from yousong/feature/yousong-i18n-monitor
Feature/yousong i18n monitor
2020-09-23 21:08:20 +08:00
yunion-ci-robot
365f92160a Merge pull request #8044 from lvyangyang/dnszone_zone_cache_fail
fix: error 值重叠
2020-09-23 21:05:18 +08:00
ioito
8be3cfd223 fix: avoid account delete failed 2020-09-23 20:58:07 +08:00
yunion-ci-robot
96ed797869 Merge pull request #8036 from rainzm/scalinggroup/panicfix
fix(region): add GetSlaveFieldName for ScalingGroupGuestManager
2020-09-23 20:51:31 +08:00
yunion-ci-robot
c32811920f Merge pull request #8026 from ioito/hotfix/qx-qcloud-network-interface
fix: 避免腾讯云同步虚拟机ip异常
2020-09-23 20:50:19 +08:00
yunion-ci-robot
bcb1d143a3 Merge pull request #8041 from zhaoxiangchun/bugfix/zxc-tk-vmware-master
bugfix:esxi collect metric
2020-09-23 20:42:21 +08:00
yunion-ci-robot
44482df710 Merge pull request #8039 from zhasm/hotfix/rex-fix-esxi-agent-dockerfile-typo
fix esxi-agent dockerfile typo
2020-09-23 20:41:21 +08:00
lvyangyang
9b54d58a3d fix: error 值重叠 2020-09-23 20:05:30 +08:00
zhaoxiangchun
418540c79d bugfix:esxi collect metric 2020-09-23 19:45:46 +08:00
Zhang Dongliang
5db1fa686e fix esxi-agent dockerfile typo 2020-09-23 18:55:24 +08:00
Yousong Zhou
0ecdb5cd96 locales: monitor: add translations 2020-09-23 18:42:53 +08:00
Yousong Zhou
50eafd957d monitor: error fmt 2020-09-23 18:42:53 +08:00
rainzm
36f43fba93 fix(region): add GetSlaveFieldName for ScalingGroupGuest 2020-09-23 18:36:57 +08:00
Qiu Jian
6cbd811810 fix: role assignment filter by users not working for effective users in
groups
2020-09-23 17:53:58 +08:00
ioito
1466830595 fix: 避免腾讯云同步虚拟机ip异常 2020-09-23 17:37:35 +08:00
yunion-ci-robot
02446a2659 Merge pull request #8021 from yousong/bugfix/yousong-eip-autoalloc
elasticips: fix calling FilterByOwner
2020-09-23 17:27:18 +08:00
yunion-ci-robot
5480ecd4aa Merge pull request #8019 from zhasm/feature/make-with-arch
make with ARCH argument
2020-09-23 16:39:17 +08:00
Yousong Zhou
63c4818b8a elasticips: error when we have no usable eip network 2020-09-23 16:21:43 +08:00
Qiu Jian
06c1de7c1d fix: apigateway userinfo includes project metadata 2020-09-23 16:03:14 +08:00
Zhang Dongliang
bc6ac93cef make with ARCH argument 2020-09-23 15:49:37 +08:00
Yousong Zhou
382f628287 elasticips: fix calling FilterByOwner 2020-09-23 15:48:56 +08:00
lvyangyang
8f7a59894a fix: dns 错误信息补全 2020-09-23 15:32:25 +08:00
wanyaoqi
6d6e318134 support search ip 2020-09-23 14:24:50 +08:00
ioito
fadb52044c fix: 避免添加新账号后长时间未同步iam用户 2020-09-23 10:32:54 +08:00
yunion-ci-robot
651e12a2de Merge pull request #8009 from ioito/optimized/qx-clouduser-login-info
fix: 优化提取显示主账号名
2020-09-23 10:32:21 +08:00
ioito
9240536857 fix: 优化提取显示主账号名 2020-09-22 21:23:05 +08:00
yunion-ci-robot
9c53c7bf29 Merge pull request #8003 from tb365/bugfix/tb-bugfix-092201
regional network filter bugfix
2020-09-22 21:18:23 +08:00
yunion-ci-robot
12ce2ded4a Merge pull request #7990 from ioito/hotfix/qx-google-not-found
fix: avoid not reture cloudprovider.ErrNotFound error
2020-09-22 21:13:25 +08:00
yunion-ci-robot
ce37cef67a Merge pull request #7998 from ioito/hotfix/qx-eip-create-optimized
optimized: create eip params
2020-09-22 21:10:20 +08:00
rainzm
0879278714 fix(notify): modify name of notification to avoid duplication 2020-09-22 20:17:39 +08:00
rainzm
e47f8a8960 fix(notify): clean verifyNote when mark verified 2020-09-22 20:13:12 +08:00
rainzm
c522b45242 fix(notify): return correct value when sortContactType 2020-09-22 20:13:11 +08:00
TangBin
c8c022733c regional network filter bugfix 2020-09-22 19:58:49 +08:00
yunion-ci-robot
6ccfdfaf74 Merge pull request #7986 from zhaoxiangchun/bugfix/zxc-commonalert
common alert bugfix/3.4
2020-09-22 14:38:19 +08:00
Qu Xuan
17cf23b804 optimized: create eip params 2020-09-22 14:33:43 +08:00
yunion-ci-robot
51a4d9c255 Merge pull request #7991 from zhaoxiangchun/bugfix/zxc-tk-vmware-master
bugfix: collect esxi metric timout
2020-09-22 14:16:22 +08:00
yunion-ci-robot
258c100b5c Merge pull request #7994 from tb365/bugfix/tb-bugfix-0922
ctyun sync secgroup fix & cloudaccount delete fix
2020-09-22 14:07:16 +08:00
TangBin
95e058d062 ctyun sync secgroup fix & cloudaccount delete fix 2020-09-22 13:50:13 +08:00
zhaoxiangchun
f58bca93db common alert bugfix/3.4 2020-09-22 11:36:17 +08:00
zhaoxiangchun
ec3b5c09bd bugfix: collect esxi metric timout
1.增加批量获取esxi中metric的接口
2020-09-22 11:08:52 +08:00
Qu Xuan
37b87d1a50 fix: avoid not reture cloudprovider.ErrNotFound error 2020-09-22 10:41:32 +08:00
yunion-ci-robot
b398456ee6 Merge pull request #7916 from swordqiu/hotfix/qj-keystone-skip-nil-extra-fields
fix: keystone initialize data skip nil extra fields
2020-09-21 19:52:14 +08:00
yunion-ci-robot
378af3b7fa Merge pull request #7918 from swordqiu/hotfix/qj-lock-unlock-cleanup-20200915
fix: lock/unlock cleanup
2020-09-21 19:48:12 +08:00
yunion-ci-robot
cf1b5fb675 Merge pull request #7988 from wanyaoqi/bugfix/wyq/fix=host-deployer-base-image
bugfix: fix host deployer base image
2020-09-21 18:33:16 +08:00
wanyaoqi
1fc5bac7fa fix host deployer base image 2020-09-21 17:28:50 +08:00
yunion-ci-robot
ab388287aa Merge pull request #7980 from yousong/bugfix/yousong-opslog
Bugfix/yousong actionlog
2020-09-21 16:39:11 +08:00
Yousong Zhou
202ded8c9f logger: actionlog: add GetI18N 2020-09-21 15:20:46 +08:00
Yousong Zhou
fb28d96d5a logger: actionlog: remove redundant comments 2020-09-21 15:20:46 +08:00
Yousong Zhou
9fd0f3088f db: IModel: add GetI18N() method 2020-09-21 15:20:46 +08:00
Yousong Zhou
ca8fcb3364 logclient: i18n: en for const 2020-09-21 15:20:46 +08:00
Yousong Zhou
08ef1728d6 logclient: i18n: cn for const 2020-09-21 15:20:46 +08:00
Yousong Zhou
31cea0a736 logclient: convert const val to use latin chars 2020-09-21 15:20:46 +08:00
Yousong Zhou
7f90da555e logclient: move ws list to separate file 2020-09-21 15:20:45 +08:00
Yousong Zhou
ee7b9e2877 logclient: separate lines 2020-09-21 15:20:45 +08:00
Yousong Zhou
642a90146e opslog: move const to separate file 2020-09-21 15:20:45 +08:00
Yousong Zhou
449c96ad5d i18n: add ITable 2020-09-21 15:20:45 +08:00
Yousong Zhou
1c1dcbde45 i18n: move out from httperrors pkg 2020-09-21 10:12:57 +08:00
Yousong Zhou
b075447f95 locales: update translation 2020-09-21 10:12:57 +08:00
Yousong Zhou
152eaa8c50 treewide: avoid variable fmt str 2020-09-21 10:12:57 +08:00
Yousong Zhou
ad52aae79a treewide: fmt error 2020-09-21 10:12:57 +08:00
Yousong Zhou
d21c262c14 httputils: preserve format val types 2020-09-21 10:12:57 +08:00
yunion-ci-robot
e805d0be45 Merge pull request #7975 from swordqiu/hotfix/qj-dell-idrac-jnlp-revisit
fix: get jnlp xml from dell idrac6,7,9
2020-09-21 10:12:18 +08:00
yunion-ci-robot
75ae3f5c87 Merge pull request #7978 from swordqiu/hotfix/qj-user-reset-password
fix: reset user password without check
2020-09-21 10:11:13 +08:00
yunion-ci-robot
a109f68834 Merge pull request #7984 from swordqiu/hotfix/qj-scheduler-token-policy-support
fix: scheduler token not support policy
2020-09-21 10:09:13 +08:00
yunion-ci-robot
57c1b7ead1 Merge pull request #7982 from yousong/bugfix/yousong-i18n
locales: update translations
2020-09-20 00:22:15 +08:00
Yousong Zhou
69c7af840a locales: update translations 2020-09-19 23:41:42 +08:00
Qiu Jian
c516525dbb fix: scheduler token not support policy 2020-09-19 23:39:54 +08:00
Qiu Jian
b5f01171dd fix: reset user password without check 2020-09-19 00:48:53 +08:00
Qiu Jian
eea88ffbe6 fix: get jnlp xml from dell idrac6,7,9 2020-09-18 23:45:24 +08:00
yunion-ci-robot
d8bc3b35f5 Merge pull request #7970 from swordqiu/hotfix/qj-esxilci-vmrc-webmks-cmds
fix: add esxicli vmrc/webmks command
2020-09-18 21:06:40 +08:00
Zexi Li
076ec479cd Merge pull request #7966 from tb365/bugfix/tb-ctyun-0916
ctyun add region cn-bj1
2020-09-18 21:04:42 +08:00
yunion-ci-robot
d5daa20d9a Merge pull request #7973 from rainzm/notify/fix5
fix(notify): allow normal user create their receiver
2020-09-18 21:02:43 +08:00
rainzm
5bfc3128c3 fix(notify): allow normal user create their receiver 2020-09-18 17:14:21 +08:00
yunion-ci-robot
3583cb2763 Merge pull request #7927 from wanyaoqi/feature/wyq/host-sync-storage-size
feature: host sync storage actual size
2020-09-18 16:53:48 +08:00
Qiu Jian
5a8ee9d91c fix: add esxicli vmrc/webmks command 2020-09-18 14:35:33 +08:00
TangBin
4a36f82f73 ctyun add region cn-bj1 2020-09-18 14:15:54 +08:00
Zexi Li
c114a85d18 Merge pull request #7961 from zexi/hotfix/network-delete-schedtag
region: fix network schedtag not cleanup when network deleted
2020-09-18 10:43:00 +08:00
Zexi Li
b859f3ba3e region: fix network schedtag not cleanup when network deleted 2020-09-18 10:31:26 +08:00
wanyaoqi
f4c1a3ea59 support mutli params 2020-09-17 23:18:12 +08:00
Zexi Li
6e288c20f4 Merge pull request #7959 from zexi/feature/k8s-federated
climc: add k8s federated resource cmd
2020-09-17 15:39:22 +08:00
yunion-ci-robot
aba008bc75 Merge pull request #7954 from zexi/hotfix/joint-model-get
cloudcommon: get joint model should aware fieldname
2020-09-16 22:07:14 +08:00
yunion-ci-robot
0800ee7b90 Merge pull request #7941 from zhaoxiangchun/feature/zxc-suggest-3.4
suggest rule modify:
2020-09-16 21:42:20 +08:00
Zexi Li
3f80593611 Merge pull request #7953 from wanyaoqi/bugfix/wyq/host-cach-image
bugfix: fix set host image cache properties
2020-09-16 21:37:55 +08:00
Zexi Li
ffbbbb18ee Merge pull request #7912 from ioito/hotfix/qx-project-auto-rename
fix: 支持自动根据云上项目修改本地项目名称
2020-09-16 21:34:56 +08:00
Zexi Li
742e455717 climc: add k8s federated resource cmd 2020-09-16 21:30:43 +08:00
yunion-ci-robot
1bce1bab64 Merge pull request #7945 from wanyaoqi/bugfix/wyq/scheduler-isolated-device-fix
scheduler: fix fillter isolated device
2020-09-16 21:04:52 +08:00
yunion-ci-robot
40893c09a0 Merge pull request #7943 from lvyangyang/dns-duprecord
dup record process
2020-09-16 20:59:09 +08:00
yunion-ci-robot
9ecebc1671 Merge pull request #7948 from wanyaoqi/bugfix/wyq/update-image-status
glance: fix update image status after save failed
2020-09-16 20:56:11 +08:00
wanyaoqi
c6eecebed0 fix set host image cache properties 2020-09-16 20:50:12 +08:00
Zexi Li
1af48dc73d cloudcommon: get joint model should aware fieldname 2020-09-16 20:49:51 +08:00
Qu Xuan
466d961355 fix: feature: vpc peering connection support 2020-09-16 19:41:01 +08:00
wanyaoqi
686b639979 fix update image status after save failed 2020-09-16 19:00:31 +08:00
wanyaoqi
1f51af3a61 scheduler: fix fillter isolated device 2020-09-16 18:30:38 +08:00
lvyangyang
ff4bde696c dup record process 2020-09-16 18:13:33 +08:00
wanyaoqi
50a85b73ee host sync storage size 2020-09-16 17:53:32 +08:00
zhaoxiangchun
9a2267230d suggest rule modify:
1.规则由后端初始化,默认禁用
2.规则period默认为12h,扫描范围timeFrom默认为14d
3.增加notify相关的模版文件
4.更改消息重复发送的问题
2020-09-16 12:08:03 +08:00
Zexi Li
5e0a26eaa2 Merge pull request #7938 from zhaoxiangchun/bugfix/zxc-esxi-vm-mon
bugfix vmware monitor
2020-09-16 11:34:56 +08:00
Zexi Li
1185082f3b Merge pull request #7935 from swordqiu/hotfix/qj-disable-qcloud-verifyAppId
fix: disable qcloud verifyAppId temporarily
2020-09-16 11:33:48 +08:00
Zexi Li
240913649b Merge pull request #7909 from ioito/hotfix/qx-qcloud-doc
fix: add doc for qcloud
2020-09-16 11:33:03 +08:00
Zexi Li
0bcaeda09d Merge pull request #7910 from rainzm/notify/ti
Feat & Fix of Notify
2020-09-16 11:32:41 +08:00
Zexi Li
44a2cf1c16 Merge pull request #7925 from ioito/hotfix/qx-cloudgroup-dup-name
fix: 避免名称重复
2020-09-16 11:31:47 +08:00
Zexi Li
5d929e3a61 Merge pull request #7931 from swordqiu/hotfix/qj-omit-empty-fail-reason
fix: omit empty fail reason
2020-09-16 11:31:11 +08:00
yunion-ci-robot
eb8d62e6f3 Merge pull request #7929 from swordqiu/hotfix/qj-enable-generate-name-revisited
fix: enable generate name caused compability issue
2020-09-16 11:30:09 +08:00
Zexi Li
e689c561a4 Merge pull request #7921 from ioito/hotfix/qx-bucket-object-count
fix: bucket object cnt fix
2020-09-16 11:29:53 +08:00
zhaoxiangchun
0842b6f5f7 bugfix vmware monitor 2020-09-16 10:25:04 +08:00
Qiu Jian
01fe002dd7 fix: disable qcloud verifyAppId temporarily 2020-09-16 02:17:34 +08:00
Qiu Jian
b80fa64b6a fix: keystone initialize data skip nil extra fields 2020-09-16 01:58:52 +08:00
Qiu Jian
5a91ae8863 fix: omit empty fail reason 2020-09-16 01:53:29 +08:00
Qiu Jian
1a3acbd056 fix: enable generate name caused compability issue 2020-09-16 01:32:03 +08:00
Qu Xuan
1b3d3310dc fix: 避免名称重复 2020-09-15 19:27:03 +08:00
Qu Xuan
cbd08138b4 fix: bucket object cnt fix 2020-09-15 17:39:29 +08:00
Qiu Jian
41f932e381 fix: lock/unlock cleanup 2020-09-15 12:22:38 +08:00
yunion-ci-robot
e197ff815a Merge pull request #7915 from zexi/hotfix/joint-model-list
cloudcommon: joint model list should add field_name into query
2020-09-15 10:27:12 +08:00
yunion-ci-robot
bf0434804b Merge pull request #7905 from wanyaoqi/bugfix/wyq/webconsole-zombie-killer
webconsole: fix defer order to release zombie process
2020-09-15 10:26:10 +08:00
Zexi Li
a47553a7a2 cloudcommon: joint model list should add field_name into query 2020-09-14 21:32:31 +08:00
Qu Xuan
e86509a884 fix: 支持自动根据云上项目修改本地项目名称 2020-09-14 21:11:08 +08:00
rainzm
77bbb2cfd0 feat(notify): sort the returned contact type array 2020-09-14 20:33:42 +08:00
rainzm
acf1f12790 feat: notify user when failing to change config 2020-09-14 20:31:22 +08:00
rainzm
54c7069d9e feat: add NotifyError in notifyclient
NotifyError send error message to user from userCred.
2020-09-14 20:31:22 +08:00
rainzm
4b49bcec8f feat: add WithCtx version to notifyclient function 2020-09-14 20:31:17 +08:00
Qu Xuan
3c29402c10 fix: add doc for qcloud 2020-09-14 19:25:20 +08:00
wanyaoqi
4f8b80fcc1 webconsole: fix defer order to release zombie process 2020-09-14 18:19:30 +08:00
Zexi Li
4705eba9b3 Merge pull request #7902 from rainzm/cloudaccount/opt_fix
fix(esxi): return when host.Vm is empty
2020-09-14 16:27:59 +08:00
rainzm
08041d55d1 fix(esxi): return when host.Vm is empty 2020-09-14 16:24:31 +08:00
rainzm
ac438282a5 feat(region): divide notify templates into Chinese and English versions
Chinese version: content@cn, title@cn
English version: content@en, title@en
2020-09-14 15:30:20 +08:00
rainzm
654c517240 feat(region): replace 虚拟机 with 主机 or 云主机 2020-09-14 15:16:03 +08:00
yunion-ci-robot
ec769082ea Merge pull request #7899 from ioito/hotfix/qx-qcloud-cos-proxy
fix: cos use proxy
2020-09-14 14:01:08 +08:00
Zexi Li
58d2336a36 Merge pull request #7895 from wanyaoqi/bugfix/wyq/fix-guestdisk-renew
disk: check disk is need renew on guest set renew
2020-09-14 13:01:56 +08:00
Zexi Li
bebf3392d3 Merge pull request #7893 from swordqiu/hotfix/qj-host-assignable-revisited
fix: check host sharing status when considering whether a host is ass…
2020-09-14 13:01:45 +08:00
Zexi Li
2b90620ce1 Merge pull request #7887 from yousong/bugfix/yousong-eip-autoalloc
elasticips: filter by owner when doing auto allocation
2020-09-14 13:00:51 +08:00
Qu Xuan
bb7ad07c20 fix: cos use proxy 2020-09-14 13:00:02 +08:00
wanyaoqi
3ac63f537e disk: check disk is need renew on guest set renew 2020-09-14 12:05:58 +08:00
yunion-ci-robot
bb8ceb4451 Merge pull request #7890 from swordqiu/hotfix/qj-disable-webkms-for-esxi-older-than-6.5
fix: disable webkms for esxi older than 6.5
2020-09-12 23:55:15 +08:00
Qiu Jian
04f036ce2e fix: check host sharing status when considering whether a host is assignable 2020-09-12 19:21:41 +08:00
yunion-ci-robot
be55e9e8cd Merge pull request #7885 from zexi/hotfix/scheduler-specify-net
scheduler: ignore network type when specified
2020-09-12 17:29:01 +08:00
Yousong Zhou
5afbe831d9 elasticips: filter by owner when doing auto allocation 2020-09-12 17:10:19 +08:00
Qiu Jian
239797e33c fix: disable webkms for esxi older than 6.5 2020-09-12 17:05:49 +08:00
Zexi Li
e129d580bd scheduler: ignore network type when specified 2020-09-12 15:56:40 +08:00
Zexi Li
33a5422aed Merge pull request #7883 from rainzm/schedulertask/name
feat(region): change fomat 'id' to 'name(id)' in scheduledtasks' log
2020-09-11 21:06:31 +08:00
yunion-ci-robot
e51e2deaea Merge pull request #7876 from ioito/hotfix/qx-secgroup-optimized
fix: 默认不自动合并安全组
2020-09-11 21:05:58 +08:00
Zexi Li
fee902bb21 Merge pull request #7879 from ioito/hotfix/qx-resource-sync
fix: avoid sync natgateway eip panic
2020-09-11 21:03:31 +08:00
Zexi Li
55358e348e Merge pull request #7870 from rainzm/esxi/workercount
fix(esxiagent): add HostDelayTaskWorkerCount
2020-09-11 20:55:26 +08:00
Zexi Li
15620a9425 Merge pull request #7836 from wanyaoqi/bugfix/wyq/fix-ceph-cache-iso-image
host: fix rbd storage cache iso image
2020-09-11 20:53:54 +08:00
Zexi Li
3c15744895 Merge pull request #7862 from ioito/hotfix/qx-dns-recordset-validate
fix: add dns recordset dns value check
2020-09-11 20:53:16 +08:00
rainzm
33a4f332cb feat(region): change fomat 'id' to 'name(id)' in scheduledtasks' log 2020-09-11 20:34:48 +08:00
Qu Xuan
8e39b7ccb4 fix: 默认不自动合并安全组 2020-09-11 19:21:23 +08:00
Qu Xuan
dab5b6e439 fix: avoid sync natgateway eip panic 2020-09-11 19:16:10 +08:00
rainzm
a0c34a044e fix(esxiagent): add HostDelayTaskWorkerCount
之前,HostDelayWorker 是通过 hostutils.InitWorkerManager 来初始化,
worker的数量依赖于options.HostOptions.DefaultRequestWorkerCount, 因为
这个options没有经过初始化,所以就是0,导致worker count的数量变为1。

现在增加了 HostDelayTaskWorkerCount 来管理这个count,默认值为8。
2020-09-11 17:01:09 +08:00
yunion-ci-robot
6d076cf238 Merge pull request #7859 from ioito/hotfix/qx-migrate-image-data
fix: 平滑迁移数据
2020-09-10 21:37:55 +08:00
yunion-ci-robot
72c5d1f4c4 Merge pull request #7855 from ioito/hotfix/qx-qcloud-vm-keypair
Hotfix/qx qcloud vm keypair
2020-09-10 21:36:54 +08:00
Zexi Li
8ff5bb08b6 Merge pull request #7832 from rainzm/cloudaccount/opt
refactor(region): optimize preparenet of cloudaccount
2020-09-10 21:32:14 +08:00
Qu Xuan
fc8fb8af57 fix: add dns recordset dns value check 2020-09-10 19:07:42 +08:00
Qu Xuan
8284f7b294 fix: 平滑迁移数据 2020-09-10 17:38:32 +08:00
Qu Xuan
a2b9a79065 fix: 腾讯云不支持同时设置秘钥和密码,若设置秘钥,则将密码置空 2020-09-10 17:22:49 +08:00
Qu Xuan
f4ecde37c3 fix: optimized qcloud keypair 2020-09-10 16:30:47 +08:00
rainzm
ed484f4e21 refactor(region): optimize preparenet of cloudaccount
1. 从vcenter中获取host和vm的信息时,只需要获取网络相关的字段就可以了。
2. 每个host的vms,单独启用一个goroutine。
3. 优化了处理vms ip的逻辑,现在的时间复杂度是O(n)。
2020-09-10 15:37:58 +08:00
yunion-ci-robot
8bc444907b Merge pull request #7852 from rainzm/notify/fix4
fix(notify): pull contact for workwx, dingtalk and feishu
2020-09-10 15:18:02 +08:00
yunion-ci-robot
874398d039 Merge pull request #7834 from ioito/hotfix/qx-cachedimage
fix: uniform cachedimage active status
2020-09-10 14:36:02 +08:00
yunion-ci-robot
617407ba22 Merge pull request #7837 from ioito/hotfix/qx-clouduser-logininfo
fix: optimzed clouduser password
2020-09-10 14:33:54 +08:00
rainzm
1517ed79f2 fix(notify): pull contact for workwx, dingtalk and feishu 2020-09-10 14:33:09 +08:00
yunion-ci-robot
9f138b6c2d Merge pull request #7843 from ioito/hotfix/qx-clouduser-opti
fix: optimzed clouduser
2020-09-10 09:49:24 +08:00
yunion-ci-robot
f397a04fdb Merge pull request #7841 from ioito/hotfix/qx-public-zone-create
fix: avoid create public zone failed
2020-09-10 09:47:56 +08:00
yunion-ci-robot
9e97115a4c Merge pull request #7838 from zhaoxiangchun/bugfix/zxc-monitor-alert
commonalert bugfix:
2020-09-10 09:46:54 +08:00
yunion-ci-robot
06db576236 Merge pull request #7831 from swordqiu/hotfix/qj-project-users-recode
fix: recode project-role rpc handle to support group role assignment
2020-09-10 09:44:53 +08:00
yunion-ci-robot
769ef5af83 Merge pull request #7845 from rainzm/esxi/templatefix1
Feat & Fix & Refactor for ESXi
2020-09-10 09:41:57 +08:00
rainzm
3fb175ba7d fix(region): add RequestSyncstatusOnHost for SESXiGuestDriver
esxi 平台 Guest 进行 syncstatus 和其他平台有所区别,Vcenter 可能会更改
 VM 所在的 Host,所以在 Host 上寻找 VM 可能会出现 ErrNotFound。此时,应该
主动去整个 datacenter 中寻找 VM,然后更改 Host,进行同步。
2020-09-09 21:43:29 +08:00
rainzm
5c209fe3dc fix(esxi): fetch templatevm from datacenter before clone vm
这里应该和image_cache那里保持一直,对template的获取应该从datacenter
中获取,而不是host。
2020-09-09 21:33:16 +08:00
rainzm
dcb6db0443 refactor(esxi): replace GetTemplateVMById with FetchTemplateVMById
FetchTemplateVMById 更好,因为它更轻量,更快。
2020-09-09 21:32:49 +08:00
rainzm
14c5e18c22 feat(esxicli): better vm operator
现在,可以通过Datacenter来获取vm,不一定要指定HostIp,
Datacenter和HostIp必须指定一个。
2020-09-09 21:20:13 +08:00
rainzm
0aa9dc6fb7 feat(esxi): support fetchVM form datacenter 2020-09-09 21:20:02 +08:00
rainzm
4d74a97786 refactor(esxi): fetchVms and fetchHardwareInfo
1. fetchHardwareInfo 只有一种error,原因是moVM的某些字段为nil,这种情况下,完全可以打印日志直接返回。
2. fetchVms 现在只返回[]*SVirtualMachine, 进一步的过滤(是不是template)交给调用者。
2020-09-09 20:35:24 +08:00
Qu Xuan
7361da408a fix: optimzed clouduser 2020-09-09 20:11:23 +08:00
Qu Xuan
d9626e3100 fix: avoid create public zone failed 2020-09-09 19:53:56 +08:00
Qiu Jian
332ba04bd1 fix: recode project-role rpc handle to support group role assignment
results by user or project
2020-09-09 18:17:53 +08:00
zhaoxiangchun
a624625520 commonalet bugfix:
1.报警接受人通知渠道调整:由notify中解释发送到对应的channel
2.报警恢复增加对应的evalmatch,保存对应的metricvalue
3.报警记录中增加description相关信息
4.其他代码调整
2020-09-09 18:16:34 +08:00
Qu Xuan
a004470225 fix: optimzed clouduser password 2020-09-09 16:34:07 +08:00
wanyaoqi
9e0ce8722e host: fix rbd storage cache iso image 2020-09-09 15:52:12 +08:00
Qu Xuan
f09bb6682c fix: uniform cachedimage active status 2020-09-09 15:19:46 +08:00
yunion-ci-robot
6ea5995242 Merge pull request #7828 from swordqiu/hotfix/qj-wire-usage-incorrect
fix: wire usage stats incorrect
2020-09-08 20:28:55 +08:00
yunion-ci-robot
791e4ab9b5 Merge pull request #7821 from rainzm/esxi/fix_tem
fix(esxiagent): return image extid not id
2020-09-08 20:24:53 +08:00
yunion-ci-robot
118ae551af Merge pull request #7820 from swordqiu/hotfix/qj-redfish-power-on-ignore-409-error
fix: ignore 409 error when doing redfish power on
2020-09-08 20:23:55 +08:00
Qiu Jian
d7e330f9eb fix: wire usage stats incorrect 2020-09-08 16:39:57 +08:00
rainzm
5789c6dedd fix(esxiagent): return image extid not id
调用 disk/image_cache 接口的Task StorageCacheImageTask 会根据回调
回来数据中的 image_id,来设置 storagecachedimage 中的 externalid,
所以这里的 image_id 应该是 externalid。
2020-09-08 15:23:12 +08:00
Qiu Jian
65141a277c fix: ignore 409 error when doing redfish power on 2020-09-08 15:19:30 +08:00
yunion-ci-robot
a6eb0c19fa Merge pull request #7802 from rainzm/scheduler/failInfo
Optimization of the scheduler
2020-09-08 14:59:55 +08:00
rainzm
81feadc13a fix(scheduler): more standardized testing 2020-09-08 14:27:31 +08:00
rainzm
9d18b94ad6 refactor(scheduler): make forcast result clearer
forcast 的返回值包括:
1. CanCreate: 是否可以创建
2. FilteredCandidate: 被过滤掉的candidate(宿主机),并记录了
   过滤其的 filter 的名字以及给出的原因。
3. ReqCount: 请求的机器数量
4. AllowCount: 允许的机器数量
5. NotAllowReasons: 不允许的原因,每一个不被允许的都会被列出原因。
2020-09-08 14:27:31 +08:00
rainzm
57d8f991ab Add mock test for genericScheudler.Schedule 2020-09-08 14:27:26 +08:00
yunion-ci-robot
5dd7b7a1ee Merge pull request #7762 from lvyangyang/dns-fork-9.2-2
dns access
2020-09-08 12:57:52 +08:00
lvyangyang
25ddca8609 dns access 2020-09-08 10:28:27 +08:00
yunion-ci-robot
2eec0c64c8 Merge pull request #7810 from wanyaoqi/bugfix/wyq/fix-host-error-output
bugfix: fix host errors output
2020-09-08 10:03:17 +08:00
yunion-ci-robot
6c25384344 Merge pull request #7808 from swordqiu/hotfix/qj-check-assign-host
fix: check assign-host previliges
2020-09-08 10:01:56 +08:00
yunion-ci-robot
612a016b67 Merge pull request #7817 from wanyaoqi/bugfix/wyq/reenterable-colloct-isolated-deivces-info
bugfix: isolated devices info collect reenterable
2020-09-08 09:59:53 +08:00
wanyaoqi
945fac0a4b fix host error output 2020-09-07 21:06:59 +08:00
yunion-ci-robot
3391d77a1b Merge pull request #7814 from yousong/bugfix/yousong-i18n
treewide: DeleteFailReason as an object with translated details
2020-09-07 21:06:53 +08:00
yunion-ci-robot
5ca9e814b9 Merge pull request #7807 from rainzm/notify/fix3
fix(notify): break down permissions of notifyconfigs
2020-09-07 21:05:59 +08:00
yunion-ci-robot
035e2bf51e Merge pull request #7804 from yousong/bugfix/yousong-vpcagent
vpcagent: guard against foul eip records
2020-09-07 21:05:46 +08:00
yunion-ci-robot
8e882cf3c9 Merge pull request #7798 from wanyaoqi/bugfix/wyq/guest-desc-add-backup
bugfix: guest short desc add backup host id
2020-09-07 21:03:50 +08:00
yunion-ci-robot
3897beba88 Merge pull request #7796 from ioito/hotfix/qx-cloudid-sync-groups
fix: sync groups for user
2020-09-07 21:01:51 +08:00
yunion-ci-robot
89c05901d9 Merge pull request #7789 from wanyaoqi/bugfix/wyq/fix-ubuntu-version
bugfix : fix get ubuntu version
2020-09-07 20:59:44 +08:00
yunion-ci-robot
aefcb1e3c2 Merge pull request #7811 from swordqiu/hotfix/qj-prevent-user-in-disabled-idp-login
fix: prevent users in disabled idp from login
2020-09-07 20:57:46 +08:00
yunion-ci-robot
8ce14d97c1 Merge pull request #7793 from ioito/hotfix/qx-aliyun-city
fix: aliyun wulanchabu region
2020-09-07 20:55:45 +08:00
wanyaoqi
641c71880b isolated devices info reenterable 2020-09-07 20:43:54 +08:00
rainzm
a9fafc4517 fix(notify): break down permissions of notifyconfigs
1. Only allow admin to create, list, update or delete.
2. Allow user to get types.
2020-09-07 18:55:19 +08:00
Yousong Zhou
6415de33d3 treewide: DeleteFailReason as an object with translated details 2020-09-07 18:51:29 +08:00
Yousong Zhou
776ef9b8b5 httperrors: HTTPError: use Error type 2020-09-07 18:51:29 +08:00
Qiu Jian
9e1ff88195 fix: prevent users in disabled idp from login 2020-09-07 18:23:21 +08:00
Yousong Zhou
4d7eee4f2b httperrors: add Error type 2020-09-07 18:18:39 +08:00
Qiu Jian
4d5aadb64b fix: check assign-host previliges 2020-09-07 18:12:24 +08:00
Yousong Zhou
9168284d59 vpcagent: guard against foul eip records 2020-09-07 17:24:08 +08:00
wanyaoqi
09e568e14c guest short desc add backup host id 2020-09-07 16:58:26 +08:00
Qu Xuan
491efe5794 fix: sync groups for user 2020-09-07 16:34:45 +08:00
rainzm
0bd84dd4b0 feat: Add method 'Sku' to CandidatePropertyGetter 2020-09-07 16:14:28 +08:00
rainzm
4b4875cd70 feat: Add IResultHelper
1. Adjust the package structure about pkg/scheduler/core and
pkg/scheduler/manager

2. Add IResultHelper

3. Change the signature of genericScheduler.Schedule
func (*Unit, []Candidater) (*SchedResultItemList, error) ==>
func (*Unit, []Candidater, IResultHelper) (*ScheduleResult, error)
2020-09-07 16:13:20 +08:00
Qu Xuan
46e6d37c2d fix: aliyun wulanchabu region 2020-09-07 16:09:36 +08:00
yunion-ci-robot
b85feb75f6 Merge pull request #7786 from rainzm/scheduler/igselect
fix(scheduler): fix array out of bounds when sorting hosts
2020-09-07 15:31:42 +08:00
yunion-ci-robot
f390723eaa Merge pull request #7782 from rainzm/notify/fix2
fix(notify): Replace String() with GetString()
2020-09-07 15:26:42 +08:00
yunion-ci-robot
43f47d96cb Merge pull request #7780 from swordqiu/hotfix/qj-user-idps-include-template
fix: user idps attributes includes template name
2020-09-07 15:24:42 +08:00
wanyaoqi
495d9174c9 fix get ubuntu version 2020-09-07 15:24:21 +08:00
rainzm
de1b5bc96e fix(scheduler): fix array out of bounds when sorting hosts 2020-09-07 15:13:19 +08:00
rainzm
6509ed6e99 fix(notify): Replace String() with GetString()
The String() of jsonutils.JSONObject will add a pair of
double quotes around the content. The GetString() will
get a clean content.
2020-09-07 15:09:47 +08:00
Qiu Jian
383bdef224 fix: user idps attributes includes template name 2020-09-07 12:03:31 +08:00
Zexi Li
98812bc6f6 Merge pull request #7729 from ioito/hotfix/qx-cached-image-sync
optimized cachedimages sync
2020-09-07 11:55:22 +08:00
yunion-ci-robot
d10f7a6d7a Merge pull request #7769 from swordqiu/hotfix/qj-network-addresses-respect-priviliges
fix: network address list respect privilige of user
2020-09-05 15:50:42 +08:00
yunion-ci-robot
339aa9f3cb Merge pull request #7772 from swordqiu/hotfix/qj-skip-sync-objects-in-task
fix: skup syncing lb, rds, redis instances in tasks
2020-09-05 15:47:42 +08:00
Zexi Li
8416e52ab8 Merge pull request #7776 from zexi/feature/k8s-componet-grafana
climc: k8s cluster grafana componet support subpath
2020-09-05 15:37:42 +08:00
Zexi Li
930a726670 climc: k8s cluster grafana componet support subpath 2020-09-05 14:45:38 +08:00
Qiu Jian
9de29d9afd fix: skup syncing lb, rds, redis instances in tasks 2020-09-05 14:27:12 +08:00
Qiu Jian
09944bc1b4 fix: network address list respect privilige of user 2020-09-05 11:56:53 +08:00
yunion-ci-robot
b9b7134262 Merge pull request #7767 from ioito/hotfix/qx-cloudid-fix
fix: cloudid optimized
2020-09-05 10:32:45 +08:00
Qu Xuan
7232695dfb fix: cloudid optimized 2020-09-04 20:21:07 +08:00
yunion-ci-robot
f64594d588 Merge pull request #7764 from tb365/feature/tb-pxe-register-template-update
pex register add optional column mac_access
2020-09-04 20:17:41 +08:00
yunion-ci-robot
8cb7bb99c3 Merge pull request #7739 from ioito/hotfix/qx-resource-update
fix: valid update name and update dns recordset
2020-09-04 20:11:38 +08:00
yunion-ci-robot
d79a961f50 Merge pull request #7760 from swordqiu/hotfix/qj-policy-aware-scheduler
fix: scheduler aware policy
2020-09-04 16:21:39 +08:00
TangBin
88838bb538 pex register add optional column mac_access 2020-09-04 15:54:01 +08:00
Qiu Jian
b8238d2059 fix: scheduler aware policy 2020-09-04 10:36:21 +08:00
Zexi Li
723a8a3547 Merge pull request #7751 from ioito/hotfix/qx-cloudid-optimized
Hotfix/qx cloudid optimized
2020-09-04 10:33:15 +08:00
Zexi Li
3f62936a5d Merge pull request #7748 from rainzm/esxi/net
feat(esxi): correctly judge whether inet is nil
2020-09-04 10:32:22 +08:00
Zexi Li
8bf7fd654c Merge pull request #7757 from swordqiu/hotfix/qj-support-VirtualDiskRawDiskMappingVer1BackingInfo
fix: support VirtualDiskRawDiskMappingVer1BackingInfo
2020-09-04 10:31:12 +08:00
Zexi Li
57ceac5dda Merge pull request #7753 from swordqiu/hotfix/qj-remove-sso-redundant-authcookie
fix: remove redundant auth cookie in sso login
2020-09-04 10:30:41 +08:00
Zexi Li
81a8ae288b Merge pull request #7744 from wanyaoqi/bugfix/wyq/check-min-disk-size-on-update
glance: check min disk size on update
2020-09-04 10:29:43 +08:00
Zexi Li
dfa837a3ff Merge pull request #7741 from swordqiu/hotfix/qj-search-project-domain-by-chsname
fix: search by chs projectname or domainname
2020-09-04 10:28:55 +08:00
Zexi Li
7617fd3e52 Merge pull request #7740 from swordqiu/hotfix/qj-find-esxi-host-access-ip
fix: find correct esxi host access ip
2020-09-04 10:28:33 +08:00
Zexi Li
486adf60ae Merge pull request #7735 from rainzm/schedulertask/fix
fix(compute): return InputParameterError while ValidateCreateData
2020-09-04 10:27:34 +08:00
Qiu Jian
a672c6b334 fix: support VirtualDiskRawDiskMappingVer1BackingInfo 2020-09-04 00:14:30 +08:00
yunion-ci-robot
835f60f584 Merge pull request #7730 from swordqiu/feature/qj-support-lenovo-huawei
fix: compatiblity fixes with lenovo RD620 and huawei 2288
2020-09-04 00:03:42 +08:00
Qiu Jian
ef138c05d4 fix: remove redundant auth cookie in sso login 2020-09-03 23:52:12 +08:00
Qiu Jian
053507c3e3 fix: find correct esxi host access ip 2020-09-03 22:17:04 +08:00
yunion-ci-robot
d7db832c6c Merge pull request #7733 from rainzm/notify/fix1
Feature & Fix for Notify
2020-09-03 21:54:52 +08:00
rainzm
0a9a73587e feat(notify): Allow use topic to filter notification 2020-09-03 21:15:38 +08:00
Qu Xuan
ce032ecf17 fix: optimzed sync 2020-09-03 21:10:29 +08:00
Qu Xuan
fd318a9cda fix: optimized cloudid 2020-09-03 20:29:37 +08:00
rainzm
3793387b66 feat(esxi): correctly judge whether inet is nil 2020-09-03 20:22:21 +08:00
wanyaoqi
53d0914cd9 glance: check min disk size on update 2020-09-03 19:58:22 +08:00
Qiu Jian
64f5bc748c fix: search by chs projectname or domainname 2020-09-03 18:36:28 +08:00
Qu Xuan
80c75b19ae fix: valid update name and update dns recordset 2020-09-03 16:46:24 +08:00
rainzm
f11a1df3a5 fix(compute): return InputParameterError while ValidateCreateData 2020-09-03 15:20:20 +08:00
rainzm
f57a199cbd feat(notify): Add TNotifyChannel const of robot 2020-09-03 15:08:13 +08:00
rainzm
89ec96567b feat(notify): replace VerifiedContactTypes with VerifiedInfos in ReceiverDetails
VerifiedInfos will provide Note to display.
2020-09-03 15:08:13 +08:00
rainzm
e179191dd3 feat(notify): Support trigger-verify for feishu, dingtalk and workwx 2020-09-03 15:08:13 +08:00
rainzm
3e982ab79a feat(notify): Add VerifiedNote for SSubContact
VerifiedNote will be 'ok' if SSubContact verified successfully.
Otherwise, there will be there value for VerifiedNote:
1. no such mobile: mobile is not exist, change and try again.
2. incomplete config: tell admin to improve the configuration.
3. service exceptions: try again or connect to admin.
2020-09-03 15:08:13 +08:00
rainzm
bf12f5b57c feat(notify): break down error from UseridByMobile 2020-09-03 15:08:13 +08:00
rainzm
9af0fe1fe9 fix(notify): Set default priority 'normal' when creating notification 2020-09-03 15:08:13 +08:00
rainzm
9029e98c2f fix(notify): Mark verified not enabled in MarkContactTypeVerified 2020-09-03 15:08:13 +08:00
rainzm
8a80f96d62 refactor(notify): hide SSunContact webconsole
Every receiver has webconsole type contact that is equal with
receiverid.
Now, make webconsole invisible, and it does exist.
2020-09-03 15:08:13 +08:00
rainzm
2ea4138f3a fix(notify): Allow user list receivers 2020-09-03 15:08:13 +08:00
rainzm
9978f19542 fix(notify): use AfterSend for contact with succuessful sending 2020-09-03 15:08:13 +08:00
Qiu Jian
f6eb9fc195 fix: compatiblity fixes with lenovo RD620 and huawei 2288 2020-09-03 11:55:22 +08:00
yunion-ci-robot
7a0eb06df9 Merge pull request #7725 from tb365/bugfix/tb-create-classic-vpc-fix
create classic vpc fix
2020-09-03 10:32:41 +08:00
Qu Xuan
dc1c6c754c optimized cachedimages sync 2020-09-02 22:00:14 +08:00
yunion-ci-robot
bb68d7f2c2 Merge pull request #7587 from ioito/feature/qx-dns-interface
feature: add dns interface
2020-09-02 18:01:08 +08:00
TangBin
6a22bf0e7b create classic vpc fix 2020-09-02 18:00:18 +08:00
Qu Xuan
5b3bfd1b3b fix: avoid nil panic 2020-09-02 17:26:38 +08:00
Qu Xuan
0cc0a19910 fix: avoid policy value not save 2020-09-02 17:08:13 +08:00
Qu Xuan
5eaece5516 fix: climc params 2020-09-02 16:57:07 +08:00
yunion-ci-robot
df37b58320 Merge pull request #7716 from zhaoxiangchun/bugfix/zxc-monitor-alert
alertrecords bugfix
2020-09-02 16:33:42 +08:00
yunion-ci-robot
2674f6a8ed Merge pull request #7718 from wanyaoqi/feature/wyq/vmware-support-lvm
feature: vmware disk support deploy lvm partition
2020-09-02 16:31:46 +08:00
Qu Xuan
f251559c39 feature: add dns interface 2020-09-02 16:30:05 +08:00
yunion-ci-robot
3608b58064 Merge pull request #7722 from wanyaoqi/bugfix/wyq/update-host-status-on-host-offline
hosts: update host status to unknown on host offline
2020-09-02 16:27:38 +08:00
Rain Zheng
1ed65ddd1a Feature & Fix for Notify (#7714)
* feat(notify): Add 'get-types' action for ConfigManager

The List interface is only open to administrators,
because we don't want anyone other than administrators
to see the details of the notify configuration.
To let general user to kown available notification channels,
add 'get-types' actions of ConfigManager.

* feat(notify): Check the availability of contact type before creating notification

Creating notification with unconfigured contact type will fail at
sending message. Now, prevent creation in advance.

* feat(notify): Add workwx for NotifyNormal/Important/Critical

* feat(notify): Add Notify about robot in notifyclient

* fix(notify): Init ParentContactType for SSubContact

1. ParentContactType of SSubContact with webconsole type is empty.
2. ParentContactType of others SSubContact is mobile.

* fix(notify): Unverify SSubContact when ParentContactType match

* fix(notify): When no data is initialized, exit directly
2020-09-02 16:10:06 +08:00
wanyaoqi
4a00c22297 update host status to unknown on host offline 2020-09-02 13:07:27 +08:00
zhaoxiangchun
138a161195 listfilter by alert_id 2020-09-01 20:46:16 +08:00
zhaoxiangchun
bb22fba257 alert record bugfix
1.return details fix
2020-09-01 20:46:15 +08:00
wanyaoqi
7dcb240940 vmware disk support deploy lvm partition 2020-09-01 20:43:55 +08:00
wanyaoqi
74c8c6bfe2 hostinfo: try create network add is_on_premise (#7706) 2020-09-01 20:09:48 +08:00
屈轩
416afb686a fix: add details for account delete (#7702)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-09-01 20:08:37 +08:00
Yousong Zhou
b314b66b71 Bugfix/yousong i18n (#7712)
* httperrors: support setting lang with X-Yunion-Lang

* mcclient: session: set lang
2020-09-01 19:11:41 +08:00
Yousong Zhou
da64e4a267 httperrors: use existing details if id is not present (#7710) 2020-09-01 18:32:37 +08:00
Zexi Li
65c1f5afdb Merge pull request #7705 from zexi/feature/update-arch-img
README: update architecture img
2020-09-01 16:23:29 +08:00
Zexi Li
9fd99a22fd README: update architecture img 2020-09-01 16:19:54 +08:00
屈轩
8cf594785d fix: avoid delete aws iam user failed (#7664)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-09-01 11:35:36 +08:00
Jian Qiu
2ea855a425 fix: vmware esxi host detects vnic portgroup info (#7649)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-09-01 10:51:41 +08:00
Jian Qiu
0cbad8aea3 feature: emualated ssd support (#7701)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-09-01 10:49:37 +08:00
Jian Qiu
8ba3f86b55 fix: apigateway user info add is_local attribtue (#7694)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-09-01 10:48:37 +08:00
Rain Zheng
e393f3ee21 Fix problem of esxi (#7661)
* fix(esxi): Fetch full templates of datastoreImageCache

Datastore 和 DatastoreImageCache 是一对一的关系。
每一个 Datastore 可能有多个对应的 Host,所以 GetIIMages 里面获取
Templates 的逻辑应该尝试去获取所有 Host 的 Templates。

* fix(host-deployer): Exit correctly after mounting

MountRootfs的返回值为nil时,还是需要Umount的操作来正确退出(比如VDDK)。
VDDK的Mount分为两步,第一步会挂在remote
disk到fuse下,然后挂载fuse/xxx/flat
到块设备上。第一步成功,第二部失败也应该正确退出。

* fix(host-deployer): Kill process

* opt(host-deployer): Increase timeout of waiting mount

* opt(host-deployer): Add debug log print command to mount

* fix(esxi): Support multi agent in different zone
2020-09-01 10:47:39 +08:00
Zexi Li
cda8bd75d7 Merge pull request #7680 from wanyaoqi/feature/wyq/misc-20200831
feature: snapshot list by guest
2020-09-01 10:47:07 +08:00
Rain Zheng
74af85b8eb Fix for Notify (#7692)
* feat(notify): Support update for notify config

* fix(notify): Be compatible with the email configuration

Email config key text changed:
mail.username => username
mail.password => password
mail.smtp.hostname => hostname
mail.smtp.hostport => hostport

* fix(notify): Give users permission to operate receiver

* fix(notify): Allow negative update for receiver

Now, input.Email and input.Mobile can be empty which means
that do not update the corresponding field.

* feat(notify): Support for triggering validation on feishu, dingtalk and worwx

Triggering validation on these contact types means repulling a Contact about them.

* feat(notify): Adds validity period for verify

Verification beyond the expiration date will fail.

* fix(notify): SQuery of scopedomain in FilterByOwner
2020-09-01 10:45:36 +08:00
zhaoxiangchun
c66ea1145d monitor commonalert bugfix (#7667)
* 统一监控查询面板保存

* commonalert bugfix
2020-09-01 10:43:35 +08:00
Jian Qiu
d0842c62cc fix: http error limit request body length (#7699)
fix: http error limit request body length

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-09-01 10:21:39 +08:00
Jian Qiu
3ccf78ae7d fix: server purge may fail (#7696)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-09-01 10:18:37 +08:00
屈轩
a5c3a34b7c fix: 不限制openstack系统盘类型 (#7674)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-09-01 01:21:35 +08:00
wanyaoqi
795a11fcea fix host get guests (#7682) 2020-09-01 01:06:39 +08:00
wanyaoqi
3dec0fdc60 fix get storage capacity on init' (#7686) 2020-09-01 00:59:37 +08:00
Yousong Zhou
ad6b38f68a vpcagent: respect guest src check settings (#7677)
mac   ip    dhcp    ping    xipping    xmacping
  on    on    y       y       n          n
  on    off   y       y       y          n
  off   off   y       y       y          y

external access depends on source routing, changing ip address will
fail that

note dst mac address of reply packet when changing only mac address
with vpc ip remains the same
2020-08-31 16:31:37 +08:00
wanyaoqi
fb41d16c97 snapshot list by guest 2020-08-31 15:24:56 +08:00
Jian Qiu
7336ff732c fix: cleanup logic for nics of pending_deleted guests (#7668)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-31 09:32:34 +08:00
Zexi Li
afd5647c83 Merge pull request #7662 from wanyaoqi/host-deployer/update-base-image-version
feature: update host deployer base image version
2020-08-28 20:36:20 +08:00
wanyaoqi
70f953dee8 update host deployer base image version 2020-08-28 20:17:47 +08:00
wanyaoqi
75cd041d79 baremetal colloct isolated devices info (#7357) 2020-08-28 12:10:34 +08:00
wanyaoqi
f255e8fcd0 fix mount fetcher fs (#7656) 2020-08-28 12:06:33 +08:00
wanyaoqi
b0edff1d80 remove backup metadata on delete backup (#7653) 2020-08-28 12:01:37 +08:00
tb365
11f86bb290 eip & vpc manager match fix (#7650)
Co-authored-by: TangBin <tangbin@yunion.cn>
2020-08-28 11:59:38 +08:00
wanyaoqi
e510ed1969 add host cpu archs capabilitie 2020-08-27 11:07:50 +08:00
wanyaoqi
7d94c4e46f support create arm virtual machine 2020-08-27 11:05:21 +08:00
wanyaoqi
bb0d81bc06 host campactable with arm64 2020-08-27 11:05:21 +08:00
wanyaoqi
cb036b8821 fix build baremetal agent image (#7646) 2020-08-27 11:00:32 +08:00
屈轩
21342005e0 fix: aovid truncated data (#7643)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-26 21:39:40 +08:00
Jian Qiu
cb573d340a fix: turn off some default project policies (#7636)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-26 18:42:35 +08:00
Jian Qiu
585ba0ff58 fix: add keystone sync user debug info (#7633)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-26 18:41:34 +08:00
屈轩
2716d4527d fix: avoid openstack image-list failed (#7640)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-26 18:33:34 +08:00
22506 changed files with 7383289 additions and 1137640 deletions

View File

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

7
.dockerignore Normal file
View File

@@ -0,0 +1,7 @@
_output/alpine-build/_cache
pkg
vendor
cmd
locales
docs
scripts

3
.editorconfig Normal file
View File

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

View File

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

View File

@@ -0,0 +1,12 @@
---
name: 文档问题/Document Request
about: 文档相关缺陷改进/Document request to this project
title: '[文档/Docs]'
labels:
- area/docs
- enhancement
assignees: ''
---
**What part of the document needs to be added**:

View File

@@ -1,14 +1,10 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
name: 新特性/Feature Request
about: 建议新功能特性/Suggest an idea for this project
title: '[Feature]'
labels: feature
assignees: ''
---
<!-- Please only use this template for submitting feature requests -->
**What would you like to be added**:
**Why is this needed**:

View File

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

View File

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

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

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

View File

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

View File

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

View File

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

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

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

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

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

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

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

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

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

3
.gitignore vendored
View File

@@ -31,6 +31,7 @@ _output
/structargtest
.idea
.vscode
intellij.yaml
GPATH
GRTAGS
GTAGS
@@ -40,3 +41,5 @@ pkg/generated
# gotext extracted
out.gotext.json
pkg/notify/sender/email_test.go

128
CODE_OF_CONDUCT.md Normal file
View File

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

View File

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

48
CONTRIBUTING_zh.md Normal file
View File

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

View File

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

183
Makefile
View File

@@ -6,10 +6,11 @@ ROOT_DIR := $(CURDIR)
BUILD_DIR := $(ROOT_DIR)/_output
BIN_DIR := $(BUILD_DIR)/bin
BUILD_SCRIPT := $(ROOT_DIR)/build/build.sh
DEB_BUILD_SCRIPT := $(ROOT_DIR)/build/build_deb.sh
ifeq ($(ONECLOUD_CI_BUILD),)
GIT_COMMIT := $(shell git rev-parse --short HEAD)
GIT_BRANCH := $(shell git name-rev --name-only HEAD)
GIT_BRANCH := $(shell git branch -r --contains | head -1 | sed -E -e "s%(HEAD ->|origin|upstream)/?%%g" | xargs)
GIT_VERSION := $(shell git describe --always --tags --abbrev=14 $(GIT_COMMIT)^{commit})
GIT_TREE_STATE := $(shell s=`git status --porcelain 2>/dev/null`; if [ -z "$$s" ]; then echo "clean"; else echo "dirty"; fi)
BUILD_DATE := $(shell date -u +'%Y-%m-%dT%H:%M:%SZ')
@@ -46,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 -L ${LIBQEMUIO_PATH}/src
endif
export GOOS ?= linux
export GO111MODULE:=on
export CGO_CFLAGS = ${X_CGO_CFLAGS}
@@ -62,8 +58,9 @@ 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)))
all: build
@@ -79,20 +76,23 @@ 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 ./...
cmd/esxi-agent: prepare_dir
CGO_ENABLED=0 $(GO_BUILD) -o $(BIN_DIR)/$(shell basename $@) $(REPO_PREFIX)/$@
# cmd/esxi-agent: prepare_dir
# CGO_ENABLED=0 $(GO_BUILD) -o $(BIN_DIR)/$(shell basename $@) $(REPO_PREFIX)/$@
cmd/%: 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) $*
deb/%: cmd/%
$(DEB_BUILD_SCRIPT) $*
pkg/%: prepare_dir
$(GO_INSTALL) $(REPO_PREFIX)/$@
@@ -102,6 +102,9 @@ build:
rpm:
$(MAKE) $(rpmTargets)
deb:
$(MAKE) $(debTargets)
rpmclean:
rm -fr $(BUILD_DIR)/rpms
@@ -126,6 +129,11 @@ clean:
fmt:
@git ls-files --exclude '*' '*.go' \
| grep -v '^vendor/' \
| while read f; do \
if ! grep -m1 -q '^// Code generated .* DO NOT EDIT\.$$' "$$f"; then \
echo "$$f"; \
fi ; \
done \
| xargs $(XARGS_FLAGS) gofmt -w
fmt-check: fmt
@@ -158,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
@@ -168,10 +177,69 @@ vet-check:
./scripts/vet.sh chk
.PHONY: vet-check
comma:=,
space:=$(space) $(space)
# NOTE: keep y18n-packages in alphabetical order
y18n-src-lang := en-US
y18n-lang := en-US,zh-CN
y18n-packages := \
yunion.io/x/onecloud/cmd/apigateway \
yunion.io/x/onecloud/cmd/keystone \
yunion.io/x/onecloud/cmd/llm \
yunion.io/x/onecloud/cmd/monitor \
yunion.io/x/onecloud/cmd/region \
yunion.io/x/onecloud/cmd/yunionconf \
define y18n-gen
set -o errexit; \
set -o pipefail; \
export GO111MODULE=off; \
y18n \
-chdir $(CURDIR) \
-dir ./locales/ \
-out ./locales/locales.go \
-lang $(y18n-lang) \
$(y18n-packages) \
; \
$(foreach lang,$(filter-out $(y18n-src-lang),$(subst $(comma), ,$(y18n-lang))),cp ./locales/$(lang)/{out,messages}.gotext.json;) \
endef
y18n-gen:
$(y18n-gen)
$(y18n-gen)
.PHONY: y18n-gen
y18n-check:
$(y18n-gen)
if git status --short ./locales | sed 's/^/$@: /' | grep .; then \
echo "$@: Locales content needs care" >&2 ; \
false; \
fi
.PHONY: y18n-check
define hostdeployer-grpc-gen
set -o errexit; \
set -o pipefail; \
protoc -I pkg/hostman/hostdeployer/apis \
--go_out=pkg/hostman/hostdeployer/apis \
--go_opt=paths=source_relative \
--go-grpc_out=pkg/hostman/hostdeployer/apis \
--go-grpc_opt=paths=source_relative \
pkg/hostman/hostdeployer/apis/deploy.proto
endef
hostdeployer-grpc-gen:
$(hostdeployer-grpc-gen)
check: fmt-check
check: gendocgo-check
check: goimports-check
check: vet-check
#check: goimports-check
#check: vet-check
#check: y18n-check
.PHONY: check
@@ -193,82 +261,18 @@ dep:
@echo "$$depDeprecated"
@$(MAKE) mod
RELEASE_BRANCH:=release/4.0.4
GOPROXY ?= direct
mod:
go get -d $(patsubst %,%@master,$(shell GO111MODULE=on go mod edit -print | sed -n -e 's|.*\(yunion.io/x/[a-z].*\) v.*|\1|p'))
go mod tidy
go mod vendor -v
DOCKER_CENTOS_BUILD_IMAGE?=registry.cn-beijing.aliyuncs.com/yunionio/centos-build:1.1-1
define dockerCentOSBuildCmd
set -o xtrace
set -o errexit
set -o pipefail
cd /root/onecloud
export GOFLAGS=-mod=vendor
make $(1)
chown -R $(shell id -u):$(shell id -g) _output
endef
docker-centos-build: export dockerCentOSBuildCmd:=$(call dockerCentOSBuildCmd,$(F))
docker-centos-build:
docker rm --force onecloud-ci-build &>/dev/null || true
docker run \
--name onecloud-docker-centos-build \
--rm \
--volume $(CURDIR):/root/onecloud \
--volume $(CURDIR)/_output/_cache:/root/.cache \
$(DOCKER_CENTOS_BUILD_IMAGE) \
/bin/bash -c "$$dockerCentOSBuildCmd"
chown -R $$(id -u):$$(id -g) _output
ls -lh _output/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 onecloud-docker-centos-build || true
.PHONY: docker-centos-build
.PHONY: docker-centos-build-stop
DOCKER_ALPINE_BUILD_IMAGE?=registry.cn-beijing.aliyuncs.com/yunionio/alpine-build:1.0-3
define dockerAlpineBuildCmd
set -o xtrace
set -o errexit
set -o pipefail
cd /root/go/src/yunion.io/x/onecloud
export GOFLAGS=-mod=vendor
make $(1)
chown -R $(shell id -u):$(shell id -g) _output
endef
docker-alpine-build: export dockerAlpineBuildCmd:=$(call dockerAlpineBuildCmd,$(F))
docker-alpine-build:
docker rm --force onecloud-docker-alpine-build &>/dev/null || true
docker run --rm \
--name onecloud-docker-alpine-build \
-v $(CURDIR):/root/go/src/yunion.io/x/onecloud \
-v $(CURDIR)/_output/alpine-build:/root/go/src/yunion.io/x/onecloud/_output \
-v $(CURDIR)/_output/alpine-build/_cache:/root/.cache \
$(DOCKER_ALPINE_BUILD_IMAGE) \
/bin/sh -c "$$dockerAlpineBuildCmd"
ls -lh _output/alpine-build/bin
docker-alpine-build-stop:
docker stop --time 0 onecloud-docker-alpine-build || true
.PHONY: docker-alpine-build
.PHONY: docker-alpine-build-stop
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
@@ -314,9 +318,16 @@ VERSION ?= $(shell git describe --exact-match 2> /dev/null || \
git describe --match=$(git rev-parse --short=8 HEAD) --always --dirty --abbrev=8)
image:
TAG=$(VERSION) REGISTRY=$(REGISTRY) $(ROOT_DIR)/scripts/docker_push.sh $(filter-out $@,$(MAKECMDGOALS))
mkdir -p $(ROOT_DIR)/_output
DEBUG=$(DEBUG) ARCH=$(ARCH) TAG=$(VERSION) REGISTRY=$(REGISTRY) $(ROOT_DIR)/scripts/docker_push.sh $(filter-out $@,$(MAKECMDGOALS))
.PHONY: image
image-telegraf-raid-plugin:
VERSION=v4.0-20260115.0 GOOS=linux ARCH=all make image telegraf-raid-plugin
%:
@:
ModName:=yunion.io/x/onecloud
include $(CURDIR)/Makefile.common.mk

66
Makefile.common.mk Normal file
View File

@@ -0,0 +1,66 @@
ifeq ($(__inc_Makefile_common_mk),)
__inc_Makefile_common_mk:=1
ifeq ($(ModName),)
$(error ModName must be set, e.g. yunion.io/x/onecloud)
endif
ModBaseName:=$(notdir $(ModName))
DockerImageRegistry?=registry.cn-beijing.aliyuncs.com
DockerImageAlpineBuild?=$(DockerImageRegistry)/yunionio/alpine-build:3.23-go-1.26.3-0
EnvIf=$(if $($(1)),$(1)=$($(1)))
define dockerCentOSBuildCmd
set -o xtrace
set -o errexit
set -o pipefail
git config --global --add safe.directory /root/go/src/yunion.io/x/$(ModBaseName)
cd /root/go/src/yunion.io/x/$(ModBaseName)
env \
$(call EnvIf,GOARCH) \
$(call EnvIf,GOOS) \
$(call EnvIf,CGO_ENABLED) \
make $(1)
chown -R $(shell id -u):$(shell id -g) _output
endef
tmpName=$(ModBaseName)-$(shell date +"%Y%m%d.%H%M%S%3N")
define dockerAlpineBuildCmd
set -o xtrace
set -o errexit
set -o pipefail
git config --global --add safe.directory /root/go/src/yunion.io/x/$(ModBaseName)
cd /root/go/src/yunion.io/x/$(ModBaseName)
git config --global --add safe.directory /root/go/src/yunion.io/x/onecloud
env \
$(call EnvIf,GOARCH) \
$(call EnvIf,GOOS) \
$(call EnvIf,CGO_ENABLED) \
make $(1)
chown -R $(shell id -u):$(shell id -g) _output
endef
docker-alpine-build: export dockerAlpineBuildCmd:=$(call dockerAlpineBuildCmd,$(F))
docker-alpine-build:
docker rm --force docker-alpine-build-$(tmpName) &>/dev/null || true
docker run \
--rm \
--name docker-alpine-build-$(tmpName) \
-v $(CURDIR):/root/go/src/yunion.io/x/$(ModBaseName) \
-v $(CURDIR)/_output/alpine-build:/root/go/src/yunion.io/x/$(ModBaseName)/_output \
-v $(CURDIR)/_output/alpine-build/_cache:/root/.cache \
$(DockerImageAlpineBuild) \
/bin/sh -c "$$dockerAlpineBuildCmd"
ls -lh _output/alpine-build/bin
docker-alpine-build-stop:
docker stop --time 0 docker-alpine-build-$(tmpName) || true
.PHONY: docker-alpine-build
.PHONY: docker-alpine-build-stop
endif # __inc_Makefile_common_mk

13
OWNERS
View File

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

View File

@@ -1,54 +1,98 @@
# Yunion OneCloud (云联融合云)
# Cloudpods
[![CircleCI](https://circleci.com/gh/yunionio/onecloud.svg?style=svg)](https://circleci.com/gh/yunionio/onecloud)
[![Build Status](https://travis-ci.com/yunionio/onecloud.svg?branch=master)](https://travis-ci.org/yunionio/onecloud)
[![Go Report Card](https://goreportcard.com/badge/github.com/yunionio/onecloud)](https://goreportcard.com/report/github.com/yunionio/onecloud)
[![CircleCI](https://circleci.com/gh/yunionio/cloudpods.svg?style=svg)](https://circleci.com/gh/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)
云联融合云Yunion OneCloud是一个开源的多云平台。融合云构建在用户分布于多云基础设施之上通过技术手段将分布于多云的异构IT资源统一管理将多底层多云的差异向用户屏蔽并通过网络和调度实现资源的融合与打通在多云之上进行抽象向用户呈现统一的使用界面和API接口让用户就像使用一个云平台一样使用分布于多云的资源实现一个统一的“云上之云”的云平台。
## Cloudpods是什么?
鉴于企业IT基础设施的两个趋势1. 企业使用多云基础设施并且公有云是最主要的基础设施提供者2. 企业应用将逐步云原生化企业IT基础设施需要为Kubernetes优化。融合云为此架构而设计。一方面抽象管理底层的多云基础设施另一方面为多云Kubernetes提供运行环境。融合云为企业未来的的IT基础设施架构而设计。
<img src="https://v1.cloudpods.org/images/cloudpods_logo_green.png" alt="Cloudpods" height="100">
云联融合云具备以下功能特性:
Cloudpods是一个开源的Golang实现的云原生的融合多云/混合云的云平台也就是一个“云上之云”。Cloudpods不仅可以管理本地的虚拟机和物理机资源还可以管理多个云平台和云账号。Cloudpods隐藏了这些异构基础设施资源的数据模型和API的差异对外暴露了一套统一的API允许用户就像用一个云一样地访问多云。从而大大降低了访问多云的复杂度提升了管理多云的效率。
- 多云资源统一管理
## 谁需要Cloudpods?
统一API、镜像、调度、账号体系、监控和计费等操作能够全面管理 On premises、 私有云、公有云资源。
* 将几台物理服务器虚拟化成一个私有云平台
* 需要一个紧凑而且功能相对完整的物理机全生命周期管理工具
* 将VMware vSphere虚拟化集群转换为一个可以自服务的私有云平台
* 在混合云的场景,能够在一个界面访问私有云和公有云
* 通过一个集中的入口访问分布在多个公有云平台上的多个账号
* 当前只使用一个云公有云账号但希望将来使用多云的用户
- 内置私有云
## 功能
OneCloud内置完备的私有云实现提供对用户本地IDC的虚拟机、物理机和负载均衡等资源管理
请访问[产品介绍](https://www.cloudpods.org/docs/introduction/)页面了解详细信息
- 为多云Kubernetes提供运行环境
### 支持的云平台
OneCloud自身为运行在Kubernetes的云原生应用并且能在多云环境部署运行Kubernetes集群。
* 公有云:
* AWS
* Azure
* Google Cloud Platform
* 阿里云
* 华为云
* 腾讯云
* UCloud
* 天翼云
* 移动云
* 京东云
* 私有云:
* OpenStack
* ZStack
* Alibaba Cloud Aspara (阿里飞天)
* Huawei HCSO (华为HCSO)
* Nutanix
* 本地基础设施资源:
* 基于 KVM 实现的轻量级私有云
* VMWare vSphere vCenter/ESXi
* Baremetals (IPMI, Redfish API)
* Object storages (Minio, Ceph, XSky)
* NAS (Ceph)
欢迎安装部署云联融合云,期待大家的反馈!
### 支持的云资源
* Servers: instances, disks, network interfaces, networks, vpcs, storages, hosts, wires, snapshots, snapshot policies, security groups, elastic IPs, SSH keypairs, images
* Load Balancers: instances, listeners, backend groups, backends, TLS certificates, ACLs
* Object Storage: buckets, objects
* NAS: file_systems, access_groups, mount_targets
* RDS: instances, accounts, backups, databases, parameters, privileges
* Elastic Cache: instances, accounts, backups, parameters
* DNS: DNS zones, DNS records
* VPC: VPCs, VPC peering, inter-VPC network, NAT gateway, DNAT/SNAT rules, route tables, route entries
## 部署
请参考文档 [安装部署](https://docs.yunion.io/docs/setup/) 搭建 OneCloud 集群。
## 安装部署
请参考文档[安装部署](https://www.cloudpods.org/docs/getting-started/)选择合适的场景部署。
## 文档
- [文档中心](https://docs.yunion.io/)
* [Cloudpods文档](https://www.cloudpods.org/zh)
- [Swagger API文档](https://docs.yunion.cn/api/)
* [Swagger API文档](https://www.cloudpods.org/zh/docs/swagger/)
## 谁在使用Cloudpods
## 架构
请在[这里](https://github.com/yunionio/cloudpods/issues/11427)查看Cloudpods用户列表。如果你正在使用Cloudpods欢迎回复留下你的信息。谢谢对Cloudpods的支持
![architecture](./docs/architecture.svg)
## 联系我们
* 请查看[联系我们](https://www.cloudpods.org/docs/contact/)。
* TG群: [cloudpods](https://t.me/cloudpods_org)
## 版本历史
请查看[发布日志](https://www.cloudpods.org/docs/release-notes/)和[Changelog](https://www.cloudpods.org/docs/development/changelog/)。
## 贡献
我们非常欢迎和感谢开发者向项目做贡献,流程细节请查看 [CONTRIBUTING.md](./CONTRIBUTING.md)
欢迎和感谢任何形式的贡献,不局限于贡献代码,流程细节请查看 [CONTRIBUTING](./CONTRIBUTING_zh.md)。
## License
OneCloud 使用 Apache license 2.0. 详情请看 [LICENSE](./LICENSE)
Apache license 2.0详情请看 [LICENSE](./LICENSE)。
## AI生成文档
[DeepWiki](https://deepwiki.com/yunionio/cloudpods) 提供了对本项目代码详细和全面的AI解读可以参考。

103
README.md
View File

@@ -1,55 +1,100 @@
# Yunion OneCloud
# Cloudpods
[![CircleCI](https://circleci.com/gh/yunionio/onecloud.svg?style=svg)](https://circleci.com/gh/yunionio/onecloud)
[![Build Status](https://travis-ci.com/yunionio/onecloud.svg?branch=master)](https://travis-ci.com/yunionio/onecloud/branches)
[![Go Report Card](https://goreportcard.com/badge/github.com/yunionio/onecloud)](https://goreportcard.com/report/github.com/yunionio/onecloud)
[![CircleCI](https://circleci.com/gh/yunionio/cloudpods.svg?style=svg)](https://circleci.com/gh/yunionio/cloudpods)
[![Go Report Card](https://goreportcard.com/badge/github.com/yunionio/cloudpods)](https://goreportcard.com/report/github.com/yunionio/cloudpods)
### [README in Chinese](./README-CN.md)
[English](./README.md) | [简体中文](./README-CN.md)
## What is Yunion OneCloud?
## What is Cloudpods?
Yunion OneCloud is an open source unified-IaaS cloud platform.
<img src="https://v1.cloudpods.org/images/cloudpods_logo_green.png" alt="Cloudpods" height="100">
As its name sugguests, 'Yun' means 'cloud' in Chinese and 'Yunion OneCloud' means to unify many distinct clouds into the one that behaves like an integral cloud platform.
Cloudpods is a cloud-native open source unified multi/hybrid-cloud platform developed with Golang, i.e. Cloudpods is *a cloud on clouds*. Cloudpods is able to manage not only on-premise KVM/baremetals, but also resources from many cloud accounts across many cloud providers. It hides the differences of underlying cloud providers and exposes one set of APIs that allow programatically interacting with these many clouds.
As trends show, the enterprise IT infrastructure in the future would be unavoidably heterogeneous and the public clouds should be the major infrastructure providers for many enterprises. Further, the infrastructure would most likely be prepared for the cloud-native applications running on Kubernetes. Yunion OneCloud is built to provide the cloud architecture for this scenario such that it is the middle layer between the underlying cloud infrustructures and the overlay kubernetes clusters across many clouds.
## Who needs Cloudpods?
Many may consider Yunion OneCloud as a multi-cloud management platform (MCMP). Rather, we would view it as an IaaS platform as it does not only manage the resources and services from many clouds, but also hides the differences of underlying technologies and exposes one set of APIs that allow programatically interacting with the compute/storage/networking resources across many clouds.
* Those who need a simple solution to virtualize a few physical servers into a private cloud
* Those who need a compact and fully automatic baremetal lift-cycle management solution
* Those who want to turn a VMware vSphere virtualization cluster into a private cloud
* Those who need a cohesive view of both public and private cloud in a hybrid cloud setup
* Those who need a centric portal to access multiple acccounts from multiple public clouds
* Those who is currently using a single cloud account, but will not lose the possibility to adopt multicloud strategy
Yunion OneCloud is working on abstracting APIs for the following resources:
## Features
* Compute, including virtual machines, images, etc.
* Storage, including disks, snapshots, object storages, etc.
* Networking, including load balancers, VPC, virtual networks, NAT gateways, security groups, etc.
* Accouting and billing, etc.
* ...
See [Introduction](https://www.cloudpods.org/docs/introduction/) for details.
over the following many cloud providers:
### Supported cloud providers
* On-premise IT resources, including kvm VM, baremetal, VMware vsphere/ESXi, etc.
* Private clouds, including OpenStack, etc.
* Public clouds, including Aliyun, AWS, Azure, Tencent Cloud, Huawei Cloud, etc.
* Public Clouds:
* AWS
* Azure
* Google Cloud Platform
* Alibaba Cloud
* Huawei Cloud
* Tencent Cloud
* UCloud
* Ctyun (China Telecom)
* ECloud (China Mobile)
* JDCloud
* Private Clouds:
* OpenStack
* ZStack
* Alibaba Cloud Aspara
* Huawei HCSO
* Nutanix
* On-premise resources:
* Lightweight private cloud built on KVM
* VMWare vSphere vCenter/ESXi
* Baremetals (IPMI, Redfish API)
* Object storages (Minio, Ceph, XSky)
* NAS (Ceph)
You are welcome to install and try Yunion OneCloud. Looking forward to your feedback.
### Supported resources
## Installation
* Servers: instances, disks, network interfaces, networks, vpcs, storages, hosts, wires, snapshots, snapshot policies, security groups, elastic IPs, SSH keypairs, images
* Load Balancers: instances, listeners, backend groups, backends, TLS 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
Please refers to [install & deployment](https://docs.yunion.io/docs/setup/) (currently in Chinese Only).
## Getting started
Please refer to the document [Getting Started](https://www.cloudpods.org/en/docs/getting-started/) to select the appropriate scenario for installation.
## Documentations
- [Yunion OneCloud Documents](https://docs.yunion.io/)
* [Cloudpods Documents](https://www.cloudpods.org/en)
- [Swagger API](https://docs.yunion.cn/apiv2/)
* [Swagger API](https://www.cloudpods.org/en/docs/swagger/)
## Architecture
![architecture](./docs/architecture.svg)
## Who is using Cloudpods?
Please check this [issue](https://github.com/yunionio/cloudpods/issues/11427) for the user list of Cloudpods. If you are using Cloudpods, you are welcome to leave your information by responding the issue. Thank you for your support.
## Contact
* 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.
## Contribution
You are welcome to contribute to the project. Please refer to [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines.
You are welcome to do any kind of contribution to the project. Please refer to [CONTRIBUTING](./CONTRIBUTING.md) for guidelines.
## License
Apache License 2.0. See [LICENSE](./LICENSE)
Apache License 2.0. See [LICENSE](./LICENSE).
## 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}"
@@ -44,7 +50,12 @@ echo "Build root ${BUILDROOT}"
if [ -z "$VERSION" ]; then
TAG=$(git describe --abbrev=0 --tags || echo testing)
VERSION=${TAG/\//-}
VERSION=${VERSION/v/}
if [[ "$VERSION" =~ ^v0. ]]; then
VERSION=${VERSION/v0./}
elif [[ "$VERSION" =~ ^v ]]; then
VERSION=${VERSION/v/}
fi
VERSION=${VERSION//-/.}
fi
RELEASE=`date +"%y%m%d%H"`
@@ -68,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
@@ -99,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")"
@@ -141,5 +200,3 @@ find $RPM_DIR -type f | while read f; do
mkdir -p "$d"
cp $f $d
done
rm -fr $BUILDROOT

175
build/build_deb.sh Executable file
View File

@@ -0,0 +1,175 @@
#!/bin/bash
set -e
if [ -z "$ROOT_DIR" ]; then
pushd $(dirname $(readlink -f "$BASH_SOURCE")) > /dev/null
ROOT_DIR=$(cd .. && pwd)
popd > /dev/null
fi
SRC_BIN=$ROOT_DIR/_output/bin
SRC_BUILD=$ROOT_DIR/build
OUTPUT_DIR=$ROOT_DIR/_output/debs
PKG=$1
BIN_PATH=${2:-/opt/yunion/bin}
if [ -z "$PKG" ]; then
echo "Usage: $0 <package>"
exit 1
fi
BIN="$SRC_BIN/$PKG"
ROOT="$SRC_BUILD/$PKG"
if [ ! -x "$BIN" ]; then
echo "$BIN not exists"
exit 1
fi
if [ ! -x "$ROOT" ]; then
echo "$ROOT not exists"
exit 1
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-${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
cp -rf $BIN $BUILDROOT/$BIN_PATH
if [ -d $ROOT/root ]; then
cp -rf $ROOT/root/* $BUILDROOT/
fi
echo "Build root ${BUILDROOT}"
echo "Package: yunion-$PKG
Version: $FULL_VERSION
Section: base
Priority: optional
Architecture: $CURRENT_ARCH
Maintainer: wanyaoqi@yunionyun.com
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
echo "#!/bin/bash
" > $BUILDROOT/DEBIAN/preinst
if [ -f $ROOT/preinst ]; then
cat $ROOT/preinst >> $BUILDROOT/DEBIAN/preinst
else
if [ "$SERVICE" == "yes" ] && [ -n "$OWNER" ]; then
echo "
getent group ${OWNER} >/dev/null || /usr/sbin/groupadd -r ${OWNER}
getent passwd ${OWNER} >/dev/null || /usr/sbin/useradd -r -s /sbin/nologin -d /home/${OWNER} -M -g ${OWNER} ${OWNER}
" >> $BUILDROOT/DEBIAN/preinst
fi
fi
chmod 0755 $BUILDROOT/DEBIAN/preinst
echo "#!/bin/bash
" > $BUILDROOT/DEBIAN/postinst
if [ -f $ROOT/postinst ]; then
cat $ROOT/postinst >> $BUILDROOT/DEBIAN/postinst
else
if [ "$SERVICE" == "yes" ]; then
echo "
/usr/bin/systemctl preset yunion-${PKG}.service >/dev/null 2>&1 ||:
" >> $BUILDROOT/DEBIAN/postinst
fi
fi
chmod 0755 $BUILDROOT/DEBIAN/postinst
echo "#!/bin/bash
" > $BUILDROOT/DEBIAN/prerm
if [ -f $ROOT/prerm ]; then
cat $ROOT/prerm >> $BUILDROOT/DEBIAN/prerm
else
if [ "$SERVICE" == "yes" ]; then
echo "
/usr/bin/systemctl --no-reload disable yunion-${PKG}.service >/dev/null 2>&1 || :
/usr/bin/systemctl stop yunion-${PKG}.service >/dev/null 2>&1 ||:
" >> $BUILDROOT/DEBIAN/prerm
fi
fi
chmod 0755 $BUILDROOT/DEBIAN/prerm
echo "#!/bin/bash
" > $BUILDROOT/DEBIAN/postrm
if [ -f $ROOT/postrm ]; then
cat $ROOT/postrm >> $BUILDROOT/DEBIAN/postrm
else
if [ "$SERVICE" == "yes" ]; then
echo "
/usr/bin/systemctl daemon-reload >/dev/null 2>&1 ||:
" >> $BUILDROOT/DEBIAN/postrm
fi
fi
chmod 0755 $BUILDROOT/DEBIAN/postrm
dpkg-deb --build $BUILDROOT
case "$CURRENT_ARCH" in
"amd64")
DSTARCH="x86_64"
;;
"arm64")
DSTARCH="aarch64"
;;
"riscv64")
DSTARCH="riscv64"
;;
esac
mkdir -p ${OUTPUT_DIR}/${DSTARCH}
mv ${BUILDROOT}.deb ${OUTPUT_DIR}/${DSTARCH}/

View File

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

View File

@@ -0,0 +1,22 @@
export PATH=/opt/yunion/bin:$PATH
if [ -f /etc/profile.d/bash_completion.sh ]; then
source /etc/profile.d/bash_completion.sh
fi
test -f /etc/yunion/rcadmin && source /etc/yunion/rcadmin
if [ -n "$OS_AUTH_TOKEN" ]; then
test -n "$OS_USERNAME" && unset OS_USERNAME
test -n "$OS_PASSWORD" && unset OS_PASSWORD
test -n "$OS_DOMAIN_NAME" && unset OS_DOMAIN_NAME
test -n "$OS_ACCESS_KEY" && unset OS_ACCESS_KEY
test -n "$OS_SECRET_KEY" && unset OS_SECRET_KEY
fi
source <(climc --completion bash)
source <(kubectl completion bash)
echo "Welcome to Cloud Shell :-) You may execute climc and other command tools in this shell."
echo "Please exec 'climc' to get started"
echo ""

View File

@@ -1,6 +0,0 @@
# rbac for project owner, not allow for delete
roles:
- domain_admin
scope: domain
policy:
'*': allow

View File

@@ -0,0 +1,10 @@
policy:
'*':
'*':
'*': allow
create: deny
delete: deny
perform:
purge: deny
clone: deny
'*': allow

View File

@@ -1,9 +0,0 @@
# rbac for normal user, not allow for delete
scope: project
policy:
'*':
'*':
'*': allow
create: deny
update: deny
delete: deny

View File

@@ -0,0 +1,2 @@
policy:
'*': allow

View File

@@ -1,6 +0,0 @@
# rbac for project owner, not allow for delete
roles:
- project_owner
scope: project
policy:
'*': allow

View File

@@ -1,8 +0,0 @@
# rbac for sysadmin
projects:
- system
roles:
- admin
scope: system
policy:
'*': allow

View File

@@ -0,0 +1,6 @@
policy:
'*':
'*':
get: allow
list: allow
'*': deny

View File

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

View File

@@ -0,0 +1,6 @@
公有云子账号创建成功
主账号:{{ .account }}<br>
名称:{{ .name }}<br>
密码:{{ .password }}<br>
登录地址: {{ .iam_login_url }}<br>
资源ID: {{ .id }}<br>

View File

@@ -0,0 +1,6 @@
Clouduser has been created successfully
Root Account: {{ .account }}<br>
Name{{ .name }}<br>
Password{{ .password }}<br>
IAM Login URL: {{ .iam_login_url }}<br>
Resource ID: {{ .id }}<br>

View File

@@ -0,0 +1 @@
公有云子账号 {{ .name }} 创建成功

View File

@@ -0,0 +1 @@
The clouduser {{ .name }} created successfully

View File

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

View File

@@ -0,0 +1,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>

23
build/convert_rpm2deb.sh Executable file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
set -e
if [ -z "$ROOT_DIR" ]; then
ROOT_DIR=$(dirname $(dirname $(readlink -f "$BASH_SOURCE")))
fi
RPMS_DIR=$ROOT_DIR/_output/rpms
DEBS_DIR=$ROOT_DIR/_output/debs
case $(uname -m) in
x86_64)
CURRENT_ARCH=amd64
;;
aarch64)
CURRENT_ARCH=arm64
;;
esac
mkdir -p $DEBS_DIR && cd $DEBS_DIR
find $RPMS_DIR -type f -name *.rpm -exec alien --target=$CURRENT_ARCH {} \;

View File

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

View File

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

2
build/dhcprelay/vars Normal file
View File

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

View File

@@ -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,3 +1,8 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/ansibleserver-base:v1.0.2
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.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,12 +1,31 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
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"
RUN sed -i 's!https://dl-cdn.alpinelinux.org/!https://mirrors.ustc.edu.cn/!g' /etc/apk/repositories
# openssh-client, for ansible ssh connection
# git, ca-certificates, for fetching ansible roles
RUN set -x \
&& apk update \
&& apk add openssh-client \
&& apk add ansible \
&& apk add tzdata git ca-certificates \
&& rm -rf /var/cache/apk/*
&& apk update \
&& apk add openssh-client \
&& apk add sshpass \
&& apk add py3-pip \
&& apk add py3-paramiko \
&& apk add tzdata git ca-certificates
RUN apk add --no-cache openssh openssl curl rsync pv mariadb-client
RUN apk add --no-cache --virtual .build-dependencies \
libffi-dev openssl-dev python3-dev build-base py-setuptools rust cargo mariadb-dev
# ansible should be installed
# after setuptools and wheel
RUN rm /usr/lib/python3.*/EXTERNALLY-MANAGED
RUN pip3 install -U pip setuptools wheel \
&& pip3 install mysqlclient pywinrm \
&& pip3 install 'ansible<=9.0.0' \
&& apk del --no-network .build-dependencies \
&& rm -rf /root/.cache /root/.cargo /var/cache/apk/*

View File

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

View File

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

View File

@@ -1,9 +1,8 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/baremetal-base:v0.0.1
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
ADD ./_output/bin/baremetal-agent /opt/yunion/bin/baremetal-agent
ADD ./_output/bin/.baremetal-agent.bin /opt/yunion/bin/.baremetal-agent.bin
ADD ./_output/bin/bundles/baremetal-agent /opt/yunion/bin/bundles/baremetal-agent
ENV TZ="UTC"
ADD ./_output/alpine-build/bin/baremetal-agent /opt/yunion/bin/baremetal-agent

View File

@@ -1,39 +1,89 @@
FROM frolvlad/alpine-glibc:glibc-2.28
#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:v4.0.0-20251203.0 as yunionos
MAINTAINER "Yaoqi Wan <wanyaoqi@yunionyun.com>"
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-*
RUN dnf install -y grub2*
# make grub_booti386 firmware
RUN grub2-mkimage -d /usr/lib/grub/i386-pc/ -O i386-pc-pxe -o /root/grub_booti386 -p '/grub' pxe tftp boot linux ext2 xfs ntfs fat part_msdos part_gpt normal biosdisk
# make grub_bootx64 firmware
RUN grub2-mkimage -d /usr/lib/grub/x86_64-efi/ -O x86_64-efi -o /root/grub_bootx64.efi -p '/grub' efinet tftp boot linux ext2 xfs ntfs fat part_msdos part_gpt normal efi_gop
# make grub_arm64 firmware
RUN grub2-mkimage -d /usr/lib/grub/arm64-efi/ -O arm64-efi -o /root/grub_arm64.efi -p '/grub' efinet tftp boot linux ext2 xfs ntfs fat part_msdos part_gpt normal efi_gop
RUN mkdir -p /tftp/grub
RUN cp /root/grub_booti386 /tftp
RUN cp -rf /usr/lib/grub/i386-pc /tftp/grub
RUN cp /root/grub_bootx64.efi /tftp
RUN cp -rf /usr/lib/grub/x86_64-efi /tftp/grub
RUN cp /root/grub_arm64.efi /tftp
RUN cp -rf /usr/lib/grub/arm64-efi /tftp/grub
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
LABEL maintainer="Zexi Li <zexi.li@icloud.com>"
RUN mkdir -p /opt/yunion/bin
RUN apk update && \
apk add --no-cache ipmitool ethtool tzdata ca-certificates && \
apk add --no-cache ipmitool ethtool tzdata ca-certificates cdrkit coreutils librados librbd && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN mkdir -p /opt/cloud/yunion/baremetal
# download baremetal-pxerom-*.x86_64.rpm and unpack rpm in current directory
COPY ./opt/cloud/yunion/baremetal/bootia32.efi /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/bootx64.efi /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/chain.c32 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/initramfs /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/isolinux.bin /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/kernel /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/ldlinux.c32 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/ldlinux.e32 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/ldlinux.e64 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/libcom32.c32 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/libutil.c32 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/lpxelinux.0 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/menu.c32 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/pxelinux.0 /opt/cloud/yunion/baremetal
# udpate latest pci.ids
RUN wget -O /opt/cloud/yunion/baremetal/pci.ids http://pci-ids.ucw.cz/v2.2/pci.ids
# add mkisofs with bundles libraries
ADD ./mkisofs /bin/mkisofs
ADD ./.mkisofs.bin /bin/.mkisofs.bin
ADD ./bundles/mkisofs /bin/bundles/mkisofs
# use GNU timeout command replace busybox timeout command
RUN rm /usr/bin/timeout
ADD ./timeout /bin/timeout
ADD ./.timeout.bin /bin/.timeout.bin
ADD ./bundles/timeout /bin/bundles/timeout
# download baremetal-pxerom-*.x86_64.rpm and unpack rpm in current directory
#COPY --from=build /opt/cloud/yunion/baremetal/bootia32.efi /opt/cloud/yunion/baremetal
#COPY --from=build /opt/cloud/yunion/baremetal/bootx64.efi /opt/cloud/yunion/baremetal
#COPY --from=build /opt/cloud/yunion/baremetal/chain.c32 /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/initramfs /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/isolinux.bin /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/kernel /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/ldlinux.c32 /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/ldlinux.e32 /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/ldlinux.e64 /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/libcom32.c32 /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/libutil.c32 /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/lpxelinux.0 /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/menu.c32 /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/pxelinux.0 /opt/cloud/yunion/baremetal
# copy grub file
COPY --from=grub-stage /tftp/grub_booti386 /opt/cloud/yunion/baremetal
COPY --from=grub-stage /tftp/grub_bootx64.efi /opt/cloud/yunion/baremetal
COPY --from=grub-stage /tftp/grub_arm64.efi /opt/cloud/yunion/baremetal
COPY --from=grub-stage /tftp/grub /opt/cloud/yunion/baremetal/grub
# copy boot files from yunionos
COPY --from=yunionos /yunionos/x86_64/kernel /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/initramfs /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/aarch64/kernel /opt/cloud/yunion/baremetal/kernel_aarch64
COPY --from=yunionos /yunionos/aarch64/initramfs /opt/cloud/yunion/baremetal/initramfs_aarch64
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
COPY --from=yunionos /yunionos/x86_64/bootia32.efi /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/bootx64.efi /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/chain.c32 /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/initramfs /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/kernel /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/ldlinux.c32 /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/ldlinux.e32 /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/ldlinux.e64 /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/libcom32.c32 /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/libutil.c32 /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/lpxelinux.0 /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/menu.c32 /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/pxelinux.0 /opt/cloud/yunion/baremetal

View File

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

View File

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

View File

@@ -0,0 +1,24 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
ARG TARGETPLATFORM
ARG BUILDPLATFORM
ARG TARGETARCH
LABEL maintainer="Zexi Li <lizexi@yunionyun.com>"
ENV TZ="Asia/Shanghai"
RUN mkdir -p /opt/yunion/bin
RUN echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >>/etc/apk/repositories
RUN apk add --no-cache bash bash-completion tzdata ca-certificates vim ipmitool ceph-common dropbear shadow && \
rm -rf /var/cache/apk/*
RUN usermod --shell /bin/bash root
RUN curl -L https://iso.yunion.cn/binaries/kubernetes-release/release/v1.22.9/bin/linux/${TARGETARCH}/kubectl -o /usr/bin/kubectl && chmod a+x /usr/bin/kubectl
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN mkdir -p /opt/yunion/bin

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,9 @@
# registry.cn-beijing.aliyuncs.com/yunionio/debian10-base:1.0
FROM debian:trixie
RUN apt update && apt install -y alien
RUN apt-get clean autoclean && \
apt-get autoremove --yes && \
rm -rf /var/lib/{apt,dpkg,cache,log}/

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,9 +1,8 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-base:v0.3
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 apk add librados librbd
RUN mkdir -p /opt/yunion/bin
ADD ./_output/alpine-build/bin/host /opt/yunion/bin/host

View File

@@ -1,8 +1,8 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-deployer-base:v0.2
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 Asia/Shanghai
ENV TZ="UTC"
RUN mkdir -p /opt/yunion/bin

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,3 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
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,3 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
ADD ./_output/alpine-build/bin/monitor /opt/yunion/bin/monitor
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.2
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,13 +1,14 @@
FROM alpine:3.11
# TODO: use 3.14 will lead 'apk add qemu-img fail on arm64'
FROM alpine:3.22.1
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
LABEL maintainer="Zexi Li <lizexi@yunionyun.com>"
ENV TZ Asia/Shanghai
ENV TZ="UTC"
RUN mkdir -p /opt/yunion/bin
RUN sed -i 's!https://dl-cdn.alpinelinux.org/!https://mirrors.ustc.edu.cn/!g' /etc/apk/repositories
RUN apk update && \
apk add --no-cache tzdata curl busybox-extras tcpdump strace ca-certificates && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

View File

@@ -0,0 +1,13 @@
FROM alpine:3.15.4
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

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

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