magnum create k8s cluster success but can't access dashboard
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I follow this documentation to install magnum in OpenStack ocata.
https:/
I create k8s cluster success, and use "kubectl -n kube-system get pod" command,
this is output.
NAME READY STATUS RESTARTS AGE
kube-controller
kube-proxy-
kube-proxy-
kube-scheduler-
kube-ui-v4-69ls1 1/1 Running 0 23h
we can see kube-ui not kube-dashboard.
I found this blueprint (Add kube dashboard and remove kube ui) https:/
But in Ocata don't have this change.
So I follow this change to update code ,and create cluster again.
But cluster create failed, I check magnum-conductor log , It has ERROR message(In attachment)
Does anybody know How can I do?
You picket also the change to add docker_volume_type. That is the reason the conductor fails.
You have two options:
Option 1: Revert the code to ocata without the cherry-picked change and then create the kubernetes dashboard manually. You can either take the manifests from here [1] or here [2].
Option 2: To fix you modified ocata version you could remove these lines [3][4] and add default: "" in [5].
[1] http:// git.openstack. org/cgit/ openstack/ magnum/ tree/magnum/ drivers/ common/ templates/ kubernetes/ fragments/ kube-dashboard- service. sh /github. com/kubernetes/ dashboard git.openstack. org/cgit/ openstack/ magnum/ tree/magnum/ drivers/ k8s_fedora_ atomic_ v1/templates/ kubemaster. yaml#n558 git.openstack. org/cgit/ openstack/ magnum/ tree/magnum/ drivers/ k8s_fedora_ atomic_ v1/templates/ kubeminion. yaml#n443 git.openstack. org/cgit/ openstack/ magnum/ tree/magnum/ drivers/ k8s_fedora_ atomic_ v1/templates/ kubecluster. yaml#n144
[2] https:/
[3] http://
[4] http://
[5] http://