cloud-native-toolkit / planning

The is the planning repo to manage the cross project Epics and Issues. Tasks and Bugs
3 stars 1 forks source link

Installation on Openshift 4.7.12 error. #834

Open djarillo opened 3 years ago

djarillo commented 3 years ago

I have privisioned a cluster with openshfit 4.7.12.

I have used the Fast Start Install from the console with the admin user executing the command:

curl -sfL get.cloudnativetoolkit.dev | sh -

This script never finish because the tekton installation says that "the server doesn't have a resource type "tasks" and ">>> waiting for Tekton APIs availability" Other error is " (local-exec): Timed out waiting for Tekton CRDs to be installed"

The installation log is attached.

Installation_Error.txt

lsteck commented 3 years ago

I just tried to install it on 4.7 and getting the following error.



Initializing modules...
Downloading github.com/cloud-native-toolkit/terraform-tools-openshift-cicd.git?ref=v1.7.2 for cicd...
- cicd in .terraform/modules/cicd
Downloading github.com/cloud-native-toolkit/terraform-tools-argocd.git?ref=v2.17.3 for cicd.gitops...
- cicd.gitops in .terraform/modules/cicd.gitops
Downloading github.com/cloud-native-toolkit/terraform-tools-tekton.git?ref=v2.3.4 for cicd.pipelines...
- cicd.pipelines in .terraform/modules/cicd.pipelines
Downloading github.com/cloud-native-toolkit/terraform-tools-sealed-secrets.git?ref=v1.1.1 for cicd.sealed_secrets...
- cicd.sealed_secrets in .terraform/modules/cicd.sealed_secrets
Downloading github.com/cloud-native-toolkit/terraform-k8s-ocp-cluster?ref=v2.4.4 for dev_cluster...
- dev_cluster in .terraform/modules/dev_cluster
Downloading github.com/cloud-native-toolkit/terraform-k8s-olm.git?ref=v1.3.1 for dev_software_olm...
- dev_software_olm in .terraform/modules/dev_software_olm
Downloading github.com/cloud-native-toolkit/terraform-k8s-namespace.git?ref=v2.8.1 for dev_sre_namespace...
- dev_sre_namespace in .terraform/modules/dev_sre_namespace
Downloading github.com/cloud-native-toolkit/terraform-tools-artifactory.git?ref=v1.10.1 for dev_tools_artifactory...
- dev_tools_artifactory in .terraform/modules/dev_tools_artifactory
Downloading github.com/cloud-native-toolkit/terraform-tools-dashboard.git?ref=v1.10.13 for dev_tools_dashboard...
- dev_tools_dashboard in .terraform/modules/dev_tools_dashboard
Downloading github.com/cloud-native-toolkit/terraform-ibm-image-registry.git?ref=v1.4.0 for dev_tools_ibm_image_registry...
- dev_tools_ibm_image_registry in .terraform/modules/dev_tools_ibm_image_registry
Downloading github.com/cloud-native-toolkit/terraform-k8s-image-registry.git?ref=v1.1.7 for dev_tools_k8s_image_registry...
- dev_tools_k8s_image_registry in .terraform/modules/dev_tools_k8s_image_registry
Downloading github.com/cloud-native-toolkit/terraform-k8s-namespace.git?ref=v2.8.1 for dev_tools_namespace...
- dev_tools_namespace in .terraform/modules/dev_tools_namespace
Downloading github.com/cloud-native-toolkit/terraform-ocp-image-registry.git?ref=v1.4.0 for dev_tools_ocp_image_registry...
- dev_tools_ocp_image_registry in .terraform/modules/dev_tools_ocp_image_registry
Downloading github.com/cloud-native-toolkit/terraform-tools-pactbroker.git?ref=v1.4.2 for dev_tools_pactbroker_release...
- dev_tools_pactbroker_release in .terraform/modules/dev_tools_pactbroker_release
Downloading github.com/cloud-native-toolkit/terraform-tools-sonarqube.git?ref=v1.9.2 for dev_tools_sonarqube...
- dev_tools_sonarqube in .terraform/modules/dev_tools_sonarqube
Downloading github.com/cloud-native-toolkit/terraform-k8s-source-control.git?ref=v1.2.3 for dev_tools_sourcecontrol...
- dev_tools_sourcecontrol in .terraform/modules/dev_tools_sourcecontrol
Downloading github.com/cloud-native-toolkit/terraform-tools-swaggereditor.git?ref=v1.4.1 for dev_tools_swagger...
- dev_tools_swagger in .terraform/modules/dev_tools_swagger
Downloading github.com/cloud-native-toolkit/terraform-tools-tekton-resources.git?ref=v2.2.22 for dev_tools_tekton_resources...
- dev_tools_tekton_resources in .terraform/modules/dev_tools_tekton_resources

Initializing the backend...

Initializing provider plugins...
- Checking for available provider plugins...
- Downloading plugin for provider "helm" (hashicorp/helm) 2.1.1...
- Downloading plugin for provider "null" (hashicorp/null) 3.1.0...
- Downloading plugin for provider "local" (hashicorp/local) 2.1.0...
- Downloading plugin for provider "random" (hashicorp/random) 3.1.0...

... Output omitted...

pipeline.tekton.dev/ibm-operator created
Error from server (InternalError): error when creating "https://github.com/IBM/ibm-garage-tekton-tasks/releases/download/v2.7.3/release.yaml": Internal error occurred: failed calling webhook "webhook.pipeline.tekton.dev": Post "https://tekton-pipelines-webhook.openshift-pipelines.svc:443/defaulting?timeout=10s": no endpoints available for service "tekton-pipelines-webhook"```
lsteck commented 3 years ago

Seams that even though the API is ready it takes a bit for things to finish because I was able to manually install the tasks later.

➜ kubectl apply -n tools -f https://github.com/IBM/ibm-garage-tekton-tasks/releases/download/v2.7.3/release.yaml
task.tekton.dev/ibm-img-scan-ibm-v2-7-3 configured
task.tekton.dev/ibm-gradle-pact-verify-v2-7-3 configured
task.tekton.dev/ibm-build-tag-push-v2-7-3 configured
task.tekton.dev/ibm-health-check-mq-v2-7-3 configured
task.tekton.dev/ibm-dockerfile-lint-v2-7-3 configured
task.tekton.dev/ibm-img-scan-v2-7-3 configured
task.tekton.dev/ibm-gitops-with-pr-v2-7-3 configured
task.tekton.dev/ibm-img-scan-trivy-v2-7-3 configured
task.tekton.dev/ibm-smoke-tests-mq-v2-7-3 configured
task.tekton.dev/ibm-sonar-test-v2-7-3 configured
task.tekton.dev/ibm-operator-catalog-build-v2-7-3 configured
task.tekton.dev/ibm-gitops-v2-7-3 configured
task.tekton.dev/ibm-gitops-edge-v2-7-3 configured
task.tekton.dev/ibm-operator-bundle-v2-7-3 configured
task.tekton.dev/ibm-golang-test-v2-7-3 configured
task.tekton.dev/ibm-tag-release-v2-7-3 configured
task.tekton.dev/ibm-img-release-v2-7-3 configured
task.tekton.dev/ibm-operator-catalog-gitops-v2-7-3 configured
task.tekton.dev/ibm-java-maven-test-v2-7-3 configured
task.tekton.dev/ibm-operator-test-v2-7-3 configured
task.tekton.dev/ibm-operator-gitops-v2-7-3 configured
task.tekton.dev/ibm-java-gradle-test-v2-7-3 configured
task.tekton.dev/ibm-setup-v2-7-3 configured
task.tekton.dev/ibm-helm-release-v2-7-3 configured
task.tekton.dev/ibm-deploy-v2-7-3 configured
task.tekton.dev/ibm-health-check-v2-7-3 configured
task.tekton.dev/ibm-nodejs-test-v2-7-3 configured
task.tekton.dev/ibm-build-tag-push-ace-bar-v2-7-3 configured
task.tekton.dev/ibm-scc-scan-v2-7-3 configured
pipeline.tekton.dev/ibm-golang configured
pipeline.tekton.dev/ibm-mq configured
pipeline.tekton.dev/ibm-operator-catalog configured
pipeline.tekton.dev/ibm-golang-edge configured
pipeline.tekton.dev/ibm-java-maven configured
pipeline.tekton.dev/ibm-java-gradle configured
pipeline.tekton.dev/ibm-general configured
pipeline.tekton.dev/ibm-appmod-liberty configured
pipeline.tekton.dev/ibm-nodejs configured
pipeline.tekton.dev/ibm-ace-bar configured
pipeline.tekton.dev/ibm-operator configured