2018-09-06 9:18 GMT+02:00 <jtorres@bsc.es>:
Hi all,

We are trying to install the new release of OVIRT 4.2.6 on freshly installed machines based on RHEL 7.5.

First of all, we encountered a strange error when install the ovirt-release42 package, it adds the necessary public repositories on /etc/yum.repos.d/, but after do that, sometimes when we try to update or install the other required packages we saw:

Cannot find a valid baseurl for repo: ovirt-4.2/$releasever

Why cannot configure this path variable automatically or what can influence to obtain this problem?

$releasever
You can use this variable to reference the release version of Red Hat Enterprise Linux. Yum obtains the value of $releasever from the distroverpkg=value line in the /etc/yum.conf configuration file. If there is no such line in /etc/yum.conf, then yuminfers the correct value by deriving the version number from the redhat-release-server package. The value of $releasever typically consists of the major release number and the variant of Red Hat Enterprise Linux, for example 6Client, or 6Server
Can you please run: rpm -qv redhat-release-server
to check you have redhat-release-server installed on your RHEL host?

If this happens randomly after the installation you may be suffering some dns or other network related issue.




 

In the other hand, when the repos sometimes are well configured and we can install the packages correctly, we found other problems related to the deploy of the ovirt-engine (OVA appliance based).

Trying through cockpit, we found this error:

[ ERROR ] fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["virt-install", "-n", "HostedEngineLocal", "--os-variant", "rhel7", "--virt-type", "kvm", "--memory", "16348", "--vcpus", "4", "--network", "network=default,mac=00:16:3e:05:c3:66,model=virtio", "--disk", "/var/tmp/localvmj4Y_f1/images/65f7f081-4d9e-43ae-926f-25807f075f1d/a0a00e73-d3ea-4b9b-bd26-06fe189931f2", "--import", "--disk", "path=/var/tmp/localvmj4Y_f1/seed.iso,device=cdrom", "--noautoconsole", "--rng", "/dev/random", "--graphics", "vnc", "--video", "vga", "--sound", "none", "--controller", "usb,model=none", "--memballoon", "none", "--boot", "hd,menu=off", "--clock", "kvmclock_present=yes"], "delta": "0:00:02.122539", "end": "2018-09-06 00:44:18.089510", "msg": "non-zero return code", "rc": 1, "start": "2018-09-06 00:44:15.966971", "stderr": "/usr/lib/python2.7/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.21.1) or chardet (2.2.1) doesn't match a supported version!\n RequestsDepen
 dencyWarning)\nERROR internal error: qemu unexpectedly closed the monitor: qemu: could not load PC BIOS 'bios-256k.bin'\nDomain installation does not appear to have been successful.\nIf it was, you can restart your domain by running:\n virsh --connect qemu:///system start HostedEngineLocal\notherwise, please restart your installation.", "stderr_lines": ["/usr/lib/python2.7/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.21.1) or chardet (2.2.1) doesn't match a supported version!", " RequestsDependencyWarning)", "ERROR internal error: qemu unexpectedly closed the monitor: qemu: could not load PC BIOS 'bios-256k.bin'", "Domain installation does not appear to have been successful.", "If it was, you can restart your domain by running:", " virsh --connect qemu:///system start HostedEngineLocal", "otherwise, please restart your installation."], "stdout": "\nStarting install...", "stdout_lines": ["", "Starting install..."]}

Seem that it's related to Python packages versions (urllib3 and chardet), but we wasn't sure about that. How could workaround this problem? Trying to install this libraries manually?

Simone replied to this part in separate email

 

We tried to found the same error over the Lists and Community, but we don't found some info about that.

Thank for your help in advance.

Regards!
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/B6UWBUHBOERLWX42GTY4OEMJGDDVNMMV/



--

SANDRO BONAZZOLA

MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV

Red Hat EMEA

sbonazzo@redhat.com