smart-edge-open / converged-edge-experience-kits

Source code for experience kits with Ansible-based deployment.
Apache License 2.0
37 stars 40 forks source link

OpenNESS deployment got failed. [Errno -1] repomd.xml signature could not be verified for kubernetes #107

Closed amr-mokhtar closed 3 years ago

amr-mokhtar commented 3 years ago

During a smoke test today of the OpenNESS 21.03 release, we have observed an issue which is affecting the deployment of OpenNESS that seems to be related to the Kubernetes issue #60134

Error occurred. Will retry after 5 seconds. You can find details below:
Failure talking to yum: failure: repodata/repomd.xml from kubernetes: [Errno 256] No more mirrors to try.
https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for Kubernetes

A quick fix is to disable repo_gpgcheck in file converged-edge-experience-kits/roles/kubernetes/common/tasks/main.yml:

    gpgkey: "{{ _kubernetes_repository_key }}"
    gpgcheck: yes
    enabled: true
-    repo_gpgcheck: true
  become: yes
  register: result
  retries: "{{ number_of_retries }}"

This workaround is currently under verification by our nightly builds with a view to providing a patch release once we are sure it does not cause any regressions.

ravicorning commented 3 years ago

Sure that work around seems to work.

amr-mokhtar commented 3 years ago

Closing as this has been fixed by tag openness-21.03.01