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 1666257 - Cannot build module with help of module-build-local on Centos7
Summary: Cannot build module with help of module-build-local on Centos7
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: module-build-service
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matt Prahl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-01-15 11:08 UTC by Andrei Stepanov
Modified: 2019-01-26 02:22 UTC (History)
4 users (show)

Fixed In Version: module-build-service-2.12.2-1.fc29 module-build-service-2.12.2-1.fc28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-26 02:14:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Andrei Stepanov 2019-01-15 11:08:26 UTC
fedpkg module-build-local -s platform:f30 fails

Centos7 has installed the latest version of packages.

rpm -qa  |grep -E 'module-build-service|fedpkg'
fedpkg-1.35-1.el7.noarch
module-build-service-2.6.0-2.el7.noarch

$ klist 
Ticket cache: KEYRING:persistent:0:0
Default principal: astepano

Valid starting       Expires              Service principal
01/15/2019 06:00:28  01/16/2019 06:00:13  krbtgt/FEDORAPROJECT.ORG
	renew until 01/22/2019 06:00:13




[root@host-8-253-48 standard-test-roles]# fedpkg module-build-local -s platform:f30
2019-01-15 06:06:17,197 - MainThread - module_build_service - WARNING - ldap3 import not found.  ldap/krb disabled.
2019-01-15 06:06:17,499 - MainThread - requests.packages.urllib3.util.retry - DEBUG - Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None)
2019-01-15 06:06:17,521 - MainThread - requests.packages.urllib3.connectionpool - INFO - Starting new HTTPS connection (1): mbs.fedoraproject.org
2019-01-15 06:06:18,032 - MainThread - requests.packages.urllib3.connectionpool - DEBUG - "GET /module-build-service/1/module-builds/?name=platform&stream=f30&order_desc_by=version&state=ready&per_page=10&page=1&verbose=True HTTP/1.1" 200 2251
2019-01-15 06:06:18,034 - MainThread - requests.packages.urllib3.util.retry - DEBUG - Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None)
2019-01-15 06:06:18,035 - MainThread - module_build_service - INFO - Starting resolving with following input modules: ['platform:f30:5:00000000']
2019-01-15 06:06:18,035 - MainThread - module_build_service - DEBUG - Testing standard-test-roles:f30:20190115110617:0-20190115110617.src with combination: (<Solvable #2 platform:f30:5:00000000-5.x86_64>,)
2019-01-15 06:06:18,035 - MainThread - module_build_service - DEBUG - Jobs:
2019-01-15 06:06:18,035 - MainThread - module_build_service - DEBUG -   - favor platform:f30:5:00000000-5.x86_64
2019-01-15 06:06:18,035 - MainThread - module_build_service - DEBUG -   - install standard-test-roles:f30:20190115110617:0-20190115110617.src
2019-01-15 06:06:18,036 - MainThread - module_build_service - DEBUG - Transaction:
2019-01-15 06:06:18,036 - MainThread - module_build_service - DEBUG -   - standard-test-roles:f30:20190115110617:0-20190115110617.src
2019-01-15 06:06:18,036 - MainThread - module_build_service - DEBUG -   - platform:f30:5:00000000-5.x86_64
2019-01-15 06:06:18,036 - MainThread - module_build_service - INFO - Resolving done, possible requires: set([frozenset(['standard-test-roles:f30:20190115110617:0:src', 'platform:f30:5:00000000:x86_64'])])
2019-01-15 06:06:18,037 - MainThread - requests.packages.urllib3.util.retry - DEBUG - Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None)
2019-01-15 06:06:18,041 - MainThread - requests.packages.urllib3.connectionpool - INFO - Starting new HTTPS connection (1): mbs.fedoraproject.org
2019-01-15 06:06:18,464 - MainThread - requests.packages.urllib3.connectionpool - DEBUG - "GET /module-build-service/1/module-builds/?name=platform&stream=f30&order_desc_by=version&state=ready&version=5&context=00000000&per_page=10&page=1&verbose=True HTTP/1.1" 200 2305
2019-01-15 06:06:18,468 - MainThread - module_build_service - DEBUG - Checking whether module build already exists: standard-test-roles:f30:20190115110617:a5b0195c.
2019-01-15 06:06:18,471 - MainThread - module_build_service - DEBUG - Creating new module build
2019-01-15 06:06:18,484 - MainThread - module_build_service - WARNING - Hub not initialized.  Queueing on the side.
2019-01-15 06:06:18,489 - MainThread - module_build_service - INFO - root submitted build of standard-test-roles, stream=f30, version=20190115110617, context=a5b0195c
2019-01-15 06:06:18,491 - MainThread - moksha.hub - INFO - Loading the Moksha Hub
2019-01-15 06:06:18,491 - MainThread - moksha.hub - WARNING - No 'zmq_publish_endpoints' set.  Are you sure?
2019-01-15 06:06:19,492 - MainThread - moksha.hub - INFO - Loading Consumers
2019-01-15 06:06:19,493 - MainThread - moksha.hub - DEBUG - Loading explicitly passed entry-points.
2019-01-15 06:06:19,493 - MainThread - module_build_service - DEBUG - Setting topics: *
2019-01-15 06:06:19,493 - MainThread - fedmsg.consumers - DEBUG - mbsconsumer is True
2019-01-15 06:06:19,493 - MainThread - fedmsg.consumers - INFO -   enabled by config  - module_build_service.scheduler.consumer:MBSConsumer
2019-01-15 06:06:19,493 - MainThread - moksha.hub - DEBUG - Subscribing to consumer topic *
2019-01-15 06:06:19,493 - MainThread - moksha.hub - DEBUG - Subscribing to  on 'ZmqEndpoint(type='connect', address='ipc:///dev/null')'
2019-01-15 06:06:19,493 - MainThread - moksha.hub - DEBUG - Creating new txzmq factory.
2019-01-15 06:06:19,494 - MainThread - moksha.hub - INFO - Blocking mode false for <module_build_service.scheduler.consumer.MBSConsumer object at 0x7f8696c0c2d0>.  Messages to be queued and distributed to 1 threads.
2019-01-15 06:06:19,494 - MainThread - fedmsg.consumers - INFO - No backlog handling.  status: None, url: None
2019-01-15 06:06:19,494 - MainThread - moksha.hub - INFO - Loading Producers
2019-01-15 06:06:19,494 - MainThread - moksha.hub - DEBUG - Loading explicitly passed entry-points.
2019-01-15 06:06:19,494 - MainThread - moksha.hub - INFO - Running the MokshaHub reactor
2019-01-15 06:06:19,494 - MainThread - moksha.hub - INFO - Suggesting threadpool size at 2
2019-01-15 06:06:19,495 - PoolThread-twisted.internet.reactor-1 - moksha.hub - DEBUG - 'MBSConsumer' thread 140215986923264 | Worker thread picking a message.
2019-01-15 06:06:19,500 - PoolThread-twisted.internet.reactor-1 - module_build_service - INFO - Calling init: MBSModule, 1
2019-01-15 06:06:19,509 - Thread-1 - module_build_service - DEBUG - Getting/verifying commit hash for git://pkgs.fedoraproject.org/rpms/standard-test-roles
2019-01-15 06:06:19,694 - Thread-1 - module_build_service - WARNING - fatal: unable to connect to pkgs.fedoraproject.org:
pkgs.fedoraproject.org[0: 209.132.181.4]: errno=No route to host


2019-01-15 06:06:19,694 - Thread-1 - module_build_service - WARNING - Exception UnprocessableEntity("Failed on ['git', 'ls-remote', '--exit-code', 'git://pkgs.fedoraproject.org/rpms/standard-test-roles'], retcode 128, out '', err 'fatal: unable to connect to pkgs.fedoraproject.org:\\npkgs.fedoraproject.org[0: 209.132.181.4]: errno=No route to host\\n\\n'",) raised from <function _run at 0x7f869c600050>.  Retry in 15s
2019-01-15 06:06:34,780 - Thread-1 - module_build_service - WARNING - fatal: unable to connect to pkgs.fedoraproject.org:
pkgs.fedoraproject.org[0: 209.132.181.4]: errno=No route to host


2019-01-15 06:06:34,781 - Thread-1 - module_build_service - WARNING - Exception UnprocessableEntity("Failed on ['git', 'ls-remote', '--exit-code', 'git://pkgs.fedoraproject.org/rpms/standard-test-roles'], retcode 128, out '', err 'fatal: unable to connect to pkgs.fedoraproject.org:\\npkgs.fedoraproject.org[0: 209.132.181.4]: errno=No route to host\\n\\n'",) raised from <function _run at 0x7f869c600050>.  Retry in 15s
^C2019-01-15 06:06:35,923 - MainThread - moksha.hub - DEBUG - Stopping the CentralMokshaHub
2019-01-15 06:06:35,934 - MainThread - moksha.hub - DEBUG - Stopping consumer <module_build_service.scheduler.consumer.MBSConsumer object at 0x7f8696c0c2d0>
2019-01-15 06:06:35,934 - MainThread - moksha.hub - DEBUG - Stopping the CentralMokshaHub


[root@host-8-253-48 standard-test-roles]# ping pkgs.fedoraproject.org
PING pkgs.fedoraproject.org (209.132.181.4) 56(84) bytes of data.
64 bytes from pkgs.fedoraproject.org (209.132.181.4): icmp_seq=1 ttl=39 time=63.0 ms
64 bytes from pkgs.fedoraproject.org (209.132.181.4): icmp_seq=2 ttl=39 time=67.1 ms
^C
--- pkgs.fedoraproject.org ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 63.079/65.109/67.139/2.030 ms



[root@host-8-253-48 standard-test-roles]# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         


[root@host-8-253-48 standard-test-roles]# 2019-01-15 06:06:49,857 - Thread-1 - module_build_service - WARNING - fatal: unable to connect to pkgs.fedoraproject.org:
pkgs.fedoraproject.org[0: 209.132.181.4]: errno=No route to host


2019-01-15 06:06:49,858 - Thread-1 - module_build_service - WARNING - Exception UnprocessableEntity("Failed on ['git', 'ls-remote', '--exit-code', 'git://pkgs.fedoraproject.org/rpms/standard-test-roles'], retcode 128, out '', err 'fatal: unable to connect to pkgs.fedoraproject.org:\\npkgs.fedoraproject.org[0: 209.132.181.4]: errno=No route to host\\n\\n'",) raised from <function _run at 0x7f869c600050>.  Retry in 15s
^C

Comment 1 Matt Prahl 2019-01-15 14:33:52 UTC
I submitted a PR to fix this at:
https://pagure.io/fm-orchestrator/pull-request/1120

The issue is that dist-git no longer supports cloning via the git protocol, and we must use https.

To fix this locally, you can just modify `/etc/module-build-service/config.py` and replace `git://pkgs.fedoraproject.org/` with `https://src.fedoraproject.org/`.

Comment 2 Fedora Update System 2019-01-16 21:16:02 UTC
module-build-service-2.12.1-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-c5e4a4eb5d

Comment 3 Fedora Update System 2019-01-16 21:16:09 UTC
module-build-service-2.12.1-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2019-2b5af490fd

Comment 4 Fedora Update System 2019-01-17 02:11:37 UTC
module-build-service-2.12.1-1.fc29 has been pushed to the Fedora 29 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-c5e4a4eb5d

Comment 5 Fedora Update System 2019-01-17 02:50:33 UTC
module-build-service-2.12.1-1.fc28 has been pushed to the Fedora 28 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-2b5af490fd

Comment 6 Fedora Update System 2019-01-17 15:00:15 UTC
module-build-service-2.12.2-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-fe3b6de0d7

Comment 7 Fedora Update System 2019-01-17 15:00:21 UTC
module-build-service-2.12.2-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2019-0417d4e2c5

Comment 8 Fedora Update System 2019-01-18 03:05:05 UTC
module-build-service-2.12.2-1.fc28 has been pushed to the Fedora 28 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-0417d4e2c5

Comment 9 Fedora Update System 2019-01-18 03:36:24 UTC
module-build-service-2.12.2-1.fc29 has been pushed to the Fedora 29 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-fe3b6de0d7

Comment 10 Fedora Update System 2019-01-26 02:14:25 UTC
module-build-service-2.12.2-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2019-01-26 02:22:12 UTC
module-build-service-2.12.2-1.fc28 has been pushed to the Fedora 28 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.