← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1780094] [NEW] The transition of a router from distributed to centralized may mistakenly get HA enabled

 

Public bug reported:

The transition of a router's 'distributed' attribute from True to False
may mistakenly get its 'ha' attribute updated at the same time. The
side-effect is that the router may become HA enabled unexpectedly, which
does not respect the user's request.

Steps to reproduce:
1. neutron router-create test
2. neutron router-show test  # HA=false
3. neutron router-update test --admin_state_up false
4. neutron router-update test --distributed true
5. neutron router-update test --admin_state_up true
6. neutron router-show test  # HA=false => expected
7. neutron router-update test --admin_state_up false
8. neutron router-update test --distributed false
9. neutron router-update test --admin_state_up true
10. neutron router-show test  # HA=true => unexpected

For further detailed information, please kindly refer to the failed CLI
log attached.

** Affects: neutron
     Importance: Undecided
     Assignee: Kailun Qin (kailun.qin)
         Status: New

** Attachment added: "Failed CLI log"
   https://bugs.launchpad.net/bugs/1780094/+attachment/5159644/+files/failed_cli_log.txt

** Changed in: neutron
     Assignee: (unassigned) => Kailun Qin (kailun.qin)

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

Title:
  The transition of a router from distributed to centralized may
  mistakenly get HA enabled

Status in neutron:
  New

Bug description:
  The transition of a router's 'distributed' attribute from True to
  False may mistakenly get its 'ha' attribute updated at the same time.
  The side-effect is that the router may become HA enabled unexpectedly,
  which does not respect the user's request.

  Steps to reproduce:
  1. neutron router-create test
  2. neutron router-show test  # HA=false
  3. neutron router-update test --admin_state_up false
  4. neutron router-update test --distributed true
  5. neutron router-update test --admin_state_up true
  6. neutron router-show test  # HA=false => expected
  7. neutron router-update test --admin_state_up false
  8. neutron router-update test --distributed false
  9. neutron router-update test --admin_state_up true
  10. neutron router-show test  # HA=true => unexpected

  For further detailed information, please kindly refer to the failed
  CLI log attached.

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


Follow ups