Bug 1707684

Summary: report_mirror requires xmlrpclib, which is not available
Product: [Fedora] Fedora Reporter: Jan ONDREJ <ondrejj>
Component: mirrormanager2Assignee: Patrick Uiterwijk <puiterwijk>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 30CC: adrian, infra-sig, puiterwijk, SpikeFedora
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mirrormanager2-0.11-1.fc31 mirrormanager2-0.11-1.fc30 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-02 02:27:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan ONDREJ 2019-05-08 05:31:50 UTC
Description of problem:
report_mirror script from Fedora 30 has been ported to use python3 instead of python2. This is good, but looks like script content requires changes too. xmlrpclib is not present in python3.

Please, fix this. This causes problems to report my mirror to Fedora infrastructure.

As a partial solution it's still possible to run report_mirror under python2 using:
  python2 /usr/bin/report_mirror

Version-Release number of selected component (if applicable):
mirrormanager2-client-0.9.0-2.fc30.noarch

How reproducible:
always

Steps to Reproduce:
1. /usr/bin/report_mirror

Actual results:
Traceback (most recent call last):
  File "/usr/bin/report_mirror", line 11, in <module>
    import xmlrpclib
ModuleNotFoundError: No module named 'xmlrpclib'

Comment 1 Adrian Reber 2019-05-11 10:15:01 UTC
Fixed in https://github.com/fedora-infra/mirrormanager2/pull/269, will provide a F30 build once the patch is merged.

Comment 2 Spike 2019-10-23 08:24:35 UTC
(In reply to Adrian Reber from comment #1)
> Fixed in https://github.com/fedora-infra/mirrormanager2/pull/269, will
> provide a F30 build once the patch is merged.

Could you also push an update to bodhi for Fedora 30? Currently there's only a recent version for rawhide and EL7: https://bodhi.fedoraproject.org/updates/?packages=mirrormanager2

Cheers!

Comment 3 Fedora Update System 2019-10-23 19:24:42 UTC
FEDORA-2019-3875b99527 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-3875b99527

Comment 4 Fedora Update System 2019-10-23 19:30:40 UTC
FEDORA-2019-d0b0570ccf has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-d0b0570ccf

Comment 5 Fedora Update System 2019-10-24 18:54:39 UTC
mirrormanager2-0.11-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-3875b99527

Comment 6 Fedora Update System 2019-10-25 19:34:27 UTC
mirrormanager2-0.11-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-d0b0570ccf

Comment 7 Fedora Update System 2019-11-02 02:27:39 UTC
mirrormanager2-0.11-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2019-11-05 03:56:48 UTC
mirrormanager2-0.11-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.