Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alert notification provisioning error: alert notification with same name already exists #42229

Closed
manfred-ackermann opened this issue Nov 24, 2021 · 10 comments
Labels
area/backend/db/mysql area/provisioning prio/medium Important over the long term, but may not be staffed and/or may need multiple releases to complete. type/bug

Comments

@manfred-ackermann
Copy link

What happened:

Changed Grafana setup to use MySQL as DB instead of default SQLite3 to counter "database is locked" issue. When Grafana tries to restart it errors out with

Failed to start grafana. error: Alert notification provisioning error: alert notification with same name already exists
Alert notification provisioning error: alert notification with same name already exists

as we also have sidecar notifiers enabled and only starts after executing

TRUNCATE TABLE alert_notification;

on the MySQL DB.

What you expected to happen:

I expected Grafana to updated or recreate the alert notification if it already exist in the DB.

How to reproduce it (as minimally and precisely as possible):

  1. Have Grafana setup using MySQL DB and sidecar notifiers enabled (with notifier oc).
  2. Restart Grafana

Anything else we need to know?:

-/-

Environment:

  • Grafana version: v8.2.3 (fb85ed6)
  • Data source type & version: not applicable
  • OS Grafana is installed on: Kubernetes 1.20.9 with Helm Chart kube-prometheus-stack
  • User OS & Browser: not applicable
  • Grafana plugins:
    • GraphQL Data Source
    • Instana
    • Pie Chart
    • Polystat
    • Core plugins by Grafana Labs
  • Others: Azure Database for MySQL servers 5.7
@zuchka
Copy link
Contributor

zuchka commented Nov 24, 2021

Hi @manfred-ackermann

is this a continuation of the topic you started in the forum? Is this an HA setup?...

https://community.grafana.com/t/multiple-grafana-w-mysql-aks-ha-setup-alert-notification-provisioning-error/55903/2

@zuchka
Copy link
Contributor

zuchka commented Nov 24, 2021

also see this thread for a related issue and possible fix:

#27903

I will add some tags to your question in the forum and try to get some eyes on it

@zuchka zuchka closed this as completed Nov 24, 2021
@manfred-ackermann
Copy link
Author

Hi @manfred-ackermann

is this a continuation of the topic you started in the forum? Is this an HA setup?...

https://community.grafana.com/t/multiple-grafana-w-mysql-aks-ha-setup-alert-notification-provisioning-error/55903/2

Hi zuchka.

It's similar. K8s starts on deployment first another pod before it destroys the old one. And the documentation states

Provisioning looks up alert notifications by uid, and will update any existing notification with the provided uid.
at https://grafana.com/docs/grafana/latest/administration/provisioning/#alert-notification-channels

Maybe I get something wrong here, but I would state that it's not working as described and expected.

How is this supposed to work?

@zuchka zuchka reopened this Nov 24, 2021
@zuchka zuchka added area/backend/db/mysql needs investigation for unconfirmed bugs. use type/bug for confirmed bugs, even if they "need" more investigating labels Nov 25, 2021
@marefr
Copy link
Member

marefr commented Nov 26, 2021

@manfred-ackermann can you please provide some more information:

  • How did you migrate from sqlite to mysql - completely empty mysql database or not?
  • Please include your full alert notifcation channel provisioning files (replace any sensitive information)
  • After TRUNCATE TABLE alert_notification; Grafana starts and provisioning works as expected?
  • Happen to now what the content of alert_notification table was before truncating it, existing non-provisioned alert notification channels?
  • Please enable debug log level and include relevant log messages here

Thanks

@marefr marefr added needs more info Issue needs more information, like query results, dashboard or panel json, grafana version etc and removed needs investigation for unconfirmed bugs. use type/bug for confirmed bugs, even if they "need" more investigating labels Nov 26, 2021
@manfred-ackermann
Copy link
Author

manfred-ackermann commented Nov 26, 2021

How did you migrate from sqlite to mysql - completely empty mysql database or not?

Yes ... started with an empty DB.

Please include your full alert notification channel provisioning files (replace any sensitive information)

7 provisioned channels in total:

$ for i in *; do echo $i; cat -p $i; echo; done
dg-slack-notif-channel-********.yaml
notifiers:
  - name: "Slack #purchase-alerts"
    type: slack
    is_default: false
    uid: "purchase-notifier-slack"
    settings:
        username: "Stats-Grafana"
        recipient: "#purchase-alerts"
        uploadImage: true
        iconEmoji: ":********:"
        # DEDICATED webhook for ********
        url: https://hooks.slack.com/services/********/********/********

grafana-notifier-opsgenie.yaml
notifiers:
    - name: "Oncall ITOPS Opsgenie"
      type: opsgenie
      uid: "grafana-itops-opsgenie"
      settings:
        apiKey: ********-********-********-********-********
        apiUrl: https://api.opsgenie.com/v2/alerts
        autoClose: true
    - name: "Oncall SDOPS Opsgenie"
      type: opsgenie
      uid: "grafana-sdops-opsgenie"
      settings:
        apiKey: ********-********-********-********-********
        apiUrl: https://api.opsgenie.com/v2/alerts
        autoClose: true

grafana-notifier-slack-channel-deus-alerts.yaml
notifiers:
  - name: "Slack #deus-alerts"
    type: slack
    is_default: false
    uid: "grafana-slack-notifier-channel-deus-alerts"
    settings:
        username: "Stats-Grafana"
        recipient: "#deus-alerts"
        uploadImage: true
        url: https://hooks.slack.com/services/********/********/********

grafana-notifier-slack-channel-epp-dgl-nc-alerts.yaml
notifiers:
  - name: "Slack #epp-dgl-nc-alerts"
    type: slack
    is_default: false
    uid: "grafana-slack-notifier-channel-epp-dgl-nc-alerts"
    settings:
        username: "Stats-Grafana"
        recipient: "#epp-dgl-nc-alerts"
        uploadImage: true
        url: https://hooks.slack.com/services/********/********/********

grafana-notifier-slack-channel-opr-service.yaml
notifiers:
  - name: "Slack #opr-service"
    type: slack
    is_default: false
    uid: "grafana-slack-notifier-channel-opr-service"
    settings:
        username: "Stats-Grafana"
        recipient: "#opr-service"
        uploadImage: true
        url: https://hooks.slack.com/services/********/********/********

grafana-notifier-slack-channel-stock-management-service.yaml
notifiers:
  - name: "Slack #stock-management-service"
    type: slack
    is_default: false
    uid: "grafana-slack-notifier-channel-stock-management-service"
    settings:
        username: "Stats-Grafana"
        recipient: "#stock-management-service"
        uploadImage: true
        url: https://hooks.slack.com/services/********/********/********

grafana-slack-notifier-channel-logistics-management-service.yaml
notifiers:
  - name: "Slack #lms-alerts"
    type: slack
    is_default: false
    uid: "grafana-slack-notifier-channel-logistics-management-service"
    settings:
        username: "Stats-Grafana"
        recipient: "#logistics-management-service"
        uploadImage: true
        iconEmoji: ":********:"
        # DEDICATED webhook for ********
        url: https://hooks.slack.com/services/********/********/********

After TRUNCATE TABLE alert_notification; Grafana starts and provisioning works as expected?

Yes... Instantly starts.

Happen to now what the content of alert_notification table was before truncating it, existing non-provisioned alert notification channels?

No, but I assume it's the same as of now, what would be:

id,org_id,name,type,settings,created,updated,is_default,frequency,send_reminder,disable_resolve_message,uid,secure_settings
1,1,"Slack #purchase-alerts",slack,"{"iconEmoji":":********:","recipient":"#purchase-alerts","uploadImage":true,"url":"https://hooks.slack.com/services/********/********/********","username":"Stats-Grafana"}","2021-11-24 13:06:58","2021-11-24 13:06:58",0,0,0,0,purchase-notifier-slack,{}
2,1,"Oncall ITOPS Opsgenie",opsgenie,"{"apiKey":"********-********-********-********-********","apiUrl":"https://api.opsgenie.com/v2/alerts","autoClose":true}","2021-11-24 13:06:58","2021-11-24 13:06:58",0,0,0,0,grafana-itops-opsgenie,{}
3,1,"Oncall SDOPS Opsgenie",opsgenie,"{"apiKey":"********-********-********-********-********","apiUrl":"https://api.opsgenie.com/v2/alerts","autoClose":true}","2021-11-24 13:06:58","2021-11-24 13:06:58",0,0,0,0,grafana-sdops-opsgenie,{}
4,1,"Slack #deus-alerts",slack,"{"recipient":"#deus-alerts","uploadImage":true,"url":"https://hooks.slack.com/services/********/********/********","username":"Stats-Grafana"}","2021-11-24 13:06:58","2021-11-24 13:06:58",0,0,0,0,grafana-slack-notifier-channel-deus-aler,{}
5,1,"Slack #epp-dgl-nc-alerts",slack,"{"recipient":"#epp-dgl-nc-alerts","uploadImage":true,"url":"https://hooks.slack.com/services/********/********/********","username":"Stats-Grafana"}","2021-11-24 13:06:58","2021-11-24 13:06:58",0,0,0,0,grafana-slack-notifier-channel-epp-dgl-n,{}
6,1,"Slack #opr-service",slack,"{"recipient":"#opr-service","uploadImage":true,"url":"https://hooks.slack.com/services/********/********/********","username":"Stats-Grafana"}","2021-11-24 13:06:58","2021-11-24 13:06:58",0,0,0,0,grafana-slack-notifier-channel-opr-servi,{}
7,1,"Slack #stock-management-service",slack,"{"recipient":"#stock-management-service","uploadImage":true,"url":"https://hooks.slack.com/services/********/********/********","username":"Stats-Grafana"}","2021-11-24 13:06:58","2021-11-24 13:06:58",0,0,0,0,grafana-slack-notifier-channel-stock-man,{}
8,1,"Slack #lms-alerts",slack,"{"iconEmoji":":********:","recipient":"#logistics-management-service","uploadImage":true,"url":"https://hooks.slack.com/services/********/********/********","username":"Stats-Grafana"}","2021-11-24 13:06:58","2021-11-24 13:06:58",0,0,0,0,grafana-slack-notifier-channel-logistics,{}

Next time I scale down Grafana deployment to 0 and do another table export.

Please enable debug log level and include relevant log messages here

Can't do it now as of ongoing BlackFriday/Cybermonday insanity but will deliver on upcoming Tuesday.

@marefr marefr added needs investigation for unconfirmed bugs. use type/bug for confirmed bugs, even if they "need" more investigating and removed needs more info Issue needs more information, like query results, dashboard or panel json, grafana version etc labels Nov 26, 2021
@manfred-ackermann
Copy link
Author

manfred-ackermann commented Dec 1, 2021

Sorry for the late response. Finally have set Grafana into log level debug ...

Maybe only

t=2021-12-01T14:41:49+0000 lvl=dbug msg="updating alert notification from configuration" logger=provisioning.notifiers name="Oncall SDOPS Opsgenie"
t=2021-12-01T14:41:49+0000 lvl=dbug msg="inserting alert notification from configuration" logger=provisioning.notifiers name="Slack #deus-alerts" uid=grafana-slack-notifier-channel-deus-alerts
Failed to start grafana. error: Alert notification provisioning error: alert notification with same name already exists
Alert notification provisioning error: alert notification with same name already exists

has relevanz...

After truncate table alert_notification, Grafana started without any issue.

As I'm not sure about relevanz, here the full log (435 lines)

✔ Downloaded grafana-piechart-panel v1.6.2 zip successfully

Please restart Grafana after installing plugins. Refer to Grafana documentation for instructions if necessary.

✔ Downloaded grafana-polystat-panel v1.2.7 zip successfully

Please restart Grafana after installing plugins. Refer to Grafana documentation for instructions if necessary.

✔ Downloaded fifemon-graphql-datasource v1.3.0 zip successfully

Please restart Grafana after installing plugins. Refer to Grafana documentation for instructions if necessary.

✔ Downloaded instana-datasource v3.3.1 zip successfully

Please restart Grafana after installing plugins. Refer to Grafana documentation for instructions if necessary.

t=2021-12-01T14:41:28+0000 lvl=warn msg="falling back to legacy setting of 'min_interval_seconds'; please use the configuration option in the `unified_alerting` section if Grafana 8 alerts are enabled." logger=settings
t=2021-12-01T14:41:28+0000 lvl=warn msg="falling back to legacy setting of 'min_interval_seconds'; please use the configuration option in the `unified_alerting` section if Grafana 8 alerts are enabled." logger=settings
t=2021-12-01T14:41:28+0000 lvl=info msg="Config loaded from" logger=settings file=/usr/share/grafana/conf/defaults.ini
t=2021-12-01T14:41:28+0000 lvl=info msg="Config loaded from" logger=settings file=/etc/grafana/grafana.ini
t=2021-12-01T14:41:28+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.data=/var/lib/grafana/"
t=2021-12-01T14:41:28+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.logs=/var/log/grafana"
t=2021-12-01T14:41:28+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.plugins=/var/lib/grafana/plugins"
t=2021-12-01T14:41:28+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.provisioning=/etc/grafana/provisioning"
t=2021-12-01T14:41:28+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.log.mode=console"
t=2021-12-01T14:41:28+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_DATA=/var/lib/grafana/"
t=2021-12-01T14:41:28+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_LOGS=/var/log/grafana"
t=2021-12-01T14:41:28+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins"
t=2021-12-01T14:41:28+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning"
t=2021-12-01T14:41:28+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_SECURITY_ADMIN_USER=admin"
t=2021-12-01T14:41:28+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_SECURITY_ADMIN_PASSWORD=*********"
t=2021-12-01T14:41:28+0000 lvl=info msg="Path Home" logger=settings path=/usr/share/grafana
t=2021-12-01T14:41:28+0000 lvl=info msg="Path Data" logger=settings path=/var/lib/grafana/
t=2021-12-01T14:41:28+0000 lvl=info msg="Path Logs" logger=settings path=/var/log/grafana
t=2021-12-01T14:41:28+0000 lvl=info msg="Path Plugins" logger=settings path=/var/lib/grafana/plugins
t=2021-12-01T14:41:28+0000 lvl=info msg="Path Provisioning" logger=settings path=/etc/grafana/provisioning
t=2021-12-01T14:41:28+0000 lvl=info msg="App mode production" logger=settings
t=2021-12-01T14:41:28+0000 lvl=info msg="Connecting to DB" logger=sqlstore dbtype=mysql
t=2021-12-01T14:41:29+0000 lvl=info msg="Starting DB migrations" logger=migrator
t=2021-12-01T14:41:30+0000 lvl=dbug msg="inserting alert notification from configuration" logger=provisioning.notifiers name="Slack #deus-alerts" uid=grafana-slack-notifier-channel-deus-alerts
Failed to start grafana. error: Alert notification provisioning error: alert notification with same name already exists
Alert notification provisioning error: alert notification with same name already exists
✔ Downloaded grafana-piechart-panel v1.6.2 zip successfully

Please restart Grafana after installing plugins. Refer to Grafana documentation for instructions if necessary.

✔ Downloaded grafana-polystat-panel v1.2.7 zip successfully

Please restart Grafana after installing plugins. Refer to Grafana documentation for instructions if necessary.

✔ Downloaded fifemon-graphql-datasource v1.3.0 zip successfully

Please restart Grafana after installing plugins. Refer to Grafana documentation for instructions if necessary.

✔ Downloaded instana-datasource v3.3.1 zip successfully

Please restart Grafana after installing plugins. Refer to Grafana documentation for instructions if necessary.

t=2021-12-01T14:41:48+0000 lvl=warn msg="falling back to legacy setting of 'min_interval_seconds'; please use the configuration option in the `unified_alerting` section if Grafana 8 alerts are enabled." logger=settings
t=2021-12-01T14:41:48+0000 lvl=warn msg="falling back to legacy setting of 'min_interval_seconds'; please use the configuration option in the `unified_alerting` section if Grafana 8 alerts are enabled." logger=settings
t=2021-12-01T14:41:48+0000 lvl=info msg="Config loaded from" logger=settings file=/usr/share/grafana/conf/defaults.ini
t=2021-12-01T14:41:48+0000 lvl=info msg="Config loaded from" logger=settings file=/etc/grafana/grafana.ini
t=2021-12-01T14:41:48+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.data=/var/lib/grafana/"
t=2021-12-01T14:41:48+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.logs=/var/log/grafana"
t=2021-12-01T14:41:48+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.plugins=/var/lib/grafana/plugins"
t=2021-12-01T14:41:48+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.provisioning=/etc/grafana/provisioning"
t=2021-12-01T14:41:48+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.log.mode=console"
t=2021-12-01T14:41:48+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_DATA=/var/lib/grafana/"
t=2021-12-01T14:41:48+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_LOGS=/var/log/grafana"
t=2021-12-01T14:41:48+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins"
t=2021-12-01T14:41:48+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning"
t=2021-12-01T14:41:48+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_SECURITY_ADMIN_USER=admin"
t=2021-12-01T14:41:48+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_SECURITY_ADMIN_PASSWORD=*********"
t=2021-12-01T14:41:48+0000 lvl=info msg="Path Home" logger=settings path=/usr/share/grafana
t=2021-12-01T14:41:48+0000 lvl=info msg="Path Data" logger=settings path=/var/lib/grafana/
t=2021-12-01T14:41:48+0000 lvl=info msg="Path Logs" logger=settings path=/var/log/grafana
t=2021-12-01T14:41:48+0000 lvl=info msg="Path Plugins" logger=settings path=/var/lib/grafana/plugins
t=2021-12-01T14:41:48+0000 lvl=info msg="Path Provisioning" logger=settings path=/etc/grafana/provisioning
t=2021-12-01T14:41:48+0000 lvl=info msg="App mode production" logger=settings
t=2021-12-01T14:41:48+0000 lvl=info msg="Connecting to DB" logger=sqlstore dbtype=mysql
t=2021-12-01T14:41:48+0000 lvl=info msg="Starting DB migrations" logger=migrator
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create migration_log table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create user table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add unique index user.login"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add unique index user.email"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop index UQE_user_login - v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop index UQE_user_email - v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Rename table user to user_v1 - v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create user table v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index UQE_user_login - v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index UQE_user_email - v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="copy data_source v1 to v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Drop old table user_v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add column help_flags1 to user table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Update user table charset"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add last_seen_at column to user"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add missing user data"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add is_disabled column to user"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add index user.login/user.email"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create temp user table v1-7"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index IDX_temp_user_email - v1-7"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index IDX_temp_user_org_id - v1-7"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index IDX_temp_user_code - v1-7"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index IDX_temp_user_status - v1-7"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Update temp_user table charset"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop index IDX_temp_user_email - v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop index IDX_temp_user_org_id - v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop index IDX_temp_user_code - v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop index IDX_temp_user_status - v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Rename table temp_user to temp_user_tmp_qwerty - v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create temp_user v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index IDX_temp_user_email - v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index IDX_temp_user_org_id - v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index IDX_temp_user_code - v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index IDX_temp_user_status - v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="copy temp_user v1 to v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop temp_user_tmp_qwerty"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Set created for temp users that will otherwise prematurely expire"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create star table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add unique index star.user_id_dashboard_id"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create org table v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index UQE_org_name - v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create org_user table v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index IDX_org_user_org_id - v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index UQE_org_user_org_id_user_id - v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index IDX_org_user_user_id - v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Update org table charset"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Update org_user table charset"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Migrate all Read Only Viewers to Viewers"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create dashboard table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index dashboard.account_id"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add unique index dashboard_account_id_slug"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create dashboard_tag table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add unique index dashboard_tag.dasboard_id_term"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop index UQE_dashboard_tag_dashboard_id_term - v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Rename table dashboard to dashboard_v1 - v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create dashboard v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index IDX_dashboard_org_id - v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index UQE_dashboard_org_id_slug - v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="copy dashboard v1 to v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop table dashboard_v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="alter dashboard.data to mediumtext v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add column updated_by in dashboard - v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add column created_by in dashboard - v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add column gnetId in dashboard"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add index for gnetId in dashboard"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add column plugin_id in dashboard"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add index for plugin_id in dashboard"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add index for dashboard_id in dashboard_tag"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Update dashboard table charset"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Update dashboard_tag table charset"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add column folder_id in dashboard"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add column isFolder in dashboard"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add column has_acl in dashboard"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add column uid in dashboard"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Update uid column values in dashboard"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add unique index dashboard_org_id_uid"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Remove unique index org_id_slug"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Update dashboard title length"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add unique index for dashboard_org_id_title_folder_id"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create dashboard_provisioning"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create dashboard_provisioning v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index IDX_dashboard_provisioning_dashboard_id - v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index IDX_dashboard_provisioning_dashboard_id_name - v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="copy dashboard_provisioning v1 to v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop dashboard_provisioning_tmp_qwerty"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add check_sum column"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add index for dashboard_title"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="delete tags for deleted dashboards"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="delete stars for deleted dashboards"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add index for dashboard_is_folder"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create data_source table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index data_source.account_id"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add unique index data_source.account_id_name"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop index IDX_data_source_account_id - v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop index UQE_data_source_account_id_name - v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Rename table data_source to data_source_v1 - v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create data_source table v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index IDX_data_source_org_id - v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index UQE_data_source_org_id_name - v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="copy data_source v1 to v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Drop old table data_source_v1 #2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add column with_credentials"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add secure json data column"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Update data_source table charset"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Update initial version to 1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add read_only data column"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Migrate logging ds to loki ds"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Update json_data with nulls"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add uid column"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Update uid value"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add unique index datasource_org_id_uid"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add unique index datasource_org_id_is_default"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create api_key table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index api_key.account_id"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index api_key.key"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index api_key.account_id_name"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop index IDX_api_key_account_id - v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop index UQE_api_key_key - v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop index UQE_api_key_account_id_name - v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Rename table api_key to api_key_v1 - v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create api_key table v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index IDX_api_key_org_id - v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index UQE_api_key_key - v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index UQE_api_key_org_id_name - v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="copy api_key v1 to v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Drop old table api_key_v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Update api_key table charset"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add expires to api_key table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create dashboard_snapshot table v4"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop table dashboard_snapshot_v4 #1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create dashboard_snapshot table v5 #2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index UQE_dashboard_snapshot_key - v5"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index UQE_dashboard_snapshot_delete_key - v5"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index IDX_dashboard_snapshot_user_id - v5"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="alter dashboard_snapshot to mediumtext v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Update dashboard_snapshot table charset"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add column external_delete_url to dashboard_snapshots table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add encrypted dashboard json column"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Change dashboard_encrypted column to MEDIUMBLOB"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create quota table v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index UQE_quota_org_id_user_id_target - v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Update quota table charset"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create plugin_setting table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index UQE_plugin_setting_org_id_plugin_id - v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add column plugin_version to plugin_settings"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Update plugin_setting table charset"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create session table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Drop old table playlist table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Drop old table playlist_item table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create playlist table v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create playlist item table v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Update playlist table charset"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Update playlist_item table charset"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop preferences table v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop preferences table v3"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create preferences table v3"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Update preferences table charset"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add column team_id in preferences"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Update team_id column values in preferences"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create alert table v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index alert org_id & id "
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index alert state"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index alert dashboard_id"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Create alert_rule_tag table v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add unique index alert_rule_tag.alert_id_tag_id"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Create alert_rule_tag table v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="copy alert_rule_tag v1 to v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop table alert_rule_tag_v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create alert_notification table v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add column is_default"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add column frequency"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add column send_reminder"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add column disable_resolve_message"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index alert_notification org_id & name"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Update alert table charset"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Update alert_notification table charset"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create notification_journal table v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index notification_journal org_id & alert_id & notifier_id"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop alert_notification_journal"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create alert_notification_state table v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index alert_notification_state org_id & alert_id & notifier_id"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add for to alert table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add column uid in alert_notification"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Update uid column values in alert_notification"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add unique index alert_notification_org_id_uid"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Remove unique index org_id_name"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add column secure_settings in alert_notification"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="alter alert.settings to mediumtext"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add non-unique index alert_notification_state_alert_id"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add non-unique index alert_rule_tag_alert_id"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Drop old annotation table v4"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create annotation table v5"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index annotation 0 v3"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index annotation 1 v3"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index annotation 2 v3"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index annotation 3 v3"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index annotation 4 v3"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Update annotation table charset"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add column region_id to annotation table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Drop category_id index"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add column tags to annotation table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Create annotation_tag table v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add unique index annotation_tag.annotation_id_tag_id"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop index UQE_annotation_tag_annotation_id_tag_id - v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Rename table annotation_tag to annotation_tag_v2 - v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Create annotation_tag table v3"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="copy annotation_tag v2 to v3"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop table annotation_tag_v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Update alert annotations and set TEXT to empty"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add created time to annotation table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add updated time to annotation table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add index for created in annotation table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add index for updated in annotation table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Convert existing annotations from seconds to milliseconds"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add epoch_end column"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add index for epoch_end"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Make epoch_end the same as epoch"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Move region to single row"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Remove index org_id_epoch from annotation table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add index for org_id_epoch_end_epoch on annotation table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Remove index org_id_epoch_epoch_end from annotation table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add index for alert_id on annotation table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create test_data table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create dashboard_version table v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index dashboard_version.dashboard_id"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add unique index dashboard_version.dashboard_id and dashboard_version.version"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Set dashboard version to 1 where 0"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="save existing dashboard data in dashboard_version table v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="alter dashboard_version.data to mediumtext v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create team table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index team.org_id"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add unique index team_org_id_name"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create team member table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index team_member.org_id"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add unique index team_member_org_id_team_id_user_id"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index team_member.team_id"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add column email to team table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add column external to team_member table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add column permission to team_member table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create dashboard acl table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index dashboard_acl_dashboard_id"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add unique index dashboard_acl_dashboard_id_user_id"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add unique index dashboard_acl_dashboard_id_team_id"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index dashboard_acl_user_id"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index dashboard_acl_team_id"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index dashboard_acl_org_id_role"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index dashboard_permission"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="save default acl rules in dashboard_acl table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="delete acl rules for deleted dashboards and folders"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create tag table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index tag.key_value"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create login attempt table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index login_attempt.username"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop index IDX_login_attempt_username - v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Rename table login_attempt to login_attempt_tmp_qwerty - v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create login_attempt v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index IDX_login_attempt_username - v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="copy login_attempt v1 to v2"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop login_attempt_tmp_qwerty"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create user auth table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create index IDX_user_auth_auth_module_auth_id - v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="alter user_auth.auth_id to length 190"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add OAuth access token to user_auth"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add OAuth refresh token to user_auth"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add OAuth token type to user_auth"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add OAuth expiry to user_auth"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add index to user_id column in user_auth"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create server_lock table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index server_lock.operation_uid"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create user auth token table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add unique index user_auth_token.auth_token"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add unique index user_auth_token.prev_auth_token"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index user_auth_token.user_id"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add revoked_at to the user auth token"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create cache_data table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add unique index cache_data.cache_key"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create short_url table v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index short_url.org_id-uid"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="delete alert_definition table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="recreate alert_definition table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index in alert_definition on org_id and title columns"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index in alert_definition on org_id and uid columns"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="alter alert_definition table data column to mediumtext in mysql"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop index in alert_definition on org_id and title columns"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop index in alert_definition on org_id and uid columns"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add unique index in alert_definition on org_id and title columns"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add unique index in alert_definition on org_id and uid columns"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add column paused in alert_definition"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop alert_definition table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="delete alert_definition_version table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="recreate alert_definition_version table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index in alert_definition_version table on alert_definition_id and version columns"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index in alert_definition_version table on alert_definition_uid and version columns"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="alter alert_definition_version table data column to mediumtext in mysql"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="drop alert_definition_version table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create alert_instance table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index in alert_instance table on def_org_id, def_uid and current_state columns"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index in alert_instance table on def_org_id, current_state columns"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add column current_state_end to alert_instance"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="remove index def_org_id, def_uid, current_state on alert_instance"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="remove index def_org_id, current_state on alert_instance"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="rename def_org_id to rule_org_id in alert_instance"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="rename def_uid to rule_uid in alert_instance"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index rule_org_id, rule_uid, current_state on alert_instance"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index rule_org_id, current_state on alert_instance"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create alert_rule table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index in alert_rule on org_id and title columns"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index in alert_rule on org_id and uid columns"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index in alert_rule on org_id, namespace_uid, group_uid columns"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="alter alert_rule table data column to mediumtext in mysql"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add column for to alert_rule"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add column annotations to alert_rule"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add column labels to alert_rule"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="remove unique index from alert_rule on org_id, title columns"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index in alert_rule on org_id, namespase_uid and title columns"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add dashboard_uid column to alert_rule"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add panel_id column to alert_rule"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index in alert_rule on org_id, dashboard_uid and panel_id columns"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create alert_rule_version table"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="alter alert_rule_version table data column to mediumtext in mysql"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add column for to alert_rule_version"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add column annotations to alert_rule_version"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add column labels to alert_rule_version"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id=create_alert_configuration_table
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="Add column default in alert_configuration"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add column org_id in alert_configuration"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index in alert_configuration table on org_id column"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id=create_ngalert_configuration_table
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index in ngalert_configuration on org_id column"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create library_element table v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index library_element org_id-folder_id-name-kind"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create library_element_connection table v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index library_element_connection element_id-kind-connection_id"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add unique index library_element org_id_uid"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="create kv_store table v1"
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Skipping migration: Already executed" logger=migrator id="add index kv_store.org_id-namespace-key"
t=2021-12-01T14:41:48+0000 lvl=info msg="migrations completed" logger=migrator performed=0 skipped=346 duration=33.391618ms
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Ensuring main org and admin user exist" logger=sqlstore
t=2021-12-01T14:41:48+0000 lvl=info msg="Starting plugin search" logger=plugins
t=2021-12-01T14:41:48+0000 lvl=dbug msg="Scanning core plugin directory" logger=plugins dir=/usr/share/grafana/public/app/plugins
t=2021-12-01T14:41:49+0000 lvl=dbug msg="updating alert notification from configuration" logger=provisioning.notifiers name="Oncall SDOPS Opsgenie"
t=2021-12-01T14:41:49+0000 lvl=dbug msg="inserting alert notification from configuration" logger=provisioning.notifiers name="Slack #deus-alerts" uid=grafana-slack-notifier-channel-deus-alerts
Failed to start grafana. error: Alert notification provisioning error: alert notification with same name already exists
Alert notification provisioning error: alert notification with same name already exists

@marefr
Copy link
Member

marefr commented Dec 1, 2021

I think I see what's going on here. The uid grafana-slack-notifier-channel-deus-alerts has a character count of 42. 40 is the maximum supported. Stored uid in database above is grafana-slack-notifier-channel-deus-aler. Please change length to 40 characters.

We should probably improve this behavior to throw error if length is greater than 40 and not just silently continue.

@marefr marefr added type/bug area/provisioning prio/medium Important over the long term, but may not be staffed and/or may need multiple releases to complete. and removed needs investigation for unconfirmed bugs. use type/bug for confirmed bugs, even if they "need" more investigating labels Dec 1, 2021
@manfred-ackermann
Copy link
Author

Will do so tomorrow and let you know of the outcome.

@manfred-ackermann
Copy link
Author

Shortened all provisioned notifier uid to below 41 chars and had to truncate table alert_notification one last time and now startup of concurrent containers is no issue anymore.

Thanks @marefr for getting this detail! Issue is fixed from my side.

We should probably improve this behavior to throw error if length is greater than 40 and not just silently continue.

Second that. Also a note in the documentation may be of value.

@marefr
Copy link
Member

marefr commented Dec 2, 2021

Thanks. Opened #42680

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/backend/db/mysql area/provisioning prio/medium Important over the long term, but may not be staffed and/or may need multiple releases to complete. type/bug
Projects
None yet
Development

No branches or pull requests

3 participants