Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for unmountdevice (0.32 sec)

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

    			deviceToDetach := operationexecutor.AttachedVolume{VolumeSpec: tmpSpec, PluginName: "fake-file-plugin"}
    			err := oex.UnmountDevice(deviceToDetach, asw, hostutil)
    			// 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)
  2. pkg/volume/local/local_test.go

    	err = dm.MountDevice(pvSpec, tmpBlockDir, expectedGlobalPath, volume.DeviceMounterArgs{})
    	if err != nil {
    		t.Fatal(err)
    	}
    	if _, err := os.Stat(actualPath); err != nil {
    		if os.IsNotExist(err) {
    			t.Errorf("DeviceMounter.MountDevice() failed, device mount path not created: %s", actualPath)
    		} else {
    			t.Errorf("DeviceMounter.MountDevice() failed: %v", err)
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 10:53:39 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  3. pkg/volume/csi/csi_block.go

     - operation_executor.UnmountVolume
       - csi.GetPodDeviceMapPath
       - util.UnmapBlockVolume
       - csi.UnmapPodDevice
         - NodeUnpublishVolume
       - ASW.MarkVolumeAsUnmounted
    
     - operation_executor.UnmountDevice
       - csi.TearDownDevice
         - NodeUnstageVolume
       - ASW.MarkDeviceAsUnmounted
    
    After successful MountVolume for block volume, directory structure will be like below:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  4. pkg/volume/local/local.go

    	mounter := plugin.host.GetMounter(plugin.GetPluginName())
    	return mounter.GetMountRefs(deviceMountPath)
    }
    
    var _ volume.DeviceUnmounter = &deviceMounter{}
    
    func (dm *deviceMounter) UnmountDevice(deviceMountPath string) error {
    	// If the local PV is a block device,
    	// The deviceMountPath is generated to the format like :/var/lib/kubelet/plugins/kubernetes.io/local-volume/mounts/localpv.spec.Name;
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  5. pkg/kubelet/volumemanager/cache/desired_state_of_world.go

    		// pod B with context beta_t is already scheduled on the same node,
    		// using the same volumes
    		// The volumes from Pod A must be fully unmounted (incl. UnmountDevice)
    		// and mounted with new SELinux mount options for pod B.
    		// Without SELinux, kubelet can (and often does) reuse device mounted
    		// for A.
    		return vol.effectiveSELinuxMountFileLabel == seLinuxMountContext
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  6. pkg/volume/csi/csi_attacher_test.go

    			}
    			// Clear out the client if specified
    			// The lookup to generate a new client will fail
    			if tc.unsetClient {
    				csiAttacher.csiClient = nil
    			}
    
    			// Run
    			err := csiAttacher.UnmountDevice(tc.deviceMountPath)
    			// Verify
    			if err != nil {
    				if !tc.shouldFail {
    					t.Errorf("test should not fail, but error occurred: %v", err)
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  7. pkg/volume/testing/testing.go

    	// TimeoutOnMountDeviceVolumeName will cause MountDevice call to timeout but Setup will finish.
    	TimeoutOnMountDeviceVolumeName = "timeout-mount-device-volume"
    	// TimeoutAndFailOnMountDeviceVolumeName will cause first MountDevice call to timeout but second call will fail
    	TimeoutAndFailOnMountDeviceVolumeName = "timeout-and-fail-mount-device-name"
    	// FailMountDeviceVolumeName will cause MountDevice operation on volume to fail
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.10.md

    * GCE PD volume plugin now supports block volumes. ([#58710](https://github.com/kubernetes/kubernetes/pull/58710), [@screeley44](https://github.com/screeley44))
    
    * Implements MountDevice and UnmountDevice for the CSI Plugin, the functions will call through to NodeStageVolume/NodeUnstageVolume for CSI plugins. ([#60115](https://github.com/kubernetes/kubernetes/pull/60115), [@davidz627](https://github.com/davidz627))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 341.8K bytes
    - Viewed (0)
  9. pkg/kubelet/volumemanager/reconciler/reconstruct_test.go

    			expectMount: true,
    			volumeMode:  v1.PersistentVolumeFilesystem,
    		},
    		{
    			name: "reconstructed volume fails to mount",
    			// FailOnSetupVolumeName: MountDevice succeeds, SetUp fails
    			volumePath:  filepath.Join("pod1uid", "volumes", "fake-plugin", volumetesting.FailOnSetupVolumeName),
    			expectMount: false,
    			volumeMode:  v1.PersistentVolumeFilesystem,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.13.md

    * Apply _netdev mount option on bind mount ([#68626](https://github.com/kubernetes/kubernetes/pull/68626), [@gnufied](https://github.com/gnufied))
    * fix UnmountDevice failure on Windows ([#68608](https://github.com/kubernetes/kubernetes/pull/68608), [@andyzhangx](https://github.com/andyzhangx))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 273.1K bytes
    - Viewed (0)
Back to top