mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Merge pull request #42249 from justinsb/volumes_logging
Automatic merge from submit-queue (batch tested with PRs 42252, 42251, 42249, 47512, 47887) volumes: Add logging when removing node fails Part of #40583 ```release-note NONE ```
This commit is contained in:
		@@ -461,7 +461,8 @@ func (adc *attachDetachController) nodeDelete(obj interface{}) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	nodeName := types.NodeName(node.Name)
 | 
						nodeName := types.NodeName(node.Name)
 | 
				
			||||||
	if err := adc.desiredStateOfWorld.DeleteNode(nodeName); err != nil {
 | 
						if err := adc.desiredStateOfWorld.DeleteNode(nodeName); err != nil {
 | 
				
			||||||
		glog.V(10).Infof("%v", err)
 | 
							// This might happen during drain, but we still want it to appear in our logs
 | 
				
			||||||
 | 
							glog.Infof("error removing node %q from desired-state-of-world: %v", nodeName, err)
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	adc.processVolumesInUse(nodeName, node.Status.VolumesInUse, false /* forceUnmount */)
 | 
						adc.processVolumesInUse(nodeName, node.Status.VolumesInUse, false /* forceUnmount */)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user