Bug 1149777
Summary: | host=<ID> is not set in neutron-HA mode, thus network-node failovers will not work | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Miguel Angel Ajo <majopela> |
Component: | openstack-foreman-installer | Assignee: | Brad P. Crochet <brad> |
Status: | CLOSED ERRATA | QA Contact: | Ofer Blaut <oblaut> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 5.0 (RHEL 6) | CC: | amuller, brad, dnavale, fdinitto, jguiditt, lpeer, mburns, morazi, rhos-maint, yeylon |
Target Milestone: | z2 | Keywords: | ZStream |
Target Release: | Installer | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openstack-foreman-installer-2.0.29-1.el6ost | Doc Type: | Bug Fix |
Doc Text: |
Previously, OpenStack Networking HA configuration did not set the host=<id> parameter. As a result, failover would not occur for the OpenStack Networking agents.
With this update, the host=<id> parameter is set on all controllers and as a result, failover happens correctly.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2014-11-04 17:03:05 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: | |
Embargoed: | |||
Bug Depends On: | 1150413 | ||
Bug Blocks: |
Description
Miguel Angel Ajo
2014-10-06 15:32:14 UTC
PR available: https://github.com/redhat-openstack/astapor/pull/387 Merged. Tested with Miguel, appears to work as desired. (In reply to Jason Guiditta from comment #8) > Merged. Tested with Miguel, appears to work as desired. Correct, it looks good. The agent registration all happened like neutron-n-0, and agents could be failed over to other hosts, keeping the same id, thus, the same associated resources. Tested on :rhel-osp-installer-0.4.7-1.el6ost.noarch Last login: Sun Nov 2 15:33:48 2014 from 192.168.0.1 [root@mac441ea173385f ~]# grep ^host /etc/neutron/* /etc/neutron/neutron.conf:host = neutron-n-0 [root@mac441ea173385f ~]# source keystonerc_admin [root@mac441ea173385f ~(openstack_admin)]# neutron agent-list +--------------------------------------+--------------------+-----------------------------+-------+----------------+ | id | agent_type | host | alive | admin_state_up | +--------------------------------------+--------------------+-----------------------------+-------+----------------+ | 44abf1d3-39d6-435a-9063-3e2f9110b0a1 | DHCP agent | neutron-n-0 | :-) | True | | 84deec32-93df-4c9d-a5eb-5120c5430216 | Open vSwitch agent | mac441ea1733991.example.com | :-) | True | | 894e07ba-ee0d-4939-b6d1-f3207ceb82ba | Open vSwitch agent | neutron-n-0 | :-) | True | | ad1cf899-3614-4da5-8cdf-ee9a006c5e32 | Metadata agent | neutron-n-0 | :-) | True | | f7a2f321-97ea-47a0-aa26-851823a2eda4 | L3 agent | neutron-n-0 | :-) | True | +--------------------------------------+--------------------+-----------------------------+-------+----------------+ Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2014-1800.html As additional details, the host parameter should be set like this: openstack-config --set /etc/neutron.conf DEFAULT host neutron-n-0 on all three HA controller nodes manually. afterwards, if there were running routers or dhcp services for tenant networks, those would need to be rescheduled to the new agent "neutron-n-0" (check via neutron agent-list) then, you should use the .... l3-agent-router-add Add a router to a L3 agent. l3-agent-router-remove Remove a router from a L3 agent. commands to reschedule routers, and the... dhcp-agent-list-hosting-net List DHCP agents hosting a network. dhcp-agent-network-add Add a network to a DHCP agent. dhcp-agent-network-remove Remove a network from a DHCP agent. net-list-on-dhcp-agent List the networks on a DHCP agent. to reschedule dhcp services to the new agent Clearing need info |