photoncloud-monorepo/plans/cluster-investigation-2026-03-02/verification-commands.md

3 KiB
Raw Permalink Blame History

Verification Commands and Reproduction Logs

以下は調査中に実行した主要コマンドと結果です。

1. 本流 flake node01 評価失敗(欠損 configuration.nix

Command:

nix eval --show-trace .#nixosConfigurations.node01.config.system.build.toplevel.drvPath

Result (抜粋):

error: path '.../docs/por/T036-vm-cluster-deployment/node01/configuration.nix' does not exist

2. test-cluster node02 / node03 評価失敗unknown option

Command:

nix eval --show-trace ./nix/test-cluster#nixosConfigurations.node02.config.system.build.toplevel.drvPath
nix eval --show-trace ./nix/test-cluster#nixosConfigurations.node03.config.system.build.toplevel.drvPath

Result (抜粋):

error: The option `services.chainfire.joinAddr' does not exist.

3. test-cluster node06 評価失敗flaredb attribute missing

Command:

nix eval --show-trace ./nix/test-cluster#nixosConfigurations.node06.config.system.build.toplevel.drvPath

Result (抜粋):

error: attribute 'flaredb' missing
at .../nix/modules/creditservice.nix:5:16

4. 比較用: test-cluster node01 / node04 / node05 は評価成功

Command:

nix eval --show-trace ./nix/test-cluster#nixosConfigurations.node01.config.system.build.toplevel.drvPath
nix eval --show-trace ./nix/test-cluster#nixosConfigurations.node04.config.system.build.toplevel.drvPath
nix eval --show-trace ./nix/test-cluster#nixosConfigurations.node05.config.system.build.toplevel.drvPath

Result (抜粋):

"/nix/store/...-nixos-system-node01-....drv"
"/nix/store/...-nixos-system-node04-....drv"
"/nix/store/...-nixos-system-node05-....drv"

5. docs 欠損確認

Command:

ls -la docs

Result:

ls: cannot access 'docs': No such file or directory

Command:

for f in \
  docs/por/T036-vm-cluster-deployment/node01/configuration.nix \
  docs/por/T036-vm-cluster-deployment/node02/configuration.nix \
  docs/por/T036-vm-cluster-deployment/node03/configuration.nix \
  docs/por/T036-vm-cluster-deployment/node01/disko.nix \
  docs/por/T036-vm-cluster-deployment/node02/disko.nix \
  docs/por/T036-vm-cluster-deployment/node03/disko.nix; do
  if [ -e "$f" ]; then echo "exists $f"; else echo "missing $f"; fi
done

Result:

missing docs/por/T036-vm-cluster-deployment/node01/configuration.nix
missing docs/por/T036-vm-cluster-deployment/node02/configuration.nix
missing docs/por/T036-vm-cluster-deployment/node03/configuration.nix
missing docs/por/T036-vm-cluster-deployment/node01/disko.nix
missing docs/por/T036-vm-cluster-deployment/node02/disko.nix
missing docs/por/T036-vm-cluster-deployment/node03/disko.nix

6. deployer 配線不在確認

Command:

rg -n "deployer" flake.nix
rg -n "deployer" nix/modules
nix flake show . --all-systems | rg -n "deployer"

Result:

(no matches)

7. first-boot 有効化設定の不在確認

Command:

rg -n "first-boot-automation\.enable" -S nix flake.nix baremetal plans

Result:

(no explicit match)