Giter Site home page Giter Site logo

ovirt / ovirt-appliance Goto Github PK

View Code? Open in Web Editor NEW
17.0 14.0 22.0 410 KB

Appliance for oVirt Engine: an OVA shipping CentOS Stream and oVirt Engine, wrapped in an RPM.

Home Page: https://ovirt.org/

License: GNU General Public License v2.0

Shell 17.74% Python 46.84% Makefile 14.47% Jinja 20.94%
appliance ovirt virtualization

ovirt-appliance's Issues

renderks use deprecated api

Describe the bug

scripts/renderks.py ovirt-release-master centos > "ovirt-engine-appliance.ks"
scripts/renderks.py:18: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.

To reproduce

cd  engine-appliance
make

Expected behavior
renderks shouldn't use deprecated API

Change el9 appliance to ship el9 based ovirt engine

Up to oVirt 4.5.4 the el9 appliance rpm was shipping a vm based on CentOS Stream 8.

For next release the appliance vm should be moved to CentOS Stream 9 so the solution will be fully based on that distribution.

hosted engine missing python3.9 jmespath and netaddr

Tested version and env details:
centos-release-ovirt45-8.7-2.el8s.noarch
ovirt-hosted-engine-setup-2.6.5-1.el8.noarch
Clean centos installation followed by the deployment guide for 4.5:
Kernel 4.18.0-408.el8.x86_64 #1 SMP Mon Jul 18 17:42:52 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
cat /etc/redhat-release
CentOS Stream release 8
_Please let me know if you need more details like sosreport or list of repos/packages but basically it is just clean centos + ovirt-45-upstream

Issue:
Initial installation of package failed due missing netaddr and jmespath (although packages were installed for python3 and 3.8). After applying workaround (described below) I hit the same issue later during engine VM configuration (packages missing on engine VM side).
Seems I'm not the only one hitting the issue: https://lists.ovirt.org/archives/list/[email protected]/thread/MRRWORQVAFHSEPEWORQMR63DAHPCLTGG/

Workaround:
Version for python3 and 3.8 are installed, but seems that 3.9 netaddr and jmespath are required. As a workaround I installed these via epel (but can also be provided by pip) and was able to get past the first failure. Adding '--ansible-extra-vars=he_pause_host=true' allowed me to pause deployment prior to the next failure. With deployment paused I entered the engine VM and was able to manually install the packages via pip. After this workaround deployment proceeded without issues.

Possible solutions:
Mentioned packages should be provided in some way. Either the ansible playbooks needs to be updated to fix dependencies via pip, or packages should be served by ovirt-45-upstream.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.