Error while creating Baymodel

Bug #1499384 reported by Adrian Otto
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Magnum
Confirmed
High
Unassigned

Bug Description

Our current documentation does not explain that the network-driver parameter must be set. Please adjust the documentation so that when in is followed, the Baymodel create will succeed.

This is the error that results from following the current docs:

ERROR: Cannot fulfill request with a None network_driver, expecting a
flannel network_driver. (HTTP 400)

Suggested fix: Add network-driver parameter to the Baymodel create command to set th value to flannel.

Revision history for this message
Steve Adams (sa240s) wrote :

Added parameter "--network-driver flannel" to get example in doc to successful...

stack@Steve-Magnum-AllInOne:~/devstack$ magnum baymodel-create --name swarmbaymodel --image-id fedora-21-atomic-5 --keypair-id testkey --external-network-id public --dns-nameserver 8.8.8.8 --flavor-id m1.small --coe swarm --network-driver flannel

# It works, baymodel is created...
stack@Steve-Magnum-AllInOne:~$ magnum baymodel-show swarmbaymodel
+---------------------+--------------------------------------+
| Property | Value |
+---------------------+--------------------------------------+
| http_proxy | None |
| updated_at | None |
| master_flavor_id | None |
| fixed_network | None |
| uuid | 512e4b2b-1185-4fda-a77f-e07be5bf937a |
| no_proxy | None |
| https_proxy | None |
| keypair_id | testkey |
| labels | {} |
| docker_volume_size | None |
| external_network_id | public |
| cluster_distro | fedora-atomic |
| image_id | fedora-21-atomic-5 |
| registry_enabled | False |
| apiserver_port | None |
| name | swarmbaymodel |
| created_at | 2015-09-24T19:11:01+00:00 |
| network_driver | flannel |
| ssh_authorized_key | None |
| coe | swarm |
| flavor_id | m1.small |
| dns_nameserver | 8.8.8.8 |
+---------------------+--------------------------------------+

Changed in magnum:
status: Triaged → Confirmed
Revision history for this message
Adrian Otto (aotto) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on magnum (master)

Change abandoned by Kevin Lefevre (<email address hidden>) on branch: master
Review: https://review.openstack.org/227270
Reason: already fixed by https://review.openstack.org/#/c/228087/1

Revision history for this message
Adrian Otto (aotto) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.