port creation failing when using subnet which don't have gateway ip

Bug #1478939 reported by Masco
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Undecided
Masco

Bug Description

when creating a port/interface from a router we have to provide a subnet.
if we selecting a subnet which don't have gateway ip the creation call is failing.

procedure to reproduce:
1. create a subnet without gateway ip (select no gateway option)
2. go to one router and click create interface
3. select a subnet which created at step 1

you will get an error message.

solution proposed:
we have to remove the subnet which don't have gateway ip from the options list

Masco (masco)
Changed in horizon:
assignee: nobody → Masco Kaliyamoorthy (masco)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

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

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

Reviewed: https://review.openstack.org/206524
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=ce65691bfc876400025eb8ba2ae18f8ff96e18f6
Submitter: Jenkins
Branch: master

commit ce65691bfc876400025eb8ba2ae18f8ff96e18f6
Author: Masco Kaliyamoorthy <email address hidden>
Date: Tue Jul 28 18:13:33 2015 +0530

    exclude subnets without gateway in create interface

    In create interface form, if we select the subnet which
    don't have gateway ip, the create will fail.

    we can remove the subnets which don't have gateway ip
    from the sebnet options to prevent the unnecessary
    server call.

    Change-Id: I75cec674516b07e141d74729b545e3d2cadee82d
    Closes-Bug: #1478939

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/283027

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/horizon 9.0.0.0b3

This issue was fixed in the openstack/horizon 9.0.0.0b3 development milestone.

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

Reviewed: https://review.openstack.org/283027
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=97994ae519c2fd0ba86d601d341e2c73754588d4
Submitter: Jenkins
Branch: stable/liberty

commit 97994ae519c2fd0ba86d601d341e2c73754588d4
Author: Masco Kaliyamoorthy <email address hidden>
Date: Tue Jul 28 18:13:33 2015 +0530

    exclude subnets without gateway in create interface

    In create interface form, if we select the subnet which
    don't have gateway ip, the create will fail.

    we can remove the subnets which don't have gateway ip
    from the sebnet options to prevent the unnecessary
    server call.

    Change-Id: I75cec674516b07e141d74729b545e3d2cadee82d
    Closes-Bug: #1478939
    (cherry picked from commit ce65691bfc876400025eb8ba2ae18f8ff96e18f6)

tags: added: in-stable-liberty
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 8.0.2

This issue was fixed in the openstack/horizon 8.0.2 release.

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.