<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Calibri Light";
panose-1:2 15 3 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi All,<br>
<br>
I am trying to create a cluster using Magnum using :<o:p></o:p></p>
<p class="MsoNormal">magnum cluster-create kubernetes-cluster --cluster-template kubernetes-cluster-template --master-count 1 --node-count 1 --keypair magnum_key<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My Template looks like this:<o:p></o:p></p>
<p class="MsoNormal">+-----------------------+--------------------------------------+<o:p></o:p></p>
<p class="MsoNormal">| Property | Value |<o:p></o:p></p>
<p class="MsoNormal">+-----------------------+--------------------------------------+<o:p></o:p></p>
<p class="MsoNormal">| insecure_registry | - |<o:p></o:p></p>
<p class="MsoNormal">| labels | {} |<o:p></o:p></p>
<p class="MsoNormal">| updated_at | - |<o:p></o:p></p>
<p class="MsoNormal">| floating_ip_enabled | True |<o:p></o:p></p>
<p class="MsoNormal">| fixed_subnet | - |<o:p></o:p></p>
<p class="MsoNormal">| master_flavor_id | small |<o:p></o:p></p>
<p class="MsoNormal">| user_id | b4727cb329c14c388d777d0ce38c8a6b |<o:p></o:p></p>
<p class="MsoNormal">| uuid | 24d01aea-c968-42e3-bcaa-a2e756aac5c7 |<o:p></o:p></p>
<p class="MsoNormal">| no_proxy | - |<o:p></o:p></p>
<p class="MsoNormal">| https_proxy | - |<o:p></o:p></p>
<p class="MsoNormal">| tls_disabled | False |<o:p></o:p></p>
<p class="MsoNormal">| keypair_id | - |<o:p></o:p></p>
<p class="MsoNormal">| hidden | False |<o:p></o:p></p>
<p class="MsoNormal">| project_id | 4c6bc4445c764249921a0a6e40b192dd |<o:p></o:p></p>
<p class="MsoNormal">| public | False |<o:p></o:p></p>
<p class="MsoNormal">| http_proxy | - |<o:p></o:p></p>
<p class="MsoNormal">| docker_volume_size | 4 |<o:p></o:p></p>
<p class="MsoNormal">| server_type | vm |<o:p></o:p></p>
<p class="MsoNormal">| external_network_id | 5guknet |<o:p></o:p></p>
<p class="MsoNormal">| cluster_distro | fedora-atomic |<o:p></o:p></p>
<p class="MsoNormal">| image_id | fedora-atomic-latest |<o:p></o:p></p>
<p class="MsoNormal">| volume_driver | - |<o:p></o:p></p>
<p class="MsoNormal">| registry_enabled | False |<o:p></o:p></p>
<p class="MsoNormal">| docker_storage_driver | devicemapper |<o:p></o:p></p>
<p class="MsoNormal">| apiserver_port | - |<o:p></o:p></p>
<p class="MsoNormal">| name | kubernetes-cluster-template |<o:p></o:p></p>
<p class="MsoNormal">| created_at | 2019-03-27T12:21:27+00:00 |<o:p></o:p></p>
<p class="MsoNormal">| network_driver | flannel |<o:p></o:p></p>
<p class="MsoNormal">| fixed_network | - |<o:p></o:p></p>
<p class="MsoNormal">| coe | kubernetes |<o:p></o:p></p>
<p class="MsoNormal">| flavor_id | small |<o:p></o:p></p>
<p class="MsoNormal">| master_lb_enabled | False |<o:p></o:p></p>
<p class="MsoNormal">| dns_nameserver | 8.8.8.8 |<o:p></o:p></p>
<p class="MsoNormal">+-----------------------+--------------------------------------+<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am getting the following error:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">{"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<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal">ional::Cinder::Volume, reason: cinder volumev3 endpoint is not in service catalog.", "traceback": null, "type": "StackValidationFailed"}, "title": "Bad Request"}<o:p></o:p></p>
<p class="MsoNormal">log_http_response /var/lib/magnum/env/local/lib/python2.7/site-packages/heatclient/common/http.py:157<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal">for resource type Magnum::Optional::Cinder::Volume, reason: cinder volumev3 endpoint is not in service catalog.<o:p></o:p></p>
<p class="MsoNormal">2019-03-27 17:28:11.174 145885 ERROR oslo_messaging.rpc.server Traceback (most recent call last):<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal">2019-03-27 17:28:11.174 145885 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal">2019-03-27 17:28:11.174 145885 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal">2019-03-27 17:28:11.174 145885 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args)<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal">2019-03-27 17:28:11.174 145885 ERROR oslo_messaging.rpc.server raise e<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal">not in service catalog.<o:p></o:p></p>
<p class="MsoNormal">2019-03-27 17:28:11.174 145885 ERROR oslo_messaging.rpc.server<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The magnum.conf file is as suggested in <a href="https://docs.openstack.org/magnum/pike/install/install-guide-from-source.html">
https://docs.openstack.org/magnum/pike/install/install-guide-from-source.html</a><br>
I <b><u>DO NOT</u></b> have cinder in my openstack. I believe, it is optional. Please suggest how can I resolve this issue.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-family:"Calibri Light",sans-serif;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri Light",sans-serif;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri Light",sans-serif;mso-fareast-language:EN-GB">Kind Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri Light",sans-serif;mso-fareast-language:EN-GB">Navdeep</span><o:p></o:p></p>
</div>
</body>
</html>