main.ftl 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  1. cluster-not-found = Cluster "{ $name }" not found
  2. nccl-config-missing = NCCL config not found
  3. cluster-auto-fail = No suitable cluster found
  4. cluster-selected = ✅ Auto-selected cluster: { $name } ({ $nodes } { $nodes ->
  5. [one] node
  6. *[other] nodes
  7. })
  8. container-log-header = 📜 Latest container logs:
  9. cluster-stopping = 🛑 Stopping cluster '{ $name }'...
  10. cluster-all-stopped = ✅ All containers stopped.
  11. cluster-section = === Cluster: { $name } ===
  12. doctor-header = 🩺 Doctor: { $name } ({ $engine }) [backend: { $backend }]
  13. doctor-node-section = --- { $name } ---
  14. doctor-all-passed = ✅ All checks passed!
  15. doctor-checks-failed = ⚠ Some checks failed. Run with --repair to auto-fix.
  16. doctor-repairing = 🔧 Repairing image...
  17. doctor-repaired = ✅ Repaired image: { $tag }
  18. doctor-dry-build = (dry-run) Would build { $tag } on { $node }
  19. logs-follow-head = 📜 Following logs for '{ $name }' (head node)...
  20. logs-section = --- { $name } ---
  21. health-cluster-header = === { $name } === { $nodes } { $nodes ->
  22. [one] node
  23. *[other] nodes
  24. }
  25. health-switch-off = 🚫 switch off
  26. health-interface-down = 🌐 interface down
  27. health-all-online = ✅ all online
  28. health-partial-online = ({ $online } online, { $offline } offline)
  29. health-node-online-cluster-down = ◍ { $name } ({ $ip }){ $net } — online (cluster offline)
  30. health-free-count = — { $free } free
  31. health-cluster-down = ⏻ cluster offline
  32. health-soft-off = ⚙ { $list } off (non-blocking)
  33. health-net-status = [net: { $details }]
  34. health-no-containers = (no containers)
  35. health-no-containers-inline = , no containers
  36. exec-header = ⚡ exec: { $cmd } ({ $nodes } { $nodes ->
  37. [one] node
  38. *[other] nodes
  39. })
  40. exec-section = --- { $name } ---
  41. exec-failed = ✗ { $name } :: { $cmd } :: { $error }
  42. exec-completed-errors = exec completed with errors (some nodes reported failures)
  43. power-off-dryrun = dry-run: skipping actual shutdown + HA call
  44. power-off-mikrotik-skip = { $entity } is a RouterOS API device ({ $address }) — HA skipped
  45. power-off-mikrotik-would = would: RouterOS /system/shutdown { $name } ({ $address })
  46. power-off-mikrotik-failed = { $name }: RouterOS shutdown failed ({ $error })
  47. power-on-mikrotik-manual = { $name }: RouterOS device — no remote power-on; power it on manually
  48. power-on-mikrotik-manual-would = would: power on { $name } manually (RouterOS has no remote on)
  49. power-off-mikrotik-relay = { $name }: relay { $relay } switched off (power cut)
  50. power-off-mikrotik-relay-would = would: turn off relay { $relay } (cuts power to { $name })
  51. power-off-mikrotik-relay-failed = { $name }: could not switch off relay { $relay } ({ $error }) — verify the outlet is de-energized
  52. power-on-mikrotik-relay-would = would: turn on relay { $relay} (powers on { $name})
  53. power-off-would = would: { $action } { $target }
  54. power-off-shutdown-failed = ✗ { $name } :: { $cmd } :: { $error }
  55. power-off-waiting = ⏳ waiting { $secs }s for nodes to settle
  56. power-off-no-ha = no [home_assistant] config; OS shutdown was performed above
  57. power-off-ssh-failures = some nodes reported SSH failures during shutdown
  58. power-off-extras-skipped = subset power off ({ $nodes }): keeping cluster-level extras on ({ $extras }) — they are shared by the nodes that stay up
  59. power-on-dryrun = dry-run: skipping actual HA call
  60. power-on-would-on = would: HA turn_on { $entity }
  61. power-on-would-skip = would skip: { $name } (no entity)
  62. power-on-head = 💡 power on: { $nodes } node(s)
  63. ha-invalid-entity = { $name }: invalid entity '{ $entity }': { $error }
  64. ha-call-failed = HA { $service } { $entity }: { $error }
  65. ha-skip-no-entity = ⚠ { $name }: no `entity` configured, skipping HA
  66. ha-extra-failed = HA { $service } { $extra } ({ $label }): { $error }
  67. power-switch-would-off = would: HA turn_off { $entity }
  68. power-switch-would-off-extra = would: HA turn_off { $extra } (from extras)
  69. power-switch-would-on = would: HA turn_on { $entity }
  70. power-switch-would-on-extra = would: HA turn_on { $extra } (to extras)
  71. power-switch-shutdown-failed = ✗ { $name } shutdown: { $error }
  72. power-switch-waiting = ⏳ waiting { $secs }s for shutdown
  73. power-switch-no-ha = no [home_assistant] config; OS shutdown was performed
  74. power-off-entity-would = would: HA turn_off { $entity }
  75. pre-serve-skip = ⏭ Skipping pre-serve hooks (--skip-before-serve)
  76. pre-serve-failed = pre-serve: node { $name } failed: { $error }
  77. pre-serve-run = { $node } ({ $tag }) :: { $cmd }
  78. pre-serve-ignored = ⚠ { $cmd } ignored: { $error }
  79. host-key-header = Discovered host keys:
  80. host-key-line = { $name } ({ $ip }) -> host_key = { $key }
  81. host-key-error = { $name } ({ $ip }) -> error: { $error }
  82. host-key-no-match = (no nodes matched)
  83. recipe-starting = 🚀 Starting recipe: { $name } ({ $engine }) [backend: { $backend }]
  84. cold-applied = ❄ --cold: applied the recipe's cold_args over its args
  85. cold-no-block = ❄ --cold: recipe '{ $name }' has no cold_args; serving with normal args
  86. cluster-switch-off-detected = ⚠️ Cluster switch appears to be off
  87. cluster-switch-powered-on = ✅ Cluster switch powered on
  88. cluster-waiting-for-nodes = ⏳ Waiting for nodes to become available...
  89. cluster-nodes-available = ✅ All nodes are now available
  90. cluster-nodes-not-available-timeout = ❌ Timeout waiting for nodes to become available
  91. logs-header = 📜 Logs for cluster '{ $name }' ({ $count } nodes)
  92. engine-started = ✅ { $engine } started on { $name } (rank { $rank })
  93. engine-start-failed = Failed to start { $engine } on { $name } (rank { $rank }): { $error }
  94. cluster-started = 🎉 Cluster started! API → http://{ $ip }:{ $port }
  95. exec-both-specified = Specify either --cluster or --recipe, not both
  96. exec-missing = Must specify either --cluster or --recipe
  97. exec-node-not-found = Node '{ $name }' not found in cluster '{ $cluster }'
  98. exec-cluster-empty = Cluster '{ $name }' has no nodes
  99. exec-cannot-use-alias = Cannot use --alias together with a trailing command
  100. exec-must-specify = Must specify either --alias <name> or a command after `--`
  101. exec-unknown-alias-empty = Unknown alias @{ $name } (no aliases configured)
  102. exec-unknown-alias-list = Unknown alias @{ $name }; known aliases: { $aliases }
  103. mods-uploading = 📤 Uploading mods to { $node }...
  104. mods-uploaded = ✅ Mods uploaded to { $node }
  105. mods-entrypoint-required = Recipe '{ $name }' has mods but no entrypoint; entrypoint is required when mods are present
  106. after-stop-failed = after_stop: node { $name } failed: { $error }
  107. after-stop-run = { $node } ({ $tag }) :: { $cmd }
  108. after-stop-ignored = ⚠ { $cmd } ignored: { $error }
  109. solo-node-selected = 🎯 Solo: selected node { $name } in cluster { $cluster }
  110. # --- Strings that previously bypassed the i18n system (hardcoded) ---
  111. boot-wait = ⏳ Waiting { $secs }s for nodes to boot...
  112. doctor-found-repaired = 🩺 Found repaired image: { $tag }
  113. tmux-waiting-head = ⏳ Waiting for head node to be ready...
  114. tmux-head-ready = ✅ Head node ready. Starting worker nodes...
  115. tmux-head-api-ready = Head node API ready (attempt { $attempt })
  116. tmux-session-started = ✅ Session started on { $name }
  117. tmux-stopped = ✅ Stopped '{ $sess }' on { $name }
  118. tmux-all-stopped = ✅ All tmux sessions stopped.
  119. tmux-all-ok = ✅ ALL OK
  120. tmux-issues = ⚠️ { $issues }
  121. tmux-cluster-healthy = ✅ Cluster is healthy!
  122. tmux-node-section = --- { $name } ({ $sess }) ---
  123. tmux-node-no-output = --- { $name } — no output ---
  124. tmux-session-created = ✅ tmux session created on { $name }
  125. tmux-no-pty = (russh does not support interactive PTY. Use the following command directly:)
  126. sync-digest-match = '{ $name }' OK (digest matches)
  127. sync-syncing = { $name } ({ $ip }): syncing...
  128. sync-synced = { $name } OK
  129. sync-fabric-fallback = { $name }: 200G fabric hop failed ({ $err }) — falling back to 10G mgmt; fix node-to-node ssh over the fabric NICs (authorized_keys / host keys for the 200.x addresses)
  130. health-node-offline = ✗ { $name } ({ $ip }) — offline
  131. health-node-idle = ○ { $name } ({ $ip }){ $net }
  132. health-node-online = ● { $name } ({ $ip }){ $net }
  133. health-container-count = , { $count } { $count ->
  134. [one] container
  135. *[other] containers
  136. }
  137. power-off-head = 🛑 power off: { $nodes } node(s) — sudo shutdown now
  138. power-switch-head = 🔌 switch: { $from } → { $to } ({ $nodes } node(s) + { $entities } entity(ies) to disable)
  139. power-switch-powering-on = 💡 switch: powering on { $nodes } node(s) + { $entities } entity(ies) to { $to }
  140. health-task-join = task join: { $error }
  141. health-no-recipes = No sm121 containers running.
  142. health-running-recipes = Running recipes:
  143. health-recipe-line = { $recipe } — { $nodes } { $nodes ->
  144. [one] node
  145. *[other] nodes
  146. }: { $list }
  147. tmux-ray-backend = 🐍 Ray backend detected — starting head node first...
  148. tmux-mp-backend = 🔗 MP backend detected — starting all nodes in parallel...
  149. tmux-following-logs = 📜 Following logs from '{ $sess }' on { $name }...
  150. tmux-deploy-ignored-opts = ⚠️ tmux deploy: ignoring Docker-only CLI opts: { $opts }
  151. tmux-mods-unsupported = Recipe '{ $name }' uses [mods], which is Docker-only. tmux deployment does not support mods.
  152. tmux-composed-model-unsupported = Recipe '{ $name }' uses [composed_model], which is Docker-only. tmux deployment does not support composed model directories.
  153. tmux-health-section = Tmux:
  154. tmux-health-entry-running = { $recipe } — { $node }: running (API: { $api })
  155. tmux-health-entry-degraded = { $recipe } — { $node }: degraded (session exists, process dead)
  156. tmux-health-all-stopped = { $count ->
  157. [one] { $count } tmux recipe configured, all stopped
  158. *[other] { $count } tmux recipes configured, all stopped
  159. }
  160. tmux-api-ok = 200
  161. tmux-api-down = down
  162. venv-preparing = 🔧 Preparing venv: { $venv }
  163. venv-exists = ✓ venv already exists on { $name }
  164. venv-creating = venv not found on { $name } — creating...
  165. venv-created = ✓ venv created successfully on { $name }
  166. venv-not-created = venv was not created successfully on { $name } — setup commands ran but activate script is missing
  167. composed-dir-dry-run = [dry-run] would build composed model dir '{ $host }' on '{ $node }' (mount: { $mount }, { $sources } { $sources ->
  168. [one] source
  169. *[other] sources
  170. }, { $files } { $files ->
  171. [one] file
  172. *[other] files
  173. }, { $local } { $local ->
  174. [one] local file
  175. *[other] local files
  176. })
  177. composed-dir-built = Built composed model dir '{ $host }' on '{ $node }' ({ $sources } { $sources ->
  178. [one] source
  179. *[other] sources
  180. }, { $files } { $files ->
  181. [one] file
  182. *[other] files
  183. }, { $local } { $local ->
  184. [one] local file
  185. *[other] local files
  186. })
  187. # health render module (plain/md/html)
  188. health-nodes-count = { $nodes } { $nodes ->
  189. [one] node
  190. *[other] nodes
  191. }
  192. health-col-node = Node
  193. health-col-address = Address
  194. health-col-status = Status
  195. health-col-containers = Containers
  196. health-col-container = Container
  197. health-col-image = Image
  198. health-col-recipe = Recipe
  199. health-col-cluster = Cluster
  200. health-col-nodes = Nodes
  201. health-status-online = ● online
  202. health-status-offline = ✗ offline
  203. health-container-line = { $name } { $status } { $image }
  204. # sm121 report
  205. report-title = Tested recipes ({ $count })
  206. report-serving = Interactive recipe report: { $url } (live updates; Ctrl-C to stop)
  207. report-col-model = Model
  208. report-col-quant = Quant
  209. report-col-recipe = Recipe
  210. report-col-prov = Provenance
  211. report-col-engine = Engine
  212. report-col-nodes = Nodes×TP
  213. report-col-reports = Reports
  214. report-col-last = Last bench
  215. report-col-points = Points
  216. report-col-score = Score /100
  217. report-col-tps1 = Tok/s c1
  218. report-col-tps2 = Tok/s c2
  219. stop-not-verified = Containers not verified stopped on: { $nodes }
  220. report-col-up = Up
  221. report-col-launches = Launches
  222. dry-run-would-push = [dry-run] would push { $ref } (and refresh { $latest }) after the build
  223. push-mapping-failed = cannot map [registry].base { $base } to a push ref for { $image }
  224. pushing-image = Pushing image to { $ref } (tmux: { $session })...
  225. push-timeout = Push of { $ref } on { $node } timed out after { $elapsed } — inspect tmux session { $session } / log { $log } on the node.
  226. push-failed = Push of { $ref } on { $node } failed after { $elapsed }.\n{ $log }\nHint: if the log says unauthorized/denied — run `docker login { $host }` on { $node } (the launcher stores no registry credentials).
  227. pushed-image = Pushed { $ref } and refreshed { $latest } ({ $elapsed })
  228. push-running = Push running for { $elapsed }...
  229. push-already-published = { $ref } already published ({ $label}): unchanged image digest — skipping, use --force to re-publish
  230. power-on-on = { $name }: turned on
  231. power-on-cycled = { $name }: plug was on, node down — power cycled
  232. power-on-was-on = { $name }: plug already on (node up?) — left as is
  233. power-on-skip = { $name }: no HA entity — skipped
  234. power-on-failed = { $name }: HA call failed: { $error }
  235. power-on-cycling = ⟳ { $name }: plug reads on but the node is down — cycling { $entity }
  236. power-on-off-wait-timeout = { $name }: plug did not report off within 10 s (relay may have stuck)
  237. # --- recipe repos (src/recipe_repos.rs) ---
  238. git-failed = git { $cmd } failed: { $err }
  239. recipe-repo-archived-skip = recipe repo archived — skipping: { $url }
  240. recipe-repo-synced = recipe repo synced: { $url } → { $dir }
  241. recipe-repo-watch = repos watch: { $n } repo(s) synced, next re-sync in { $interval } min (Ctrl-C to stop)
  242. recipe-repo-unreachable = recipe repo '{ $url }' unreachable — skipping ({ $err }); continuing with the reachable repos
  243. repos-registry-corrupt = repos registry '{ $path }' is corrupt ({ $err }) — moving it to '{ $bak }' and starting fresh
  244. repos-registry-backup-failed = could not back up corrupt registry { $path }
  245. repos-none-configured = no [[recipe_repos]] configured
  246. repos-col-repo = repo
  247. repos-col-state = state
  248. repos-col-last = last sync
  249. repos-col-count = recipes
  250. repos-state-archived = archived
  251. repos-state-synced = synced
  252. repos-state-not-cloned = not cloned
  253. repos-sync-dry-reclone = [dry-run] would re-clone recipe repo { $url } → { $dir }
  254. repos-sync-dry-sync = [dry-run] would clone/pull recipe repo { $url } → { $dir }
  255. repos-none-synced = no recipe repos synced (all unreachable or archived)
  256. archive-config-dir-fail = cannot determine the global config dir (dirs::config_dir)
  257. archive-dry-archive = [dry-run] would archive '{ $url }' in { $path }
  258. archive-dry-unarchive = [dry-run] would unarchive '{ $url }' in { $path }
  259. archive-done = archived '{ $url }' in { $path }
  260. unarchive-done = unarchived '{ $url }' in { $path }
  261. # --- promote (src/promote.rs) ---
  262. promote-repo-not-configured = repo '{ $url }' is not a configured [[recipe_repos]] entry — add it to the config (the promote needs its token for the push)
  263. promote-checkout-missing = repo '{ $url }' is not synced — run `sm121 repos sync` (dry-run: no git I/O)
  264. promote-checkout-sync-fail = repo '{ $url }' is not synced — sync it first (sm121 repos sync)
  265. promote-detached-head = checkout { $path } is in detached HEAD — check out a branch first
  266. promote-same-repo = --from and --to must be different repos
  267. promote-recipe-not-in-source = recipe '{ $recipe }' not found in the source repo's checkout ({ $path }) — is the checkout current? (sm121 repos sync)
  268. promote-recipe-in-target = recipe '{ $recipe }' already exists in the target repo — refusing to overwrite (remove it there first)
  269. promote-cp-failed = cp failed: { $err }
  270. promote-cp-context = running cp
  271. promote-target-dir-context = target recipes/ dir
  272. promote-run-start = promoting '{ $recipe }' from { $from } to { $to } ({ $count } { $count ->
  273. [one] step
  274. *[other] steps
  275. })
  276. promote-source-checkout = source checkout: { $path }
  277. promote-target-checkout = target checkout: { $path }
  278. promote-step-line = [{ $side }] { $description }
  279. promote-done = promoted '{ $recipe }' — the target now has it; the next sync of both repos keeps the move
  280. promote-dry-head = [dry-run] promote '{ $recipe }' from { $from } to { $to }:
  281. promote-dry-suppressed = (suppressed: -d dry-run wins over --apply)
  282. promote-run-apply-hint = re-run with --apply to execute
  283. # --- registry image source (src/docker/registry_pull.rs) ---
  284. registry-needs-registry = --image-source registry requires a [registry] section in the config
  285. registry-ref-map-fail = cannot map image '{ $image }' to a registry ref under base '{ $base }' (the image name must be a bare <name>[:tag])
  286. registry-pull-context = registry pull on '{ $node }'
  287. registry-present = registry image '{ $image }' already present on '{ $node }' (checksum label matches)
  288. registry-pulled = pulled '{ $ref }' → '{ $image }' on '{ $node }' (checksum label verified)
  289. registry-dry-run = [dry-run] --image-source registry: pull { $ref } → tag '{ $image }' on { $count } { $count ->
  290. [one] node
  291. *[other] nodes
  292. } (checksum { $checksum }…)
  293. registry-tag-not-found = { $node }: tag '{ $ref }' not found in the registry — build + push it first (sm121 build --recipe { $recipe } --build-node <node>), or fall back to --image-source repo
  294. registry-tag-failed = { $node }: docker tag failed after the pull
  295. registry-label-mismatch = { $node }: the pulled image's sm121.checksum label is '{ $got }', expected '{ $checksum }' — the registry tag does not carry this build
  296. registry-output-unparseable = { $node }: unparseable pull output: { $out }
  297. registry-pull-failed = --image-source registry failed on: { $failed }
  298. # --- drop_caches hook (src/docker/mod.rs) ---
  299. drop-caches-start = Dropping page cache on all nodes...
  300. drop-caches-failed = drop_caches on { $node } failed: { $err }