Skip to content

alerta delete not removing all alerts #227

Open
@3IMOH

Description

@3IMOH

Issue Summary
When running "alerta delete" it does not appear to remove them all. I have to run the command multiple times to get all of the alerts cleared. I have tried waiting for a couple of minutes after running the command but it does not help.

Example:

$ alerta delete
Deleting all alerts. Do you want to continue? [y/N]: y
Deleting 178 alerts [####################################] 100%
$ alerta delete
Deleting all alerts. Do you want to continue? [y/N]: y
Deleting 129 alerts [####################################] 100%
$ alerta delete
Deleting all alerts. Do you want to continue? [y/N]: y
Deleting 82 alerts [####################################] 100%
$ alerta delete
Deleting all alerts. Do you want to continue? [y/N]: y
Deleting 34 alerts [####################################] 100%
$ alerta delete
Deleting all alerts. Do you want to continue? [y/N]: y
$

Environment

  • OS: Linux

  • API version: 8.0.3

  • Deployment: self hosted

  • For self-hosted, WSGI environment: nginx/uwsgi

  • Database: Mongo

  • web UI version: 8.0

  • CLI version: 8.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    🧊 Ice Box

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions