Magnum kubecluster.yaml not found
I'm using openstack newton on ubuntu 16.04. and just installed Heat 1.6.1 and Magnum 2.3.1 The cluster-template-create command seems to run fine:
magnum cluster-template-create
--name kube-cluster-template2
--image-id fedora-atomic-newton
--keypair-id ua-key --external-network-id provider
--dns-nameserver 8.8.8.8
--master-flavor-id m1.small
--flavor-id m1.small
--coe kubernetes
| Property | Value |
+-----------------------+--------------------------------------+
| insecure_registry | - |
| labels | {} |
| updated_at | - |
| floating_ip_enabled | True |
| fixed_subnet | - |
| master_flavor_id | m1.small |
| uuid | 4cd9aa32-1ce0-4797-b9f5-1419296b3273 |
| no_proxy | - |
| https_proxy | - |
| tls_disabled | False |
| keypair_id | ua-key |
| public | False |
| http_proxy | - |
| docker_volume_size | - |
| server_type | vm |
| external_network_id | provider |
| cluster_distro | fedora-atomic |
| image_id | fedora-atomic-newton |
| volume_driver | - |
| registry_enabled | False |
| docker_storage_driver | devicemapper |
| apiserver_port | - |
| name | kube-cluster-template2 |
| created_at | 2017-01-08T16:47:42+00:00 |
| network_driver | flannel |
| fixed_network | - |
| coe | kubernetes |
| flavor_id | m1.small |
| master_lb_enabled | False |
| dns_nameserver | 8.8.8.8 |
+-----------------------+--------------------------------------+
Then the cluster creation command is accepted but does not work. The cluster status is CREATE_FAILED.
Error msg in the magnum-conductor.log:
ERROR oslo_messaging.rpc.server URLError: <urlopen error [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/magnum/drivers/k8s_fedora_atomic_v1/templates/kubecluster.yaml'>
In deed there is no such file. Even the templates directory is missing. The same error occurs after creating an empty templates dir manually. Changing the coe to "swarm" results in an analogous error.
Any hints?