BUG REPORT: repo_compare_html.sh doesn't compare RHEL_Beta_* repositories
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- shell
- Ambito
- testing-qa
Direzione di ricerca
Start with module_compare_html.sh, the script linked in the report, and reproduce the failure with ./repo_compare_html.sh RHEL8_Beta_BaseOS Rocky8_BaseOS_stg on the stated RHEL environment. Investigate how RHEL_Beta_* repositories are accessed and how the script handles the reported 403 response. Done means the comparison produces output similar to the Rocky repocompare site instead of an empty comparison.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
repo_compare_html.sh is unable to compare RHEL_Beta_* repositories to Rocky_*_stg repositories because RHEL_Beta_* repositories cannot be accessed.
To Reproduce
Steps to reproduce the behavior:
- Clone this repository on a RHEL system with subscription.
- Attempt to run
repo_compare_html.shfor aRHEL_Beta_*repository - See error
[root@localhost repo_compare]# ./repo_compare_html.sh RHEL8_Beta_BaseOS Rocky8_BaseOS_stg
Red Hat Enterprise Linux 8 for x86_64 - BaseOS 436 B/s | 359 B 00:00
Errors during downloading metadata for repository 'RHEL8_Beta_BaseOS':
- Status code: 403 for https://cdn.redhat.com/content/beta/rhel8/8/x86_64/baseos/os/repodata/repomd.xml (IP: 23.198.106.83)
Error: Failed to download metadata for repo 'RHEL8_Beta_BaseOS': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Last metadata expiration check: 1:29:00 ago on Sat 06 Nov 2021 11:06:27 AM PDT.
<html><h3>Repo Version Differences for: RHEL8_Beta_BaseOS vs. Rocky8_BaseOS_stg</h3>
<style>
table {
border-collapse: collapse;
width: 90%;
}
th, td {
text-align: left;
padding: 8px;
}
tr:nth-child(even) {background-color: #d4d4d4;}
</style>
<div style="overflow-x:auto;">
<i>Generated by Repo Compare Script at: 2021-11-06 12:35:27 </i>
<br />
<table>
<tr><th>RHEL8_Beta_BaseOS Version</th> <th>Rocky8_BaseOS_stg Version</th></tr>
<tr> <td>--</td> <td>(DOES NOT EXIST)</td> </tr>
</table></html>
Expected behavior
repo_compare_html.sh should produce output similar to that found on the Rocky repocompare site.
System / Environment (please complete the following information):
- OS: RHEL Workstation
- OS Version: 8.4
- Subscription: Active
- Testing Repository
- Branch: main
- Hash: 9da40ca1735c527972f4f3f36fac767792e1c494
- Script / Tool:
repo_compare_html.sh
RHEL Subscription Active
[root@localhost repo_compare]# subscription-manager list
+-------------------------------------------+
Installed Product Status
+-------------------------------------------+
Product Name: Red Hat Enterprise Linux for x86_64
Product ID: 479
Version: 8.4
Arch: x86_64
Status: Subscribed
Status Details:
Starts: 05/08/2021
Ends: 05/08/2022
Entitlement Encoded in /etc/yum.repos.d/rhel8_beta.repo definition file
[root@localhost repo_compare]# grep $(basename $(ls /etc/pki/entitlement/*-key.pem)) /etc/yum.repos.d/rhel8_beta.repo | wc -l
10
No access to RHEL Beta repository with entitlement
[root@localhost repo_compare]# dnf --disablerepo=* --enablerepo=RHEL8_Beta_BaseOS repolist
Updating Subscription Management repositories.
repo id repo name
RHEL8_Beta_BaseOS Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) (BETA)
[root@localhost repo_compare]# dnf --disablerepo=* --enablerepo=RHEL8_Beta_BaseOS repoinfo
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) (BETA) 414 B/s | 359 B 00:00
Errors during downloading metadata for repository 'RHEL8_Beta_BaseOS':
- Status code: 403 for https://cdn.redhat.com/content/beta/rhel8/8/x86_64/baseos/os/repodata/repomd.xml (IP: 23.198.106.83)
Error: Failed to download metadata for repo 'RHEL8_Beta_BaseOS': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
- Lingua principale
- HTML
- Stelle
- 22
- Fork
- 29
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di rocky-linux/testing
-
Risc-V testing boards for CodeDudeForse di nuovo libera @rlhennig l’ha presa 94 giorni fa e non c’è nessuna pull request aperta. Apertapriority: high
rocky-linux/testing#96 · 1 commento · 1 assegnatario ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
rocky-linux/testing#95 ·
-
Test R8 CA2023 ISOAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
rocky-linux/testing#94 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
rocky-linux/testing#93 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
rocky-linux/testing#92 · 1 commento ·
Tutte le issue di rocky-linux/testing
Issue simili
-
area:lint-tooling bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
InauguralSystems/EigenScript#1340 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ditto-assistant/ditto-subnet#2346 ·
I maintainer di solito rispondono entro 1 giorno
-
cursor
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ljofreflor/jobbot#92 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno