Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error using latest windows 2019 and windows 2016 + sql ent/standard and packer #2433

Open
derhally opened this issue Feb 1, 2025 · 0 comments

Comments

@derhally
Copy link

derhally commented Feb 1, 2025

The following images seem to have an issue with packer when packer waits to create the windows user.

  • sql-2019-enterprise-windows-2019-dc-v20250123
  • sql-2019-standard-windows-2019-dc-v20250123
  • sql-2017-standard-windows-2016-dc-v20250123
  • sql-2016-enterprise-windows-2016-dc-v20250123

We adjusted the windows_password_timeout to 15 and still get errors like

Step #2: Build 'windows-server.googlecompute.sql-enterprise-2016-win-2016' errored after 15 minutes 39 seconds: Error creating windows password: time out while waiting for the password to be created

Step #2: Build 'windows-server.googlecompute.sql-standard-2017-win-2016' errored after 15 minutes 40 seconds: Error creating windows password: time out while waiting for the password to be created

These are the only images that encounter this error out of the 2 dozen windows images we build each month. Our packer templates are the same for the last 1+ years.

We use the same packer template for the 22 windows images.

We did not encounter issues with

  • sql-2022-enterprise-windows-2022-dc-v20250123
  • sql-2019-enterprise-windows-2022-dc-v20250123
  • sql-2022-standard-windows-2025-dc-v20250123
  • sql-2022-enterprise-windows-2025-dc-v20250123

We are using packer 1.12.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant