When nova-network raises NoMoreFixedIps a stacktrace is thrown

Bug #1218572 reported by Joe Gordon
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Pawel Koniszewski

Bug Description

See: http://logs.openstack.org/79/43779/6/experimental/gate-tempest-devstack-vm-large-ops/70a54ba/logs/screen-n-net.txt.gz#_2013-08-29_19_16_21_717

Since this is an expected error, it should not be stacktracing, only logging a warning/error

melanie witt (melwitt)
tags: added: network
tags: added: low-hanging-fruit
Changed in nova:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Wei Wang (damon-devops) wrote :

The function allocate_fixed_ip() in network/manager.py should be fixed.

Changed in nova:
assignee: nobody → Wei Wang (damon-devops)
Wei Wang (damon-devops)
Changed in nova:
status: Confirmed → In Progress
Mohammed Naser (mnaser)
Changed in nova:
assignee: Wei Wang (damon-devops) → Mohammed Naser (mnaser)
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/92732

Revision history for this message
Pawel Koniszewski (pawel-koniszewski) wrote :

Hey Mohammed, any update on this?

Changed in nova:
assignee: Mohammed Naser (mnaser) → Pawel Koniszewski (pawel-koniszewski)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

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

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

commit ab91f3be20756c046f90ce24a3d26f74c4333b97
Author: Pawel Koniszewski <email address hidden>
Date: Thu Jul 31 05:32:35 2014 -0400

    Improved error logging in nova-network for allocate_fixed_ip()

    When a Nova deployment runs out of fixed IP addresses, allocating
    another IP ends with stack trace without clear explanation.
    To prevent such behavior this patch introduces few try-except blocks
    that writes appropriate error message to the log file and return
    better error code via API instead of stack trace.

    Change-Id: I8111ae883719ad693113e1d3bfedc8685427c55f
    Closes-Bug: #1218572

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → juno-3
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by Mohammed Naser (<email address hidden>) on branch: master
Review: https://review.openstack.org/92732
Reason: Already done.

Thierry Carrez (ttx)
Changed in nova:
milestone: juno-3 → 2014.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.