variable _host_state is initialized twice in __init__ method of libvirt driver

Bug #1214431 reported by Rohit Karajgi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Abhijeet Malawade

Bug Description

On nova commit 2ca20889583123624b6ca1c2e38114aa0033ebf1
Refer
https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L309
and
https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L329

The variable _host_state has been initialized twice. Second occurrence should be removed.

Changed in nova:
assignee: nobody → Abhijeet Malawade (abhijeet-malawade)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/42916

Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/42916
Committed: http://github.com/openstack/nova/commit/7399a26a54c156169b071eeffc4c16030962d9ac
Submitter: Jenkins
Branch: master

commit 7399a26a54c156169b071eeffc4c16030962d9ac
Author: Abhijeet Malawade <email address hidden>
Date: Tue Aug 20 07:53:14 2013 -0700

    Remove duplicate variable _host_state

    * The variable _host_state is initialized twice in __init__() method of libvirt driver.
    This patch removes the second occurrence.

    Fixes bug #1214431

    Change-Id: I13f175abcbce7752afb0d8c69ee209928afa1eb3

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