kubernets master node can not access http://controller (from manual)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
New
|
Undecided
|
Unassigned |
Bug Description
Magnum installed by official Ubuntu guide https:/
Updated 1 July to latest repo's versions.
$ magnum --version
2.5.0
$ magnum cluster-
--image coreos_2017-07-05 \
--keypair osfleet \
--external-network provider \
--flavor k8s-node \
--master-flavor k8s-master \
--docker-
--network-driver flannel \
--coe kubernetes \
--volume-driver cinder \
--name k8s-cluster-
$ magnum cluster-create --name k8s-cluster --cluster-template k8s-cluster-
(inside master node)
k8-q4etl26yyv-
...
export MAGNUM_URL="http://
...
export WAIT_CURL="curl -i -X POST -H 'X-Auth-Token: gAAAAABZXi6F_
...
export AUTH_URL="http://
...
== Possible fix ==
$ openstack endpoint set --url http://
$ openstack endpoint set --url http://
# vim /etc/magnum/
...
host = 0.0.0.0
...
auth_uri = http://
As per documentation you need to register the endpoint using the CONTROLLER_IP or a dns name that the vms can find route to.
http:// git.openstack. org/cgit/ openstack/ magnum/ tree/install- guide/source/ common/ prerequisites. rst?h=stable% 2Focata# n141
Please check this note too: git.openstack. org/cgit/ openstack/ magnum/ tree/install- guide/source/ install. rst?h=stable/ ocata#n41
http://
I need to update it to mention that, keystone, nova, heat and magnum must be reachable from the vms.