nvp plugin rxtx_factor readonly update port

Bug #1202406 reported by Aaron Rosen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Aaron Rosen

Bug Description

The following change done in nova https://github.com/openstack/nova/commit/7de916f57f067c09d1a47024c3e6f4e471f725c4 started passing in rxtx_factor on update port rather just on create_port which we only wanted. Therefore when booting a vm and specifying --nic port-id it causes the following error in neutron to be raised and the vm fails to boot.

2013-07-17 14:47:57.909 13620 TRACE neutron.api.v2.resource Traceback (most recent call last):
2013-07-17 14:47:57.909 13620 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/api/v2/resource.py", line 82, in resource
2013-07-17 14:47:57.909 13620 TRACE neutron.api.v2.resource result = method(request=request, **args)
2013-07-17 14:47:57.909 13620 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/api/v2/base.py", line 457, in update
2013-07-17 14:47:57.909 13620 TRACE neutron.api.v2.resource allow_bulk=self._allow_bulk)
2013-07-17 14:47:57.909 13620 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/api/v2/base.py", line 572, in prepare_request_body
2013-07-17 14:47:57.909 13620 TRACE neutron.api.v2.resource raise webob.exc.HTTPBadRequest(msg)
2013-07-17 14:47:57.909 13620 TRACE neutron.api.v2.resource HTTPBadRequest: Cannot update read-only attribute rxtx_factor
2013-07-17 14:47:57.909 13620 TRACE neutron.api.v2.resource

Tags: nicira
Aaron Rosen (arosen)
Changed in neutron:
assignee: nobody → Aaron Rosen (arosen)
tags: added: nicira
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

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

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

Reviewed: https://review.openstack.org/37582
Committed: http://github.com/openstack/neutron/commit/7b69d98e196a98295048d311786b9f23586dc4fd
Submitter: Jenkins
Branch: master

commit 7b69d98e196a98295048d311786b9f23586dc4fd
Author: Aaron Rosen <email address hidden>
Date: Wed Jul 17 14:56:16 2013 -0700

    nvp plugin rxtx_factor readonly update port

    The following change done in nova 7de916 started passing in the
    rxtx_factor on update port rather than just on create_port which
    is what we only originally supported. Therefore currently when
    booting a vm and specifying --nic port-id it will fail to boot with:
    Cannot update read-only attribute rxtx_factor. This patch is a work
    around to allow the rxtx_factor value to be passed in on update port even
    though we ignore the value. Later we'll implement updating rxtx_factor on
    ports but this is a good work around for now.

    Fixes bug: 1202406

    Change-Id: Iedd488b7bdc9b1a1317000d249f03b0eafbea419

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