Ask Your Question

pall's profile - activity

2020-05-15 00:22:35 -0500 received badge  Famous Question (source)
2020-05-15 00:22:35 -0500 received badge  Notable Question (source)
2019-08-20 00:29:42 -0500 received badge  Popular Question (source)
2019-08-19 06:53:22 -0500 commented answer VM stuck a resize state during Migration

I did nova reset-state and then evacuated the faulty compute . It worked fine.

2019-08-19 04:21:52 -0500 answered a question VM stuck a resize state during Migration

Hi, Thanks for the response. Source nova logs cannot be checked since it is down. in Destination node I can see UUI of VM with "Updating from migration" logs . but no VMs on destination can be seen.

2019-08-16 11:34:59 -0500 asked a question VM stuck a resize state during Migration

The situation is: I have two VMs on a Faulty Compute and I wanted to Move VMs from Faulty compute to another empty compute. I used command openstack server migrate <UUID> to move VM from faulty compute to empty compute. Now VM on faulty is stuck ate resize state on source compute itself. I do I safely remove the resize state of VM and evacuate the host now.

2017-05-24 08:29:09 -0500 received badge  Famous Question (source)
2017-04-20 11:14:53 -0500 received badge  Notable Question (source)
2017-04-20 11:14:53 -0500 received badge  Popular Question (source)
2017-02-22 18:09:35 -0500 received badge  Notable Question (source)
2017-02-22 18:09:35 -0500 received badge  Popular Question (source)
2016-11-28 07:13:09 -0500 received badge  Famous Question (source)
2016-11-28 07:13:09 -0500 received badge  Notable Question (source)
2016-09-21 15:52:53 -0500 received badge  Popular Question (source)
2016-09-19 00:18:00 -0500 commented question "message": "No valid host was found. There are not enough hosts available.", "code": 500,

[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_

2016-09-19 00:15:16 -0500 asked a question "message": "No valid host was found. There are not enough hosts available.", "code": 500,

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 | +------------------+--------------------------------------------------------------------+

2016-09-16 08:14:44 -0500 commented question No valid host was found. There are not enough hosts available.

How did u solve the issue? i am alos facing the same issue

2016-09-09 07:19:03 -0500 asked a question After adding ironic nodes on overcloud, compute node is not visible in hypervisor-list

I am trying to add Baremetal nodes on overcloud. After adding ironic nodes on overcloud, compute node is not visible in hypervisor-list. I can only see my baremetal nodes in "nova hypervisor-list". also resources are empty in "nova hypervisor-stats"

[root@overcloud-controller-0 ~]# ironic node-list +--------------------------------------+------------+---------------+-------------+--------------------+-------------+ | UUID | Name | Instance UUID | Power State | Provisioning State | Maintenance | +--------------------------------------+------------+---------------+-------------+--------------------+-------------+ | 7527e520-0637-4dbf-8693-752d5922e763 | bare-node1 | None | power on | manageable | False | | 17e60292-50a5-498f-b4ba-0d9bb8829633 | vm001 | None | power off | manageable | False | +--------------------------------------+------------+---------------+-------------+-----------------

[root@overcloud-controller-0 ~]# nova hypervisor-list +----+--------------------------------------+-------+---------+ | ID | Hypervisor hostname | State | Status | +----+--------------------------------------+-------+---------+ | 2 | 7527e520-0637-4dbf-8693-752d5922e763 | up | enabled | | 3 | 17e60292-50a5-498f-b4ba-0d9bb8829633 | up | enabled | +----+--------------------------------------+-------+---------+

[root@overcloud-controller-0 ~]# nova hypervisor-stats +----------------------+-------+ | Property | Value | +----------------------+-------+ | count | 2 | | 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 | +----------------------+-------+

Please let me know why compute node is not visible in hypervisor-list. How can I update resources in hypervisor-stats. Please node i have not done introspection of ironic nodes on overcloud yet.

2016-09-09 07:19:02 -0500 asked a question After adding ironic nodes on overcloud, compute node is not visible in hypervisor-list.

I am trying to add Baremetal nodes on overcloud. After adding ironic nodes on overcloud, compute node is not visible in hypervisor-list. I can only see my baremetal nodes in "nova hypervisor-list". also resources are empty in "nova hypervisor-stats"

[root@overcloud-controller-0 ~]# ironic node-list +--------------------------------------+------------+---------------+-------------+--------------------+-------------+ | UUID | Name | Instance UUID | Power State | Provisioning State | Maintenance | +--------------------------------------+------------+---------------+-------------+--------------------+-------------+ | 7527e520-0637-4dbf-8693-752d5922e763 | bare-node1 | None | power on | manageable | False | | 17e60292-50a5-498f-b4ba-0d9bb8829633 | vm001 | None | power off | manageable | False | +--------------------------------------+------------+---------------+-------------+-----------------

[root@overcloud-controller-0 ~]# nova hypervisor-list +----+--------------------------------------+-------+---------+ | ID | Hypervisor hostname | State | Status | +----+--------------------------------------+-------+---------+ | 2 | 7527e520-0637-4dbf-8693-752d5922e763 | up | enabled | | 3 | 17e60292-50a5-498f-b4ba-0d9bb8829633 | up | enabled | +----+--------------------------------------+-------+---------+

[root@overcloud-controller-0 ~]# nova hypervisor-stats +----------------------+-------+ | Property | Value | +----------------------+-------+ | count | 2 | | 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 | +----------------------+-------+

Please let me know why compute node is not visible in hypervisor-list. How can I update resources in hypervisor-stats. Please node i have not done introspection of ironic nodes on overcloud yet.