Hi All,

I am trying to create a cluster using Magnum using :

magnum cluster-create kubernetes-cluster --cluster-template kubernetes-cluster-template --master-count 1 --node-count 1 --keypair magnum_key

 

 

My Template looks like this:

+-----------------------+--------------------------------------+

| Property              | Value                                |

+-----------------------+--------------------------------------+

| insecure_registry     | -                                    |

| labels                | {}                                   |

| updated_at            | -                                    |

| floating_ip_enabled   | True                                 |

| fixed_subnet          | -                                    |

| master_flavor_id      | small                                |

| user_id               | b4727cb329c14c388d777d0ce38c8a6b     |

| uuid                  | 24d01aea-c968-42e3-bcaa-a2e756aac5c7 |

| no_proxy              | -                                    |

| https_proxy           | -                                    |

| tls_disabled          | False                                |

| keypair_id            | -                                    |

| hidden                | False                                |

| project_id            | 4c6bc4445c764249921a0a6e40b192dd     |

| public                | False                                |

| http_proxy            | -                                    |

| docker_volume_size    | 4                                    |

| server_type           | vm                                   |

| external_network_id   | 5guknet                              |

| cluster_distro        | fedora-atomic                        |

| image_id              | fedora-atomic-latest                 |

| volume_driver         | -                                    |

| registry_enabled      | False                                |

| docker_storage_driver | devicemapper                         |

| apiserver_port        | -                                    |

| name                  | kubernetes-cluster-template          |

| created_at            | 2019-03-27T12:21:27+00:00            |

| network_driver        | flannel                              |

| fixed_network         | -                                    |

| coe                   | kubernetes                           |

| flavor_id             | small                                |

| master_lb_enabled     | False                                |

| dns_nameserver        | 8.8.8.8                              |

+-----------------------+--------------------------------------+

 

 

I am getting the following error:

 

{"explanation": "The server could not comply with the request since it is either malformed or otherwise incorrect.", "code": 400, "error": {"message": "ResourceTypeUnavailable: : resources.kube_masters<nested_st

ack>.resources.0<file:///var/lib/magnum/env/lib/python2.7/site-packages/magnum/drivers/k8s_fedora_atomic_v1/templates/kubemaster.yaml>: : HEAT-E99001 Service cinder is not available for resource type Magnum::Opt

ional::Cinder::Volume, reason: cinder volumev3 endpoint is not in service catalog.", "traceback": null, "type": "StackValidationFailed"}, "title": "Bad Request"}

log_http_response /var/lib/magnum/env/local/lib/python2.7/site-packages/heatclient/common/http.py:157

2019-03-27 17:28:11.174 145885 ERROR oslo_messaging.rpc.server [req-b4037dc5-2fe1-4533-a6e3-433609c6b22d - - - - -] Exception during message handling: InvalidParameterValue: ERROR: ResourceTypeUnavailable: : res

ources.kube_masters<nested_stack>.resources.0<file:///var/lib/magnum/env/lib/python2.7/site-packages/magnum/drivers/k8s_fedora_atomic_v1/templates/kubemaster.yaml>: : HEAT-E99001 Service cinder is not available

for resource type Magnum::Optional::Cinder::Volume, reason: cinder volumev3 endpoint is not in service catalog.

2019-03-27 17:28:11.174 145885 ERROR oslo_messaging.rpc.server Traceback (most recent call last):

2019-03-27 17:28:11.174 145885 ERROR oslo_messaging.rpc.server   File "/var/lib/magnum/env/local/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 166, in _process_incoming

2019-03-27 17:28:11.174 145885 ERROR oslo_messaging.rpc.server     res = self.dispatcher.dispatch(message)

2019-03-27 17:28:11.174 145885 ERROR oslo_messaging.rpc.server   File "/var/lib/magnum/env/local/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 265, in dispatch

2019-03-27 17:28:11.174 145885 ERROR oslo_messaging.rpc.server     return self._do_dispatch(endpoint, method, ctxt, args)

2019-03-27 17:28:11.174 145885 ERROR oslo_messaging.rpc.server   File "/var/lib/magnum/env/local/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 194, in _do_dispatch

2019-03-27 17:28:11.174 145885 ERROR oslo_messaging.rpc.server     result = func(ctxt, **new_args)

2019-03-27 17:28:11.174 145885 ERROR oslo_messaging.rpc.server   File "/var/lib/magnum/env/local/lib/python2.7/site-packages/magnum/conductor/handlers/cluster_conductor.py", line 80, in cluster_create

2019-03-27 17:28:11.174 145885 ERROR oslo_messaging.rpc.server     raise e

2019-03-27 17:28:11.174 145885 ERROR oslo_messaging.rpc.server InvalidParameterValue: ERROR: ResourceTypeUnavailable: : resources.kube_masters<nested_stack>.resources.0<file:///var/lib/magnum/env/lib/python2.7/s

ite-packages/magnum/drivers/k8s_fedora_atomic_v1/templates/kubemaster.yaml>: : HEAT-E99001 Service cinder is not available for resource type Magnum::Optional::Cinder::Volume, reason: cinder volumev3 endpoint is

not in service catalog.

2019-03-27 17:28:11.174 145885 ERROR oslo_messaging.rpc.server

 

 

 

The magnum.conf file is as suggested in https://docs.openstack.org/magnum/pike/install/install-guide-from-source.html
I DO NOT have cinder in my openstack. I believe, it is optional. Please suggest how can I resolve this issue.

 

 

 

Kind Regards,

Navdeep