You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.
ESX: VMware ESXi 6.0.0 build-3620759
VM: Photon (photon-custom-hw11-1.0-13c08b6-GA.ova)
DVD Release: 0.7
Docker version: Server Version: 1.11.0
docker volume create -d vmdk --name=v1
Error response from daemon: create v1: Post http://%2Frun%2Fdocker%2Fplugins%2Fvmdk.sock/VolumeDriver.Create: http: ContentLength=24 with Body length 0
ESX Log:
10/06/16 20:47:28 92462 [P1] [INFO ] *** createVMDK: /vmfs/volumes/Storage1/dockvols/v1.vmdk opts = {u'fstype': u'ext4'}
10/06/16 20:47:29 92462 [P1] [INFO ] executeRequest 'create' completed with ret=None
10/06/16 20:47:29 92462 [P1] [WARNING] Failed to find VM by uuid=564dabc0-da80-2e80-1174-d92d69585cc4, retrying...
[Errno 104] Connection reset by peer
10/06/16 20:47:30 92462 [P1] [INFO ] Found VM name=P1, id=564dabc0-da80-2e80-1174-d92d69585cc4
10/06/16 20:47:30 92462 [P1] [INFO ] *** attachVMDK: /vmfs/volumes/Storage1/dockvols/v1.vmdk to P1 VM uuid = 564dabc0-da80-2e80-1174-d92d69585cc4
10/06/16 20:47:30 92462 [P1] [INFO ] Attaching /vmfs/volumes/Storage1/dockvols/v1.vmdk as independent_persistent
10/06/16 20:47:30 92462 [P1] [INFO ] Adding a PVSCSI controller
10/06/16 20:47:32 92462 [P1] [INFO ] Added a PVSCSI controller, controller_key=1001 pci_slot_number=192
10/06/16 20:47:33 92462 [P1] [INFO ] Disk /vmfs/volumes/Storage1/dockvols/v1.vmdk successfully attached. controller pci_slot_number=192, disk_slot=0
10/06/16 20:47:33 92462 [P1] [INFO ] executeRequest 'attach' completed with ret={'ControllerPciSlotNumber': '192', 'Unit': '0'}
10/06/16 20:47:33 92462 [P1] [INFO ] *** detachVMDK: /vmfs/volumes/Storage1/dockvols/v1.vmdk from P1 VM uuid = 564dabc0-da80-2e80-1174-d92d69585cc4
10/06/16 20:47:33 92462 [P1] [INFO ] Disk detached /vmfs/volumes/Storage1/dockvols/v1.vmdk
10/06/16 20:47:33 92462 [P1] [INFO ] executeRequest 'detach' completed with ret=None
10/06/16 20:47:33 92462 [P1] [INFO ] *** removeVMDK: /vmfs/volumes/Storage1/dockvols/v1.vmdk
10/06/16 20:47:34 92462 [P1] [INFO ] executeRequest 'remove' completed with ret=None
Plugin log:
2016-10-06 20:47:29.594555275 +0000 UTC [INFO] Attaching volume and creating filesystem fstype=ext4 name=v1
2016-10-06 20:47:32.496573328 +0000 UTC [WARNING] Get device path failed for unit# %s @ PCI slot %s: 0192Error="open /sys/bus/pci/slots/192/address: no such file or directory"
2016-10-06 20:47:32.498475429 +0000 UTC [ERROR] Could not find attached device, removing the volume error="Device not found" name=v1
The text was updated successfully, but these errors were encountered:
Issue is different Linux OS versions support different ways of identifying the devices on the PCI bus (in the /sys/bus/ hierarchy). I'll have to check Photon OS and will need to add in alternatives if one approach doesn't apply.
Looked at the VM, scsi0 is itself a pvscsi controller. Why did the plugin server try adding a pvscsi controller at scsi1? The vmx for P1 has pci slot number for scsi1 set to -1. And the Photon guest has no device except scsi0:0. Curiouser and curiouser.....
ESX: VMware ESXi 6.0.0 build-3620759
VM: Photon (photon-custom-hw11-1.0-13c08b6-GA.ova)
DVD Release: 0.7
Docker version: Server Version: 1.11.0
ESX Log:
Plugin log:
The text was updated successfully, but these errors were encountered: