Bug 1378118 - python-windows-2.7.8 rpm package in ovirt repositories is corrupt [NEEDINFO]
Summary: python-windows-2.7.8 rpm package in ovirt repositories is corrupt
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: ovirt-distribution
Classification: oVirt
Component: General
Version: ---
Hardware: x86_64
OS: Linux
unspecified
medium vote
Target Milestone: ovirt-4.0.5
: ---
Assignee: Sandro Bonazzola
QA Contact: Petr Matyáš
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-21 13:55 UTC by Rose Dovell
Modified: 2017-05-11 09:25 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-22 12:31:32 UTC
oVirt Team: Integration
sbonazzo: needinfo? (dovellrtest)
sbonazzo: ovirt-4.0.z?
rule-engine: planning_ack?
rule-engine: devel_ack?
pstehlik: testing_ack+


Attachments (Terms of Use)

Description Rose Dovell 2016-09-21 13:55:16 UTC
Description of problem:
python-windows-2.7.8-2.fc23.noarch.rpm is corrupt(on at least several if not all mirrors) of ovirt-engine 4.0 packages, preventing mirroring to local repositories.  This has been tested on several machines running RHEL 7.  This corruption results in failed downloads and odd permission denied errors regardless of the permissions on the rpm file or the SELinux context.

Version-Release number of selected component (if applicable):
2.7.8-2

How reproducible:
Here is a simple example to demonstrate that the package is corrupted, what I am actually trying to do is clone the repo using reposync.

yum install --download-only --downloaddir=/tmp python-windows

Steps to Reproduce:
1. Install the ovirt-release package to install the YUM repository for ovirt-4.0
2. Run yum install --download-only --downloaddir=/tmp python-windows

Actual results:
Total download size: 15 M
Installed size: 16 M
Background downloading packages, then exiting:
python-windows-2.7.8-2.fc23.no FAILED                                          3% [===============================================================-    ] 2.9 MB/s |  14 MB  00:00:00 ETA 
http://ftp.plusline.net/ovirt/ovirt-4.0/rpm/el7Workstation/noarch/python-windows-2.7.8-2.fc23.noarch.rpm: [Errno 16] error opening file from http://ftp.plusline.net/ovirt/ovirt-4.0/rpm/el7Workstation/noarch/python-windows-2.7.8-2.fc23.noarch.rpm, IOError: [Errno 1] Operation not permitted: '/tmp/python-windows-2.7.8-2.fc23.noarch.rpm.24465.tmp'
Trying other mirror.
python-windows-2.7.8-2.fc23.no FAILED                                          
http://www.gtlib.gatech.edu/pub/oVirt/pub/ovirt-4.0/rpm/el7Workstation/noarch/python-windows-2.7.8-2.fc23.noarch.rpm: [Errno 16] error opening local file from http://www.gtlib.gatech.edu/pub/oVirt/pub/ovirt-4.0/rpm/el7Workstation/noarch/python-windows-2.7.8-2.fc23.noarch.rpm, IOError: [Errno 1] Operation not permitted: '/tmp/python-windows-2.7.8-2.fc23.noarch.rpm.24465.tmp'
Trying other mirror.
python-windows-2.7.8-2.fc23.no FAILED                                          
ftp://ftp.gtlib.gatech.edu/pub/oVirt/pub/ovirt-4.0/rpm/el7Workstation/noarch/python-windows-2.7.8-2.fc23.noarch.rpm: [Errno 16] error opening local file from ftp://ftp.gtlib.gatech.edu/pub/oVirt/pub/ovirt-4.0/rpm/el7Workstation/noarch/python-windows-2.7.8-2.fc23.noarch.rpm, IOError: [Errno 1] Operation not permitted: '/tmp/python-windows-2.7.8-2.fc23.noarch.rpm.24465.tmp'
Trying other mirror.
python-windows-2.7.8-2.fc23.no FAILED                                          
http://mirror.linux.duke.edu/ovirt/pub/ovirt-4.0/rpm/el7Workstation/noarch/python-windows-2.7.8-2.fc23.noarch.rpm: [Errno 16] error opening local file from http://mirror.linux.duke.edu/ovirt/pub/ovirt-4.0/rpm/el7Workstation/noarch/python-windows-2.7.8-2.fc23.noarch.rpm, IOError: [Errno 1] Operation not permitted: '/tmp/python-windows-2.7.8-2.fc23.noarch.rpm.24465.tmp'
Trying other mirror.
python-windows-2.7.8-2.fc23.no FAILED                                          
http://resources.ovirt.org/pub/ovirt-4.0/rpm/el7Workstation/noarch/python-windows-2.7.8-2.fc23.noarch.rpm: [Errno 16] error opening local file from http://resources.ovirt.org/pub/ovirt-4.0/rpm/el7Workstation/noarch/python-windows-2.7.8-2.fc23.noarch.rpm, IOError: [Errno 1] Operation not permitted: '/tmp/python-windows-2.7.8-2.fc23.noarch.rpm.24465.tmp'
Trying other mirror.
python-windows-2.7.8-2.fc23.no FAILED                                          
http://mirrors.ibiblio.org/ovirt/pub/ovirt-4.0/rpm/el7Workstation/noarch/python-windows-2.7.8-2.fc23.noarch.rpm: [Errno 16] error opening local file from http://mirrors.ibiblio.org/ovirt/pub/ovirt-4.0/rpm/el7Workstation/noarch/python-windows-2.7.8-2.fc23.noarch.rpm, IOError: [Errno 1] Operation not permitted: '/tmp/python-windows-2.7.8-2.fc23.noarch.rpm.24465.tmp'
Trying other mirror.
python-windows-2.7.8-2.fc23.no FAILED                                          
http://mirror.isoc.org.il/pub/ovirt/ovirt-4.0/rpm/el7Workstation/noarch/python-windows-2.7.8-2.fc23.noarch.rpm: [Errno 16] error opening local file from http://mirror.isoc.org.il/pub/ovirt/ovirt-4.0/rpm/el7Workstation/noarch/python-windows-2.7.8-2.fc23.noarch.rpm, IOError: [Errno 1] Operation not permitted: '/tmp/python-windows-2.7.8-2.fc23.noarch.rpm.24465.tmp'
Trying other mirror.
python-windows-2.7.8-2.fc23.no FAILED                                          
http://mirror.slu.cz/ovirt/ovirt-4.0/rpm/el7Workstation/noarch/python-windows-2.7.8-2.fc23.noarch.rpm: [Errno 16] error opening local file from http://mirror.slu.cz/ovirt/ovirt-4.0/rpm/el7Workstation/noarch/python-windows-2.7.8-2.fc23.noarch.rpm, IOError: [Errno 1] Operation not permitted: '/tmp/python-windows-2.7.8-2.fc23.noarch.rpm.24465.tmp'
Trying other mirror.
python-windows-2.7.8-2.fc23.no FAILED                                          
http://mirrors.rit.edu/ovirt/pub/ovirt-4.0/rpm/el7Workstation/noarch/python-windows-2.7.8-2.fc23.noarch.rpm: [Errno 16] error opening local file from http://mirrors.rit.edu/ovirt/pub/ovirt-4.0/rpm/el7Workstation/noarch/python-windows-2.7.8-2.fc23.noarch.rpm, IOError: [Errno 1] Operation not permitted: '/tmp/python-windows-2.7.8-2.fc23.noarch.rpm.24465.tmp'
Trying other mirror.
python-windows-2.7.8-2.fc23.no FAILED                                          
http://ftp.snt.utwente.nl/pub/software/ovirt/ovirt-4.0/rpm/el7Workstation/noarch/python-windows-2.7.8-2.fc23.noarch.rpm: [Errno 16] error opening local file from http://ftp.snt.utwente.nl/pub/software/ovirt/ovirt-4.0/rpm/el7Workstation/noarch/python-windows-2.7.8-2.fc23.noarch.rpm, IOError: [Errno 1] Operation not permitted: '/tmp/python-windows-2.7.8-2.fc23.noarch.rpm.24465.tmp'
Trying other mirror.
python-windows-2.7.8-2.fc23.no FAILED                                          
http://ftp.nluug.nl/os/Linux/virtual/ovirt/ovirt-4.0/rpm/el7Workstation/noarch/python-windows-2.7.8-2.fc23.noarch.rpm: [Errno 16] error opening local file from http://ftp.nluug.nl/os/Linux/virtual/ovirt/ovirt-4.0/rpm/el7Workstation/noarch/python-windows-2.7.8-2.fc23.noarch.rpm, IOError: [Errno 1] Operation not permitted: '/tmp/python-windows-2.7.8-2.fc23.noarch.rpm.24465.tmp'
Trying other mirror.



Expected results:
File is downloaded and readable

Additional info:
The package often does not download at all, but when it does, it is corrupt.

Comment 1 Red Hat Bugzilla Rules Engine 2016-09-22 08:17:46 UTC
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.

Comment 2 Sandro Bonazzola 2016-09-22 12:31:32 UTC
I'm not able to reproduce your issue.
Please be sure that your network connection is working correctly

# LC_ALL=C yum install --downloadonly --downloaddir=/tmp python-windows
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * ovirt-4.0: ftp.nluug.nl
 * ovirt-4.0-epel: mirror.switch.ch
Resolving Dependencies
--> Running transaction check
---> Package python-windows.noarch 0:2.7.8-2.fc23 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================
 Package                  Arch             Version                  Repository           Size
==============================================================================================
Installing:
 python-windows           noarch           2.7.8-2.fc23             ovirt-4.0            15 M

Transaction Summary
==============================================================================================
Install  1 Package

Total download size: 15 M
Installed size: 16 M
Background downloading packages, then exiting:
python-windows-2.7.8-2.fc23.noarch.rpm                                 |  15 MB  00:00:29     
exiting because "Download Only" specified



I'm going to close this as Worksforme. Please reopen if you're able to provide a reliable way to reproduce the issue.

About the selinux context, be sure that you've configured correctly selinux on your system, yum need selinux permission for saving content in a directory its not supposed to write to.


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