Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.

MysqlBackupSchedule missing attributes - no user-visible report #21

Closed
jan-g opened this issue Jan 15, 2018 · 3 comments
Closed

MysqlBackupSchedule missing attributes - no user-visible report #21

jan-g opened this issue Jan 15, 2018 · 3 comments

Comments

@jan-g
Copy link

jan-g commented Jan 15, 2018

Had a malformed (strictly, missing attributes) MysqlBackupSchedule object. Eventually found an error about it - it was hiddin in the mysql-operator logs.

Is there a way to surface that through an event on the MBS object itself?

E0115 15:22:13.403773       1 controller.go:231] Backup schedule validation failed, err: [backupTemplate.executor: Required value: missing executor, backupTemplate.storage: Required value: missing storage]
@prydie
Copy link

prydie commented Jan 16, 2018

We record events for validation failures in the backup and restore controllers and could use the same mechanism in the backup schedule controller.

@owainlewis
Copy link
Member

This is also a side effect of incorrect documentation.

@owainlewis
Copy link
Member

Will be fixed by #31 and #37

Closing this ticket as we already have tasks to fix this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants