The Nodelet(KDU Hosting) Cluster Creation Failed With "unknown flag: --bootstrap-config" Error.
Problem:
Management Plane Hosting nodelet cluster creation is failing when
--bootstrap-configflag is used.
[root@anik8s-ddu-lts2-2 ~]# /opt/pf9/airctl/airctl advanced-ddu create-mgmt --bootstrap-config /root/clusterSpec.yaml
Error: unknown flag: --bootstrap-configEnvironment:
Platform9 Edge Cloud - LTS2
Nodelet Cluster(DDU hosting Cluster)
Cause
The flag
--bootstrap-configis now replaced with the flag--confighence use of--bootstrap-configflag will result in such a kind of installation failures.Also one more thing to notice here is, the flag
--configexpects 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.yamlSince this file has the parameter
bootstrapCfgPathalready 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.yamlSolution:
The correct command to be used for the the Management Plane creation is as mentioned below.
Last updated
