Platform9 Edge Cloud
Latest
Frequently Asked Questions
How To
Solution
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?
PMK Stack Execution Fails For the Nodes That Have Hostnames With Uppercase Characters
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
- PMK stack is failing to come up after manual stack restart or reboot with the error mentioned below.
STACK RESTART ERROR
xxxxxxxxxxF1026 00:22:47.837453 37793 helpers.go:115] Error from server (NotFound): nodes "MASTER-01" not foundEnvironment
- Platform9 Edge Cloud - All Versions
- All Kubernetes Clusters using hostnames instead of IP address.
Cause
- The reason behind this issue is the way in which the cluster node's hostname gets parsed within different nodeletd phase scripts.
- The
020-gen_certs.shnodeletd phase script considers node name using the environment variable$NODE_NAMEwhich eventually ends up callingget_node_endpointfunction that returns a lower case value.
Node Name after phase 020-gen_certs.sh
xxxxxxxxxx[2022-02-28 08:05:04] node IP is master-01[2022-02-28 08:05:04] node name is master-01- Whereas in the phase
110-label_and_taint_node.shif the cluster is configured to use hostnames as the cluster node names then it assigns node's hostname as the node name as it is, without any formatting change.
Node name after phase 110-label_and_taint_node.sh
xxxxxxxxxx--- /opt/pf9/pf9-kube/master_scripts/110-label_and_taint_node.sh start at 2022-02-28 08:05:44 ---[2022-02-28 08:05:44] Node name is MASTER-01- The above mentioned difference in the
Node namevalue results in the ambiguity and hence the stack execution fails.
Workaround:
- Current workaround for this issue is to reconfigure the node's hostname with all the letters in the lowercase and then restart the PMK stack
Resolution:
- There is an internal bug raised for this issue and Platform9 engineering team is currently working to fix it.
VariableType 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