47 Commits
Author SHA1 Message Date
屈轩andioito 2c11c5cc05 fix(monitor): sync model sets from the region API instead of apimap (#26231)
The apimap rework (1eb6fb1b00) made the apimap service the default sync
source for APIHelper, gated on FetchFromComputeService.  vpcagent,
lbagent and the apimap service itself were adapted, but the monitor
worker was left on the apimap path while MonitorResModelSets does not
implement IAPIMapModelSets: every hourly tick failed with

    doSync error: model sets *models.MonitorResModelSets cannot be
    fetched from apimap

and the ModelSets() channel never delivered, so monitor resource sync
has been a no-op since then.  The apimap service only ever publishes
the agents' network model sets, so fetch the monitor model sets from
the region API as before.

The cloudproxy agent worker has the same latent defect (proxy endpoints
and forwards are not served by apimap either); fix it the same way.

Co-authored-by: ioito <ioito@users.noreply.github.com>
2026-11-18 15:53:27 +08:00
Jian QiuandQiu Jian cc67ebf826 fix: upgrade ssh keypair to ed25519 (#25739)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-09-27 20:59:59 +08:00
f208976ef0 fix(ansible): validate playbook inventory, connection, and file paths (#25605)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 11:55:48 +08:00
Jian QiuandQiu Jian 63ef1dad78 fix: unhandled errors (#25383)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-08-20 17:30:29 +08:00
Jian QiuandQiu Jian 1920de6147 fix: vpc distributes static routes (#25213)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-07-23 19:36:42 +08:00
wanyaoqi cc8cb4dbdf fix(mcclient,region): add tasks mod, service app options (#24731) 2026-04-29 23:47:54 +08:00
Jian QiuandQiu Jian f50f83feb1 fix: endpoint mode slave (#24016)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-01-06 18:05:41 +08:00
屈轩 eb82b9d9ca fix: upgrade go 1.24 (#23241) 2025-09-05 18:26:33 +08:00
Jian QiuandQiu Jian 2d4ed27c0c fix: ipv6 compatibility issues fixes 20250809 (#23060)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-10 09:10:17 +08:00
屈轩 cc6eca5b90 fix(cloudproxy): cloudproxy service auth first (#19499) 2024-02-19 12:08:23 +08:00
Jian QiuandQiu Jian 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
屈轩 4b73c9667c fix(webconsole): use common options (#19329) 2024-01-29 11:29:23 +08:00
屈轩 f52e78a64d fix(common): support report bug (#18626) 2023-11-10 15:46:07 +08:00
mhf 63c086aa2c fix(notify): 对服务异常添加消息通知 2023-01-16 15:52:03 +08:00
Qiu Jian f6c5006079 feature: vpcagent sync handler 2022-11-25 17:36:09 +08:00
QIU Jian 293afd2e69 fix: remove apiversion param from session 2022-08-25 09:43:50 +08:00
Jian QiuandQiu Jian 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
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 97a3ab12a2 support sqlite 2021-11-17 07:25:00 +08:00
Qu Xuan 06dc1c1b87 fix(common): split mcclient modules by service 2021-11-05 19:24:50 +08:00
rainzm f46e3747ff feat(cloudproxy): add purge-forward for proxy endpoint 2021-11-01 19:37:38 +08:00
rainzm 7cb1d8286d feat(cloudproxy): support generateName for createFromServer 2021-10-12 20:31:21 +08:00
Qu Xuan 8ba5393ae5 fix(region): optimized validate delete condition query 2021-09-23 09:58:54 +08:00
rainzm 9103e4fba5 feat(region): allow custom sshport when make sshable 2021-09-01 11:42:28 +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
rainzm f261db7ae8 feat(cloudproxy): add GetDetailsLastseen for forwards 2021-05-10 18:53:17 +08:00
Yousong Zhou f6271885c1 cloudproxy: agent: no collision between ports of ssh conn and forwards 2021-05-10 17:07:51 +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
rainzm f906d15a5e fix(cloudproxy): correct fetch projectId from server for PE 2021-05-08 22:25:00 +08:00
Yousong Zhou cba91b54db cloudproxy: test proxy endpoint connectivity and remote config 2021-05-08 19:30:31 +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
rainzm 51e75c48f8 fix(cloudproxy): keep the proxy endpoint project and server consistent 2021-05-06 16:33:52 +08:00
TangBin 62f9243ba2 fix(cloudproxy): ssh proxy endpoint&match query 2021-04-23 19:38:34 +08:00
Yousong Zhou 675fe334ff cloudproxy: proxy_endpoints: create-from-server: allow name as arg 2021-04-22 20:45:30 +08:00
Yousong Zhou cd14aa1118 cloudproxy: agent: return when ctx is Done 2021-04-19 10:38:07 +08:00
Yousong Zhou bd21223573 cloudproxy: agent: avoid stallment caused by client timeout 2021-04-16 19:42:24 +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 d9b3d3ee85 cloudproxy: agent: refresh bindAddr, advertiseAddr when needed 2021-02-26 19:19:38 +08:00
Yousong Zhou 22145cbe0f cloudproxy: initial version 2021-02-23 15:31:47 +08:00