Files
selfheal-lab-gitops/vm/ai-env/runbooks/gce-instance-reset.md
T
seon 364654bb2c feat(ai-env): write runbooks and prompt context in Japanese, set HITL_LANG=ja
ランブック 11 本と prompts/topology.md・slo.md を日本語で書き直し、
system.md に「根拠と判断理由は日本語で書く」指示を追加した。
Discord ボットの文言も HITL_LANG=ja で日本語になる。
識別子(action id、ラベル、メトリクス名、オブジェクト名)は英語のまま。
2026-10-08 14:34:10 +09:00

6 lines
819 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# gce.instance_reset(層 2、影響大、元に戻せる)
使う場面: ペット VM(selfheal-obs、selfheal-harness、selfheal-db-replica)が固まっているときです。インスタンスの状態は RUNNING なのに、SSH が通らない、メトリクスが来ない、docker が応答しない、という状況です。疑いだけで selfheal-db-primary をリセットしてはいけません。プライマリの障害は層 3 の判断です(db-primary-down.md)。
手順(ハーネスの action gce.instance_reset、target {instance: selfheal-db-replica}): `gcloud compute instances reset` を実行します。起動スクリプトが vm/<role>/apply.sh を再実行し、サービスは 2〜4 分で戻ります。取り消しはありません。ディスクは保持されます。