Managed Kubernetes
Latest
Frequently Asked Questions
Solutions
How Tos
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Unable To Onboard Host by Running 'pf9ctl cluster prep-node' Command as 'Download Platform9 installers' Task Fails
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
- The " pf9ctl cluster prep-node" command fails to prepare the node so that it can be added to the Platform9 Managed Kubernetes cluster.
- The below errors are visible in the pf9ctl logs.
TASK [pf9-hostagent : Download Platform9 installers] ************************************************************************************* fatal: [localhost]: FAILED! => {"changed": false, "dest": "/tmp/platform9-install-debian.sh", "elapsed": 0, "msg": "Request failed: [urlopen error [Errno 111] Connection refused]", "url": "https://[pmk-fqdn]/clarity/platform9-install-debian.sh"}- Below logs are reported /root/pf9/log/pf9ctl.log
2021-01-07 17:55:45,169 - pf9.express - INFO - pf9.expressInitialized2021-01-07 17:55:45,172 - pf9.cluster.commands - INFO - prep-node2021-01-07 17:55:45,172 - pf9.modules.express - ERROR - No active config. Please define or activate a config.NoneType: NoneEnvironment
- Platform9 Managed Kubernetes - v4.0 and Higher
Cause
Config file ~/pf9/db/express.conf created is invalid.
Resolution
- Validate the configuration by running the below command.
xxxxxxxxxx# pf9ctl config validate Config [user-domain-url] Validation Successful- If the error persists, recreate the pf9ctl config using the below command.
xxxxxxxxxx# pf9ctl config createVariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message