-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
Calico does not start after scale #7495
Comments
After logging not only the INFO log but also the ERROR log:
But i have no clue how to solve that tbh. Any hint is appreciated :) |
Looks like this projectcalico/calico#4313 |
I bet it's our autodetection of calico backend that is broken, thus etcd certs are not copied on the new node |
Hi @floryut It turns out that i initialized the cluster with |
Then maybe this is fixed since #7449 is merged ? |
Yep. Thanks for the nice work :) |
Good if this works, closing, please reopen if anything to add 👍 |
@floryut
|
As a user i would +1 that. For me it reads like "change the calico_datastore but the default will be etcd if you dont change it or leave it commented out". |
Totally agree, that's way to weird to be left like that, we should uncomment and set to kdd. |
Environment: hardware configuration:
The Cluster is running on multiple VM's the scaled node has the following spec:
printf "$(uname -srm)\n$(cat /etc/os-release)\n"
): of Hostmachineansible --version
):python --version
):Kubespray version (commit) (
git rev-parse --short HEAD
):Tag v2.15.1
Network plugin used:
Calico
Full inventory with variables (
ansible -i inventory/sample/inventory.ini all -m debug -a "var=hostvars[inventory_hostname]"
):Executing this command makes a lot of sensitive values present. If needed i can provide the relevant part.
Command used to invoke ansible:
nsible-playbook -i inventory/$INVENTORY/hosts.yaml --become -u $REMOTE_USER scale.yml
Output of ansible run:
Anything else do we need to know:
** Description **
I added a new node (node4) to the cluster by adding it to the existing host.yml in my inventory and run the
scale.yml
script:The scale script worked well and there where no failed output. After the upgrade no pods from the
kube-system
namespace where initialized on the node. I applied theupgrade-cluster.yml
and restarted the node. After that pods from thekube-system
namespace are running.I've got the following pods running:
coredns
is not running becausecalico-node
is not running.The only events i get from the
calico-node
isThe log from the calico-node pod:
And from the
install-cni
podAny advice on how to get the
calico-node
running in order to use my new node?Thanks in advance!
The text was updated successfully, but these errors were encountered: