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

The credential content in "Openshift Object YAML" is not merged in merge-registry-credentials step #270

Open
jinhli opened this issue Mar 2, 2022 · 3 comments
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@jinhli
Copy link

jinhli commented Mar 2, 2022

Bug Description

pr: redhat-openshift-ecosystem/certified-operators#538
Project: 61af7b43b1610a914eccb3f3

If the external private registry is used in the operator, though the credential is added to "OpenShift Object YAML" field on the connect Project settings page, it is not merged in merge-registry-credentials step.
In the pipeline.log, there is an message “[merge-registry-credentials : get-and-decrypt-project-tokens] No partner's registry token has been provided.”
pipeline-from mantaflow.txt

credential_in_project_setting

Steps to Reproduce:

  1. Add credential content to "OpenShift Object YAML" field on the Project settings page
  2. Submit the pr via the hosted pipeline, the pr failed with "verify-ci-result"
  3. Operator could not be deployed via OLM, there is error "ImagePullBackOff” in deployment pod.

Expected Result

The operand image could be pulled

Actual Result

The container could not be pulled due to "ImagePullBackOff”

Additional Context

Manually add the credential of the registry, the image could be pulled

1.Create a regcred.yml with the credentials provided by Partner
2.OC login to the cluster and choose the project which the operator installed
3.Create a secret in cluster “oc apply -f regcred.yml” in the project
4.Check the secret has been added “oc get secret”
5.Add image pull secret to service account
oc patch serviceaccount mantaflow-operator-controller-manager -p '{"imagePullSecrets": [{"name": "registry-dockerconfig-secret"}]}'
6.go to the "deployment", delete the pod, it will create a new pod to apply the change, and the operator could be installed successfully.

@jinhli jinhli added the kind/bug Categorizes issue or PR as related to a bug. label Mar 2, 2022
@jinhli
Copy link
Author

jinhli commented Mar 3, 2022

hi, does anyone take a look at this issue?

@jpaulovic
Copy link

Should this be closed?

@jinhli
Copy link
Author

jinhli commented Apr 27, 2023

I did not get any support case for this issue any more. And I saw the sub-issue of it has been fixed, I think it could be closed, but still need @tonytcampbell final confirmation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

3 participants