provider-sql
provider-sql copied to clipboard
Deleting a MySQL User resource and then deleting a MySQL Grant resource linked to it causes the Grant deletion to hang
Grant deletion never occurs, and this warning repeats endlessly:
Warning CannotObserveExternalResource managed/grant.mysql.sql.crossplane.io cannot show current grants: Error 1141: There is no such grant defined for user 'test-app' on host '%!'(MISSING)
This is on Crossplane 1.3.0 and MySQL 5.7. Can work on a repro case a bit later. The issue can be worked around by manually editing the Grant resource and removing the Crossplane finalizer.