This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 560
Can't provision Hybrid cluster issues with cse provisioning #4027
Comments
I checked the logs on my cse-agent-0 node and think my problem is related to the following: root@k8s-linuxpool1-42020970-0:/var/log/azure/custom-script# cat handler.log
+ /var/lib/waagent/Microsoft.Azure.Extensions.CustomScript-2.0.6/bin/custom-script-extension install
time=2018-10-15T16:04:41Z version=v2.0.6/git@1008306-clean operation=install seq=0 event=start
time=2018-10-15T16:04:41Z version=v2.0.6/git@1008306-clean operation=install seq=0 status="not reported for operation (by design)"
time=2018-10-15T16:04:41Z version=v2.0.6/git@1008306-clean operation=install seq=0 event="migrate to mrseq" error="Can't find out seqnum from /var/lib/waagent/Microsoft.Azure.Extensions.CustomScript-2.0.6/status, not enough files."
time=2018-10-15T16:04:41Z version=v2.0.6/git@1008306-clean operation=install seq=0 event="created data dir" path=/var/lib/waagent/custom-script
time=2018-10-15T16:04:41Z version=v2.0.6/git@1008306-clean operation=install seq=0 event=installed
time=2018-10-15T16:04:41Z version=v2.0.6/git@1008306-clean operation=install seq=0 status="not reported for operation (by design)"
time=2018-10-15T16:04:41Z version=v2.0.6/git@1008306-clean operation=install seq=0 event=end
Writing a placeholder status file indicating progress before forking: /var/lib/waagent/Microsoft.Azure.Extensions.CustomScript-2.0.6/status/0.status
+ nohup /var/lib/waagent/Microsoft.Azure.Extensions.CustomScript-2.0.6/bin/custom-script-extension enable
time=2018-10-15T16:04:42Z version=v2.0.6/git@1008306-clean operation=enable seq=0 event=start
time=2018-10-15T16:04:42Z version=v2.0.6/git@1008306-clean operation=enable seq=0 event=pre-check
time=2018-10-15T16:04:42Z version=v2.0.6/git@1008306-clean operation=enable seq=0 event="comparing seqnum" path=mrseq
time=2018-10-15T16:04:42Z version=v2.0.6/git@1008306-clean operation=enable seq=0 event="seqnum saved" path=mrseq
time=2018-10-15T16:04:42Z version=v2.0.6/git@1008306-clean operation=enable seq=0 event="reading configuration"
time=2018-10-15T16:04:42Z version=v2.0.6/git@1008306-clean operation=enable seq=0 event="read configuration"
time=2018-10-15T16:04:42Z version=v2.0.6/git@1008306-clean operation=enable seq=0 event="validating json schema"
time=2018-10-15T16:04:42Z version=v2.0.6/git@1008306-clean operation=enable seq=0 event="json schema valid"
time=2018-10-15T16:04:42Z version=v2.0.6/git@1008306-clean operation=enable seq=0 event="parsing configuration json"
time=2018-10-15T16:04:42Z version=v2.0.6/git@1008306-clean operation=enable seq=0 event="parsed configuration json"
time=2018-10-15T16:04:42Z version=v2.0.6/git@1008306-clean operation=enable seq=0 event="validating configuration logically"
time=2018-10-15T16:04:42Z version=v2.0.6/git@1008306-clean operation=enable seq=0 event="validated configuration"
time=2018-10-15T16:04:42Z version=v2.0.6/git@1008306-clean operation=enable seq=0 event="creating output directory" path=/var/lib/waagent/custom-script/download/0
time=2018-10-15T16:04:42Z version=v2.0.6/git@1008306-clean operation=enable seq=0 event="created output directory"
time=2018-10-15T16:04:42Z version=v2.0.6/git@1008306-clean operation=enable seq=0 files=0
time=2018-10-15T16:04:42Z version=v2.0.6/git@1008306-clean operation=enable seq=0 event="executing command" output=/var/lib/waagent/custom-script/download/0
time=2018-10-15T16:04:42Z version=v2.0.6/git@1008306-clean operation=enable seq=0 event="executing protected commandToExecute" output=/var/lib/waagent/custom-script/download/0
time=2018-10-15T16:24:43Z version=v2.0.6/git@1008306-clean operation=enable seq=0 event="failed to execute command" error="command terminated with exit status=100" output=/var/lib/waagent/custom-script/download/0
time=2018-10-15T16:24:43Z version=v2.0.6/git@1008306-clean operation=enable seq=0 event="enable failed"
time=2018-10-15T16:24:43Z version=v2.0.6/git@1008306-clean operation=enable seq=0 event="failed to handle" error="failed to execute command: command terminated with exit status=100" |
Also the first error I get is: Deployment failed. Correlation ID: a49ac658-e5c4-441c-aec5-f2f1347c0f2a. {
"error": {
"code": "InvalidTemplate",
"message": "Unable to process template language expressions for resource '/subscriptions/XXX/resourceGroups/k8s-management-rg/providers/Microsoft.Compute/virtualMachines/42020k8s9010' at line '1' and column '85623'. 'The template parameter 'masterSubnet' is not found. Please see https://aka.ms/arm-template/#parameters for usage details.'"
} But I manually add the managedSubNet variable to get around that and the errors above will hapen. I am a bit confused as was told the CI tests were green for hybrid cluster. Not really sure what I am doing wrong. ^_^ |
So it seems to be working except for the master subnet variable when I remove storing my values in key vault. Have to assume is something wrong with my configuration. Sorry for the noise! |
We are currently working on fixing this issue. Thanks for reporting @sylus |
3 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is this a request for help?: Yes
Is this an ISSUE or FEATURE REQUEST? (choose one): Bug
What version of acs-engine?: v0.23.1
Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)
Kubernetes 1.11.3
What happened:
Running the following:
Where the initial cluster spec is:
The error I get is:
What you expected to happen: The cluster to successfully provision
How to reproduce it (as minimally and precisely as possible): Given in summary
Anything else we need to know: N/A
The text was updated successfully, but these errors were encountered: