booting vms via --nic port-id=<> regression

Bug #1160560 reported by Aaron Rosen
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Dan Smith

Bug Description

nova boot --nic port-id=<.> doesn't seem to work anymore. It looks like this might be the commit that broke it: 394c693e

tags: added: grizzly-rc-potential
Revision history for this message
Aaron Rosen (arosen) wrote :

What I mean by doesn't work is that if you do:
nova boot --image cirros-0.3.1-x86_64-uec --flavor 1 --nic port-id=a2183706-63c0-4468-8194-8fe4ce064558 vm1

when you login to that vm there is no eth0 interface only the loop back. If you look at the running kvm process it dosen't have
the -netdev tap option running with the process either.

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/25563

Changed in nova:
assignee: nobody → Dan Smith (danms)
status: New → In Progress
Dan Smith (danms)
Changed in nova:
milestone: none → grizzly-rc2
importance: Undecided → High
Thierry Carrez (ttx)
tags: removed: grizzly-rc-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/25563
Committed: http://github.com/openstack/nova/commit/57689f26f37fe3de33a666a2d7d0731eae9c7ea9
Submitter: Jenkins
Branch: master

commit 57689f26f37fe3de33a666a2d7d0731eae9c7ea9
Author: Dan Smith <email address hidden>
Date: Wed Mar 27 14:45:06 2013 -0700

    Fix quantum nic allocation when only portid is specified

    A simple omission at the end of allocate_for_instance() was preventing
    the function from returning information about the newly-allocated port
    if one was not actually allocated from a network (i.e. if it was
    provided as input). This fixes that and adds a test which would have
    caught it.

    Fixes bug 1160560

    Change-Id: Ib0d7d91acfe5bd684cdfc072fe47c8115c2f91b3

Changed in nova:
status: In Progress → Fix Committed
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/25615

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

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

commit 5b0917a3eea418c883561414c5491ffdedab9428
Author: Dan Smith <email address hidden>
Date: Wed Mar 27 14:45:06 2013 -0700

    Fix quantum nic allocation when only portid is specified

    A simple omission at the end of allocate_for_instance() was preventing
    the function from returning information about the newly-allocated port
    if one was not actually allocated from a network (i.e. if it was
    provided as input). This fixes that and adds a test which would have
    caught it.

    Fixes bug 1160560

    (cherry-picked from 57689f26f37fe3de33a666a2d7d0731eae9c7ea9)

    Change-Id: Ib0d7d91acfe5bd684cdfc072fe47c8115c2f91b3

Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: grizzly-rc2 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.