| Summary: | Failure to create Distributed and L3_HA Neutron router on Mitaka Milestone 3 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Community] RDO | Reporter: | Boris Derzhavets <bderzhavets> | ||||
| Component: | openstack-neutron | Assignee: | lpeer <lpeer> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Ofer Blaut <oblaut> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | trunk | CC: | chrisw, nyechiel, yeylon | ||||
| Target Milestone: | --- | ||||||
| Target Release: | Kilo | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-04-11 07:26:15 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Boris Derzhavets
2016-03-09 15:32:09 UTC
Before attempt to create router on both nodes # systemctl start keepalived # systemctl enable keepalived Per https://bugs.launchpad.net/neutron/+bug/1365473 should packaged in Mitaka M3 On Compute Node should be agent_mode=dvr_snat in l3_agent.ini Then [root@ip-192-169-142-127 ~(keystone_admin)]# neutron router-create --distributed True --ha True --tenant-id c0a3e61a3147419f8f5ceb9308395454 RouterDSA Created a new router: +-------------------------+--------------------------------------+ | Field | Value | +-------------------------+--------------------------------------+ | admin_state_up | True | | availability_zone_hints | | | availability_zones | | | distributed | True | | external_gateway_info | | | ha | True | | id | 906c24df-611d-479d-aac5-ab54ae60a091 | | name | RouterDSA | | routes | | | status | ACTIVE | | tenant_id | c0a3e61a3147419f8f5ceb9308395454 | +-------------------------+--------------------------------------+ [root@ip-192-169-142-127 ~(keystone_admin)]# neutron router-show RouterDSA+-------------------------+--------------------------------------+ | Field | Value | +-------------------------+--------------------------------------+ | admin_state_up | True | | availability_zone_hints | | | availability_zones | nova | | distributed | True | | external_gateway_info | | | ha | True | | id | 906c24df-611d-479d-aac5-ab54ae60a091 | | name | RouterDSA | | routes | | | status | ACTIVE | | tenant_id | c0a3e61a3147419f8f5ceb9308395454 | +-------------------------+--------------------------------------+ [root@ip-192-169-142-127 ~(keystone_admin)]# neutron l3-agent-list-hosting-router RouterDSA +-----------------------------+-----------------------------+----------------+-------+----------+ | id | host | admin_state_up | alive | ha_state | +-----------------------------+-----------------------------+----------------+-------+----------+ | bccda000-325f- | ip-192-169-142-127.ip.secur | True | :-) | standby | | 4a53-8189-fd65b9dd55e2 | eserver.net | | | | | dcedf1fb-4253-4f81-99af- | ip-192-169-142-137.ip.secur | True | :-) | standby | | a59f05c5cb5c | eserver.net | | | | +-----------------------------+-----------------------------+----------------+-------+----------+ Bug is closed . agent_mode=dvr_snat may be used in case of two Network Nodes which allows to add HA support for DVR centralized default SNAT functionality It is compatible with agent_mode=dvr running on Compute Nodes. I apologize for misunderstanding this concept. Please, remove from database. Everything works as expected and tested during March 10,11 2016 via Delorean trunk. See http://planet.rdoproject.org/ March 15, 2016 RDO BLOG HA support for DVR centralized default SNAT functionality on RDO Mitaka Milestone 3 http://tm3.org/5j Closing per comment #5. Thanks for testing! |