neutron l3 agent doesnt migrate correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
High
|
Stanislav Makar | ||
5.1.x |
Invalid
|
High
|
Stanislav Makar | ||
6.0.x |
Invalid
|
High
|
Stanislav Makar |
Bug Description
I found it on release 5.1 ISO + patch fuel-5.
1. Create new environment (CentOS, HA mode)
2. Choose VLAN neutron
3. Add 3 controllers, 1 compute
4. Start deployment. It was succeessful
5. Create instance for admin tennant
6. Pause(suspend) primary controller
7. Waiting some time
8. p_neutron-l3-agent migrated to third controller
9. Resume primary controller
10. l3-agent migrate to primary node but namespaces is not created
neutron agent-list
+------
| id | agent_type | host | alive | admin_state_up |
+------
| 230bb3ea-
| 3501b3a0-
| 41722b78-
| 5de585e0-
| 7544292b-
| 8ab79c73-
| 985644a8-
| 9b2172f7-
| c7b859bd-
| d0bbf0ef-
| efaa9f45-
+------
As we see, we have here two active l3 agents
what is the root cause of this.
reshescheduling works, logs:
2014-10-09 09:38:53,738 - INFO - Started: /usr/bin/
2014-10-09 09:38:54,142 - INFO - found alive L3 agent: 8ab79c73-
2014-10-09 09:38:54,142 - INFO - found alive L3 agent: 985644a8-
2014-10-09 09:38:54,176 - INFO - _reschedule_
2014-10-09 09:38:54,176 - INFO - _reschedule_
tags: | added: fuel-lib-neutron |
tags: | added: to-be-covered-by-tests |
tags: |
added: neutron removed: fuel-lib-neutron |
after some time ( ~20-30min) - we have only one l3 agent but namespaces is not presented on new node (primiry)
neutron agent-list ------- ------- ------- ------- ----+-- ------- ------- ----+-- ------- ------- ------- ---+--- ----+-- ------- ------- + ------- ------- ------- ------- ----+-- ------- ------- ----+-- ------- ------- ------- ---+--- ----+-- ------- ------- + 08fa-446f- b42f-056f072796 60 | Open vSwitch agent | node-5. test.domain. local | :-) | True | d0a2-41d5- 82ea-4b6f2aa1da 69 | Metadata agent | node-1. test.domain. local | :-) | True | d62c-4a43- bc19-96da19379e 92 | Open vSwitch agent | node-3. test.domain. local | :-) | True | 8078-4412- 8cfd-22e3c8a584 fd | Metadata agent | node-2. test.domain. local | :-) | True | d8fb-4b03- 96f4-c205dd02ca f7 | Metadata agent | node-5. test.domain. local | :-) | True | 4711-4e70- a9bc-e9d576c38c c9 | L3 agent | node-5. test.domain. local | xxx | True | c766-40a9- bc1f-b6fda82819 53 | L3 agent | node-1. test.domain. local | :-) | True | 2d60-41a0- 8b9c-58e67e7545 6c | DHCP agent | node-2. test.domain. local | :-) | True | 53e2-4498- aa07-04b49c99eb cf | Open vSwitch agent | node-2. test.domain. local | :-) | True | a489-4460- 96f0-0a1fd23e90 f1 | Open vSwitch agent | node-4. test.domain. local | :-) | True | ecd1-4047- 9d0f-9723e83c52 6e | Open vSwitch agent | node-1. test.domain. local | :-) | True | ------- ------- ------- ------- ----+-- ------- ------- ----+-- ------- ------- ------- ---+--- ----+-- ------- ------- +
+------
| id | agent_type | host | alive | admin_state_up |
+------
| 230bb3ea-
| 3501b3a0-
| 41722b78-
| 5de585e0-
| 7544292b-
| 8ab79c73-
| 985644a8-
| 9b2172f7-
| c7b859bd-
| d0bbf0ef-
| efaa9f45-
+------