Skip to content

Race condition where the consumer exists but no username and database #36

@vincenzodnp

Description

@vincenzodnp

Today we had an edge case because the manager container of the dbaas operator pod was in OOM.
For a project, we had the mariadbconsumer object created and the spec.consumer info correctly filled in, but actually, no username, password, and database were created in the cluster.

Checking the code, it seems the creation of the username (password) and database happens AFTER the consumer's Infos are defined into the k8s object.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions