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

CRI-O missing proxy environment #7491

Closed
krystianmlynek opened this issue Apr 12, 2021 · 2 comments · Fixed by #7492
Closed

CRI-O missing proxy environment #7491

krystianmlynek opened this issue Apr 12, 2021 · 2 comments · Fixed by #7492
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@krystianmlynek
Copy link
Contributor

Environment:

  • OS (printf "$(uname -srm)\n$(cat /etc/os-release)\n"):
    Ubuntu 18.04.4
  • Version of Ansible (ansible --version):
    ansible 2.9.17
  • Version of Python (python --version):
    Python 3.6.9

Kubespray version (commit) (git rev-parse --short HEAD):
Release-2.15
Output of ansible run:

TASK [container-engine/cri-o : Add CRI-O kubic apt repo key] ********************************************************************************************************************************************
 FAILED! => {
    "attempts": 4,
    "changed": false,
    "invocation": {
        "module_args": {
            "data": null,
            "file": null,
            "id": null,
            "key": null,
            "keyring": null,
            "keyserver": null,
            "state": "present",
            "url": "https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_18.04/Release.key",
            "validate_certs": true
        }
    },
    "msg": "Failed to download key at https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_18.04/Release.key: Request failed: <urlopen error [Errno 101] Network is unreachable>"
}

Anything else do we need to know:
Missing
environment: "{{ proxy_env }}"
in /roles/container-engine/cri-o/tasks/crio_repo.yml - adding environment solves the problem.

@krystianmlynek krystianmlynek added the kind/bug Categorizes issue or PR as related to a bug. label Apr 12, 2021
@floryut
Copy link
Member

floryut commented Apr 12, 2021

@krystianmlynek Thank you for the report, care to make a PR ?

@krystianmlynek
Copy link
Contributor Author

@floryut

yup, I will try to submit PR in a minute

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants