[Openstack] No valid Host - OpenStack Mitaka
Silvia Fichera
fichera.sil at gmail.com
Thu Jul 21 10:25:57 UTC 2016
Hi all,
I'm confuguring OpenStack to use it togheter with ONOS according to the
SONA implementation (
https://wiki.onosproject.org/display/ONOS/How+to+set+up+environment).
My setup has 2 compute nodes. It seems that the controller can see the two
nodes.
nova service-list
+----+------------------+----------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary | Host | Zone | Status | State |
Updated_at | Disabled Reason |
+----+------------------+----------------+----------+---------+-------+----------------------------+-----------------+
| 3 | nova-conductor | OpenStack-ctrl | internal | enabled | up |
2016-07-20T21:28:23.000000 | - |
| 5 | nova-scheduler | OpenStack-ctrl | internal | enabled | up |
2016-07-20T21:28:21.000000 | - |
| 6 | nova-consoleauth | OpenStack-ctrl | internal | enabled | up |
2016-07-20T21:28:21.000000 | - |
| 7 | nova-compute | Compute2 | nova | enabled | up |
2016-07-20T21:28:22.000000 | - |
| 8 | nova-compute | Compute1 | nova | enabled | up |
2016-07-20T21:28:20.000000 | - |
+----+------------------+----------------+----------+---------+-------+----------------------------+-----------------+
nova host-list
+----------------+-------------+----------+
| host_name | service | zone |
+----------------+-------------+----------+
| OpenStack-ctrl | conductor | internal |
| OpenStack-ctrl | scheduler | internal |
| OpenStack-ctrl | consoleauth | internal |
| Compute2 | compute | nova |
| Compute1 | compute | nova |
+----------------+-------------+----------+
Here is the error form n-cond.log
2016-07-20 22:29:44.200 ^[[00;32mDEBUG oslo.messaging._drivers.impl_rabbit
[^[[01;36mreq-7d700c44-3166-4407-8f4f-4fa7743339cb ^[[00;36madmin
admin^[[00;32m] ^[[01;35m^[[00;32mConnected to AMQP server on $
/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py:187:
RuntimeWarning: You have iterated over the result of
pkg_resources.parse_version. This is a legacy behavior which is
inconsistent wit$
stacklevel=1,
2016-07-20 22:29:44.236 ^[[01;33mWARNING nova.scheduler.utils
[^[[01;36mreq-7d700c44-3166-4407-8f4f-4fa7743339cb ^[[00;36madmin
admin^[[01;33m] ^[[01;35m^[[01;33mFailed to compute_task_build_instances: N$
Traceback (most recent call last):
File
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line
150, in inner
return func(*args, **kwargs)
File "/opt/stack/nova/nova/scheduler/manager.py", line 104, in
select_destinations
dests = self.driver.select_destinations(ctxt, spec_obj)
File "/opt/stack/nova/nova/scheduler/filter_scheduler.py", line 74, in
select_destinations
raise exception.NoValidHost(reason=reason)
NoValidHost: No valid host was found. There are not enough hosts available.
Any suggestion? Thanks
--
Silvia Fichera
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160721/1e72b5db/attachment.html>
More information about the Openstack
mailing list