microsoft / navcontainerhelper

Official Microsoft repository for BcContainerHelper, a PowerShell module, which makes it easier to work with Business Central Containers on Docker.
MIT License
382 stars 244 forks source link

Run-ALValidation failing (since 2022 started?) #2254

Closed PaulFurlet closed 2 years ago

PaulFurlet commented 2 years ago

Describe the issue I have three VMs that used to run validation normally before 2022 started. Now Run-ALValidation gives error "Unexpected error while validating app. Error is: docker: Error response from daemon: hcsshim::CreateComputeSystem c0c5f8a5663af945832 f70524872b0d292d622bd6270deb5f9d1b6bebf302f97: The virtual machine could not be started because a required feature is not installed. ExitCode: 125"

Client:
 Cloud integration: v1.0.22
 Version:           20.10.11
 API version:       1.41
 Go version:        go1.16.10
 Git commit:        dea9396
 Built:             Thu Nov 18 00:42:51 2021
 OS/Arch:           windows/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.11
  API version:      1.41 (minimum version 1.24)
  Go version:       go1.16.9
  Git commit:       847da18
  Built:            Thu Nov 18 00:38:11 2021
  OS/Arch:          windows/amd64
  Experimental:     false

One of the VMs has older version of the Docker, there error is a bit more meaningful: "Unexpected error while validating app. Error is: docker.exe: Error response from daemon: CreateComputeSystem 5d9970c207ec5289de5b85f69a2b9ed3a551042826a5dbfbc9753ec86892f150: No hyperv isor is present on this system. [Event Detail: Cannot start Hyper-V Container '5d9970c207ec5289de5b85f69a2b9ed3a551042826a5dbfbc9753ec86892f150' since the hypervisor is not running in the host. Provider: 17103e3f-3c6 e-4677-bb17-3b267eb5be57 EventID: 12001]"

Client: Docker Engine - Community
 Version:           18.09.2
 API version:       1.39
 Go version:        go1.10.8
 Git commit:        6247962
 Built:             Sun Feb 10 04:12:31 2019
 OS/Arch:           windows/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.2
  API version:      1.39 (minimum version 1.24)
  Go version:       go1.10.6
  Git commit:       6247962
  Built:            Sun Feb 10 04:28:48 2019
  OS/Arch:          windows/amd64
  Experimental:     false

Creating new BC Container is running successfully. I use the following script for new container:

$accept_eula = $true
$usessl = $false
$auth = 'UserPassword'
$updateHosts = $true
$assignPremiumPlan = $true
$shortcuts = 'Desktop'
$user = 'User'
$pass = 'UserPassw0rd'
$licenseFile = 'C:\Dev\DevLicense.flf'
$containername = 'bc19Sandbox'
$version = '19'
$select = 'Latest'
$type = 'Sandbox'
$country = 'dk'

Remove-BCContainer $containername
Measure-Command {
    $artifactUrl = Get-BCArtifactUrl -version $version -select $select -country $country -type $type
    if (!($artifactUrl)) {
        throw 'No matching build was found for your version of Business Central'
    }
    $credential = New-Object pscredential $user, (ConvertTo-SecureString -String $pass -AsPlainText -Force)
    New-BcContainer -accept_eula:$accept_eula `
                -containername $containername `
                -artifactUrl $artifactUrl `
                -auth $auth `
                -Credential $credential `
                -usessl:$usessl `
                -updateHosts:$updateHosts `
                -licenseFile $licenseFile `
                -assignPremiumPlan:$assignPremiumPlan `
                -shortcuts $shortcuts 

Scripts used to create container and cause the issue

$oldVerPath = "c:\Dev\Releases\app_4.0.1.1.app"
$appPath = "c:\Dev\Releases\app_4.0.1.2.app"
$countries = "dk"
$affixes = "PRE"
$validationResults = Run-AlValidation `
    -containerName "validbcserver" `
    -apps $appPath `
    -previousApps $oldVerPath `
    -affixes $affixes `
    -countries $countries `
    -validateCurrent true

Full output of scripts

BcContainerHelper version 3.0.0
BcContainerHelper emits usage statistics telemetry to Microsoft
  _____                               _                
 |  __ \                             | |               
 | |__) |_ _ _ __ __ _ _ __ ___   ___| |_ ___ _ __ ___ 
 |  ___/ _` | '__/ _` | '_ ` _ \ / _ \ __/ _ \ '__/ __|
 | |  | (_| | | | (_| | | | | | |  __/ |_  __/ |  \__ \
 |_|   \__,_|_|  \__,_|_| |_| |_|\___|\__\___|_|  |___/

Container name               true
Credential                   admin/Lefy4292
MemoryLimit                  8G
validateVersion              
validateCurrent              True
validateNextMinor            False
validateNextMajor            False
SasToken                     Not Specified
countries                    dk
validateCountries            dk
affixes                      FPL
supportedCountries           
vsixFile                     
Install Apps
- None
Previous Apps
- C:\Dev\Releases\app_4.0.1.1.app
Apps
- C:\Dev\Releases\app_4.0.1.2.app

  _____       _ _ _                                          _        _                            
 |  __ \     | | (_)                                        (_)      (_)                           
 | |__) |   _| | |_ _ __   __ _    __ _  ___ _ __   ___ _ __ _  ___   _ _ __ ___   __ _  __ _  ___ 
 |  ___/ | | | | | | '_ \ / _` |  / _` |/ _ \ '_ \ / _ \ '__| |/ __| | | '_ ` _ \ / _` |/ _` |/ _ \
 | |   | |_| | | | | | | | (_| | | (_| |  __/ | | |  __/ |  | | (__  | | | | | | | (_| | (_| |  __/
 |_|    \__,_|_|_|_|_| |_|\__, |  \__, |\___|_| |_|\___|_|  |_|\___| |_|_| |_| |_|\__,_|\__, |\___|
                           __/ |   __/ |                                                 __/ |     
                          |___/   |___/                                                 |___/      

Pulling mcr.microsoft.com/businesscentral:10.0.17763.2300-filesonly

Pulling generic image took 7 seconds
  _____       _                      _                         _   _  __           _       
 |  __ \     | |                    (_)                       | | (_)/ _|         | |      
 | |  | | ___| |_ ___ _ __ _ __ ___  _ _ __   ___    __ _ _ __| |_ _| |_ __ _  ___| |_ ___ 
 | |  | |/ _ \ __/ _ \ '__| '_ ` _ \| | '_ \ / _ \  / _` | '__| __| |  _/ _` |/ __| __/ __|
 | |__| |  __/ |_  __/ |  | | | | | | | | | |  __/ | (_| | |  | |_| | || (_| | (__| |_\__ \
 |_____/ \___|\__\___|_|  |_| |_| |_|_|_| |_|\___|  \__,_|_|   \__|_|_| \__,_|\___|\__|___/

Found https://bcartifacts.azureedge.net/sandbox/19.2.32968.34478/dk
Using https://bcartifacts.azureedge.net/sandbox/19.2.32968.34478/dk

   _____                _   _                               _        _                 
  / ____|              | | (_)                             | |      (_)                
 | |     _ __ ___  __ _| |_ _ _ __   __ _    ___ ___  _ __ | |_ __ _ _ _ __   ___ _ __ 
 | |    | '__/ _ \/ _` | __| | '_ \ / _` |  / __/ _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
 | |____| | |  __/ (_| | |_| | | | | (_| | | (__ (_) | | | | |_ (_| | | | | |  __/ |   
  \_____|_|  \___|\__,_|\__|_|_| |_|\__, |  \___\___/|_| |_|\__\__,_|_|_| |_|\___|_|   
                                     __/ |                                             
                                    |___/                                              

Creating container for country dk
BcContainerHelper is version 3.0.0
BcContainerHelper is running as administrator
Host is Microsoft Windows Server 2019 Datacenter - ltsc2019
Docker Client Version is 20.10.11
Docker Server Version is 20.10.11
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.17763.2300-filesonly
Creating Container true
Style: sandbox
Multitenant: Yes
Version: 19.2.32968.34478
Platform: 19.0.32956.34472
Generic Tag: 1.0.1.8
Container OS Version: 10.0.17763.2300 (ltsc2019)
Host OS Version: 10.0.17763.2366 (ltsc2019)
Using hyperv isolation
Using locale da-DK
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Downloading C:\ProgramData\BcContainerHelper\Extensions\true\Microsoft.VisualStudio.Services.VSIXPackage.vsix
Additional Parameters:
--env customNavSettings=EnableTaskScheduler=True
Files in C:\ProgramData\BcContainerHelper\Extensions\true\my:
- AdditionalOutput.ps1
- MainLoop.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container true from image mcr.microsoft.com/businesscentral:10.0.17763.2300-filesonly
c0c5f8a5663af945832f70524872b0d292d622bd6270deb5f9d1b6bebf302f97
New-BcContainer Telemetry Correlation Id: 6c687a15-f466-417c-a5b1-b861c3ac28f6
Unexpected error while validating app. Error is: docker: Error response from daemon: hcsshim::CreateComputeSystem c0c5f8a5663af945832
f70524872b0d292d622bd6270deb5f9d1b6bebf302f97: The virtual machine could not be started because a required feature is not installed.
ExitCode: 125
Commandline: docker run --volume "c:\bcartifacts.cache:c:\dl" --label nav= --env isBcSandbox=Y --label version=19.2.32968.34478 --lab
el platform=19.0.32956.34472 --label country=DK --env artifactUrl=https://bcartifacts.azureedge.net/sandbox/19.2.32968.34478/dk --env
 multitenant=Y --env licenseFile="" --name true --hostname true --env auth=NavUserPassword --env username="admin" --env ExitOnError=N
 --env locale=da-DK --env databaseServer="" --env databaseInstance="" --volume "C:\ProgramData\BcContainerHelper:C:\ProgramData\BcCon
tainerHelper" --volume "C:\ProgramData\BcContainerHelper\Extensions\true\my:C:\Run\my" --isolation hyperv --restart unless-stopped --
env filesOnly=True --memory 8G --env enableApiServices=Y --env useSSL=N --volume "c:\windows\system32\drivers\etc:C:\driversetc" --en
v securePassword=76492d1116743f0423413b16050a5345MgB8AEIAQQBCAHQAdwBOAE4AVQAvAEQAcQBhAGgAaQA4AE8AWgBWAEwARgAzAGcAPQA9AHwAYwA2ADMAOQA4
ADgANQBhADcAYQBkAGIAYQAyADEANgBjADMAYwBiADYAMABmAGMANwA1AGUAZQA4ADEANABmADcAMABhADMAMgAxADQAMABhADQANQA3ADYAMwAyADUANAA1ADkANwBmAGYAZ
ABjADAAOABmADQAYQA0ADkANwA= --env passwordKeyFile="c:\run\my\aes.key" --env removePasswordKeyFile=Y --env customNavSettings=EnableTas
kScheduler=True --env accept_eula=Y --env accept_outdated=Y --detach mcr.microsoft.com/businesscentral:10.0.17763.2300-filesonly
at DockerDo, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.0\HelperFunctions.ps1: line 135
at New-BcContainer, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.0\ContainerHandling\New-NavContainer.ps1: line 1
790
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.0\AppHandling\Run-AlValidation.ps1: line 304
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.0\AppHandling\Run-AlValidation.ps1: line 458
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.0\AppHandling\Run-AlValidation.ps1: line 422
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.0\AppHandling\Run-AlValidation.ps1: line 406
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.0\AppHandling\Run-AlValidation.ps1: line 377
at Run-AlValidation, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.0\AppHandling\Run-AlValidation.ps1: line 375
at <ScriptBlock>, C:\Dev\validate.ps1: line 6

  _____                           _                _____            _        _                 
 |  __ \                         (_)              / ____|          | |      (_)                
 | |__) |___ _ __ ___   _____   ___ _ __   __ _  | |     ___  _ __ | |_ __ _ _ _ __   ___ _ __ 
 |  _  // _ \ '_ ` _ \ / _ \ \ / / | '_ \ / _` | | |    / _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
 | | \ \  __/ | | | | | (_) \ V /| | | | | (_| | | |____ (_) | | | | |_ (_| | | | | |  __/ |   
 |_|  \_\___|_| |_| |_|\___/ \_/ |_|_| |_|\__, |  \_____\___/|_| |_|\__\__,_|_|_| |_|\___|_|   
                                           __/ |                                               
                                          |___/                                                

Removing true from container hosts file
Removing true-* from container hosts file
Removing C:\ProgramData\BcContainerHelper\Extensions\true

Removing container took 4 seconds

AL Validation finished in 33 seconds
 __      __   _ _     _       _   _               _____                _ _       
 \ \    / /  | (_)   | |     | | (_)             |  __ \              | | |      
  \ \  / /_ _| |_  __| | __ _| |_ _  ___  _ __   | |__) |___ ___ _   _| | |_ ___ 
   \ \/ / _` | | |/ _` |/ _` | __| |/ _ \| '_ \  |  _  // _ \ __| | | | | __/ __|
    \  / (_| | | | (_| | (_| | |_| | (_) | | | | | | \ \  __\__ \ |_| | | |_\__ \
     \/ \__,_|_|_|\__,_|\__,_|\__|_|\___/|_| |_| |_|  \_\___|___/\__,_|_|\__|___/

Unexpected error while validating app. Error is: docker: Error response from daemon: hcsshim::CreateComputeSystem c0c5f8a5663af945832
f70524872b0d292d622bd6270deb5f9d1b6bebf302f97: The virtual machine could not be started because a required feature is not installed.
ExitCode: 125
Commandline: docker run --volume "c:\bcartifacts.cache:c:\dl" --label nav= --env isBcSandbox=Y --label version=19.2.32968.34478 --lab
el platform=19.0.32956.34472 --label country=DK --env artifactUrl=https://bcartifacts.azureedge.net/sandbox/19.2.32968.34478/dk --env
 multitenant=Y --env licenseFile="" --name true --hostname true --env auth=NavUserPassword --env username="admin" --env ExitOnError=N
 --env locale=da-DK --env databaseServer="" --env databaseInstance="" --volume "C:\ProgramData\BcContainerHelper:C:\ProgramData\BcCon
tainerHelper" --volume "C:\ProgramData\BcContainerHelper\Extensions\true\my:C:\Run\my" --isolation hyperv --restart unless-stopped --
env filesOnly=True --memory 8G --env enableApiServices=Y --env useSSL=N --volume "c:\windows\system32\drivers\etc:C:\driversetc" --en
v securePassword=76492d1116743f0423413b16050a5345MgB8AEIAQQBCAHQAdwBOAE4AVQAvAEQAcQBhAGgAaQA4AE8AWgBWAEwARgAzAGcAPQA9AHwAYwA2ADMAOQA4
ADgANQBhADcAYQBkAGIAYQAyADEANgBjADMAYwBiADYAMABmAGMANwA1AGUAZQA4ADEANABmADcAMABhADMAMgAxADQAMABhADQANQA3ADYAMwAyADUANAA1ADkANwBmAGYAZ
ABjADAAOABmADQAYQA0ADkANwA= --env passwordKeyFile="c:\run\my\aes.key" --env removePasswordKeyFile=Y --env customNavSettings=EnableTas
kScheduler=True --env accept_eula=Y --env accept_outdated=Y --detach mcr.microsoft.com/businesscentral:10.0.17763.2300-filesonly
  _____                          ___      __   _ _     _       _   _               ______    _ _                
 |  __ \                   /\   | \ \    / /  | (_)   | |     | | (_)             |  ____|  (_) |               
 | |__) |   _ _ __ ______ /  \  | |\ \  / /_ _| |_  __| | __ _| |_ _  ___  _ __   | |__ __ _ _| |_   _ _ __ ___ 
 |  _  / | | | '_ \______/ /\ \ | | \ \/ / _` | | |/ _` |/ _` | __| |/ _ \| '_ \  |  __/ _` | | | | | | '__/ _ \
 | | \ \ |_| | | | |    / ____ \| |  \  / (_| | | | (_| | (_| | |_| | (_) | | | | | | | (_| | | | |_| | | |  __/
 |_|  \_\__,_|_| |_|   /_/    \_\_|   \/ \__,_|_|_|\__,_|\__,_|\__|_|\___/|_| |_| |_|  \__,_|_|_|\__,_|_|  \___|

Unexpected error while validating app. Error is: docker: Error response from daemon: hcsshim::CreateComputeSystem c0c5f8a5663af945832
f70524872b0d292d622bd6270deb5f9d1b6bebf302f97: The virtual machine could not be started because a required feature is not installed.
ExitCode: 125
Commandline: docker run --volume "c:\bcartifacts.cache:c:\dl" --label nav= --env isBcSandbox=Y --label version=19.2.32968.34478 --lab
el platform=19.0.32956.34472 --label country=DK --env artifactUrl=https://bcartifacts.azureedge.net/sandbox/19.2.32968.34478/dk --env
 multitenant=Y --env licenseFile="" --name true --hostname true --env auth=NavUserPassword --env username="admin" --env ExitOnError=N
 --env locale=da-DK --env databaseServer="" --env databaseInstance="" --volume "C:\ProgramData\BcContainerHelper:C:\ProgramData\BcCon
tainerHelper" --volume "C:\ProgramData\BcContainerHelper\Extensions\true\my:C:\Run\my" --isolation hyperv --restart unless-stopped --
env filesOnly=True --memory 8G --env enableApiServices=Y --env useSSL=N --volume "c:\windows\system32\drivers\etc:C:\driversetc" --en
v securePassword=76492d1116743f0423413b16050a5345MgB8AEIAQQBCAHQAdwBOAE4AVQAvAEQAcQBhAGgAaQA4AE8AWgBWAEwARgAzAGcAPQA9AHwAYwA2ADMAOQA4
ADgANQBhADcAYQBkAGIAYQAyADEANgBjADMAYwBiADYAMABmAGMANwA1AGUAZQA4ADEANABmADcAMABhADMAMgAxADQAMABhADQANQA3ADYAMwAyADUANAA1ADkANwBmAGYAZ
ABjADAAOABmADQAYQA0ADkANwA= --env passwordKeyFile="c:\run\my\aes.key" --env removePasswordKeyFile=Y --env customNavSettings=EnableTas
kScheduler=True --env accept_eula=Y --env accept_outdated=Y --detach mcr.microsoft.com/businesscentral:10.0.17763.2300-filesonly

Older docker version output:

WARNING: Parameter ImageName is no longer used in Run-AlValidation, please remove the parameter
  _____                               _                
 |  __ \                             | |               
 | |__) |_ _ _ __ __ _ _ __ ___   ___| |_ ___ _ __ ___ 
 |  ___/ _` | '__/ _` | '_ ` _ \ / _ \ __/ _ \ '__/ __|
 | |  | (_| | | | (_| | | | | | |  __/ |_  __/ |  \__ \
 |_|   \__,_|_|  \__,_|_| |_| |_|\___|\__\___|_|  |___/

Container name               validbcserver
Credential                   admin/Vuwo2281
MemoryLimit                  8G
validateVersion              
validateCurrent              True
validateNextMinor            False
validateNextMajor            False
SasToken                     Not Specified
countries                    dk
validateCountries            dk
affixes                      FPL
supportedCountries           
vsixFile                     
Install Apps
- None
Previous Apps
- C:\Dev\Releases\app_4.0.1.1.app
Apps
- C:\Dev\Releases\app_4.0.1.2.app

  _____       _ _ _                                          _        _                            
 |  __ \     | | (_)                                        (_)      (_)                           
 | |__) |   _| | |_ _ __   __ _    __ _  ___ _ __   ___ _ __ _  ___   _ _ __ ___   __ _  __ _  ___ 
 |  ___/ | | | | | | '_ \ / _` |  / _` |/ _ \ '_ \ / _ \ '__| |/ __| | | '_ ` _ \ / _` |/ _` |/ _ \
 | |   | |_| | | | | | | | (_| | | (_| |  __/ | | |  __/ |  | | (__  | | | | | | | (_| | (_| |  __/
 |_|    \__,_|_|_|_|_| |_|\__, |  \__, |\___|_| |_|\___|_|  |_|\___| |_|_| |_| |_|\__,_|\__, |\___|
                           __/ |   __/ |                                                 __/ |     
                          |___/   |___/                                                 |___/      

Pulling mcr.microsoft.com/businesscentral:10.0.14393.4770-filesonly

Pulling generic image took 95 seconds
  _____       _                      _                         _   _  __           _       
 |  __ \     | |                    (_)                       | | (_)/ _|         | |      
 | |  | | ___| |_ ___ _ __ _ __ ___  _ _ __   ___    __ _ _ __| |_ _| |_ __ _  ___| |_ ___ 
 | |  | |/ _ \ __/ _ \ '__| '_ ` _ \| | '_ \ / _ \  / _` | '__| __| |  _/ _` |/ __| __/ __|
 | |__| |  __/ |_  __/ |  | | | | | | | | | |  __/ | (_| | |  | |_| | || (_| | (__| |_\__ \
 |_____/ \___|\__\___|_|  |_| |_| |_|_|_| |_|\___|  \__,_|_|   \__|_|_| \__,_|\___|\__|___/

Found https://bcartifacts.azureedge.net/sandbox/19.2.32968.34478/dk
Using https://bcartifacts.azureedge.net/sandbox/19.2.32968.34478/dk

   _____                _   _                               _        _                 
  / ____|              | | (_)                             | |      (_)                
 | |     _ __ ___  __ _| |_ _ _ __   __ _    ___ ___  _ __ | |_ __ _ _ _ __   ___ _ __ 
 | |    | '__/ _ \/ _` | __| | '_ \ / _` |  / __/ _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
 | |____| | |  __/ (_| | |_| | | | | (_| | | (__ (_) | | | | |_ (_| | | | | |  __/ |   
  \_____|_|  \___|\__,_|\__|_|_| |_|\__, |  \___\___/|_| |_|\__\__,_|_|_| |_|\___|_|   
                                     __/ |                                             
                                    |___/                                              

Creating container for country dk
BcContainerHelper is version 3.0.0
BcContainerHelper is running as administrator
Host is Microsoft Windows Server 2016 Datacenter - ltsc2016
Docker Client Version is 18.09.2
Docker Server Version is 18.09.2
Downloading application artifact /sandbox/19.2.32968.34478/dk
Downloading C:\Users\AdminRoot\AppData\Local\Temp\6\afd3dd9e-8f9a-4fba-84cd-6a8274465239.zip
Unpacking application artifact to tmp folder using Expand-Archive
Downloading platform artifact /sandbox/19.2.32968.34478/platform
Downloading C:\Users\AdminRoot\AppData\Local\Temp\6\49c5e132-cb48-45a5-9498-c250be6259c4.zip
Unpacking platform artifact to tmp folder using Expand-Archive
Downloading Prerequisite Components
Downloading c:\bcartifacts.cache\sandbox\19.2.32968.34478\platform\Prerequisite Components\Open XML SDK 2.5 for Microsoft Office\OpenXMLSDKv25.msi
Downloading c:\bcartifacts.cache\sandbox\19.2.32968.34478\platform\Prerequisite Components\IIS URL Rewrite Module\rewrite_2.0_rtw_x64.msi
Downloading c:\bcartifacts.cache\sandbox\19.2.32968.34478\platform\Prerequisite Components\DotNetCore\DotNetCore.1.0.4_1.1.1-WindowsHosting.exe
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.14393.4770-filesonly
Creating Container validbcserver
Style: sandbox
Multitenant: Yes
Version: 19.2.32968.34478
Platform: 19.0.32956.34472
Generic Tag: 1.0.1.8
Container OS Version: 10.0.14393.4770 (ltsc2016)
Host OS Version: 10.0.14393.4825 (ltsc2016)
Using hyperv isolation
Using locale da-DK
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Downloading C:\ProgramData\BcContainerHelper\Extensions\validbcserver\Microsoft.VisualStudio.Services.VSIXPackage.vsix
Additional Parameters:
--env customNavSettings=EnableTaskScheduler=True
Files in C:\ProgramData\BcContainerHelper\Extensions\validbcserver\my:
- AdditionalOutput.ps1
- MainLoop.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container validbcserver from image mcr.microsoft.com/businesscentral:10.0.14393.4770-filesonly
5d9970c207ec5289de5b85f69a2b9ed3a551042826a5dbfbc9753ec86892f150
New-BcContainer Telemetry Correlation Id: 004f7c26-5262-43b0-9626-d12362a1c4e0
Unexpected error while validating app. Error is: docker.exe: Error response from daemon: CreateComputeSystem 5d9970c207ec5289de5b85f69a2b9ed3a551042826a5dbfbc9753ec86892f150: No hyperv
isor is present on this system.
[Event Detail: Cannot start Hyper-V Container '5d9970c207ec5289de5b85f69a2b9ed3a551042826a5dbfbc9753ec86892f150' since the hypervisor is not running in the host. Provider: 17103e3f-3c6
e-4677-bb17-3b267eb5be57 EventID: 12001]
(extra info: {"SystemType":"Container","Name":"5d9970c207ec5289de5b85f69a2b9ed3a551042826a5dbfbc9753ec86892f150","Owner":"docker","IgnoreFlushesDuringBoot":true,"LayerFolderPath":"C:\\
ProgramData\\Docker\\windowsfilter\\5d9970c207ec5289de5b85f69a2b9ed3a551042826a5dbfbc9753ec86892f150","Layers":[{"ID":"043fdb46-9295-5b3a-a1e9-1ffce569e2f5","Path":"C:\\ProgramData\\Do
cker\\windowsfilter\\525604a668d5dd875c5e6b200057ab8b8ddfd0c72075bcec8c092b61ef0bc307"},{"ID":"e6832974-0d04-5c73-bb56-fb7b6ab4f465","Path":"C:\\ProgramData\\Docker\\windowsfilter\\5a7
875418296576fe4bcf3a315ffc1f25827645f8e230c0e772004a31d4de7ed"},{"ID":"80a60a18-3d2f-5107-87cf-163af8e83a8e","Path":"C:\\ProgramData\\Docker\\windowsfilter\\01590a46d9b5be4ae42419cb6e8
7fa48391c4fcbc2ee5c5d96ef67e84e4524f3"},{"ID":"5669dbce-8ad4-526b-bd4d-10843b875b43","Path":"C:\\ProgramData\\Docker\\windowsfilter\\37e142f00c483df60a1271043c2fb1429f0d475c1ff16d601f1
f9af27cb03db0"},{"ID":"7ac42486-4895-5663-9f92-a263b4edda3f","Path":"C:\\ProgramData\\Docker\\windowsfilter\\74b06c3db34c6cb1cc33ab28a78ede2ed3e497c792153820872b7b85dab32eb1"},{"ID":"8
e1155b4-728e-5e88-83a3-35aad2cc96b7","Path":"C:\\ProgramData\\Docker\\windowsfilter\\d3e0dfc56eee11ca3d990491c5aee05283ab04020c7e56d72976f65e686a7b2b"},{"ID":"397df4d1-61f1-5fb0-999e-d
83103bfddd0","Path":"C:\\ProgramData\\Docker\\windowsfilter\\74928835b03f355280e7fb33ca77b71df041406d794ea46f13a9bcfc29c282e0"},{"ID":"e7bfe109-8868-52a8-9fd4-f63f1bcde001","Path":"C:\
\ProgramData\\Docker\\windowsfilter\\f566535c729845fa010573af4b0b0616f881f4abb9af52288b941a3503866a9f"},{"ID":"993bb7c3-c8cd-5334-b638-96ff14f03b8c","Path":"C:\\ProgramData\\Docker\\wi
ndowsfilter\\ee7b32dd7ef78e1115facda2720793081fe0e9cb43889386c0f39113fc616625"},{"ID":"b17a79be-e992-5fa9-a1bf-cd61beff17a6","Path":"C:\\ProgramData\\Docker\\windowsfilter\\12f5785a502
d95b91ccb3496ace385a390e27fda6c6d412ba094d7deff09f4b6"},{"ID":"99f9acf5-e5ca-5e2e-b4ee-467d130a4378","Path":"C:\\ProgramData\\Docker\\windowsfilter\\0e8a6c4f218f1b79ccbdda47e76aa1b63de
68af5bce365ec8a86a8481aa832a5"},{"ID":"41113c80-da25-57b9-a9ae-c7072ca9044b","Path":"C:\\ProgramData\\Docker\\windowsfilter\\0b0a070006aaec38a0f8a333dbb194bbd39476313e3165b0479c897422a
160b8"}],"MemoryMaximumInMB":8192,"HostName":"validbcserver","MappedDirectories":[{"HostPath":"c:\\bcartifacts.cache","ContainerPath":"c:\\dl","ReadOnly":false,"BandwidthMaximum":0,"IO
PSMaximum":0,"CreateInUtilityVM":false},{"HostPath":"c:\\windows\\system32\\drivers\\etc","ContainerPath":"c:\\driversetc","ReadOnly":false,"BandwidthMaximum":0,"IOPSMaximum":0,"Create
InUtilityVM":false},{"HostPath":"c:\\programdata\\bccontainerhelper","ContainerPath":"c:\\programdata\\bccontainerhelper","ReadOnly":false,"BandwidthMaximum":0,"IOPSMaximum":0,"CreateI
nUtilityVM":false},{"HostPath":"c:\\programdata\\bccontainerhelper\\extensions\\validbcserver\\my","ContainerPath":"c:\\run\\my","ReadOnly":false,"BandwidthMaximum":0,"IOPSMaximum":0,"
CreateInUtilityVM":false}],"HvPartition":true,"EndpointList":["42257f64-cac1-4f78-a7a2-532257800ca0"],"HvRuntime":{"ImagePath":"C:\\ProgramData\\Docker\\windowsfilter\\0e8a6c4f218f1b79
ccbdda47e76aa1b63de68af5bce365ec8a86a8481aa832a5\\UtilityVM"},"AllowUnqualifiedDNSQuery":true}).
ExitCode: 125
Commandline: docker run --volume "c:\bcartifacts.cache:c:\dl" --label nav= --env isBcSandbox=Y --label version=19.2.32968.34478 --label platform=19.0.32956.34472 --label country=DK --e
nv artifactUrl=https://bcartifacts.azureedge.net/sandbox/19.2.32968.34478/dk --env multitenant=Y --env licenseFile="" --name validbcserver --hostname validbcserver --env auth=NavUserPa
ssword --env username="admin" --env ExitOnError=N --env locale=da-DK --env databaseServer="" --env databaseInstance="" --volume "C:\ProgramData\BcContainerHelper:C:\ProgramData\BcConta
inerHelper" --volume "C:\ProgramData\BcContainerHelper\Extensions\validbcserver\my:C:\Run\my" --isolation hyperv --restart unless-stopped --env filesOnly=True --memory 8G --env enableA
piServices=Y --env useSSL=N --volume "c:\windows\system32\drivers\etc:C:\driversetc" --env securePassword=76492d1116743f0423413b16050a5345MgB8AHkATQBMAHQASAB1AHIAdABvAGQAQgBJADIAKwBPAG
gAeQB4AGgAZQBKAEEAPQA9AHwAMABhADYANgA5AGEAYwAwADkANAA1ADIAMQA1ADYAZgAxADYAYgBjADEAYQA0ADIAYwA2ADEAYwBjAGYANwBjADMAYQBiADQAOQBlADEAZAAwAGIAZAAyADAANAA4ADgAMAAwAGMAMAAxAGEANwAyADQAZABkAD
AAMgAxADgAMQA= --env passwordKeyFile="c:\run\my\aes.key" --env removePasswordKeyFile=Y --env customNavSettings=EnableTaskScheduler=True --env accept_eula=Y --env accept_outdated=Y --de
tach mcr.microsoft.com/businesscentral:10.0.14393.4770-filesonly
at DockerDo, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.0\HelperFunctions.ps1: line 135
at New-BcContainer, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.0\ContainerHandling\New-NavContainer.ps1: line 1790
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.0\AppHandling\Run-AlValidation.ps1: line 304
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.0\AppHandling\Run-AlValidation.ps1: line 458
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.0\AppHandling\Run-AlValidation.ps1: line 422
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.0\AppHandling\Run-AlValidation.ps1: line 406
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.0\AppHandling\Run-AlValidation.ps1: line 377
at Run-AlValidation, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.0\AppHandling\Run-AlValidation.ps1: line 375
at <ScriptBlock>, C:\Development\validate.ps1: line 6

  _____                           _                _____            _        _                 
 |  __ \                         (_)              / ____|          | |      (_)                
 | |__) |___ _ __ ___   _____   ___ _ __   __ _  | |     ___  _ __ | |_ __ _ _ _ __   ___ _ __ 
 |  _  // _ \ '_ ` _ \ / _ \ \ / / | '_ \ / _` | | |    / _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
 | | \ \  __/ | | | | | (_) \ V /| | | | | (_| | | |____ (_) | | | | |_ (_| | | | | |  __/ |   
 |_|  \_\___|_| |_| |_|\___/ \_/ |_|_| |_|\__, |  \_____\___/|_| |_|\__\__,_|_|_| |_|\___|_|   
                                           __/ |                                               
                                          |___/                                                

Removing validbcserver from container hosts file
Removing validbcserver-* from container hosts file
Removing C:\ProgramData\BcContainerHelper\Extensions\validbcserver

Removing container took 1 seconds

AL Validation finished in 195 seconds
 __      __   _ _     _       _   _               _____                _ _       
 \ \    / /  | (_)   | |     | | (_)             |  __ \              | | |      
  \ \  / /_ _| |_  __| | __ _| |_ _  ___  _ __   | |__) |___ ___ _   _| | |_ ___ 
   \ \/ / _` | | |/ _` |/ _` | __| |/ _ \| '_ \  |  _  // _ \ __| | | | | __/ __|
    \  / (_| | | | (_| | (_| | |_| | (_) | | | | | | \ \  __\__ \ |_| | | |_\__ \
     \/ \__,_|_|_|\__,_|\__,_|\__|_|\___/|_| |_| |_|  \_\___|___/\__,_|_|\__|___/

Unexpected error while validating app. Error is: docker.exe: Error response from daemon: CreateComputeSystem 5d9970c207ec5289de5b85f69a2b9ed3a551042826a5dbfbc9753ec86892f150: No hyperv
isor is present on this system.
[Event Detail: Cannot start Hyper-V Container '5d9970c207ec5289de5b85f69a2b9ed3a551042826a5dbfbc9753ec86892f150' since the hypervisor is not running in the host. Provider: 17103e3f-3c6
e-4677-bb17-3b267eb5be57 EventID: 12001]
(extra info: {"SystemType":"Container","Name":"5d9970c207ec5289de5b85f69a2b9ed3a551042826a5dbfbc9753ec86892f150","Owner":"docker","IgnoreFlushesDuringBoot":true,"LayerFolderPath":"C:\\
ProgramData\\Docker\\windowsfilter\\5d9970c207ec5289de5b85f69a2b9ed3a551042826a5dbfbc9753ec86892f150","Layers":[{"ID":"043fdb46-9295-5b3a-a1e9-1ffce569e2f5","Path":"C:\\ProgramData\\Do
cker\\windowsfilter\\525604a668d5dd875c5e6b200057ab8b8ddfd0c72075bcec8c092b61ef0bc307"},{"ID":"e6832974-0d04-5c73-bb56-fb7b6ab4f465","Path":"C:\\ProgramData\\Docker\\windowsfilter\\5a7
875418296576fe4bcf3a315ffc1f25827645f8e230c0e772004a31d4de7ed"},{"ID":"80a60a18-3d2f-5107-87cf-163af8e83a8e","Path":"C:\\ProgramData\\Docker\\windowsfilter\\01590a46d9b5be4ae42419cb6e8
7fa48391c4fcbc2ee5c5d96ef67e84e4524f3"},{"ID":"5669dbce-8ad4-526b-bd4d-10843b875b43","Path":"C:\\ProgramData\\Docker\\windowsfilter\\37e142f00c483df60a1271043c2fb1429f0d475c1ff16d601f1
f9af27cb03db0"},{"ID":"7ac42486-4895-5663-9f92-a263b4edda3f","Path":"C:\\ProgramData\\Docker\\windowsfilter\\74b06c3db34c6cb1cc33ab28a78ede2ed3e497c792153820872b7b85dab32eb1"},{"ID":"8
e1155b4-728e-5e88-83a3-35aad2cc96b7","Path":"C:\\ProgramData\\Docker\\windowsfilter\\d3e0dfc56eee11ca3d990491c5aee05283ab04020c7e56d72976f65e686a7b2b"},{"ID":"397df4d1-61f1-5fb0-999e-d
83103bfddd0","Path":"C:\\ProgramData\\Docker\\windowsfilter\\74928835b03f355280e7fb33ca77b71df041406d794ea46f13a9bcfc29c282e0"},{"ID":"e7bfe109-8868-52a8-9fd4-f63f1bcde001","Path":"C:\
\ProgramData\\Docker\\windowsfilter\\f566535c729845fa010573af4b0b0616f881f4abb9af52288b941a3503866a9f"},{"ID":"993bb7c3-c8cd-5334-b638-96ff14f03b8c","Path":"C:\\ProgramData\\Docker\\wi
ndowsfilter\\ee7b32dd7ef78e1115facda2720793081fe0e9cb43889386c0f39113fc616625"},{"ID":"b17a79be-e992-5fa9-a1bf-cd61beff17a6","Path":"C:\\ProgramData\\Docker\\windowsfilter\\12f5785a502
d95b91ccb3496ace385a390e27fda6c6d412ba094d7deff09f4b6"},{"ID":"99f9acf5-e5ca-5e2e-b4ee-467d130a4378","Path":"C:\\ProgramData\\Docker\\windowsfilter\\0e8a6c4f218f1b79ccbdda47e76aa1b63de
68af5bce365ec8a86a8481aa832a5"},{"ID":"41113c80-da25-57b9-a9ae-c7072ca9044b","Path":"C:\\ProgramData\\Docker\\windowsfilter\\0b0a070006aaec38a0f8a333dbb194bbd39476313e3165b0479c897422a
160b8"}],"MemoryMaximumInMB":8192,"HostName":"validbcserver","MappedDirectories":[{"HostPath":"c:\\bcartifacts.cache","ContainerPath":"c:\\dl","ReadOnly":false,"BandwidthMaximum":0,"IO
PSMaximum":0,"CreateInUtilityVM":false},{"HostPath":"c:\\windows\\system32\\drivers\\etc","ContainerPath":"c:\\driversetc","ReadOnly":false,"BandwidthMaximum":0,"IOPSMaximum":0,"Create
InUtilityVM":false},{"HostPath":"c:\\programdata\\bccontainerhelper","ContainerPath":"c:\\programdata\\bccontainerhelper","ReadOnly":false,"BandwidthMaximum":0,"IOPSMaximum":0,"CreateI
nUtilityVM":false},{"HostPath":"c:\\programdata\\bccontainerhelper\\extensions\\validbcserver\\my","ContainerPath":"c:\\run\\my","ReadOnly":false,"BandwidthMaximum":0,"IOPSMaximum":0,"
CreateInUtilityVM":false}],"HvPartition":true,"EndpointList":["42257f64-cac1-4f78-a7a2-532257800ca0"],"HvRuntime":{"ImagePath":"C:\\ProgramData\\Docker\\windowsfilter\\0e8a6c4f218f1b79
ccbdda47e76aa1b63de68af5bce365ec8a86a8481aa832a5\\UtilityVM"},"AllowUnqualifiedDNSQuery":true}).
ExitCode: 125
Commandline: docker run --volume "c:\bcartifacts.cache:c:\dl" --label nav= --env isBcSandbox=Y --label version=19.2.32968.34478 --label platform=19.0.32956.34472 --label country=DK --e
nv artifactUrl=https://bcartifacts.azureedge.net/sandbox/19.2.32968.34478/dk --env multitenant=Y --env licenseFile="" --name validbcserver --hostname validbcserver --env auth=NavUserPa
ssword --env username="admin" --env ExitOnError=N --env locale=da-DK --env databaseServer="" --env databaseInstance="" --volume "C:\ProgramData\BcContainerHelper:C:\ProgramData\BcConta
inerHelper" --volume "C:\ProgramData\BcContainerHelper\Extensions\validbcserver\my:C:\Run\my" --isolation hyperv --restart unless-stopped --env filesOnly=True --memory 8G --env enableA
piServices=Y --env useSSL=N --volume "c:\windows\system32\drivers\etc:C:\driversetc" --env securePassword=76492d1116743f0423413b16050a5345MgB8AHkATQBMAHQASAB1AHIAdABvAGQAQgBJADIAKwBPAG
gAeQB4AGgAZQBKAEEAPQA9AHwAMABhADYANgA5AGEAYwAwADkANAA1ADIAMQA1ADYAZgAxADYAYgBjADEAYQA0ADIAYwA2ADEAYwBjAGYANwBjADMAYQBiADQAOQBlADEAZAAwAGIAZAAyADAANAA4ADgAMAAwAGMAMAAxAGEANwAyADQAZABkAD
AAMgAxADgAMQA= --env passwordKeyFile="c:\run\my\aes.key" --env removePasswordKeyFile=Y --env customNavSettings=EnableTaskScheduler=True --env accept_eula=Y --env accept_outdated=Y --de
tach mcr.microsoft.com/businesscentral:10.0.14393.4770-filesonly
  _____                          ___      __   _ _     _       _   _               ______    _ _                
 |  __ \                   /\   | \ \    / /  | (_)   | |     | | (_)             |  ____|  (_) |               
 | |__) |   _ _ __ ______ /  \  | |\ \  / /_ _| |_  __| | __ _| |_ _  ___  _ __   | |__ __ _ _| |_   _ _ __ ___ 
 |  _  / | | | '_ \______/ /\ \ | | \ \/ / _` | | |/ _` |/ _` | __| |/ _ \| '_ \  |  __/ _` | | | | | | '__/ _ \
 | | \ \ |_| | | | |    / ____ \| |  \  / (_| | | | (_| | (_| | |_| | (_) | | | | | | | (_| | | | |_| | | |  __/
 |_|  \_\__,_|_| |_|   /_/    \_\_|   \/ \__,_|_|_|\__,_|\__,_|\__|_|\___/|_| |_| |_|  \__,_|_|_|\__,_|_|  \___|

Unexpected error while validating app. Error is: docker.exe: Error response from daemon: CreateComputeSystem 5d9970c207ec5289de5b85f69a2b9ed3a551042826a5dbfbc9753ec86892f150: No hyperv
isor is present on this system.
[Event Detail: Cannot start Hyper-V Container '5d9970c207ec5289de5b85f69a2b9ed3a551042826a5dbfbc9753ec86892f150' since the hypervisor is not running in the host. Provider: 17103e3f-3c6
e-4677-bb17-3b267eb5be57 EventID: 12001]
(extra info: {"SystemType":"Container","Name":"5d9970c207ec5289de5b85f69a2b9ed3a551042826a5dbfbc9753ec86892f150","Owner":"docker","IgnoreFlushesDuringBoot":true,"LayerFolderPath":"C:\\
ProgramData\\Docker\\windowsfilter\\5d9970c207ec5289de5b85f69a2b9ed3a551042826a5dbfbc9753ec86892f150","Layers":[{"ID":"043fdb46-9295-5b3a-a1e9-1ffce569e2f5","Path":"C:\\ProgramData\\Do
cker\\windowsfilter\\525604a668d5dd875c5e6b200057ab8b8ddfd0c72075bcec8c092b61ef0bc307"},{"ID":"e6832974-0d04-5c73-bb56-fb7b6ab4f465","Path":"C:\\ProgramData\\Docker\\windowsfilter\\5a7
875418296576fe4bcf3a315ffc1f25827645f8e230c0e772004a31d4de7ed"},{"ID":"80a60a18-3d2f-5107-87cf-163af8e83a8e","Path":"C:\\ProgramData\\Docker\\windowsfilter\\01590a46d9b5be4ae42419cb6e8
7fa48391c4fcbc2ee5c5d96ef67e84e4524f3"},{"ID":"5669dbce-8ad4-526b-bd4d-10843b875b43","Path":"C:\\ProgramData\\Docker\\windowsfilter\\37e142f00c483df60a1271043c2fb1429f0d475c1ff16d601f1
f9af27cb03db0"},{"ID":"7ac42486-4895-5663-9f92-a263b4edda3f","Path":"C:\\ProgramData\\Docker\\windowsfilter\\74b06c3db34c6cb1cc33ab28a78ede2ed3e497c792153820872b7b85dab32eb1"},{"ID":"8
e1155b4-728e-5e88-83a3-35aad2cc96b7","Path":"C:\\ProgramData\\Docker\\windowsfilter\\d3e0dfc56eee11ca3d990491c5aee05283ab04020c7e56d72976f65e686a7b2b"},{"ID":"397df4d1-61f1-5fb0-999e-d
83103bfddd0","Path":"C:\\ProgramData\\Docker\\windowsfilter\\74928835b03f355280e7fb33ca77b71df041406d794ea46f13a9bcfc29c282e0"},{"ID":"e7bfe109-8868-52a8-9fd4-f63f1bcde001","Path":"C:\
\ProgramData\\Docker\\windowsfilter\\f566535c729845fa010573af4b0b0616f881f4abb9af52288b941a3503866a9f"},{"ID":"993bb7c3-c8cd-5334-b638-96ff14f03b8c","Path":"C:\\ProgramData\\Docker\\wi
ndowsfilter\\ee7b32dd7ef78e1115facda2720793081fe0e9cb43889386c0f39113fc616625"},{"ID":"b17a79be-e992-5fa9-a1bf-cd61beff17a6","Path":"C:\\ProgramData\\Docker\\windowsfilter\\12f5785a502
d95b91ccb3496ace385a390e27fda6c6d412ba094d7deff09f4b6"},{"ID":"99f9acf5-e5ca-5e2e-b4ee-467d130a4378","Path":"C:\\ProgramData\\Docker\\windowsfilter\\0e8a6c4f218f1b79ccbdda47e76aa1b63de
68af5bce365ec8a86a8481aa832a5"},{"ID":"41113c80-da25-57b9-a9ae-c7072ca9044b","Path":"C:\\ProgramData\\Docker\\windowsfilter\\0b0a070006aaec38a0f8a333dbb194bbd39476313e3165b0479c897422a
160b8"}],"MemoryMaximumInMB":8192,"HostName":"validbcserver","MappedDirectories":[{"HostPath":"c:\\bcartifacts.cache","ContainerPath":"c:\\dl","ReadOnly":false,"BandwidthMaximum":0,"IO
PSMaximum":0,"CreateInUtilityVM":false},{"HostPath":"c:\\windows\\system32\\drivers\\etc","ContainerPath":"c:\\driversetc","ReadOnly":false,"BandwidthMaximum":0,"IOPSMaximum":0,"Create
InUtilityVM":false},{"HostPath":"c:\\programdata\\bccontainerhelper","ContainerPath":"c:\\programdata\\bccontainerhelper","ReadOnly":false,"BandwidthMaximum":0,"IOPSMaximum":0,"CreateI
nUtilityVM":false},{"HostPath":"c:\\programdata\\bccontainerhelper\\extensions\\validbcserver\\my","ContainerPath":"c:\\run\\my","ReadOnly":false,"BandwidthMaximum":0,"IOPSMaximum":0,"
CreateInUtilityVM":false}],"HvPartition":true,"EndpointList":["42257f64-cac1-4f78-a7a2-532257800ca0"],"HvRuntime":{"ImagePath":"C:\\ProgramData\\Docker\\windowsfilter\\0e8a6c4f218f1b79
ccbdda47e76aa1b63de68af5bce365ec8a86a8481aa832a5\\UtilityVM"},"AllowUnqualifiedDNSQuery":true}).
ExitCode: 125
Commandline: docker run --volume "c:\bcartifacts.cache:c:\dl" --label nav= --env isBcSandbox=Y --label version=19.2.32968.34478 --label platform=19.0.32956.34472 --label country=DK --e
nv artifactUrl=https://bcartifacts.azureedge.net/sandbox/19.2.32968.34478/dk --env multitenant=Y --env licenseFile="" --name validbcserver --hostname validbcserver --env auth=NavUserPa
ssword --env username="admin" --env ExitOnError=N --env locale=da-DK --env databaseServer="" --env databaseInstance="" --volume "C:\ProgramData\BcContainerHelper:C:\ProgramData\BcConta
inerHelper" --volume "C:\ProgramData\BcContainerHelper\Extensions\validbcserver\my:C:\Run\my" --isolation hyperv --restart unless-stopped --env filesOnly=True --memory 8G --env enableA
piServices=Y --env useSSL=N --volume "c:\windows\system32\drivers\etc:C:\driversetc" --env securePassword=76492d1116743f0423413b16050a5345MgB8AHkATQBMAHQASAB1AHIAdABvAGQAQgBJADIAKwBPAG
gAeQB4AGgAZQBKAEEAPQA9AHwAMABhADYANgA5AGEAYwAwADkANAA1ADIAMQA1ADYAZgAxADYAYgBjADEAYQA0ADIAYwA2ADEAYwBjAGYANwBjADMAYQBiADQAOQBlADEAZAAwAGIAZAAyADAANAA4ADgAMAAwAGMAMAAxAGEANwAyADQAZABkAD
AAMgAxADgAMQA= --env passwordKeyFile="c:\run\my\aes.key" --env removePasswordKeyFile=Y --env customNavSettings=EnableTaskScheduler=True --env accept_eula=Y --env accept_outdated=Y --de
tach mcr.microsoft.com/businesscentral:10.0.14393.4770-filesonly

Screenshots none applicable

Additional context

freddydk commented 2 years ago

It looks like something went wrong during generation of filesonly generic images in december, so when you had the latest windows update on your host, it couldn't find a matching generic image and reverted to hyperv isolation (which you do not have installed on your machine).

The Generic image should be in place now, you can retry. If you install hyperv, then this won't fail next time, instead it will just use hyperv.

There might always be a window from the time where people upgrade their host computer and until generic images are in place (not many weeks:-)), therefore I always suggest that people have hyperv installed.

PaulFurlet commented 2 years ago

@freddydk Thank you for the answer. These are virtual machines with Windows Server 2019 Datacenter (2016 Datacenter where older docker is) created in Azure, they have Hyper-V installed by default. I will try to remove docker image with -filesonly name, probably it will recreate it and go correct next time.

freddydk commented 2 years ago

Not necessary - you can just re-run now, the new image is there.

freddydk commented 2 years ago

on Hyperv - the error above is: [Event Detail: Cannot start Hyper-V Container '5d9970c207ec5289de5b85f69a2b9ed3a551042826a5dbfbc9753ec86892f150' since the hypervisor is not running in the host.

Which lead me to assume that something is not running.

but again - the new generic image is there and should be auto-pulled.

PaulFurlet commented 2 years ago

@freddydk Thanks, all went smoothly this time.

mykolaichuk commented 2 years ago

Hello @freddydk!

I've got the same error today.

BcContainerHelper is version 3.0.1
BcContainerHelper is running as administrator
Host is Microsoft Windows Server 2016 Standard - ltsc2016
Docker Client Version is 20.10.5
Docker Server Version is 20.10.5
Removing bc from container hosts file
Removing bc-* from container hosts file
Removing C:\ProgramData\BcContainerHelper\Extensions\bc
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.14393.4886
Creating Container bc
Style: sandbox
Multitenant: No
Version: 20.0.35891.0
Platform: 20.0.35749.0
Generic Tag: 1.0.2.1
Container OS Version: 10.0.14393.4886 (ltsc2016)
Host OS Version: 10.0.14393.4889 (ltsc2016)
Using hyperv isolation
Using locale en-US
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Downloading C:\ProgramData\BcContainerHelper\Extensions\bc\Microsoft.VisualStudio.Services.VSIXPackage.vsix
Using license file C:\agent\_work\1\s\Scripts\DevOps\TestSanaOnDailyBCBuild\Lic\lic.flf
Files in C:\ProgramData\BcContainerHelper\Extensions\bc\my:
- AdditionalOutput.ps1
- license.flf
- MainLoop.ps1
- SetupNavUsers.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container bc from image mcr.microsoft.com/businesscentral:10.0.14393.4886
2a31bf6a7c408d985cd48ea7e23977a808602a2ab3723cd3600b326c2412a613
New-BcContainer Telemetry Correlation Id: 38caba1f-ca4b-446a-b670-7eaeb4440032
DockerDo : docker: Error response from daemon: hcsshim::CreateComputeSystem
2a31bf6a7c408d985cd48ea7e23977a808602a2ab3723cd3600b326c2412a613: No hypervisor is present on this system.
[Event Detail: Cannot start Hyper-V Container '2a31bf6a7c408d985cd48ea7e23977a808602a2ab3723cd3600b326c2412a613' since
the hypervisor is not running in the host. Provider: 17103e3f-3c6e-4677-bb17-3b267eb5be57 EventID: 12001]
(extra info: {"SystemType":"Container","Name":"2a31bf6a7c408d985cd48ea7e23977a808602a2ab3723cd3600b326c2412a613","Owner
":"docker","IgnoreFlushesDuringBoot":true,"LayerFolderPath":"C:\\ProgramData\\docker\\windowsfilter\\2a31bf6a7c408d985c
d48ea7e23977a808602a2ab3723cd3600b326c2412a613","Layers":[{"ID":"922160b9-8c7c-5f2f-acbc-e37eee66539c","Path":"C:\\Prog

Could you provide me with troubleshooting steps here, please?

mykolaichuk commented 2 years ago

Hello @freddydk!

I've got the same error today.

BcContainerHelper is version 3.0.1
BcContainerHelper is running as administrator
Host is Microsoft Windows Server 2016 Standard - ltsc2016
Docker Client Version is 20.10.5
Docker Server Version is 20.10.5
Removing bc from container hosts file
Removing bc-* from container hosts file
Removing C:\ProgramData\BcContainerHelper\Extensions\bc
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.14393.4886
Creating Container bc
Style: sandbox
Multitenant: No
Version: 20.0.35891.0
Platform: 20.0.35749.0
Generic Tag: 1.0.2.1
Container OS Version: 10.0.14393.4886 (ltsc2016)
Host OS Version: 10.0.14393.4889 (ltsc2016)
Using hyperv isolation
Using locale en-US
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Downloading C:\ProgramData\BcContainerHelper\Extensions\bc\Microsoft.VisualStudio.Services.VSIXPackage.vsix
Using license file C:\agent\_work\1\s\Scripts\DevOps\TestSanaOnDailyBCBuild\Lic\lic.flf
Files in C:\ProgramData\BcContainerHelper\Extensions\bc\my:
- AdditionalOutput.ps1
- license.flf
- MainLoop.ps1
- SetupNavUsers.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container bc from image mcr.microsoft.com/businesscentral:10.0.14393.4886
2a31bf6a7c408d985cd48ea7e23977a808602a2ab3723cd3600b326c2412a613
New-BcContainer Telemetry Correlation Id: 38caba1f-ca4b-446a-b670-7eaeb4440032
DockerDo : docker: Error response from daemon: hcsshim::CreateComputeSystem
2a31bf6a7c408d985cd48ea7e23977a808602a2ab3723cd3600b326c2412a613: No hypervisor is present on this system.
[Event Detail: Cannot start Hyper-V Container '2a31bf6a7c408d985cd48ea7e23977a808602a2ab3723cd3600b326c2412a613' since
the hypervisor is not running in the host. Provider: 17103e3f-3c6e-4677-bb17-3b267eb5be57 EventID: 12001]
(extra info: {"SystemType":"Container","Name":"2a31bf6a7c408d985cd48ea7e23977a808602a2ab3723cd3600b326c2412a613","Owner
":"docker","IgnoreFlushesDuringBoot":true,"LayerFolderPath":"C:\\ProgramData\\docker\\windowsfilter\\2a31bf6a7c408d985c
d48ea7e23977a808602a2ab3723cd3600b326c2412a613","Layers":[{"ID":"922160b9-8c7c-5f2f-acbc-e37eee66539c","Path":"C:\\Prog

Could you provide me with troubleshooting steps here, please?

@freddydk freddydk I removed KB5010790 and now everything works fine on 14393.4886 build. Please check what's affects container in 14393.4889.

freddydk commented 2 years ago

The problem occurs when your host computer is upgraded before the corresponding generic images have been shipped. BcContainerHelper will default to HyperV isolation if host OS doesn't match container OS (for Windows Server 2016, Windows Server 2019 and Windows 10). Since your computer doesn't have hyperv installed, it fails. There isn't much I can do about that. If you install hyperv on the machine, it won't fail next time. The generic images for February Windows Updates should be out today.

SubtiltyCobra commented 9 months ago

I have similar issue. Screenshot_2

SubtiltyCobra commented 9 months ago

I have similar issue. Screenshot_2

I read through this issue and i still haven't solved problem.