nova compute log incorrect message when enable/disable host

Bug #1251822 reported by Guangya Liu (Jay Lau)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Guangya Liu (Jay Lau)

Bug Description

 nova host-update --status enable liugya-ubuntu
DEBUG nova.virt.libvirt.driver [req-e4a1d1cc-9799-4748-b065-6bb938126134 None None] Updating compute service status to: disabled from (pid=21833) set_host_enabled /opt/stack/nova/nova/virt/libvirt/driver.py:2628 << This should be "updating to enabled"

 nova host-update --status disable liugya-ubuntu
DEBUG nova.virt.libvirt.driver [req-90b2cb09-e995-4676-8a1e-7774bb8a0f12 admin admin] Updating compute service status to: enabled from (pid=21833) set_host_enabled /opt/stack/nova/nova/virt/libvirt/driver.py:2628 << This should be "updating to disabled"

Changed in nova:
assignee: nobody → Jay Lau (jay-lau-513)
Changed in nova:
importance: Undecided → Low
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/56753

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/56753
Committed: http://github.com/openstack/nova/commit/65ae11285fc2e3e11d5d07ad1e253f1a4f8ebccf
Submitter: Jenkins
Branch: master

commit 65ae11285fc2e3e11d5d07ad1e253f1a4f8ebccf
Author: Jay Lau <email address hidden>
Date: Fri Nov 22 12:14:40 2013 +0800

    libvirt: Fix log message when disable/enable a host

    When disable/enable a host, the log message is not correct. As
    nova compute will log message saying the host was disabled when
    enable a host and log message saying the host was enabled when
    disable a host.

    We should do as this:
    update to disable -> log message should be the host was disabled
    update to enable -> log message should be the host was enabled

    Change-Id: I394e92fe6fe5ffa06464f1ba93e9fc2acec942ef
    Closes-Bug: #1251822

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