-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nodes has no role #8327
Comments
|
Thanks for your hint it helps me. In my inventory I have 3 nodes 1 master and 2 nodes which are labeled infra.
And reading openshift_manage_node/set_default_node_role.yml
I can see that only non infra and non master node will be automatically labelled compute. An improvement would be to decide if no nodes at all were found then label the infra node also compute but I'm not sure that's smart : for instance if someone decide to add lately the compute node. The workaround is to force the label in the inventory
|
|
in the hosts.example we still find
I guess you don't update it each time you release. Anyway you would recommand this setting ?
Is it a way to say that the node is both infra and compute ? |
Its considered deprecated, IIRC openshift-ansible would automatically mark these with Sorry, there was a typo in my previous comment (
Its the other way around - by default any non-master non-infra node would be marked as compute, so in order to make the node both infra and compute it should have both labels. |
ok thanks. So to finish my declaration became :
|
Description
Provide a brief description of your issue here. For example:
After a fresh install of origin 3.9 the node that should have a compute role has actually no roles. Master is ok.
Version
Please put the following version information in the code block
indicated below.
ansible --version
: 2.5.2If you're operating from a git clone:
git describe
: openshift-ansible-3.9.27-1-43-g81cd65eSteps To Reproduce
Install the cluster following advanced install
Expected Results
Observed Results
Describe what is actually happening.
Roles of the node are instead of compute
Additional Information
I suspect this to be kubernetes issue with nat interface but I'm really not sure :
kubernetes/kubernetes#58609
kubernetes/kubernetes#50010
A workaround is to add this label to the node
The text was updated successfully, but these errors were encountered: