Router rules _get_subnet_connectivity cidr check throws exception

Bug #1490423 reported by Frode Nordahl
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Committed
Undecided
Frode Nordahl

Bug Description

The check for wether a cidr is affected by a rule in _get_subnet_connectivity are subject to fail and throw exception if any of the values it checks are None.

This currently breaks the Horizon gate/integration tests.

New version of the check proposed.

Frode Nordahl (fnordahl)
affects: ubuntu → horizon
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/218763

Changed in horizon:
assignee: nobody → Frode Nordahl (fnordahl)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Frode Nordahl (<email address hidden>) on branch: master
Review: https://review.openstack.org/218763
Reason: Don't fix someone elses code for fixing a gate test problem. New proposal that skips the test will be proposed.

Revision history for this message
Frode Nordahl (fnordahl) wrote :

Fix re-proposed to branch: master
Review: https://review.openstack.org/218763

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

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

commit 749aecda4c81f68eb1e4c0c9d10075135eb5ef81
Author: Frode Nordahl <email address hidden>
Date: Mon Aug 31 10:25:27 2015 +0200

    Fix usage of netaddr '.broadcast'

    netaddr 0.7.16 changed the behavior of IPNetworks with /31 and /32
    prefixes to make their 'broadcast' attribute return None. This patch
    replaces the use of the attribute with a -1 index lookup to get the
    last address instead.

    Revert Ida700555c133e27da2c76357986adfc8193fe89b and re-enables the
    test_routerrule_detail test.

    Change-Id: I0887b0112f97b537e4c1467c47ab78b1f94f238b
    Closes-Bug: 1490403
    Closes-Bug: 1490423

Changed in horizon:
status: In Progress → Fix Committed
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.