-
Notifications
You must be signed in to change notification settings - Fork 122
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
MCM does not report last operation for machines if credentials are invalid #455
Comments
Probably related to #453? |
It seems to be atleast partially contradicting #456 where status field can be seen having the credential related error when trying to delete a machine. Or am i missing something here? |
Why is it contradicting? This issue here is about writing the unauthorized error into the |
The failing status of individual machines appears in lastOperation:
description: Deleting machine from cloud provider Wondering if we should overwrite the last error message which is anyway preserved in machine set/deployment status, or should we introduce a new field in machine's status to save the last failed operation, so that we can still keep track of the in-flight last operation. eg: |
@rfranzke - You are partially right that this message is not being propogated to the machine status. However, this is something that was introduced in the last release with this change - https://github.com/gardener/machine-controller-manager/blob/master/pkg/controller/machine.go#L396-L399. cc @hardikdr @ggaurav10 - I don't think it's the issue with machine deployment error propagation. That part seems fine to me. Overall this particular instance is an regression with the last release. We need to fix this as well. |
This should be solved with #527 |
What happened:
Trying to create/delete VMs with invalid credentails does only produce a log message but no information in the
.status.lastOperation
of theMachine
object.What you expected to happen:
The log messages show:
However, the
status
does not indicate any problem:Consequently,
.status.failedMachines
of theMachineDeployment
is empty as well.How to reproduce it (as minimally and precisely as possible):
Try to create/delete a machine with invalid credentials.
The text was updated successfully, but these errors were encountered: