← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1532083] [NEW] neutron L3 agent shows active state when admin state was made Down on the active master controller

 

Public bug reported:

Test case steps:  VRRP test case

Default mode : non preempt mode
1)create a VM and attach floatingip . 
2)make admin state down of the L3 agent .
3)Check for the status .

current status of controller is down (padawan-ccp-c1-m2-mgmt) and it did
not move back to standby state .

stack@padawan-ccp-c1-m1-mgmt:~$  neutron l3-agent-list-hosting-router testrouter
+--------------------------------------+------------------------+----------------+-------+----------+
| id                                   | host                   | admin_state_up | alive | ha_state |
+--------------------------------------+------------------------+----------------+-------+----------+
| 667aff49-e369-4a94-b404-06a43c9f64b6 | padawan-ccp-c1-m1-mgmt | True           | :-)   | active   |
| dc69a0b1-6ff4-4b95-9a6f-62e80eb1dde4 | padawan-ccp-c1-m2-mgmt | False          | :-)   | active   |
| d05a13d5-402b-4b71-8309-005ffe98066f | padawan-ccp-c1-m3-mgmt | True           | :-)   | standby  |
+--------------------------------------+------------------------+----------------+-------+----------+
stack@padawan-ccp-c1-m1-mgmt:~$  neutron agent-update  dc69a0b1-6ff4-4b95-9a6f-62e80eb1dde4 --admin-state-up
Updated agent: dc69a0b1-6ff4-4b95-9a6f-62e80eb1dde4
stack@padawan-ccp-c1-m1-mgmt:~$  neutron l3-agent-list-hosting-router testrouter
+--------------------------------------+------------------------+----------------+-------+----------+
| id                                   | host                   | admin_state_up | alive | ha_state |
+--------------------------------------+------------------------+----------------+-------+----------+
| 667aff49-e369-4a94-b404-06a43c9f64b6 | padawan-ccp-c1-m1-mgmt | True           | :-)   | active   |
| dc69a0b1-6ff4-4b95-9a6f-62e80eb1dde4 | padawan-ccp-c1-m2-mgmt | True           | :-)   | active   |
| d05a13d5-402b-4b71-8309-005ffe98066f | padawan-ccp-c1-m3-mgmt | True           | :-)   | standby  |

** Affects: neutron
     Importance: Undecided
         Status: New

** Summary changed:

- neutron L3 agent show active when admin state was made Down on the active master controller
+ neutron L3 agent shows active state when admin state was made Down on the active master controller

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

Title:
  neutron L3 agent shows active state when admin state was made Down on
  the active master controller

Status in neutron:
  New

Bug description:
  Test case steps:  VRRP test case

  Default mode : non preempt mode
  1)create a VM and attach floatingip . 
  2)make admin state down of the L3 agent .
  3)Check for the status .

  current status of controller is down (padawan-ccp-c1-m2-mgmt) and it
  did not move back to standby state .

  stack@padawan-ccp-c1-m1-mgmt:~$  neutron l3-agent-list-hosting-router testrouter
  +--------------------------------------+------------------------+----------------+-------+----------+
  | id                                   | host                   | admin_state_up | alive | ha_state |
  +--------------------------------------+------------------------+----------------+-------+----------+
  | 667aff49-e369-4a94-b404-06a43c9f64b6 | padawan-ccp-c1-m1-mgmt | True           | :-)   | active   |
  | dc69a0b1-6ff4-4b95-9a6f-62e80eb1dde4 | padawan-ccp-c1-m2-mgmt | False          | :-)   | active   |
  | d05a13d5-402b-4b71-8309-005ffe98066f | padawan-ccp-c1-m3-mgmt | True           | :-)   | standby  |
  +--------------------------------------+------------------------+----------------+-------+----------+
  stack@padawan-ccp-c1-m1-mgmt:~$  neutron agent-update  dc69a0b1-6ff4-4b95-9a6f-62e80eb1dde4 --admin-state-up
  Updated agent: dc69a0b1-6ff4-4b95-9a6f-62e80eb1dde4
  stack@padawan-ccp-c1-m1-mgmt:~$  neutron l3-agent-list-hosting-router testrouter
  +--------------------------------------+------------------------+----------------+-------+----------+
  | id                                   | host                   | admin_state_up | alive | ha_state |
  +--------------------------------------+------------------------+----------------+-------+----------+
  | 667aff49-e369-4a94-b404-06a43c9f64b6 | padawan-ccp-c1-m1-mgmt | True           | :-)   | active   |
  | dc69a0b1-6ff4-4b95-9a6f-62e80eb1dde4 | padawan-ccp-c1-m2-mgmt | True           | :-)   | active   |
  | d05a13d5-402b-4b71-8309-005ffe98066f | padawan-ccp-c1-m3-mgmt | True           | :-)   | standby  |

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


Follow ups