Skip to content

Instantly share code, notes, and snippets.

@klauern
Created August 4, 2018 02:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save klauern/f6f54a324a94c8607e56aa2c7b940762 to your computer and use it in GitHub Desktop.
Save klauern/f6f54a324a94c8607e56aa2c7b940762 to your computer and use it in GitHub Desktop.
minishift start on personal laptop fails with nameserver issues
C:\Users\klauer
λ minishift stop; minishift delete --force --clear-cache
The 'discourse' VM is already stopped.
Removed cache content at: 'C:\Users\klauer\.minishift\cache'
Deleting the Minishift VM...
Minishift VM deleted.
C:\Users\klauer
λ minishift start --show-libmachine-logs -v5
-- minishift version: v1.22.0+7163416e
-- Starting profile 'discourse'
-- Check if deprecated options are used ... OK
-- Checking if https://github.com is reachable ... OK
-- Checking if requested OpenShift version 'v3.9.0' is valid ... OK
-- Checking if requested OpenShift version 'v3.9.0' is supported ... OK
-- Checking if requested hypervisor 'hyperv' is supported on this platform ... OK
-- Checking if Hyper-V driver is installed ... OK
-- Checking if Hyper-V driver is configured to use a Virtual Switch ...
'Default Switch' ... OK
-- Checking if user is a member of the Hyper-V Administrators group ... OK
-- Checking the ISO URL ... OK
-- Downloading OpenShift binary 'oc' version 'v3.9.0'
40.81 MiB / 40.81 MiB [=================================================================================================================================================] 100.00% 0s-- Downloading OpenShift v3.9.0 checksums ... OK
-- Checking if provided oc flags are supported ... OK
-- Starting the OpenShift cluster using 'hyperv' hypervisor ...
-- Minishift VM will be configured with ...
Memory: 2 GB
vCPUs : 2
Disk size: 20 GB
Downloading ISO 'https://github.com/minishift/minishift-centos-iso/releases/download/v1.12.0/minishift-centos7.iso'
344.00 MiB / 344.00 MiB [===============================================================================================================================================] 100.00% 0s -- Starting Minishift VM ....Found binary path at C:\Users\klauer\go\bin\minishift.exe
Launching plugin server for driver hyperv
Plugin server listening at address 127.0.0.1:59893
() Calling .GetVersion
Using API Version 1
() Calling .SetConfigRaw
() Calling .GetMachineName
(discourse) Calling .GetMachineName
(discourse) Calling .DriverName
Reading certificate data from C:\Users\klauer\.minishift\profiles\discourse\certs\ca.pem
Decoding PEM data...
Parsing certificate...
Reading certificate data from C:\Users\klauer\.minishift\profiles\discourse\certs\cert.pem
Decoding PEM data...
Parsing certificate...
Running pre-create checks...
(discourse) Calling .PreCreateCheck
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive @(Get-Module -ListAvailable hyper-v).Name | Get-Unique
(discourse) DBG | [stdout =====>] : Hyper-V
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) 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")
(discourse) DBG | [stdout =====>] : True
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (Hyper-V\Get-VMSwitch).Name
.(discourse) DBG | [stdout =====>] : Default Switch
(discourse) DBG | DockerNAT
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) Calling .GetConfigRaw
Creating machine...
(discourse) Calling .Create
(discourse) Downloading C:\Users\klauer\.minishift\profiles\discourse\cache\boot2docker.iso from file://C:/Users/klauer/.minishift/cache/iso/centos/v1.12.0/minishift-centos7.iso...
(discourse) Creating SSH key...
(discourse) Creating VM...
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (Hyper-V\Get-VMSwitch).Name
(discourse) DBG | [stdout =====>] : Default Switch
(discourse) Using switch "Default Switch"
(discourse) DBG | DockerNAT
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive @([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")
.(discourse) DBG | [stdout =====>] : False
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) Creating VHD
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive Hyper-V\New-VHD -Path 'C:\Users\klauer\.minishift\profiles\discourse\machines\discourse\fixed.vhd' -SizeBytes 20000MB -Fixed
.........(discourse) DBG | [stdout =====>] :
(discourse) DBG |
(discourse) DBG | ComputerName : KLAUERXPS
(discourse) DBG | Path : C:\Users\klauer\.minishift\profiles\discourse\machines\discourse\fixed.vhd
(discourse) DBG | VhdFormat : VHD
(discourse) DBG | VhdType : Fixed
(discourse) DBG | FileSize : 20971520512
(discourse) DBG | Size : 20971520000
(discourse) DBG | MinimumSize :
(discourse) DBG | LogicalSectorSize : 512
(discourse) DBG | PhysicalSectorSize : 512
(discourse) DBG | BlockSize : 0
(discourse) DBG | ParentPath :
(discourse) DBG | DiskIdentifier : A70BEB19-6C7D-452A-A6A2-C9FD9228BD4C
(discourse) DBG | FragmentationPercentage : 0
(discourse) DBG | Alignment : 1
(discourse) DBG | Attached : False
(discourse) DBG | DiskNumber :
(discourse) DBG | IsPMEMCompatible : False
(discourse) DBG | AddressAbstractionType : None
(discourse) DBG | Number :
(discourse) DBG |
(discourse) DBG |
(discourse) DBG |
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | Writing magic tar header
(discourse) DBG | Writing SSH key tar header
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive Hyper-V\Convert-VHD -Path 'C:\Users\klauer\.minishift\profiles\discourse\machines\discourse\fixed.vhd' -DestinationPath 'C:\Users\klauer\.minishift\profiles\discourse\machines\discourse\disk.vhd' -VHDType Dynamic -DeleteSource
....(discourse) DBG | [stdout =====>] :
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive Hyper-V\New-VM discourse -Path 'C:\Users\klauer\.minishift\profiles\discourse\machines\discourse' -SwitchName 'Default Switch' -MemoryStartupBytes 2048MB
.(discourse) DBG | [stdout =====>] :
(discourse) DBG | Name State CPUUsage(%) MemoryAssigned(M) Uptime Status Version
(discourse) DBG | ---- ----- ----------- ----------------- ------ ------ -------
(discourse) DBG | discourse Off 0 0 00:00:00 Operating normally 9.0
(discourse) DBG |
(discourse) DBG |
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive Hyper-V\Set-VMProcessor discourse -Count 2
.(discourse) DBG | [stdout =====>] :
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive Hyper-V\Set-VMDvdDrive -VMName discourse -Path 'C:\Users\klauer\.minishift\profiles\discourse\machines\discourse\boot2docker.iso'
(discourse) DBG | [stdout =====>] :
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive Hyper-V\Add-VMHardDiskDrive -VMName discourse -Path 'C:\Users\klauer\.minishift\profiles\discourse\machines\discourse\disk.vhd'
.(discourse) DBG | [stdout =====>] :
(discourse) Starting VM...
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive Hyper-V\Start-VM discourse
(discourse) DBG | [stdout =====>] :
(discourse) Waiting for host to start...
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
.(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM discourse ).networkadapters[0]).ipaddresses[0]
(discourse) DBG | [stdout =====>] :
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
.(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM discourse ).networkadapters[0]).ipaddresses[0]
(discourse) DBG | [stdout =====>] :
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM discourse ).networkadapters[0]).ipaddresses[0]
.(discourse) DBG | [stdout =====>] :
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM discourse ).networkadapters[0]).ipaddresses[0]
.(discourse) DBG | [stdout =====>] :
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM discourse ).networkadapters[0]).ipaddresses[0]
(discourse) DBG | [stdout =====>] : 172.17.87.179
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) Calling .GetConfigRaw
(discourse) Calling .DriverName
(discourse) Calling .DriverName
Waiting for machine to be running, this may take a few minutes...
(discourse) Calling .GetState
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
(discourse) DBG | [stdout =====>] : Running
Detecting operating system of created instance...
(discourse) DBG |
Waiting for SSH to be available...
(discourse) DBG | [stderr =====>] :
Getting to WaitForSSH function...
(discourse) Calling .GetSSHHostname
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
.(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM discourse ).networkadapters[0]).ipaddresses[0]
(discourse) DBG | [stdout =====>] : 172.17.87.179
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) Calling .GetSSHPort
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null docker@172.17.87.179 -o IdentitiesOnly=yes -i C:\Users\klauer\.minishift\profiles\discourse\machines\discourse\id_rsa -p 22] C:\Users\klauer\scoop\shims\ssh.exe <nil>}
About to run SSH command:
exit 0
SSH cmd err, output: <nil>:
(discourse) Calling .GetSSHHostname
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM discourse ).networkadapters[0]).ipaddresses[0]
.(discourse) DBG | [stdout =====>] : 172.17.87.179
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) Calling .GetSSHPort
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null docker@172.17.87.179 -o IdentitiesOnly=yes -i C:\Users\klauer\.minishift\profiles\discourse\machines\discourse\id_rsa -p 22] C:\Users\klauer\scoop\shims\ssh.exe <nil>}
About to run SSH command:
cat /etc/os-release
SSH cmd err, output: <nil>: NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
VARIANT="minishift"
VARIANT_VERSION="1.12.0"
BUILD_ID="cf9f525-10072018102759-local"
Detecting the provisioner...
Couldn't set key CPE_NAME, no corresponding struct field found
Couldn't set key , no corresponding struct field found
Couldn't set key CENTOS_MANTISBT_PROJECT, no corresponding struct field found
Couldn't set key CENTOS_MANTISBT_PROJECT_VERSION, no corresponding struct field found
Couldn't set key REDHAT_SUPPORT_PRODUCT, no corresponding struct field found
Couldn't set key REDHAT_SUPPORT_PRODUCT_VERSION, no corresponding struct field found
Couldn't set key , no corresponding struct field found
Couldn't set key VARIANT_VERSION, no corresponding struct field found
Couldn't set key BUILD_ID, no corresponding struct field found
Provisioning with minishift...
No storage driver specified, instead using 'overlay2'
Setting hostname ...
(discourse) Calling .GetMachineName
(discourse) Calling .GetSSHHostname
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM discourse ).networkadapters[0]).ipaddresses[0]
(discourse) DBG | [stdout =====>] : 172.17.87.179
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) Calling .GetSSHPort
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null docker@172.17.87.179 -o IdentitiesOnly=yes -i C:\Users\klauer\.minishift\profiles\discourse\machines\discourse\id_rsa -p 22] C:\Users\klauer\scoop\shims\ssh.exe <nil>}
About to run SSH command:
sudo hostname discourse && echo "discourse" | sudo tee /etc/hostname
SSH cmd err, output: <nil>: discourse
(discourse) Calling .GetSSHHostname
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM discourse ).networkadapters[0]).ipaddresses[0]
.(discourse) DBG | [stdout =====>] : 172.17.87.179
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) Calling .GetSSHPort
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null docker@172.17.87.179 -o IdentitiesOnly=yes -i C:\Users\klauer\.minishift\profiles\discourse\machines\discourse\id_rsa -p 22] C:\Users\klauer\scoop\shims\ssh.exe <nil>}
About to run SSH command:
if grep -xq 127.0.1.1.* /etc/hosts; then sudo sed -i 's/^127.0.1.1.*/127.0.1.1 discourse/g' /etc/hosts; else echo '127.0.1.1 discourse' | sudo tee -a /etc/hosts; fi
SSH cmd err, output: <nil>: 127.0.1.1 discourse
OK
checking docker daemon
(discourse) Calling .GetSSHHostname
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM discourse ).networkadapters[0]).ipaddresses[0]
(discourse) DBG | [stdout =====>] : 172.17.87.179
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) Calling .GetSSHPort
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null docker@172.17.87.179 -o IdentitiesOnly=yes -i C:\Users\klauer\.minishift\profiles\discourse\machines\discourse\id_rsa -p 22] C:\Users\klauer\scoop\shims\ssh.exe <nil>}
About to run SSH command:
sudo systemctl -f start docker
SSH cmd err, output: <nil>:
(discourse) Calling .GetSSHHostname
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
.(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM discourse ).networkadapters[0]).ipaddresses[0]
(discourse) DBG | [stdout =====>] : 172.17.87.179
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) Calling .GetSSHPort
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null docker@172.17.87.179 -o IdentitiesOnly=yes -i C:\Users\klauer\.minishift\profiles\discourse\machines\discourse\id_rsa -p 22] C:\Users\klauer\scoop\shims\ssh.exe <nil>}
About to run SSH command:
sudo docker version
SSH cmd err, output: <nil>: Client:
Version: 1.13.1
API version: 1.26
Package version: docker-1.13.1-63.git94f4240.el7.centos.x86_64
Go version: go1.9.4
Git commit: 94f4240/1.13.1
Built: Fri May 18 15:44:33 2018
OS/Arch: linux/amd64
Server:
Version: 1.13.1
API version: 1.26 (minimum version 1.12)
Package version: docker-1.13.1-63.git94f4240.el7.centos.x86_64
Go version: go1.9.4
Git commit: 94f4240/1.13.1
Built: Fri May 18 15:44:33 2018
OS/Arch: linux/amd64
Experimental: false
(discourse) Calling .GetSSHHostname
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM discourse ).networkadapters[0]).ipaddresses[0]
(discourse) DBG | [stdout =====>] : 172.17.87.179
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) Calling .GetSSHPort
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null docker@172.17.87.179 -o IdentitiesOnly=yes -i C:\Users\klauer\.minishift\profiles\discourse\machines\discourse\id_rsa -p 22] C:\Users\klauer\scoop\shims\ssh.exe <nil>}
About to run SSH command:
sudo mkdir -p /etc/docker
.SSH cmd err, output: <nil>:
(discourse) Calling .GetMachineName
(discourse) Calling .GetIP
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM discourse ).networkadapters[0]).ipaddresses[0]
(discourse) DBG | [stdout =====>] : 172.17.87.179
Copying certs to the local machine directory...
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
generating server cert: C:\Users\klauer\.minishift\profiles\discourse\machines\server.pem ca-key=C:\Users\klauer\.minishift\profiles\discourse\certs\ca.pem private-key=C:\Users\klauer\.minishift\profiles\discourse\certs\ca-key.pem org=klauer.discourse san=[172.17.87.179 localhost]
(discourse) Calling .GetSSHHostname
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM discourse ).networkadapters[0]).ipaddresses[0]
.(discourse) DBG | [stdout =====>] : 172.17.87.179
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) Calling .GetSSHPort
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null docker@172.17.87.179 -o IdentitiesOnly=yes -i C:\Users\klauer\.minishift\profiles\discourse\machines\discourse\id_rsa -p 22] C:\Users\klauer\scoop\shims\ssh.exe <nil>}
About to run SSH command:
sudo systemctl -f stop docker
SSH cmd err, output: <nil>:
(discourse) Calling .GetSSHHostname
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM discourse ).networkadapters[0]).ipaddresses[0]
(discourse) DBG | [stdout =====>] : 172.17.87.179
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) Calling .GetSSHPort
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null docker@172.17.87.179 -o IdentitiesOnly=yes -i C:\Users\klauer\.minishift\profiles\discourse\machines\discourse\id_rsa -p 22] C:\Users\klauer\scoop\shims\ssh.exe <nil>}
About to run SSH command:
if [ ! -z "$(ip link show docker0)" ]; then sudo ip link delete docker0; fi
.SSH cmd err, output: <nil>:
Copying certs to the remote machine...
(discourse) Calling .GetSSHHostname
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM discourse ).networkadapters[0]).ipaddresses[0]
(discourse) DBG | [stdout =====>] : 172.17.87.179
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) Calling .GetSSHPort
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null docker@172.17.87.179 -o IdentitiesOnly=yes -i C:\Users\klauer\.minishift\profiles\discourse\machines\discourse\id_rsa -p 22] C:\Users\klauer\scoop\shims\ssh.exe <nil>}
About to run SSH command:
printf '%s' '-----BEGIN CERTIFICATE-----
MIICzzCCAbegAwIBAgIQId0ady6nkMeyYb5cYkra1jANBgkqhkiG9w0BAQsFADAR
MQ8wDQYDVQQKEwZrbGF1ZXIwHhcNMTgwODA0MDE1MjAwWhcNMjEwNzE5MDE1MjAw
WjARMQ8wDQYDVQQKEwZrbGF1ZXIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK
AoIBAQD2lLmhdglVgX8DffAn9lmjZG2vRV/uFLOkaxyFh0KCHo0XazVbxPDOw36i
Mmi3ev1dvTd0xcOme53h0LVlgNA/gca44ce3mh9i+rrHjI6ebrw3a3SWuIDSFvUF
8sOvNCJgfST3Wb30NZ7xGiQa3yCh7PLZ8mGZaJL5bU4pmo5kpWm1rEdfw88GWEvU
X7aG7JKzFfpLDfjsC/bnn8xEFe1EtsxlVSS8WNQvLb1u1dxfECRIewB3+dEsDbst
7PM9L6UWBKq0dRj92U5ZfUHHYXMltPgcdhT8HS+bhu7X4AW0zy/+s1MmGxbZhxXu
uyQ67DcxcK1dwPxwdeoRFVkIXkCDAgMBAAGjIzAhMA4GA1UdDwEB/wQEAwICrDAP
BgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQB+FwW58OqtGU+hfnVb
TOGmc29UjOY1m2jp8Klv0ER8R5NdkjG6vD3lP9GgvaXhRzC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ONvIuCUCwD/7QVDiUWc6Rkd0hpawkEKTI9woXaLNDyzve94jDaL+01
j6hd5POz140E1xsEx1O7KiScX0TPDB6J+vwSeLFo8S/v+tO+BsXcRKcUoUDsMqei
D3zUr0fSHU95fOSMnTGxcQX6/ftkvfNWJFCarsS61+PONHuNCiCiJzn+En7i0rk2
ju3scV/hB5U7kNzK/+8rultryhRsU0am7aMulHHy3OmuhdHM/POhuXis+s2V6rmo
DMVK
-----END CERTIFICATE-----
(discourse) Calling .GetSSHHostname
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM discourse ).networkadapters[0]).ipaddresses[0]
(discourse) DBG | [stdout =====>] : 172.17.87.179
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) Calling .GetSSHPort
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null docker@172.17.87.179 -o IdentitiesOnly=yes -i C:\Users\klauer\.minishift\profiles\discourse\machines\discourse\id_rsa -p 22] C:\Users\klauer\scoop\shims\ssh.exe <nil>}
About to run SSH command:
printf '%s' '-----BEGIN CERTIFICATE-----
MIIDBzCCAe+gAwIBAgIQScrkTx2drxwPKnYBPln8KjANBgkqhkiG9w0BAQsFADAR
MQ8wDQYDVQQKEwZrbGF1ZXIwHhcNMTgwODA0MDIwOTAwWhcNMjEwNzE5MDIwOTAw
WjAbMRkwFwYDVQQKExBrbGF1ZXIuZGlzY291cnNlMIIBIjANBgkqhkiG9w0BAQEF
AAOCAQ8AMIIBCgKCAQEAp5GcQyljXy2do9QSQrD9vTtdAb6MDLj5VOEmY5MMo6Ob
okSiqFYXFMveCxhQ1aAOy7hWwIm4Ze3TpXZ/CajZsD23UBogC/nrAB121Gw8kww6
582MLxK39Hhnt+evchr1zZtrDd1O5YgbuVHcjImh04EIJwavJTcQIlpm3ddxUjzk
FqRO00NFz1rGyMF/37WNsTEVy4jAcuu1F649aM7AMTIlHROCGtC8N+LRPvXiaH6y
aIwhjrSky3a7NklDnKLNSuj8EY7b9IgpW1Ors0nWliwey8MngvuK5MGX1gkbVOA/
6K0EdZ63l6PXo1Qigf1mTJUdLoAo7qT8oHLb2gA/mwIDAQABo1EwTzAOBgNVHQ8B
Af8EBAMCA6gwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDAYDVR0TAQH/BAIwADAaBgNV
HREEEzARgglsb2NhbGhvc3SHBKwRV7MwDQYJKoZIhvcNAQELBQADggEBAFwRrsVA
NdPX8gxw0jwR1mJ61FYq0p3fkctxy17jB4l6fESzsYUydYzqb61jVRvj1rvMro4Q
c53018KzoUNsonld+u8Gg4R3k70WQWTFw5zps19G/pdRxnw++fcBPijAnwXtZDWA
AZ+qWTmQDl4rNl9VLpouZymcfcag2y+PV1XE0NTaw9S2iDViYhH3StEq09yV4fVR
pwOewyXCskbGJ8cNMeucmFeCO0C1SQfgFa8/zhB27sea9sOlDTsYkcp4r3sgL28Z
mqfOkCBNje+Vg6vUFGCwEVF04MOU4pyz4cCZJ+etT2lUnRCiRzSQsHYFXgLVo5Cg
WNv1/9wEGdO6duI=
-----END CERTIFICATE-----
' | sudo tee /etc/docker/server.pem
.SSH cmd err, output: <nil>: -----BEGIN CERTIFICATE-----
MIIDBzCCAe+gAwIBAgIQScrkTx2drxwPKnYBPln8KjANBgkqhkiG9w0BAQsFADAR
MQ8wDQYDVQQKEwZrbGF1ZXIwHhcNMTgwODA0MDIwOTAwWhcNMjEwNzE5MDIwOTAw
WjAbMRkwFwYDVQQKExBrbGF1ZXIuZGlzY291cnNlMIIBIjANBgkqhkiG9w0BAQEF
AAOCAQ8AMIIBCgKCAQEAp5GcQyljXy2do9QSQrD9vTtdAb6MDLj5VOEmY5MMo6Ob
okSiqFYXFMveCxhQ1aAOy7hWwIm4Ze3TpXZ/CajZsD23UBogC/nrAB121Gw8kww6
582MLxK39Hhnt+evchr1zZtrDd1O5YgbuVHcjImh04EIJwavJTcQIlpm3ddxUjzk
FqRO00NFz1rGyMF/37WNsTEVy4jAcuu1F649aM7AMTIlHROCGtC8N+LRPvXiaH6y
aIwhjrSky3a7NklDnKLNSuj8EY7b9IgpW1Ors0nWliwey8MngvuK5MGX1gkbVOA/
6K0EdZ63l6PXo1Qigf1mTJUdLoAo7qT8oHLb2gA/mwIDAQABo1EwTzAOBgNVHQ8B
Af8EBAMCA6gwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDAYDVR0TAQH/BAIwADAaBgNV
HREEEzARgglsb2NhbGhvc3SHBKwRV7MwDQYJKoZIhvcNAQELBQADggEBAFwRrsVA
NdPX8gxw0jwR1mJ61FYq0p3fkctxy17jB4l6fESzsYUydYzqb61jVRvj1rvMro4Q
c53018KzoUNsonld+u8Gg4R3k70WQWTFw5zps19G/pdRxnw++fcBPijAnwXtZDWA
AZ+qWTmQDl4rNl9VLpouZymcfcag2y+PV1XE0NTaw9S2iDViYhH3StEq09yV4fVR
pwOewyXCskbGJ8cNMeucmFeCO0C1SQfgFa8/zhB27sea9sOlDTsYkcp4r3sgL28Z
mqfOkCBNje+Vg6vUFGCwEVF04MOU4pyz4cCZJ+etT2lUnRCiRzSQsHYFXgLVo5Cg
WNv1/9wEGdO6duI=
-----END CERTIFICATE-----
(discourse) Calling .GetSSHHostname
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM discourse ).networkadapters[0]).ipaddresses[0]
(discourse) DBG | [stdout =====>] : 172.17.87.179
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) Calling .GetSSHPort
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null docker@172.17.87.179 -o IdentitiesOnly=yes -i C:\Users\klauer\.minishift\profiles\discourse\machines\discourse\id_rsa -p 22] C:\Users\klauer\scoop\shims\ssh.exe <nil>}
About to run SSH command:
printf '%s' '-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAp5GcQyljXy2do9QSQrD9vTtdAb6MDLj5VOEmY5MMo6ObokSi
qFYXFMveCxhQ1aAOy7hWwIm4Ze3TpXZ/CajZsD23UBogC/nrAB121Gw8kww6582M
LxK39Hhnt+evchr1zZtrDd1O5YgbuVHcjImh04EIJwavJTcQIlpm3ddxUjzkFqRO
00NFz1rGyMF/37WNsTEVy4jAcuu1F649aM7AMTIlHROCGtC8N+LRPvXiaH6yaIwh
jrSky3a7NklDnKLNSuj8EY7b9IgpW1Ors0nWliwey8MngvuK5MGX1gkbVOA/6K0E
dZ63l6PXo1Qigf1mTJUdLoAo7qT8oHLb2gA/mwIDAQABAoIBAGxrxpOeH/HhbfIm
sXn9UvAxjMgoJi3FMW4+D7y11KO8pGKlzijlKyIFlrHPFd5jJa+iol8JvQoWi66v
sRrq6Y8jH4zwmnOlTOxSJCTls3vhmeuKD34Vunivv0w62EYYM5rJ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J/uAKqq/1J3XawDxnnD9DBI
aPmQ/fY+bltG6kmaoqZaCDFn0BlckQvAPTv/H8/fRkxYOhFAAsGBzOIlvjdh72mM
wfndMtgW/jsBaX8AQBqvYrQulYKFMnn6gvZtFp8CgYBn/hj0lBzugt7vHAYoNQVf
vtMFxyIbMI8vms4BTJaivWRulegK/rXmdr4kxffUhhds9PY6Iq9vESa9P1Sj+bRi
ipJuevVqrRF4/mRY8R0Un0bNwu8BDOseIOAPg+v+WK+61+D6vedDeMiRG1+lUZGL
z8BlAW4r/2xqpJqMGk8yiQKBgGc/MntvQsGXfiTV9iPekDGskIm4+j3NkWmAsgPO
aB3/nNsEj37Q/AGaKZ+KVd1p3fVwLzUROkYHsDjp4e7o9npsZ1gltAZ1bykWmXhG
qm+d3nOP3KrFJ6IlDchHe/TOuOfkpfNyl9Q6Ad2whWHx+XRBISMyRCVMfvLmgjLv
cVGRAoGBALRuhFit1yVuMTOj66ZQ/c6Adq2PTuWn6Dpnj0PFnIzN5kIOZqxa5WuK
2ofrh7TnVkIYTWkO0MfvcFUhWtHuah2D80LhL/inPAoir7bwCMce8Aa/60gbGTVr
HgWllDgxnqkw3Mse4r4RirdifZBXYxWJgmHU8aTN2n7uWSNbREMo
-----END RSA PRIVATE KEY-----
(discourse) Calling .GetURL
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM discourse ).networkadapters[0]).ipaddresses[0]
(discourse) DBG | [stdout =====>] : 172.17.87.179
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) Calling .DriverName
Setting Docker configuration on the remote daemon...
(discourse) Calling .GetSSHHostname
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
.(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM discourse ).networkadapters[0]).ipaddresses[0]
(discourse) DBG | [stdout =====>] : 172.17.87.179
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) Calling .GetSSHPort
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null docker@172.17.87.179 -o IdentitiesOnly=yes -i C:\Users\klauer\.minishift\profiles\discourse\machines\discourse\id_rsa -p 22] C:\Users\klauer\scoop\shims\ssh.exe <nil>}
About to run SSH command:
sudo mkdir -p /etc/systemd/system/docker.service.d && printf %s "[Service]
ExecStart=
ExecStart=/usr/bin/dockerd-current -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock \
--selinux-enabled \
--log-driver=journald \
--signature-verification=false \
--add-runtime docker-runc=/usr/libexec/docker/docker-runc-current \
--default-runtime=docker-runc \
--exec-opt native.cgroupdriver=systemd \
--userland-proxy-path=/usr/libexec/docker/docker-proxy-current \
--storage-driver overlay2 --tlsverify --tlscacert /etc/docker/ca.pem \
--tlscert /etc/docker/server.pem --tlskey /etc/docker/server-key.pem \
--label provider=hyperv --insecure-registry 172.30.0.0/16
Environment=
" | sudo tee /etc/systemd/system/docker.service.d/10-machine.conf
SSH cmd err, output: <nil>: [Service]
ExecStart=
ExecStart=/usr/bin/dockerd-current -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock --selinux-enabled --log-driver=journald --signature-verification=false --add-runtime docker-runc=/usr/libexec/docker/docker-runc-current --default-runtime=docker-runc --exec-opt native.cgroupdriver=systemd
--userland-proxy-path=/usr/libexec/docker/docker-proxy-current --storage-driver overlay2 --tlsverify --tlscacert /etc/docker/ca.pem --tlscert /etc/docker/server.pem --tlskey /etc/docker/server-key.pem --label provider=hyperv --insecure-registry 172.30.0.0/16
Environment=
(discourse) Calling .GetSSHHostname
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM discourse ).networkadapters[0]).ipaddresses[0]
(discourse) DBG | [stdout =====>] : 172.17.87.179
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) Calling .GetSSHPort
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null docker@172.17.87.179 -o IdentitiesOnly=yes -i C:\Users\klauer\.minishift\profiles\discourse\machines\discourse\id_rsa -p 22] C:\Users\klauer\scoop\shims\ssh.exe <nil>}
About to run SSH command:
sudo systemctl daemon-reload
SSH cmd err, output: <nil>:
(discourse) Calling .GetSSHHostname
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM discourse ).networkadapters[0]).ipaddresses[0]
.(discourse) DBG | [stdout =====>] : 172.17.87.179
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) Calling .GetSSHPort
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null docker@172.17.87.179 -o IdentitiesOnly=yes -i C:\Users\klauer\.minishift\profiles\discourse\machines\discourse\id_rsa -p 22] C:\Users\klauer\scoop\shims\ssh.exe <nil>}
About to run SSH command:
sudo systemctl -f start docker
SSH cmd err, output: <nil>:
(discourse) Calling .GetSSHHostname
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM discourse ).networkadapters[0]).ipaddresses[0]
(discourse) DBG | [stdout =====>] : 172.17.87.179
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) Calling .GetSSHPort
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null docker@172.17.87.179 -o IdentitiesOnly=yes -i C:\Users\klauer\.minishift\profiles\discourse\machines\discourse\id_rsa -p 22] C:\Users\klauer\scoop\shims\ssh.exe <nil>}
About to run SSH command:
if ! type netstat 1>/dev/null; then ss -tln; else netstat -tln; fi
SSH cmd err, output: <nil>: Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp6 0 0 :::2376 :::* LISTEN
tcp6 0 0 :::111 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN
Feature detection ...
(discourse) Calling .GetSSHHostname
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
.(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM discourse ).networkadapters[0]).ipaddresses[0]
(discourse) DBG | [stdout =====>] : 172.17.87.179
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) Calling .GetSSHPort
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null docker@172.17.87.179 -o IdentitiesOnly=yes -i C:\Users\klauer\.minishift\profiles\discourse\machines\discourse\id_rsa -p 22] C:\Users\klauer\scoop\shims\ssh.exe <nil>}
About to run SSH command:
test -f /usr/local/bin/minishift-set-ipaddress && echo '1' || echo '0'
SSH cmd err, output: <nil>: 1
(discourse) Calling .GetSSHHostname
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM discourse ).networkadapters[0]).ipaddresses[0]
(discourse) DBG | [stdout =====>] : 172.17.87.179
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) Calling .GetSSHPort
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null docker@172.17.87.179 -o IdentitiesOnly=yes -i C:\Users\klauer\.minishift\profiles\discourse\machines\discourse\id_rsa -p 22] C:\Users\klauer\scoop\shims\ssh.exe <nil>}
About to run SSH command:
test -f /usr/sbin/dnsmasq && echo '1' || echo '0'
SSH cmd err, output: <nil>: 1
OK
Checking connection to Docker...
(discourse) Calling .GetURL
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
.(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM discourse ).networkadapters[0]).ipaddresses[0]
(discourse) DBG | [stdout =====>] : 172.17.87.179
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
Reading CA certificate from C:\Users\klauer\.minishift\profiles\discourse\certs\ca.pem
Reading client certificate from C:\Users\klauer\.minishift\profiles\discourse\certs\cert.pem
Reading client key from C:\Users\klauer\.minishift\profiles\discourse\certs\key.pem
Docker is up and running!
Reticulating splines...
(discourse) Calling .GetConfigRaw
OK
Found binary path at C:\Users\klauer\go\bin\minishift.exe
Launching plugin server for driver hyperv
Plugin server listening at address 127.0.0.1:59937
() Calling .GetVersion
Using API Version 1
() Calling .SetConfigRaw
() Calling .GetMachineName
(discourse) Calling .GetState
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) Calling .GetSSHHostname
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM discourse ).networkadapters[0]).ipaddresses[0]
(discourse) DBG | [stdout =====>] : 172.17.87.179
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) Calling .GetSSHPort
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null docker@172.17.87.179 -o IdentitiesOnly=yes -i C:\Users\klauer\.minishift\profiles\discourse\machines\discourse\id_rsa -p 22] C:\Users\klauer\scoop\shims\ssh.exe <nil>}
About to run SSH command:
sudo cat /etc/os-release
SSH cmd err, output: <nil>: NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
VARIANT="minishift"
VARIANT_VERSION="1.12.0"
BUILD_ID="cf9f525-10072018102759-local"
Couldn't set key CPE_NAME, no corresponding struct field found
Couldn't set key , no corresponding struct field found
Couldn't set key CENTOS_MANTISBT_PROJECT, no corresponding struct field found
Couldn't set key CENTOS_MANTISBT_PROJECT_VERSION, no corresponding struct field found
Couldn't set key REDHAT_SUPPORT_PRODUCT, no corresponding struct field found
Couldn't set key REDHAT_SUPPORT_PRODUCT_VERSION, no corresponding struct field found
Couldn't set key , no corresponding struct field found
Couldn't set key VARIANT_VERSION, no corresponding struct field found
Couldn't set key BUILD_ID, no corresponding struct field found
Detecting whether virtual machine is managed by a registration manager...
Distribution doesn't support registration
-- Checking for IP address ... (discourse) Calling .GetIP
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM discourse ).networkadapters[0]).ipaddresses[0]
(discourse) DBG | [stdout =====>] : 172.17.87.179
OK
(discourse) DBG |
-- Checking for nameservers ... (discourse) DBG | [stderr =====>] :
(discourse) Calling .GetSSHHostname
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM discourse ).state
(discourse) DBG | [stdout =====>] : Running
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) DBG | [executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM discourse ).networkadapters[0]).ipaddresses[0]
(discourse) DBG | [stdout =====>] : 172.17.87.179
(discourse) DBG |
(discourse) DBG | [stderr =====>] :
(discourse) Calling .GetSSHPort
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHKeyPath
(discourse) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null docker@172.17.87.179 -o IdentitiesOnly=yes -i C:\Users\klauer\.minishift\profiles\discourse\machines\discourse\id_rsa -p 22] C:\Users\klauer\scoop\shims\ssh.exe <nil>}
About to run SSH command:
cat /etc/resolv.conf | grep -i '^nameserver' | wc -l | tr -d '
'
SSH cmd err, output: <nil>: 0
FAIL
VM does not have any nameserver setup
C:\Users\klauer
λ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment