Skip to content

[BUG] sudo subscription-manager repos --enable rhocp-4.10-for-rhel-8-$(uname -i)-rpms #837

@doyoungim999

Description

@doyoungim999

What happened:

From the link: https://github.com/openshift/microshift/blob/main/docs/devenv_rhel8.md,
$sudo subscription-manager repos --enable rhocp-4.10-for-rhel-8-$(uname -i)-rpms

The error happened:
Error: 'rhocp-4.10-for-rhel-8-x86_64-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.

What you expected to happen:

No error

How to reproduce it (as minimally and precisely as possible):

  1. $sudo subscription-manager repos --enable rhocp-4.10-for-rhel-8-x86_64-rpms

Anything else we need to know?:

Environment:

  • Microshift version (use microshift version):
    MicroShift Version: 4.10.0-0.microshift-unknown
    Base OCP Version: 4.10.18
  • Hardware configuration:
    Intel Notebook
  • OS (e.g: cat /etc/os-release):
    $ cat /etc/os-release
    NAME="Red Hat Enterprise Linux"
    VERSION="8.6 (Ootpa)"
    ID="rhel"
    ID_LIKE="fedora"
    VERSION_ID="8.6"
    PLATFORM_ID="platform:el8"
    PRETTY_NAME="Red Hat Enterprise Linux 8.6 (Ootpa)"
    ANSI_COLOR="0;31"
    CPE_NAME="cpe:/o:redhat:enterprise_linux:8::baseos"
    HOME_URL="https://www.redhat.com/"
    DOCUMENTATION_URL="https://access.redhat.com/documentation/red_hat_enterprise_linux/8/"
    BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.6
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.6"

  • Kernel (e.g. uname -a):
    $ uname -a
    Linux localhost.localdomain 4.18.0-372.19.1.el8_6.x86_64 Init #1 SMP Mon Jul 18 11:14:02 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux

  • Others:

Relevant Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions