Magnum create cluster failed

asked 2018-11-09 07:16:32 -0600

raniaadouni gravatar image

updated 2018-11-09 07:19:07 -0600

Hi everyone I am trying to deploy magnum cluster with the template I just did create but every time I try I get the status of cluster is failed , Some proposition to solve this will be nice : this is the cluster template create magnum cluster-template-create --name swarm-cluster-template \ --image-id fedora-atomic-newton \ --keypair-id demokey\ --external-network-id ext_net \ --dns-nameserver 8.8.8.8 \ --master-flavor-id m1.medium \ --flavor-id m1.medium \ --coe swarm

and the cluster create: magnum cluster-create --name swarm-cluster \ --cluster-template swarm-cluster-template \ --master-count 1 \ --node-count 1 and here you can find the logs of magnum conductor : https://pastebin.com/vdtDmP3e

and my configuration file magnum.conf please check it : https://pastebin.com/XK2bCCnM

thanks for any help :)

edit retag flag offensive close merge delete

Comments

openstack coe service list when i want to try it i got error.what is ceo? i have docker swarm. should i install something else i appreciated to help me

novainfinite gravatar imagenovainfinite ( 2018-11-09 07:59:18 -0600 )edit
1

This might help: https://ask.openstack.org/en/question....

Well, to be honest the log doesn’t point into this direction. Still, check os-distro.

Bernd Bausch gravatar imageBernd Bausch ( 2018-11-09 19:02:24 -0600 )edit

The log complains that .../magnum/drivers/swarm_fedora_atomic_v1/templates/cluster.yaml is missing. It’s part of the Magnum package: http://git.openstack.org/cgit/opensta.... Is it located somewhere else?

Bernd Bausch gravatar imageBernd Bausch ( 2018-11-10 01:08:20 -0600 )edit

hi bernd , how are you !! thanks for your replay , So I did add the missing files to my swarm_fedora and now I get other error I can't resolve it ? please check it , if you can knew what is the problem : https://pastebin.com/KXjPNVYv

raniaadouni gravatar imageraniaadouni ( 2018-11-10 06:44:37 -0600 )edit

openstack_ca is a certificate authority needed to implement TLS "To pass the OpenStack CA bundle to the nodes you can set the CA using the openstack_ca_file option in the drivers section of Magnum’s configuration file"

Bernd Bausch gravatar imageBernd Bausch ( 2018-11-10 08:40:25 -0600 )edit