Error while creating Baymodel
Bug #1499384 reported by
Adrian Otto
This bug report is a duplicate of:
Bug #1499912: Update developer quick-start to Kubernetes 1.0 release .
Edit
Remove
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.
To post a comment you must log in.
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... Magnum- AllInOne: ~$ magnum baymodel-show swarmbaymodel ------- ------- -+----- ------- ------- ------- ------- -----+ ------- ------- -+----- ------- ------- ------- ------- -----+ 1185-4fda- a77f-e07be5bf93 7a | 24T19:11: 01+00:00 | ------- ------- -+----- ------- ------- ------- ------- -----+
stack@Steve-
+------
| Property | Value |
+------
| http_proxy | None |
| updated_at | None |
| master_flavor_id | None |
| fixed_network | None |
| uuid | 512e4b2b-
| 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-
| network_driver | flannel |
| ssh_authorized_key | None |
| coe | swarm |
| flavor_id | m1.small |
| dns_nameserver | 8.8.8.8 |
+------