metering-agent: Duplicate report_interval parameters

Bug #1968468 reported by Takashi Kajinami
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Invalid
Undecided
Unassigned

Bug Description

The neutron-metering-agent service has the following two report_interval parameters, and these two looks duplicate.

(1)
[DEFAULT]
report_interval=300

(2)
[AGENT]
report_interval=30

Looking at the implementation, (1) is used in configuration.report_interval in agent status while (2) determines the actual interval in agent side.
Considering consistency with the other agents, we should use (2) only and deprecate (1).

description: updated
description: updated
Changed in neutron:
assignee: nobody → Takashi Kajinami (kajinamit)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/837219

Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by "Takashi Kajinami <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/837219

Revision history for this message
Takashi Kajinami (kajinamit) wrote :

After digging into the implementation again, I noticed [DEFAULT] report_interval is actually used to determine interval between metering report, instead of agent status report.

Changed in neutron:
assignee: Takashi Kajinami (kajinamit) → nobody
status: In Progress → Invalid
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.