Which version of nova and ironic?

Can you attach the nova-scheduler and nova-compute logs? Without digging
into the logs for the failure one can't really tell why it failed.

** Changed in: nova
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1736212

Title:
  Facing Error while deploying Overcloud - " NoValidHost: No valid host
  was found. There are not enough hosts available."

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  Description:
  Facing the error message (No valid host was found. There are not enough hosts 
available., Code: 500) while deploying overcloud.

  Environment:
  Undercloud successfully deployed on VM
  Planning to deploy 'Compute' and 'Controller' on separate baremetal servers
  Using PIKE version

  Note:
  Introspection completed sucessfully with 2 nodes

  Issue:
  Facing the error message (No valid host was found. There are not enough hosts 
available., Code: 500) while deploying overcloud using the below command

  openstack overcloud deploy --template temlpates --control-scale 1
  --control-flavor controllertest --compute-scale 1 --control-flavor
  computetest

  Verified logs on 'nova Condutor, nova schedule and heat as well, all
  of them are showing the same error message. Please let me know how to
  fix this issue.

  Provided the required output below.

  Command Output:
  (undercloud) [stack@director ~]$ ironic node-list
  
+--------------------------------------+-------------+---------------+-------------+--------------------+-------------+
  | UUID                                 | Name        | Instance UUID | Power 
State | Provisioning State | Maintenance |
  
+--------------------------------------+-------------+---------------+-------------+--------------------+-------------+
  | 2fb4794c-f4e4-46c6-bbee-18432e647225 | controller0 | None          | power 
off   | available          | False       |
  | 6bacea55-39d1-4e6b-a65a-6bb0c95c214b | compute0    | None          | power 
off   | available          | False       |
  
+--------------------------------------+-------------+---------------+-------------+--------------------+-------------+
  (undercloud) [stack@director ~]$ openstack flavor list
  
+--------------------------------------+----------------+------+------+-----------+-------+-----------+
  | ID                                   | Name           |  RAM | Disk | 
Ephemeral | VCPUs | Is Public |
  
+--------------------------------------+----------------+------+------+-----------+-------+-----------+
  | 09b9adde-37fd-4a49-af1e-e405a3bc892c | control        | 4096 |   40 |       
  0 |     1 | True      |
  | 09ca6eed-9f41-4e53-8470-ca21c1c773fc | compute        | 4096 |   40 |       
  0 |     1 | True      |
  | 3a57f910-3cfc-47d7-bd61-3c6459913ed0 | computetest    | 7200 |  140 |       
  0 |     8 | True      |
  | 8e840584-5ab0-4dc9-8fce-b05e16a77f21 | controllertest | 6400 |  100 |       
  0 |     4 | True      |
  | 93f697dc-ed34-4f6f-8041-7c26b648f307 | swift-storage  | 4096 |   40 |       
  0 |     1 | True      |
  | ab752d2c-c320-4026-80e0-53c687a12a9b | ceph-storage   | 4096 |   40 |       
  0 |     1 | True      |
  | cf54e4d2-f7ce-4152-bc1e-02a16f1bdca4 | block-storage  | 4096 |   40 |       
  0 |     1 | True      |
  | d6342b38-43a9-4f8c-89b1-7cf36f6f00a1 | baremetal      | 4096 |   40 |       
  0 |     1 | True      |
  
+--------------------------------------+----------------+------+------+-----------+-------+-----------+
  (undercloud) [stack@director ~]$ openstack image list
  +--------------------------------------+------------------------+--------+
  | ID                                   | Name                   | Status |
  +--------------------------------------+------------------------+--------+
  | ae19fc91-146f-4bac-9777-4031b23b36be | bm-deploy-kernel       | active |
  | bc10bb5f-1ed4-4b99-8d6d-3cd56881e942 | bm-deploy-ramdisk      | active |
  | be1f2a18-e3b0-43a5-a194-32fcf792faaa | overcloud-full         | active |
  | 2f357051-f349-4131-b1b1-85f6fc8c3abe | overcloud-full-initrd  | active |
  | a3315b17-e411-4d0c-ad7d-d5e614b6b18d | overcloud-full-vmlinuz | active |
  +--------------------------------------+------------------------+--------+

  (undercloud) [stack@director ~]$ ironic node-show controller0
  
+------------------------+------------------------------------------------------------------------+
  | Property               | Value                                              
                    |
  
+------------------------+------------------------------------------------------------------------+
  | boot_interface         | None                                               
                    |
  | chassis_uuid           | None                                               
                    |
  | clean_step             | {}                                                 
                    |
  | console_enabled        | False                                              
                    |
  | console_interface      | None                                               
                    |
  | created_at             | 2017-11-30T14:35:44+00:00                          
                    |
  | deploy_interface       | None                                               
                    |
  | driver                 | pxe_drac                                           
                    |
  | driver_info            | {u'drac_password': u'******', u'drac_username': 
u'root1',              |
  |                        | u'deploy_ramdisk': 
u'bc10bb5f-1ed4-4b99-8d6d-3cd56881e942',            |
  |                        | u'deploy_kernel': 
u'ae19fc91-146f-4bac-9777-4031b23b36be',             |
  |                        | u'drac_address': u'192.168.30.151'}                
                    |
  | driver_internal_info   | {u'is_whole_disk_image': False, 
u'drac_boot_device': None}             |
  | extra                  | {u'hardware_swift_object': 
u'extra_hardware-2fb4794c-f4e4-46c6-bbee-   |
  |                        | 18432e647225'}                                     
                    |
  | inspect_interface      | None                                               
                    |
  | inspection_finished_at | None                                               
                    |
  | inspection_started_at  | None                                               
                    |
  | instance_info          | {}                                                 
                    |
  | instance_uuid          | None                                               
                    |
  | last_error             | None                                               
                    |
  | maintenance            | False                                              
                    |
  | maintenance_reason     | None                                               
                    |
  | management_interface   | None                                               
                    |
  | name                   | controller0                                        
                    |
  | network_interface      | flat                                               
                    |
  | power_interface        | None                                               
                    |
  | power_state            | power off                                          
                    |
  | properties             | {u'memory_mb': u'65536', u'cpu_arch': u'x86_64', 
u'local_gb': u'1674', |
  |                        | u'cpus': u'40', u'capabilities': 
u'profile:control,boot_option:local'} |
  | provision_state        | available                                          
                    |
  | provision_updated_at   | 2017-12-01T21:02:22+00:00                          
                    |
  | raid_config            | {}                                                 
                    |
  | raid_interface         | None                                               
                    |
  | reservation            | None                                               
                    |
  | resource_class         | baremetal                                          
                    |
  | storage_interface      | noop                                               
                    |
  | target_power_state     | None                                               
                    |
  | target_provision_state | None                                               
                    |
  | target_raid_config     | {}                                                 
                    |
  | updated_at             | 2017-12-01T21:02:24+00:00                          
                    |
  | uuid                   | 2fb4794c-f4e4-46c6-bbee-18432e647225               
                    |
  | vendor_interface       | None                                               
                    |
  
+------------------------+------------------------------------------------------------------------+
  (undercloud) [stack@director ~]$ ironic node-show compute0
  
+------------------------+------------------------------------------------------------------------+
  | Property               | Value                                              
                    |
  
+------------------------+------------------------------------------------------------------------+
  | boot_interface         | None                                               
                    |
  | chassis_uuid           | None                                               
                    |
  | clean_step             | {}                                                 
                    |
  | console_enabled        | False                                              
                    |
  | console_interface      | None                                               
                    |
  | created_at             | 2017-11-30T14:35:44+00:00                          
                    |
  | deploy_interface       | None                                               
                    |
  | driver                 | pxe_drac                                           
                    |
  | driver_info            | {u'drac_password': u'******', u'drac_username': 
u'root',               |
  |                        | u'deploy_ramdisk': 
u'bc10bb5f-1ed4-4b99-8d6d-3cd56881e942',            |
  |                        | u'deploy_kernel': 
u'ae19fc91-146f-4bac-9777-4031b23b36be',             |
  |                        | u'drac_address': u'192.168.30.153'}                
                    |
  | driver_internal_info   | {u'is_whole_disk_image': False, 
u'drac_boot_device': None}             |
  | extra                  | {u'hardware_swift_object': 
u'extra_hardware-6bacea55-39d1-4e6b-a65a-   |
  |                        | 6bb0c95c214b'}                                     
                    |
  | inspect_interface      | None                                               
                    |
  | inspection_finished_at | None                                               
                    |
  | inspection_started_at  | None                                               
                    |
  | instance_info          | {}                                                 
                    |
  | instance_uuid          | None                                               
                    |
  | last_error             | None                                               
                    |
  | maintenance            | False                                              
                    |
  | maintenance_reason     | None                                               
                    |
  | management_interface   | None                                               
                    |
  | name                   | compute0                                           
                    |
  | network_interface      | flat                                               
                    |
  | power_interface        | None                                               
                    |
  | power_state            | power off                                          
                    |
  | properties             | {u'memory_mb': u'65536', u'cpu_arch': u'x86_64', 
u'local_gb': u'1674', |
  |                        | u'cpus': u'40', u'capabilities': 
u'profile:compute,boot_option:local'} |
  | provision_state        | available                                          
                    |
  | provision_updated_at   | 2017-12-01T20:33:21+00:00                          
                    |
  | raid_config            | {}                                                 
                    |
  | raid_interface         | None                                               
                    |
  | reservation            | None                                               
                    |
  | resource_class         | baremetal                                          
                    |
  | storage_interface      | noop                                               
                    |
  | target_power_state     | None                                               
                    |
  | target_provision_state | None                                               
                    |
  | target_raid_config     | {}                                                 
                    |
  | updated_at             | 2017-12-01T20:33:22+00:00                          
                    |
  | uuid                   | 6bacea55-39d1-4e6b-a65a-6bb0c95c214b               
                    |
  | vendor_interface       | None                                               
                    |
  
+------------------------+------------------------------------------------------------------------+
  (undercloud) [stack@director ~]$

  (undercloud) [stack@director ~]$ nova list
  
+--------------------------------------+-------------------------+--------+------------+-------------+----------+
  | ID                                   | Name                    | Status | 
Task State | Power State | Networks |
  
+--------------------------------------+-------------------------+--------+------------+-------------+----------+
  | bc62a6a5-c56c-4b11-8e2a-8b3bd040d466 | overcloud-controller-0  | ERROR  | - 
         | NOSTATE     |          |
  | bb25d4d1-0621-4d19-b88c-ec0d3b9c378c | overcloud-novacompute-0 | ERROR  | - 
         | NOSTATE     |          |
  
+--------------------------------------+-------------------------+--------+------------+-------------+----------+
  (undercloud) [stack@director ~]$ openstack stack list
  
+--------------------------------------+------------+----------------------------------+---------------+----------------------+--------------+
  | ID                                   | Stack Name | Project                 
         | Stack Status  | Creation Time        | Updated Time |
  
+--------------------------------------+------------+----------------------------------+---------------+----------------------+--------------+
  | 6af0422d-231b-427b-bb14-c69a5b0c198d | overcloud  | 
550e06dfd95342eba2a8ad88c2faa238 | CREATE_FAILED | 2017-12-01T18:56:26Z | None  
       |
  
+--------------------------------------+------------+----------------------------------+---------------+----------------------+--------------+
  (undercloud) [stack@director ~]$

  (undercloud) [stack@director ~]$ heat resource-list -n 5 overcloud | grep -v 
_COMPLETE
  WARNING (shell) "heat resource-list" is deprecated, please use "openstack 
stack resource list" instead
  
+-------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+-----------------+----------------------+-------------------------------------------------------------------------------------------------------------------------+
  | resource_name                             | physical_resource_id            
                                                                                
                                    | resource_type                             
                                                                           | 
resource_status | updated_time         | stack_name                             
                                                                                
 |
  
+-------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+-----------------+----------------------+-------------------------------------------------------------------------------------------------------------------------+
  | Compute                                   | 
828674ba-1672-4f41-8b7c-4069c0cf7478                                            
                                                                    | 
OS::Heat::ResourceGroup                                                         
                                     | CREATE_FAILED   | 2017-12-01T18:56:28Z | 
overcloud                                                                       
                                        |
  | Controller                                | 
57e1579a-a82f-4ecd-8c2e-d09243d1e2f4                                            
                                                                    | 
OS::Heat::ResourceGroup                                                         
                                     | CREATE_FAILED   | 2017-12-01T18:56:28Z | 
overcloud                                                                       
                                        |
  | 0                                         | 
e273841d-fbb1-4b45-b198-9c5babe3ae55                                            
                                                                    | 
OS::TripleO::Compute                                                            
                                     | CREATE_FAILED   | 2017-12-01T18:58:26Z | 
overcloud-Compute-wd4rkbooxlwx                                                  
                                        |
  | NovaCompute                               | 
bb25d4d1-0621-4d19-b88c-ec0d3b9c378c                                            
                                                                    | 
OS::TripleO::ComputeServer                                                      
                                     | CREATE_FAILED   | 2017-12-01T18:58:29Z | 
overcloud-Compute-wd4rkbooxlwx-0-4ik7vkfesgzj                                   
                                        |
  | 0                                         | 
8b979c36-7a93-47e6-a57e-c4df7a090efc                                            
                                                                    | 
OS::TripleO::Controller                                                         
                                     | CREATE_FAILED   | 2017-12-01T18:58:30Z | 
overcloud-Controller-yamyndrmnqtp                                               
                                        |
  | Controller                                | 
bc62a6a5-c56c-4b11-8e2a-8b3bd040d466                                            
                                                                    | 
OS::TripleO::ControllerServer                                                   
                                     | CREATE_FAILED   | 2017-12-01T18:58:34Z | 
overcloud-Controller-yamyndrmnqtp-0-n6vjzdskrmy3                                
                                        |
  
+-------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+-----------------+----------------------+-------------------------------------------------------------------------------------------------------------------------+

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1736212/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to