hitachienergy/epiphany

[BUG] 2ndQuadrant repo GPG public key expired

Closed this issue · 1 comments

Describe the bug
The public key for 2ndQuadrant repo has expired on 08.03.2024 which causes epicli installation to fail.

gpg: directory '/root/.gnupg' created
gpg: keybox '/root/.gnupg/pubring.kbx' created
pub   rsa4096 2018-03-14 [SC] [expired: 2024-03-08]
      8565305CEA7D0B664933D2509904CD4BD6BAF0C3
uid                      Public repository signing key 2ndQuadrant <ci@2ndquadrant.com>

--------------------------------------------------
2024-03-10 23:12:41,094 [INFO]: Installing base packages...
2024-03-10 23:12:42,058 [INFO]: Done installing base packages.
2024-03-10 23:12:42,093 [INFO]: Adding third party repositories...
2024-03-10 23:12:50,917 [WARNING]: 
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

W: GPG error: https://dl.2ndquadrant.com/default/release/apt focal-2ndquadrant InRelease: The following signatures were invalid: EXPKEYSIG 9904CD4BD6BAF0C3 Public repository signing key 2ndQuadrant <ci@2ndquadrant.com>
E: The repository 'https://dl.2ndquadrant.com/default/release/apt focal-2ndquadrant InRelease' is not signed.

2024-03-10 23:12:54,098 [WARNING]: 
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

W: GPG error: https://dl.2ndquadrant.com/default/release/apt focal-2ndquadrant InRelease: The following signatures were invalid: EXPKEYSIG 9904CD4BD6BAF0C3 Public repository signing key 2ndQuadrant <ci@2ndquadrant.com>
E: The repository 'https://dl.2ndquadrant.com/default/release/apt focal-2ndquadrant InRelease' is not signed.

2024-03-10 23:12:57,399 [WARNING]: 
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

W: GPG error: https://dl.2ndquadrant.com/default/release/apt focal-2ndquadrant InRelease: The following signatures were invalid: EXPKEYSIG 9904CD4BD6BAF0C3 Public repository signing key 2ndQuadrant <ci@2ndquadrant.com>
E: The repository 'https://dl.2ndquadrant.com/default/release/apt focal-2ndquadrant InRelease' is not signed.

2024-03-10 23:12:57,399 [WARNING]: Retries count reached maximum, command: `apt update`

Original issue: 2ndQuadrant/pglogical#464

Need to wait until the key is updated.
As a workaround (strictly not recommended), one can add the 2ndquadrant repository to trusted ones.

How to reproduce
Steps to reproduce the behavior:

  1. execute epicli init ... (with params)
  2. edit config file
  3. execute epicli apply ...

Expected behavior
A clear and concise description of what you expected to happen.

Config files
If applicable, add config files to help explain your problem.

Environment

  • Cloud provider: [AWS | Azure | All | None]
  • OS: [e.g. Ubuntu 20.04.3 LTS, you can use cat /etc/os-release]

epicli version: [epicli --version]

Additional context
Add any other context about the problem here.


DoD checklist

  • Changelog
    • updated
    • not needed
  • COMPONENTS.md
    • updated
    • not needed
  • Schema
    • updated
    • not needed
  • Backport tasks
    • created
    • not needed
  • Documentation
    • added
    • updated
    • not needed
  • Feature has automated tests
  • Automated tests passed (QA pipelines)
    • apply
    • upgrade
    • backup/restore
  • Idempotency tested
  • All conversations in PR resolved

The gpg public key for 2ndQuadrant repo has been updated and should be valid till 11.03.2026.