Bug 1724076 - Failing to build appliance on imagefactory requiring python3 on EL7
Summary: Failing to build appliance on imagefactory requiring python3 on EL7
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-appliance
Classification: oVirt
Component: Build
Version: 4.3.4
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ovirt-4.3.5
: ---
Assignee: Yuval Turgeman
QA Contact: Lukas Svaty
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-06-26 08:17 UTC by Sandro Bonazzola
Modified: 2019-07-03 16:06 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-07-03 16:06:48 UTC
oVirt Team: Node
Embargoed:
sbonazzo: ovirt-4.3?
sbonazzo: blocker?
sbonazzo: planning_ack?
sbonazzo: devel_ack+
sbonazzo: testing_ack?


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 101468 0 master MERGED build: use previous imagefactory version for el7 2019-07-03 08:23:06 UTC
oVirt gerrit 101471 0 ovirt-4.3 MERGED build: use previous imagefactory version for el7 2019-07-03 08:45:08 UTC

Description Sandro Bonazzola 2019-06-26 08:17:45 UTC
Appliance build is currently failing with:

22:41:56 PYTHONPATH='/home/jenkins/workspace/ovirt-appliance_4.3_build-artifacts-el7-x86_64/ovirt-appliance/engine-appliance/imagefactory/' python scripts/create_ova.py -m 16384 -c 4 "ovirt-engine-appliance.qcow2" "ovirt-engine-appliance.ova"
22:41:56 Traceback (most recent call last):
22:41:56   File "scripts/create_ova.py", line 4, in <module>
22:41:56     from imagefactory_plugins.ovfcommon.ovfcommon import RHEVOVFPackage
22:41:56   File "/home/jenkins/workspace/ovirt-appliance_4.3_build-artifacts-el7-x86_64/ovirt-appliance/engine-appliance/imagefactory/imagefactory_plugins/ovfcommon/ovfcommon.py", line 29, in <module>
22:41:56     from imgfac.PersistentImageManager import PersistentImageManager
22:41:56   File "/home/jenkins/workspace/ovirt-appliance_4.3_build-artifacts-el7-x86_64/ovirt-appliance/engine-appliance/imagefactory/imgfac/PersistentImageManager.py", line 17, in <module>
22:41:56     from .ApplicationConfiguration import ApplicationConfiguration
22:41:56   File "/home/jenkins/workspace/ovirt-appliance_4.3_build-artifacts-el7-x86_64/ovirt-appliance/engine-appliance/imagefactory/imgfac/ApplicationConfiguration.py", line 24, in <module>
22:41:56     import urllib.request
22:41:56 ImportError: No module named request


urllib.request is available in python3 but not in python2.
We need to require an older version of imagefactory or get python3 into the build system.

Comment 1 Yuval Turgeman 2019-07-03 08:55:00 UTC
Wrong tracker


Note You need to log in before you can comment on or make changes to this bug.