Can't launch a swarm cluster using Magnum, any help ?
Hi all,
i have a lab that works fine with Openstack Newton on Ubuntu 16.04. I recently installed Heat and Magnum projects inside my environment.
I have created a cluster template successfully using the command below
magnum cluster-template-create --name swarm-cluster-template --image-id fedora-atomic-latest --keypair-id network-root-key --external-network-id provider --dns-nameserver 8.8.8.8 --master-flavor-id m1.tiny --flavor-id m1.tiny --coe swarm
But it failed when i create a cluster with the command:
magnum cluster-create --name swarm-cluster --cluster-template swarm-cluster-template --master-count 1 --node-count 1
The result of the command is:
root@Controller:~# magnum cluster-show swarm-cluster
+---------------------+---------------------------------------------------------------------------------------------------------------------------------------+
| Property | Value |
+---------------------+---------------------------------------------------------------------------------------------------------------------------------------+
| status | CREATE_FAILED |
| cluster_template_id | fd305330-4472-4e9a-a315-d805d0dafade |
| uuid | 6fde9710-7cb8-4b20-bbfc-137741fa1e56 |
| stack_id | - |
| status_reason | ERROR: Failed to validate: Failed to validate: resources[0]: The Resource Type (Magnum::Optional::Cinder::Volume) could not be found. |
| created_at | 2016-11-16T22:26:16+00:00 |
| name | swarm-cluster |
| updated_at | - |
| discovery_url | https://discovery.etcd.io/cfb3d2eb90fd8564d017e9a5f0ce6376 |
| faults | {} |
| api_address | - |
| coe_version | - |
| master_addresses | [] |
| create_timeout | 60 |
| node_addresses | [] |
| master_count | 1 |
| container_version | - |
| node_count | 1 |
+---------------------+---------------------------------------------------------------------------------------------------------------------------------------+
Do you have any suggestions?
Thank you. JP