efa-journal clear

Removes all entries or entries specified according to state from the journal.

Syntax

efa-journal clear [ pending | failed | completed | processing | all ]

Parameters

pending
Clears all entries in Pending state.
failed
Clears all entries in Failed state.
completed
Clears all entries in Completed state.
processing
Clears all entries in Processing state.
all
Clears all entries.

Usage Guidelines

Important

Important

Stop the Neutron service before clearing entries using the all, pending, failed, or processing parameters. Otherwise, the processing thread can repopulate the entries in the journal.

Examples

The following example clears all entries in the Failed state.
$ efa-journal clear failed

The following example clears all entries. Note the warning to stop the Neutron service.

$ efa-journal clear all
Warning!!! Clearing states pending/processing/all should be executed after shutting 
down neutron service. Otherwise the entries can be re-populated by the processing thread. 

The following example clears all entries in Processing state.

$ efa-journal clear processing
Warning!!! Clearing states pending/processing/all should be executed after shutting down neutron service. 
Otherwise the entries can be re-populated by the processing thread.

The following example clears all entries in Pending state.

$ efa-journal clear pending
Warning!!! Clearing states pending/processing/all should be executed after shutting down neutron service. 
Otherwise the entries can be re-populated by the processing thread.