Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for VolumeMountUncertain (0.24 sec)

  1. pkg/kubelet/volumemanager/cache/actual_state_of_world.go

    	// actual state of the world.
    	GetMountedVolumes() []MountedVolume
    
    	// GetAllMountedVolumes returns list of all possibly mounted volumes including
    	// those that are in VolumeMounted state and VolumeMountUncertain state.
    	GetAllMountedVolumes() []MountedVolume
    
    	// GetMountedVolumesForPod generates and returns a list of volumes that are
    	// successfully attached and mounted for the specified pod based on the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  2. pkg/volume/testing/testing.go

    	deviceNotMounted     = "deviceNotMounted"
    	deviceMountUncertain = "deviceMountUncertain"
    	deviceMounted        = "deviceMounted"
    
    	volumeNotMounted     = "volumeNotMounted"
    	volumeMountUncertain = "volumeMountUncertain"
    	volumeMounted        = "volumeMounted"
    
    	FailNewMounter = "fail-new-mounter"
    )
    
    // CommandScript is used to pre-configure a command that will be executed and
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  3. pkg/kubelet/volumemanager/reconciler/reconstruct.go

    				OuterVolumeSpecName: volume.outerVolumeSpecName,
    				VolumeGidVolume:     volume.volumeGidValue,
    				VolumeSpec:          volume.volumeSpec,
    				VolumeMountState:    operationexecutor.VolumeMountUncertain,
    				SELinuxMountContext: volume.seLinuxMountContext,
    			}
    
    			_, err = rc.actualStateOfWorld.CheckAndMarkVolumeAsUncertainViaReconstruction(markVolumeOpts)
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. pkg/volume/util/operationexecutor/operation_executor.go

    const (
    	// VolumeMounted means volume has been mounted in pod's local path
    	VolumeMounted VolumeMountState = "VolumeMounted"
    
    	// VolumeMountUncertain means volume may or may not be mounted in pods' local path
    	VolumeMountUncertain VolumeMountState = "VolumeMountUncertain"
    
    	// VolumeNotMounted means volume has not be mounted in pod's local path
    	VolumeNotMounted VolumeMountState = "VolumeNotMounted"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  5. pkg/kubelet/volumemanager/cache/actual_state_of_world_test.go

    				Mounter:             mounter1,
    				BlockVolumeMapper:   mapper1,
    				OuterVolumeSpecName: volumeSpec1.Name(),
    				VolumeSpec:          volumeSpec1,
    				VolumeMountState:    operationexecutor.VolumeMountUncertain,
    			}
    			_, err = asw.CheckAndMarkVolumeAsUncertainViaReconstruction(markVolumeOpts1)
    			if err != nil {
    				t.Fatalf("AddPodToVolume failed. Expected: <no error> Actual: <%v>", err)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  6. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    		pvSize                 resource.Quantity
    	}{
    		{
    			name:                   "timed out operations should result in volume marked as uncertain",
    			volumeState:            operationexecutor.VolumeMountUncertain,
    			unmountDeviceCallCount: 1,
    			unmountVolumeCount:     1,
    			volumeName:             volumetesting.TimeoutOnSetupVolumeName,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  7. pkg/volume/util/operationexecutor/operation_generator.go

    	if volumetypes.IsOperationFinishedError(mountError) &&
    		actualStateOfWorld.GetVolumeMountState(volumeToMount.VolumeName, markOpts.PodName) == VolumeMountUncertain {
    		// if volume was previously reconstructed we are not going to change its state as unmounted even
    		// if mount operation fails.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  8. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    		OuterVolumeSpecName: "dswp-test-volume-name",
    		VolumeGidVolume:     "",
    		VolumeSpec:          volume.NewSpecFromPersistentVolume(pv, false),
    		VolumeMountState:    operationexecutor.VolumeMountUncertain,
    	}
    	err := dswp.actualStateOfWorld.MarkVolumeMountAsUncertain(opts)
    	if err != nil {
    		t.Fatalf("Failed to set the volume as uncertain: %s", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
Back to top