Ask Your Question

magnum quickstart - error "expecting a flannel network_driver"

asked 2015-09-24 04:39:18 -0500

I am curious about containers and how they can be managed with Magnum. Very comprehensive quickstart instructions are available, but while the devstack installation completed successfully, I had a failure very early in the process:

$ magnum baymodel-create --name k8sbaymodel (... more options see quickstart ...)
ERROR: Cannot fulfill request with a None network_driver, expecting a flannel network_driver. (HTTP 400)

Not knowing much about containers and even less about Kubernetes, I don't know how to continue there. I guess it would work out of the box with a different version of devstack, but which one? Other ideas?



edit retag flag offensive close merge delete


When trying git clone -b stable/kilo /opt/stack/devstack, fails with "Error occured processing /opt/stack/magnum".

Bernd Bausch gravatar imageBernd Bausch ( 2015-09-24 04:59:24 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-10-14 19:34:37 -0500

hongbin034 gravatar image

The command in the quickstart guide was outdated. It should be:

magnum baymodel-create --name k8sbaymodel \
                       --image-id fedora-21-atomic-5 \
                       --keypair-id testkey \
                       --external-network-id public \
                       --dns-nameserver \
                       --flavor-id m1.small \
                       --docker-volume-size 5 \
                       --network-driver flannel \
                       --coe kubernetes

You need to specify network-driver as flannel to create a kubernetes baymodel. The reason is that kubernetes requires Flannel to connect the pods.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-09-24 04:39:18 -0500

Seen: 214 times

Last updated: Oct 14 '15