Cannot deploly an instance at a specific host --(no such host found) [nova]

Eugen Block eblock at nde.ag
Wed Nov 11 08:48:21 UTC 2020


Hi,

is the compute node already discovered?
Is the compute node visible in the output of:

controller:~ # nova-manage cell_v2 list_hosts

If not, you can run

controller:~ # nova-manage cell_v2 discover_hosts

and see if that helps.

Regards,
Eugen


Zitat von Pavlos Basaras <pbasaras at gmail.com>:

> Dear community,
>
> i am new to openstack.
>
> I have deployed devstack (on a virtual machine),  and I can
> successfully deploy instances at the host where the controller is installed.
>
> I followed the instructions from
> https://docs.openstack.org/nova/queens/install/compute-install-ubuntu.html
> to add a new compute host, in order to be able to deploy VMs at the PC.
>
> Here is the output:
>
> openstack compute service list --service nova-compute
> +----+--------------+-----------+------+---------+-------+----------------------------+
> | ID | Binary       | Host      | Zone | Status  | State | Updated At
>           |
> +----+--------------+-----------+------+---------+-------+----------------------------+
> |  3 | nova-compute | openstack | nova | enabled | up    |
> 2020-11-11T07:10:41.000000 |
> |  5 | nova-compute | computenode      | nova | enabled | up    |
> 2020-11-11T07:10:42.000000 |
> +----+--------------+-----------+------+---------+-------+----------------------------+
>
> "computenode" is the new device that i added.
>
> When i try to deploy an instance from cli:
> openstack server create --flavor m1.tiny --image cirros034  --nic
> net-id=internal --security-group c8b06902-6664-4776-a8e9-0735ae251d34
> --availability-zone nova:computenode mym--debug
>
> the reply i see from horizon is since there is an error in deploying the
> instance
> No valid host was found. No such host - host: computenode node: None
>
> any directions?
>
> all the best,
> Pavlos






More information about the openstack-discuss mailing list