This repository has been archived by the owner on Oct 24, 2023. It is now read-only.
Aks-engine upgrade command fails on cluster deployed with ACSE v.0.18.8 and enabledRbac set to false #905
Labels
bug
Something isn't working
Is this a request for help?:
Yes.
Is this an ISSUE or FEATURE REQUEST?
Issue.
What version of aks-engine?:
acs-engine 0.18.8 & aks-engine 0.33.1
The template used is here:
Kubernetes version:
1.10.4 -> 1.11.8
What happened:
I have clusters that were provisioned with acs-engine version 0.18.8 with the flag
enableRbac
set tofalse
. When upgrading the acs-engine to aks-engine 0.33.1 and then attempting the aks-engine upgrade command I receive the following error:This happens specifically when setting
"enableRbac": false
as a cluster with Rbac set to true upgrades successfully. Inside of the VM we can see that the apiserver has crashed and querying the docker container logs for the apiserver shows the error:Going through the apimodel.json that is generated, I have looked at every file path for every parameter and searched for the corresponding file on the VM. As well as confirming the docker error above, I found that there are four files in total that are listed in the generated apimodel.json that are not located on the VM after an attempted upgrade:
I'm assuming that the audit.log isn't mission critical but I wanted to be thorough.
I can confirm that the proxy certs are, indeed, on the VM before the upgrade takes place, which would infer that they aren't being copied over correctly during the upgrade when enableRbac is set to false.
What you expected to happen:
I expect the upgrade to complete successfully.
How to reproduce it (as minimally and precisely as possible):
acs-engine generate
command using acs-engine version 0.18.8az group create
to create a clean resource group.az group deployment create
using the the output folder created in step one.aks-engine upgrade
command using the output folder from above as the deployment-dir and 1.11.8 as the target version.Anything else we need to know:
I have included the cloud-init-output.log and the cluster-provision.log as attachments.
cloud-init-output.log
cluster-provision.log
We will continue looking at this issue on our side and will post any further information to this space.
Thank you for your time.
The text was updated successfully, but these errors were encountered: