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

Errors during downloading metadata for repository 'ubi-8-baseos' #19

Closed
inzagod opened this issue Aug 24, 2020 · 9 comments
Closed

Errors during downloading metadata for repository 'ubi-8-baseos' #19

inzagod opened this issue Aug 24, 2020 · 9 comments

Comments

@inzagod
Copy link

inzagod commented Aug 24, 2020

hi,

i am not able to proceed with the 2 dockerfiles for the runner and the helper because i received this error :

Errors during downloading metadata for repository 'ubi-8-baseos':

i tried to run the command : dnf install -y git make go inside the ubi8:8.2 image but it is the same.
i cleaned the cache, dnf but the issue is still present

i cannot unregister and register the subscription because it is disabled inside a container

can you help me about this issue ?

thanks a lot

ludo

@quarckster
Copy link
Contributor

I cannot reproduce it. I tried to perform these commands:

podman run -it --rm registry.access.redhat.com/ubi8:8.2 bash
dnf install -y git make go

and it works for me. Can you reach out https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi8/8/x86_64/baseos/os/repodata/repomd.xml locally outside of the container?

@inzagod
Copy link
Author

inzagod commented Aug 25, 2020 via email

@quarckster
Copy link
Contributor

quarckster commented Aug 25, 2020

I can only assume that you have some unusual network configuration. Probably you have some proxy. I also wonder why you have http and https proxy on the same port: https_proxy='https://10.1.1.120:8080' --env http_proxy='http:https://10.1.1.120:8080'

@inzagod
Copy link
Author

inzagod commented Aug 25, 2020 via email

@inzagod
Copy link
Author

inzagod commented Sep 1, 2020 via email

@quarckster
Copy link
Contributor

@inzagod
Copy link
Author

inzagod commented Sep 2, 2020 via email

@quarckster
Copy link
Contributor

I believe you're mixing up the runner pod and the builder container. The runner pod doesn't run the commands from pipelines. It waits for new tasks from GitLab server and spawns builder containers where commands from your pipeline are executed. If I understood you correctly you want to inject maven's settings.xml into a builder container that is stored in a config map. In order to do that you should configure the runner as it's described in the doc link I provided.
Another option would be just put settings.xml into the Dockerfile of the builder container image.

@inzagod
Copy link
Author

inzagod commented Sep 2, 2020 via email

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

2 participants