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

Image mismatch in F5 operator metadata #3197

Closed
raresd opened this issue Dec 18, 2023 · 3 comments
Closed

Image mismatch in F5 operator metadata #3197

raresd opened this issue Dec 18, 2023 · 3 comments

Comments

@raresd
Copy link

raresd commented Dec 18, 2023

Description

Mirroring F5 images for a disconnected installation of the F5 operator always fails. Running the 'oc mirror' plugin with a simple config which includes only the f5-bigip-ctlr-operator fails with the following error:

error: unable to retrieve source image registry.redhat.io/f5networks/cntr-ingress-svcs manifest sha256:86ea684ba60cb034c6a57baf0c922937e11199074bdcb2f83513d3cf14bd2eb1: unauthorized: access to the requested resource is not authorized
error: an error occurred during planning 

The operator version 1.15 of f5-bigip-ctlr-operator is setting the following relatedImages in the CSV:

relatedImages in operator version 1.15

Looking at the operator bundle we actually see the images hosted in a different image registry:

  "csvName": "f5-bigip-ctlr-operator.v1.15.0",
  "packageName": "f5-bigip-ctlr-operator",
  "bundlePath": "registry.connect.redhat.com/f5networks/k8s-bigip-ctlr-operator-bundle@sha256:88776ebcff69af9846e6b65a4e6784743d579669f4b360cf8afc8a0666af7b94",
      "value": "{\"packageName\":\"f5-bigip-ctlr-operator\",\"version\":\"1.15.0\"}"
  "csvName": "f5-bigip-ctlr-operator.v1.15.0",
  "packageName": "f5-bigip-ctlr-operator",
  "bundlePath": "registry.connect.redhat.com/f5networks/k8s-bigip-ctlr-operator-bundle@sha256:88776ebcff69af9846e6b65a4e6784743d579669f4b360cf8afc8a0666af7b94",
      "value": "{\"packageName\":\"f5-bigip-ctlr-operator\",\"version\":\"1.15.0\"}"  

Setup Details

Disconnected environment
registry.redhat.io/redhat/certified-operator-index:v4.12
f5-bigip-ctlr-operator.v1.15.0

Expected Result

The correct images are mirrored using 'oc mirror' command.

Actual Result

The images are not found as the F5 operator provides wrong metadata.

@raresd raresd added bug untriaged no JIRA created labels Dec 18, 2023
@raresd
Copy link
Author

raresd commented Dec 18, 2023

cc @vklohiya

@trinaths
Copy link
Contributor

Created [CONTCNTR-4362] for internal tracking.

@trinaths trinaths added JIRA and removed untriaged no JIRA created labels Dec 29, 2023
@trinaths
Copy link
Contributor

Fixed in 2.15.1 operator release.

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

2 participants