-
Openstack Train "No valid host was found." troubleshootingCloud/Openstack_K8s_Docker 2020. 7. 27. 18:41
<Symptom>
1. You get the error message "Failed to schedule instances: NoValidHost_Remote: No valid host was found." in /var/log/nova/nova-conductor.log, when you are installing an instance with image and flavor.
2. If you use Heat orchestration for installation, you get the error message "heat.engine.resource ResourceInError: Went to status ERROR due to "Message: No valid host was found. , Code: 500"" in /var/log/heat/heat-engine.log
<Root Cause>
1. Resource shortage.
if your set flavor requests more resources that Openstack can use for vCPU, RAM, Disk, these messages will be raised.
if your image requests more resources than what Flavor sets, these messages will be raised.
<Action>
1. Please check the flavor set and Openstack resources.
2. Please make sure that the flavor set meets the minimum resource which your image requests.
In my case, my compute node has 2 vCPU but I tried to create an instance for 4 vCPU.
maybe my OpenStack does not support 'overcommit' to use more CPUs than what I have.
<Related log>
ERROR nova.conductor.manager ~~~~ Failed to schedule instances: NoValidHost_Remote: No valid host was found. ERROR heat.engine.resource ~~~~~ ResourceInError: Went to status ERROR due to "Message: No valid host was found., Code: 500" ERROR oslo_messaging.rpc.server ~~~~~is unacceptable: Image virtual size is 65GB and doesn't fit in a volume of size 20GB. 'Cloud > Openstack_K8s_Docker' 카테고리의 다른 글
[Docker] installation on Ubuntu 16.04.7 LTS (0) 2021.02.24 OVS(Open Virtual Switch) installation on Ubuntu 16.04.7LTS (0) 2021.02.24 Openstack instance access by CLI or Putty (0) 2020.05.22 Openstack instance creation by Horizon UI (0) 2020.05.16 Openstack Tenant Network for a project by Horizon UI (0) 2020.05.15