Bad parameter to ConfigFilesNotFoundError

Bug #1236176 reported by Arata Notsu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Arata Notsu

Bug Description

In nova/cells/state.py, ConfigFilesNotFoundError created as below:

    raise cfg.ConfigFilesNotFoundError(path=config_path)

However ConfigFilesNotFoundError.__init__() is defined as below:

    def __init__(self, config_files):
        self.config_files = config_files

So it fails.

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :
Changed in nova:
status: New → In Progress
Revision history for this message
Mark McLoughlin (markmc) wrote :
tags: added: havana-backport-potential
Changed in nova:
importance: Undecided → Medium
assignee: nobody → Arata Notsu (arata776)
Mark McLoughlin (markmc)
tags: added: havana-rc-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/49991
Committed: http://github.com/openstack/nova/commit/84b02ca1d54fd058c68345068832e84d2f80b9a5
Submitter: Jenkins
Branch: master

commit 84b02ca1d54fd058c68345068832e84d2f80b9a5
Author: Arata Notsu <email address hidden>
Date: Tue Oct 8 13:18:04 2013 +0900

    Correct use of ConfigFilesNotFoundError

    ConfigFilesNotFoundError.__init__() takes "config_files", not
    "path". And pass the config value itself rather than the result
    of find_file(), which is always None.

    Change-Id: Ia5285d252d5636892c4fbeb9191a6c7ed4923b78
    Closes-Bug: 1236176

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → havana-rc2
tags: removed: havana-backport-potential havana-rc-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (milestone-proposed)

Fix proposed to branch: milestone-proposed
Review: https://review.openstack.org/50939

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (milestone-proposed)

Reviewed: https://review.openstack.org/50939
Committed: http://github.com/openstack/nova/commit/d120cedb4e5b9ab055e0f47562eb461e0805daba
Submitter: Jenkins
Branch: milestone-proposed

commit d120cedb4e5b9ab055e0f47562eb461e0805daba
Author: Arata Notsu <email address hidden>
Date: Tue Oct 8 13:18:04 2013 +0900

    Correct use of ConfigFilesNotFoundError

    ConfigFilesNotFoundError.__init__() takes "config_files", not
    "path". And pass the config value itself rather than the result
    of find_file(), which is always None.

    Change-Id: Ia5285d252d5636892c4fbeb9191a6c7ed4923b78
    Closes-Bug: 1236176
    (cherry picked from commit 84b02ca1d54fd058c68345068832e84d2f80b9a5)

Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-rc2 → 2013.2
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.