DBaaS: field status ignored when installing operators

Description

User impact:

User can get unexpected versions of operators

Steps to reproduce:

Start PMM dev-latest with -e PERCONA_TEST_VERSION_SERVICE_URL=https://check-dev.percona.com/versions/v1 env var where

Register k8s cluster in dbaas

Check installed versions of operators

Actual result:

percona/percona-server-mongodb-operator:1.12.0 is installed instead of percona/percona-server-mongodb-operator:1.11.0

Expected result:

Correct versions of operators installed according to version service

Workaround:

Delete/apply operators manually

Details:

How to test

None

How to document

None

Smart Checklist

Activity

Roma Novikov June 1, 2022 at 10:32 AM

Changed priority to High, as this can lead to data damage if we have some version of DB we are not recommending but installing. 

Yes, there is a workaround by removing the version from a file, but still, some people can be affected. 

Done

Details

Assignee

Reporter

Priority

Components

Needs QA

Yes

Needs Doc

No

Fix versions

Story Points

Regression Issue

Yes

Affects versions

Smart Checklist

Created June 1, 2022 at 9:36 AM
Updated August 5, 2022 at 8:57 AM
Resolved June 6, 2022 at 1:48 PM