VMware Cloud Community
dilipc
Contributor
Contributor

Raw Device Mapping operation via a VSphere WebService client failing

Hello,

I have a client for the VSphere WebService running on an ESXi 5.0.0  build-623860. The client is actually a wrapper around the VI Java SDK API. The client makes a call to the Raw Device Mapping WebService.The call fails with the below error in the server log. The client code works on another ESXi 5.0.0 host (same build). It also works on a ESXi 5.1 and ESX 4.0 host. It just fails on one particular ESX hosts. The error says " Error creating disk: Function not implemented". I am wondering if there is some configuration to disbale / enable certain Webserice APIs on the ESX host.

Pasted below is the log snippet from hostd.log file on the ESX host. Any help is appreciated.

Thanks,

Dilip

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

2012-12-11T14:56:46.835Z [323D6B90 info 'TaskManager'] Task Created : haTask-13-vim.VirtualMachine.reconfigure-169820178
2012-12-11T14:56:46.836Z [31AC2B90 info 'vm:/vmfs/volumes/86a94fb8-f159b461/RHEL-VM-06/RHEL-VM-06.vmx'] State Transition (VM_STATE_ON -> VM_STATE_RECONFIGURING)
2012-12-11T14:56:46.836Z [31AC2B90 verbose 'vm:/vmfs/volumes/86a94fb8-f159b461/RHEL-VM-06/RHEL-VM-06.vmx'] Invoking interceptor:1-hbr
2012-12-11T14:56:46.840Z [31AC2B90 verbose 'vm:/vmfs/volumes/86a94fb8-f159b461/RHEL-VM-06/RHEL-VM-06.vmx'] Done invoking interceptor:1-hbr
2012-12-11T14:56:46.840Z [31EE9B90 verbose 'vm:/vmfs/volumes/86a94fb8-f159b461/RHEL-VM-06/RHEL-VM-06.vmx'] Device hot-add requested.
2012-12-11T14:56:46.851Z [31EE9B90 verbose 'vm:/vmfs/volumes/86a94fb8-f159b461/RHEL-VM-06/RHEL-VM-06.vmx'] Current VM Tracking state: disabled
2012-12-11T14:56:46.853Z [31EE9B90 verbose 'vm:/vmfs/volumes/86a94fb8-f159b461/RHEL-VM-06/RHEL-VM-06.vmx'] Setting VM's tracking state to disabled.
2012-12-11T14:56:46.932Z [31EE9B90 info 'VmDiskMgr'] For disk [sample_1111111111111] RHEL-VM-06/RHEL-VM-06_1.vmdk, Error creating disk: Function not implemented
2012-12-11T14:56:46.933Z [31EE9B90 info 'ha-eventmgr'] Event 1042 : Cannot create virtual disk /vmfs/volumes/86a94fb8-f159b461/RHEL-VM-06/RHEL-VM-06_1.vmdk
2012-12-11T14:56:46.933Z [31EE9B90 info 'vm:/vmfs/volumes/86a94fb8-f159b461/RHEL-VM-06/RHEL-VM-06.vmx'] Hot-plug batch failed while applying individual changes.
2012-12-11T14:56:46.934Z [31BD5B90 info 'Libs'] Vix: [5109 foundryVMGuestOps.c:16652]: FoundryFinishFsrPossibleAsyncOp: asyncOpType = VIX_COMMAND_HOT_PLUG_COMMIT_BATCH (159), jobHandle = 11534375, err = 0
2012-12-11T14:56:46.934Z [31EE9B90 info 'vm:/vmfs/volumes/86a94fb8-f159b461/RHEL-VM-06/RHEL-VM-06.vmx'] Reconfigure failed: vmodl.fault.SystemError
2012-12-11T14:56:46.934Z [31EE9B90 warning 'vm:/vmfs/volumes/86a94fb8-f159b461/RHEL-VM-06/RHEL-VM-06.vmx'] Exception thrown during reconfigure: (vim.vm.ConfigSpec) {
-->    dynamicType = <unset>,
-->    changeVersion = <unset>,
-->    name = <unset>,
-->    version = <unset>,
-->    uuid = <unset>,
-->    instanceUuid = <unset>,
-->    npivWorldWideNameType = <unset>,
-->    npivDesiredNodeWwns = <unset>,
-->    npivDesiredPortWwns = <unset>,
-->    npivTemporaryDisabled = <unset>,
-->    npivOnNonRdmDisks = <unset>,
-->    npivWorldWideNameOp = <unset>,
-->    locationId = <unset>,
-->    guestId = <unset>,
-->    alternateGuestName = <unset>,
-->    annotation = <unset>,
-->    files = (vim.vm.FileInfo) null,
-->    tools = (vim.vm.ToolsConfigInfo) null,
-->    flags = (vim.vm.FlagInfo) null,
-->    consolePreferences = (vim.vm.ConsolePreferences) null,
-->    powerOpInfo = (vim.vm.DefaultPowerOpInfo) null,
-->    numCPUs = <unset>,
-->    numCoresPerSocket = <unset>,
-->    memoryMB = <unset>,
-->    memoryHotAddEnabled = <unset>,
-->    cpuHotAddEnabled = <unset>,
-->    cpuHotRemoveEnabled = <unset>,
-->    virtualICH7MPresent = <unset>,
-->    virtualSMCPresent = <unset>,
-->    deviceChange = (vim.vm.device.VirtualDeviceSpec) [
-->       (vim.vm.device.VirtualDeviceSpec) {
-->          dynamicType = <unset>,
-->          operation = "add",
-->          fileOperation = "create",
-->          device = (vim.vm.device.VirtualDisk) {
-->             dynamicType = <unset>,
-->             key = 1,
-->             deviceInfo = (vim.Description) null,
-->             backing = (vim.vm.device.VirtualDisk.RawDiskMappingVer1BackingInfo) {
-->                dynamicType = <unset>,
-->                fileName = "/vmfs/volumes/86a94fb8-f159b461/RHEL-VM-06/RHEL-VM-06_1.vmdk",
-->                datastore = <unset>,
-->                lunUuid = <unset>,
-->                deviceName = "/vmfs/devices/disks/naa.50002ac097c32176",
-->                compatibilityMode = "physicalMode",
-->                diskMode = <unset>,
-->                uuid = <unset>,
-->                contentId = <unset>,
-->                changeId = <unset>,
-->                parent = (vim.vm.device.VirtualDisk.RawDiskMappingVer1BackingInfo) null,
-->             },
-->             connectable = (vim.vm.device.VirtualDevice.ConnectInfo) {
-->                dynamicType = <unset>,
-->                startConnected = true,
-->                allowGuestControl = true,
-->                connected = true,
-->                status = <unset>,
-->             },
-->             controllerKey = 1000,
-->             unitNumber = 2,
-->             capacityInKB = 1048576,
-->             shares = (vim.SharesInfo) null,
-->             storageIOAllocation = (vim.StorageResourceManager.IOAllocationInfo) null,
-->          },
-->       }
-->    ],
-->    cpuAllocation = (vim.ResourceAllocationInfo) null,
-->    memoryAllocation = (vim.ResourceAllocationInfo) null,
-->    cpuAffinity = (vim.vm.AffinityInfo) null,
-->    memoryAffinity = (vim.vm.AffinityInfo) null,
-->    networkShaper = (vim.vm.NetworkShaperInfo) null,
-->    swapPlacement = <unset>,
-->    swapDirectory = <unset>,
-->    preserveSwapOnPowerOff = <unset>,
-->    bootOptions = (vim.vm.BootOptions) null,
-->    vAppConfig = (vim.vApp.VmConfigSpec) null,
-->    ftInfo = (vim.vm.FaultToleranceConfigInfo) null,
-->    vAppConfigRemoved = <unset>,
-->    vAssertsEnabled = <unset>,
-->    changeTrackingEnabled = <unset>,
-->    firmware = <unset>,
-->    maxMksConnections = <unset>,
-->    guestAutoLockEnabled = <unset>,
-->    managedBy = (vim.ext.ManagedByInfo) null,
-->    memoryReservationLockedToMax = <unset>,
--> }
--> vmodl.fault.SystemError
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
0 Kudos
0 Replies