You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having a problem with a new WSUS server - completely my issue, not really related to this provisioner - and when the client runs, it receives HRESULT exceptions, as it should. Where this relates to the provisioner is that somehow this results in a successful build!
In my packer template, I'm simply calling the provisioner with no updates:
provisioner "windows-update" {
}
In my build, the update step fails to ever get a positive response, but then the build goes on to succeed:
08:48:08 ==> vsphere-clone.autogenerated_1: Uploading the Windows update elevated script...
08:48:08 ==> vsphere-clone.autogenerated_1: Uploading the Windows update check for reboot required elevated script...
08:48:08 ==> vsphere-clone.autogenerated_1: Uploading the Windows update script...
08:48:08 ==> vsphere-clone.autogenerated_1: Running Windows update...
08:48:14 vsphere-clone.autogenerated_1: Searching for Windows updates...
08:48:14 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:48:20 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:48:25 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:48:29 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:48:34 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:48:39 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:48:44 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:48:49 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:48:54 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:49:00 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:49:05 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:49:10 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:49:12 vsphere-clone.autogenerated_1: Waiting for operation to complete (system performance: 2% cpu; 33% memory)...
08:49:17 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:49:22 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:49:27 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:49:31 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:49:36 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:49:41 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:49:46 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:49:51 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:49:57 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:50:02 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:50:07 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:50:12 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:50:13 vsphere-clone.autogenerated_1: Waiting for operation to complete (system performance: 2% cpu; 33% memory)...
08:50:18 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:50:24 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:50:29 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:50:34 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:50:39 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:50:44 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:50:49 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:50:54 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:50:59 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:51:04 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:51:09 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:51:14 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:51:16 vsphere-clone.autogenerated_1: Waiting for operation to complete (system performance: 5% cpu; 32% memory)...
08:51:21 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:51:21 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:51:33 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:51:36 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:51:41 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:51:46 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:51:51 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:51:56 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:52:01 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:52:07 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:52:12 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:52:17 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:52:19 vsphere-clone.autogenerated_1: Waiting for operation to complete (system performance: 5% cpu; 31% memory)...
08:52:24 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:52:24 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:52:29 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:52:34 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:52:43 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:52:48 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:52:54 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:52:59 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:53:04 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:53:09 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:53:14 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:53:19 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:53:21 vsphere-clone.autogenerated_1: Waiting for operation to complete (system performance: 5% cpu; 31% memory)...
08:53:26 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:53:26 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:53:31 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:53:36 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:53:41 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:53:46 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:53:57 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:54:01 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:54:06 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:54:11 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:54:16 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:54:21 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:54:23 vsphere-clone.autogenerated_1: Waiting for operation to complete (system performance: 6% cpu; 31% memory)...
08:54:28 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:54:28 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:54:34 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:54:39 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:54:44 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:54:48 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:54:53 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:54:58 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:55:09 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:55:14 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:55:19 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:55:24 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:55:25 vsphere-clone.autogenerated_1: Waiting for operation to complete (system performance: 6% cpu; 31% memory)...
08:55:30 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:55:30 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:55:42 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:55:46 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:55:51 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:55:56 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:56:01 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:56:06 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:56:11 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:56:15 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:56:29 vsphere-clone.autogenerated_1: Waiting for operation to complete (system performance: 65% cpu; 38% memory)...
08:56:33 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:56:33 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:56:38 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:56:43 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:56:48 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:56:54 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:56:58 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:57:03 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:57:08 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:57:19 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:57:23 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:57:28 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:57:30 vsphere-clone.autogenerated_1: Waiting for operation to complete (system performance: 9% cpu; 36% memory)...
08:57:35 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:57:35 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:57:40 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:57:46 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:57:51 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:57:56 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:58:01 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:58:06 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:58:15 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:58:21 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:58:26 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:58:31 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:58:33 vsphere-clone.autogenerated_1: Waiting for operation to complete (system performance: 10% cpu; 35% memory)...
08:58:38 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:58:38 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:58:43 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:58:48 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:58:53 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:58:58 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:59:08 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:59:13 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:59:18 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:59:23 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:59:28 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:59:33 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:59:35 vsphere-clone.autogenerated_1: Waiting for operation to complete (system performance: 6% cpu; 35% memory)...
08:59:40 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:59:40 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:59:45 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
08:59:50 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
09:00:02 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
09:00:05 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
09:00:10 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
09:00:15 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
09:00:20 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
09:00:26 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
09:00:31 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
09:00:36 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
09:00:38 vsphere-clone.autogenerated_1: Waiting for operation to complete (system performance: 8% cpu; 35% memory)...
09:00:43 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
09:00:43 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
09:00:54 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
09:00:58 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
09:01:03 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
09:01:07 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
09:01:12 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
09:01:18 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
09:01:23 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
09:01:29 vsphere-clone.autogenerated_1: Search for Windows updates failed with 'Exception from HRESULT: 0x8024401F'. Retrying...
09:01:49 ==> vsphere-clone.autogenerated_1: Shutting down VM...
09:01:57 ==> vsphere-clone.autogenerated_1: Deleting Floppy drives...
09:01:57 ==> vsphere-clone.autogenerated_1: Eject CD-ROM drives...
09:01:57 ==> vsphere-clone.autogenerated_1: Convert VM into template...
09:01:57 Build 'vsphere-clone.autogenerated_1' finished after 16 minutes 51 seconds.
As mentioned, I know I have a problem with my new WSUS server, I would just like the provisioner to reflect that and fail the build.
I am using:
packer 1.8
docker container hashicorp/packer:1.8
windows-update plugin 0.14.1
The text was updated successfully, but these errors were encountered:
The code needs to be improved to include some kind of tracing, to better identity which part of the code might have a broken flow. It seems that looking at the exit code is not sufficient to assume it succeeded (because in this case, it seems the exit code was 0, and the whole thing was considered a success).
At least, a message like "Operation finished with exit code XXX" should be added before the line at
I'm having a problem with a new WSUS server - completely my issue, not really related to this provisioner - and when the client runs, it receives HRESULT exceptions, as it should. Where this relates to the provisioner is that somehow this results in a successful build!
In my packer template, I'm simply calling the provisioner with no updates:
In my build, the update step fails to ever get a positive response, but then the build goes on to succeed:
As mentioned, I know I have a problem with my new WSUS server, I would just like the provisioner to reflect that and fail the build.
I am using:
packer 1.8
docker container hashicorp/packer:1.8
windows-update plugin 0.14.1
The text was updated successfully, but these errors were encountered: