Management Cluster Creation Fails Due to /etc/nodelet Folder Creation Failure.
Problem
The Management cluster creation command airctl advanced-ddu create-mgmt is failing due to below mentioned permission error:
x
# airctl advanced-ddu create-mgmt --config /opt/pf9/airctl/conf/airctl-config.yaml2023-11-17T16:54:13.460Z info Creating node state dir: /etc/nodelet/airctl-mgmt2023-11-17T16:54:13.460Z info Failed to Parse Cluster Config: Failed to generate custom hosts file: Failed to create dir: mkdir /etc/nodelet: permission deniedFailed to create nodelet cluster: Failed to Parse Cluster Config: Failed to generate custom hosts file: Failed to create dir: mkdir /etc/nodelet: permission deniedError: Failed to Parse Cluster Config: Failed to generate custom hosts file: Failed to create dir: mkdir /etc/nodelet: permission deniedUsage: airctl advanced-ddu create-mgmt [flags]Flags: -h, --help help for create-mgmtGlobal Flags: --config string config file (default is $HOME/airctl-config.yaml) --json json output for commands (configure-hosts only currently) --quiet disable spinners --verbose print verbose logs to the consoleFailed to Parse Cluster Config: Failed to generate custom hosts file: Failed to create dir: mkdir /etc/nodelet: permission deniedEnvironment
- Self Managed Cloud Platform9 v-5.9.1.
Workaround
Manually create the folder /etc/nodelet.
Answer
The mentioned issue is resolved in the SMCP-5.9.2 release.
Additional Information
The jira associated with the above fix is AIR-1248.
Was this page helpful?