Ask Your Question

Revision history [back]

Instance created with error status in Mitaka

Hi, i have installed OpenStack mitaka on RHEL using following guide https://docs.openstack.org/mitaka/install-guide-rdo/launch-instance.html#launch-instance .

I have created a provider-network as per the guide. when i create instance , the instance is launched with error status.

[root@controller openstackusr]# openstack server list
+--------------------------------------+------+--------+----------+--------+---------+
| ID                                   | Name | Status | Networks | Image  | Flavor  |
+--------------------------------------+------+--------+----------+--------+---------+
| dda5200d-6c28-4aaa-9eee-093932bd804f | Spo  | ERROR  |          | cirros | s2      |
| 1777ddc3-95ef-4df7-b6c4-d5928ff05159 | s1   | ERROR  |          | cirros | m1.nano |
+--------------------------------------+------+--------+----------+--------+---------+

I found following error in nova-compute.log

2019-05-09 13:17:22.346 8911 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 35, in __run_method
2019-05-09 13:17:22.346 8911 ERROR nova.compute.manager     return getattr(self.instance, __name)(*args, **kwargs)
2019-05-09 13:17:22.346 8911 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 1006, in get_provider_tree_and_ensure_root
2019-05-09 13:17:22.346 8911 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid)
2019-05-09 13:17:22.346 8911 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 680, in _ensure_resource_provider
2019-05-09 13:17:22.346 8911 ERROR nova.compute.manager     name=name or uuid)
2019-05-09 13:17:22.346 8911 ERROR nova.compute.manager ResourceProviderCreationFailed: Failed to create resource provider compute
2019-05-09 13:17:22.346 8911 ERROR nova.compute.manager

Please help me out.

Instance created with error status in Mitaka

Hi, i have installed OpenStack mitaka on RHEL using following guide https://docs.openstack.org/mitaka/install-guide-rdo/launch-instance.html#launch-instance .

I have created a provider-network as per the guide. when i create instance , the instance is launched with error status.

[root@controller openstackusr]# openstack server list
+--------------------------------------+------+--------+----------+--------+---------+
| ID                                   | Name | Status | Networks | Image  | Flavor  |
+--------------------------------------+------+--------+----------+--------+---------+
| dda5200d-6c28-4aaa-9eee-093932bd804f | Spo  | ERROR  |          | cirros | s2      |
| 1777ddc3-95ef-4df7-b6c4-d5928ff05159 | s1   | ERROR  |          | cirros | m1.nano |
+--------------------------------------+------+--------+----------+--------+---------+

I found following error in nova-compute.log

2019-05-09 13:17:22.346 8911 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 35, in __run_method
2019-05-09 13:17:22.346 8911 ERROR nova.compute.manager     return getattr(self.instance, __name)(*args, **kwargs)
2019-05-09 13:17:22.346 8911 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 1006, in get_provider_tree_and_ensure_root
2019-05-09 13:17:22.346 8911 ERROR nova.compute.manager     parent_provider_uuid=parent_provider_uuid)
2019-05-09 13:17:22.346 8911 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 680, in _ensure_resource_provider
2019-05-09 13:17:22.346 8911 ERROR nova.compute.manager     name=name or uuid)
2019-05-09 13:17:22.346 8911 ERROR nova.compute.manager ResourceProviderCreationFailed: Failed to create resource provider compute
2019-05-09 13:17:22.346 8911 ERROR nova.compute.manager

I have another error in nova-conductor.log

NoValidHost: No valid host was found.
: NoValidHost_Remote: No valid host was found.
2019-05-09 14:16:49.328 13597 WARNING nova.scheduler.utils [req-bb1fe83c-b9e0-4bce-853b-d205e45c392b 44ee5d6905d945ce9e14e84a5d23e710 0a8a8f1e49f3466b8333f3a2af315682 - 549e83b1fc8f4baf8138127bf714d760 549e83b1fc8f4baf8138127bf714d760] [instance: 21a1246a-0a61-4be3-adec-89b4bb20828b] Setting instance to ERROR state.: NoValidHost_Remote: No valid host was found.

Please help me out.