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.yaml
2023-11-17T16:54:13.460Z info Creating node state dir: /etc/nodelet/airctl-mgmt
2023-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 denied
Failed to create nodelet cluster: Failed to Parse Cluster Config: Failed to generate custom hosts file: Failed to create dir: mkdir /etc/nodelet: permission denied
Error: Failed to Parse Cluster Config: Failed to generate custom hosts file: Failed to create dir: mkdir /etc/nodelet: permission denied
Usage:
airctl advanced-ddu create-mgmt [flags]
Flags:
-h, --help help for create-mgmt
Global 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 console
Failed to Parse Cluster Config: Failed to generate custom hosts file: Failed to create dir: mkdir /etc/nodelet: permission denied
Environment
- 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?