pulp-operator icon indicating copy to clipboard operation
pulp-operator copied to clipboard

Install error on OpenShift using any pulp-operator beta versions

Open chtaylo2 opened this issue 1 year ago • 0 comments

Version Issue seen starting with pulp-operator-v1.0.0-beta.0

Describe the bug When installing pulp-operator on Openshift as a normal user OR as a cluster admin, receiving an error. Details below.

To Reproduce To reproduce following the Openshift directions here: https://docs.pulpproject.org/pulp_operator/install/ocp/

Expected behavior Pulp-Operator installed on Openshift

Additional context

  • Deploying pulp-operator -- v1.0.0-alpha.4 --> v1.0.0-alpha.9 -- This worked and all dependencies were accounted for. -- Not a viable alternative due to pulp_api changes that beta version fixed.

  • Deploying pulp-operator -- v1.0.0-beta.0 --> v1.0.0-beta.4 (current) -- This failed to install due to missing dependencies. Complained ServiceAccount: pulp-operator-controller-manager was missing. If I manually created this before install, complained RBAC roles were missing. -- Install remains in "Pending" state due to missing requirements.

Dump of dependency issues:

  Requirement Status:
    Group:    apiextensions.k8s.io
    Kind:     CustomResourceDefinition
    Message:  CRD is present and Established condition is true
    Name:     pulpbackups.repo-manager.pulpproject.org
    Status:   Present
    Uuid:     0802a74b-0018-4699-843f-d213dec36795
    Version:  v1
    Group:    apiextensions.k8s.io
    Kind:     CustomResourceDefinition
    Message:  CRD is present and Established condition is true
    Name:     pulprestores.repo-manager.pulpproject.org
    Status:   Present
    Uuid:     218d2b1b-b0c7-4029-bd9b-67616b92bb88
    Version:  v1
    Group:    apiextensions.k8s.io
    Kind:     CustomResourceDefinition
    Message:  CRD is present and Established condition is true
    Name:     pulps.repo-manager.pulpproject.org
    Status:   Present
    Uuid:     336e9bb1-2cff-4a27-858c-734532a8d7f3
    Version:  v1
    Group:
    Kind:     ServiceAccount
    Message:  Service account does not exist
    Name:     pulp-operator-controller-manager
    Status:   NotPresent
    Version:  v1
Events:
  Type    Reason               Age                From                        Message
  ----    ------               ----               ----                        -------
  Normal  RequirementsUnknown  34m (x2 over 34m)  operator-lifecycle-manager  requirements not yet checked
  Normal  RequirementsNotMet   34m (x2 over 34m)  operator-lifecycle-manager  one or more requirements couldn't be found

chtaylo2 avatar Apr 19 '24 19:04 chtaylo2