18 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 1920de6147 fix: vpc distributes static routes (#25213)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-07-23 19:36:42 +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
屈轩 f52e78a64d fix(common): support report bug (#18626) 2023-11-10 15:46:07 +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
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
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 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 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 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