Bug 2012557 - 6.10 repository not available for upgrade
Summary: 6.10 repository not available for upgrade
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Documentation
Version: 6.9.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: Unspecified
Assignee: Marie Hornickova
QA Contact: satellite-doc-list
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-10 09:10 UTC by Kenny Tordeurs
Modified: 2022-05-09 09:06 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-09 09:06:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SATDOC-753 0 None None None 2022-04-25 15:53:34 UTC

Description Kenny Tordeurs 2021-10-10 09:10:30 UTC
Description of problem:
Following steps from https://access.redhat.com/documentation/en-us/red_hat_satellite/6.10-beta/html/upgrading_and_updating_red_hat_satellite/upgrading_red_hat_satellite#migrating_pulp_content

# satellite-maintain upgrade run --target-version 6.10
Checking for new version of satellite-maintain...
https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/satellite/6.10/os/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden

Version-Release number of selected component (if applicable):
6.9.6

How reproducible:
100%

Steps to Reproduce:
1. Following upgrade guide
2. Attempt upgrade
3.

Actual results:
6.10 repo is being used instead of beta repo so it fails

Expected results:
6.10 beta repo to be used

Additional info:
# satellite-maintain upgrade run --target-version 6.10
Checking for new version of satellite-maintain...
https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/satellite/6.10/os/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden
Trying other mirror.
To address this issue please refer to the below knowledge base article

https://access.redhat.com/solutions/69319

If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.



 One of the configured repositories failed (Red Hat Satellite 6.10 (for RHEL 7 Server) (RPMs)),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=rhel-7-server-satellite-6.10-rpms ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable rhel-7-server-satellite-6.10-rpms
        or
            subscription-manager repos --disable=rhel-7-server-satellite-6.10-rpms

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=rhel-7-server-satellite-6.10-rpms.skip_if_unavailable=true

failure: repodata/repomd.xml from rhel-7-server-satellite-6.10-rpms: [Errno 256] No more mirrors to try.
https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/satellite/6.10/os/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden
Nothing to update, can't find new version of satellite-maintain.
Running Checks before upgrading to Satellite 6.10

Comment 1 Kenny Tordeurs 2021-10-10 11:11:12 UTC
To fix this the following works, so unsure if we should update the doc or f-m :

# subscription-manager repos --enable rhel-server-7-satellite-6-beta-rpms
Repository 'rhel-server-7-satellite-6-beta-rpms' is enabled for this system.

# subscription-manager repos --disable rhel-7-server-satellite-6.10-rpms
Repository 'rhel-7-server-satellite-6.10-rpms' is disabled for this system.

# export FOREMAN_MAINTAIN_USE_BETA='1'

# satellite-maintain upgrade run --target-version 6.10


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