no valid host was found when lunching new instance
I have installed openstack rocky with packstack. I have a controller node, compute node, network node and storage node.
When I want to lunch a new instance (with cirros), I get this error:
Error: Failed to perform requested operation on instance "test0", the instance has an error status: Please try again later [Error: No valid host was found. ].
here is the output of nova service-list
:
+--------------------------------------+------------------+------------+----------+---------+-------+----------------------------+-----------------+-------------+
| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason | Forced down |
+--------------------------------------+------------------+------------+----------+---------+-------+----------------------------+-----------------+-------------+
| ca6dd0a7-1278-4e42-8cec-8785e3f8ce87 | nova-conductor | controller | internal | enabled | up | 2018-12-02T05:38:03.000000 | - | False |
| d1c50908-e10c-437f-82be-6f39cba9bbe3 | nova-scheduler | controller | internal | enabled | up | 2018-12-02T05:38:03.000000 | - | False |
| 45c7ab7f-7d87-4ccf-940b-80a6b7bc0647 | nova-consoleauth | controller | internal | enabled | up | 2018-12-02T05:38:07.000000 | - | False |
| 9bc71327-f30e-43bc-8ac1-2f14b8c3e9f8 | nova-compute | compute | nova | enabled | up | 2018-12-02T05:38:03.000000 | - | False |
+--------------------------------------+------------------+------------+----------+---------+-------+----------------------------+-----------------+-------------+
output of neutron agent-list
:
+--------------------------------------+--------------------+---------+-------------------+-------+----------------+---------------------------+
| id | agent_type | host | availability_zone | alive | admin_state_up | binary |
+--------------------------------------+--------------------+---------+-------------------+-------+----------------+---------------------------+
| 4720b675-8b10-4fe8-906c-8635371c2138 | L3 agent | network | nova | :-) | True | neutron-l3-agent |
| 4832cfdb-4753-48f5-8037-778fd314a4b4 | Metadata agent | network | | :-) | True | neutron-metadata-agent |
| 4a7071c6-32d7-40ff-be71-8fd7da52fe97 | Open vSwitch agent | compute | | :-) | True | neutron-openvswitch-agent |
| 62ed3331-2bd2-4005-87ff-08caa3035562 | DHCP agent | network | nova | :-) | True | neutron-dhcp-agent |
| ba9666b6-2ba7-472c-b448-8c4a8277cb11 | Open vSwitch agent | network | | :-) | True | neutron-openvswitch-agent |
| f712ddb6-736a-413d-8aef-9458ea0696b7 | Metering agent | network | | :-) | True | neutron-metering-agent |
+--------------------------------------+--------------------+---------+-------------------+-------+----------------+---------------------------+
and output of nova hypervisor-stats
:
+----------------------+-------+
| Property | Value |
+----------------------+-------+
| count | 0 |
| current_workload | 0 |
| disk_available_least | 0 |
| free_disk_gb | 0 |
| free_ram_mb | 0 |
| local_gb | 0 |
| local_gb_used | 0 |
| memory_mb | 0 |
| memory_mb_used | 0 |
| running_vms | 0 |
| vcpus | 0 |
| vcpus_used | 0 |
+----------------------+-------+
I have installed rocky and the vm wich compute node is installed on has 8 gb of ram, two processors and 20 gb of storage
How can I solve this?