Can't Create Magnum cluster

asked 2018-09-19 17:27:46 -0600

Am Ab gravatar image


I can't create k8s magnum cluster in rdo queens due to the follwing error. I used fedora-atomic as image in cluster template. I can create cirros vm's without any issue.

2018-09-19 18:21:39.798 1378 ERROR magnum.drivers.heat.driver [req-ace12618-2742-4cb6-aeb1-7a017d511109 - - - - -] Cluster error, stack status: CREATE_FAILED, stack_id: a5812739-4368-41f4-b766-5f952f651f34, reason: Resource CREATE failed: ResourceInError: resources.kube_masters.resources[0].resources.kube-master: Went to status ERROR due to "Message: No valid host was found. , Code: 500"

edit retag flag offensive close merge delete


Your compute hosts, or all-in-one host, probably don't have enough capacity for Fedora-based instances. Cirros is happy with the tiny flavor, Fedora is not. To confirm this, you could check the Nova scheduler and the Placement logs to understand why no host was found.

Bernd Bausch gravatar imageBernd Bausch ( 2018-09-19 23:55:13 -0600 )edit

What's the minimum requirements for fedora atomic? I have an aio rdo openstack installed on a virtualbox with 10G ram and 15G free space and 2 vcpus. Also for magnum cluster I used a custome flavor with 7G disk and 1.5G RAM and 1 vcpu. Does it need installation on physical server?

Am Ab gravatar imageAm Ab ( 2018-09-20 17:31:23 -0600 )edit

I have run Fedora with built-in flavor m1.small (2GB RAM, 20GB disk). Does it run with less? I can't say.

However "no valid host" indicates that Nova doesn't even try to start the instance. My guess: Lack of disk space (15GB host vs 7GB instance). Scheduler/placement logs should confirm this.

Bernd Bausch gravatar imageBernd Bausch ( 2018-09-21 00:35:39 -0600 )edit