Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1153446 - [RFE][neutron]: Report HA Router Master
[RFE][neutron]: Report HA Router Master
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron (Show other bugs)
unspecified
Unspecified Unspecified
high Severity medium
: ga
: 7.0 (Kilo)
Assigned To: Assaf Muller
Roey Dekel
https://blueprints.launchpad.net/neut...
upstream_milestone_kilo-rc1 upstream_...
: FutureFeature
Depends On:
Blocks: 1215475
  Show dependency treegraph
 
Reported: 2014-10-16 00:05 EDT by RHOS Integration
Modified: 2016-04-26 17:50 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
With this update, administrators are now able to view the state of High Availability routers on each node, and specifically, where the active instance is hosted. Previously, the High Availability router state information was not visible to the administrator; this made maintenance harder, for example, when moving HA router instances from one agent to another, or assessing the impact of putting a node in maintenance mode. This new functionality also serves as a sanity test and offers assurance that a router is indeed active on only one node. As a result, administrators may now run the 'neutron l3-agent-list-hosting-router <router_id>' command on a High Availability router to view where the active instance is currently hosted.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-08-05 09:14:54 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:1548 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2015-08-05 13:07:06 EDT

  None (edit)
Description RHOS Integration 2014-10-16 00:05:40 EDT
Cloned from launchpad blueprint https://blueprints.launchpad.net/neutron/+spec/report-ha-router-master.

Description:

Highly available routers is a new functionality that was merged in the
l3-high-availability blueprint. HA routers are scheduled on multiple L3 agents
however the cloud operator has no way of knowing where the active instance
is.

Specification URL (additional information):

None
Comment 4 Roey Dekel 2015-06-08 09:58:41 EDT
Verified on Kilo with:

Version-Release number of selected component:
---------------------------------------------
Puddle: 2015-06-02.1
python-neutronclient-2.4.0-1.el7ost.noarch
openstack-neutron-common-2015.1.0-1.el7ost.noarch
openstack-neutron-2015.1.0-1.el7ost.noarch
python-neutron-2015.1.0-1.el7ost.noarch
openstack-neutron-ml2-2015.1.0-1.el7ost.noarch

Reproduce steps:
----------------
1. Set up VRRP environment
2. Add an ha router
3. neutron l3-agent-list-hosting-router router1
4. Compare to state at the networkers

Results:
--------
As expected:

[root@controller ~(keystone_admin)]# neutron l3-agent-list-hosting-router router1
+--------------------------------------+---------------------+----------------+-------+----------+
| id                                   | host                | admin_state_up | alive | ha_state |
+--------------------------------------+---------------------+----------------+-------+----------+
| 348dfa4a-c9f8-418a-9975-2fbd0bca8562 | network-3.novalocal | True           | :-)   | active   |
| c3460556-4e4b-4724-b79e-4870ab517e8b | network-1.novalocal | True           | :-)   | standby  |
| 835fe946-5c08-415e-b88e-4fd7144c847d | network-2.novalocal | True           | :-)   | standby  |
+--------------------------------------+---------------------+----------------+-------+----------+

[root@controller ~(keystone_admin)]# for i in `seq 185 187`; do ssh root@10.35.186.$i 'cat /var/lib/neutron/ha_confs/fe56731b-90f3-4a57-b3a5-540794f6d187/state'; echo ' '; done
backup 
backup 
master
Comment 6 errata-xmlrpc 2015-08-05 09:14:54 EDT
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://access.redhat.com/errata/RHEA-2015:1548

Note You need to log in before you can comment on or make changes to this bug.