Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
danivilla9 opened this issue Sep 25, 2024 · 0 comments

Comments

@danivilla9
Copy link
Collaborator

danivilla9 commented Sep 25, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant