[openstack-dev] [Openstack] Filter ComputeCapabilitiesFilter returned 0 hosts
Brent Troge
brenttroge2016 at gmail.com
Thu Jul 14 17:53:52 UTC 2016
can you send output of the below..
nova service-list
nova flavor-show z1.3small
nova aggregate-details zfs
On Thu, Jul 14, 2016 at 11:44 AM, Turbo Fredriksson <turbo at bayour.com>
wrote:
> I've been working on "porting" the Openstack-ZFS driver
> (https://github.com/FransUrbo/Openstack-ZFS) to Mitaka
> and most works now.
>
> EXCEPT, I get Subj. when trying to create an instance.
>
> ----- s n i p -----
> 2016-07-14 13:18:30.955 21554 DEBUG nova.filters
> [req-88443e97-1486-4cdf-a15f-21e78b1ee3a1 4b0e25c70d2b4ad6ba4c50250f2f0b0b
> 04ee0e71babe4fd7aa16c3f64a8fca89 - - -] Filter ComputeFilter returned 1
> host(s) get_filtered_objects
> /usr/lib/python2.7/dist-packages/nova/filters.py:104
> 2016-07-14 13:18:30.956 21554 DEBUG
> nova.scheduler.filters.compute_capabilities_filter
> [req-88443e97-1486-4cdf-a15f-21e78b1ee3a1 4b0e25c70d2b4ad6ba4c50250f2f0b0b
> 04ee0e71babe4fd7aa16c3f64a8fca89 - - -] (bladeA03, bladeA03.domain.tld)
> ram: 15046MB disk: 116736MB io_ops: 0 instances: 1 fails. There are no
> capabilities to retrieve. _get_capabilities
> /usr/lib/python2.7/dist-packages/nova/scheduler/filters/compute_capabilities_filter.py:63
> 2016-07-14 13:18:30.957 21554 DEBUG
> nova.scheduler.filters.compute_capabilities_filter
> [req-88443e97-1486-4cdf-a15f-21e78b1ee3a1 4b0e25c70d2b4ad6ba4c50250f2f0b0b
> 04ee0e71babe4fd7aa16c3f64a8fca89 - - -] (bladeA03, bladeA03.domain.tld)
> ram: 15046MB disk: 116736MB io_ops: 0 instances: 1 fails instance_type
> extra_specs requirements host_passes
> /usr/lib/python2.7/dist-packages/nova/scheduler/filters/compute_capabilities_filter.py:101
> 2016-07-14 13:18:30.957 21554 INFO nova.filters
> [req-88443e97-1486-4cdf-a15f-21e78b1ee3a1 4b0e25c70d2b4ad6ba4c50250f2f0b0b
> 04ee0e71babe4fd7aa16c3f64a8fca89 - - -] Filter ComputeCapabilitiesFilter
> returned 0 hosts
> 2016-07-14 13:18:30.958 21554 DEBUG nova.filters
> [req-88443e97-1486-4cdf-a15f-21e78b1ee3a1 4b0e25c70d2b4ad6ba4c50250f2f0b0b
> 04ee0e71babe4fd7aa16c3f64a8fca89 - - -] Filtering removed all hosts for the
> request with instance ID 'e46864b7-468e-439a-8374-bd5af32b6f4f'. Filter
> results: [('RetryFilter', [(u'bladeA03', u'bladeA03.domain.tld')]),
> ('AvailabilityZoneFilter', [(u'bladeA03', u'bladeA03.domain.tld')]),
> ('RamFilter', [(u'bladeA03', u'bladeA03.domain.tld')]), ('DiskFilter',
> [(u'bladeA03', u'bladeA03.domain.tld')]), ('ComputeFilter', [(u'bladeA03',
> u'bladeA03.domain.tld')]), ('ComputeCapabilitiesFilter', None)]
> get_filtered_objects /usr/lib/python2.7/dist-packages/nova/filters.py:129
> 2016-07-14 13:18:30.959 21554 INFO nova.filters
> [req-88443e97-1486-4cdf-a15f-21e78b1ee3a1 4b0e25c70d2b4ad6ba4c50250f2f0b0b
> 04ee0e71babe4fd7aa16c3f64a8fca89 - - -] Filtering removed all hosts for the
> request with instance ID 'e46864b7-468e-439a-8374-bd5af32b6f4f'. Filter
> results: ['RetryFilter: (start: 1, end: 1)', 'AvailabilityZoneFilter:
> (start: 1, end: 1)', 'RamFilter: (start: 1, end: 1)', 'DiskFilter: (start:
> 1, end: 1)', 'ComputeFilter: (start: 1, end: 1)',
> 'ComputeCapabilitiesFilter: (start: 1, end: 0)']
> 2016-07-14 13:18:30.960 21554 DEBUG nova.scheduler.filter_scheduler
> [req-88443e97-1486-4cdf-a15f-21e78b1ee3a1 4b0e25c70d2b4ad6ba4c50250f2f0b0b
> 04ee0e71babe4fd7aa16c3f64a8fca89 - - -] There are 0 hosts available but 1
> instances requested to build. select_destinations
> /usr/lib/python2.7/dist-packages/nova/scheduler/filter_scheduler.py:71
>
> ==> /var/log/nova/nova-conductor.log <==
> 2016-07-14 13:18:30.965 21686 WARNING nova.scheduler.utils
> [req-88443e97-1486-4cdf-a15f-21e78b1ee3a1 4b0e25c70d2b4ad6ba4c50250f2f0b0b
> 04ee0e71babe4fd7aa16c3f64a8fca89 - - -] Failed to
> compute_task_build_instances: No valid host was found. There are not enough
> hosts available.
> Traceback (most recent call last):
>
> File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py",
> line 150, in inner
> return func(*args, **kwargs)
>
> File "/usr/lib/python2.7/dist-packages/nova/scheduler/manager.py", line
> 104, in select_destinations
> dests = self.driver.select_destinations(ctxt, spec_obj)
>
> File
> "/usr/lib/python2.7/dist-packages/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.
>
> 2016-07-14 13:18:30.966 21686 WARNING nova.scheduler.utils
> [req-88443e97-1486-4cdf-a15f-21e78b1ee3a1 4b0e25c70d2b4ad6ba4c50250f2f0b0b
> 04ee0e71babe4fd7aa16c3f64a8fca89 - - -] [instance:
> e46864b7-468e-439a-8374-bd5af32b6f4f] Setting instance to ERROR state.
> ----- s n i p -----
>
>
> I've created both a flavor and a host aggregate for this, but
> still nothing..
>
> ----- s n i p -----
> # openstack aggregate create --zone nova --property volume_type=ZOL zfs
> # openstack volume type create --description "ZFS volumes" --public zfs
> # openstack volume type set --property volume_backend_name=ZOL zfs
> # openstack flavor create --ram 2048 --disk 20 --vcpus 1 --disk 10
> z1.3small
> # openstack flavor set --property volume_type=ZOL z1.3small
> ----- s n i p -----
>
> Config file:
> https://github.com/FransUrbo/openstack_bladecenter/blob/master/configs-control/etc/cinder/cinder.conf#L78-L89
> --
> Try not. Do. Or do not. There is no try!
> - Yoda
>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160714/290d348a/attachment.html>
More information about the OpenStack-dev
mailing list