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.
[root@anik8s-ddu-lts2-2 ~]# /opt/pf9/airctl/airctl advanced-ddu create-mgmt --bootstrap-config /root/clusterSpec.yaml
Error: unknown flag: --bootstrap-config
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.
[root@anik8s-ddu-lts2-2 ~]# cat /opt/pf9/airctl/conf/airctl-config-example.yaml | grep -i bootstrapCfgPath
bootstrapCfgPath: /etc/nodelet/airctl-mgmt/airctl-mgmt.yaml
Solution:
- The correct command to be used for the the Management Plane creation is as mentioned below.
/opt/pf9/airctl/airctl advanced-ddu create-mgmt --config /opt/pf9/airctl/conf/airctl-config.yaml
Was this page helpful?