Upgrade impossible if tagged dashboards exist

Description

If there are custom dashboards, tagged with tags that are different from the tags used for default PMM dashboards the import-dashboard.py fails with the following error:

 

 

Steps to reproduce:

01) Install PMM 2.20

02) Create an empty dashboard with random tags, that are not used anywhere else

03) Upgrade PMM to 2.21

 

How to test

None

How to document

None

AFFECTED CS IDs

CS0021010

Smart Checklist

Activity

Show:

Denys Kondratenko September 15, 2021 at 3:25 PM
Edited

we either could suggest workaround:

https://discord.com/channels/808660945513611334/808662268988489780/882247232743690310

 

this is is with 2.21.0 image.

 

Or wait for 2.22.0 which has this fix and to be released next week, or use internal 2.22.0 release.

Done

Details

Assignee

Reporter

Priority

Components

Labels

Fix versions

Story Points

Affects versions

Smart Checklist

Created September 15, 2021 at 2:14 PM
Updated July 18, 2024 at 2:22 PM
Resolved September 15, 2021 at 4:01 PM