Hi,
my openstack charmed installation has 4 compute/ceph-osd nodes all identical.
Each node has 512 GB of RAM and 2 x Intel Xeon Gold 5118 Skylake-SP 12 Cores 24 Threads. In nova cloud controller i have cpu-allocation ratio of 16:1.
Now i am trying to deploy a new instance i get the following error:
“nova.exception.NoValidHost: No valid host was found. There are not enough hosts available.”
I had the same problem. When deploying the 4 Ceph-Osd Machines, following what determines this installation Openstack, I used --constraints tags=compute, and used the same Tag on the 4 different machines that I wanted to deploy Ceph. For some reason I still can’t explain, Juju debug-log returned the same error you reported. So I deleted the Tag, in this command >
And then, Juju randomly chose where there was an evaluable host and deployed the 4 machines. In this case, it chose 3 hosts randomly, leaving 2 machines on a single host and the other two on two other different hosts.
Therefore, perhaps, the solution is to let Juju free the hosts, without using tags.
Hi @penacleiton,
Thank you for your reply . The error i am facing is in Openstack itsefl (nova-conductor.log) i don’t think it is “aware” of the undelaying juju deployment when provissing an instance on a project in Openstack.
I tried your solution but it did not solve my issue.
I think it is related to the number of vCPU openstack is calculating.
The weird part is that i am using the Prometheus Exporter Charm which is showing in grafana the number of free vcpus to be 2870. The math to get to this number is = (4 x 48 x 16) - 202 = 2870