135 lines
3 KiB
Markdown
135 lines
3 KiB
Markdown
# Verification Commands and Reproduction Logs
|
||
|
||
以下は調査中に実行した主要コマンドと結果です。
|
||
|
||
## 1. 本流 flake node01 評価失敗(欠損 configuration.nix)
|
||
|
||
Command:
|
||
|
||
```bash
|
||
nix eval --show-trace .#nixosConfigurations.node01.config.system.build.toplevel.drvPath
|
||
```
|
||
|
||
Result (抜粋):
|
||
|
||
```text
|
||
error: path '.../docs/por/T036-vm-cluster-deployment/node01/configuration.nix' does not exist
|
||
```
|
||
|
||
## 2. test-cluster node02 / node03 評価失敗(unknown option)
|
||
|
||
Command:
|
||
|
||
```bash
|
||
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 (抜粋):
|
||
|
||
```text
|
||
error: The option `services.chainfire.joinAddr' does not exist.
|
||
```
|
||
|
||
## 3. test-cluster node06 評価失敗(flaredb attribute missing)
|
||
|
||
Command:
|
||
|
||
```bash
|
||
nix eval --show-trace ./nix/test-cluster#nixosConfigurations.node06.config.system.build.toplevel.drvPath
|
||
```
|
||
|
||
Result (抜粋):
|
||
|
||
```text
|
||
error: attribute 'flaredb' missing
|
||
at .../nix/modules/creditservice.nix:5:16
|
||
```
|
||
|
||
## 4. 比較用: test-cluster node01 / node04 / node05 は評価成功
|
||
|
||
Command:
|
||
|
||
```bash
|
||
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 (抜粋):
|
||
|
||
```text
|
||
"/nix/store/...-nixos-system-node01-....drv"
|
||
"/nix/store/...-nixos-system-node04-....drv"
|
||
"/nix/store/...-nixos-system-node05-....drv"
|
||
```
|
||
|
||
## 5. docs 欠損確認
|
||
|
||
Command:
|
||
|
||
```bash
|
||
ls -la docs
|
||
```
|
||
|
||
Result:
|
||
|
||
```text
|
||
ls: cannot access 'docs': No such file or directory
|
||
```
|
||
|
||
Command:
|
||
|
||
```bash
|
||
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:
|
||
|
||
```text
|
||
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:
|
||
|
||
```bash
|
||
rg -n "deployer" flake.nix
|
||
rg -n "deployer" nix/modules
|
||
nix flake show . --all-systems | rg -n "deployer"
|
||
```
|
||
|
||
Result:
|
||
|
||
```text
|
||
(no matches)
|
||
```
|
||
|
||
## 7. first-boot 有効化設定の不在確認
|
||
|
||
Command:
|
||
|
||
```bash
|
||
rg -n "first-boot-automation\.enable" -S nix flake.nix baremetal plans
|
||
```
|
||
|
||
Result:
|
||
|
||
```text
|
||
(no explicit match)
|
||
```
|
||
|