I am having a bit of trouble with magnum on my devstacks openstack install on BARE METAL Ubuntu 18.04. When i try to create a cluster template with kubernetes like this:
magnum cluster-template-create --name k8s-cluster-template --image fedora-atomic --keypair keypair --external-network public --dns-nameserver 8.8.8.8 --flavor cloud.flavor --docker-volume-size 3 --network-driver flannel --coe kubernetes
I get an ERROR: error
debugging gives the following result https://pastebin.com/JLcT4NQP
Taking a bit of that pastebin. It looks like this is the error.
DEBUG (connectionpool:208) Starting new HTTP connection (1): 192.168.1.200
DEBUG (connectionpool:396) http://192.168.1.200:9511 "POST /v1/clustertemplates HTTP/1.1" 503 170
DEBUG (session:419) RESP: [503] Content-Length: 170 Content-Type: application/json x-openstack-request-id: req-8e6c2890-2abf-4381-be7c-ba5a91294bc8 Server: Werkzeug/0.14.1 Python/2.7.17 Date: Tue, 17 Mar 2020 23:17:40 GMT
RESP BODY: {"message": "The server is currently unavailable. Please try again at a later time.<br /><br />\n\n\n", "code": "503 Service Unavailable", "title": "Service Unavailable"}
DEBUG (session:722) POST call to container-infra for http://192.168.1.200:9511/v1/clustertemplates used request id req-8e6c2890-2abf-4381-be7c-ba5a91294bc8
DEBUG (shell:643) 'errors'
Magnum is trying to reach my openstacks on http://OPENSTACK_IP:9511/v1/clustertemplates but it cant find anything there and gets a 503 error.
How do I solve this? Can I create an endpoint so it does find something or will that not work?
Thanks a lot!