Router port status is not reported back (port status is always DOWN)

Bug #1452274 reported by Gal Sagie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DragonFlow
Fix Released
High
Omer Anson

Bug Description

L3 plugin need to report back router port status in order to change it from
DOWN to UP

Currently port is always set to DOWN

Revision history for this message
Eran Gampel (eran-gampel) wrote :
Download full text (5.7 KiB)

I can not reproduce this on my setup all the router ports are up
root@eranstack:/opt/stack/devstack# neutron port-list
+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+
| id | name | mac_address | fixed_ips |
+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+
| 46820abd-56fa-4d55-a496-1e03d14ccda1 | | fa:16:3e:b5:b4:d0 | {"subnet_id": "0ae3e1a6-9020-4324-8889-d26832d4e0c6", "ip_address": "192.168.100.3"} |
| 565b489b-021b-468d-8bc0-a99e8e8a1438 | | fa:16:3e:0b:12:76 | {"subnet_id": "6c014440-51ab-4a49-a830-3a7b354a67fb", "ip_address": "192.168.1.1"} |
| 81ddc9c2-585c-450a-9fbc-ce1951fd71a4 | | fa:16:3e:11:23:23 | {"subnet_id": "0ae3e1a6-9020-4324-8889-d26832d4e0c6", "ip_address": "192.168.100.2"} |
| c4d64067-0d75-427a-b50a-2aaf633c6786 | | fa:16:3e:f9:1c:67 | {"subnet_id": "6c014440-51ab-4a49-a830-3a7b354a67fb", "ip_address": "192.168.1.3"} |
| cdc39fb9-4be1-481a-a0e5-5f2936b1d78c | | fa:16:3e:86:94:5c | {"subnet_id": "0ae3e1a6-9020-4324-8889-d26832d4e0c6", "ip_address": "192.168.100.1"} |
| e23b5361-87a4-46f9-997b-f735f7234ac9 | | fa:16:3e:dc:9e:31 | {"subnet_id": "6c014440-51ab-4a49-a830-3a7b354a67fb", "ip_address": "192.168.1.2"} |
+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+
root@eranstack:/opt/stack/devstack# neutron port-show 565b489b-021b-468d-8bc0-a99e8e8a1438
+-----------------------+------------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+------------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | |
| binding:vnic_type | normal |
| device_id | 857892a8-5c7a-4f58-be02-c2598fd570ce |
| device_owner | network:router_interface |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "6c014440-51ab-4a49-a830-3a7b354a67fb", "ip_address": "192.168.1.1"} |
| id | 565b489b-021b-468d-8bc0-a99e8e8a1438 |
| mac_address | fa:16:3e:0b:12:76 |
| name | ...

Read more...

Changed in dragonflow:
status: New → Fix Committed
importance: Undecided → High
Changed in dragonflow:
status: Fix Committed → Confirmed
Changed in dragonflow:
status: Confirmed → Fix Committed
Omer Anson (omer-anson)
Changed in dragonflow:
status: Fix Committed → Fix Released
Revision history for this message
Omer Anson (omer-anson) wrote :

Also true for DHCP ports

Changed in dragonflow:
status: Fix Released → Confirmed
Omer Anson (omer-anson)
Changed in dragonflow:
assignee: nobody → Omer Anson (omer-anson)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to dragonflow (master)

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

Changed in dragonflow:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

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

Reviewed: https://review.openstack.org/530115
Committed: https://git.openstack.org/cgit/openstack/dragonflow/commit/?id=746e80df55d52c0f43f47551cde4696afc37bc6f
Submitter: Zuul
Branch: master

commit 746e80df55d52c0f43f47551cde4696afc37bc6f
Author: Omer Anson <email address hidden>
Date: Tue Dec 26 17:31:41 2017 +0200

    Set DHCP port status to up automatically

    In Dragonflow, the DHCP port is virtual, i.e. it does not really exist.
    Therefore, no wiring is needed for it. Therefore, its status can be
    automatically set to up.

    Change-Id: Iba3f8a898e057ad9d1603f904731ec9582058259
    Partial-Bug: #1452274

Changed in dragonflow:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/530118
Committed: https://git.openstack.org/cgit/openstack/dragonflow/commit/?id=d0046a0380a9a8cc0d7d4e78574b8a721bb5c5bf
Submitter: Zuul
Branch: master

commit d0046a0380a9a8cc0d7d4e78574b8a721bb5c5bf
Author: Omer Anson <email address hidden>
Date: Tue Dec 26 17:46:16 2017 +0200

    Automaticall set router interface port status to active

    In Dragonflow, the router interface port is virtual, i.e. it does not really
    exist. Therefore, no wiring is needed for it. Therefore, its status can
    be automatically set to active.

    Change-Id: Id0e40752f0b8439ca9609b8fe7236ce2153cd5a8
    Closes-Bug: #1452274

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.