Cisco N1kv: Sub type validation for Trunk network profile fails

Bug #1315197 reported by Abhishek Raut
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Abhishek Raut
Icehouse
Fix Released
Undecided
Unassigned

Bug Description

Create a network profile of type Trunk. It requires the sub type field. If no sub type is specified, validation logic should raise an exception and notify the user of missing sub type field. Currently the validation fails to raise an exception and instead reports an internal server error.

Abhishek Raut (abhraut)
Changed in neutron:
assignee: nobody → Abhishek Raut (abhraut)
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to neutron (master)

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

Changed in neutron:
status: New → In Progress
Changed in neutron:
milestone: none → juno-1
importance: Undecided → Medium
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/91716
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=1dd0bdc06dedf0f577d220f4c1a1f9f43f04a0fe
Submitter: Jenkins
Branch: master

commit 1dd0bdc06dedf0f577d220f4c1a1f9f43f04a0fe
Author: Abhishek Raut <email address hidden>
Date: Thu May 1 18:16:33 2014 -0700

    Fix network profile subtype validation in N1kv plugin

    Network profile of type Trunk expects a subtype field for
    creation. If a subtype is missing in the request body, plugin
    should raise an exception. This patch fixes the validation logic
    to detect missing subtype field.

    Change-Id: I6b4fb533576a317f7d568b4a0fe4117b5464ffa6
    Closes-Bug: 1315197

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/99865

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/icehouse)

Reviewed: https://review.openstack.org/99865
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=86e4b80b874b6b51219c939676e7349619c4b4f7
Submitter: Jenkins
Branch: stable/icehouse

commit 86e4b80b874b6b51219c939676e7349619c4b4f7
Author: Abhishek Raut <email address hidden>
Date: Thu May 1 18:16:33 2014 -0700

    Fix network profile subtype validation in N1kv plugin

    Network profile of type Trunk expects a subtype field for
    creation. If a subtype is missing in the request body, plugin
    should raise an exception. This patch fixes the validation logic
    to detect missing subtype field.

    Change-Id: I6b4fb533576a317f7d568b4a0fe4117b5464ffa6
    Closes-Bug: 1315197
    (cherry picked from commit 1dd0bdc06dedf0f577d220f4c1a1f9f43f04a0fe)

tags: added: in-stable-icehouse
Thierry Carrez (ttx)
Changed in neutron:
milestone: juno-1 → 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.