Open
Description
openedon Apr 29, 2020
What happened:
MCM does not update the .status.failedMachine
of the MachineDeployment
after the .status.lastOperation
of the Machine
changes (e.g., from Failed
-> Processing
(e.g., after the credentials have been fixed)):
status:
availableReplicas: 2
conditions:
- lastTransitionTime: "2020-04-29T06:51:38Z"
lastUpdateTime: "2020-04-29T06:51:38Z"
message: Deployment does not have minimum availability.
reason: MinimumReplicasUnavailable
status: "False"
type: Available
failedMachines:
- lastOperation:
description: 'Failed to list VMs while deleting the machine "shoot--foo--bar-cpu-worker-z1-5cdcb46f64-pxzp5"
AuthFailure: AWS was not able to validate the provided access credentials
status code: 401, request id: 6e99231c-654e-4b05-8801-310e3532b4e9'
lastUpdateTime: "2020-04-29T06:53:33Z"
state: Failed
type: Delete
name: shoot--foo--bar-cpu-worker-z1-5cdcb46f64-pxzp5
ownerRef: shoot--foo--bar-cpu-worker-z1-5cdcb46f64
observedGeneration: 2
spec:
class:
kind: AWSMachineClass
name: shoot--foo--bar-cpu-worker-z1-ff76e
nodeTemplate:
metadata:
creationTimestamp: null
labels:
node.kubernetes.io/role: node
worker.garden.sapcloud.io/group: cpu-worker
worker.gardener.cloud/pool: cpu-worker
spec: {}
providerID: aws:///eu-west-1/i-05f4737c3ef646f89
status:
currentStatus:
lastUpdateTime: "2020-04-29T07:41:44Z"
phase: Pending
timeoutActive: true
lastOperation:
description: Creating machine on cloud provider
lastUpdateTime: "2020-04-29T07:41:44Z"
state: Processing
type: Create
node: ip-10-250-9-55.eu-west-1.compute.internal
(compare the timestamps)
What you expected to happen:
The .status.failedMachines
is properly updated when .status.lastOperation
of Machine
objects are changed.
Activity