← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1628385] Re: neutron router-port-list does not include the gateway's port

 

[Expired for neutron because there has been no activity for 60 days.]

** Changed in: neutron
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1628385

Title:
  neutron router-port-list does not include the gateway's port

Status in neutron:
  Expired

Bug description:
  step:
  1) router 6995ab23-7ccb-4249-8540-48b1e9f6c75c is created by demo user
  2) set gateway for router 6995ab23-7ccb-4249-8540-48b1e9f6c75c


  [root@controller ~]# source demo-openrc.sh 
  [root@controller ~]# neutron router-port-list 6995ab23-7ccb-4249-8540-48b1e9f6c75c

  Here, for demo user, router-port-list doesn't show the gateway's port.


  
  [root@controller ~]# source admin-openrc.sh 
  [root@controller ~]# neutron router-port-list 6995ab23-7ccb-4249-8540-48b1e9f6c75c
  +--------------------------------------+------+-------------------+---------------------------------------------------------------------------------+
  | id                                   | name | mac_address       | fixed_ips                                                                       |
  +--------------------------------------+------+-------------------+---------------------------------------------------------------------------------+
  | 161f88b4-cea0-40b1-9b1b-d1ef1882573c |      | fa:16:3e:ac:23:75 | {"subnet_id": "d25b451f-9c29-4690-8531-21c6aeb85898", "ip_address": "10.0.0.4"} |
  +--------------------------------------+------+-------------------+---------------------------------------------------------------------------------+
  [root@controller ~]# 
  [root@controller ~]# neutron port-show 161f88b4-cea0-40b1-9b1b-d1ef1882573c
  +-----------------------+--------------------------------------------------------------------------------------------------+
  | Field                 | Value                                                                                            |
  +-----------------------+--------------------------------------------------------------------------------------------------+
  | admin_state_up        | True                                                                                             |
  | allowed_address_pairs |                                                                                                  |
  | binding:host_id       | controller                                                                                       |
  | binding:profile       | {}                                                                                               |
  | binding:vif_details   | {"port_filter": true}                                                                            |
  | binding:vif_type      | bridge                                                                                           |
  | binding:vnic_type     | normal                                                                                           |
  | device_id             | 6995ab23-7ccb-4249-8540-48b1e9f6c75c                                                             |
  | device_owner          | network:router_gateway                                                                           |
  | dns_assignment        | {"hostname": "host-10-0-0-4", "ip_address": "10.0.0.4", "fqdn": "host-10-0-0-4.openstacklocal."} |
  | dns_name              |                                                                                                  |
  | extra_dhcp_opts       |                                                                                                  |
  | fixed_ips             | {"subnet_id": "d25b451f-9c29-4690-8531-21c6aeb85898", "ip_address": "10.0.0.4"}                  |
  | id                    | 161f88b4-cea0-40b1-9b1b-d1ef1882573c                                                             |
  | mac_address           | fa:16:3e:ac:23:75                                                                                |
  | name                  |                                                                                                  |
  | network_id            | 3fe46ca1-f87f-495d-bc12-c1c47f2393b1                                                             |
  | port_security_enabled | False                                                                                            |
  | security_groups       |                                                                                                  |
  | status                | ACTIVE                                                                                           |
  | tenant_id             |                                                                                                  |
  +-----------------------+--------------------------------------------------------------------------------------------------+
  [root@controller ~]# 

  Here, admin user can get the gateway's port by router, and the
  tenant_id field in port is NULL.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1628385/+subscriptions


References