EuroLinux / cloud-images-rfc

This repository contains Requests for Change in EuroLinux made cloud images.
https://app.vagrantup.com/eurolinux-vagrant
9 stars 0 forks source link

[BUG] Unable to access OL6 yum repositories with Vagrant box #3

Closed bocekm closed 3 years ago

bocekm commented 3 years ago

Describe the bug I'm unable to access Oracle's OL 6.10 repos when using the eurolinux-vagrant/oracle-linux-6 box.

Cloud Image Vagrant, libvirt, version 6.10.18

To Reproduce

Steps to reproduce the behavior:

  1. Vagrantfile:
    Vagrant.configure("2") do |config|
    config.vm.box = "eurolinux-vagrant/oracle-linux-6"
    end
  2. vagrant up
  3. vagrant ssh
  4. yum install any_package
  5. See error:
    Loaded plugins: ulninfo
    Setting up Install Process
    https://yum.oracle.com/repo/OracleLinux/OL6/UEKR4/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 77 - "Problem with the SSL CA cert (path? access rights?)"
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: public_ol6_UEKR4. Please verify its path and try again

Expected behavior I am able to install packages through yum.

Additional context The reason is that /etc/pki/tls/certs/ca-bundle.crt is empty. Is it intentional?

# rpm -Va ca-certificates
S.5....T.  c /etc/pki/tls/certs/ca-bundle.crt
# ll /etc/pki/tls/certs/ca-bundle.crt
-rw-r--r--. 1 root root 0 Oct  5 19:46 /etc/pki/tls/certs/ca-bundle.crt
AlexBaranowski commented 3 years ago

Hi!

Thanks for report. I just tested this image and there is problem. We are going to resolve it shortly.

AlexBaranowski commented 3 years ago

Ok. So from my research, it seems like:

Now I'm trying to rebuild the image with previous OL iso (we update systems before pushing to Vagrant Cloud so it will have newest packages).

TLDR: We are still working on the issue.

PS. As the person responsible for this images I'm doing it mostly in my free time, and right now there are protests in my country (I'm actually going on them), so it is slower than I expected :).

bocekm commented 3 years ago

Thanks for the information. It's not that urgent, we have a workaround. Good luck with the protests.

AlexBaranowski commented 3 years ago

Hi. The newest eurolinux-vagrant/oracle-linux-6 (libvirt, 6.10.19) fixed the issue. Once more thanks for report. Tommorow rest of the providers will be automatically rebuild.

bocekm commented 3 years ago

Thanks a lot, Alex.