ansible-galaxy icon indicating copy to clipboard operation
ansible-galaxy copied to clipboard

Ansible role review and relaunch as 2.0

Open BulatSaif opened this issue 5 months ago • 0 comments

Goal

  • Remove all deprecated/legacy parameters
  • Optimize the variables, rename if needed.
  • Improve documentation
  • Focus more on parachain deployments.

Legacy parameters

  1. Old rpc port flags (e.g node_legacy_rpc_flags, node_rpc_port, node_rpc_ws_port...),
  2. Logs option, should be similar to helm-chart.
node_log_trace_enable: false
node_log_trace_config: 
  babe=trace,imonline=trace,slots=trace,sync=trace,consensus=trace,client=trace,forks=trace,txpool=debug,afg=trace,sub-authority-discovery=debug,sc_offchain=trace,runtime=trace,staking=trace,runtime::election-provider=trace

node_parachain_log_trace_enable: false
node_parachain_log_trace_config: 
  babe=trace,imonline=trace,slots=trace,sync=trace,consensus=trace,client=trace,forks=trace,txpool=debug,afg=trace,sub-authority-discovery=debug,sc_offchain=trace,runtime=trace,staking=trace,runtime::election-provider=trace

helm chart:

    logLevels:
      - "parachain=debug"
      - "xcm=trace"
  1. Remove params for old versions.
# version Collator v0.5.3 and upper has fix, for previous version set to false
node_parachain_has_name_fix: true

Desired changes (optional)

  • node and node_parachain naiming may be confusing for new parachain developers as they need to set up both parameters. However, a parachain can be launched without relaychain options.

Blockers

  • Wait until rpc flags are stabilized: https://github.com/paritytech/polkadot-sdk/issues/5508
  • Wait until Omni node release.

This should be released as v2.0.

BulatSaif avatar Aug 28 '24 10:08 BulatSaif