nova do not compain if 'my_ip' is wrong

Bug #1419002 reported by George Shuklin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Dan Smith

Bug Description

If my_ip in nova config do not exit on any interface of the compute host, nova-compute silently accepts it and failing cold migration.

Expected behaviour: error or warning if my_ip can not be found on any interface.

Nova version: 1:2014.2.1-0ubuntu1~cloud0

Changed in nova:
status: New → Confirmed
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/153906

Changed in nova:
assignee: nobody → Davanum Srinivas (DIMS) (dims-v)
status: Confirmed → In Progress
Changed in nova:
assignee: Davanum Srinivas (DIMS) (dims-v) → Dan Smith (danms)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/153906
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=b838ca28e0ffda21b298a4514a647fc74c154f4a
Submitter: Jenkins
Branch: master

commit b838ca28e0ffda21b298a4514a647fc74c154f4a
Author: Davanum Srinivas <email address hidden>
Date: Sun Feb 8 21:06:57 2015 -0500

    Log warning if CONF.my_ip is not found on system

    Explicitly check if CONF.my_ip is present in any of the network
    interfaces then log a warning to alert the operators.

    Code borrowed from swift:
    http://git.openstack.org/cgit/openstack/swift/tree/swift/common/utils.py#n1545

    Closes-Bug: #1419002
    Change-Id: I9db5a2f7c5395d1d34ab2eb6d169c62fc4753f73

Changed in nova:
status: In Progress → Fix Committed
Sean Dague (sdague)
Changed in nova:
importance: Undecided → Low
Thierry Carrez (ttx)
Changed in nova:
milestone: none → kilo-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: kilo-3 → 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.