Skip to content

[BUG] crc-extension is missing a dependency that already exists after installation #322

Open
@danivilla9

Description

General information

  • OS: Linux Fedora 40
  • Did you run crc setup before starting it? Yes
  • Running CRC on: Laptop

CRC version

CRC version: 2.37.1+36d451

CRC status

DEBU CRC version: 2.37.1+36d451                   
DEBU OpenShift version: 4.15.14                   
DEBU Running 'crc status'                         
CRC VM:          Running
OpenShift:       Running (v4.15.14)
RAM Usage:       6.199GB of 10.96GB
Disk Usage:      25.35GB of 32.68GB (Inside the CRC VM)
Cache Usage:     26.83GB
Cache Directory: /home/[username]/.crc/cache

CRC config

# - consent-telemetry                     : no

Host Operating System

# NAME="Fedora Linux"
VERSION="40 (Workstation Edition)"
ID=fedora
VERSION_ID=40
VERSION_CODENAME=""
PLATFORM_ID="platform:f40"
PRETTY_NAME="Fedora Linux 40 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:40"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f40/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=40
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=40
SUPPORT_END=2025-05-13
VARIANT="Workstation Edition"
VARIANT_ID=workstation

Steps to reproduce

Prerequisite: not having either Red Hat Authentication nor Red Hat OpenShift Local extensions installed

  1. Install Red Hat Authentication extension
  2. Install Red Hat OpenShift Local extension from OCI Image ghcr.io/crc-org/crc-extension:latest

Expected

The Red Hat OpenShift Local extension goes to 'Active' status and can be used normally

Actual

The Red Hat OpenShift Local extension goes to 'Failed' status. If you check the 'errors' tab on the extension details, it shows Error: Missing dependencies for this extension: redhat.redhat-authentication, but if you press 'Start' on their card from the extensions page, it goes to 'Active' without problems.

This only happens if the Red Hat Authentication extension is already installed before installing Red Hat OpenShift Local extension. If you let it get installed automatically through OpenShift Local installation, the bug does not appear.

Video evidence

crc.extension.bug.webm

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions