dwellir-public / polkadot-operator

The Polkadot Juju operator/charm
Apache License 2.0
1 stars 1 forks source link

get-node-info doesn't find DB dirs for all parachains #64

Open jakobilobi opened 6 months ago

jakobilobi commented 6 months ago

For parachains with custom named directories, like Composable, there needs to be tweaks to the disk usage functions. Example failing action:

jr polkadot/0 get-node-info
Running operation 3 with 1 task
  - task 4 on unit-polkadot-0

Waiting for task 4...
chain-block-height: "4768315"
chain-peer-count: RPC method error, check if the node has `--rpc-methods unsafe` enabled
client-binary-last-changed: "2024-01-26 15:31:35"
client-binary-md5sum: 0c948a587e39fe84743160aa76837a97
client-binary-version: 9.10043.0
client-proc-cmdline: "/home/polkadot/polkadot --node-key-file /home/polkadot/node-key
  --name \U0001F6E1 DWELLIR PICASSO RPC \U0001F6E1 --chain picasso --execution wasm
  --wasm-execution compiled --rpc-methods safe --state-pruning archive --rpc-max-connections
  3000 --rpc-external --rpc-port 9933 --rpc-cors all --prometheus-external -- --sync
  warp --blocks-pruning 256 --state-pruning 256 "
client-service-args: "'--node-key-file /home/polkadot/node-key --name \"\U0001F6E1
  DWELLIR PICASSO RPC \U0001F6E1\" --chain picasso --execution wasm --wasm-execution
  compiled --rpc-methods safe --state-pruning archive --rpc-max-connections 3000 --rpc-external
  --rpc-port 9933 --rpc-cors all --prometheus-external -- --sync warp --blocks-pruning
  256 --state-pruning 256'"
client-wasm-files: ~/wasm directory not found
disk-usage: ""
node-relay: Error finding Relay Chain
node-type: Parachain node

Also seen for Robonomics, Bittensor