Manila-CI: glusterfs (NFS) driver CI fails as m-scheduler can't find a valid host to create shares

Bug #1498399 reported by Ramana Raja
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
devstack-plugin-glusterfs
Fix Committed
Undecided
Ramana Raja

Bug Description

glusterfs (NFS) driver CI fails always as it cannot create shares, and on further search of the logs found that manila-scheduler log fails to find a host to create shares on,

Pasting the relevant screen-m-sch log,

 Starting with 1 host(s) get_filtered_objects /opt/stack/new/manila/manila/openstack/common/scheduler/base_filter.py:77

Filter AvailabilityZoneFilter returned 1 host(s) get_filtered_objects /opt/stack/new/manila/manila/openstack/common/scheduler/base_filter.py:94

Space information for share creation on host devstack-trusty-rax-dfw-5041021@glusternfs1#GLUSTERFS (requested / avail): 1/19.0 host_passes /opt/stack/new/manila/manila/scheduler/filters/capacity_filter.py:78

Filter CapacityFilter returned 1 host(s) get_filtered_objects /opt/stack/new/manila/manila/openstack/common/scheduler/base_filter.py:94

extra_spec requirement '<is> True' does not match 'False' _satisfies_extra_specs /opt/stack/new/manila/manila/openstack/common/scheduler/filters/capabilities_filter.py:56

 host: 'devstack-trusty-rax-dfw-5041021@glusternfs1#GLUSTERFS', free_capacity_gb: 19, pools: None fails resource_type extra_specs requirements host_passes /opt/stack/new/manila/manila/openstack/common/scheduler/filters/capabilities_filter.py:69

Filter CapabilitiesFilter returned 0 host(s)
ERROR manila.scheduler.manager [req-23870b10-9280-40c2-bb02-5d03e7e7a4ef ] Failed to schedule create_share: No valid host was found. .

Ramana Raja (rraja)
description: updated
Ramana Raja (rraja)
Changed in devstack-plugin-glusterfs:
assignee: nobody → Ramana Raja (rraja)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack-plugin-glusterfs (master)

Reviewed: https://review.openstack.org/226312
Committed: https://git.openstack.org/cgit/stackforge/devstack-plugin-glusterfs/commit/?id=2bd73dd2b669d33e204e773114edc79e21993dfe
Submitter: Jenkins
Branch: master

commit 2bd73dd2b669d33e204e773114edc79e21993dfe
Author: Ramana Raja <email address hidden>
Date: Tue Sep 22 18:21:59 2015 +0530

    Manila: Fix share_type in glusterfs (NFS) CI

    During glusterfs (NFS) CI run, the extra spec "snapshot_support" used
    for the default share-type is set to "True" even though the CI tests
    the glusterfs backend with directory based share layout scheme that
    does not support snapshot. So set the extra_spec to False which would
    allow the Manila scheduler to pick up the glusterfs backend as a valid
    host.

    Change-Id: I7357417774cd16a2c114abd48a7bdb65a9eefc51
    Closes-Bug: #1498399

Changed in devstack-plugin-glusterfs:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.