Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Multi-Master CNI config Not Present On All Masters #2202

Closed
dstrebel opened this issue Feb 5, 2018 · 3 comments · Fixed by #2521
Closed

Multi-Master CNI config Not Present On All Masters #2202

dstrebel opened this issue Feb 5, 2018 · 3 comments · Fixed by #2521
Labels

Comments

@dstrebel
Copy link

dstrebel commented Feb 5, 2018

Is this a request for help?:

---No

Is this an ISSUE or FEATURE REQUEST? (choose one):

---Issue

What version of acs-engine?:

---0.12.5

Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)
Kubernetes

What happened: When deploying a template that contains multiple masters the calico CNI config doesen't get written to all master nodes. Ran through it three different times and each time only one master picked up the calico CNI config. Copying the net.d/ calico config from healthy master fixed the issue

What you expected to happen: Healthy cluster with all CNI configs present

How to reproduce it (as minimally and precisely as possible):
Run config with multiple masters like below
{
"apiVersion": "vlabs",
"properties": {
"orchestratorProfile": {
"orchestratorType": "Kubernetes",
"orchestratorRelease": "1.9",
"kubernetesConfig": {
"networkPolicy": "calico",
"enableDataEncryptionAtRest": true
}
},
"masterProfile": {
"count": 3,
"dnsPrefix": "xx-xxxxxxxx",
"vmSize": "Standard_DS2_v2_Promo"
},

Anything else we need to know:

@khaldoune
Copy link

I confirm

@dtzar
Copy link
Contributor

dtzar commented Mar 27, 2018

I just deployed a new cluster using my PR #2521 using 3 master nodes with 1.9 and all three master nodes have identical files under the /etc/cni/net.d directory, specifically the 10-calico.conflist is I believe what you're referring to. Please feel free to check out the PR and let me know if still see the same issue, otherwise I will assume the PR fixes whatever this problem is.

@dtzar dtzar mentioned this issue Mar 27, 2018
3 tasks
@khaldoune
Copy link

@dtzar As a workarround, you can disable Encryption At REST.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants