q-agent-cleanup.py script should write consistent logs

Bug #1371664 reported by Eugene Nikanorov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Won't Fix
High
Fuel Library (Deprecated)
6.0.x
Won't Fix
Medium
Fuel Library (Deprecated)

Bug Description

Logs of agent rescheduling script should be much more verbose.

It should report:
1. Found dead agents (agent type, ID, host, last heart beat time)
1.1. DEBUG: resources associated with the dead agent: networks or routers
2. Action to be taken about dead agent: will it be rescheduled and to which node (if it's known)
3. Output rescheduling attempt result for each node to which rescheduling was attempted.
4. Result of rescheduling: <type>-agent ID was moved successfully from node X to node Y
5. Awaiting rescheduled agent to be alive (from Neutron server)

In addition to that the following logs should be improved:
namespaces cleanup, deleted router interfaces (from namespaces)

Revision history for this message
Eugene Nikanorov (enikanorov) wrote :

I think this should be high to critical for 6.0

summary: - q_agent-cleanup.py script should write consistent logs
+ q-agent-cleanup.py script should write consistent logs
Changed in fuel:
assignee: nobody → Fuel Library Team (fuel-library)
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

In juno, rescheduling was drastically improved, hence, we could get rid of our custom version of this script as well. Setting to medium because of that.

Changed in fuel:
milestone: none → 6.0
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

ps. rescheduling and cleanup.

Revision history for this message
Eugene Nikanorov (enikanorov) wrote :

In fact, there are not much changes to agent rescheduling in Juno, in fact the only patch that addresses some part of the problem is 'removing routers from dead l3 agents', which is not exactly what we want.
SO for now cleanup script makes sense.

Andrew Woodward (xarses)
tags: added: customer-found
Revision history for this message
Tomasz 'Zen' Napierala (tzn) wrote :

I need clarification on the status. I don't see any workaround, so why this is in "triaged" status? Should it be just confirmed for now?

Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

It was set as Triaged due to the bug description provides all needed info, i.e. which new logs we want.

Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

AFAIK, we do not target medium priority bugs for maintanance releases, so, I put the statuses for 5.x.x and 6.0.x as won't fix.
If the status will be high, please update the status to confirmed as well.

Revision history for this message
Mike Scherbakov (mihgen) wrote :

Bogdan, master is still open. It means that if you land the fix into master, it's gonna be 6.0, not 6.1.

no longer affects: fuel/6.1.x
Revision history for this message
Vladimir Kuklin (vkuklin) wrote :

initially this was related to a customer issue with dhcp agent, as we thought that the script was not providing enough logging information. nevertheless, it had nothing to do with the issues that had been discovered, so increasing of verbosity is not so important as script's logging is verbose enough for debugging.

no longer affects: fuel/5.1.x
Changed in fuel:
status: Triaged → Won't Fix
milestone: 5.1.1 → 5.1.2
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.