The Nodelet(KDU Hosting) Cluster Creation Failed With "unknown flag: --bootstrap-config" Error.

Problem:

  • Management Plane Hosting nodelet cluster creation is failing when --bootstrap-config flag is used.
Error
Copy

Environment:

  • Platform9 Edge Cloud - LTS2
  • Nodelet Cluster(DDU hosting Cluster)

Cause

  • The flag --bootstrap-config is now replaced with the flag --config hence use of --bootstrap-config flag will result in such a kind of installation failures.
  • Also one more thing to notice here is, the flag --config expects the airctl configuration file as the input or value.
  • The example airctl configuration file can be found at the path /opt/pf9/airctl/conf/airctl-config-example.yaml
  • Since this file has the parameter bootstrapCfgPath already defined in it hence there is no need to provide the bootstrap configuration file separately during creation of management plane.
airctl config
Copy

Solution:

  • The correct command to be used for the the Management Plane creation is as mentioned below.
Correct Command to create DU
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard