Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1707684 - report_mirror requires xmlrpclib, which is not available
Summary: report_mirror requires xmlrpclib, which is not available
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mirrormanager2
Version: 30
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Patrick Uiterwijk
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-08 05:31 UTC by Jan ONDREJ
Modified: 2019-11-05 03:56 UTC (History)
4 users (show)

Fixed In Version: mirrormanager2-0.11-1.fc31 mirrormanager2-0.11-1.fc30
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-02 02:27:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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