This was the console output when I set PACKER_LOG=1, it did not give much 
info about it :( 

2018/04/03 12:37:06 ui:     azure-arm: VERBOSE: Performing the operation 
"Join in domain '@@@@@'" on target "tmppackervm".
    azure-arm: VERBOSE: Performing the operation "Join in domain '@@@@@'" 
on target "tmppackervm".
2018/04/03 12:37:07 packer.exe: 2018/04/03 12:37:07 [INFO] command 
'powershell "& { $env:PACKER_BUILDER_TYPE=\"azure-arm\"; 
$env:PACKER_BUILD_NAME=\"azure-arm\"; c:/Windows/Temp/script.ps1; exit 
$LastExitCode}"' exited with code: 0
2018/04/03 12:37:07 packer.exe: 2018/04/03 12:37:07 [INFO] RPC endpoint: 
Communicator ended with: 0
2018/04/03 12:37:07 [INFO] 308 bytes written for 'stdout'
    azure-arm: WARNING: The changes will take effect after you restart the 
computer tmppackervm.
    azure-arm: about to restart world
2018/04/03 12:37:07 [INFO] 0 bytes written for 'stderr'
2018/04/03 12:37:07 [INFO] RPC client: Communicator ended with: 0
2018/04/03 12:37:07 [INFO] RPC endpoint: Communicator ended with: 0
2018/04/03 12:37:07 ui:     azure-arm: WARNING: The changes will take 
effect after you restart the computer tmppackervm.
    azure-arm:
2018/04/03 12:37:07 packer-provisioner-powershell.exe: 2018/04/03 12:37:07 
[INFO] 0 bytes written for 'stderr'
2018/04/03 12:37:07 packer-provisioner-powershell.exe: 2018/04/03 12:37:07 
[INFO] 308 bytes written for 'stdout'
2018/04/03 12:37:07 packer-provisioner-powershell.exe: 2018/04/03 12:37:07 
[INFO] RPC client: Communicator ended with: 0
2018/04/03 12:37:07 ui:     azure-arm: debugg
    azure-arm:
2018/04/03 12:37:07 ui:     azure-arm:

2018/04/03 12:37:07 ui:     azure-arm:
    azure-arm:
2018/04/03 12:37:07 [INFO] (telemetry) ending powershell
2018/04/03 12:37:07 [INFO] (telemetry) Starting provisioner windows-restart
2018/04/03 12:37:07 ui: ==> azure-arm: Restarting Machine
==> azure-arm: Restarting Machine
2018/04/03 12:37:07 packer.exe: 2018/04/03 12:37:07 [INFO] starting remote 
command: shutdown /r /f /t 0 /c "packer restart"
2018/04/03 12:37:07 packer.exe: 2018/04/03 12:37:07 [INFO] command 
'shutdown /r /f /t 0 /c "packer restart"' exited with code: 0
2018/04/03 12:37:07 packer.exe: 2018/04/03 12:37:07 [INFO] RPC endpoint: 
Communicator ended with: 0
==> azure-arm: Waiting for machine to restart...
2018/04/03 12:37:07 [INFO] 0 bytes written for 'stderr'
2018/04/03 12:37:07 [INFO] 0 bytes written for 'stdout'
2018/04/03 12:37:07 [INFO] RPC client: Communicator ended with: 0
2018/04/03 12:37:07 [INFO] RPC endpoint: Communicator ended with: 0
2018/04/03 12:37:07 packer.exe: 2018/04/03 12:37:07 [INFO] 0 bytes written 
for 'stderr'
2018/04/03 12:37:07 packer.exe: 2018/04/03 12:37:07 [INFO] 0 bytes written 
for 'stdout'
2018/04/03 12:37:07 packer.exe: 2018/04/03 12:37:07 [INFO] RPC client: 
Communicator ended with: 0
2018/04/03 12:37:07 ui: ==> azure-arm: Waiting for machine to restart...
2018/04/03 12:37:08 packer.exe: 2018/04/03 12:37:08 Check if machine is 
rebooting...
2018/04/03 12:37:08 [INFO] 0 bytes written for 'stderr'
2018/04/03 12:37:08 [INFO] 0 bytes written for 'stdout'
2018/04/03 12:37:08 packer.exe: 2018/04/03 12:37:08 [INFO] 0 bytes written 
for 'stdout'
2018/04/03 12:37:08 packer.exe: 2018/04/03 12:37:08 Waiting for machine to 
become available...
2018/04/03 12:37:08 packer.exe: 2018/04/03 12:37:08 Checking that 
communicator is connected with: 'powershell -command "& {Write-Output 
'restarted.'}"'
2018/04/03 12:37:08 packer.exe: 2018/04/03 12:37:08 [INFO] 0 bytes written 
for 'stderr'
2018/04/03 12:37:08 packer.exe: 2018/04/03 12:37:08 Waiting for machine to 
reboot with timeout: 5m0s
2018/04/03 12:37:34 [INFO] 0 bytes written for 'stderr'
2018/04/03 12:37:34 [INFO] 0 bytes written for 'stdout'
2018/04/03 12:37:34 packer.exe: 2018/04/03 12:37:34 [INFO] 0 bytes written 
for 'stdout'
2018/04/03 12:37:34 packer.exe: 2018/04/03 12:37:34 [INFO] 0 bytes written 
for 'stderr'
2018/04/03 12:37:34 packer.exe: 2018/04/03 12:37:34 Communication 
connection err: unknown error Post https://--.--.--.--:----/wsman: dial tcp 
------: connectex: A connection attempt failed because the connected party 
did not properly respond after a period of time, or established connection 
failed because connected host has failed to respond.
2018/04/03 12:37:49 [INFO] 0 bytes written for 'stderr'
2018/04/03 12:37:49 [INFO] 0 bytes written for 'stdout'
2018/04/03 12:37:49 packer.exe: 2018/04/03 12:37:49 [INFO] 0 bytes written 
for 'stdout'
2018/04/03 12:37:49 packer.exe: 2018/04/03 12:37:49 [INFO] 0 bytes written 
for 'stderr'
2018/04/03 12:37:49 packer.exe: 2018/04/03 12:37:49 Communication 
connection err: http response error: 401 - invalid content type

2018/04/03 12:42:07 ui error: ==> azure-arm: Timeout waiting for machine to 
restart.
==> azure-arm: Timeout waiting for machine to restart.
2018/04/03 12:42:07 packer.exe: 2018/04/03 12:42:07 Communicator wait 
canceled, exiting loop
==> azure-arm:
2018/04/03 12:42:07 [INFO] (telemetry) ending windows-restart
==> azure-arm: Cleanup requested, deleting resource group ...
2018/04/03 12:42:07 ui: ==> azure-arm:
==> azure-arm: Cleanup requested, deleting resource group ...


-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/a8c1afee-65e7-4658-8ccb-3ce61269147b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to