Ask Your Question
0

"message": "No valid host was found. There are not enough hosts available.", "code": 500,

asked 2016-09-19 00:15:16 -0500

pall gravatar image

I have installed and configured Ironic service on overcloud controller node. Done the introspection of the node, However I am not able to boot the node. It gives me error : - "message": "No valid host was found. There are not enough hosts available.", "code": 500,

I am using below command to boot:-

nova boot --nic net-id=84fd8130-95e1-4c38-a399-c32754f27bb9 --flavor bare-01 --image f42d5283-47b5-474e-9fe8-0203fb812ac8 vm001

Please help me to fix the issue.

[root@overcloud-controller-0 nova]# ironic node-list +--------------------------------------+-------+---------------+-------------+--------------------+-------------+ | UUID | Name | Instance UUID | Power State | Provisioning State | Maintenance | +--------------------------------------+-------+---------------+-------------+--------------------+-------------+ | 835b2d2d-c9d1-4f60-9f63-409ec05a929c | bare1 | None | power off | available | False | +--------------------------------------+-------+---------------+-------------+--------------------+-------------+

[root@overcloud-controller-0 ~]# ironic node-show bare1 +------------------------+------------------------------------------------------------------------+ | Property | Value | +------------------------+------------------------------------------------------------------------+ | target_power_state | None | | extra | {} | | last_error | None | | updated_at | 2016-09-19T05:01:13+00:00 | | maintenance_reason | None | | provision_state | available | | clean_step | {} | | uuid | 835b2d2d-c9d1-4f60-9f63-409ec05a929c | | console_enabled | False | | target_provision_state | None | | provision_updated_at | 2016-09-15T09:49:46+00:00 | | maintenance | False | | inspection_started_at | None | | inspection_finished_at | None | | power_state | power off | | driver | fake_pxe | | reservation | None | | properties | {u'memory_mb': u'5120', u'cpu_arch': u'x86_64', u'local_gb': u'49', | | | u'cpus': u'1', u'capabilities': u'boot_option:local'} | | instance_uuid | None | | name | bare1 | | driver_info | {u'deploy_ramdisk': u'd3e3103f-eb16-4af8-9996-46b04991329d', | | | u'deploy_kernel': u'dbe7cd86-f76d-40aa-b246-7638e3249ff2'} | | created_at | 2016-09-15T06:05:21+00:00 | | driver_internal_info | {u'clean_steps': None} | | chassis_uuid | | | instance_info | {u'root_gb': 30, u'image_source': | | | u'file:///var/lib/glance/images/f42d5283-47b5-474e-9fe8-0203fb812ac8'} | +------------------------+------------------------------------------------------------------------+

[root@overcloud-controller-0 ~]# nova flavor-show bare-01 +----------------------------+-------------------------------------------------------------+ | Property | Value | +----------------------------+-------------------------------------------------------------+ | OS-FLV-DISABLED:disabled | False | | OS-FLV-EXT-DATA:ephemeral | 0 | | disk | 45 | | extra_specs | {"capabilities:boot_option": "local", "cpu_arch": "x86_64"} | | id | 7 | | name | bare-01 | | os-flavor-access:is_public | True | | ram | 4096 | | rxtx_factor | 1.0 | | swap | | | vcpus | 1 | +----------------------------+-------------------------------------------------------------+ [root@overcloud-controller-0 nova]# glance image-list +--------------------------------------+-------------------+ | ID | Name | +--------------------------------------+-------------------+ | d3e3103f-eb16-4af8-9996-46b04991329d | diskimage-initrd | | f42d5283-47b5-474e-9fe8-0203fb812ac8 | diskimage-qcow2 | | dbe7cd86-f76d-40aa-b246-7638e3249ff2 | diskimage-vmlinuz | | 11d153ac-de27-4556-8a7a-26488bbe5b5c | ramdisk-initramfs | | b57e3395-9c2c-4e6b-8270-348b1c5e8df1 | ramdisk-kernel | +--------------------------------------+-------------------+ [root@overcloud-controller-0 nova]# glance image-show f42d5283-47b5-474e-9fe8-0203fb812ac8 +------------------+--------------------------------------------------------------------+ | Property | Value | +------------------+--------------------------------------------------------------------+ | checksum | c1fd91752719fcf8305a4bc905fa0d62 | | container_format | bare | | created_at | 2016-09-14T09:42:37Z | | direct_url | file:///var/lib/glance/images/f42d5283-47b5-474e-9fe8-0203fb812ac8 | | disk_format | qcow2 | | hypervisor_type | ironic | | id | f42d5283-47b5-474e-9fe8-0203fb812ac8 | | kernel_id | dbe7cd86-f76d-40aa-b246-7638e3249ff2 | | min_disk | 0 | | min_ram | 0 | | name | diskimage-qcow2 | | owner | dc86c2fc08ae496a83952aec63ef0d03 | | protected | False | | ramdisk_id | d3e3103f-eb16-4af8-9996-46b04991329d | | size | 615186432 | | status | active | | tags | [] | | updated_at | 2016-09-14T09:42:51Z | | virtual_size | None | | visibility | public | +------------------+--------------------------------------------------------------------+

edit retag flag offensive close merge delete

Comments

[root@overcloud-controller-0 nova]# nova hypervisor-stats +----------------------+-------+ | Property | Value | +----------------------+-------+ | count | 1 | | current_workload | 0 | | disk_available_least | 49 | | free_disk_gb | 49 | | free_ram_

pall gravatar imagepall ( 2016-09-19 00:18:00 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-05-11 06:41:18 -0500

Hi,

Can you give us the result of the following command, sometimes it's between nova and swift :

nova hypervisor-show 835b2d2d-c9d1-4f60-9f63-409ec05a929c
edit flag offensive delete link more

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: 2016-09-19 00:15:16 -0500

Seen: 648 times

Last updated: Sep 19 '16