On Thu, 2024-06-20 at 12:53 +0000, sinan86polat@gmail.com wrote:
Hello,
When I try to live migrate a VM and specify a target host, I am getting the following: $ openstack server migrate <id> --live --os-compute-api-version 2.30 --host hypervisor-05 No valid host was found. There are not enough hosts available. (HTTP 400) (Request-ID: req-bee8f8b1-7218-4ae7-aa71- c4e5a3a84ba5) if i recall correclty the --host parmater takes the hypervior_hostname not the service host value. https://docs.openstack.org/python-openstackclient/latest/cli/command-objects...
And the following is logged in nova-scheduler: No hosts matched due to not matching requested destination (hypervisor-05, hypervisor-05.sub.domain.com)
When I do "openstack hypervisor list" I see my hypervisors with its fqdn (hypervisor-05.sub.domain.com). So, it might be a mismatch in the nova database?
while the default value of [DEFAULT]/host often matches hypervior_hostname its not always the same depending on how you installed. i dont think this is a mismatch in the nova database (this is not somethign you can change after the fact by the way it will severly break things if you do) but i think your confustion the compute service host value with the hypervior_hostname
How do I verify and correct it?