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

"Signature status is not valid. Status: Unknown" when dowloading Postgres #11204

Open
2 of 15 tasks
ChrisGibson1982 opened this issue Dec 16, 2024 · 8 comments
Open
2 of 15 tasks

Comments

@ChrisGibson1982
Copy link

Description

When my image creation gets to the downloading Postgres, i get the below error. I am use the current mian branch

==> azure-arm.image: Provisioning with powershell script: C:/Agent7/_work/3/s/runner-images/images/windows/templates/../scripts/build/Install-PostgreSQL.ps1 azure-arm.image: Downloading package from https://get.enterprisedb.com/postgresql/postgresql-14.12-1-windows-x64.exe to D:\temp\postgresql-14.12-1-windows-x64.exe... azure-arm.image: Package downloaded in 13.97 seconds ==> azure-arm.image: Signature status is not valid. Status: UnknownError ==> azure-arm.image: At C:\Program Files\WindowsPowerShell\Modules\ImageHelpers\InstallHelpers.ps1:983 char:9 ==> azure-arm.image: + throw "Signature status is not valid. Status: $($signature.St ... ==> azure-arm.image: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ==> azure-arm.image: + CategoryInfo : OperationStopped: (Signature statu...s: UnknownError:String) [], RuntimeException ==> azure-arm.image: + FullyQualifiedErrorId : Signature status is not valid. Status: UnknownError ==> azure-arm.image: ==> azure-arm.image: Script exited with non-zero exit status: 1. Allowed exit codes are: [0] ==> azure-arm.image: Step "StepProvision" failed

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

latest code from main branch

Is it regression?

no

Expected behavior

to successfully download and install Postgres

Actual behavior

Fails to install/download Postgres

Repro steps

run the GenerateResourcesAndImage powershell function to build a new image

@vidyasagarnimmagaddi
Copy link
Contributor

Hi @ChrisGibson1982 ,Thank you for bringing this issue to our attention. We are looking into this issue and will update you on this issue after investigating.

@vidyasagarnimmagaddi
Copy link
Contributor

hi @ChrisGibson1982 ,
We are able to build the image and facing no issue in installing postgresql , could you please try to build the image again and share the logs if error. Thanks

@ChrisGibson1982
Copy link
Author

buildAgentLog_Postgres.txt
I've kicked off another build, but i ran two yesterday and got the same issue. I have also managed to download the file on another windows VM on the same subnet. Attached is the Azure DevOps log which shows the issue. Once the build finishes i will update this issue, its going to take 3-4 hours

@ChrisGibson1982
Copy link
Author

Our network team have checked the inbound/outbound traffic for the temp packer vm and they can't see any connections that where blocked, apart from http to a hashicorp url that then succeeed on 443

@vidyasagarnimmagaddi
Copy link
Contributor

vidyasagarnimmagaddi commented Dec 17, 2024

Hi , Please be informed.
The directory for temporary files has been moved to drive D: due to the new cleanup process.
The VM size (Standard_D8s_v4) does not have a local (temporary) disk. However Fsv2 sizes series do have such drive.

To workaround this issue, you can either update VM size variable "vm_size" or update the variable for temporary files variable "temp_dir". Thanks

@ChrisGibson1982
Copy link
Author

Hi, the temporary vm is s Standard F8s V2, which does have a temp drive. I also ran ps command via the portal and i can see the D drive. so should this be ok?

@vidyasagarnimmagaddi
Copy link
Contributor

Hi, the temporary vm is s Standard F8s V2, which does have a temp drive. I also ran ps command via the portal and i can see the D drive. so should this be ok?

Yes , please try it, and revert the status of it , thanks

@vidyasagarnimmagaddi
Copy link
Contributor

Hi @ChrisGibson1982 , Any update on this . Could you please provide .. thanks

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

No branches or pull requests

2 participants