[Icehouse] ironic.nova.scheduler.filters lacks __init__.py in release archive

Bug #1357878 reported by Eric Xie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
High
Lucas Alvares Gomes

Bug Description

Baremetal instance boot failed.
The fault shown by CLI nova show:
| fault | {"message": "Scheduler Host Filter ExactRamFilter, ExactDiskFilter, ExactCoreFilter could not be found.", "code": 404, "created": "2014-08-14T07:11:26Z"} |
Check the ironic.nova.scheduler.filters. And there isn't __init__.py. So it cannot imported.

ironic version: ironic-2014.1.tar.gz

Revision history for this message
Haomeng,Wang (whaom) wrote :

Can you run devstack to install latest Ironic code and have a try?

Revision history for this message
Eric Xie (mark-xiett) wrote :

__init__.py has already in the source tree of latest ironic code. Would icehouse release version be not patched?

Dmitry Tantsur (divius)
Changed in ironic:
status: New → Confirmed
Dmitry Tantsur (divius)
Changed in ironic:
importance: Undecided → High
summary: - Scheduler Host Filter ExactRamFilter, ExactDiskFilter, ExactCoreFilter
- could not be found
+ [Icehouse] ironic.nova.scheduler.filters lacks __init__.py in release
+ archive
Changed in ironic:
assignee: nobody → Lucas Alvares Gomes (lucasagomes)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/122453

Ruby Loo (rloo)
Changed in ironic:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (stable/icehouse)

Reviewed: https://review.openstack.org/122453
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=9cbcfad521c30aea337a95777eec021b373b72fa
Submitter: Jenkins
Branch: stable/icehouse

commit 9cbcfad521c30aea337a95777eec021b373b72fa
Author: Chris Behrens <email address hidden>
Date: Fri May 30 12:39:19 2014 -0700

    Add __init__.py for nova scheduler filters

    To use these filters out of tree right now, you have to specify them in
    nova's available_scheduler filters by full path. But in order for the
    modules to be found and loaded, you must have an __init__.py.

    Closes-Bug: #1357878
    Change-Id: I4816d9dbe0e93056792fad48e6228ffdd531e346
    (cherry picked from commit 87aac8823b468a7bb80c994cd207ec5df66163c5)

tags: added: in-stable-icehouse
Changed in ironic:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ironic:
milestone: none → kilo-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ironic:
milestone: kilo-2 → 2015.1.0
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.