Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Openstack queen instance creation error - No valid host was found.

Hi,

I have Del R603 Server with 16 CPU 64GB RAM and 600GB - 3NOS HDD.

I have 2 interfaces em1 and em2 having the network interface as 10.211.5.111 and 10.211.15.111.

I have installed the packstack queen using the following command.

systemctl stop firewalld
systemctl disable firewalld
systemctl stop NetworkManager
systemctl disable NetworkManager

yum upgrade -y
yum install -y centos-release-openstack-queen
yum install -y openstack-packstack
yum install -y python-openstackclient

Using the Answer file i have installed the openstack. Installation completed successfully. Now when I try to create a Instance and its giving error as No valid host was found.

Message No valid host was found. Code 500 Details File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 1116, in schedule_and_build_instances instance_uuids, return_alternates=True) File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 716, in _schedule_instances return_alternates=return_alternates) File "/usr/lib/python2.7/site-packages/nova/scheduler/utils.py", line 726, in wrapped return func(args, *kwargs) File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 53, in select_destinations instance_uuids, return_objects, return_alternates) File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method return getattr(self.instance, __name)(args, *kwargs) File "/usr/lib/python2.7/site-packages/nova/scheduler/client/query.py", line 42, in select_destinations instance_uuids, return_objects, return_alternates) File "/usr/lib/python2.7/site-packages/nova/scheduler/rpcapi.py", line 158, in select_destinations return cctxt.call(ctxt, 'select_destinations', **msg_args) File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 174, in call retry=self.retry) File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 131, in _send timeout=timeout, retry=retry) File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 559, in send retry=retry) File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 550, in _send raise result

Openstack queen instance creation error - No valid host was found.

Hi,

I have Del R603 Server with 16 CPU 64GB RAM and 600GB - 3NOS HDD.

I have 2 interfaces em1 and em2 having the network interface as 10.211.5.111 and 10.211.15.111.

I have installed the packstack queen using the following command.

systemctl stop firewalld
systemctl disable firewalld
systemctl stop NetworkManager
systemctl disable NetworkManager

yum upgrade -y
yum install -y centos-release-openstack-queen
yum install -y openstack-packstack
yum install -y python-openstackclient

Using the Answer file i have installed the openstack. Installation completed successfully. Now when I try to create a Instance and its giving error as No valid host was found.

Message No valid host was found. Code 500 Details Details

File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 1116, in schedule_and_build_instances instance_uuids, return_alternates=True)  File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 716, in _schedule_instances return_alternates=return_alternates)  File "/usr/lib/python2.7/site-packages/nova/scheduler/utils.py", line 726, in wrapped return func(args, *kwargs) func(*args, **kwargs) 
File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 53, in select_destinations instance_uuids, return_objects, return_alternates)  File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method return getattr(self.instance, __name)(args, *kwargs) __name)(*args, **kwargs) 
File "/usr/lib/python2.7/site-packages/nova/scheduler/client/query.py", line 42, in select_destinations instance_uuids, return_objects, return_alternates) File "/usr/lib/python2.7/site-packages/nova/scheduler/rpcapi.py", line 158, in select_destinations return cctxt.call(ctxt, 'select_destinations', **msg_args)  File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 174, in call retry=self.retry)  File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 131, in _send timeout=timeout, retry=retry) File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 559, in send retry=retry) File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 550, in _send raise result

result

Openstack queen instance creation error - No valid host was found.

Hi,

I have Del R603 Server with 16 CPU 64GB RAM and 600GB - 3NOS HDD.

I have 2 interfaces em1 and em2 having the network interface as 10.211.5.111 and 10.211.15.111.

I have installed the packstack queen using the following command.

systemctl stop firewalld
systemctl disable firewalld
systemctl stop NetworkManager
systemctl disable NetworkManager

yum upgrade -y
yum install -y centos-release-openstack-queen
yum install -y openstack-packstack
yum install -y python-openstackclient

Using the Answer file i have installed the openstack. Installation completed successfully. Now when I try to create a Instance and its giving error as No valid host was found.

Message No valid host was found. Code 500 Details

File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 1116, in schedule_and_build_instances instance_uuids, return_alternates=True) 
File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 716, in _schedule_instances return_alternates=return_alternates) 
File "/usr/lib/python2.7/site-packages/nova/scheduler/utils.py", line 726, in wrapped return func(*args, **kwargs) 
File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 53, in select_destinations instance_uuids, return_objects, return_alternates) 
File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method return getattr(self.instance, __name)(*args, **kwargs) 
File "/usr/lib/python2.7/site-packages/nova/scheduler/client/query.py", line 42, in select_destinations instance_uuids, return_objects, return_alternates)  File "/usr/lib/python2.7/site-packages/nova/scheduler/rpcapi.py", line 158, in select_destinations return cctxt.call(ctxt, 'select_destinations', **msg_args) 
File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 174, in call retry=self.retry) 
File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 131, in _send timeout=timeout, retry=retry)  File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 559, in send retry=retry)  File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 550, in _send raise result

Openstack queen instance creation error - No valid host was found.

Hi,

I have Del R603 Server with 16 CPU 64GB RAM and 600GB - 3NOS HDD.

I have 2 interfaces em1 and em2 having the network interface as 10.211.5.111 and 10.211.15.111.

I have installed the packstack queen using the following command.

systemctl stop firewalld
systemctl disable firewalld
systemctl stop NetworkManager
systemctl disable NetworkManager

yum upgrade -y
yum install -y centos-release-openstack-queen
yum install -y openstack-packstack
yum install -y python-openstackclient

Using the Answer file i have installed the openstack. Installation completed successfully. Now when I try to create a Instance and its giving error as No valid host was found.

Message No valid host was found. Code 500 DetailsMessage - NEW Now the error in nova-compute.log

File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 1116, in schedule_and_build_instances instance_uuids, return_alternates=True) 
File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 716, in _schedule_instances return_alternates=return_alternates) 
File "/usr/lib/python2.7/site-packages/nova/scheduler/utils.py", line 726, in wrapped 

2018-07-06 18:31:57.096 3227 ERROR nova.scheduler.client.report [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] [req-877fa231-f216-4a58-aa88-ca0cbacf4bee] Failed to create resource provider record in placement API for UUID 3c73b479-32a0-4ae2-a46c-ba35cda98d54. Got 409: {"errors": [{"status": 409, "request_id": "req-877fa231-f216-4a58-aa88-ca0cbacf4bee", "detail": "There was a conflict when trying to complete your request.\n\n Conflicting resource provider name: openstack already exists. ", "title": "Conflict"}]}. 2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] Error updating resources for node openstack.: ResourceProviderCreationFailed: Failed to create resource provider openstack 2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager Traceback (most recent call last): 2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 7284, in update_available_resource_for_node 2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager rt.update_available_resource(context, nodename) 2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 680, in update_available_resource 2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager self._update_available_resource(context, resources) 2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 274, in inner 2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager return func(*args, **kwargs) f(args, *kwargs) 2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 704, in _update_available_resource 2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager self._init_compute_node(context, resources) 2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 561, in _init_compute_node 2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager self._update(context, cn) 2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 878, in _update 2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager inv_data, 2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 53, in select_destinations instance_uuids, return_objects, return_alternates) 68, in set_inventory_for_provider 2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager parent_provider_uuid=parent_provider_uuid, 2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method __run_method 2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager return getattr(self.instance, __name)(*args, **kwargs) __name)(args, *kwargs) 2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 1103, in set_inventory_for_provider 2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager parent_provider_uuid=parent_provider_uuid) 2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 664, in _ensure_resource_provider 2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager parent_provider_uuid=parent_provider_uuid) 2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 64, in wrapper 2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager return f(self, a, *k) 2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 611, in _create_resource_provider 2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager raise exception.ResourceProviderCreationFailed(name=name) 2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager ResourceProviderCreationFailed: Failed to create resource provider openstack 2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/query.py", line 42, in select_destinations instance_uuids, return_objects, return_alternates) 2018-07-06 18:32:58.889 3227 ERROR nova.scheduler.client.report [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] [req-cc38d9fb-7f37-4add-b379-d40003e97817] Failed to create resource provider record in placement API for UUID 3c73b479-32a0-4ae2-a46c-ba35cda98d54. Got 409: {"errors": [{"status": 409, "request_id": "req-cc38d9fb-7f37-4add-b379-d40003e97817", "detail": "There was a conflict when trying to complete your request.\n\n Conflicting resource provider name: openstack already exists. ", "title": "Conflict"}]}. 2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] Error updating resources for node openstack.: ResourceProviderCreationFailed: Failed to create resource provider openstack 2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager Traceback (most recent call last): 2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 7284, in update_available_resource_for_node 2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager rt.update_available_resource(context, nodename) 2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 680, in update_available_resource 2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager self._update_available_resource(context, resources) 2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 274, in inner 2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager return f(args, *kwargs) 2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 704, in _update_available_resource 2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager self._init_compute_node(context, resources) 2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 561, in _init_compute_node 2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager self._update(context, cn) 2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 878, in _update 2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager inv_data, 2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 68, in set_inventory_for_provider 2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager parent_provider_uuid=parent_provider_uuid, 2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method 2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager return getattr(self.instance, __name)(args, *kwargs) 2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 1103, in set_inventory_for_provider 2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager parent_provider_uuid=parent_provider_uuid) 2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 664, in _ensure_resource_provider 2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager parent_provider_uuid=parent_provider_uuid) 2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 64, in wrapper 2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager return f(self, a, *k) 2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 611, in _create_resource_provider 2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager raise exception.ResourceProviderCreationFailed(name=name) 2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager ResourceProviderCreationFailed: Failed to create resource provider openstack 2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/rpcapi.py", line 158, in select_destinations 2018-07-06 18:34:00.028 3227 ERROR nova.scheduler.client.report [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] [req-a3a9a2bb-efa9-4967-8bfb-ffd10e7a5cf5] Failed to create resource provider record in placement API for UUID 3c73b479-32a0-4ae2-a46c-ba35cda98d54. Got 409: {"errors": [{"status": 409, "request_id": "req-a3a9a2bb-efa9-4967-8bfb-ffd10e7a5cf5", "detail": "There was a conflict when trying to complete your request.\n\n Conflicting resource provider name: openstack already exists. ", "title": "Conflict"}]}. 2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] Error updating resources for node openstack.: ResourceProviderCreationFailed: Failed to create resource provider openstack 2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager Traceback (most recent call last): 2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 7284, in update_available_resource_for_node 2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager rt.update_available_resource(context, nodename) 2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 680, in update_available_resource 2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager self._update_available_resource(context, resources) 2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 274, in inner 2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager return cctxt.call(ctxt, 'select_destinations', **msg_args) f(args, *kwargs) 2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 704, in _update_available_resource 2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager self._init_compute_node(context, resources) 2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 561, in _init_compute_node 2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager self._update(context, cn) 2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 878, in _update 2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager inv_data, 2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 68, in set_inventory_for_provider 2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager parent_provider_uuid=parent_provider_uuid, 2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method 2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager return getattr(self.instance, __name)(args, *kwargs) 2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 1103, in set_inventory_for_provider 2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager parent_provider_uuid=parent_provider_uuid) 2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 664, in _ensure_resource_provider 2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager parent_provider_uuid=parent_provider_uuid) 2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 64, in wrapper 2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager return f(self, a, *k) 2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 611, in _create_resource_provider 2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager raise exception.ResourceProviderCreationFailed(name=name) 2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager ResourceProviderCreationFailed: Failed to create resource provider openstack 2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 174, in 2018-07-06 18:35:00.877 3227 ERROR nova.scheduler.client.report [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] [req-06730b04-1742-4f9c-be54-3af8ecd0a51b] Failed to create resource provider record in placement API for UUID 3c73b479-32a0-4ae2-a46c-ba35cda98d54. Got 409: {"errors": [{"status": 409, "request_id": "req-06730b04-1742-4f9c-be54-3af8ecd0a51b", "detail": "There was a conflict when trying to complete your request.\n\n Conflicting resource provider name: openstack already exists. ", "title": "Conflict"}]}. 2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] Error updating resources for node openstack.: ResourceProviderCreationFailed: Failed to create resource provider openstack 2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager Traceback (most recent call retry=self.retry) last): 2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 7284, in update_available_resource_for_node 2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager rt.update_available_resource(context, nodename) 2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 680, in update_available_resource 2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager self._update_available_resource(context, resources) 2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 274, in inner 2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager return f(args, *kwargs) 2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 704, in _update_available_resource 2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager self._init_compute_node(context, resources) 2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 561, in _init_compute_node 2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager self._update(context, cn) 2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 878, in _update 2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager inv_data, 2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 68, in set_inventory_for_provider 2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager parent_provider_uuid=parent_provider_uuid, 2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method 2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager return getattr(self.instance, __name)(args, *kwargs) 2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 1103, in set_inventory_for_provider 2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager parent_provider_uuid=parent_provider_uuid) 2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 664, in _ensure_resource_provider 2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager parent_provider_uuid=parent_provider_uuid) 2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 64, in wrapper 2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager return f(self, a, *k) 2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 611, in _create_resource_provider 2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager raise exception.ResourceProviderCreationFailed(name=name) 2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager ResourceProviderCreationFailed: Failed to create resource provider openstack 2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 131, in _send timeout=timeout, retry=retry) 2018-07-06 18:36:02.896 3227 ERROR nova.scheduler.client.report [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] [req-91e3689d-f340-4581-9931-1090ffb7fcbc] Failed to create resource provider record in placement API for UUID 3c73b479-32a0-4ae2-a46c-ba35cda98d54. Got 409: {"errors": [{"status": 409, "request_id": "req-91e3689d-f340-4581-9931-1090ffb7fcbc", "detail": "There was a conflict when trying to complete your request.\n\n Conflicting resource provider name: openstack already exists. ", "title": "Conflict"}]}. 2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] Error updating resources for node openstack.: ResourceProviderCreationFailed: Failed to create resource provider openstack 2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager Traceback (most recent call last): 2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 7284, in update_available_resource_for_node 2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager rt.update_available_resource(context, nodename) 2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 680, in update_available_resource 2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager self._update_available_resource(context, resources) 2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 274, in inner 2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager return f(args, *kwargs) 2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 704, in _update_available_resource 2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager self._init_compute_node(context, resources) 2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 561, in _init_compute_node 2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager self._update(context, cn) 2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 878, in _update 2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager inv_data, 2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 68, in set_inventory_for_provider 2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager parent_provider_uuid=parent_provider_uuid, 2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method 2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager return getattr(self.instance, __name)(args, *kwargs) 2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 1103, in set_inventory_for_provider 2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager parent_provider_uuid=parent_provider_uuid) 2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 664, in _ensure_resource_provider 2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager parent_provider_uuid=parent_provider_uuid) 2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 64, in wrapper 2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager return f(self, a, *k) 2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 611, in _create_resource_provider 2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager raise exception.ResourceProviderCreationFailed(name=name) 2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager ResourceProviderCreationFailed: Failed to create resource provider openstack 2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 559, in send retry=retry) File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 550, in _send raise result

2018-07-06 18:37:02.903 3227 ERROR nova.scheduler.client.report [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] [req-5da10d14-1a15-4c30-82c7-5e8723b7199c] Failed to create resource provider record in placement API for UUID 3c73b479-32a0-4ae2-a46c-ba35cda98d54. Got 409: {"errors": [{"status": 409, "request_id": "req-5da10d14-1a15-4c30-82c7-5e8723b7199c", "detail": "There was a conflict when trying to complete your request.\n\n Conflicting resource provider name: openstack already exists. ", "title": "Conflict"}]}.

Openstack queen instance creation error - No valid host was found.

Hi,

I have Del R603 Server with 16 CPU 64GB RAM and 600GB - 3NOS HDD.

I have 2 interfaces em1 and em2 having the network interface as 10.211.5.111 and 10.211.15.111.

I have installed the packstack queen using the following command.

systemctl stop firewalld
systemctl disable firewalld
systemctl stop NetworkManager
systemctl disable NetworkManager

yum upgrade -y
yum install -y centos-release-openstack-queen
yum install -y openstack-packstack
yum install -y python-openstackclient

Using the Answer file i have installed the openstack. Installation completed successfully. Now when I try to create a Instance and its giving error as No valid host was found.

Message - NEW Now the error in nova-compute.logMessage New - Error - in compute.log

2018-07-06 18:31:57.096 3227 ERROR nova.scheduler.client.report [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] [req-877fa231-f216-4a58-aa88-ca0cbacf4bee] Failed to create resource provider record in placement API for UUID 3c73b479-32a0-4ae2-a46c-ba35cda98d54. Got 409: {"errors": [{"status": 409, "request_id": "req-877fa231-f216-4a58-aa88-ca0cbacf4bee", "detail": "There was a conflict when trying to complete your request.\n\n Conflicting resource provider name: openstack already exists.  ", "title": "Conflict"}]}.
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] Error updating resources for node openstack.: ResourceProviderCreationFailed: Failed to create resource provider openstack
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager Traceback (most recent call last):
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 7284, in update_available_resource_for_node
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager     rt.update_available_resource(context, nodename)
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 680, in update_available_resource
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager     self._update_available_resource(context, resources)
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 274, in inner
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager     return f(args, *kwargs)
f(*args, **kwargs)
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 704, in _update_available_resource
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager     self._init_compute_node(context, resources)
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 561, in _init_compute_node
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager     self._update(context, cn)
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 878, in _update
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager     inv_data,
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 68, in set_inventory_for_provider
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid,
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager     return getattr(self.instance, __name)(args, *kwargs)
__name)(*args, **kwargs)
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 1103, in set_inventory_for_provider
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid)
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 664, in _ensure_resource_provider
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid)
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 64, in wrapper
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager     return f(self, a, *k)
*a, **k)
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 611, in _create_resource_provider
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager     raise exception.ResourceProviderCreationFailed(name=name)
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager ResourceProviderCreationFailed: Failed to create resource provider openstack
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager 
2018-07-06 18:32:58.889 3227 ERROR nova.scheduler.client.report [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] [req-cc38d9fb-7f37-4add-b379-d40003e97817] Failed to create resource provider record in placement API for UUID 3c73b479-32a0-4ae2-a46c-ba35cda98d54. Got 409: {"errors": [{"status": 409, "request_id": "req-cc38d9fb-7f37-4add-b379-d40003e97817", "detail": "There was a conflict when trying to complete your request.\n\n Conflicting resource provider name: openstack already exists.  ", "title": "Conflict"}]}.
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] Error updating resources for node openstack.: ResourceProviderCreationFailed: Failed to create resource provider openstack
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager Traceback (most recent call last):
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 7284, in update_available_resource_for_node
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager     rt.update_available_resource(context, nodename)
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 680, in update_available_resource
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager     self._update_available_resource(context, resources)
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 274, in inner
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager     return f(args, *kwargs)
f(*args, **kwargs)
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 704, in _update_available_resource
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager     self._init_compute_node(context, resources)
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 561, in _init_compute_node
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager     self._update(context, cn)
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 878, in _update
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager     inv_data,
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 68, in set_inventory_for_provider
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid,
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager     return getattr(self.instance, __name)(args, *kwargs)
__name)(*args, **kwargs)
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 1103, in set_inventory_for_provider
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid)
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 664, in _ensure_resource_provider
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid)
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 64, in wrapper
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager     return f(self, a, *k)
*a, **k)
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 611, in _create_resource_provider
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager     raise exception.ResourceProviderCreationFailed(name=name)
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager ResourceProviderCreationFailed: Failed to create resource provider openstack
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager 
2018-07-06 18:34:00.028 3227 ERROR nova.scheduler.client.report [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] [req-a3a9a2bb-efa9-4967-8bfb-ffd10e7a5cf5] Failed to create resource provider record in placement API for UUID 3c73b479-32a0-4ae2-a46c-ba35cda98d54. Got 409: {"errors": [{"status": 409, "request_id": "req-a3a9a2bb-efa9-4967-8bfb-ffd10e7a5cf5", "detail": "There was a conflict when trying to complete your request.\n\n Conflicting resource provider name: openstack already exists.  ", "title": "Conflict"}]}.
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] Error updating resources for node openstack.: ResourceProviderCreationFailed: Failed to create resource provider openstack
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager Traceback (most recent call last):
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 7284, in update_available_resource_for_node
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager     rt.update_available_resource(context, nodename)
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 680, in update_available_resource
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager     self._update_available_resource(context, resources)
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 274, in inner
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager     return f(args, *kwargs)
f(*args, **kwargs)
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 704, in _update_available_resource
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager     self._init_compute_node(context, resources)
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 561, in _init_compute_node
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager     self._update(context, cn)
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 878, in _update
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager     inv_data,
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 68, in set_inventory_for_provider
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid,
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager     return getattr(self.instance, __name)(args, *kwargs)
__name)(*args, **kwargs)
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 1103, in set_inventory_for_provider
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid)
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 664, in _ensure_resource_provider
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid)
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 64, in wrapper
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager     return f(self, a, *k)
*a, **k)
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 611, in _create_resource_provider
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager     raise exception.ResourceProviderCreationFailed(name=name)
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager ResourceProviderCreationFailed: Failed to create resource provider openstack
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager 
2018-07-06 18:35:00.877 3227 ERROR nova.scheduler.client.report [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] [req-06730b04-1742-4f9c-be54-3af8ecd0a51b] Failed to create resource provider record in placement API for UUID 3c73b479-32a0-4ae2-a46c-ba35cda98d54. Got 409: {"errors": [{"status": 409, "request_id": "req-06730b04-1742-4f9c-be54-3af8ecd0a51b", "detail": "There was a conflict when trying to complete your request.\n\n Conflicting resource provider name: openstack already exists.  ", "title": "Conflict"}]}.
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] Error updating resources for node openstack.: ResourceProviderCreationFailed: Failed to create resource provider openstack
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager Traceback (most recent call last):
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 7284, in update_available_resource_for_node
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager     rt.update_available_resource(context, nodename)
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 680, in update_available_resource
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager     self._update_available_resource(context, resources)
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 274, in inner
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager     return f(args, *kwargs)
f(*args, **kwargs)
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 704, in _update_available_resource
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager     self._init_compute_node(context, resources)
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 561, in _init_compute_node
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager     self._update(context, cn)
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 878, in _update
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager     inv_data,
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 68, in set_inventory_for_provider
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid,
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager     return getattr(self.instance, __name)(args, *kwargs)
__name)(*args, **kwargs)
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 1103, in set_inventory_for_provider
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid)
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 664, in _ensure_resource_provider
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid)
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 64, in wrapper
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager     return f(self, a, *k)
*a, **k)
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 611, in _create_resource_provider
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager     raise exception.ResourceProviderCreationFailed(name=name)
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager ResourceProviderCreationFailed: Failed to create resource provider openstack
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager 
2018-07-06 18:36:02.896 3227 ERROR nova.scheduler.client.report [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] [req-91e3689d-f340-4581-9931-1090ffb7fcbc] Failed to create resource provider record in placement API for UUID 3c73b479-32a0-4ae2-a46c-ba35cda98d54. Got 409: {"errors": [{"status": 409, "request_id": "req-91e3689d-f340-4581-9931-1090ffb7fcbc", "detail": "There was a conflict when trying to complete your request.\n\n Conflicting resource provider name: openstack already exists.  ", "title": "Conflict"}]}.
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] Error updating resources for node openstack.: ResourceProviderCreationFailed: Failed to create resource provider openstack
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager Traceback (most recent call last):
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 7284, in update_available_resource_for_node
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager     rt.update_available_resource(context, nodename)
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 680, in update_available_resource
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager     self._update_available_resource(context, resources)
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 274, in inner
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager     return f(args, *kwargs)
f(*args, **kwargs)
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 704, in _update_available_resource
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager     self._init_compute_node(context, resources)
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 561, in _init_compute_node
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager     self._update(context, cn)
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 878, in _update
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager     inv_data,
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 68, in set_inventory_for_provider
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid,
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager     return getattr(self.instance, __name)(args, *kwargs)
__name)(*args, **kwargs)
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 1103, in set_inventory_for_provider
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid)
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 664, in _ensure_resource_provider
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid)
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 64, in wrapper
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager     return f(self, a, *k)
*a, **k)
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 611, in _create_resource_provider
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager     raise exception.ResourceProviderCreationFailed(name=name)
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager ResourceProviderCreationFailed: Failed to create resource provider openstack
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager 
2018-07-06 18:37:02.903 3227 ERROR nova.scheduler.client.report [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] [req-5da10d14-1a15-4c30-82c7-5e8723b7199c] Failed to create resource provider record in placement API for UUID 3c73b479-32a0-4ae2-a46c-ba35cda98d54. Got 409: {"errors": [{"status": 409, "request_id": "req-5da10d14-1a15-4c30-82c7-5e8723b7199c", "detail": "There was a conflict when trying to complete your request.\n\n Conflicting resource provider name: openstack already exists.  ", "title": "Conflict"}]}.

"Conflict"}]}.

Openstack queen instance creation error - No valid host was found.

Hi,

I have Del R603 Server with 16 CPU 64GB RAM and 600GB - 3NOS HDD.

I have 2 interfaces em1 and em2 having the network interface as 10.211.5.111 and 10.211.15.111.

I have installed the packstack queen using the following command.

systemctl stop firewalld
systemctl disable firewalld
systemctl stop NetworkManager
systemctl disable NetworkManager

yum upgrade -y
yum install -y centos-release-openstack-queen
yum install -y openstack-packstack
yum install -y python-openstackclient

Using the Answer file i have installed the openstack. Installation completed successfully. Now when I try to create a Instance and its giving error as No valid host was found.

Message New - Error - in compute.log

2018-07-06 18:31:57.096 3227 ERROR nova.scheduler.client.report [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] [req-877fa231-f216-4a58-aa88-ca0cbacf4bee] Failed to create resource provider record in placement API for UUID 3c73b479-32a0-4ae2-a46c-ba35cda98d54. Got 409: {"errors": [{"status": 409, "request_id": "req-877fa231-f216-4a58-aa88-ca0cbacf4bee", "detail": "There was a conflict when trying to complete your request.\n\n Conflicting resource provider name: openstack already exists.  ", "title": "Conflict"}]}.
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] Error updating resources for node openstack.: ResourceProviderCreationFailed: Failed to create resource provider openstack
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager Traceback (most recent call last):
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 7284, in update_available_resource_for_node
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager     rt.update_available_resource(context, nodename)
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 680, in update_available_resource
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager     self._update_available_resource(context, resources)
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 274, in inner
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager     return f(*args, **kwargs)
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 704, in _update_available_resource
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager     self._init_compute_node(context, resources)
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 561, in _init_compute_node
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager     self._update(context, cn)
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 878, in _update
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager     inv_data,
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 68, in set_inventory_for_provider
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid,
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager     return getattr(self.instance, __name)(*args, **kwargs)
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 1103, in set_inventory_for_provider
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid)
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 664, in _ensure_resource_provider
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid)
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 64, in wrapper
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager     return f(self, *a, **k)
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 611, in _create_resource_provider
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager     raise exception.ResourceProviderCreationFailed(name=name)
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager ResourceProviderCreationFailed: Failed to create resource provider openstack
2018-07-06 18:31:57.097 3227 ERROR nova.compute.manager 
2018-07-06 18:32:58.889 3227 ERROR nova.scheduler.client.report [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] [req-cc38d9fb-7f37-4add-b379-d40003e97817] Failed to create resource provider record in placement API for UUID 3c73b479-32a0-4ae2-a46c-ba35cda98d54. Got 409: {"errors": [{"status": 409, "request_id": "req-cc38d9fb-7f37-4add-b379-d40003e97817", "detail": "There was a conflict when trying to complete your request.\n\n Conflicting resource provider name: openstack already exists.  ", "title": "Conflict"}]}.
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] Error updating resources for node openstack.: ResourceProviderCreationFailed: Failed to create resource provider openstack
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager Traceback (most recent call last):
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 7284, in update_available_resource_for_node
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager     rt.update_available_resource(context, nodename)
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 680, in update_available_resource
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager     self._update_available_resource(context, resources)
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 274, in inner
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager     return f(*args, **kwargs)
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 704, in _update_available_resource
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager     self._init_compute_node(context, resources)
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 561, in _init_compute_node
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager     self._update(context, cn)
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 878, in _update
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager     inv_data,
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 68, in set_inventory_for_provider
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid,
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager     return getattr(self.instance, __name)(*args, **kwargs)
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 1103, in set_inventory_for_provider
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid)
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 664, in _ensure_resource_provider
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid)
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 64, in wrapper
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager     return f(self, *a, **k)
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 611, in _create_resource_provider
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager     raise exception.ResourceProviderCreationFailed(name=name)
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager ResourceProviderCreationFailed: Failed to create resource provider openstack
2018-07-06 18:32:58.889 3227 ERROR nova.compute.manager 
2018-07-06 18:34:00.028 3227 ERROR nova.scheduler.client.report [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] [req-a3a9a2bb-efa9-4967-8bfb-ffd10e7a5cf5] Failed to create resource provider record in placement API for UUID 3c73b479-32a0-4ae2-a46c-ba35cda98d54. Got 409: {"errors": [{"status": 409, "request_id": "req-a3a9a2bb-efa9-4967-8bfb-ffd10e7a5cf5", "detail": "There was a conflict when trying to complete your request.\n\n Conflicting resource provider name: openstack already exists.  ", "title": "Conflict"}]}.
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] Error updating resources for node openstack.: ResourceProviderCreationFailed: Failed to create resource provider openstack
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager Traceback (most recent call last):
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 7284, in update_available_resource_for_node
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager     rt.update_available_resource(context, nodename)
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 680, in update_available_resource
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager     self._update_available_resource(context, resources)
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 274, in inner
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager     return f(*args, **kwargs)
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 704, in _update_available_resource
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager     self._init_compute_node(context, resources)
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 561, in _init_compute_node
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager     self._update(context, cn)
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 878, in _update
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager     inv_data,
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 68, in set_inventory_for_provider
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid,
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager     return getattr(self.instance, __name)(*args, **kwargs)
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 1103, in set_inventory_for_provider
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid)
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 664, in _ensure_resource_provider
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid)
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 64, in wrapper
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager     return f(self, *a, **k)
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 611, in _create_resource_provider
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager     raise exception.ResourceProviderCreationFailed(name=name)
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager ResourceProviderCreationFailed: Failed to create resource provider openstack
2018-07-06 18:34:00.029 3227 ERROR nova.compute.manager 
2018-07-06 18:35:00.877 3227 ERROR nova.scheduler.client.report [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] [req-06730b04-1742-4f9c-be54-3af8ecd0a51b] Failed to create resource provider record in placement API for UUID 3c73b479-32a0-4ae2-a46c-ba35cda98d54. Got 409: {"errors": [{"status": 409, "request_id": "req-06730b04-1742-4f9c-be54-3af8ecd0a51b", "detail": "There was a conflict when trying to complete your request.\n\n Conflicting resource provider name: openstack already exists.  ", "title": "Conflict"}]}.
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] Error updating resources for node openstack.: ResourceProviderCreationFailed: Failed to create resource provider openstack
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager Traceback (most recent call last):
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 7284, in update_available_resource_for_node
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager     rt.update_available_resource(context, nodename)
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 680, in update_available_resource
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager     self._update_available_resource(context, resources)
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 274, in inner
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager     return f(*args, **kwargs)
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 704, in _update_available_resource
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager     self._init_compute_node(context, resources)
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 561, in _init_compute_node
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager     self._update(context, cn)
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 878, in _update
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager     inv_data,
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 68, in set_inventory_for_provider
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid,
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager     return getattr(self.instance, __name)(*args, **kwargs)
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 1103, in set_inventory_for_provider
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid)
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 664, in _ensure_resource_provider
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid)
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 64, in wrapper
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager     return f(self, *a, **k)
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 611, in _create_resource_provider
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager     raise exception.ResourceProviderCreationFailed(name=name)
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager ResourceProviderCreationFailed: Failed to create resource provider openstack
2018-07-06 18:35:00.878 3227 ERROR nova.compute.manager 
2018-07-06 18:36:02.896 3227 ERROR nova.scheduler.client.report [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] [req-91e3689d-f340-4581-9931-1090ffb7fcbc] Failed to create resource provider record in placement API for UUID 3c73b479-32a0-4ae2-a46c-ba35cda98d54. Got 409: {"errors": [{"status": 409, "request_id": "req-91e3689d-f340-4581-9931-1090ffb7fcbc", "detail": "There was a conflict when trying to complete your request.\n\n Conflicting resource provider name: openstack already exists.  ", "title": "Conflict"}]}.
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] Error updating resources for node openstack.: ResourceProviderCreationFailed: Failed to create resource provider openstack
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager Traceback (most recent call last):
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 7284, in update_available_resource_for_node
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager     rt.update_available_resource(context, nodename)
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 680, in update_available_resource
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager     self._update_available_resource(context, resources)
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 274, in inner
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager     return f(*args, **kwargs)
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 704, in _update_available_resource
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager     self._init_compute_node(context, resources)
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 561, in _init_compute_node
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager     self._update(context, cn)
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 878, in _update
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager     inv_data,
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 68, in set_inventory_for_provider
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid,
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager     return getattr(self.instance, __name)(*args, **kwargs)
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 1103, in set_inventory_for_provider
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid)
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 664, in _ensure_resource_provider
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid)
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 64, in wrapper
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager     return f(self, *a, **k)
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 611, in _create_resource_provider
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager     raise exception.ResourceProviderCreationFailed(name=name)
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager ResourceProviderCreationFailed: Failed to create resource provider openstack
2018-07-06 18:36:02.897 3227 ERROR nova.compute.manager 
2018-07-06 18:37:02.903 3227 ERROR nova.scheduler.client.report [req-37c7a3df-ad11-41f5-8f34-e144a1a008e4 - - - - -] [req-5da10d14-1a15-4c30-82c7-5e8723b7199c] Failed to create resource provider record in placement API for UUID 3c73b479-32a0-4ae2-a46c-ba35cda98d54. Got 409: {"errors": [{"status": 409, "request_id": "req-5da10d14-1a15-4c30-82c7-5e8723b7199c", "detail": "There was a conflict when trying to complete your request.\n\n Conflicting resource provider name: openstack already exists.  ", "title": "Conflict"}]}.

Execution Output -

[Gaurav] – I installed packstack wihc was successful and then I was having this problem of no valid host so I tried couple of things which did not help and it took 2 days. Then I executed “yum upgrade” and it updated lot of packaes. So I executed the packstack install again. But still no luck. Then I found 1 linkd where it said to update the nova.conf with compute_driver=libvirt.LibvirtDriver which was set to compute_driver=ironic.IronicDriver. Then I saw that I get the output for - nova hypervisor-list command which was empty earlier. So could be installing 2 times might have corrupted the setup.

# nova hypervisor-list
+--------------------------------------+---------------------+-------+---------+
| ID                                   | Hypervisor hostname | State | Status  |
+--------------------------------------+---------------------+-------+---------+
| 3c73b479-32a0-4ae2-a46c-ba35cda98d54 | openstack           | up    | enabled |
+--------------------------------------+---------------------+-------+---------+

Below are my suggestions for repairing your current situation. I think it's a useful exercise with a learning effect, but you may also opt for simply doing a reinstallation from scratch (i.e., reinstall the OS to ensure everything is wiped out, then Packstack). The Placement service has a CLI, but I didn't get it to work on my Queens-based devstack.

# yum install osc-placement
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: ftp.iitm.ac.in
 * extras: mirrors.nhanhoa.com
 * updates: mirrors.nhanhoa.com
No package osc-placement available.
Error: Nothing to do

The command to list the resource providers is openstack resource providers list. If that doesn't work, use the API: $ openstack catalog list $ PLACEMENT_ENDPOINT=placement-endpoint-returned-by-previous-command

# openstack catalog list
+------------+-----------------+-------------------------------------------------------------------------------+
| Name       | Type            | Endpoints                                                                     |
+------------+-----------------+-------------------------------------------------------------------------------+
| cinderv2   | volumev2        | RegionOne                                                                     |
|            |                 |   public: http://10.211.5.111:8776/v2/399eb95852924d17aad6f2ea17ceb72c        |
|            |                 | RegionOne                                                                     |
|            |                 |   internal: http://10.211.5.111:8776/v2/399eb95852924d17aad6f2ea17ceb72c      |
|            |                 | RegionOne                                                                     |
|            |                 |   admin: http://10.211.5.111:8776/v2/399eb95852924d17aad6f2ea17ceb72c         |
|            |                 |                                                                               |
| ceilometer | metering        | RegionOne                                                                     |
|            |                 |   public: http://10.211.5.111:8777                                            |
|            |                 | RegionOne                                                                     |
|            |                 |   internal: http://10.211.5.111:8777                                          |
|            |                 | RegionOne                                                                     |
|            |                 |   admin: http://10.211.5.111:8777                                             |
|            |                 |                                                                               |
| placement  | placement       | RegionOne                                                                     |
|            |                 |   public: http://10.211.5.111:8778/placement                                  |
|            |                 | RegionOne                                                                     |
|            |                 |   admin: http://10.211.5.111:8778/placement                                   |
|            |                 | RegionOne                                                                     |
|            |                 |   internal: http://10.211.5.111:8778/placement                                |
|            |                 |                                                                               |
| magnum     | container-infra | RegionOne                                                                     |
|            |                 |   public: http://10.211.5.111:9511/v1                                         |
|            |                 | RegionOne                                                                     |
|            |                 |   internal: http://10.211.5.111:9511/v1                                       |
|            |                 | RegionOne                                                                     |
|            |                 |   admin: http://10.211.5.111:9511/v1                                          |
|            |                 |                                                                               |
| ironic     | baremetal       | RegionOne                                                                     |
|            |                 |   internal: http://10.211.5.111:6385                                          |
|            |                 | RegionOne                                                                     |
|            |                 |   public: http://10.211.5.111:6385                                            |
|            |                 | RegionOne                                                                     |
|            |                 |   admin: http://10.211.5.111:6385                                             |
|            |                 |                                                                               |
| neutron    | network         | RegionOne                                                                     |
|            |                 |   public: http://10.211.5.111:9696                                            |
|            |                 | RegionOne                                                                     |
|            |                 |   internal: http://10.211.5.111:9696                                          |
|            |                 | RegionOne                                                                     |
|            |                 |   admin: http://10.211.5.111:9696                                             |
|            |                 |                                                                               |
| keystone   | identity        | RegionOne                                                                     |
|            |                 |   public: http://10.211.5.111:5000/v3                                         |
|            |                 | RegionOne                                                                     |
|            |                 |   admin: http://10.211.5.111:35357/v3                                         |
|            |                 | RegionOne                                                                     |
|            |                 |   internal: http://10.211.5.111:5000/v3                                       |
|            |                 |                                                                               |
| heat       | orchestration   | RegionOne                                                                     |
|            |                 |   internal: http://10.211.5.111:8004/v1/399eb95852924d17aad6f2ea17ceb72c      |
|            |                 | RegionOne                                                                     |
|            |                 |   admin: http://10.211.5.111:8004/v1/399eb95852924d17aad6f2ea17ceb72c         |
|            |                 | RegionOne                                                                     |
|            |                 |   public: http://10.211.5.111:8004/v1/399eb95852924d17aad6f2ea17ceb72c        |
|            |                 |                                                                               |
| cinder     | volume          | RegionOne                                                                     |
|            |                 |   public: http://10.211.5.111:8776/v1/399eb95852924d17aad6f2ea17ceb72c        |
|            |                 | RegionOne                                                                     |
|            |                 |   admin: http://10.211.5.111:8776/v1/399eb95852924d17aad6f2ea17ceb72c         |
|            |                 | RegionOne                                                                     |
|            |                 |   internal: http://10.211.5.111:8776/v1/399eb95852924d17aad6f2ea17ceb72c      |
|            |                 |                                                                               |
| swift      | object-store    | RegionOne                                                                     |
|            |                 |   public: http://10.211.5.111:8080/v1/AUTH_399eb95852924d17aad6f2ea17ceb72c   |
|            |                 | RegionOne                                                                     |
|            |                 |   admin: http://10.211.5.111:8080/v1/AUTH_399eb95852924d17aad6f2ea17ceb72c    |
|            |                 | RegionOne                                                                     |
|            |                 |   internal: http://10.211.5.111:8080/v1/AUTH_399eb95852924d17aad6f2ea17ceb72c |
|            |                 |                                                                               |
| heat-cfn   | cloudformation  | RegionOne                                                                     |
|            |                 |   internal: http://10.211.5.111:8000/v1                                       |
|            |                 | RegionOne                                                                     |
|            |                 |   admin: http://10.211.5.111:8000/v1                                          |
|            |                 | RegionOne                                                                     |
|            |                 |   public: http://10.211.5.111:8000/v1                                         |
|            |                 |                                                                               |
| nova       | compute         | RegionOne                                                                     |
|            |                 |   admin: http://10.211.5.111:8774/v2.1/399eb95852924d17aad6f2ea17ceb72c       |
|            |                 | RegionOne                                                                     |
|            |                 |   internal: http://10.211.5.111:8774/v2.1/399eb95852924d17aad6f2ea17ceb72c    |
|            |                 | RegionOne                                                                     |
|            |                 |   public: http://10.211.5.111:8774/v2.1/399eb95852924d17aad6f2ea17ceb72c      |
|            |                 |                                                                               |
| cinderv3   | volumev3        | RegionOne                                                                     |
|            |                 |   public: http://10.211.5.111:8776/v3/399eb95852924d17aad6f2ea17ceb72c        |
|            |                 | RegionOne                                                                     |
|            |                 |   admin: http://10.211.5.111:8776/v3/399eb95852924d17aad6f2ea17ceb72c         |
|            |                 | RegionOne                                                                     |
|            |                 |   internal: http://10.211.5.111:8776/v3/399eb95852924d17aad6f2ea17ceb72c      |
|            |                 |                                                                               |
| gnocchi    | metric          | RegionOne                                                                     |
|            |                 |   admin: http://10.211.5.111:8041                                             |
|            |                 | RegionOne                                                                     |
|            |                 |   public: http://10.211.5.111:8041                                            |
|            |                 | RegionOne                                                                     |
|            |                 |   internal: http://10.211.5.111:8041                                          |
|            |                 |                                                                               |
| glance     | image           | RegionOne                                                                     |
|            |                 |   internal: http://10.211.5.111:9292                                          |
|            |                 | RegionOne                                                                     |
|            |                 |   public: http://10.211.5.111:9292                                            |
|            |                 | RegionOne                                                                     |
|            |                 |   admin: http://10.211.5.111:9292                                             |
|            |                 |                                                                               |
+------------+-----------------+-------------------------------------------------------------------------------+
#

$ openstack token issue -f value -c id $ TOKEN=the-token-returned-by-the-previous-command

# openstack token issue -f value -c id
gAAAAABbQCQUT2QQrTAnzBJam372E0A7JCbRvjvGwNqa-aB1tsRE4fUgqviscvN67LY1vcagobDwbmRpaWxcStZiZreN64MWbE1uPgmzLXZSpljpwl44Vn-EJKg4m0HsNe1JkMOlROJv7T_EkLK_-G7su-iXMLJ0ObyakLQCIraBoDPuDisvDF8
#

$ curl ${PLACEMENT_ENDPOINT}/resource_providers -H "x-auth-token: $TOKEN" | python -m json.tool

# curl http://10.211.5.111:8778/placement/resource_providers -H "x-auth-token: gAAAAABbQCQUT2QQrTAnzBJam372E0A7JCbRvjvGwNqa-aB1tsRE4fUgqviscvN67LY1vcagobDwbmRpaWxcStZiZreN64MWbE1uPgmzLXZSpljpwl44Vn-EJKg4m0HsNe1JkMOlROJv7T_EkLK_-G7su-iXMLJ0ObyakLQCIraBoDPuDisvDF8" | python -m json.tool
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   436  100   436    0     0   4101      0 --:--:-- --:--:-- --:--:--  4113
{
    "resource_providers": [
        {
            "generation": 3,
            "links": [
                {
                    "href": "/placement/resource_providers/cb6de6ee-f1bb-4378-afdc-1ea45710bac0",
                    "rel": "self"
                },
                {
                    "href": "/placement/resource_providers/cb6de6ee-f1bb-4378-afdc-1ea45710bac0/inventories",
                    "rel": "inventories"
                },
                {
                    "href": "/placement/resource_providers/cb6de6ee-f1bb-4378-afdc-1ea45710bac0/usages",
                    "rel": "usages"
                }
            ],
            "name": "openstack",
            "uuid": "cb6de6ee-f1bb-4378-afdc-1ea45710bac0"
        }
    ]
}

This returns the resource provider's UUID. Under normal circumstances, it should be the same as the UUID returned by nova hypervisor-list. My guess is that it is not so in your case.

[Gaurav] – Yes both are different.

Armed with this UUID, you can remove the resource provider, then restart nova-compute. My hope is that it can register with the Placement service at this point. The API to delete a resource provider: $ UUID=uuid-of-resource-provider-named-openstack $ curl ${PLACEMENT_ENDPOINT}/resource_providers/$UUID -H "x-auth-token: $TOKEN" -X DELETE

# curl http://10.211.5.111:8778/placement/resource_providers/cb6de6ee-f1bb-4378-afdc-1ea45710bac0 -H "x-auth-token:gAAAAABbQCQUT2QQrTAnzBJam372E0A7JCbRvjvGwNqa-aB1tsRE4fUgqviscvN67LY1vcagobDwbmRpaWxcStZiZreN64MWbE1uPgmzLXZSpljpwl44Vn-EJKg4m0HsNe1JkMOlROJv7T_EkLK_-G7su-iXMLJ0ObyakLQCIraBoDPuDisvDF8" -X DELETE
#
# curl http://10.211.5.111:8778/placement/resource_providers -H "x-auth-token: gAAAAABbQCQUT2QQrTAnzBJam372E0A7JCbRvjvGwNqa-aB1tsRE4fUgqviscvN67LY1vcagobDwbmRpaWxcStZiZreN64MWbE1uPgmzLXZSpljpwl44Vn-EJKg4m0HsNe1JkMOlROJv7T_EkLK_-G7su-iXMLJ0ObyakLQCIraBoDPuDisvDF8" | python -m json.tool
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    26  100    26    0     0    164      0 --:--:-- --:--:-- --:--:--   165
{
    "resource_providers": []
}
#