Error installing openshift 3.11 with ansible playbook: deploy_cluster.yml in Azure cloud

2/28/2020

We have this error installing openshift 3.11 in azure with ansible deploy_cluster.yml:

 > mymaster01 atomic-openshift-node[62786]: F0228 15:49:34.843268   62786 server.go:261] failed to run Kubelet: could not init cloud provider \"azure\": error converting YAML to JSON: yaml: line 3: did not find expected node content".

All .yaml file under /etc/origin are ok.

The error also occurs when i start manually kubelet start via

systemctl start atomic-openshift-node.service

The inventory seems ok.

I don't understand which line 3 the error is talking about.

Please any help with this would be greatly appreciated

[root@mybastion]# ansible --version ansible 2.8.0
-- ferdinand
ansible
azure
kubelet
kubernetes
openshift

0 Answers