docker_volume_type should not be a required parameter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
Fix Released
|
Undecided
|
Spyros Trigazis |
Bug Description
When creating a kubernetes cluster on baremetal & fedora, if the cluster template does not have a docker_volume_type defined, the following error is seen:
InvalidParamete
My environment doesn't support cinder, and in fact the current bare metal driver doesn't support cinder, so I shouldn't need to care about this parameter.
Here's the command used to create the cluster:
magnum cluster-create --keypair controller --name k8s --node-count 1 --master-count 1 --cluster-template k8s-fedora-25
Here's the cluster template used:
+------
| Property | Value |
+------
| insecure_registry | - |
| labels | {} |
| updated_at | - |
| floating_ip_enabled | True |
| fixed_subnet | p3-internal |
| master_flavor_id | compute-A-magnum |
| uuid | a30e88d8-
| no_proxy | - |
| https_proxy | - |
| tls_disabled | False |
| keypair_id | - |
| public | False |
| http_proxy | - |
| docker_volume_size | 3 |
| server_type | bm |
| external_network_id | ilab |
| cluster_distro | fedora |
| image_id | k8s-fedora-25 |
| volume_driver | - |
| registry_enabled | False |
| docker_
| apiserver_port | - |
| name | k8s-fedora-25 |
| created_at | 2017-07-
| network_driver | flannel |
| fixed_network | p3-internal |
| coe | kubernetes |
| flavor_id | compute-A-magnum |
| master_lb_enabled | False |
| dns_nameserver | 8.8.8.8 |
+------
I can work around this by adding the following section in magnum.conf:
[cinder]
default_
It appears that this was introduced with the changes to support bug 1678153.
Changed in magnum: | |
assignee: | Mark Goddard (mgoddard) → Mohammed Naser (mnaser) |
Changed in magnum: | |
assignee: | Mohammed Naser (mnaser) → Spyros Trigazis (strigazi) |
So with: docker_ volume_ type =
[cinder]
default_
Works fine?