-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sql location issue #890
Sql location issue #890
Conversation
I just need to verify... I'm like 80% sure this will work |
doesn't this just need failedProvisioning to be reset to false? |
@frodopwns I dont believe so, because on here: provisioning is set to false (its also set to false in a slew of other false cases), thus here: will never trigger the true condition... I believe this is your infinite loop. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
ah yes...that is probably why I punted on it...the refactor was getting a bit long in the tooth and then this bug showed up |
@frodopwns @jananivMS I'm going to test this, but its such a corner case that I was wondering if you could both look and give me some early thoughts... |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
closes #809
Describe the bug
If a SQL server already exists and you want to take it over via the operator you would first create a secret with the credentials for that server then deploy a kube manifest for the server.
If the location in the manifest does not match the location of the exist server the kube resource will fail to provision (status.failedProvision=true).
If the user update the location to be correct the resource should then recover and provision.
what actually happens is an unrecoverable loop
To Reproduce
Steps to reproduce the behavior:
New Expected behavior
after updating the location to be correct, the server should no longer say failedProvisioning and the operator should end reconciliation successfully