magnum can't reach /v1/clustertemplates?

asked 2020-03-17 19:15:48 -0500

TAO gravatar image

Hey guys,

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 --flavor cloud.flavor --docker-volume-size 3 --network-driver flannel --coe kubernetes

I get an ERROR: error

debugging gives the following result

Taking a bit of that pastebin. It looks like this is the error.

DEBUG (connectionpool:208) Starting new HTTP connection (1):
DEBUG (connectionpool:396) "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 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 (http://OPENSTACK_IP:9511/v1/clusterte...) 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?

EDIT: Creating an endpoint has not worked, it will then just search for /v1/clustertemplates/clustertemplates.

Thanks a lot!

edit retag flag offensive close merge delete