feat: add ops center and node onboarding flow
This commit is contained in:
155
HANDOFF_20260418_2344.md
Normal file
155
HANDOFF_20260418_2344.md
Normal file
@@ -0,0 +1,155 @@
|
||||
# HANDOFF 2026-04-18 23:44
|
||||
|
||||
## 当前最高优先级
|
||||
|
||||
仍然是:大陆节点接管闭环最小路径
|
||||
|
||||
但当前阶段已经从“补 SSH 入口”切到:
|
||||
|
||||
- 修正大陆节点环境内容
|
||||
- 让 bootstrap 真正可以落地执行
|
||||
|
||||
## 今晚已完成的步骤
|
||||
|
||||
已完成:
|
||||
|
||||
1. 录入 `mainland-controller-01` SSH 信息
|
||||
2. 录入 `mainland-worker-01` SSH 信息
|
||||
3. 复查 `ops/nodes`
|
||||
4. 逐台执行 `node-handover`
|
||||
5. 逐台生成并复核 `node-bootstrap-plan`
|
||||
6. 复核:
|
||||
- `go-live-summary`
|
||||
- `ops/nodes`
|
||||
- `release-launchpad`
|
||||
7. 手工验证 controller SSH 登录可达
|
||||
|
||||
## 当前结果
|
||||
|
||||
当前指标:
|
||||
|
||||
- `ssh_ready = 2`
|
||||
- `remote_access_ready = 3`
|
||||
- 是否达到 `remote_access_ready = 3/3`:是
|
||||
|
||||
但 A1 仍未闭环,因为:
|
||||
|
||||
- `mainland-controller-01` 仍是 `pending_bootstrap`
|
||||
- `mainland-worker-01` 仍是 `pending_bootstrap`
|
||||
- 两台都还没有完成:
|
||||
- `bootstrap`
|
||||
- `register / heartbeat`
|
||||
- `acceptance`
|
||||
|
||||
## 两台节点推进到哪一步
|
||||
|
||||
### mainland-controller-01
|
||||
|
||||
已推进到:
|
||||
|
||||
- SSH 已录入
|
||||
- `node-handover` 已完成
|
||||
- `node-bootstrap-plan` 已生成
|
||||
- 手工 SSH 登录成功
|
||||
- 尝试执行 bootstrap 片段
|
||||
|
||||
准确卡点:
|
||||
|
||||
- 远端缺少 node-agent 所需文件
|
||||
- bootstrap 执行时报错:
|
||||
- `bootstrap_node_agent.sh not found under known layouts`
|
||||
- `Unit domaincheck-node-agent.service could not be found`
|
||||
|
||||
阻塞分类:
|
||||
|
||||
- 主阻塞:环境问题
|
||||
- 次阻塞:权限 / 外部条件问题
|
||||
- 当前控制面自动 SSH 执行器默认走密钥模式
|
||||
- 今晚验证可用的是密码 SSH
|
||||
|
||||
### mainland-worker-01
|
||||
|
||||
已推进到:
|
||||
|
||||
- SSH 已录入
|
||||
- `node-handover` 已完成
|
||||
- `node-bootstrap-plan` 已生成
|
||||
|
||||
准确卡点:
|
||||
|
||||
- 与 controller 同类
|
||||
- 远端缺少:
|
||||
- `domain-api/app/node_agent.py`
|
||||
- `domain-api/app/api/routes/ops_agent.py`
|
||||
- `domain-api/app/services/ops_agent_service.py`
|
||||
- `domain-api/deploy/systemd/domain-node-agent.service`
|
||||
- `domain-api/deploy/multi-region/templates/domaincheck-node-agent.env.example`
|
||||
|
||||
阻塞分类:
|
||||
|
||||
- 主阻塞:环境问题
|
||||
|
||||
## 收口结论
|
||||
|
||||
今晚属于“有明显进展,但 A1 未闭环”的收口结果。
|
||||
|
||||
明确进展:
|
||||
|
||||
- 从 `remote_access_ready = 1/3` 推进到了 `3/3`
|
||||
- 两台大陆节点都已进入 `ssh_ready`
|
||||
- handover 与 bootstrap plan 链路都已打通
|
||||
|
||||
明确未完成:
|
||||
|
||||
- 两台大陆节点仍未完成 bootstrap
|
||||
- 因此还没有 register / heartbeat
|
||||
- 也没有进入 acceptance
|
||||
|
||||
## 下一轮如果继续,第一步先做什么
|
||||
|
||||
下一轮先做的不是新功能,而是修正大陆节点环境。
|
||||
|
||||
最小动作:
|
||||
|
||||
1. 确认大陆两台代码目录由 `www` 用户更新到包含 node-agent 文件的最新版本
|
||||
2. 确认以下文件在两台大陆节点都存在:
|
||||
- `domain-api/app/node_agent.py`
|
||||
- `domain-api/app/api/routes/ops_agent.py`
|
||||
- `domain-api/app/services/ops_agent_service.py`
|
||||
- `domain-api/deploy/systemd/domain-node-agent.service`
|
||||
- `domain-api/deploy/multi-region/templates/domaincheck-node-agent.env.example`
|
||||
3. 然后重新执行:
|
||||
- `node-bootstrap-plan`
|
||||
- `bootstrap`
|
||||
- `acceptance`
|
||||
|
||||
## 推荐模型与推理等级
|
||||
|
||||
继续推荐:
|
||||
|
||||
- `GPT-5.4`
|
||||
- `high`
|
||||
|
||||
## 现在不要做的事情
|
||||
|
||||
不要做:
|
||||
|
||||
- 新页面
|
||||
- 新模块
|
||||
- 控制面增强项
|
||||
- 新架构文档扩写
|
||||
- Candidate B2
|
||||
- 为了解决今晚问题而扩展新的运维功能
|
||||
|
||||
## 明天需要你补充或操作的内容
|
||||
|
||||
你明天需要安排的最小动作是:
|
||||
|
||||
- 让大陆两台节点的仓库内容更新到当前控制面所需版本
|
||||
- 并且注意:
|
||||
- git / 代码更新应继续使用 `www`
|
||||
- 不要用 `root` 跑 git
|
||||
|
||||
## 当前一句话状态
|
||||
|
||||
今晚已经把大陆两台从“未纳管 SSH”推进到“SSH 可执行、bootstrap plan 可生成”,但两台都卡在相同的环境缺口上:远端仓库缺 node-agent 运行文件,因此 A1 还差最后的 bootstrap / register / acceptance 收口。
|
||||
Reference in New Issue
Block a user