machine icon indicating copy to clipboard operation
machine copied to clipboard

windows 10 - build from master - error creating machine: error in driver during machine creating

Open scmikes opened this issue 8 years ago • 0 comments

on hyper-v, creating virtual machine on external hyperv switch

built from master on 4/18/2018 11:00 PM est

--------------------------- cmd in debug mode ----------------------------------- K:\workdir> ./docker-machine-Windows-x86_64.exe --debug create --driver hyperv -hyperv-virtual-switch dockerExternalS witch myvm8 Docker Machine Version: dev, build 1e3b6b64 Found binary path at K:\workdir\docker-machine-Windows-x86_64.exe Launching plugin server for driver hyperv Plugin server listening at address 127.0.0.1:61668 () Calling .GetVersion Using API Version 1 () Calling .SetConfigRaw () Calling .GetMachineName (flag-lookup) Calling .GetMachineName (flag-lookup) Calling .DriverName (flag-lookup) Calling .GetCreateFlags Found binary path at K:\workdir\docker-machine-Windows-x86_64.exe Launching plugin server for driver hyperv Plugin server listening at address 127.0.0.1:61672 () Calling .GetVersion Using API Version 1 () Calling .SetConfigRaw () Calling .GetMachineName (myvm8) Calling .GetMachineName (myvm8) Calling .DriverName (myvm8) Calling .GetCreateFlags (myvm8) Calling .SetConfigFromFlags Reading certificate data from C:\Users\micha.docker\machine\certs\ca.pem Decoding PEM data... Parsing certificate... Reading certificate data from C:\Users\micha.docker\machine\certs\cert.pem Decoding PEM data... Parsing certificate... Running pre-create checks... (myvm8) Calling .PreCreateCheck (myvm8) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive @(Get-Module -ListAvailable hyper-v).Name | Get-Unique (myvm8) DBG | [stdout =====>] : Hyper-V (myvm8) DBG | (myvm8) DBG | [stderr =====>] : (myvm8) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive @([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole("S-1-5-32-578") (myvm8) DBG | [stdout =====>] : True (myvm8) DBG | (myvm8) DBG | [stderr =====>] : (myvm8) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (Hyper-V\Get-VMSwitch).Name (myvm8) DBG | [stdout =====>] : dockerExternalSwitch (myvm8) DBG | Default Switch (myvm8) DBG | (myvm8) DBG | [stderr =====>] : (myvm8) DBG | local Boot2Docker ISO version: v18.04.0-ce (myvm8) Calling .GetConfigRaw Creating machine... (myvm8) Calling .Create (myvm8) DBG | local Boot2Docker ISO version: v18.04.0-ce (myvm8) Copying C:\Users\micha.docker\machine\cache\boot2docker.iso to C:\Users\micha.docker\machine\machines\myvm8\boot2docker.iso... (myvm8) Creating SSH key... (myvm8) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (Hyper-V\Get-VMSwitch).Name (myvm8) Creating VM... (myvm8) DBG | [stdout =====>] : dockerExternalSwitch (myvm8) Using switch "dockerExternalSwitch" (myvm8) DBG | Default Switch (myvm8) DBG | (myvm8) DBG | [stderr =====>] : (myvm8) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive @([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator") (myvm8) DBG | [stdout =====>] : False (myvm8) DBG | (myvm8) Creating VHD (myvm8) DBG | [stderr =====>] : (myvm8) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive Hyper-V\New-VHD -Path 'C:\Users\micha.docker\machine\machines\myvm8\fixed.vhd' -SizeBytes 20000MB -Fixed (myvm8) DBG | [stdout =====>] : (myvm8) DBG | [stderr =====>] : Hyper-V\New-VHD : Failed to create the virtual hard disk. (myvm8) DBG | The system failed to create 'C:\Users\micha.docker\machine\machines\myvm8\fixed.vhd'. (myvm8) DBG | Failed to create the virtual hard disk. (myvm8) DBG | The system failed to create 'C:\Users\micha.docker\machine\machines\myvm8\fixed.vhd': There is not enough space on (myvm8) DBG | the disk. (0x80070070). (myvm8) DBG | At line:1 char:1 (myvm8) DBG | + Hyper-V\New-VHD -Path 'C:\Users\micha.docker\machine\machines\myvm8\ ... (myvm8) DBG | + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (myvm8) DBG | + CategoryInfo : NotSpecified: (:) [New-VHD], VirtualizationException (myvm8) DBG | + FullyQualifiedErrorId : OperationFailed,Microsoft.Vhd.PowerShell.Cmdlets.NewVhd (myvm8) DBG | (myvm8) DBG | Error creating machine: Error in driver during machine creation: exit status 1 notifying bugsnag: [Error creating machine: Error in driver during machine creation: exit status 1]

scmikes avatar Apr 19 '18 12:04 scmikes