question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to install pelorus on openshift version 4.9.9

See original GitHub issue

Steps followed

git clone --depth 1 --branch v1.3.0 https://github.com/konveyor/pelorus
cd pelorus
oc create namespace pelorus
helm install operators charts/operators --namespace pelorus

After above step is performed , received below error on terminal

elorus git:(cfff5f2) helm install operators charts/operators/ --namespace pelorus --debug                                     
install.go:178: [debug] Original chart version: ""
install.go:199: [debug] CHART PATH: /Users/raghurambanda/repos/pelorus/charts/operators

client.go:128: [debug] creating 6 resource(s)
wait.go:48: [debug] beginning wait for 6 resources with timeout of 5m0s
client.go:128: [debug] creating 1 resource(s)
client.go:528: [debug] Watching for changes to Job installplan-approver with timeout of 5m0s
client.go:556: [debug] Add/Modify event for installplan-approver: ADDED
client.go:595: [debug] installplan-approver: Jobs active: 0, jobs failed: 0, jobs succeeded: 0
client.go:556: [debug] Add/Modify event for installplan-approver: MODIFIED
client.go:595: [debug] installplan-approver: Jobs active: 1, jobs failed: 0, jobs succeeded: 0
Error: INSTALLATION FAILED: failed post-install: timed out waiting for the condition
helm.go:88: [debug] failed post-install: timed out waiting for the condition
INSTALLATION FAILED
main.newInstallCmd.func2
	helm.sh/helm/v3/cmd/helm/install.go:127
github.com/spf13/cobra.(*Command).execute
	github.com/spf13/cobra@v1.2.1/command.go:856
github.com/spf13/cobra.(*Command).ExecuteC
	github.com/spf13/cobra@v1.2.1/command.go:974
github.com/spf13/cobra.(*Command).Execute
	github.com/spf13/cobra@v1.2.1/command.go:902
main.main
	helm.sh/helm/v3/cmd/helm/helm.go:87
runtime.main
	runtime/proc.go:255
runtime.goexit
# Verify the operators are completely installed before installing the pelorus helm chart

helm install pelorus charts/pelorus --namespace pelorus

➜  pelorus git:(cfff5f2) oc get sub -n pelorus
NAME               PACKAGE            SOURCE 
               CHANNEL
grafana-operator   grafana-operator   community-operators   alpha
prometheus         prometheus         community-operators   beta

Screenshot 2021-12-10 at 13 39 30

Screenshot 2021-12-10 at 13 42 31

Screenshot 2021-12-10 at 13 43 24

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
pmacikcommented, Dec 14, 2021

FYI: 4.9+ openshift clusters do not provide CustomResourceDefinition API version v1beta1 - only v1 and since for instance grafna-operator.v3.5.0 uses v1beta1 CRD API - it would not work with openshift 4.9+

The change @kpiwko has made (changing grafana-operator version from 3.5.0 to 4.0.1 fixes that problem because starting with v3.10.4 that operator uses v1 CRD API.

@kpiwko I guess that the error Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(GrafanaDashboard.spec): unknown field "name" in org.integreatly.v1alpha1.GrafanaDashboard.spec is caused by the helm chart assuming/depending on v3.5.0 of GrafanaDashboard but with v4.0.1 that API has changed.

0reactions
mpryccommented, Mar 17, 2022

This should be fixed. Deployment from master branch will work, new stable branch will be available.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting installation issues - OpenShift Documentation
To assist in troubleshooting a failed OpenShift Container Platform installation, you can gather logs from the bootstrap and control plane, or master, ...
Read more >
OpenShift Container Platform 4.9 Installing
This document provides information about installing OpenShift Container Platform and details about some configuration processes. Page 5 . . . .
Read more >
Installation - Pelorus Docs
Installation. The following will walk through the deployment of Pelorus. Prerequisites. Before deploying the tooling, you must have the following prepared.
Read more >
Pelorus Install - HackMD
Pelorus Install ###### tags: `Perlorus` `Debug` # Note More detailed installation: ... on openshift 3.11 FAILED; on openshift 4.8 making progress ...
Read more >
Problems installing OKD 4.9 on bare metal. #1120 - GitHub
Setting up the OKD installer. Go to OKD releases on GitHub and find the latest release. Download the latest openshift-client-linux and openshift-install ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found