Bug 1753146
| Summary: | Failed to download metadata for repo 'rhel-8-for-x86_64-baseos-htb-rpms' | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | yanpliu <yanpliu> |
| Component: | subscription-manager | Assignee: | candlepin-bugs |
| Status: | CLOSED NOTABUG | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | high | ||
| Version: | 8.1 | CC: | cdonnell, csnyder, gtaylor, kbhaskar, khowell, redakkan, rhel8eap, snejoshi |
| Target Milestone: | rc | ||
| Target Release: | 8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-12-25 20:02:38 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
yanpliu
2019-09-18 08:52:38 UTC
Hello Chris,
I have rerun this scenario on RHEL-8.1.0-20190918.0 and RHEL-8.1.0-20190917.0 BaseOS x86_64 , failed to download metadata issue did not exist, but perl-DBD conflict issue occurred.
RHEL-8.1.0-20190917.0:
[root@cloud-qe-16-vm-09 ~]# mkdir -p /root/backuprepo; mv -f /etc/yum.repos.d/beaker-* /root/backuprepo/
[root@cloud-qe-16-vm-09 ~]# subscription-manager register --username=admin --password=admin
Registering to: hpe-bl460cg7-01.hpe2.lab.eng.bos.redhat.com:443/rhsm
The system has been registered with ID: 4d1efd9c-9996-4917-9053-bd746b8e0833
The registered system name is: cloud-qe-16-vm-09.idmqe.lab.eng.bos.redhat.com
[root@cloud-qe-16-vm-09 ~]# subscription-manager attach --auto
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux for x86_64 High Touch Beta
Status: Subscribed
[root@cloud-qe-16-vm-09 ~]# yum clean all;yum repolist
Updating Subscription Management repositories.
109 files removed
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - BaseOS HTB (RPMs) 1.6 kB/s | 512 B 00:00
Modular dependency problems:
Problem 1: conflicting requests
- nothing provides module(perl:5.26) needed by module perl-DBD-SQLite:1.58:8010020190322125518:073fa5fe-0.x86_64
Problem 2: conflicting requests
- nothing provides module(perl:5.26) needed by module perl-DBI:1.641:8010020190322130042:16b3ab4d-0.x86_64
repo id repo name status
rhel-8-for-x86_64-baseos-htb-rpms Red Hat Enterprise Linux 8 for x86_64 - BaseOS HTB (RPMs) 0
/var/log/rhsm/rhsm.log
2019-09-24 09:21:46,903 [WARNING] subscription-manager:27015:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:21:48,918 [WARNING] subscription-manager:27015:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:21:50,866 [WARNING] subscription-manager:27015:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:21:59,241 [WARNING] subscription-manager:27015:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:22:01,260 [WARNING] subscription-manager:27015:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:22:03,382 [WARNING] subscription-manager:27015:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:22:05,756 [WARNING] subscription-manager:27015:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:22:07,751 [WARNING] subscription-manager:27015:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:22:09,621 [WARNING] subscription-manager:27015:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:22:11,515 [WARNING] subscription-manager:27015:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:22:18,101 [WARNING] subscription-manager:27015:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:22:21,163 [WARNING] subscription-manager:27015:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:22:21,164 [INFO] subscription-manager:27015:MainThread @entcertlib.py:131 - certs updated:
Total updates: 0
Found (local) serial# []
Expected (UEP) serial# []
Added (new)
<NONE>
Deleted (rogue):
<NONE>
2019-09-24 09:22:23,287 [WARNING] subscription-manager:27015:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:22:25,368 [WARNING] subscription-manager:27015:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:22:27,482 [WARNING] subscription-manager:27015:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:22:29,580 [WARNING] subscription-manager:27015:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:22:30,342 [WARNING] rhsmd:26817:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:22:30,343 [ERROR] rhsmd:26817:MainThread @cache.py:235 - HTTP error (401 - Unauthorized): Invalid credentials.
2019-09-24 09:22:30,343 [WARNING] rhsmd:26817:MainThread @cache.py:241 - Unable to reach server, using cached status.
2019-09-24 09:22:37,292 [WARNING] subscription-manager:27126:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:22:37,293 [INFO] subscription-manager:27126:MainThread @entcertlib.py:131 - certs updated:
Total updates: 0
Found (local) serial# []
Expected (UEP) serial# []
Added (new)
<NONE>
Deleted (rogue):
<NONE>
2019-09-24 09:22:39,214 [WARNING] subscription-manager:27126:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:22:41,468 [WARNING] subscription-manager:27126:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:22:43,600 [WARNING] subscription-manager:27126:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:22:45,752 [WARNING] subscription-manager:27126:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:22:45,776 [INFO] subscription-manager:27126:MainThread @repolib.py:464 - repos updated: Repo updates
Total repo updates: 0
Updated
<NONE>
Added (new)
<NONE>
Deleted
<NONE>
2019-09-24 09:22:52,683 [WARNING] subscription-manager:27126:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:22:54,954 [WARNING] subscription-manager:27126:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:22:57,353 [WARNING] subscription-manager:27126:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:22:59,478 [WARNING] subscription-manager:27126:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:23:01,871 [WARNING] subscription-manager:27126:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:23:04,547 [WARNING] subscription-manager:27126:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:23:06,517 [WARNING] subscription-manager:27126:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:23:08,773 [WARNING] subscription-manager:27126:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:23:08,775 [INFO] subscription-manager:27126:MainThread @entcertlib.py:131 - certs updated:
Total updates: 1
Found (local) serial# []
Expected (UEP) serial# [7127008451639341260]
Added (new)
[sn:7127008451639341260 (Red Hat Enterprise Linux for x86_64 High Touch Beta,) @ /etc/pki/entitlement/7127008451639341260.pem]
[sn:7127008451639341260 (Red Hat Enterprise Linux 7 Workstation High Touch Beta,) @ /etc/pki/entitlement/7127008451639341260.pem]
[sn:7127008451639341260 (Red Hat Container Images HTB,) @ /etc/pki/entitlement/7127008451639341260.pem]
[sn:7127008451639341260 (Red Hat Enterprise Linux for IBM z Systems High Touch Beta,) @ /etc/pki/entitlement/7127008451639341260.pem]
[sn:7127008451639341260 (Red Hat Enterprise Linux for Power, little endian High Touch Beta,) @ /etc/pki/entitlement/7127008451639341260.pem]
[sn:7127008451639341260 (Red Hat Enterprise Linux 7 for HPC Compute Node High Touch Beta,) @ /etc/pki/entitlement/7127008451639341260.pem]
[sn:7127008451639341260 (Red Hat CodeReady Linux Builder for x86_64 High Touch Beta,) @ /etc/pki/entitlement/7127008451639341260.pem]
[sn:7127008451639341260 (Red Hat CodeReady Linux Builder for Power, little endian High Touch Beta,) @ /etc/pki/entitlement/7127008451639341260.pem]
[sn:7127008451639341260 (Red Hat Enterprise Linux for Real Time High Touch Beta,) @ /etc/pki/entitlement/7127008451639341260.pem]
[sn:7127008451639341260 (Red Hat Enterprise Linux Atomic Host HTB,) @ /etc/pki/entitlement/7127008451639341260.pem]
[sn:7127008451639341260 (Red Hat Enterprise Linux for ARM 64 High Touch Beta,) @ /etc/pki/entitlement/7127008451639341260.pem]
[sn:7127008451639341260 (Red Hat CodeReady Linux Builder for ARM 64 High Touch Beta,) @ /etc/pki/entitlement/7127008451639341260.pem]
[sn:7127008451639341260 (Red Hat Enterprise Linux High Availability High Touch Beta,) @ /etc/pki/entitlement/7127008451639341260.pem]
[sn:7127008451639341260 (Red Hat Enterprise Linux 7 Load Balancer High Touch Beta,) @ /etc/pki/entitlement/7127008451639341260.pem]
[sn:7127008451639341260 (Red Hat CodeReady Linux Builder for IBM z Systems High Touch Beta,) @ /etc/pki/entitlement/7127008451639341260.pem]
[sn:7127008451639341260 (Red Hat Enterprise Linux Resilient Storage High Touch Beta,) @ /etc/pki/entitlement/7127008451639341260.pem]
[sn:7127008451639341260 (Red Hat Enterprise Linux 7 Desktop High Touch Beta,) @ /etc/pki/entitlement/7127008451639341260.pem]
Deleted (rogue):
<NONE>
2019-09-24 09:23:10,709 [WARNING] subscription-manager:27126:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:23:10,725 [INFO] subscription-manager:27126:MainThread @repolib.py:464 - repos updated: Repo updates
Total repo updates: 1
Updated
<NONE>
Added (new)
b'[id:rhel-8-for-x86_64-baseos-htb-rpms Red Hat Enterprise Linux 8 for x86_64 - BaseOS HTB (RPMs)]'
Deleted
<NONE>
2019-09-24 09:23:12,859 [WARNING] subscription-manager:27126:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:23:14,944 [WARNING] subscription-manager:27126:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:23:17,019 [WARNING] subscription-manager:27126:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:23:19,194 [WARNING] subscription-manager:27126:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:23:21,566 [WARNING] rhsmd:27129:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:23:27,552 [WARNING] yum:27203:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:23:27,553 [INFO] yum:27203:MainThread @entcertlib.py:131 - certs updated:
Total updates: 0
Found (local) serial# [7127008451639341260]
Expected (UEP) serial# [7127008451639341260]
Added (new)
<NONE>
Deleted (rogue):
<NONE>
2019-09-24 09:23:29,453 [WARNING] yum:27203:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:23:31,364 [WARNING] yum:27203:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:23:33,392 [WARNING] yum:27203:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:23:33,431 [INFO] yum:27203:MainThread @repolib.py:464 - repos updated: Repo updates
Total repo updates: 1
Updated
b'[id:rhel-8-for-x86_64-baseos-htb-rpms Red Hat Enterprise Linux 8 for x86_64 - BaseOS HTB (RPMs)]'
Added (new)
<NONE>
Deleted
<NONE>
2019-09-24 09:23:37,146 [WARNING] yum:27212:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:23:37,147 [INFO] yum:27212:MainThread @entcertlib.py:131 - certs updated:
Total updates: 0
Found (local) serial# [7127008451639341260]
Expected (UEP) serial# [7127008451639341260]
Added (new)
<NONE>
Deleted (rogue):
<NONE>
2019-09-24 09:23:39,163 [WARNING] yum:27212:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:23:41,063 [WARNING] yum:27212:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:23:42,998 [WARNING] yum:27212:MainThread @connection.py:622 - Clock skew detected, please check your system time
2019-09-24 09:23:43,016 [INFO] yum:27212:MainThread @repolib.py:464 - repos updated: Repo updates
Total repo updates: 1
Updated
b'[id:rhel-8-for-x86_64-baseos-htb-rpms Red Hat Enterprise Linux 8 for x86_64 - BaseOS HTB (RPMs)]'
Added (new)
<NONE>
Deleted
<NONE>
[root@cloud-qe-16-vm-09 ~]# cat /etc/rhsm/rhsm.conf
# Red Hat Subscription Manager Configuration File:
# Unified Entitlement Platform Configuration
[server]
# Server hostname:
hostname = hpe-bl460cg7-01.hpe2.lab.eng.bos.redhat.com
# Server prefix:
prefix = /rhsm
# Server port:
port = 443
# Set to 1 to disable certificate validation:
insecure = 0
# Set the depth of certs which should be checked
# when validating a certificate
ssl_verify_depth = 3
# an http proxy server to use
proxy_hostname =
# The scheme to use for the proxy when updating repo definitions, if needed
# e.g. http or https
proxy_scheme = http
# port for http proxy server
proxy_port =
# user name for authenticating to an http proxy, if needed
proxy_user =
# password for basic http proxy auth, if needed
proxy_password =
# host/domain suffix blacklist for proxy, if needed
no_proxy =
[rhsm]
# Content base URL:
baseurl = https://hpe-bl460cg7-01.hpe2.lab.eng.bos.redhat.com/pulp/repos
# Repository metadata GPG key URL:
repomd_gpg_url =
# Server CA certificate location:
ca_cert_dir = /etc/rhsm/ca/
# Default CA cert to use when generating yum repo configs:
repo_ca_cert = %(ca_cert_dir)skatello-server-ca.pem
# Where the certificates should be stored
productCertDir = /etc/pki/product
entitlementCertDir = /etc/pki/entitlement
consumerCertDir = /etc/pki/consumer
# Manage generation of yum repositories for subscribed content:
manage_repos = 1
# Refresh repo files with server overrides on every yum command
full_refresh_on_yum = 1
# If set to zero, the client will not report the package profile to
# the subscription management service.
report_package_profile = 1
# The directory to search for subscription manager plugins
pluginDir = /usr/share/rhsm-plugins
# The directory to search for plugin configuration files
pluginConfDir = /etc/rhsm/pluginconf.d
# Manage automatic enabling of yum/dnf plugins (product-id, subscription-manager)
auto_enable_yum_plugins = 1
# Run the package profile on each yum/dnf transaction
package_profile_on_trans = 1
# Inotify is used for monitoring changes in directories with certificates.
# Currently only the /etc/pki/consumer directory is monitored by the
# rhsm.service. When this directory is mounted using a network file system
# without inotify notification support (e.g. NFS), then disabling inotify
# is strongly recommended. When inotify is disabled, periodical directory
# polling is used instead.
inotify = 1
[rhsmcertd]
# Interval to run cert check (in minutes):
certCheckInterval = 240
# Interval to run auto-attach (in minutes):
autoAttachInterval = 1440
# If set to zero, the checks done by the rhsmcertd daemon will not be splayed (randomly offset)
splay = 1
# If set to 1, rhsmcertd will not execute.
disable = 0
[logging]
default_log_level = INFO
# subscription_manager = DEBUG
# subscription_manager.managercli = DEBUG
# rhsm = DEBUG
# rhsm.connection = DEBUG
# rhsm-app = DEBUG
# rhsm-app.rhsmd = DEBUG
RHEL-8.1.0-20191003.0 can reproduce this issue. # mkdir -p /root/backuprepo; mv -f /etc/yum.repos.d/beaker-* /root/backuprepo/ # subscription-manager register --username=admin --password=admin Registering to: hpe-magnycours-01.hpe2.lab.eng.bos.redhat.com:443/rhsm The system has been registered with ID: 1a89934b-293a-47ed-b3c1-fad6417a14d5 The registered system name is: cloud-qe-16-vm-01.idmqe.lab.eng.bos.redhat.com # subscription-manager attach --auto Installed Product Current Status: Product Name: Red Hat Enterprise Linux for x86_64 Status: Subscribed # yum clean all;yum repolist Updating Subscription Management repositories. 109 files removed Updating Subscription Management repositories. Red Hat Enterprise Linux 8 for x86_64 - BaseOS 0.0 B/s | 0 B 00:00 Failed to download metadata for repo 'rhel-8-for-x86_64-baseos-rpms' Error: Failed to download metadata for repo 'rhel-8-for-x86_64-baseos-rpms' Comment 3 appears to indicate some issue we can look at if you have rhsm.log from that time. Can you please provide it? 1. I have rerun the case on RHEL-8.1.0-20191003.0 and RHEL-8.1.0-20191015.0, it works fine. [root@cloud-qe-16-vm-09 ~]# subscription-manager register --username=admin --password=admin Registering to: ent-01-vm-01.lab.eng.nay.redhat.com:443/rhsm The system has been registered with ID: c238b4c8-a42b-4ff3-9a6e-db38acfbf74f The registered system name is: cloud-qe-16-vm-09.idmqe.lab.eng.bos.redhat.com [root@cloud-qe-16-vm-09 ~]# subscription-manager attach --auto Installed Product Current Status: Product Name: Red Hat Enterprise Linux for x86_64 Status: Subscribed [root@cloud-qe-16-vm-09 ~]# yum clean all; yum repolist Updating Subscription Management repositories. 109 files removed Updating Subscription Management repositories. Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) 535 kB/s | 12 MB 00:22 Last metadata expiration check: 0:00:04 ago on Mon 18 Nov 2019 01:49:43 AM EST. repo id repo name status rhel-8-for-x86_64-baseos-rpms Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) 3,313 2. Rerun on RHEL-8.1.0-20190918.0. [root@cloud-qe-16-vm-06 ~]# subscription-manager register --username=admin --password=admin Registering to: ent-01-vm-01.lab.eng.nay.redhat.com:443/rhsm The system has been registered with ID: 11eb79a1-af23-43ea-98a2-772f85634e69 The registered system name is: cloud-qe-16-vm-06.idmqe.lab.eng.bos.redhat.com [root@cloud-qe-16-vm-06 ~]# subscription-manager attach --auto Installed Product Current Status: Product Name: Red Hat Enterprise Linux for x86_64 High Touch Beta Status: Subscribed [root@cloud-qe-16-vm-06 ~]# yum clean all; yum repolist Updating Subscription Management repositories. 109 files removed Updating Subscription Management repositories. No repositories available We are also seeing the simillar issue. [root@localhost ~]# yum clean all;yum repolist Updating Subscription Management repositories. 16 files removed Updating Subscription Management repositories. Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) 574 kB/s | 11 MB 00:20 Failed to download metadata for repo 'rhel-8-for-x86_64-baseos-rpms' Error: Failed to download metadata for repo 'rhel-8-for-x86_64-baseos-rpms' Rerun on RHEL-8.1.0-20190918.0 [root@cloud-qe-16-vm-09 ~]# subscription-manager register --username=admin --password=admin Registering to: ent-01-vm-02.lab.eng.nay.redhat.com:443/rhsm The system has been registered with ID: bada13b7-429a-4f70-84be-9956460b24f9 The registered system name is: cloud-qe-16-vm-09.idmqe.lab.eng.bos.redhat.com [root@cloud-qe-16-vm-09 ~]# hostname cloud-qe-16-vm-09.idmqe.lab.eng.bos.redhat.com [root@cloud-qe-16-vm-09 ~]# subscription-manager attach --auto Installed Product Current Status: Product Name: Red Hat Enterprise Linux for x86_64 High Touch Beta Status: Subscribed [root@cloud-qe-16-vm-09 ~]# yum clean all; yum repolist Updating Subscription Management repositories. 117 files removed Updating Subscription Management repositories. Red Hat Enterprise Linux 8 for x86_64 - BaseOS 74 B/s | 512 B 00:06 Last metadata expiration check: 0:00:01 ago on Wed 18 Dec 2019 12:55:00 AM EST. Modular dependency problems: Problem 1: conflicting requests - nothing provides module(perl:5.26) needed by module perl-DBD-SQLite:1.58:8010020190322125518:073fa5fe-0.x86_64 Problem 2: conflicting requests - nothing provides module(perl:5.26) needed by module perl-DBI:1.641:8010020190322130042:16b3ab4d-0.x86_64 repo id repo name status rhel-8-for-x86_64-baseos-htb-rpms Red Hat Enterprise Linux 8 for x86_64 - 0 This issue was opened for a specific problem encountered against obtaining content from a specific repository at a certain time. It was found that this issue was environmental related to a users environment, and not related to the the Red Hat CDN. It is unlikely that any issues resulting in this message are a result of a problem with subscription-manager. If you continue to see issues that result in this error message, please open a case with Red Hat Technical Support. |