Monasca_agent : "check_router_ha: true" still metric collection is happening for the router port inspite the agents in standby state

Bug #1594277 reported by Ashish Kumar Gupta
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Monasca
Incomplete
Undecided
Unassigned

Bug Description

stack@host:~/mon_scripts/scale$ neutron l3-agent-list-hosting-router r33
+--------------------------------------+-----------------------+----------------+-------+----------+
| id | host | admin_state_up | alive | ha_state |
+--------------------------------------+-----------------------+----------------+-------+----------+
| 8d775f67-4608-425e-88d9-d39b19c23d32 | agent1 | True | xxx | standby |
| ad68864d-360c-4d5c-a14e-56d3c4399f27 | agent2 | True | xxx | standby |
+--------------------------------------+-----------------------+----------------+-------+----------+
stack@host:~/mon_scripts/scale$ date
Fri Jun 17 05:37:18 UTC 2016
stack@host:~/mon_scripts/scale$ monasca measurement-list --dimensions port_id=01e3b5b7-c029-4897-a6b8-d4c812ec2fea vrouter.in_bytes 2016-06-17T05:37:00Z
+------------------+---------------------------------------------------+--------------------------+--------------+------------+
| name | dimensions | timestamp | value | value_meta |
+------------------+---------------------------------------------------+--------------------------+--------------+------------+
| vrouter.in_bytes | service: networking | 2016-06-17T05:37:00.000Z | 400288.000 | |
| | resource_id: 201c7227-f850-4002-84e1-2702dc33211c | 2016-06-17T05:37:20.000Z | 399644.000 | |
| | router_name: r33 | 2016-06-17T05:37:33.000Z | 400288.000 | |
| | hostname: SUPPRESS | | | |
| | component: ovs | | | |
| | control_plane: control-plane-1 | | | |
| | cluster: cluster1 | | | |
| | cloud_name: entry-scale-esx-kvm-vsa | | | |
| | port_id: 01e3b5b7-c029-4897-a6b8-d4c812ec2fea | | | |
+------------------+---------------------------------------------------+--------------------------+--------------+------------+
stack@host:~/mon_scripts/scale$ sudo cat /etc/monasca/agent/conf.d/ovs.yaml
init_config:
  admin_password: th4mL2ynS
  admin_tenant_name: services
  admin_user: neutron
  cache_dir: /dev/shm
  identity_uri: https://helion-cp1-vip-KEY-API-mgmt:5000/v2.0
  included_interface_re: sg.*|qg.*|vhu.*
  network_use_bits: false
  neutron_refresh: 14400
  ovs_cmd: sudo /usr/bin/ovs-vsctl
  region_name: region1
  use_absolute_metrics: true
  check_router_ha: true
instances: []
monasca measurement-list --dimensions resource_id=201c7227-f850-4002-84e1-2702dc33211c vrouter.in_packets 2016-06-16T10:52:00Z
+---------------------+---------------------------------------------------+--------------------------+--------------+------------+
| name | dimensions | timestamp | value | value_meta |
+---------------------+---------------------------------------------------+--------------------------+--------------+------------+
| vrouter.out_packets | service: networking | 2016-06-16T10:52:07.000Z | 27.000 | |
| | resource_id: 201c7227-f850-4002-84e1-2702dc33211c | 2016-06-16T10:52:22.000Z | 18.000 | |
| | router_name: r33 | 2016-06-16T10:52:37.000Z | 27.000 | |
| | hostname: SUPPRESS | | | |
| | component: ovs | | | |
| | | | | |
| | cluster: cluster1 | |
              | |
| | port_id: 01e3b5b7-c029-4897-a6b8-d4c812ec2fea | | | |
+---------------------+---------------------------------------------------+--------------------------+--------------+------------+

Expected: Since the check_router_ha is set true hence collection for metric should not happen since the hosting agents are in standby state.

description: updated
Revision history for this message
Ryan (ryan-brandt) wrote :

After reading the latest documentation in https://github.com/openstack/monasca-agent/blob/master/docs/Ovs.md I'm not sure I understand this bug. Is this still an issue? If so, can you expand on what exactly was unexpected and why?

Changed in monasca:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.