Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for UnmountVolume (0.15 sec)

  1. pkg/kubelet/volumemanager/reconciler/reconciler_common.go

    			klog.V(5).InfoS(mountedVolume.GenerateMsgDetailed("Starting operationExecutor.UnmountVolume", ""))
    			err := rc.operationExecutor.UnmountVolume(
    				mountedVolume.MountedVolume, rc.actualStateOfWorld, rc.kubeletPodsDir)
    			if err != nil && !isExpectedError(err) {
    				klog.ErrorS(err, mountedVolume.GenerateErrorDetailed(fmt.Sprintf("operationExecutor.UnmountVolume failed (controllerAttachDetachEnabled %v)", rc.controllerAttachDetachEnabled), err).Error())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/reconciler/reconstruct_common.go

    	}
    	metrics.ForceCleanedFailedVolumeOperationsTotal.Inc()
    	// TODO: Currently cleanupMounts only includes UnmountVolume operation. In the next PR, we will add
    	// to unmount both volume and device in the same routine.
    	err := rc.operationExecutor.UnmountVolume(mountedVolume, rc.actualStateOfWorld, rc.kubeletPodsDir)
    	if err != nil {
    		metrics.ForceCleanedFailedVolumeOperationsErrorsTotal.Inc()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. pkg/volume/portworx/portworx.go

    	// Detach a volume
    	DetachVolume(unmounter *portworxVolumeUnmounter) error
    	// Mount a volume
    	MountVolume(mounter *portworxVolumeMounter, mountDir string) error
    	// Unmount a volume
    	UnmountVolume(unmounter *portworxVolumeUnmounter, mountDir string) error
    	// Resize a volume
    	ResizeVolume(spec *volume.Spec, newSize resource.Quantity, host volume.VolumeHost) error
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. pkg/volume/util/operationexecutor/operation_generator.go

    				// There is nothing else we can do. Hope that UnmountVolume will be re-tried shortly.
    				klog.Errorf(volumeToUnmount.GenerateErrorDetailed("UnmountVolume.MarkVolumeMountAsUncertain failed", markMountUncertainErr).Error())
    			}
    
    			// On failure, return error. Caller will log and retry.
    			eventErr, detailedErr := volumeToUnmount.GenerateError("UnmountVolume.TearDown failed", unmountErr)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  5. pkg/volume/util/operationexecutor/operation_executor_test.go

    			volumesToUnmount[i] = MountedVolume{
    				PodName:    volumetypes.UniquePodName(podName),
    				VolumeName: v1.UniqueVolumeName(pdName),
    				PodUID:     pod.UID,
    			}
    		}
    		oe.UnmountVolume(volumesToUnmount[i], nil /* actualStateOfWorldMounterUpdater */, "" /*podsDir*/)
    	}
    
    	// Assert
    	if !isOperationRunConcurrently(ch, quit, numNonAttachableVolumesToUnmount+numAttachableVolumesToUnmount) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  6. pkg/volume/util/operationexecutor/operation_executor.go

    	MountVolume(waitForAttachTimeout time.Duration, volumeToMount VolumeToMount, actualStateOfWorld ActualStateOfWorldMounterUpdater, isRemount bool) error
    
    	// If a volume has 'Filesystem' volumeMode, UnmountVolume unmounts the
    	// volume from the pod specified in volumeToUnmount and updates the actual
    	// state of the world to reflect that.
    	//
    	// For 'Block' volumeMode, this method unmaps symbolic link to the volume
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  7. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    			volumeToUnmount := operationexecutor.MountedVolume{
    				PluginName: "fake-file-plugin",
    				VolumeSpec: tmpSpec}
    			err := oex.UnmountVolume(volumeToUnmount, asw, "" /* podsDir */)
    			// Assert
    			if assert.Error(t, err) {
    				assert.Contains(t, err.Error(), tc.expectedErrMsg)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
Back to top