on k8s master kube-controller-manager not getting cloud-provider / cloud-config cmd line args to
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
New
|
Undecided
|
Unassigned |
Bug Description
i used devstack (latest) to create a k8s cluster via magnum/heat (Fedora Atomic 27):
openstack coe cluster template create k8s-cluster-
openstack coe cluster create k8s-cluster \
when i try to deploy MariaDB, the PVC shows an error indicating that the kube_openstack_
Warning ProvisioningFailed 55s (x26 over 6m) persistentvolum
on the master node i can see the kube-controller
kube 3111 1.8 4.2 141340 86392 ? Ssl Sep19 1:18 /usr/local/
the file /etc/kubernetes
KUBE_CONTROLLER
it seems as though these args are successfully written out by magnum/cloud-init, but are not picked up when the kube-controller
the analogous situation is occurring for the kube-apiserver process.
p.s. heat-coe-templates is probably not the right project for this issue, but it was the closest choice in the pull-down menu.
tags: | added: kubernetes magnum |
affects: | heat-coe-templates → magnum |
I'm using Magnum rocky release (installed from source code https:/ /github. com/openstack/ magnum/ tree/stable/ rocky) and Fedora Atomic 27, my k8s cluster has exactly the same problem. Please help suggest a solution to this problem other than manually creating a "/etc/kubernete s/cloud- config" file or adding the "--cloud- config= /etc/kubernetes /kube_openstack _config --cloud- provider= openstack" parameters to processes of kube-controller -manager and kube-apiserver. Or did I miss any configuration for Magnum or my k8s cluster?
Thanks!
Yang