Skip to content

Instantly share code, notes, and snippets.

@davidobrien1985
Created December 2, 2016 01:20
Show Gist options
  • Save davidobrien1985/c5f914f2bd4c1fb0504e345e6567ad4f to your computer and use it in GitHub Desktop.
Save davidobrien1985/c5f914f2bd4c1fb0504e345e6567ad4f to your computer and use it in GitHub Desktop.
==> amazon-ebs: Provisioning with Powershell...
==> amazon-ebs: Provisioning with shell script: C:\dev\git\versent\ref-remotedesktopservices\packer/scripts/install_rds_webaccess.ps1
2016/12/02 12:16:12 ui: ==> amazon-ebs: Provisioning with shell script: C:\dev\git\versent\ref-remotedesktopservices\packer/scripts/install_rds_webaccess.ps1
2016/12/02 12:16:12 packer.exe: 2016/12/02 12:16:12 Opening C:\dev\git\versent\ref-remotedesktopservices\packer/scripts/install_rds_webaccess.ps1 for reading
2016/12/02 12:16:12 packer.exe: 2016/12/02 12:16:12 [INFO] 1110 bytes written for 'uploadData'
2016/12/02 12:16:12 [INFO] 1110 bytes written for 'uploadData'
2016/12/02 12:16:12 packer.exe: 2016/12/02 12:16:12 Uploading file to 'c:/Windows/Temp/script.ps1'
2016/12/02 12:16:14 packer.exe: #< CLIXML
2016/12/02 12:16:15 packer.exe: <Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs>2016/12/02 12:16:15 [INFO] starting remote command: powershell "& { $env:PACKER_BUILDER_TYPE=\"amazon-ebs\"; $env:PACKER_BUILD_NAME=\"amazon-ebs\"; c:/Windows/Temp/script.ps1; exit $LastExitCode}"
amazon-ebs:
2016/12/02 12:16:17 ui: amazon-ebs:
2016/12/02 12:16:17 ui: amazon-ebs:
amazon-ebs:
2016/12/02 12:16:17 ui: amazon-ebs: Directory: C:\Program Files\RDS_Core\WebAccess
amazon-ebs: Directory: C:\Program Files\RDS_Core\WebAccess
amazon-ebs:
2016/12/02 12:16:17 ui: amazon-ebs:
2016/12/02 12:16:17 ui: amazon-ebs:
amazon-ebs:
2016/12/02 12:16:17 ui: amazon-ebs: Mode LastWriteTime Length Name
amazon-ebs: Mode LastWriteTime Length Name
2016/12/02 12:16:17 ui: amazon-ebs: ---- ------------- ------ ----
amazon-ebs: ---- ------------- ------ ----
2016/12/02 12:16:17 ui: amazon-ebs: d----- 12/2/2016 1:16 AM DSC
amazon-ebs: d----- 12/2/2016 1:16 AM DSC
2016/12/02 12:16:19 ui: amazon-ebs:
amazon-ebs:
2016/12/02 12:16:19 ui: amazon-ebs:
amazon-ebs:
2016/12/02 12:16:19 ui: amazon-ebs: Directory: C:\Program Files\RDS_Core\WebAccess\DSC
amazon-ebs: Directory: C:\Program Files\RDS_Core\WebAccess\DSC
amazon-ebs:
2016/12/02 12:16:19 ui: amazon-ebs:
2016/12/02 12:16:19 ui: amazon-ebs:
amazon-ebs:
2016/12/02 12:16:19 ui: amazon-ebs: Mode LastWriteTime Length Name
amazon-ebs: Mode LastWriteTime Length Name
2016/12/02 12:16:19 ui: amazon-ebs: ---- ------------- ------ ----
amazon-ebs: ---- ------------- ------ ----
2016/12/02 12:16:19 ui: amazon-ebs: -a---- 12/2/2016 1:16 AM 2820 localhost.mof
amazon-ebs: -a---- 12/2/2016 1:16 AM 2820 localhost.mof
2016/12/02 12:16:19 ui: amazon-ebs: VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' =
amazon-ebs: VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' =
2016/12/02 12:16:19 ui: amazon-ebs: SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' =
amazon-ebs: SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' =
2016/12/02 12:16:19 ui: amazon-ebs: root/Microsoft/Windows/DesiredStateConfiguration'.
amazon-ebs: root/Microsoft/Windows/DesiredStateConfiguration'.
2016/12/02 12:16:25 packer.exe: 2016/12/02 12:16:25 [INFO] command 'powershell "& { $env:PACKER_BUILDER_TYPE=\"amazon-ebs\"; $env:PACKER_BUILD_NAME=\"amazon-ebs\"; c:/Windows/Temp/script.ps1; exit $LastExitCode}"' exited with code: 1
2016/12/02 12:16:25 packer.exe: 2016/12/02 12:16:25 [INFO] RPC endpoint: Communicator ended with: 1
2016/12/02 12:16:25 [INFO] 1083 bytes written for 'stdout'
2016/12/02 12:16:25 [INFO] 808 bytes written for 'stderr'
2016/12/02 12:16:25 [INFO] RPC client: Communicator ended with: 1
2016/12/02 12:16:25 [INFO] RPC endpoint: Communicator ended with: 1
2016/12/02 12:16:25 packer.exe: 2016/12/02 12:16:25 [INFO] 1083 bytes written for 'stdout'
2016/12/02 12:16:25 packer.exe: 2016/12/02 12:16:25 [INFO] RPC client: Communicator ended with: 1
2016/12/02 12:16:25 packer.exe: 2016/12/02 12:16:25 [INFO] 808 bytes written for 'stderr'
2016/12/02 12:16:25 ui: amazon-ebs: C:\Windows\Temp\script.ps1 : The client cannot connect to the destination specified in the request. Verify that the
amazon-ebs: C:\Windows\Temp\script.ps1 : The client cannot connect to the destination specified in the request. Verify that the
2016/12/02 12:16:25 ui: amazon-ebs: service on the destination is running and is accepting requests. Consult the logs and documentation for the
amazon-ebs: service on the destination is running and is accepting requests. Consult the logs and documentation for the
2016/12/02 12:16:25 ui: amazon-ebs: WS-Management service running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service,
amazon-ebs: WS-Management service running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service,
2016/12/02 12:16:25 ui: amazon-ebs: run the following command on the destination to analyze and configure the WinRM service: "winrm quickconfig".
amazon-ebs: run the following command on the destination to analyze and configure the WinRM service: "winrm quickconfig".
2016/12/02 12:16:25 ui: amazon-ebs: At line:1 char:81
amazon-ebs: At line:1 char:81
2016/12/02 12:16:25 ui: amazon-ebs: + ... nv:PACKER_BUILD_NAME="amazon-ebs"; c:/Windows/Temp/script.ps1; exit $ ...
amazon-ebs: + ... nv:PACKER_BUILD_NAME="amazon-ebs"; c:/Windows/Temp/script.ps1; exit $ ...
2016/12/02 12:16:25 ui: amazon-ebs: + ~~~~~~~~~~~~~~~~~~~~~~~~~~
amazon-ebs: + ~~~~~~~~~~~~~~~~~~~~~~~~~~
2016/12/02 12:16:25 ui: amazon-ebs: + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
amazon-ebs: + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
2016/12/02 12:16:25 ui: amazon-ebs: + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,script.ps1
amazon-ebs: + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,script.ps1
2016/12/02 12:16:25 ui: amazon-ebs:
amazon-ebs:
2016/12/02 12:16:25 ui: ==> amazon-ebs: Terminating the source AWS instance...
==> amazon-ebs: Terminating the source AWS instance...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment