Ask Your Question
0

openstack server

asked 2019-01-22 03:33:51 -0600

lelunicu gravatar image

updated 2019-01-22 04:20:04 -0600

hi, i try to launch:

openstack server create --flavor y --image y --nic net-id=external --security-group default --key-name y y9
openstack server show y9
| OS-EXT-SRV-ATTR:instance_name        | instance-000002fe                               
| fault                                | {u'message': u'No valid host was found. There are not enough hosts available.', u'code': 500,

where

openstack flavor show y
+----------------------------+--------------------------------------+
| Field                      | Value                                |
+----------------------------+--------------------------------------+
| OS-FLV-DISABLED:disabled   | False                                |
| OS-FLV-EXT-DATA:ephemeral  | 0                                    |
| access_project_ids         | None                                 |
| disk                       | 10                                   |
| id                         | bbacb163-d9b8-4efe-acd9-c18334f7941f |
| name                       | y                                    |
| os-flavor-access:is_public | True                                 |
| properties                 |                                      |
| ram                        | 512                                  |
| rxtx_factor                | 1.0                                  |
| swap                       |                                      |
| vcpus                      | 2                                    |
+----------------------------+------------------------------------
openstack image show y
+------------------+--------------------------------------+
| Field            | Value                                |
+------------------+--------------------------------------+
| checksum         | 5dd393eca8de6e61d1cdb8b7ec3852e8     |
| container_format | bare                                 |
| created_at       | 2019-01-22T07:58:16.000000           |
| deleted          | False                                |
| deleted_at       | None                                 |
| disk_format      | qcow2                                |
| id               | a6f914aa-eefe-477f-b9ee-ef05953c3f3c |
| is_public        | False                                |
| min_disk         | 0                                    |
| min_ram          | 0                                    |
| name             | y                                    |
| owner            | 31b1b76a0163418f9d5556836f44f67d     |
| properties       |                                      |
| protected        | False                                |
| size             | 2747006976                           |
| status           | active                               |
| updated_at       | 2019-01-22T07:58:36.000000           |
| virtual_size     | None                                 |
+------------------+-----------------------------------
openstack keypair show y
+-------------+-------------------------------------------------+
| Field       | Value                                           |
+-------------+-------------------------------------------------+
| created_at  | 2019-01-21T08:05:30.000000                      |
| deleted     | False                                           |
| deleted_at  | None                                            |
| fingerprint | 54:0f:2b:1f:1d:8a:1f:24:49:07:ef:8a:77:80:2d:15 |
| id          | 2                                               |
| name        | y                                               |
| updated_at  | None                                            |
| user_id     | 3f93876ec2104c828bb47110b6fecf82                |
+-------------+-------------------------------------------

i changed in /etc/nova/nova.conf

openstack-config --set /etc/nova/nova.conf DEFAULT compute_driver libvirt.LibvirtDriver
openstack-config --set /etc/nova/nova.conf libvirt virt_type kvm

then i tried again ->the same error then changed kvm with qemu ->the same.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2019-01-22 04:22:07 -0600

updated 2019-01-22 04:22:42 -0600

This means that there is no compute node that has the right architecture or capacity for your instance, or that suitable nodes were found but the VM launch failed.

You can get more information from the nova scheduler log. If you enable debug logging, the log will show you which filters cause the search for a suitable compute node to fail.

edit flag offensive delete link more

Comments

can i use nova-manage logs errors to detect those errors?

lelunicu gravatar imagelelunicu ( 2019-01-22 05:04:35 -0600 )edit

I don’t know this command, but there are log files.

Bernd Bausch gravatar imageBernd Bausch ( 2019-01-22 05:54:33 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2019-01-22 03:33:51 -0600

Seen: 12 times

Last updated: Jan 22