Ask Your Question
0

Magnum kubecluster.yaml not found

asked 2017-01-08 11:22:27 -0500

modesto gravatar image

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?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-01-15 01:53:29 -0500

niv gravatar image

did u solve the issue? the same issue occurs to me

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-01-08 11:22:27 -0500

Seen: 146 times

Last updated: Jan 15 '17