I also found an error in the compute node in n-cpu.log related to libvirt:
I noticed that the error is similar but not the same: ERROR nova.compute.manager [^[[01;36mreq-f1fdf348-c333-4436-bcc0-d5cbd76428e6 ^[[00;36madmin admin^[[01;31m] ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[$ ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00mTraceback (most recent call last): ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00m File "/opt/stack/nova/nova/compute/manager.py", line 2218, in _build_resources ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00m yield resources ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00m File "/opt/stack/nova/nova/compute/manager.py", line 2064, in _build_and_run_$ ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00m block_device_info=block_device_info) ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00m File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2780, in spawn ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00m block_device_info=block_device_info) ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00m File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 4924, in _create_dom$ ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00m xml, pause=pause, power_on=power_on) ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00m File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 4855, in _create_dom$ ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00m guest.launch(pause=pause) ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00m File "/opt/stack/nova/nova/virt/libvirt/guest.py", line 142, in launch ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00m self._encoded_xml, errors='ignore') ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00m File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 22$ ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00m self.force_reraise() ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00m File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 19$ ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00m six.reraise(self.type_, self.value, self.tb) ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00m File "/opt/stack/nova/nova/virt/libvirt/guest.py", line 137, in launch ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00m return self._domain.createWithFlags(flags) ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00m File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 186, in$ ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00m result = proxy_call(self._autowrap, f, *args, **kwargs) ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00m File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 144, in$ ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00m rv = execute(f, *args, **kwargs) ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00m File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 125, in$ ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00m six.reraise(c, e, tb) ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00m File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 83, in $ ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00m rv = meth(*args, **kwargs) ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00m File "/usr/local/lib/python2.7/dist-packages/libvirt.py", line 1065, in creat$ ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00m if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=$ ^[[01;31m2016-07-20 23:30:44.470 TRACE nova.compute.manager ^[[01;35m[instance: dcf75116-fcaa-4f43-bac0-f93bc1fcaa9a] ^[[00mlibvirtError: Cannot get interface MTU on 'br-int': No such device 2016-07-21 12:25 GMT+02:00 Silvia Fichera <fichera....@gmail.com>: > 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 > -- Silvia Fichera
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack