← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1498656] Re: router's status is not in DOWN when setting its admin-state-up as false

 

For the reasons stated on the abandoned patch.

** Changed in: neutron
       Status: In Progress => Won't Fix

** Changed in: neutron
     Assignee: Kevin Benton (kevinbenton) => (unassigned)

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

Title:
  router's status is not in DOWN when setting its admin-state-up as
  false

Status in neutron:
  Won't Fix

Bug description:
  when updating the status of router's admin-state-up as false, its
  status is not in DOWN state. However, its namespace cannot be seen
  under 'sudo ip netns', but the status of that router is misleading.

  steps to reproduce:

  devstack@ubuntu:/opt/stack/neutron-vpnaas$ neutron router-show routerB
  +-----------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  | Field                 | Value                                                                                                                                                                                                                                                                      |
  +-----------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  | admin_state_up        | False                                                                                                                                                                                                                                                                      |
  | external_gateway_info | {"network_id": "d8996aff-7a44-452d-8e94-705d4983f3e0", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "9d39b49a-539d-493e-89cc-8efd7fc6e640", "ip_address": "172.24.4.4"}, {"subnet_id": "c966139b-8fcb-4c5f-b6dc-c1e43545dabc", "ip_address": "2001:db8::4"}]} |
  | id                    | e27f3a24-c8c4-4db1-ac0f-e35d56ebdeff                                                                                                                                                                                                                                       |
  | name                  | routerB                                                                                                                                                                                                                                                                    |
  | routes                |                                                                                                                                                                                                                                                                            |
  | status                | ACTIVE                                                                                                                                                                                                                                                                     |
  | tenant_id             | ac1ff23dbb2e41babc3a1d6f69c0de9c                                                                                                                                                                                                                                           |
  +-----------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  devstack@ubuntu:/opt/stack/neutron-vpnaas$
  devstack@ubuntu:/opt/stack/neutron-vpnaas$
  devstack@ubuntu:/opt/stack/neutron-vpnaas$
  devstack@ubuntu:/opt/stack/neutron-vpnaas$
  devstack@ubuntu:/opt/stack/neutron-vpnaas$
  devstack@ubuntu:/opt/stack/neutron-vpnaas$
  devstack@ubuntu:/opt/stack/neutron-vpnaas$
  devstack@ubuntu:/opt/stack/neutron-vpnaas$
  devstack@ubuntu:/opt/stack/neutron-vpnaas$ neutron router-show routerA
  +-----------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  | Field                 | Value                                                                                                                                                                                                                                                                      |
  +-----------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  | admin_state_up        | True                                                                                                                                                                                                                                                                       |
  | external_gateway_info | {"network_id": "d8996aff-7a44-452d-8e94-705d4983f3e0", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "9d39b49a-539d-493e-89cc-8efd7fc6e640", "ip_address": "172.24.4.3"}, {"subnet_id": "c966139b-8fcb-4c5f-b6dc-c1e43545dabc", "ip_address": "2001:db8::3"}]} |
  | id                    | cad55291-2558-4a0e-a9b3-cd4c41b6def3                                                                                                                                                                                                                                       |
  | name                  | routerA                                                                                                                                                                                                                                                                    |
  | routes                |                                                                                                                                                                                                                                                                            |
  | status                | ACTIVE                                                                                                                                                                                                                                                                     |
  | tenant_id             | ac1ff23dbb2e41babc3a1d6f69c0de9c                                                                                                                                                                                                                                           |
  +-----------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  devstack@ubuntu:/opt/stack/neutron-vpnaas$
  devstack@ubuntu:/opt/stack/neutron-vpnaas$
  devstack@ubuntu:/opt/stack/neutron-vpnaas$
  devstack@ubuntu:/opt/stack/neutron-vpnaas$ sudo ip netns
  qdhcp-fe468225-09e4-4ef1-93d8-0826d56709ec
  snat-cad55291-2558-4a0e-a9b3-cd4c41b6def3
  qrouter-cad55291-2558-4a0e-a9b3-cd4c41b6def3
  qdhcp-ff593a48-fcde-40ab-b485-a64f65dfd0a4
  snat-5f74737a-7dec-4796-b64e-7c3bb45dcec8
  qrouter-5f74737a-7dec-4796-b64e-7c3bb45dcec8
  qdhcp-6074411d-eeb2-4497-8746-fa1236a7ab1f
  devstack@ubuntu:/opt/stack/neutron-vpnaas$
  devstack@ubuntu:/opt/stack/neutron-vpnaas$
  devstack@ubuntu:/opt/stack/neutron-vpnaas$ neutron router-update --admin-state-up true routerB
  Updated router: routerB
  devstack@ubuntu:/opt/stack/neutron-vpnaas$
  devstack@ubuntu:/opt/stack/neutron-vpnaas$
  devstack@ubuntu:/opt/stack/neutron-vpnaas$
  devstack@ubuntu:/opt/stack/neutron-vpnaas$ neutron router-show routerB
  +-----------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  | Field                 | Value                                                                                                                                                                                                                                                                      |
  +-----------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  | admin_state_up        | True                                                                                                                                                                                                                                                                       |
  | external_gateway_info | {"network_id": "d8996aff-7a44-452d-8e94-705d4983f3e0", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "9d39b49a-539d-493e-89cc-8efd7fc6e640", "ip_address": "172.24.4.4"}, {"subnet_id": "c966139b-8fcb-4c5f-b6dc-c1e43545dabc", "ip_address": "2001:db8::4"}]} |
  | id                    | e27f3a24-c8c4-4db1-ac0f-e35d56ebdeff                                                                                                                                                                                                                                       |
  | name                  | routerB                                                                                                                                                                                                                                                                    |
  | routes                |                                                                                                                                                                                                                                                                            |
  | status                | ACTIVE                                                                                                                                                                                                                                                                     |
  | tenant_id             | ac1ff23dbb2e41babc3a1d6f69c0de9c                                                                                                                                                                                                                                           |
  +-----------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  devstack@ubuntu:/opt/stack/neutron-vpnaas$
  devstack@ubuntu:/opt/stack/neutron-vpnaas$
  devstack@ubuntu:/opt/stack/neutron-vpnaas$ sudo ip netns
  snat-e27f3a24-c8c4-4db1-ac0f-e35d56ebdeff
  qrouter-e27f3a24-c8c4-4db1-ac0f-e35d56ebdeff
  qdhcp-fe468225-09e4-4ef1-93d8-0826d56709ec
  snat-cad55291-2558-4a0e-a9b3-cd4c41b6def3
  qrouter-cad55291-2558-4a0e-a9b3-cd4c41b6def3
  qdhcp-ff593a48-fcde-40ab-b485-a64f65dfd0a4
  snat-5f74737a-7dec-4796-b64e-7c3bb45dcec8
  qrouter-5f74737a-7dec-4796-b64e-7c3bb45dcec8
  qdhcp-6074411d-eeb2-4497-8746-fa1236a7ab1f

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


References