Ask Your Question
0

magnum quickstart - error "expecting a flannel network_driver"

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

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?

Thanks,

Bernd

edit retag flag offensive close merge delete

Comments

When trying git clone https://git.openstack.org/openstack-dev/devstack -b stable/kilo /opt/stack/devstack, stack.sh fails with "Error occured processing /opt/stack/magnum".

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

1 answer

Sort by » oldest newest most voted
1

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

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 8.8.8.8 \
                       --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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 152 times

Last updated: Oct 14 '15